From: Glenn Morris <rgm@gnu.org>
To: David Bremner <david@tethera.net>
Cc: 29955@debbugs.gnu.org
Subject: bug#29955: 25.2; stale lock files can hang emacs --batch
Date: Mon, 22 Jan 2018 18:50:02 -0500 [thread overview]
Message-ID: <3o607tv4gl.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <ds607t61ek.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 22 Jan 2018 16:15:15 -0500")
Glenn Morris wrote:
> I note that this also hangs:
>
> emacs -Q --batch \
> --eval "(add-hook 'kill-emacs-hook (lambda () (error \"foo\")))"
This can be avoided by using safe_run_hooks for Qkill_emacs_hook in
Fkill_emacs. Perhaps that's the right thing to do, if noninteractive?
Would it be correct for interactive mode, too?
As it stands, in interactive mode an error in kill-emacs-hook
will stop Emacs from exiting.
I'm not sure if that is a desirable feature or not...
next prev parent reply other threads:[~2018-01-22 23:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 0:56 bug#29955: 25.2; stale lock files can hang emacs --batch David Bremner
2018-01-22 19:58 ` Glenn Morris
2018-01-22 21:15 ` Glenn Morris
2018-01-22 23:50 ` Glenn Morris [this message]
2018-01-24 1:59 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3o607tv4gl.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=29955@debbugs.gnu.org \
--cc=david@tethera.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.