unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1721: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
@ 2008-12-28 14:25 ` poppyer
  2009-01-04  8:50   ` bug#1721: marked as done (23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: poppyer @ 2008-12-28 14:25 UTC (permalink / raw)
  To: emacs-pretest-bug


Under terminal (emacs -nw), the visual-line-mode maps the arrow key wrongly.
<up> -> A M-[
<down> -> B M-]
<left> -> D
<right> -> C
and it also maps the mouse-key of xterm-mouse-mode wrongly.


turn the visual-line-mode off will back everything to normal.



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2008-12-25 on neutron.local
Windowing system distributor `Apple', version 97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.51.53
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  recentf-mode: t
  which-function-mode: t
  show-paren-mode: t
  mouse-sel-mode: t
  global-hl-line-mode: t
  pinbar-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-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:
[ C ESC [ C ESC [ C ESC [ D ESC [ D ESC [ D ESC [ D 
ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D s RET 
C-x k ESC x r e TAB C-p ESC p RET ESC p ESC p ESC p 
ESC p ESC p ESC k v i s u a l - l i n e - m o d e SPC 
u n d e r SPC t e r m i n a l SPC ( - n w 0 DEL ) SPC 
m a k e s SPC a r r o w SPC k e y s SPC n o t SPC w 
o r k i n g C-a C-@ C-e ESC w C-e RET C-x k ESC x ESC 
p RET SPC RET C-x k C-h C-g C-x C-f ESC p C-g ESC x 
v i s u TAB C-g C-x C-f ESC p RET C-s v i s u a l C-e 
ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D ESC 
[ D C-h f C-g ESC [ C DEL C-h f C-a C-g s C-a ESC [ 
C ESC [ C ESC [ C ESC [ C ESC DEL r e m o v e C-e C-x 
C-e C-a ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC 
[ C ESC [ C ESC DEL a d d C-e ESC [ D ESC [ D ESC [ 
D ESC [ D ESC [ D ESC [ D DEL C-a C-e C-n C-p C-x C-e 
C-a C-x C-s C-x k C-x C-f C-g ESC x ESC p RET







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1721: marked as done (23.0.60; visual-line-mode under  terminal (-nw) makes arrow keys not working)
  2008-12-28 14:25 ` bug#1721: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working poppyer
@ 2009-01-04  8:50   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-01-04  8:50 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]


Your message dated Sun, 04 Jan 2009 03:41:39 -0500
with message-id <87vdsvbgzg.fsf@cyd.mit.edu>
and subject line Re: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
has caused the Emacs bug report #1721,
regarding 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1721: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1721
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5184 bytes --]

From: poppyer <poppyer@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
Date: Sun, 28 Dec 2008 22:25:13 +0800
Message-ID: <p7fxk8peba.fsf@nusnet-97-126.dynip.nus.edu.sg>


Under terminal (emacs -nw), the visual-line-mode maps the arrow key wrongly.
<up> -> A M-[
<down> -> B M-]
<left> -> D
<right> -> C
and it also maps the mouse-key of xterm-mouse-mode wrongly.


turn the visual-line-mode off will back everything to normal.



In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2008-12-25 on neutron.local
Windowing system distributor `Apple', version 97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.51.53
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  recentf-mode: t
  which-function-mode: t
  show-paren-mode: t
  mouse-sel-mode: t
  global-hl-line-mode: t
  pinbar-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-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:
[ C ESC [ C ESC [ C ESC [ D ESC [ D ESC [ D ESC [ D 
ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D s RET 
C-x k ESC x r e TAB C-p ESC p RET ESC p ESC p ESC p 
ESC p ESC p ESC k v i s u a l - l i n e - m o d e SPC 
u n d e r SPC t e r m i n a l SPC ( - n w 0 DEL ) SPC 
m a k e s SPC a r r o w SPC k e y s SPC n o t SPC w 
o r k i n g C-a C-@ C-e ESC w C-e RET C-x k ESC x ESC 
p RET SPC RET C-x k C-h C-g C-x C-f ESC p C-g ESC x 
v i s u TAB C-g C-x C-f ESC p RET C-s v i s u a l C-e 
ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D ESC [ D ESC 
[ D C-h f C-g ESC [ C DEL C-h f C-a C-g s C-a ESC [ 
C ESC [ C ESC [ C ESC [ C ESC DEL r e m o v e C-e C-x 
C-e C-a ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC 
[ C ESC [ C ESC DEL a d d C-e ESC [ D ESC [ D ESC [ 
D ESC [ D ESC [ D ESC [ D DEL C-a C-e C-n C-p C-x C-e 
C-a C-x C-s C-x k C-x C-f C-g ESC x ESC p RET




[-- Attachment #3: Type: message/rfc822, Size: 1770 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: poppyer <poppyer@gmail.com>
Cc: 1721-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
Date: Sun, 04 Jan 2009 03:41:39 -0500
Message-ID: <87vdsvbgzg.fsf@cyd.mit.edu>

poppyer <poppyer@gmail.com> writes:

> I think I have got the idea. It is because visual-line-mode maps "M-["
> to previous-logical-line as in simple.el

I see.  I've removed those keybindings from visual-line-mode-map.

I can't think of any replacement bindings OTOH, but it's probably not
very important; we can leave it to the user to rebind if he or she finds
these commands useful (I personally don't).


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-04  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87vdsvbgzg.fsf@cyd.mit.edu>
2008-12-28 14:25 ` bug#1721: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working poppyer
2009-01-04  8:50   ` bug#1721: marked as done (23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).