From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [christopher.ian.moore@gmail.com: Emacs very slow opening file] Date: Thu, 29 Sep 2005 23:03:14 +0200 Message-ID: References: <20050929095157.GA6233@kenny.sha-bang.local> <20050929123820.GC31770@kenny.sha-bang.local> <87achvll8q.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1128028565 13627 80.91.229.2 (29 Sep 2005 21:16:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Sep 2005 21:16:05 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 29 23:15:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EL5jo-0006PR-41 for ged-emacs-devel@m.gmane.org; Thu, 29 Sep 2005 23:14:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EL5jn-0006eP-Je for ged-emacs-devel@m.gmane.org; Thu, 29 Sep 2005 17:14:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EL5dg-0003yh-RB for emacs-devel@gnu.org; Thu, 29 Sep 2005 17:08:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EL5dQ-0003pk-9Y for emacs-devel@gnu.org; Thu, 29 Sep 2005 17:08:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EL5dO-0003nI-Kw for emacs-devel@gnu.org; Thu, 29 Sep 2005 17:08:06 -0400 Original-Received: from [195.135.220.15] (helo=mx2.suse.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EL5Yk-0001Xw-H0; Thu, 29 Sep 2005 17:03:18 -0400 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 5C4871C845; Thu, 29 Sep 2005 23:03:16 +0200 (CEST) Original-To: Stefan Monnier X-Yow: If Robert Di Niro assassinates Walter Slezak, will Jodie Foster marry Bonzo?? In-Reply-To: <87achvll8q.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 29 Sep 2005 15:44:53 -0400") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43368 Archived-At: Stefan Monnier writes: > E.g. major modes could set a "local-variables-prefix-regexp" which the = text > leading to the "Local Variables" should match. E.g. c-mode could set i= t to > "\\`[ \t]*\\(//\\|/?\\*)[ \t]*\\'" Problem is: in order for > this to be useful for the OP, the test should be done *after* using the > Local-Variables's section (i.e. after switching to C mode).=20 Another problem is that this example will enforce a comment style that many people may disagree with. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."