emacs-devel
[Top][All Lists]
Advanced

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

Re: scrollbar alternative


From: David Engster
Subject: Re: scrollbar alternative
Date: Mon, 15 Mar 2010 21:18:32 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux)

Leo <address@hidden> writes:
> On 2010-03-15 17:28 +0000, David Engster wrote:
>> To me, the GTK scrollbars always behaved a bit strange in this regard,
>> anyway. For example, I think scrollbars should be hidden when there is
>> nothing to scroll, this way giving you an immediate optical hint that
>> you're currently seeing everything there is. But in Emacs, you can
>> always scroll the window until (window-start) reaches (point-max).
>>
>> Therefore, I also disabled the scrollbar and now use some code to get a
>> scrollbar-like display in the mode-line. I know there's
>> size-indication-mode, but I find an information like "13% of 2.8k" not
>> very helpful.
>
> Does your code just show the percentage in a fancy face?
>
> I turned off scrollbar too and use fringe arrows and percentage on the
> modeline. I tried your code but didn't notice any difference.

It displays the percentage and displays a moving bar, just like a
scrollbar, but you can't drag it. It should look something like this:

Attachment: scroll-mode-line.jpg
Description: JPEG image

-David

reply via email to

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