[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrollbars ?
From: |
Kim F. Storm |
Subject: |
Re: Scrollbars ? |
Date: |
Tue, 30 May 2006 14:04:22 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> address@hidden (Michaël Cadilhac) writes:
>
>> I use a recent (3 days old) Emacs and have a very weird behavior
>> with scrollbars. As I don't use them normally, I don't know since
>> when it happens.
>>
>> $ emacs -Q with an X interface.
>> I then add enough newlines to make the scrollbars useful.
>>
>> Then I type some letters, like zzzzzzzzzzzzzzzzzzzzzzzzz ; the
>> scrollbars then got bigger, and bigger. If I scroll down using my
>> mouse and those scrollbars, they return in a normal height ; but if
>> I type another character, the scrollbar then switch back to big
>> ones.
>>
>> I don't think it's the intended behavior.
>
> Is this not considered as a bug? I don't have any experience with
> scrollbars, so I don't know.
Emacs adjusts the size of the scroll bar handle to reflect the
percentage of the buffer text which is visible in the current window.
The calculation is based on number of characters rather than lines, so
the handle changes size quite dramatically as you scroll if you have a
mixture of lots of empty lines and long lines.
It's a rather uncommon way to do this, but that's how it's always been.
--
Kim F. Storm <address@hidden> http://www.cua.dk