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

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

Re: Scrollbars ?


From: Michaël Cadilhac
Subject: Re: Scrollbars ?
Date: Tue, 30 May 2006 14:14:49 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

address@hidden (Kim F. Storm) writes:

> 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.

That's weird and pretty unexpected. What's the rational?

-- 
 |      Michaël `Micha' Cadilhac   |  Pour les 35-40 ans, l'humour          |
 |         Epita/LRDE Promo 2007   |       c'est une plus-value.            |
 | http://www.lrde.org/~cadilh_m   |          -- Guillaume L.               |
 `--  -   JID: address@hidden --'                                   -  --'

Attachment: pgpYwijwTExgr.pgp
Description: PGP signature


reply via email to

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