keyboard - Emacs escape key -
currently, if press c-h c
, trice press esc
key on keyboard result
esc esc esc (translated <escape> <escape> <escape>) runs command keyboard-escape-quit
what difference between esc
, <escape>
, how can use difference make more keybindings?
found solution in emacs
mailing list archive:
the escape key linked escape char, 2 different. under tty, emacs receives exact same byte-sequence terminal if type escape key or if type c-[ (both send escape char).
under gui, on other hand, emacs can distinguish two, under gui, escape key doesn't send
?\e
(akaesc
kbd)escape
(aka<escape>
kbd) turned?\e
via function-key-map (i.e. if there's no corresponding binding key sequenceescape
).same thing happens tab (i.e. tab (aka
c-i
) vs tab) , return (i.e. ret (akac-m
) vs return).
Comments
Post a Comment