unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: =?iso-8859-1?b?IkrpcvRtZQ==?=.Bouat@wanadoo.fr, " <jerome.bouat@wanadoo.fr>"@wanadoo.fr
Subject: Re: [feature request] smooth scrolling (continuing)
Date: Tue, 25 Feb 2003 17:39:40 +0100	[thread overview]
Message-ID: <pan.2003.02.25.16.39.38.993462@wanadoo.fr> (raw)
In-Reply-To: mailman.2355.1046135871.21513.bug-gnu-emacs@gnu.org

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.

      parent reply	other threads:[~2003-02-25 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2129.1045652354.21513.bug-gnu-emacs@gnu.org>
2003-02-23 21:25 ` [feature request] smooth scrolling (continuing) D. Goel
     [not found] ` <mailman.2288.1046035747.21513.bug-gnu-emacs@gnu.org>
2003-02-23 21:48   ` David Kastrup
     [not found]   ` <mailman.2291.1046036951.21513.bug-gnu-emacs@gnu.org>
2003-02-24 13:24     ` D. Goel
2003-02-25  1:16     ` =?iso-8859-1?b?IkrpcvRtZQ==?=.Bouat,  <jerome.bouat@wanadoo.fr>
     [not found]     ` <mailman.2355.1046135871.21513.bug-gnu-emacs@gnu.org>
2003-02-25 16:39       ` =?iso-8859-1?b?IkrpcvRtZQ==?=.Bouat,  <jerome.bouat@wanadoo.fr> [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2003.02.25.16.39.38.993462@wanadoo.fr \
    --to==?iso-8859-1?b?ikrpcvrtzq==?=.bouat@wanadoo.fr \
    --cc=" <jerome.bouat@wanadoo.fr>"@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).