* bug#9607:
[not found] <201109262119.p8QLJ5eU004406@siobhan.>
@ 2011-09-26 21:36 ` David Lawless
2011-09-27 0:33 ` bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Glenn Morris
2011-09-27 3:10 ` bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23.2 but ok in 23.1 David Lawless
2 siblings, 0 replies; 9+ messages in thread
From: David Lawless @ 2011-09-26 21:36 UTC (permalink / raw)
To: 9607
see that in 22.1 the .emacs file setting is
(setq automatic-hscrolling nil)
instead of
(setq automatic-hscroll-mode nil)
This does not change that the behavior is broken
in version 23 and works ok in 21.1.
Would venture to guess that it stopped
working correctly at the time the code was
modified to effect the above variable name
change.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
[not found] <201109262119.p8QLJ5eU004406@siobhan.>
2011-09-26 21:36 ` bug#9607: David Lawless
@ 2011-09-27 0:33 ` Glenn Morris
2011-09-27 0:47 ` David Lawless
2011-09-27 3:10 ` bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23.2 but ok in 23.1 David Lawless
2 siblings, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2011-09-27 0:33 UTC (permalink / raw)
To: David Lawless; +Cc: 9607
David Lawless wrote:
> have "(setq automatic-hscroll-mode nil)" in .emacs file
Did you mean `auto-hscroll-mode'?
There is no `automatic-hscroll-mode' in Emacs.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
2011-09-27 0:33 ` bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Glenn Morris
@ 2011-09-27 0:47 ` David Lawless
2011-09-27 2:29 ` Stefan Monnier
0 siblings, 1 reply; 9+ messages in thread
From: David Lawless @ 2011-09-27 0:47 UTC (permalink / raw)
To: Glenn Morris; +Cc: 9607
Yes, miskeyed it. Emacs didn't spit at it when
it was in .emacs so I did have it right at the
time. 23 is gone so typed that from inaccurate
recollection.
At 08:33 PM 9/26/2011 -0400, Glenn Morris wrote:
>David Lawless wrote:
>
>> have "(setq automatic-hscroll-mode nil)" in .emacs file
>
>Did you mean `auto-hscroll-mode'?
>There is no `automatic-hscroll-mode' in Emacs.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
2011-09-27 0:47 ` David Lawless
@ 2011-09-27 2:29 ` Stefan Monnier
2011-09-27 2:43 ` bug#9607: incorrect behavior with "auto-hscroll-mode " David Lawless
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2011-09-27 2:29 UTC (permalink / raw)
To: David Lawless; +Cc: 9607
> Yes, miskeyed it. Emacs didn't spit at it when
> it was in .emacs so I did have it right at the
> time.
Emacs wouldn't spit at (setq foo-bar-baz nil) either. It only complains
if the variable does exist and is read-only.
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
2011-09-27 2:29 ` Stefan Monnier
@ 2011-09-27 2:43 ` David Lawless
2011-09-27 4:01 ` Glenn Morris
0 siblings, 1 reply; 9+ messages in thread
From: David Lawless @ 2011-09-27 2:43 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 9607
Well in any case I've got it right.
Just bisected the bug and it first appears
in 23.2. 23.1 is ok. Left the old name
in place during bisection and let emacs
apply the alias.
Definitely broken starting in 23.2.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
2011-09-27 2:43 ` bug#9607: incorrect behavior with "auto-hscroll-mode " David Lawless
@ 2011-09-27 4:01 ` Glenn Morris
2011-09-27 6:07 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Glenn Morris @ 2011-09-27 4:01 UTC (permalink / raw)
To: 9607; +Cc: David Lawless
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
2011-09-27 4:01 ` Glenn Morris
@ 2011-09-27 6:07 ` Eli Zaretskii
2011-09-29 13:06 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2011-09-27 6:07 UTC (permalink / raw)
To: Glenn Morris; +Cc: 9607, david_lawless
> From: Glenn Morris <rgm@gnu.org>
> Date: Tue, 27 Sep 2011 00:01:50 -0400
> Cc: David Lawless <david_lawless@flumedata.com>
>
> 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.
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?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
2011-09-27 6:07 ` Eli Zaretskii
@ 2011-09-29 13:06 ` Eli Zaretskii
0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2011-09-29 13:06 UTC (permalink / raw)
To: rgm, 9607-done, david_lawless
> Date: Tue, 27 Sep 2011 02:07:20 -0400
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 9607@debbugs.gnu.org, david_lawless@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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23.2 but ok in 23.1
[not found] <201109262119.p8QLJ5eU004406@siobhan.>
2011-09-26 21:36 ` bug#9607: David Lawless
2011-09-27 0:33 ` bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Glenn Morris
@ 2011-09-27 3:10 ` David Lawless
2 siblings, 0 replies; 9+ messages in thread
From: David Lawless @ 2011-09-27 3:10 UTC (permalink / raw)
To: 9607, Stefan Monnier, Glenn Morris
Also just reproduced the bug by running
emacs in vanilla mode with 'emacs -q' to
inhibit loading .emacs. Typed commands
and mode settings manually.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-09-29 13:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201109262119.p8QLJ5eU004406@siobhan.>
2011-09-26 21:36 ` bug#9607: David Lawless
2011-09-27 0:33 ` bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Glenn Morris
2011-09-27 0:47 ` David Lawless
2011-09-27 2:29 ` Stefan Monnier
2011-09-27 2:43 ` bug#9607: incorrect behavior with "auto-hscroll-mode " David Lawless
2011-09-27 4:01 ` Glenn Morris
2011-09-27 6:07 ` Eli Zaretskii
2011-09-29 13:06 ` Eli Zaretskii
2011-09-27 3:10 ` bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23.2 but ok in 23.1 David Lawless
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.