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: Fri, 30 Sep 2005 13:33:58 -0400 Message-ID: References: <20050929095157.GA6233@kenny.sha-bang.local> <20050929123820.GC31770@kenny.sha-bang.local> <87achvll8q.fsf-monnier+emacs@gnu.org> <87psqrim7w.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 1128101928 19060 80.91.229.2 (30 Sep 2005 17:38:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2005 17:38:48 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 30 19:38:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ELOoa-00029v-Nk for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2005 19:36:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELOoZ-00036q-Qp for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2005 13:36:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELOmy-0002Zg-W5 for emacs-devel@gnu.org; Fri, 30 Sep 2005 13:35:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELOmj-0002Tg-1P for emacs-devel@gnu.org; Fri, 30 Sep 2005 13:35:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELOmi-0002TH-Ld for emacs-devel@gnu.org; Fri, 30 Sep 2005 13:35:00 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ELOlj-0006IT-G3 for emacs-devel@gnu.org; Fri, 30 Sep 2005 13:33:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1ELOli-0007sY-LG; Fri, 30 Sep 2005 13:33:58 -0400 Original-To: Juri Linkov In-reply-to: <87psqrim7w.fsf@jurta.org> (message from Juri Linkov on Thu, 29 Sep 2005 23:55:14 +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:43393 Archived-At: Recently I ran into the problem when Emacs tried to interpret the Local Variables section in the "htmlized" file. I suggested to the author of htmlize.el to replace `Local Variables:' in the output by its HTML equivalent `Local Variables:' that Emacs doesn't recognize. This method, to change the program that produces the file, is applicable in some cases. But I don't think it is applicable to diff. With a new special variable HTML mode could set it to a value that matches the Local Variables section only inside HTML comments, and such problems of mistakenly using a Local Variables section wouldn't occur in packages that convert files to other representations. Yes, that could work--if the variable gets set before Emacs looks for the local variable list. However, I am not sure a regexp is powerful enough to do the job for diff files.