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

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

bug#16327: 24.3; Arrow keys not working in virtual terminal after key bi


From: Stefan Monnier
Subject: bug#16327: 24.3; Arrow keys not working in virtual terminal after key binding
Date: Thu, 02 Jan 2014 15:02:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> (global-set-key (kbd "M-[") '(lambda ()   (interactive) (other-window -1) ))

Don't quote your lambdas, please!

As for your problem: (kbd "M-[") is the same as ESC [ which is
a sequence of bytes often used by the escape sequences of arrow
keys, so your binding will indeed conflict, tho it will depend on the
specific terminal emulator used.


        Stefan





reply via email to

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