--- Begin Message ---
Subject: |
incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 |
Date: |
Mon, 26 Sep 2011 17:19:05 -0400 |
have "(setq automatic-hscroll-mode nil)" in .emacs file
edit wide output of file copied from /proc/interrupts
(machine has 12 cores)
place cursor at around column 12, then scroll out
to left view with "scroll-left" so ends-of-lines
appear in middle of windows, then from mapped
key issue "next-line" twice
first time it behaves correctly, second time
display scrolls horizontally so cursor is visible,
which it should not do
was upgrading from 20.5a to 23.3a when noticed
this; went back to 22.1 and it works ok
In GNU Emacs 22.1.1 (x86_64-unknown-linux-gnu)
of 2011-09-26 on siobhan
configured using `configure '--without-x''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
file-name-shadow-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
ESC x TAB C-g ESC x r e p TAB o TAB DEL o t TAB DEL
r TAB C-j
Recent messages:
("emacs")
Loading hi-lock...done
Loading cc-mode...done
Loading make-mode...done
Making completion list...
Loading help-mode...done
Quit [2 times]
Making completion list... [2 times]
Loading emacsbug...done
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 |
Date: |
Thu, 29 Sep 2011 16:06:13 +0300 |
> Date: Tue, 27 Sep 2011 02:07:20 -0400
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
>
> The problem is that line-move-visual assumes that the move begins with
> cursor positioned at point, which is false when auto-hscroll-mode is
> turned off and point is scrolled out of view.
>
> Before I dive into this mess (again), do we even want to support
> auto-hscroll-mode nil _and_ visual line movement? What if we tell
> line-move to invoke logical line movement instead when
> auto-hscroll-mode is off? Would someone object?
No one objected, so I fixed this in revision 105959 on the trunk by
disabling visual line movement when auto-hscroll-mode is disable and
the window is hscrolled.
--- End Message ---