From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?b?IkrpcvRtZQ==?=.Bouat@wanadoo.fr, " "@wanadoo.fr Newsgroups: gmane.emacs.bugs Subject: Re: [feature request] smooth scrolling (continuing) Date: Tue, 25 Feb 2003 17:39:40 +0100 Organization: Wanadoo, l'internet avec France Telecom Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1046191556 11812 80.91.224.249 (25 Feb 2003 16:45:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2003 16:45:56 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18niDK-00034K-00 for ; Tue, 25 Feb 2003 17:45:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18niD5-00077i-00 for gnu-bug-gnu-emacs@m.gmane.org; Tue, 25 Feb 2003 11:45:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18niBf-0006bQ-00 for bug-gnu-emacs@prep.ai.mit.edu; Tue, 25 Feb 2003 11:44:11 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18niBd-0006aZ-00 for bug-gnu-emacs@prep.ai.mit.edu; Tue, 25 Feb 2003 11:44:10 -0500 Original-Received: from horus.isnic.is ([193.4.58.12]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ni8U-0005tN-00 for bug-gnu-emacs@prep.ai.mit.edu; Tue, 25 Feb 2003 11:41:18 -0500 Original-Received: from mel-rti19.wanadoo.fr (mel-rti19.wanadoo.fr [193.252.19.44]) by horus.isnic.is (8.12.3/8.12.3/isnic) with ESMTP id h1PGejtJ008512 for ; Tue, 25 Feb 2003 16:40:46 GMT (envelope-from news@wanadoo.fr) Original-Received: from adm-rt1 (193.252.21.63) by mel-rti19.wanadoo.fr (6.7.015) id 3E413D21026DBE16 for gnu-emacs-bug@moderators.isc.org; Tue, 25 Feb 2003 17:40:40 +0100 Original-Received: from news-reader12.wanadoo.fr (news-reader12.wanadoo.fr [193.252.19.51]) by adm-rt1 (Postfix) with ESMTP id DA2601FF0A for ; Tue, 25 Feb 2003 17:40:39 +0100 (MET) Original-Received: (from news@localhost) by news-reader12.wanadoo.fr (8.11.6+Sun/8.9.3) id h1PGedP12590 for gnu-emacs-bug@moderators.isc.org; Tue, 25 Feb 2003 17:40:39 +0100 (MET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 52 Original-NNTP-Posting-Host: agrenoble-101-1-5-150.abo.wanadoo.fr Original-X-Trace: news-reader12.wanadoo.fr 1046191239 11109 80.11.136.150 (25 Feb 2003 16:40:39 GMT) Original-X-Complaints-To: abuse@wanadoo.fr Original-NNTP-Posting-Date: 25 Feb 2003 16:40:39 GMT Original-To: dak@gnu.org User-Agent: Pan/0.13.3.93 (My Bloody Valentine) X-MIME-Autoconverted: from 8bit to quoted-printable by horus.isnic.is id h1PGejtJ008512 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4516 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4516 Le Tue, 25 Feb 2003 02:16:12 +0100, =3D?iso-8859-1?b?IkrpcvRtZQ=3D=3D?=3D= .Boua a =E9crit=A0: > Le Sun, 23 Feb 2003 22:48:58 +0100, David Kastrup a =E9crit=A0: >=20 >> "D. Goel" writes: >>=20 >>> J=E9r=F4me Bouat writes: >>> >=20 >>> > If it has to be properly implemented >>>=20 >>>=20 >>> Indeed, emacs does not allow scrolling by less than one line, AFAIU. >>>=20 >>> viz. there is always a complete full line visible at the end or botto= m >>> of a screen. (Would be neat when emacs overcomes that >>> restriction..) :) >>=20 >> ***Poof*** >>=20 >> Your wish has been granted. >>=20 >> You may now try C-h f set-window-vscroll RET in order to understand >> what >> (set-window-vscroll nil 0.5) may achieve. >=20 > 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. >=20 > 1 stroke > =3D> 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.