Lennart Borgman wrote:
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:

What other w32 apps are you talking about? The Windows programming guidelines are pretty clear that the only time to interrupt shutdown is when you are performing an operation that cannot be interrupted - CD burning is given as an example. In that case you are supposed to ask the user one Yes/No question about whether they want to abort the shutdown.

As I said at the start of the thread, it would be correct for Emacs to flush its autosave buffers to disk at this point, but not to start asking all the questions that save-buffers-kill-emacs does. What if Emacs is on a secondary monitor, and the Graphics driver shuts it off when it receives the shutdown message? Emacs will be delaying shutdown waiting for a response, while the user cannot see it.



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to