GNU bug report logs - #13289
bookmarks not saved if kill Emacs from command-line

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq.free <at> gmail.com>

Date: Thu, 27 Dec 2012 17:33:02 UTC

Severity: normal

Tags: confirmed, help

Found in version 24.2

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 13289-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Xue Fuqiao <xfq.free <at> gmail.com>, 13289-done <at> debbugs.gnu.org
Subject: Re: bug#13289: 24.2; bookmark didn't save when using emacsclient
Date: Sat, 19 Jan 2013 16:50:51 +0800
Chong Yidong <cyd <at> gnu.org> writes:

> The reason is the following.  The above call to `pp' contains a call to
> `scan-lists' which is enclosed in `ignore-errors'.  Normally, the error
> is caught and `pp' goes on to do its job.  However, because the hook is
> being run while Emacs is in a sigterm handler waiting to die (so that
> waiting_for_input is true), the Fsignal aborts Emacs instead of
> signalling a Lisp error:

The straightforward fix---setting waiting_for_input to 0 in
Fkill_emacs---seems to work fine, so I went ahead and committed it to
trunk.




This bug report was last modified 12 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.