From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: indent-region for long Java strings very slow Date: Sun, 19 Nov 2006 07:55:54 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: References: <1161872117.135227.178220@i42g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1163925631 12279 80.91.229.2 (19 Nov 2006 08:40:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 08:40:31 +0000 (UTC) Bcc: ilya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 09:40:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GliDt-0003Ej-Lp for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2006 09:40:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GliDt-0002BW-6U for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2006 03:40:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!ilya Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: powdermilk.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1163922954 571 169.229.140.13 (19 Nov 2006 07:55:54 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Sun, 19 Nov 2006 07:55:54 +0000 (UTC) User-Agent: trn [how to get a version via %-escapes???] with a custom header X-How-To-Reach-Me: The From: address is valid X-How-To-Disable-Cc: Put in the headers the line: Mail-Copies-To: never Originator: ilya@powdermilk.math.berkeley.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:143199 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38816 Archived-At: [A complimentary Cc of this posting was sent to David Combs ], who wrote in article : > >Nowadays all the decent modes should have linear-time logic for > >indent. It looks like c-mode is not decent enough... > FOI: are you perhaps thinking of fixing it? I fixed the mode(s) I care about the same moment I made parse-partial-sexp smart enough to support linear-time logic. If you are interested in fixing other modes, I may try to find this 10-years old patch. Or just look how cperl-emacs-can-parse is used in cperl-mode.el... Hope this helps, Ilya