From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Elston Newsgroups: gmane.emacs.help Subject: Re: Setting file-local list variables Date: Wed, 21 May 2008 12:21:29 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1211426352 2528 80.91.229.12 (22 May 2008 03:19:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2008 03:19:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 05:19:50 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jz1LE-0005Ux-Hw for geh-help-gnu-emacs@m.gmane.org; Thu, 22 May 2008 05:19:44 +0200 Original-Received: from localhost ([127.0.0.1]:35945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jz1KU-0003wn-2c for geh-help-gnu-emacs@m.gmane.org; Wed, 21 May 2008 23:18:58 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.posted.advantestrndcenter!news.posted.advantestrndcenter.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 21 May 2008 12:21:29 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Xnews/5.04.25 Original-Lines: 68 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 192.84.20.196 Original-X-Trace: sv3-5a5e1337QBgVALuAW10Vv1XzRePxB5AtBp1YKqgGf6AnJFgTT4zFI55uWVMopZafCwEUocQlhaU4IWZ!TODepTQE0V4iJrlKHBxqUGmqcpUQHroHXKs+ZpGRjERkL55IkrFejNtXzhsUEykRo3B/ZnJEs9RH!kjrGBulEL3jpMrazHcjqv5DfFRKn X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:158843 X-Mailman-Approved-At: Wed, 21 May 2008 23:18:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54220 Archived-At: * Joel J. Adamson wrote (on 5/21/2008 6:36 AM): > > ... > > Have you tried quoting? I still get the same thing, when I try the > following document: > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > \documentclass{article} > \begin{document} > > \begin{verbatim} > Kiss this! > \sin(x) > > \end{verbatim} > \begin{equation} > \label{eq:1} > \sin(x) > \end{equation} > > \end{document} > > %%% Local Variables: > %%% mode: latex > %%% TeX-master: t > %%% LaTeX-verbatim-environments: '("verbatim" "verbatim*" "CodeListing" "OldCodeListing" "NewCodeListing") > %%% End: > Yeah, it didn't work for me either. > @someone-who-knows: Does this just come up when a new variable is > introduced in a local variables list? > > @OP: If so, what's wrong with marking the variables as safe and applying > them in the future (!)? I tried that, too. It didn't work either. I wonder if this is an AucTeX thing. The AucTeX manual says that this variable controls the verbatim-like environments. However, in the help for the variable it says: LaTeX-verbatim-environments is a variable defined in `latex.el'. Its value is '("verbatim" "verbatim*" "CodeListing" "OldCodeListing" "NewCodeListing") Local in buffer AddingStateMachineToClass.tex; global value is ("verbatim" "verbatim*") Documentation: Verbatim environments. Programs should not use this variable directly but the function `LaTeX-verbatim-environments' which returns a value including buffer-local keyword additions via `LaTeX-verbatim-environments-local' as well. I don't know if this means that setting the variables is the wrong way to go. BTW, I have also tried setting 'LaTeX-verbatim-environments-local' both as a list and a quoted list as well. That, too, doesn't work. Mark