From: David Kastrup <dak@gnu.org>
To: bug-gnu-emacs@gnu.org
Cc: xemacs-beta@xemacs.org
Subject: Re: [Bug: 21.4.19] smooth vscroll-{up,down}
Date: Sat, 16 Jun 2007 15:03:52 +0200 [thread overview]
Message-ID: <85ejkcnj9j.fsf@lola.goethe.zz> (raw)
In-Reply-To: 1181987357.6646.6.camel@localhost
Jérôme Bouat <jerome.bouat@wanadoo.fr> writes:
> But emacs can move smoothly the window,
> it is simply not mapped in 'next-line' function.
> For the expected result, make emacs evaluate:
> (dotimes (i 10) (set-window-vscroll nil (* i 0.1)) (sit-for 0.05))
It must be noted that while this Emacs (not XEmacs) code somewhat
works, it is not integrated with the display engine in a manner that
will cause sane and smooth recentering and cursor movement behavior.
Also, true smooth scrolling works by whole pixel amounts, not "line
fractions", and the scrolling happens at vertical retrace time for
best effect.
The complex display engine of Emacs (can't vouch for XEmacs) is not
all too well suited for this sort of pixel-based action. If it were,
scrollbars would behave "more naturally" already.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
prev parent reply other threads:[~2007-06-16 13:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <15063121.355331181741569073.JavaMail.www@wwinf1617>
[not found] ` <87vedqcr8t.fsf@uwakimon.sk.tsukuba.ac.jp>
2007-06-16 9:49 ` [Bug: 21.4.19] smooth vscroll-{up,down} Jérôme Bouat
2007-06-16 11:27 ` Stephen J. Turnbull
2007-06-16 12:23 ` Johan Bockgård
2007-06-16 13:03 ` David Kastrup [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85ejkcnj9j.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=xemacs-beta@xemacs.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.