[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: Lennart Borgman
Subject: Re: Exit hooks not run at logout on w32
Date: Thu, 29 Jun 2006 02:17:29 +0200
User-agent: Thunderbird (Windows/20060516)

Jason Rumney wrote:

WM_EMACS_KILL seems ok to use here, it is not used anywhere else as far as I can see. It is passed on and shows up in w32_msg_pump. There I am trying to use my_post_msg to pass it to the lisp thread.
Wy not post it directly to the lisp thread in the first place?

Thanks. I did a post_msg and it works as I want it now. My concern was that data was lost on reboots and logouts (that has happened to me). Now it works like for other w32 apps:

- If there is something to save then the user is prompted (by save-buffers-kill-emacs). - MS Windows then shows a dialog that it is waiting. This happens on w2k and I guess xp. I am not sure about nt4.

I will post a patch soon.

And I wonder what I did wrong in the more complicated version ...

reply via email to

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