emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs does not listen on w32


From: Lennart Borgman (gmail)
Subject: Re: Emacs does not listen on w32
Date: Sun, 13 Apr 2008 17:19:57 +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 4:04 PM, Lennart Borgman (gmail)
<address@hidden> wrote:

 I would expect that the message sent to the Emacs when clicking on the
upper left [X] would terminate any loop, just like C-g terminates a loop in
a command.

keyboard-quit's function is to signal a `quit' condition, so it does it.

Clicking the upper left [X] sends a WM_CLOSE message to Emacs, which
tells it to do an orderly exit. That includes executing Lisp code, and
potentially doing a lot of things: writing files, asking the user,
killing subprocesses, etc. If some of these things take forever, how
it is Emacs to know that it is a bug and not expected behavior? For
example, if something in kill-emacs-query-functions asks me and I
don't answer, I wouldn't want Emacs to assume it can proceed...

Yes, those are good points, but I think you are perhaps missing my point: That WM_CLOSE should be treated more like qiut.

That does not prevent Emacs from asking the type of question you mentioned.




reply via email to

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