From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 02 11:58:51 2014 Received: (at submit) by debbugs.gnu.org; 2 Jan 2014 16:58:51 +0000 Received: from localhost ([127.0.0.1]:58206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vylbc-0000Y3-Ix for submit@debbugs.gnu.org; Thu, 02 Jan 2014 11:58:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34721) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VylbY-0000Xs-UE for submit@debbugs.gnu.org; Thu, 02 Jan 2014 11:58:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VylbV-0005tv-53 for submit@debbugs.gnu.org; Thu, 02 Jan 2014 11:58:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VylbV-0005tr-1M for submit@debbugs.gnu.org; Thu, 02 Jan 2014 11:58:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VylbR-0006lf-KN for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2014 11:58:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VylbL-0005sk-Fi for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2014 11:58:37 -0500 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:65093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VylbL-0005sX-6K for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2014 11:58:31 -0500 Received: by mail-oa0-f49.google.com with SMTP id i4so14796173oah.8 for ; Thu, 02 Jan 2014 08:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uDYpHjq8fD5hED1ysbkptk0nA7Ar6M+Nb/L6t6pJWi8=; b=P0ok8xC1xNaQSatR8/90MRxCzxSeKJ7w/dNbV/g9CkT6EMRsAdQYogGwKZbMsHUDL/ a/d7fh8WqHPGXaZUoDkT7SvaLz3xeN1P8P8LXNVDHXc4lOQnzO/XP29Ub4mkRX4Abpd4 RlEH37JCk6NQ9c8vtuoac+2qwuZmFLV9edz4HJRKD0Hd0X8VsoN80AQdJse8ZGnEjre+ gGX4TCnpxcAdRw47S+XDvITTxKGqDvuz+W7Sgfi79qV/76Ek3Z5lSN2yNVcEXFgKx3QO UogPUBjtqc2ghuF4rP8fOebaaGrrrQZGFq1YUA7+g3FIz+Kc9khSOikzQtMRdBnVR4Lr lNKg== MIME-Version: 1.0 X-Received: by 10.60.93.195 with SMTP id cw3mr833518oeb.80.1388681908807; Thu, 02 Jan 2014 08:58:28 -0800 (PST) Received: by 10.76.132.227 with HTTP; Thu, 2 Jan 2014 08:58:28 -0800 (PST) Date: Thu, 2 Jan 2014 16:58:28 +0000 Message-ID: Subject: 24.3; Arrow keys not working in virtual terminal after key binding From: Yi Wang To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7b33d526e16cfb04eeffb397 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --047d7b33d526e16cfb04eeffb397 Content-Type: text/plain; charset=ISO-8859-1 In a virtual terminal (i.e. the terminal without X, the one after pressing, say C-M-F1), if the following code is evaluated, arrow keys no longer work correctly. The 4 arrow keys becomes ABCD. (global-set-key (kbd "M-[") '(lambda () (interactive) (other-window -1) )) Note: (1) This bug is reproducible with emacs -nw --no-init (2) Under a X-environment terminal, say konsole, there is no problem. ========== This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.2) of 2013-08-06 on -mnt-storage-buildroots-staging-x86_64-eric Windowing system distributor `The X.Org Foundation', version 11.0.11405000 System Description: Arch Linux Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org Minor modes in effect: flyspell-mode: t show-paren-mode: t global-edit-server-edit-mode: t yas-global-mode: t yas-minor-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-r C-x C-c M-x e r e p SPC o SPC r SPC e SPC b SPC Recent messages: Source file `/home/wangyi/.emacs.d/elpa/org-20131028/org-bbdb.el' newer than byte-compiled file Source file `/home/wangyi/.emacs.d/elpa/org-20131028/org-gnus.el' newer than byte-compiled file Source file `/home/wangyi/.emacs.d/elpa/org-20131028/org-irc.el' newer than byte-compiled file Source file `/home/wangyi/.emacs.d/elpa/org-20131028/org-rmail.el' newer than byte-compiled file Starting new Ispell process [aspell::en] ... scroll-up-command: End of buffer [2 times] scroll-down-command: Beginning of buffer [3 times] goto-line [2 times] (No files need saving) Making completion list... [2 times] Load-path shadows: /home/wangyi/.emacs.d/elpa/org-20131028/org-feed hides /usr/share/emacs/24.3/lisp/org/org-feed /home/wangyi/.emacs.d/elpa/org-20131028/ob-lob hides /usr/share/emacs/24.3/lisp/org/ob-lob /home/wangyi/.emacs.d/elpa/org-20131028/org-archive hides /usr/share/emacs/24.3/lisp/org/org-archive /home/wangyi/.emacs.d/elpa/org-20131028/ob-sql hides /usr/share/emacs/24.3/lisp/org/ob-sql /home/wangyi/.emacs.d/elpa/org-20131028/org-macs hides /usr/share/emacs/24.3/lisp/org/org-macs /home/wangyi/.emacs.d/elpa/org-20131028/org-faces hides /usr/share/emacs/24.3/lisp/org/org-faces /home/wangyi/.emacs.d/elpa/org-20131028/ob-ref hides /usr/share/emacs/24.3/lisp/org/ob-ref /home/wangyi/.emacs.d/elpa/org-20131028/org-colview hides /usr/share/emacs/24.3/lisp/org/org-colview /home/wangyi/.emacs.d/elpa/org-20131028/ob-js hides /usr/share/emacs/24.3/lisp/org/ob-js /home/wangyi/.emacs.d/elpa/org-20131028/ob-ocaml hides /usr/share/emacs/24.3/lisp/org/ob-ocaml /home/wangyi/.emacs.d/elpa/org-20131028/org-src hides /usr/share/emacs/24.3/lisp/org/org-src /home/wangyi/.emacs.d/elpa/org-20131028/org-install hides /usr/share/emacs/24.3/lisp/org/org-install /home/wangyi/.emacs.d/elpa/org-20131028/ob-mscgen hides /usr/share/emacs/24.3/lisp/org/ob-mscgen /home/wangyi/.emacs.d/elpa/org-20131028/org-info hides /usr/share/emacs/24.3/lisp/org/org-info /home/wangyi/.emacs.d/elpa/org-20131028/ob-calc hides /usr/share/emacs/24.3/lisp/org/ob-calc /home/wangyi/.emacs.d/elpa/org-20131028/ob-scala hides /usr/share/emacs/24.3/lisp/org/ob-scala /home/wangyi/.emacs.d/elpa/org-20131028/org-table hides /usr/share/emacs/24.3/lisp/org/org-table /home/wangyi/.emacs.d/elpa/org-20131028/ob-org hides /usr/share/emacs/24.3/lisp/org/ob-org /home/wangyi/.emacs.d/elpa/org-20131028/org-datetree hides /usr/share/emacs/24.3/lisp/org/org-datetree /home/wangyi/.emacs.d/elpa/org-20131028/org-list hides /usr/share/emacs/24.3/lisp/org/org-list /home/wangyi/.emacs.d/elpa/org-20131028/org-element hides /usr/share/emacs/24.3/lisp/org/org-element /home/wangyi/.emacs.d/elpa/org-20131028/org-attach hides /usr/share/emacs/24.3/lisp/org/org-attach /home/wangyi/.emacs.d/elpa/org-20131028/org-version hides /usr/share/emacs/24.3/lisp/org/org-version /home/wangyi/.emacs.d/elpa/org-20131028/ob-sqlite hides /usr/share/emacs/24.3/lisp/org/ob-sqlite /home/wangyi/.emacs.d/elpa/org-20131028/org-agenda hides /usr/share/emacs/24.3/lisp/org/org-agenda /home/wangyi/.emacs.d/elpa/org-20131028/ob-comint hides /usr/share/emacs/24.3/lisp/org/ob-comint /home/wangyi/.emacs.d/elpa/org-20131028/ob-tangle hides /usr/share/emacs/24.3/lisp/org/ob-tangle /home/wangyi/.emacs.d/elpa/org-20131028/ob-sh hides /usr/share/emacs/24.3/lisp/org/ob-sh /home/wangyi/.emacs.d/elpa/org-20131028/ob-C hides /usr/share/emacs/24.3/lisp/org/ob-C /home/wangyi/.emacs.d/elpa/org-20131028/ob-sass hides /usr/share/emacs/24.3/lisp/org/ob-sass /home/wangyi/.emacs.d/elpa/org-20131028/org-ctags hides /usr/share/emacs/24.3/lisp/org/org-ctags /home/wangyi/.emacs.d/elpa/org-20131028/ob-matlab hides /usr/share/emacs/24.3/lisp/org/ob-matlab /home/wangyi/.emacs.d/elpa/org-20131028/org-rmail hides /usr/share/emacs/24.3/lisp/org/org-rmail /home/wangyi/.emacs.d/elpa/org-20131028/org-plot hides /usr/share/emacs/24.3/lisp/org/org-plot /home/wangyi/.emacs.d/elpa/org-20131028/org-clock hides /usr/share/emacs/24.3/lisp/org/org-clock /home/wangyi/.emacs.d/elpa/org-20131028/ob-ditaa hides /usr/share/emacs/24.3/lisp/org/ob-ditaa /home/wangyi/.emacs.d/elpa/org-20131028/ob-emacs-lisp hides /usr/share/emacs/24.3/lisp/org/ob-emacs-lisp /home/wangyi/.emacs.d/elpa/org-20131028/org-w3m hides /usr/share/emacs/24.3/lisp/org/org-w3m /home/wangyi/.emacs.d/elpa/org-20131028/ob-gnuplot hides /usr/share/emacs/24.3/lisp/org/ob-gnuplot /home/wangyi/.emacs.d/elpa/org-20131028/org-compat hides /usr/share/emacs/24.3/lisp/org/org-compat /home/wangyi/.emacs.d/elpa/org-20131028/ob-scheme hides /usr/share/emacs/24.3/lisp/org/ob-scheme /home/wangyi/.emacs.d/elpa/org-20131028/ob hides /usr/share/emacs/24.3/lisp/org/ob /home/wangyi/.emacs.d/elpa/org-20131028/ob-asymptote hides /usr/share/emacs/24.3/lisp/org/ob-asymptote /home/wangyi/.emacs.d/elpa/org-20131028/ob-picolisp hides /usr/share/emacs/24.3/lisp/org/ob-picolisp /home/wangyi/.emacs.d/elpa/org-20131028/ob-dot hides /usr/share/emacs/24.3/lisp/org/ob-dot /home/wangyi/.emacs.d/elpa/org-20131028/org hides /usr/share/emacs/24.3/lisp/org/org /home/wangyi/.emacs.d/elpa/org-20131028/ob-perl hides /usr/share/emacs/24.3/lisp/org/ob-perl /home/wangyi/.emacs.d/elpa/org-20131028/ob-ruby hides /usr/share/emacs/24.3/lisp/org/ob-ruby /home/wangyi/.emacs.d/elpa/org-20131028/org-indent hides /usr/share/emacs/24.3/lisp/org/org-indent /home/wangyi/.emacs.d/elpa/org-20131028/org-bibtex hides /usr/share/emacs/24.3/lisp/org/org-bibtex /home/wangyi/.emacs.d/elpa/org-20131028/ob-R hides /usr/share/emacs/24.3/lisp/org/ob-R /home/wangyi/.emacs.d/elpa/org-20131028/org-mobile hides /usr/share/emacs/24.3/lisp/org/org-mobile /home/wangyi/.emacs.d/elpa/org-20131028/org-crypt hides /usr/share/emacs/24.3/lisp/org/org-crypt /home/wangyi/.emacs.d/elpa/org-20131028/org-habit hides /usr/share/emacs/24.3/lisp/org/org-habit /home/wangyi/.emacs.d/elpa/org-20131028/org-pcomplete hides /usr/share/emacs/24.3/lisp/org/org-pcomplete /home/wangyi/.emacs.d/elpa/org-20131028/org-entities hides /usr/share/emacs/24.3/lisp/org/org-entities /home/wangyi/.emacs.d/elpa/org-20131028/org-footnote hides /usr/share/emacs/24.3/lisp/org/org-footnote /home/wangyi/.emacs.d/elpa/org-20131028/ob-plantuml hides /usr/share/emacs/24.3/lisp/org/ob-plantuml /home/wangyi/.emacs.d/elpa/org-20131028/ob-css hides /usr/share/emacs/24.3/lisp/org/ob-css /home/wangyi/.emacs.d/elpa/org-20131028/org-loaddefs hides /usr/share/emacs/24.3/lisp/org/org-loaddefs /home/wangyi/.emacs.d/elpa/org-20131028/ob-exp hides /usr/share/emacs/24.3/lisp/org/ob-exp /home/wangyi/.emacs.d/elpa/org-20131028/org-protocol hides /usr/share/emacs/24.3/lisp/org/org-protocol /home/wangyi/.emacs.d/elpa/org-20131028/org-irc hides /usr/share/emacs/24.3/lisp/org/org-irc /home/wangyi/.emacs.d/elpa/org-20131028/ob-octave hides /usr/share/emacs/24.3/lisp/org/ob-octave /home/wangyi/.emacs.d/elpa/org-20131028/org-mhe hides /usr/share/emacs/24.3/lisp/org/org-mhe /home/wangyi/.emacs.d/elpa/org-20131028/ob-screen hides /usr/share/emacs/24.3/lisp/org/ob-screen /home/wangyi/.emacs.d/elpa/org-20131028/ob-python hides /usr/share/emacs/24.3/lisp/org/ob-python /home/wangyi/.emacs.d/elpa/org-20131028/ob-clojure hides /usr/share/emacs/24.3/lisp/org/ob-clojure /home/wangyi/.emacs.d/elpa/org-20131028/org-capture hides /usr/share/emacs/24.3/lisp/org/org-capture /home/wangyi/.emacs.d/elpa/org-20131028/ob-shen hides /usr/share/emacs/24.3/lisp/org/ob-shen /home/wangyi/.emacs.d/elpa/org-20131028/ob-io hides /usr/share/emacs/24.3/lisp/org/ob-io /home/wangyi/.emacs.d/elpa/org-20131028/org-gnus hides /usr/share/emacs/24.3/lisp/org/org-gnus /home/wangyi/.emacs.d/elpa/org-20131028/ob-lilypond hides /usr/share/emacs/24.3/lisp/org/ob-lilypond /home/wangyi/.emacs.d/elpa/org-20131028/org-mouse hides /usr/share/emacs/24.3/lisp/org/org-mouse /home/wangyi/.emacs.d/elpa/org-20131028/org-eshell hides /usr/share/emacs/24.3/lisp/org/org-eshell /home/wangyi/.emacs.d/elpa/org-20131028/ob-fortran hides /usr/share/emacs/24.3/lisp/org/ob-fortran /home/wangyi/.emacs.d/elpa/org-20131028/ob-latex hides /usr/share/emacs/24.3/lisp/org/ob-latex /home/wangyi/.emacs.d/elpa/org-20131028/ob-ledger hides /usr/share/emacs/24.3/lisp/org/ob-ledger /home/wangyi/.emacs.d/elpa/org-20131028/org-docview hides /usr/share/emacs/24.3/lisp/org/org-docview /home/wangyi/.emacs.d/elpa/org-20131028/ob-maxima hides /usr/share/emacs/24.3/lisp/org/ob-maxima /home/wangyi/.emacs.d/elpa/org-20131028/ob-lisp hides /usr/share/emacs/24.3/lisp/org/ob-lisp /home/wangyi/.emacs.d/elpa/org-20131028/org-timer hides /usr/share/emacs/24.3/lisp/org/org-timer /home/wangyi/.emacs.d/elpa/org-20131028/ob-java hides /usr/share/emacs/24.3/lisp/org/ob-java /home/wangyi/.emacs.d/elpa/org-20131028/org-id hides /usr/share/emacs/24.3/lisp/org/org-id /home/wangyi/.emacs.d/elpa/org-20131028/org-bbdb hides /usr/share/emacs/24.3/lisp/org/org-bbdb /home/wangyi/.emacs.d/elpa/org-20131028/ob-table hides /usr/share/emacs/24.3/lisp/org/ob-table /home/wangyi/.emacs.d/elpa/org-20131028/ob-awk hides /usr/share/emacs/24.3/lisp/org/ob-awk /home/wangyi/.emacs.d/elpa/org-20131028/ob-eval hides /usr/share/emacs/24.3/lisp/org/ob-eval /home/wangyi/.emacs.d/elpa/org-20131028/ob-haskell hides /usr/share/emacs/24.3/lisp/org/ob-haskell /home/wangyi/.emacs.d/elpa/org-20131028/org-inlinetask hides /usr/share/emacs/24.3/lisp/org/org-inlinetask /home/wangyi/.emacs.d/elpa/org-20131028/ob-keys hides /usr/share/emacs/24.3/lisp/org/ob-keys Features: (shadow sort mail-extr emacsbug message idna cl-macs gv rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt flyspell ispell image-file org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview org-bibtex bibtex org-bbdb org-w3m org byte-opt warnings bytecomp byte-compile cconv org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs server wy-txt wy-tex derived wy-appearance wy-org wy-keys wy-settings time-date paren edit-server yasnippet advice help-fns advice-preload edmacro kmacro help-mode cl cl-lib wy-utils edit-server-autoloads goto-last-change-autoloads org-autoloads info easymenu yasnippet-autoloads package tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --047d7b33d526e16cfb04eeffb397 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In a virtual terminal (i.e. the terminal without X, t= he one after
pressing, say C-M-F1), if the following code is eval= uated, arrow keys no
longer work correctly. The 4 arrow keys beco= mes ABCD.

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

Note:
=

(1) This bug is reproducible with emacs -nw --no-init
(2) Under a X-environment terminal, say konsole, there is no problem.<= /div>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This bug report will be sent to the Bug-GNU-Emacs mailing list
<= div>and the GNU bug tracker at debbugs.g= nu.org. =A0Please check that
the From: line contains a valid email address. =A0After a delay of up<= /div>
to one day, you should receive an acknowledgment at that address.=

Please write in English if possible, as the Emacs= maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. =A0If you can, give a recipe
starting from `emacs -Q':



<= /div>
If Emacs crashed, and you have the Emacs process in the gdb debug= ger,
please include the output from the following gdb commands:
=A0 =A0 `bt full' and `xbacktrace'.
For information = about debugging Emacs, please read the file
/usr/share/emacs/24.3= /etc/DEBUG.


In GNU Emacs 24.3.1 (x8= 6_64-unknown-linux-gnu, GTK+ Version 3.8.2)
=A0of 2013-08-06 on -mnt-storage-buildroots-staging-x86_64-eric
<= div>Windowing system distributor `The X.Org Foundation', version 11.0.1= 1405000
System Description: Arch Linux

Configured using:
=A0`configure '--prefix= =3D/usr' '--sysconfdir=3D/etc' '--libexecdir=3D/usr/lib'= ;
=A0'--localstatedir=3D/var' '--with-x-toolkit=3Dgtk= 3' '--with-xft'
=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-pr= otector
=A0--param=3Dssp-buffer-size=3D4'
=A0'L= DFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro'
=A0'= CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2''

Important settings:
=A0 value of $LANG: en_US= .UTF-8
=A0 value of $XMODIFIERS: @im=3Dfcitx
=A0 locale= -coding-system: utf-8-unix
=A0 default enable-multibyte-character= s: t

Major mode: Org

Minor modes in= effect:
=A0 flyspell-mode: t
=A0 show-paren-mode: t
=A0 global-edit-server-edit-mode: t
=A0 yas-global-mode: = t
=A0 yas-minor-mode: t
=A0 tooltip-mode: t
=A0 mous= e-wheel-mode: t
=A0 file-name-shadow-mode: t
=A0 global= -font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-curs= or-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:
<next> <next> <next> <nex= t> <next> <next> <prior> <prior>=A0
&l= t;prior> <prior> <prior> <prior> <prior> <nex= t> <next>=A0
<next> <prior> <prior> <prior> <up> <= up> <up> <up>=A0
<up> <up> <up> = <up> <up> <up> <up> <up> <up> <left&= gt;=A0
<kp-enter> M-r C-x C-c M-x e <backspace> r e p SPC=A0
o SPC r SPC e SPC b SPC <return>

Recen= t messages:
Source file `/home/wangyi/.emacs.d/elpa/org-20131028/= org-bbdb.el' newer than byte-compiled file
Source file `/home/wangyi/.emacs.d/elpa/org-20131028/org-gnus.el' = newer than byte-compiled file
Source file `/home/wangyi/.emacs.d/= elpa/org-20131028/org-irc.el' newer than byte-compiled file
Source file `/home/wangyi/.emacs.d/elpa/org-20131028/org-rmail.el' newe= r than byte-compiled file
Starting new Ispell process [aspell::en= ] ...
scroll-up-command: End of buffer [2 times]
scroll= -down-command: Beginning of buffer [3 times]
goto-line [2 times]
(No files need saving)
Making = completion list... [2 times]

Load-path shadows:
/home/wangyi/.emacs.d/elpa/org-20131028/org-feed hides /usr/share/e= macs/24.3/lisp/org/org-feed
/home/wangyi/.emacs.d/elpa/org-20131028/ob-lob hides /usr/share/emacs/= 24.3/lisp/org/ob-lob
/home/wangyi/.emacs.d/elpa/org-20131028/org-= archive hides /usr/share/emacs/24.3/lisp/org/org-archive
/home/wa= ngyi/.emacs.d/elpa/org-20131028/ob-sql hides /usr/share/emacs/24.3/lisp/org= /ob-sql
/home/wangyi/.emacs.d/elpa/org-20131028/org-macs hides /usr/share/emac= s/24.3/lisp/org/org-macs
/home/wangyi/.emacs.d/elpa/org-20131028/= org-faces hides /usr/share/emacs/24.3/lisp/org/org-faces
/home/wa= ngyi/.emacs.d/elpa/org-20131028/ob-ref hides /usr/share/emacs/24.3/lisp/org= /ob-ref
/home/wangyi/.emacs.d/elpa/org-20131028/org-colview hides /usr/share/e= macs/24.3/lisp/org/org-colview
/home/wangyi/.emacs.d/elpa/org-201= 31028/ob-js hides /usr/share/emacs/24.3/lisp/org/ob-js
/home/wang= yi/.emacs.d/elpa/org-20131028/ob-ocaml hides /usr/share/emacs/24.3/lisp/org= /ob-ocaml
/home/wangyi/.emacs.d/elpa/org-20131028/org-src hides /usr/share/emacs= /24.3/lisp/org/org-src
/home/wangyi/.emacs.d/elpa/org-20131028/or= g-install hides /usr/share/emacs/24.3/lisp/org/org-install
/home/= wangyi/.emacs.d/elpa/org-20131028/ob-mscgen hides /usr/share/emacs/24.3/lis= p/org/ob-mscgen
/home/wangyi/.emacs.d/elpa/org-20131028/org-info hides /usr/share/emac= s/24.3/lisp/org/org-info
/home/wangyi/.emacs.d/elpa/org-20131028/= ob-calc hides /usr/share/emacs/24.3/lisp/org/ob-calc
/home/wangyi= /.emacs.d/elpa/org-20131028/ob-scala hides /usr/share/emacs/24.3/lisp/org/o= b-scala
/home/wangyi/.emacs.d/elpa/org-20131028/org-table hides /usr/share/ema= cs/24.3/lisp/org/org-table
/home/wangyi/.emacs.d/elpa/org-2013102= 8/ob-org hides /usr/share/emacs/24.3/lisp/org/ob-org
/home/wangyi= /.emacs.d/elpa/org-20131028/org-datetree hides /usr/share/emacs/24.3/lisp/o= rg/org-datetree
/home/wangyi/.emacs.d/elpa/org-20131028/org-list hides /usr/share/emac= s/24.3/lisp/org/org-list
/home/wangyi/.emacs.d/elpa/org-20131028/= org-element hides /usr/share/emacs/24.3/lisp/org/org-element
/home/wangyi/.emacs.d/elpa/org-20131028/org-attach hides /usr/share/emacs/2= 4.3/lisp/org/org-attach
/home/wangyi/.emacs.d/elpa/org-20131028/o= rg-version hides /usr/share/emacs/24.3/lisp/org/org-version
/home= /wangyi/.emacs.d/elpa/org-20131028/ob-sqlite hides /usr/share/emacs/24.3/li= sp/org/ob-sqlite
/home/wangyi/.emacs.d/elpa/org-20131028/org-agenda hides /usr/share/em= acs/24.3/lisp/org/org-agenda
/home/wangyi/.emacs.d/elpa/org-20131= 028/ob-comint hides /usr/share/emacs/24.3/lisp/org/ob-comint
/home/wangyi/.emacs.d/elpa/org-20131028/ob-tangle hides /usr/share/emacs/24= .3/lisp/org/ob-tangle
/home/wangyi/.emacs.d/elpa/org-20131028/ob-= sh hides /usr/share/emacs/24.3/lisp/org/ob-sh
/home/wangyi/.emacs= .d/elpa/org-20131028/ob-C hides /usr/share/emacs/24.3/lisp/org/ob-C
/home/wangyi/.emacs.d/elpa/org-20131028/ob-sass hides /usr/share/emacs= /24.3/lisp/org/ob-sass
/home/wangyi/.emacs.d/elpa/org-20131028/or= g-ctags hides /usr/share/emacs/24.3/lisp/org/org-ctags
/home/wang= yi/.emacs.d/elpa/org-20131028/ob-matlab hides /usr/share/emacs/24.3/lisp/or= g/ob-matlab
/home/wangyi/.emacs.d/elpa/org-20131028/org-rmail hides /usr/share/ema= cs/24.3/lisp/org/org-rmail
/home/wangyi/.emacs.d/elpa/org-2013102= 8/org-plot hides /usr/share/emacs/24.3/lisp/org/org-plot
/home/wa= ngyi/.emacs.d/elpa/org-20131028/org-clock hides /usr/share/emacs/24.3/lisp/= org/org-clock
/home/wangyi/.emacs.d/elpa/org-20131028/ob-ditaa hides /usr/share/emac= s/24.3/lisp/org/ob-ditaa
/home/wangyi/.emacs.d/elpa/org-20131028/= ob-emacs-lisp hides /usr/share/emacs/24.3/lisp/org/ob-emacs-lisp
/home/wangyi/.emacs.d/elpa/org-20131028/org-w3m hides /usr/share/emacs/24.3= /lisp/org/org-w3m
/home/wangyi/.emacs.d/elpa/org-20131028/ob-gnup= lot hides /usr/share/emacs/24.3/lisp/org/ob-gnuplot
/home/wangyi/= .emacs.d/elpa/org-20131028/org-compat hides /usr/share/emacs/24.3/lisp/org/= org-compat
/home/wangyi/.emacs.d/elpa/org-20131028/ob-scheme hides /usr/share/ema= cs/24.3/lisp/org/ob-scheme
/home/wangyi/.emacs.d/elpa/org-2013102= 8/ob hides /usr/share/emacs/24.3/lisp/org/ob
/home/wangyi/.emacs.= d/elpa/org-20131028/ob-asymptote hides /usr/share/emacs/24.3/lisp/org/ob-as= ymptote
/home/wangyi/.emacs.d/elpa/org-20131028/ob-picolisp hides /usr/share/e= macs/24.3/lisp/org/ob-picolisp
/home/wangyi/.emacs.d/elpa/org-201= 31028/ob-dot hides /usr/share/emacs/24.3/lisp/org/ob-dot
/home/wa= ngyi/.emacs.d/elpa/org-20131028/org hides /usr/share/emacs/24.3/lisp/org/or= g
/home/wangyi/.emacs.d/elpa/org-20131028/ob-perl hides /usr/share/emacs= /24.3/lisp/org/ob-perl
/home/wangyi/.emacs.d/elpa/org-20131028/ob= -ruby hides /usr/share/emacs/24.3/lisp/org/ob-ruby
/home/wangyi/.= emacs.d/elpa/org-20131028/org-indent hides /usr/share/emacs/24.3/lisp/org/o= rg-indent
/home/wangyi/.emacs.d/elpa/org-20131028/org-bibtex hides /usr/share/em= acs/24.3/lisp/org/org-bibtex
/home/wangyi/.emacs.d/elpa/org-20131= 028/ob-R hides /usr/share/emacs/24.3/lisp/org/ob-R
/home/wangyi/.= emacs.d/elpa/org-20131028/org-mobile hides /usr/share/emacs/24.3/lisp/org/o= rg-mobile
/home/wangyi/.emacs.d/elpa/org-20131028/org-crypt hides /usr/share/ema= cs/24.3/lisp/org/org-crypt
/home/wangyi/.emacs.d/elpa/org-2013102= 8/org-habit hides /usr/share/emacs/24.3/lisp/org/org-habit
/home/= wangyi/.emacs.d/elpa/org-20131028/org-pcomplete hides /usr/share/emacs/24.3= /lisp/org/org-pcomplete
/home/wangyi/.emacs.d/elpa/org-20131028/org-entities hides /usr/share/= emacs/24.3/lisp/org/org-entities
/home/wangyi/.emacs.d/elpa/org-2= 0131028/org-footnote hides /usr/share/emacs/24.3/lisp/org/org-footnote
/home/wangyi/.emacs.d/elpa/org-20131028/ob-plantuml hides /usr/share/e= macs/24.3/lisp/org/ob-plantuml
/home/wangyi/.emacs.d/elpa/org-201= 31028/ob-css hides /usr/share/emacs/24.3/lisp/org/ob-css
/home/wa= ngyi/.emacs.d/elpa/org-20131028/org-loaddefs hides /usr/share/emacs/24.3/li= sp/org/org-loaddefs
/home/wangyi/.emacs.d/elpa/org-20131028/ob-exp hides /usr/share/emacs/= 24.3/lisp/org/ob-exp
/home/wangyi/.emacs.d/elpa/org-20131028/org-= protocol hides /usr/share/emacs/24.3/lisp/org/org-protocol
/home/= wangyi/.emacs.d/elpa/org-20131028/org-irc hides /usr/share/emacs/24.3/lisp/= org/org-irc
/home/wangyi/.emacs.d/elpa/org-20131028/ob-octave hides /usr/share/ema= cs/24.3/lisp/org/ob-octave
/home/wangyi/.emacs.d/elpa/org-2013102= 8/org-mhe hides /usr/share/emacs/24.3/lisp/org/org-mhe
/home/wang= yi/.emacs.d/elpa/org-20131028/ob-screen hides /usr/share/emacs/24.3/lisp/or= g/ob-screen
/home/wangyi/.emacs.d/elpa/org-20131028/ob-python hides /usr/share/ema= cs/24.3/lisp/org/ob-python
/home/wangyi/.emacs.d/elpa/org-2013102= 8/ob-clojure hides /usr/share/emacs/24.3/lisp/org/ob-clojure
/home/wangyi/.emacs.d/elpa/org-20131028/org-capture hides /usr/share/emacs/= 24.3/lisp/org/org-capture
/home/wangyi/.emacs.d/elpa/org-20131028= /ob-shen hides /usr/share/emacs/24.3/lisp/org/ob-shen
/home/wangy= i/.emacs.d/elpa/org-20131028/ob-io hides /usr/share/emacs/24.3/lisp/org/ob-= io
/home/wangyi/.emacs.d/elpa/org-20131028/org-gnus hides /usr/share/emac= s/24.3/lisp/org/org-gnus
/home/wangyi/.emacs.d/elpa/org-20131028/= ob-lilypond hides /usr/share/emacs/24.3/lisp/org/ob-lilypond
/home/wangyi/.emacs.d/elpa/org-20131028/org-mouse hides /usr/share/emacs/24= .3/lisp/org/org-mouse
/home/wangyi/.emacs.d/elpa/org-20131028/org= -eshell hides /usr/share/emacs/24.3/lisp/org/org-eshell
/home/wan= gyi/.emacs.d/elpa/org-20131028/ob-fortran hides /usr/share/emacs/24.3/lisp/= org/ob-fortran
/home/wangyi/.emacs.d/elpa/org-20131028/ob-latex hides /usr/share/emac= s/24.3/lisp/org/ob-latex
/home/wangyi/.emacs.d/elpa/org-20131028/= ob-ledger hides /usr/share/emacs/24.3/lisp/org/ob-ledger
/home/wa= ngyi/.emacs.d/elpa/org-20131028/org-docview hides /usr/share/emacs/24.3/lis= p/org/org-docview
/home/wangyi/.emacs.d/elpa/org-20131028/ob-maxima hides /usr/share/ema= cs/24.3/lisp/org/ob-maxima
/home/wangyi/.emacs.d/elpa/org-2013102= 8/ob-lisp hides /usr/share/emacs/24.3/lisp/org/ob-lisp
/home/wang= yi/.emacs.d/elpa/org-20131028/org-timer hides /usr/share/emacs/24.3/lisp/or= g/org-timer
/home/wangyi/.emacs.d/elpa/org-20131028/ob-java hides /usr/share/emacs= /24.3/lisp/org/ob-java
/home/wangyi/.emacs.d/elpa/org-20131028/or= g-id hides /usr/share/emacs/24.3/lisp/org/org-id
/home/wangyi/.em= acs.d/elpa/org-20131028/org-bbdb hides /usr/share/emacs/24.3/lisp/org/org-b= bdb
/home/wangyi/.emacs.d/elpa/org-20131028/ob-table hides /usr/share/emac= s/24.3/lisp/org/ob-table
/home/wangyi/.emacs.d/elpa/org-20131028/= ob-awk hides /usr/share/emacs/24.3/lisp/org/ob-awk
/home/wangyi/.= emacs.d/elpa/org-20131028/ob-eval hides /usr/share/emacs/24.3/lisp/org/ob-e= val
/home/wangyi/.emacs.d/elpa/org-20131028/ob-haskell hides /usr/share/em= acs/24.3/lisp/org/ob-haskell
/home/wangyi/.emacs.d/elpa/org-20131= 028/org-inlinetask hides /usr/share/emacs/24.3/lisp/org/org-inlinetask
/home/wangyi/.emacs.d/elpa/org-20131028/ob-keys hides /usr/share/emacs= /24.3/lisp/org/ob-keys

Features:
(shadow= sort mail-extr emacsbug message idna cl-macs gv rfc822 mml
mml-s= ec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
=
mail-prsvr mail-utils thingatpt flyspell ispell image-file org-element=
org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docvie= w
org-bibtex bibtex org-bbdb org-w3m org byte-opt warnings bytecomp
byte-compile cconv org-macro org-footnote org-pcomplete pcomplete
org-list org-faces org-entities noutline outline easy-mmode org-vers= ion
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-e= xp
ob-comint comint ansi-color ring ob-core ob-eval org-compat or= g-macs
org-loaddefs format-spec find-func cal-menu calendar cal-l= oaddefs server
wy-txt wy-tex derived wy-appearance wy-org wy-keys wy-settings time-da= te
paren edit-server yasnippet advice help-fns advice-preload edm= acro
kmacro help-mode cl cl-lib wy-utils edit-server-autoloads
goto-last-change-autoloads org-autoloads info easymenu
yasni= ppet-autoloads package tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow=
timer select scroll-bar mouse jit-lock font-lock syntax facemenu=
font-core frame cham georgian utf-8-lang misc-lang vietnamese ti= betan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format=
env code-pages mule custom widget hashtable-print-readable backq= uote
make-network-process dbusbind dynamic-setting system-font-se= tting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

--047d7b33d526e16cfb04eeffb397-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 02 15:02:05 2014 Received: (at 16327) by debbugs.gnu.org; 2 Jan 2014 20:02:05 +0000 Received: from localhost ([127.0.0.1]:58465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VyoSy-0007IP-So for submit@debbugs.gnu.org; Thu, 02 Jan 2014 15:02:05 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:5708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VyoSv-0007Hx-ST for 16327@debbugs.gnu.org; Thu, 02 Jan 2014 15:02:02 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsr+l6/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFsr+l6/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="43791619" Received: from 108-175-233-122.dsl.teksavvy.com (HELO pastel.home) ([108.175.233.122]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Jan 2014 15:02:00 -0500 Received: by pastel.home (Postfix, from userid 20848) id F035F60083; Thu, 2 Jan 2014 15:02:00 -0500 (EST) From: Stefan Monnier To: Yi Wang Subject: Re: bug#16327: 24.3; Arrow keys not working in virtual terminal after key binding Message-ID: References: Date: Thu, 02 Jan 2014 15:02:00 -0500 In-Reply-To: (Yi Wang's message of "Thu, 2 Jan 2014 16:58:28 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16327 Cc: 16327@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 06 19:25:06 2014 Received: (at control) by debbugs.gnu.org; 7 Jan 2014 00:25:06 +0000 Received: from localhost ([127.0.0.1]:39608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0KTh-0001V8-GF for submit@debbugs.gnu.org; Mon, 06 Jan 2014 19:25:05 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:46190) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0KTe-0001Uz-W5 for control@debbugs.gnu.org; Mon, 06 Jan 2014 19:25:03 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1W0KTe-0007JZ-I8 for control@debbugs.gnu.org; Mon, 06 Jan 2014 19:25:02 -0500 Date: Mon, 06 Jan 2014 19:25:02 -0500 Message-Id: Subject: control message for bug 16327 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) tag 16327 notabug close 16327 From unknown Mon Aug 18 11:14:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Feb 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator