[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] safe-local-variable expressions
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] safe-local-variable expressions |
Date: |
Wed, 10 May 2006 16:25:50 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Reiner Steib <address@hidden> writes:
> On Wed, May 10 2006, David Kastrup wrote:
>
>>> +2006-05-10 Reiner Steib <address@hidden>
>>> +
>>> + * tex.el (TeX-master): Quote safe-local-variable lambda expression
>>> + to avoid byte compilation.
>>> +
>>
>> What would be the adverse effect of byte compilation here?
>
> In the output of `describe-variable' you'll see the byte-code unless
> the expression is quoted:
>
> ,----[ <f1> v TeX-master RET ]
> | TeX-master is a variable defined in `tex.el'.
> | Its value is nil
> |
> | Automatically becomes buffer-local when set in any fashion.
> |
> | This variable is safe to use as a file local variable only if its value
> | satisfies the predicate `#[(x) [BYTE-CODE] [x (t nil shared dwim)] 2]'.
> | [...]
> `----
>
> Richard advised to quote the lambda expression in this case. See the
> following discussion on emacs-pretest-bug:
> http://thread.gmane.org/v97j4v1um6.fsf%40marauder.physik.uni-ulm.de
> http://thread.gmane.org/gmane.emacs.pretest.bugs/11847/focus=11937
Hm, maybe just make the function non-anonymous?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog, David Kastrup, 2006/05/25
- [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog, Ralf Angeli, 2006/05/25
- Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog, David Kastrup, 2006/05/25
- [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog, Ralf Angeli, 2006/05/25
- Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog, David Kastrup, 2006/05/25
- Re: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/ChangeLog, David Kastrup, 2006/05/26
- [AUCTeX-devel] Upcoming 11.83 release (was: [AUCTeX-diffs] Changes to auctex/ChangeLog), Reiner Steib, 2006/05/27
- Re: [AUCTeX-devel] Upcoming 11.83 release, David Kastrup, 2006/05/27