bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29002: it.first_visible_x is erroneously 0 while horizontal scrollin


From: Keith David Bershatsky
Subject: bug#29002: it.first_visible_x is erroneously 0 while horizontal scrolling.
Date: Mon, 30 Oct 2017 12:36:38 -0700

Yes, "M-x" immediately cancels the hscroll of non-current lines when called 
after moving the cursor.

Thank you for explaining how the second optional argument in scroll-right/left 
can be used to obtain a permanent hscroll.  :)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

DATE:  [10-30-2017 11:02:27] <30 Oct 2017 20:02:27 +0200>
FROM:  Eli Zaretskii <eliz@gnu.org>
> 
> > Date:  Sun, 29 Oct 2017 13:12:15 -0700
> > From:  Keith David Bershatsky <esq@lawlist.com>
> > Cc:  29002@debbugs.gnu.org
> > 
> > It appears to me that (scroll-right 1) is kind of a temporary form of 
> > horizontal scrolling, which automatically cancels as to non-current lines 
> > in a vareity of situations when keyboard input is received.  Plain old 
> > scroll-right without the optional distance argument is semi-permanent, and 
> > non-current lines do not automatically return to a non-scrolled state.
> 
> Yes, it's temporary.  For a permanent hscroll, you need to invoke
> scroll-left/right with its second argument non-nil (which happens
> automatically in interactive invocation).
> 
> Does the hscroll get reset after moving cursor if you type "M-x"?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]