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


Message #26 received at 9607 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 9607 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,
	David Lawless <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: Tue, 27 Sep 2011 00:01:50 -0400
Present in 23.2 to 24.0.90 inclusive. Recipe:

emacs -Q --eval '(setq auto-hscroll-mode nil)'

Evaluate:
(dotimes (j 5)
  (insert "\n")
  (dotimes (i 10)
    (insert "0123456890 ")))

Put point at start of first line of digits.
M-x scroll-left RET y
;; Window now scrolled to right-hand end of lines
Down arrow  ; first time is ok
Down arrow
  -> second time window scrolls back to left-hand end of line


(setq line-move-visual nil)

avoids the problem.

I guess it's related to the 2009-07 changes to line-move-visual for hscroll.




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.