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

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

bug#524: marked as done (outdated (put ...) exceptions for evaled file-l


From: Emacs bug Tracking System
Subject: bug#524: marked as done (outdated (put ...) exceptions for evaled file-local variables)
Date: Tue, 5 Aug 2008 13:55:04 -0700

Your message dated Tue, 05 Aug 2008 16:47:51 -0400
with message-id <address@hidden>
and subject line Re: outdated (put ...) exceptions for evaled file-local 
variables
has caused the Emacs bug report #524,
regarding outdated (put ...) exceptions for evaled file-local variables
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
524: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=524
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: outdated (put ...) exceptions for evaled file-local variables Date: Thu, 03 Jul 2008 15:44:53 +0900 User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin)
Currently `hack-one-local-variable-eval-safep' has a few
manually checked exceptions for the `eval' pseudo-variable,
so that the common cases of setting indent and edebug
properties for symbols is considered safe automatically.

However, the indent property checks for `lisp-indent-hook',
which as far as I can tell is deprecated.  It's not
mentioned anywhere in the docs, and lisp-mode.el only uses
it as a fallback in case the `lisp-indent-function' property
isn't set.  All the properties in lisp-mode.el are set as
`lisp-indent-function'.

A simple fix would be to allow either.  I've attached a
potential patch that does this, and also allows
scheme-indent-function, since this case is also common and I
don't think there are many other modes that make use of
symbol indent-function properties.  I'd understand if you
didn't want to support Scheme by default though, in which
case I'd just resort to using `safe-local-eval-function'.

A more general fix might be to implement a separate
customization for which properties are automatically
settable with which values, with perhaps more broad default
settings than Emacs currently has.

-- 
Alex

Attachment: files.el.diff
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: outdated (put ...) exceptions for evaled file-local variables Date: Tue, 05 Aug 2008 16:47:51 -0400
Thanks.  I've checked your patch (with minor modifications) into the CVS
trunk.


--- End Message ---

reply via email to

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