forwarded 363263 Christoph Wedler <[EMAIL PROTECTED]> thanks Hi Christoph,
I noticed the same bug on the sourceforge.net site. Let me know if you don't intend on fixing this and I'll dig into it. Peter Bake Timmons III <[EMAIL PROTECTED]> wrote: > Package: emacs-goodies-el > Version: 26.5-2 > Severity: normal > > Given the following minimal .emacs file > > (custom-set-variables > '(session-initialize t nil (session))) > > if we run emacs-snapshot and then run org-mode say, on any buffer such > as *scratch*, then trying to quit emacs, i.e., kill-emacs, will not > work. I had to do a kill %emacs to exit. This happens with or > without a .session file and for at least a couple of emacs snapshot > versions, perhaps many more. > > In particular, session-save-session hangs. > > I tried debugging by loading the source session.el file in order to > make the backtrace readable and then running the debugger. Below I > have copied from an emacs screen: (1) an upper window of the *scratch* > buffer used for several evaluations (in reverse chronological order) > of list "val"; (2) a lower window of the *Backtrace* buffer. > > The endless loop in *Backtrace* is > (while val (or (and ... ...) (if ass-p ... ...) (progn ... ...) ... > > The most recent evaluation of variable val is at the top of *scratch*; > in a previous debugging session evaluating (length val) at this point > hangs. The following lines are copied from the split windows: > > val > (#<marker in no buffer> #<marker in no buffer> #<marker in no buffer> > #<marker \ > in no buffer> #<marker in no buffer> #<marker in no buffer> #<marker in no > buff\ > er> . #3) > > ("~/" "~/") > > ("debug-on-entry" "org-mode" "load-file" "customize" "session-initialize") > > ("session-save-session" "session-initialize") > > ("load-file" "customize" "session-save-session" "session-initialize") > > ("lisp-interaction-mode" "session-save-session" "debug-on-entry" "org-mode" > "lo\ > ----:**-F1 *scratch* Top L3 [(Lisp > Interaction)]--------------------- > Debugger entered--beginning evaluation of function call form: > * (stringp (car val)) > * (and (stringp (car val)) (> (length ...) session-globals-max-string)) > * (or (and (stringp ...) (> ... session-globals-max-string)) (if ass-p (assoc > .$ > * (while val (or (and ... ...) (if ass-p ... ...) (progn ... ...) (setq val > nil$ > * (progn (push symbol s-excl) (setq vlist nil) (while val (or ... ... ... > ...) $ > * (condition-case nil (progn (push symbol s-excl) (setq vlist nil) (while val > .$ > * (and (default-boundp symbol) (setq val (default-value symbol)) (consp val) > (n$ > * (while slist (setq symbol (car slist) slist (cdr slist) len > session-globals-m$ > * (let ((s-excl session-globals-exclude) (slist ...) symbol val vlist len > ass-p$ > * (save-excursion (let (...) (while buffers ... ... ...)) (set-buffer > (get-buff$ > * (and session-save-file (not (and ... ...)) (or session-successful-p (not > ...)$ > * session-save-session() > call-interactively(session-save-session) > -:%*-F1 *Backtrace* Top L2 > [(Debugger)]-------------------------------- > > I hope this is helpful. Thanks! > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.16.5 > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > Versions of packages emacs-goodies-el depends on: > ii bash 3.1-4 The GNU Bourne Again SHell > ii emacs-snapshot-gtk [emacsen 1:20060415-2 The GNU Emacs editor (with GTK+ > 2. > ii emacs21 [emacsen] 21.4a-3 The GNU Emacs editor > > Versions of packages emacs-goodies-el recommends: > ii dict 1.10.2-3 Dictionary Client > pn perl-doc <none> (no description available) > ii wget 1.10.2-1 retrieves files from the web > > -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]