From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: Re: redisplay code + non-plain-text-only buffers + scroll-conservatively [Re: Bug: ruler-mode breaks scroll-conservatively (HEAD)] Date: Tue, 31 Dec 2002 03:35:57 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <15889.33053.472098.122009@hkn.eecs.berkeley.edu> References: <15887.39112.118522.278925@hkn.eecs.berkeley.edu> <20021231103426.CA1B.LEKTU@terra.es> Reply-To: quarl@quarl.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1041336273 21813 80.91.224.249 (31 Dec 2002 12:04:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2002 12:04:33 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18TL8J-0005fZ-00 for ; Tue, 31 Dec 2002 13:04:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18TL9M-00013O-00 for ; Tue, 31 Dec 2002 13:05:42 +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 18TKiq-0003S6-02 for emacs-devel@quimby.gnus.org; Tue, 31 Dec 2002 06:38:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18TKhU-0002LH-00 for emacs-devel@gnu.org; Tue, 31 Dec 2002 06:36:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18TKhC-0001XP-00 for emacs-devel@gnu.org; Tue, 31 Dec 2002 06:36:31 -0500 Original-Received: from hkn.eecs.berkeley.edu ([128.32.47.228]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TKgw-0000lV-00; Tue, 31 Dec 2002 06:36:14 -0500 Original-Received: from quarl by hkn.eecs.berkeley.edu with local id 18TKgf-0001YB-00; Tue, 31 Dec 2002 03:35:57 -0800 Original-To: Juanma Barranquero In-Reply-To: <20021231103426.CA1B.LEKTU@terra.es> X-Mailer: VM 7.07.q1 under Emacs 21.2.1 X-Attribution: quarl X-Quack-Archive: 1 Original-cc: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10383 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10383 >>>>> "Juanma" == Juanma Barranquero writes: Juanma> On Tue, 31 Dec 2002 00:48:40 -0500, Richard Stallman wrote: >> Does this fix it? >> >> *** xdisp.c.~1.797.~ Sun Dec 22 16:13:49 2002 >> --- xdisp.c Tue Dec 31 00:26:36 2002 Juanma> With this patch, scroll-conservatively works. Juanma> Still, there's a difference between scrolling down a buffer with Juanma> partially visible lines and without. With full lines, if you maintain Juanma> pressed, the scroll is totally smooth. With a partially-visible Juanma> last line, the scroll "jumps" slightly every now and then (at more-or-less Juanma> equally distributed intervals, apparently). Yes, I get the same results. BTW, you can also get this behavior if you (setq scroll-step 1 scroll-conservatively 0) and hold down on a ruler-less regular text buffer on a slow remote X connection. Once in a while it'll jump a little to "catch up" to point. Anyway at least this patch works 95% of the time and never hangs (is 95% good enough? http://www.jwz.org/doc/worse-is-better.html) -- Karl Chen / quarl@quarl.org