help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting file-local list variables


From: Joel J. Adamson
Subject: Re: Setting file-local list variables
Date: Thu, 22 May 2008 09:01:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Mark Elston <address@hidden> writes:

> * Joel J. Adamson wrote (on 5/21/2008 6:36 AM):

>
> Yeah, it didn't work for me either.

I wouldn't expect it to work for you, if it failed for me ;)

>> @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.

What do you mean it didn't work?  Did you enter "!" when prompted?  From
the *Help* you show, it seems that it did "work" as far as setting the variable.

> 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")

That's Emacs being a self-documenting editor.

>         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.

Hmmmm...what is it you're trying to accomplish?  Refresh my memory.

Glad to help, if only for discussion's sake :)

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj




reply via email to

[Prev in Thread] Current Thread [Next in Thread]