[Top][All Lists]

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

Re: Bikeshedding go! Why is <M-f4> unbound?

From: Lennart Borgman
Subject: Re: Bikeshedding go! Why is <M-f4> unbound?
Date: Thu, 13 Jan 2011 23:00:25 +0100

On Thu, Jan 13, 2011 at 10:15 PM, Stefan Monnier
<address@hidden> wrote:
>>>> When Alt-F4 is delegated to Windows, it generates events for closing the
>>>> active window.
>>> Thanks.  So the right thing to do here is to change Emacs so it delegates
>>> the Alt-F4 to the standard Windows routine that turns it into a WM_CLOSE.
>>> Patch welcome,
>> Binding Alt-F4 to a function such as handle-delete-frame will do
>> fine. That's far easier than dealing with the Windows API from the C
>> sources.
> It's likely to end up approximating the right behavior, and lead to
> more reports.  E.g. should it bind A-f4 or M-f4?

To delegate Alt-F4 to Windows standard routine we have to catch it in
the message loop. I can't remember how it shows up in the message
loop. Does it come in one peace (i.e. Alt+F4) or in a sequence (i.e.
Alt and then F4)?

reply via email to

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