[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363263: marked as done (emacs-goodies-el: Session.el conflicts w/ Org Mode of emacs-snapshot)



Your message dated Wed, 27 Jun 2018 21:44:41 -0300
with message-id <87efgrwxhi.fsf@tethera.net>
and subject line bug not found with emacs25, org 9.11
has caused the Debian Bug report #363263,
regarding emacs-goodies-el: Session.el conflicts w/ Org Mode of emacs-snapshot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
363263: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363263
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
With current emacs (25.2) and org-mode (9.11), I cannot duplicate this
bug.

There's actually a 5 year newer version


        https://sourceforge.net/projects/emacs-session/files/

in case anyone is trying to duplicate the bug.

I'll file a separate bug about updating session.el.

--- End Message ---

Reply to: