From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Setting local variables in a file
Date: Mon, 23 May 2011 12:07:34 -0300 [thread overview]
Message-ID: <jwv62p1lasd.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 71e7cba0-b4d4-4162-9c4b-9a23cb78cd91@d1g2000yqm.googlegroups.com
> 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
next prev parent reply other threads:[~2011-05-23 15:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 14:07 Setting local variables in a file Ed Reingold
2011-05-23 15:07 ` Stefan Monnier [this message]
2011-05-23 17:50 ` Ed Reingold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv62p1lasd.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.