Subject: bug#9607: closed (Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 29 Sep 2011 13:08:02 +0000

Your bug report

#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9607: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9607
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
From: Eli Zaretskii <[email-masked]>
To: [email-masked], [email-masked], [email-masked]
Date: Thu, 29 Sep 2011 16:06:13 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Tue, 27 Sep 2011 02:07:20 -0400
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked], [email-masked]
> 
> 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.

Subject: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
From: David Lawless <[email-masked]>
To: [email-masked]
Date: Mon, 26 Sep 2011 17:19:05 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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