From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16526: 24.3.50; scroll-conservatively & c-mode regression Date: Wed, 25 Jun 2014 22:51:24 -0400 Message-ID: References: <83txcl75nj.fsf@gnu.org> <52EAA0C9.1090000@gmx.at> <834n4j5d3k.fsf@gnu.org> <20140202174050.GA5365@acm.acm> <837g9d4cde.fsf@gnu.org> <20140202192007.GB5365@acm.acm> <831tzl44ox.fsf@gnu.org> <20140205230001.GB3381@acm.acm> <8338jw230j.fsf@gnu.org> <83wqc8sxd2.fsf@gnu.org> <20140625213206.GA3604@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403751160 1458 80.91.229.3 (26 Jun 2014 02:52:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2014 02:52:40 +0000 (UTC) Cc: 16526-done@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 26 04:52:32 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzznZ-0001mE-JM for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 04:52:29 +0200 Original-Received: from localhost ([::1]:41979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzznX-0007Kl-27 for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 22:52:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzznN-0007Ke-JO for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 22:52:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzznG-00007l-4g for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 22:52:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzzn8-0008SU-6F; Wed, 25 Jun 2014 22:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wzzn7-000465-Nm; Wed, 25 Jun 2014 22:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 26 Jun 2014 02:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16526 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 16526-done@debbugs.gnu.org id=D16526.140375109315694 (code D ref 16526); Thu, 26 Jun 2014 02:52:01 +0000 Original-Received: (at 16526-done) by debbugs.gnu.org; 26 Jun 2014 02:51:33 +0000 Original-Received: from localhost ([127.0.0.1]:60993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wzzme-000453-Iy for submit@debbugs.gnu.org; Wed, 25 Jun 2014 22:51:32 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10728) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wzzmc-00044l-KA for 16526-done@debbugs.gnu.org; Wed, 25 Jun 2014 22:51:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4fBxIUGA0kiAQI0hkXjnoHCoQuBKkZgWqDTCE X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4fBxIUGA0kiAQI0hkXjnoHCoQuBKkZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="69588481" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Jun 2014 22:51:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A8BEF66302; Wed, 25 Jun 2014 22:51:24 -0400 (EDT) In-Reply-To: <20140625213206.GA3604@acm.acm> (Alan Mackenzie's message of "Wed, 25 Jun 2014 21:32:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90825 Archived-At: > How can this one single scan-lists called from CC Mode be so slow, yet > the identical call from the minibuffer be 50 times as fast? Do the two return the same position? The time taken by scan-lists is proportional to the "distance", so a 50x slowdown would not be surprising if it goes 50x further. > My understanding is that scan-lists is a primitive operation, > unaffected by virtually any context (apart from specific things like > parse-sexp-ignore-comments and syntax-table text properties which are > meant to affect it). Another influence could be parse-sexp-lookup-properties, tho it definitely shouldn't account for more than a few percents. Stefan