Comment 2 for bug 405498

Revision history for this message
jtappin (sjt) wrote : Re: [Bug 405498] Re: emacs22 (X11) "don't show startup screen again" fails

The problem does not occur when emacs is opened without a file, nor
when it is called from the command line, in these cases, it just comes
up with a single buffer shown (*Scratch* or the file).

It does occur whenever I click on a file whose type is bound to emacs,
or select "open with > emacs22 (X11)" in konqueror, or if I drag the
file onto the emacs icon on the KDE panel. In these cases, emacs
starts with a split screen, the file in the upper half, and a welcome
page in the buffer *GNU emacs* in the lower half.

By eval'ing '(setq debug-on-error t)' in the scratch buffer, I did get
the backtrace:

Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 6391 9919)
  scan-sexps(103 9918)
  forward-sexp(9918)
  custom-save-delete(custom-set-variables)
  custom-save-variables()
  custom-save-all()
  (progn (customize-set-variable (quote inhibit-startup-screen) t)
(customize-mark-to-save (quote inhibit-startup-screen))
(custom-save-all))
  (if startup-screen-inhibit-startup-screen (progn
(customize-set-variable ... t) (customize-mark-to-save ...)
(custom-save-all)))
  (when startup-screen-inhibit-startup-screen (customize-set-variable
(quote inhibit-startup-screen) t) (customize-mark-to-save (quote
inhibit-startup-screen)) (custom-save-all))
  (lambda (button) (when startup-screen-inhibit-startup-screen
(customize-set-variable ... t) (customize-mark-to-save ...)
(custom-save-all)) (let (...) (and w ... ...)) (kill-buffer "*GNU
Emacs*"))(#<overlay from 737 to 764 in *GNU Emacs*>)
  push-button(752 t)
  push-button((mouse-2 (#<window 7 on *Backtrace*> 752 (108 . 287)
563149 nil 752 (15 . 16) nil (4 . 7) (9 . 18))))
  call-interactively(push-button)