[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bikeshedding go! Why is <M-f4> unbound?
From: |
Óscar Fuentes |
Subject: |
Re: Bikeshedding go! Why is <M-f4> unbound? |
Date: |
Mon, 17 Jan 2011 20:27:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
>> > Really? Good, in that case. I was under the impression
>> > that simply hitting the key would mean that Windows grabs it.
>>
>> Yes, of course. What else should it do?
>
> There are 3 possibilities that have been discussed:
> 1. It is bound in Emacs. Invoke the Emacs binding.
> 2. It is not bound. Raise an Emacs unbound error.
> 3. It is not bound. Pass Alt-F4 through to Windows.
>
> No one has disagreed about #1. You think that #3 is always preferable
> to #2 and should become hard-coded behavior. I think that the choice
> between #2 and #3 should be up to the user and Emacs libraries if
> possible.
(global-set-key [M-f4]
(lambda () (interactive) (message "Emacs ate your M-f4")))
See: with #1 and #3 the user can prevent sending Alt-F4 back to
Windows. No need for #2.
BTW: how is useful for the user to show an unbound error instead of
doing what is advertised on a menu and a platform's UI standard
procedure?
[snip]
- Re: Bikeshedding go! Why is <M-f4> unbound?, (continued)
- Re: Bikeshedding go! Why is <M-f4> unbound?, Lennart Borgman, 2011/01/17
- RE: Bikeshedding go! Why is <M-f4> unbound?, Drew Adams, 2011/01/17
- Re: Bikeshedding go! Why is <M-f4> unbound?, Lennart Borgman, 2011/01/17
- Bikeshedding "user choice", Stephen J. Turnbull, 2011/01/17
- RE: Bikeshedding "user choice", Drew Adams, 2011/01/18
- RE: Bikeshedding "user choice", Stephen J. Turnbull, 2011/01/18
- RE: Bikeshedding "user choice", Drew Adams, 2011/01/18
- RE: Bikeshedding "user choice", Stephen J. Turnbull, 2011/01/19
- RE: Bikeshedding "user choice", Drew Adams, 2011/01/19
- RE: Bikeshedding go! Why is <M-f4> unbound?, jasonr, 2011/01/18
- Re: Bikeshedding go! Why is <M-f4> unbound?,
Óscar Fuentes <=
- RE: Bikeshedding go! Why is <M-f4> unbound?, Drew Adams, 2011/01/17
- Re: Bikeshedding go! Why is <M-f4> unbound?, Jason Rumney, 2011/01/16
- RE: Bikeshedding go! Why is <M-f4> unbound?, Drew Adams, 2011/01/17
- RE: Bikeshedding go! Why is <M-f4> unbound?, Drew Adams, 2011/01/16
- Re: Bikeshedding go! Why is <M-f4> unbound?, Dimitri Fontaine, 2011/01/10
Re: Bikeshedding go! Why is <M-f4> unbound?, Christopher Allan Webber, 2011/01/05
Re: Bikeshedding go! Why is <M-f4> unbound?, grischka, 2011/01/13
Re: Bikeshedding go! Why is <M-f4> unbound?, grischka, 2011/01/17