From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#22884: 25.0.92; C/l mode editing takes waaaayy too long Date: Sun, 13 Mar 2016 10:03:54 +0000 Message-ID: <20160313100354.GA1871@acm.fritz.box> References: <56D72C35.4090708@cs.ucla.edu> <20160303124910.GA2852@acm.fritz.box> <56D87A6E.8090202@cs.ucla.edu> <83povbz3mp.fsf@gnu.org> <56D8CC45.2090102@cs.ucla.edu> <20160304144759.GB2117@acm.fritz.box> <56D9F0C6.4090800@cs.ucla.edu> <20160304210818.GC2117@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457863344 19942 80.91.229.3 (13 Mar 2016 10:02:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2016 10:02:24 +0000 (UTC) Cc: 22884@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 13 11:02:13 2016 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 1af2qh-0006kB-86 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Mar 2016 11:02:11 +0100 Original-Received: from localhost ([::1]:35218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af2qg-0006iw-Lb for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Mar 2016 06:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af2qc-0006id-Mp for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2016 06:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1af2qb-0007oe-Rf for bug-gnu-emacs@gnu.org; Sun, 13 Mar 2016 06:02:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1af2qX-0007jr-Ss; Sun, 13 Mar 2016 06:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1af2qX-0005Cc-Mm; Sun, 13 Mar 2016 06:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 13 Mar 2016 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22884 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 22884-submit@debbugs.gnu.org id=B22884.145786327719949 (code B ref 22884); Sun, 13 Mar 2016 10:02:01 +0000 Original-Received: (at 22884) by debbugs.gnu.org; 13 Mar 2016 10:01:17 +0000 Original-Received: from localhost ([127.0.0.1]:46633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1af2pp-0005Bg-LL for submit@debbugs.gnu.org; Sun, 13 Mar 2016 06:01:17 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:35941) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1af2po-0005BW-Dy for 22884@debbugs.gnu.org; Sun, 13 Mar 2016 06:01:17 -0400 Original-Received: (qmail 13273 invoked by uid 3782); 13 Mar 2016 10:01:14 -0000 Original-Received: from acm.muc.de (p5B146B5E.dip0.t-ipconnect.de [91.20.107.94]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 13 Mar 2016 11:01:13 +0100 Original-Received: (qmail 1931 invoked by uid 1000); 13 Mar 2016 10:03:54 -0000 Content-Disposition: inline In-Reply-To: <20160304210818.GC2117@acm.fritz.box> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:114850 Archived-At: Hello, Paul. On Fri, Mar 04, 2016 at 09:08:18PM +0000, Alan Mackenzie wrote: > On Fri, Mar 04, 2016 at 12:32:06PM -0800, Paul Eggert wrote: > > Alan Mackenzie wrote: > > > I have had an idea for fixing Emacs so that we don't have this problem > > > with parens in column 0. That is only to scan comments in the forward > > > direction, and to mark them with text properties. `back_comment' will > > > then be little more than checking these text properties are up to date, > > > and then doing a backward text property search. > > Would this mean we no longer need to put \( into Elisp doc strings too? It has > > always been annoying that we have to do that. > It would mean this, yes. open-paren-in-column-0-is-defun-start would > become obsolete. Apologies, but I was mistaken on this point. Being able to put "(" at column 0 in Elisp strings would entail some further work, though that work would not be difficult or disruptive. -- Alan Mackenzie (Nuremberg, Germany).