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

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

Re: vertical scroll bar should disappear if everything is displayed


From: Stefan Monnier
Subject: Re: vertical scroll bar should disappear if everything is displayed
Date: Sun, 16 Jul 2006 08:28:00 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>     On most applications, scroll bars appear only when there is text to
>     scroll - that is, they appear only when needed. Emacs should behave
>     normally in this regard.

> This would be very hard to implement;

Actually, I suspect that it can be done with a fairly simple
post-command-hook (well, maybe it won't be reliable in the face of output
from filters, but in the absence of a post-redisplay-hook, we'll have to
make do).
I'm not sure it's desirable, tho.  But if someone wants to make a minor mode
for it, more power to him.

> and the changes in window width could be quite annoying to Lisp programs.

And to the user, especially with the scrollbar on the left, which causes the
whole buffer to be shifted when adding/removing the scrollbar.


        Stefan




reply via email to

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