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

Previous Next

Package: emacs;

Reported by: David Lawless <david_lawless <at> flumedata.com>

Date: Mon, 26 Sep 2011 21:24:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#9607: closed (incorrect behavior with "automatic-hscroll-mode
 nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1)
Date: Thu, 29 Sep 2011 13:08:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 29 Sep 2011 16:06:13 +0300
with message-id <83oby3ebwa.fsf <at> gnu.org>
and subject line Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in	ncurses/vt220 text operation; wrong in 23 but ok in 22.1
has caused the debbugs.gnu.org bug report #9607,
regarding incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
9607: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9607
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Lawless <david_lawless <at> flumedata.com>
To: bug-gnu-emacs <at> gnu.org
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


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: rgm <at> gnu.org, 9607-done <at> debbugs.gnu.org, david_lawless <at> flumedata.com
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 <eliz <at> gnu.org>
> Cc: 9607 <at> debbugs.gnu.org, david_lawless <at> flumedata.com
> 
> 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.


This bug report was last modified 13 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.