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 (aka esc kbd) escape (aka <escape> kbd) turned ?\e via function-key-map (i.e. if there's no corresponding binding key sequence escape).

same thing happens tab (i.e. tab (aka c-i) vs tab) , return (i.e. ret (aka c-m) vs return).


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -