emacs-devel
[Top][All Lists]
Advanced

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

Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SI


From: grischka
Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Date: Sat, 24 Jan 2009 18:56:17 +0100
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Eli Zaretskii wrote:
Pressing Ctrl-C where? Emacs redefines SIGINT so that it is produced
by C-g, not by C-c (because the latter is used in many key sequences),
so I presume you don't mean typing Ctrl-C into the Emacs window.  But
then where did you type it?

In the xterm.

Also, by "starting emacs at a xterm prompt", do you mean "emacs -nw"
or do you mean a GUI session started at the shell prompt?

$ emacs<ret>

IIRC to reproduce it it suffices to call 'pp' in a kill-emacs-hook.

You mean, call 'pp' in a kill-emacs-hook and _then_ deliver a SIGINT?

Yes.

Or do you mean that having `pp' called from kill-emacs-hook will cause
the abort even if Emacs is shut down normally, via "C-c C-c"?

No.

"prj-print-list" (0xbfa56bd0)
"progn" (0xbfa56d10)
"if" (0xbfa56d90)
"when" (0xbfa56e10)
"let" (0xbfa56f00)
"let" (0xbfa56ff0)
"progn" (0xbfa57080)
"if" (0xbfa57100)
"when" (0xbfa57180)
"prj-saveconfig" (0xbfa57200)
"prj-saveall" (0xbfa57320)
"prj-on-kill" (0xbfa574ec)
"run-hooks" (0xbfa57584)
(gdb)

What are those prj-* functions?


"eproject", available at Tom Tromey's ELPA.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]