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

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

Re: [feature request] smooth scrolling (continuing)


From: Jérôaddress@hidden,
Subject: Re: [feature request] smooth scrolling (continuing)
Date: Tue, 25 Feb 2003 17:39:40 +0100
User-agent: Pan/0.13.3.93 (My Bloody Valentine)

Le Tue, 25 Feb 2003 02:16:12 +0100, =?iso-8859-1?b?IkrpcvRtZQ==?=.Boua a
écrit :

> Le Sun, 23 Feb 2003 22:48:58 +0100, David Kastrup a écrit :
> 
>> "D. Goel" <deego@gnufans.org> writes:
>> 
>>> Jérôme Bouat <jerome.bouat@wanadoo.fr> writes:
>>> > 
>>> > If it has to be properly implemented
>>> 
>>> 
>>> Indeed, emacs does not allow scrolling by less than one line, AFAIU.
>>> 
>>> viz. there is always a complete full line visible at the end or bottom
>>> of a screen.  (Would be neat when emacs overcomes that
>>> restriction..)  :)
>> 
>> ***Poof***
>> 
>> Your wish has been granted.
>> 
>> You may now try C-h f set-window-vscroll RET in order to understand
>> what
>> (set-window-vscroll nil 0.5) may achieve.
> 
> I tried it but, sorry,
> I found this is not smooth at all.
> Maybe I have some other settings
> which interfer.
> The window jumps of on line
> instead of moving slowly by the intermediate pixels
> during some milliseconds.
> I mean one key hitting
> and then a automatic smooth scrolling
> which moves the window one pixel at a time
> and stop when the whole line has been scrolled.
> 
> 1 stroke
> => smooth scrolling of the pixels
>    which make 1 line
>    during 300 ms (for example)

In order to see what I expect,
do the following:
1. open a long text file
2. place the cursor at the bottom of the window
3. execute
   (dotimes (i 20) (set-window-vscroll nil (* i 0.05)) (sit-for 0.05))

Now imagine that emacs scroll as shown
each time you strike the 'down' key.




reply via email to

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