[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `s
From: |
Lennart Borgman |
Subject: |
Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value |
Date: |
Wed, 28 Apr 2010 00:39:37 +0200 |
On Wed, Apr 28, 2010 at 12:09 AM, Sam Steingold <address@hidden> wrote:
> On 4/27/10, Glenn Morris <address@hidden> wrote:
>> Sam Steingold wrote:
>>
>> > +2010-04-27 Sam Steingold <address@hidden>
>> > +
>> > + * progmodes/bug-reference.el (bug-reference-url-format): Mark as
>> > + `safe-local-variable' if the value is a string or a function,
>>
>> I'm probably being thick, but I don't see how an arbitrary function
>> can be assumed to be safe
>
> You are right.
> this means that I cannot really set bug-reference-url-format in the
> "Local Variables:"
> section together with "mode: bug-reference" if I also set
> enable-local-variables to :safe.
...
> the bottom line is that there _must_ be a way to use something
> reasonably flexible here and still not be asked "local variable"
> question for each C-x v =
Maybe a safe value could be a (symbol) key to an association lists
with entries like '(my-key my-bug-reference-url-function)?
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Glenn Morris, 2010/04/27
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Chong Yidong, 2010/04/27
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Sam Steingold, 2010/04/27
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value,
Lennart Borgman <=
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Chong Yidong, 2010/04/27
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Sam Steingold, 2010/04/27
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Davis Herring, 2010/04/28
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Chong Yidong, 2010/04/28
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Davis Herring, 2010/04/28
- Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value, Chong Yidong, 2010/04/28