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

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

bug#16475: enhancement request: remove vertical scroll bar automatically


From: Keith David Bershatsky
Subject: bug#16475: enhancement request: remove vertical scroll bar automatically when not needed
Date: Thu, 26 Oct 2017 09:03:10 -0700

The values for window-start and window-end will not necessarily be accurate 
until somewhere towards the end of redisplay.  A test that relies upon those 
values to add/remove scroll bars will often fail.

Keith

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

DATE:  [10-26-2017 08:59:02] <26 Oct 2017 18:59:02 +0300>
FROM:  Eli Zaretskii <eliz@gnu.org>
> 
> * * *
> 
> I agree, but then the right place to call this is not from redisplay,
> but from keyboard.c, before it calls read_char (which calls
> redisplay).  set-window-scroll-bars triggers a redisplay cycle, so
> calling it from (the end of) redisplay is not very wise, IMO.





reply via email to

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