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: Thu, 17 Jun 2010 21:36:22 +0200 Message-ID: <87ocf9pi2x.fsf@engster.org> References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <83typ2isns.fsf@gnu.org> <83mxuuicjc.fsf@gnu.org> <83ljadikj1.fsf@gnu.org> <83k4pxijpb.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276803408 437 80.91.229.12 (17 Jun 2010 19:36:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 19:36:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 21:36:46 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 1OPKtJ-0005gg-Qa for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 21:36:46 +0200 Original-Received: from localhost ([127.0.0.1]:40329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPKtJ-0005uo-7w for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 15:36:45 -0400 Original-Received: from [140.186.70.92] (port=40534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPKt9-0005hJ-K2 for emacs-devel@gnu.org; Thu, 17 Jun 2010 15:36:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPKt8-0000or-9m for emacs-devel@gnu.org; Thu, 17 Jun 2010 15:36:35 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:49502) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPKt8-0000nz-24 for emacs-devel@gnu.org; Thu, 17 Jun 2010 15:36:34 -0400 Original-Received: from dslc-082-083-038-205.pools.arcor-ip.net ([82.83.38.205] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OPKt1-0002nu-D8 for emacs-devel@gnu.org; Thu, 17 Jun 2010 21:36:27 +0200 In-Reply-To: <83k4pxijpb.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Jun 2010 21:43:12 +0300") 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:126094 Archived-At: Eli Zaretskii writes: >> From: Lennart Borgman >> Date: Thu, 17 Jun 2010 20:32:27 +0200 >> Cc: emacs-devel@gnu.org, david@harpegolden.net >> >> Several of us has said that the problem is easily reproduceable. > > Please show a recipe starting from "emacs -Q". OK, I'll try. Using Emacs 23.2 GTK GNU/Linux: * emacs -Q * Insert in the *scratch* buffer: (setq scroll-preserve-screen-position 'always scroll-conservatively most-positive-fixnum scroll-step 0 redisplay-dont-pause t) and evaluate. These are the recommended settings given in this thread to get single-line scrolling. * Insert the following and evaluate (adapt path accordingly): (dotimes (dummy 50) (insert-file-contents "~/emacs/share/emacs/23.2/etc/HELLO")) * Now press and hold key to scroll the buffer. The results will be different, depending on the default font and machine speed. On my machine (Celeron 900 @2.2GHz), the cursor sometimes jump to the middle or beginning of the window while scrolling. (BTW, I also notice that the cursor shape sometimes "sticks" in the "Hindi" line, but that's new to me). Now this is just an example. As I've written, I've seen this behavior for years, especially in large buffers when using different fonts, elaborate font-locks, etc. HTH, -David