From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Wed, 16 Jun 2010 10:55:21 +0200 Message-ID: <87eig7we4m.fsf@engster.org> References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276679853 27080 80.91.229.12 (16 Jun 2010 09:17:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 09:17:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 16 11:17:31 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOokS-0005kp-9B for ged-emacs-devel@m.gmane.org; Wed, 16 Jun 2010 11:17:28 +0200 Original-Received: from localhost ([127.0.0.1]:36262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOoec-0003s2-BN for ged-emacs-devel@m.gmane.org; Wed, 16 Jun 2010 05:11:26 -0400 Original-Received: from [140.186.70.92] (port=46825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOoUM-0007BR-FI for emacs-devel@gnu.org; Wed, 16 Jun 2010 05:00:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOoPI-0000eJ-P2 for emacs-devel@gnu.org; Wed, 16 Jun 2010 04:55:40 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:51333) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOoPI-0000dA-It for emacs-devel@gnu.org; Wed, 16 Jun 2010 04:55:36 -0400 Original-Received: from dslc-082-083-038-123.pools.arcor-ip.net ([82.83.38.123] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OOoPA-00007r-HZ for emacs-devel@gnu.org; Wed, 16 Jun 2010 10:55:28 +0200 In-Reply-To: <4C18211C.3070106@harpegolden.net> (David De La Harpe Golden's message of "Wed, 16 Jun 2010 01:55:56 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125995 Archived-At: David De La Harpe Golden writes: > On 16/06/10 00:59, Lennart Borgman wrote: > >> All I do to check this is open window.c and then hit/hold down the >> down arrow key (or "j" in viper). >> >> Does this work without "jumping scrolling" for you? (You have to test >> for a while, the jumping does not happen always. I is a bit like >> playing a computer game.) >> > > I see this sometimes, with the recipe you outline. > > Sometimes emacs seems to decide to recenter, when it has "too much" > input while display is taking its time (which I guess it might for > e.g. font-locked window.c or a bunch of foreign scripts on > view-hello-file) Yes, absolutely. This is why scrolling usually works fine for 'simple' setups, but gets jumpy as soon as you're using font-lock, overlong lines, different fonts (especially TTFs), flyspell etc. I'm currently working on a rather large LaTeX-File using AucTeX, font-lock, with a fixed font for plain text and a TTF font for math formulas, and Emacs is recentering while scrolling *all* the time. I think over the years I really tried everything I could find, but nothing fixed this. The only thing that's actually working a little bit is to set scroll-margin to a larger value, so that the cursor has some leeway before leaving the window, but even then it sometimes recenters. Turning off font-lock is actually what's helping most. -David