From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ed Reingold Newsgroups: gmane.emacs.help Subject: Re: Setting local variables in a file Date: Mon, 23 May 2011 10:50:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <475d3c57-281b-47f0-9d9c-d212c1c0db6d@v10g2000yqn.googlegroups.com> References: <71e7cba0-b4d4-4162-9c4b-9a23cb78cd91@d1g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306269502 24125 80.91.229.12 (24 May 2011 20:38:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:38:22 +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:38:18 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 1QOyMs-0000L3-3o for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:38:18 +0200 Original-Received: from localhost ([::1]:41723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyMr-0005w2-O4 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:38:17 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!v10g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 24.12.213.41 Original-X-Trace: posting.google.com 1306173044 13328 127.0.0.1 (23 May 2011 17:50:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 23 May 2011 17:50:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v10g2000yqn.googlegroups.com; posting-host=24.12.213.41; posting-account=--wjsgoAAAC2hIaIHloh8dWmRYX8Q9by User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:186894 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:81213 Archived-At: On May 23, 10:07=A0am, Stefan Monnier wrote: > > The following used to work (in an old version of Emacs) at the end of > > a LaTeX file: > > =A0 =A0%%% Local variables: %%% > These lines should work, and work fine in my tests. =A0The 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. =A0Not sure why you don't see this prompt. =A0Maybe y= ou > have customized enable-local-variables? That was the problem---I did not have enable-local-variables set to t. Now it works--thanks!!