gnu.emacs.bug
[Top] [All Lists]

bug#1721: marked as done (23.0.60; visual-line-mode under terminal (-nw

Subject: bug#1721: marked as done 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
From: Emacs bug Tracking System
Date: Sun, 04 Jan 2009 08:50:03 +0000
Newsgroups: gnu.emacs.bug
Your message dated Sun, 04 Jan 2009 03:41:39 -0500
with message-id <87vdsvbgzg.fsf@xxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxxxxx
immediately.)


-- 
1721: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1721
Emacs Bug Tracking System
Contact owner@xxxxxxxxxxxxxxxxxxxxxxxxxx with problems
--- Begin Message ---
Subject: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
From: poppyer
Date: Sun, 28 Dec 2008 22:25:13 +0800
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




--- End Message ---
--- Begin Message ---
Subject: Re: 23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working
From: Chong Yidong
Date: Sun, 04 Jan 2009 03:41:39 -0500
poppyer <poppyer@xxxxxxxxx> 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).


--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • bug#1721: marked as done (23.0.60; visual-line-mode under terminal (-nw) makes arrow keys not working), Emacs bug Tracking System <=