From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Setting local variables in a file Date: Mon, 23 May 2011 12:07:34 -0300 Organization: A noiseless patient Spider Message-ID: References: <71e7cba0-b4d4-4162-9c4b-9a23cb78cd91@d1g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306269618 24902 80.91.229.12 (24 May 2011 20:40:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:40:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:40:14 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyOh-0001Zq-Nw for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:40:11 +0200 Original-Received: from localhost ([::1]:47604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyOh-0000hB-8T for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:40:11 -0400 Original-Path: usenet.stanford.edu!news-transit.tcx.org.uk!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Injection-Info: mx04.eternal-september.org; posting-host="XiIAvY72ZUxKiQYrt+73Dw"; logging-data="24285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hTqdQrcuKaaulSysoKYhC" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:HVD9dulGKeaCZE3+KMB7mjMSScU= sha1:Q1OSQSlJjP/08N8B9O7MyN0BAdk= Original-Xref: usenet.stanford.edu gnu.emacs.help:186892 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81223 Archived-At: > The following used to work (in an old version of Emacs) at the end of > a LaTeX file: > %%% Local variables: %%% > %%% tex-command:"/export/home/reingold/calendar-book/third-edition/ > doerrata" %%% > %%% End: %%% > But now that I have switched to Emacs 23.3, those lines no longer have > the desired effect. > What am I doing wrong and how do I fix it? These lines should work, and work fine in my tests. The only thing thing is that tex-command is not known to be safe to set in this way, so when I open such a file, Emacs prompts me to know whether I do want to apply this setting. Not sure why you don't see this prompt. Maybe you have customized enable-local-variables? Stefan