GNU bug report logs - #16475
24.3.50; enhancement request: remove vertical scroll bar automatically when not needed

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 17 Jan 2014 04:43:01 UTC

Severity: wishlist

Found in version 24.3.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 16475 <at> debbugs.gnu.org, rudalics <at> gmx.at
Subject: Re: bug#16475: enhancement request: remove vertical scroll bar
 automatically when not needed
Date: Thu, 26 Oct 2017 19:30:17 +0300
> Date:  Wed, 25 Oct 2017 15:25:40 -0700
> From:  Keith David Bershatsky <esq <at> lawlist.com>
> Cc:  16475 <at> debbugs.gnu.org
> 
> Scroll bars are not immediately removed, however, when `window_contents_visible_p` is true and this-command is a keyboard stroke.

Most probably because some redisplay optimization bypasses your code.

> Any ideas on how to immediately remove scroll bars from the target window when `window_contents_visible_p` is true?  [I have chosen the end of `redisplay_window` to perform the test because window start/end *should be* accurate at that location of the code.]

Like I said: I think the way this works will cause annoying visual
effects, so I propose to call set-window-scroll-bars from keyboard.c,
before we enter redisplay.




This bug report was last modified 7 years and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.