From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#22884: 25.0.92; C/l mode editing takes waaaayy too long Date: Fri, 4 Mar 2016 12:32:06 -0800 Organization: UCLA Computer Science Department Message-ID: <56D9F0C6.4090800@cs.ucla.edu> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457123603 9468 80.91.229.3 (4 Mar 2016 20:33:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2016 20:33:23 +0000 (UTC) Cc: 22884@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 04 21:33:12 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 1abwPN-0000ef-3h for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Mar 2016 21:33:09 +0100 Original-Received: from localhost ([::1]:43404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abwPM-0004XR-FH for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Mar 2016 15:33:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abwPI-0004UG-Tq for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2016 15:33:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abwPG-000509-9G for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2016 15:33:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abwPG-0004zy-6B; Fri, 04 Mar 2016 15:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abwPF-0001Pq-Vf; Fri, 04 Mar 2016 15:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 04 Mar 2016 20:33: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.14571235375394 (code B ref 22884); Fri, 04 Mar 2016 20:33:01 +0000 Original-Received: (at 22884) by debbugs.gnu.org; 4 Mar 2016 20:32:17 +0000 Original-Received: from localhost ([127.0.0.1]:34118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abwOX-0001Ov-96 for submit@debbugs.gnu.org; Fri, 04 Mar 2016 15:32:17 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55668) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abwOU-0001Of-D7 for 22884@debbugs.gnu.org; Fri, 04 Mar 2016 15:32:14 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A795B160255; Fri, 4 Mar 2016 12:32:07 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bDOpOtREgIyB; Fri, 4 Mar 2016 12:32:07 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EFFF5161009; Fri, 4 Mar 2016 12:32:06 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tkBTKeMaJj6w; Fri, 4 Mar 2016 12:32:06 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CCE28160255; Fri, 4 Mar 2016 12:32:06 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <20160304144759.GB2117@acm.fritz.box> 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:114426 Archived-At: 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. If it's practical to fold your idea into the emacs-25 branch it sounds like it'll solve the problem. If it's safer to put such a change into the master branch, I can install the patch I already wrote into the emacs-25 branch, as a stopgap. What do you think?