From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: [christopher.ian.moore@gmail.com: Emacs very slow opening file] Date: Mon, 03 Oct 2005 11:35:23 -0400 Message-ID: References: <20050929095157.GA6233@kenny.sha-bang.local> <20050930074317.GA6249@kenny.sha-bang.local> <87y85bzvdo.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1128354219 827 80.91.229.2 (3 Oct 2005 15:43:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2005 15:43:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 03 17:43:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMSRx-0007Ng-2h for ged-emacs-devel@m.gmane.org; Mon, 03 Oct 2005 17:41:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMSRw-0007ML-Mw for ged-emacs-devel@m.gmane.org; Mon, 03 Oct 2005 11:41:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMSQn-0006zr-I9 for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:40:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMSQj-0006xT-3l for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:40:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMSQg-0006qm-Sa for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:40:38 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EMSLc-0002pP-G6 for emacs-devel@gnu.org; Mon, 03 Oct 2005 11:35:24 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EMSLb-00019l-Nw; Mon, 03 Oct 2005 11:35:23 -0400 Original-To: Juri Linkov In-reply-to: <87y85bzvdo.fsf@jurta.org> (message from Juri Linkov on Sun, 02 Oct 2005 23:22:43 +0300) 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:43498 Archived-At: One quite reliable solution is to store the original values of prefix/suffix strings in the Local Variables section by adding new variables `local-variables-prefix' and `local-variables-suffix', e.g.: -/* Local Variables: */ -/* local-variables-prefix:"/* " */ -/* local-variables-suffix:" */" */ -/* mode:c */ It is a good idea in principle, but adopting it would require an annoying change for the users' files. Of course, this wouldn't work with existing Local-Variables sections, All files with existing Local-Variables sections that use a prefix or suffix would have to be changed. We could not make them "work anyway" since then the feature would not do its job.