* Re: [Bug: 21.4.19] smooth vscroll-{up,down} [not found] ` <87vedqcr8t.fsf@uwakimon.sk.tsukuba.ac.jp> @ 2007-06-16 9:49 ` Jérôme Bouat 2007-06-16 11:27 ` Stephen J. Turnbull 2007-06-16 13:03 ` David Kastrup 0 siblings, 2 replies; 4+ messages in thread From: Jérôme Bouat @ 2007-06-16 9:49 UTC (permalink / raw) To: XEmacs Beta, bug-gnu-emacs; +Cc: Stephen J. Turnbull 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)) On Fri, 2007-06-15 at 03:42 +0900, Stephen J. Turnbull wrote: > Jérôme Bouat writes: > > > Could you add an option for smooth scrolling > > Refactoring window configuration and redisplay to be more friendly to > pixel-based scrolling has been discussed, but AFAIK nobody is actively > working on it, and AFAIK it's not currently possible in any version of > XEmacs. Contributions welcome. > > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bug: 21.4.19] smooth vscroll-{up,down} 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 1 sibling, 1 reply; 4+ messages in thread From: Stephen J. Turnbull @ 2007-06-16 11:27 UTC (permalink / raw) To: Jérôme Bouat; +Cc: bug-gnu-emacs, XEmacs Beta Jérôme Bouat 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)) `set-window-vscroll' is an Emacs function not present in XEmacs. Nor is there equivalent functionality as far as I know. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bug: 21.4.19] smooth vscroll-{up,down} 2007-06-16 11:27 ` Stephen J. Turnbull @ 2007-06-16 12:23 ` Johan Bockgård 0 siblings, 0 replies; 4+ messages in thread From: Johan Bockgård @ 2007-06-16 12:23 UTC (permalink / raw) To: bug-gnu-emacs > > (dotimes (i 10) (set-window-vscroll nil (* i 0.1)) (sit-for 0.05)) Great, that hung my Emacs. A recipe: emacs -Q -eval '(progn (setq scroll-conservatively 1) (set-window-vscroll nil 1))' -- Johan Bockgård ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bug: 21.4.19] smooth vscroll-{up,down} 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 13:03 ` David Kastrup 1 sibling, 0 replies; 4+ messages in thread From: David Kastrup @ 2007-06-16 13:03 UTC (permalink / raw) To: bug-gnu-emacs; +Cc: xemacs-beta 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-16 13:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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
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.