[Top][All Lists]

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

Re: Exit hooks not run at logout on w32

From: Jason Rumney
Subject: Re: Exit hooks not run at logout on w32
Date: Mon, 26 Jun 2006 18:19:47 +0100
User-agent: Thunderbird (Windows/20060516)

Lennart Borgman wrote:

As far as I can see the exit hooks for Emacs are not run when a user logs out from Windows 2000 or reboots the pc. I do not know however if this problem is specific to w32. It is in my opinion a serious problem that ought to be fixed before the release.
I'm not sure they can be run reliably. The system gives Emacs (or any other application) a short amount of time to exit cleanly before issuing the equivalent of a kill -9. Since such hooks often involve user interaction, there is no guarantee that we will finish in time, so the safest thing to do is to just make sure all autosave files are written before exiting so that the user can recover their session later.

reply via email to

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