GNU bug report logs - #16327
24.3; Arrow keys not working in virtual terminal after key binding

Previous Next

Package: emacs;

Reported by: Yi Wang <tririverwangyi <at> gmail.com>

Date: Thu, 2 Jan 2014 16:59:01 UTC

Severity: normal

Tags: notabug

Found in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 16327 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Yi Wang <tririverwangyi <at> gmail.com>
Cc: 16327 <at> debbugs.gnu.org
Subject: Re: bug#16327: 24.3;
 Arrow keys not working in virtual terminal after key binding
Date: Thu, 02 Jan 2014 15:02:00 -0500
> (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




This bug report was last modified 11 years and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.