help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs keybinding syntaxes bewilderment


From: Xah
Subject: Re: emacs keybinding syntaxes bewilderment
Date: Tue, 18 Dec 2007 18:27:04 -0800 (PST)
User-agent: G2/1.0

When writing a keybinding code involving a function key, such as

Ctrl+F1, i've always used

(kbd "C-<f1>"), but i just realized that according to the printout
from describe-key, it seems that it should be “<C-f1>” instead. i.e.
when a named functional key is involved, it brings all the modifier
key inside the angle braket.

Is that suppose to be that way? seems less logical. Compare:

 a         M-a          C-M-a
 <up>      M-<up>        C-M-<up>
 <kb-1>    M-<kb-1>      C-M-<kb-1>

i don't see why all the modifier keys should be brought inside the
angle bracket that designate function keys.

  Xah
  xah@xahlee.org
\xAD\xF4 http://xahlee.org/


reply via email to

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