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: Juanma Barranquero
Subject: Re: Emacs does not listen on w32
Date: Sun, 13 Apr 2008 16:16:31 +0200

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...

 Juanma




reply via email to

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