From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#6671: moving point and scroll-conservatively Date: Thu, 24 Mar 2011 22:09:28 -0400 Message-ID: <87d3lguf1j.fsf@stupidchicken.com> References: <87vcz9s60m.fsf@stupidchicken.com> <87tyetb258.fsf@stupidchicken.com> <87k4fosg8e.fsf@stupidchicken.com> <874o6sp9sl.fsf@stupidchicken.com> <87ei5wdwce.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301020640 23920 80.91.229.12 (25 Mar 2011 02:37:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2011 02:37:20 +0000 (UTC) Cc: 6671@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 25 03:37:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Q2wtm-00088M-Jd for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Mar 2011 03:37:14 +0100 Original-Received: from localhost ([127.0.0.1]:36745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2wtl-0002G5-VM for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Mar 2011 22:37:14 -0400 Original-Received: from [140.186.70.92] (port=37522 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2wth-0002Fu-2o for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2011 22:37:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2wtf-0005f4-Ru for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2011 22:37:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2wtf-0005ez-O1 for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2011 22:37:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q2wTT-0003w7-7E; Thu, 24 Mar 2011 22:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Mar 2011 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6671-submit@debbugs.gnu.org id=B6671.130101898015097 (code B ref 6671); Fri, 25 Mar 2011 02:10:02 +0000 Original-Received: (at 6671) by debbugs.gnu.org; 25 Mar 2011 02:09:40 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q2wT5-0003vS-2c for submit@debbugs.gnu.org; Thu, 24 Mar 2011 22:09:39 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q2wT3-0003vG-VC for 6671@debbugs.gnu.org; Thu, 24 Mar 2011 22:09:38 -0400 Original-Received: from furball (dhcp128036014187.central.yale.edu [128.36.14.187]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p2P29TfT011078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Mar 2011 22:09:32 -0400 Original-Received: by furball (Postfix, from userid 1000) id B71B116066A; Thu, 24 Mar 2011 22:09:28 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Fri, 25 Mar 2011 00:06:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 24 Mar 2011 22:10:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45342 Archived-At: Juanma Barranquero writes: > But the trick is making it fast enough, isn't? IIRC, the current > sluggish performance and some other changes were brought in to cope > with redisplay pausing for a while and then suddenly "jumping ahead" > in the buffer because it wasn't fast enough to keep up with typematic > repeat during scrolling (pre-Unicode2 merge it always was, > post-Unicode2 scrolling line-by-line is jumpy the best of days, > specially when moving up the beginning of the buffer). I don't think the problem is keyboard-triggered commands changing the buffer too fast between redisplays. I've done a bit of tracing, and redisplay is called once for every one, some times two, calls to command-execute. Certainly not the ten or twenty times that would cause window scrolling to fall behind. Instead, the recentering is caused by the situation I described in an earlier email, where the action of fontification functions causes redisplay to become confused. I don't know whether there are other causes of anomalous recentering, but that is the only one I have encountered while experimenting with the code.