From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Yi Wang <tririverwangyi@gmail.com>
Cc: 16327@debbugs.gnu.org
Subject: bug#16327: 24.3; Arrow keys not working in virtual terminal after key binding
Date: Thu, 02 Jan 2014 15:02:00 -0500 [thread overview]
Message-ID: <jwvzjnexij2.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAJferG-woMiiGkAWmPjY1fjGcVcbW3ZfXkXDkMCSAbthctmp6A@mail.gmail.com> (Yi Wang's message of "Thu, 2 Jan 2014 16:58:28 +0000")
> (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
prev parent reply other threads:[~2014-01-02 20:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 16:58 bug#16327: 24.3; Arrow keys not working in virtual terminal after key binding Yi Wang
2014-01-02 20:02 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvzjnexij2.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=16327@debbugs.gnu.org \
--cc=tririverwangyi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.