|
From: | Lennart Borgman (gmail) |
Subject: | Re: Emacs does not listen on w32 |
Date: | Sun, 13 Apr 2008 23:15:32 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Juanma Barranquero wrote:
On Sun, Apr 13, 2008 at 11:04 PM, Lennart Borgman (gmail) <address@hidden> wrote:By recognizing that it has recieved WM_CLOSE. I tried to say that this should be handled as a kind of "quit" in those cases.Why should clicking into the [X] box interrupt useful work without asking?
It is the user that is clicking the [X]. Maybe there should be a question if the the ongoing work should be interrupted though.
What will you do if some code in one of `kill-emacs-hook' or `kill-emacs-query-functions' loops forever? (They would run *after* your "quitting behavior" was done, IIUC what you're saying.)
I do not know what can be done in those circumstances, but I guess that the window and message framework is still there. (This depends on exactly how the exit is implemented.) In that case I would think it is best to interrupt that loop to.
[Prev in Thread] | Current Thread | [Next in Thread] |