[Top][All Lists]

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

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

From: grischka
Subject: Re: Bikeshedding go! Why is <M-f4> unbound?
Date: Tue, 18 Jan 2011 14:15:37 +0100
User-agent: Thunderbird (Windows/20090812)

Óscar Fuentes wrote:
Well, it would be difficult to determine on the Windows level whether
the single keystroke was maybe part of C-x M-f4 or C-h M-f4.  So in
any case it is better to reuse emacs central event parser.

This is unnecesary too. Alt-F4 must work irrespectively of the prefix
keys typed so far: if you type C-x or C-h and then click on the Close
button on the top right of the frame, Emacs thinks you want to exit the
application. Alt-F4 must have the same effect as clicking that button
(when M-f4 is unbound on Emacs, hence the need for checking the binding
from the Windows event loop).

A matter of taste.

    (global-set-key [M-f4] 'w32-syskey)

If we go that route why not just bind M-f4 to a function that closes the
current frame, as suggested at the beginning of this thread?

Because you want to support menu accelerators [Alt-<letter>] ?

--- grischka

reply via email to

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