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: Eli Zaretskii
Subject: bug#29002: it.first_visible_x is erroneously 0 while horizontal scrolling.
Date: Sun, 05 Nov 2017 20:12:26 +0200

> Date:  Sun, 05 Nov 2017 08:59:47 -0800
> From:  Keith David Bershatsky <address@hidden>
> Cc:  address@hidden
> 
> Step # 1:  Download a fresh copy of the emacs-26 branch.
> 
> Step # 2:  Inside the function `set_window_hscroll` within window.c, add a 
> message just before the function returns.
> 
> AUTO_STRING (my_string_one, "window.c:  set_window_hscroll");
> CALLN (Fmessage, my_string_one);
> 
> Step # 3:  Build the new Emacs, and launch without any user configuration.
> 
> Step # 4:  From the Welcome screen, type:  C-r
> 
> Step # 5:  Slowly type the word Emacs and watch the echo area as you type 
> each letter.
> 
> Inasmuch as the function `set_window_hscroll` is being called each time we 
> type a letter, the proposed fix to #29002 causes a thorough redisplay after 
> every keystroke while using isearch.  This is probably not limited to isearch 
> -- it was just the first occasion where the side affect was immediately 
> noticeable.

OK, I made thorough redisplay happen in fewer situations.





reply via email to

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