all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8879: 24.0.50; default value of default-justification considered unsafe
@ 2011-06-16 17:19 =160t=11bp=e1n N=11bmec
  2011-06-18 19:24 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: =160t=11bp=e1n N=11bmec @ 2011-06-16 17:19 UTC (permalink / raw)
  To: 8879

When visiting a file with a local value of `default-justification' (set in
the file or in .dir-locals.el), the warning about unsafe local variable
values pops up, no matter what the value is.

One would think there's nothing unsafe about the default (or any other
of the possible) value(s) of default-justification, and it's obviously
quite useful to set it file-locally.

Please add a safe value declaration* to Emacs so the warning doesn't
occur. This applies also to the 23 release (in case there is going to be
one).

* (put 'default-justification 'safe-local-variable 'symbolp)

Thanks,

  =160t=11bp=e1n





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#8879: 24.0.50; default value of default-justification considered unsafe
  2011-06-16 17:19 bug#8879: 24.0.50; default value of default-justification considered unsafe =160t=11bp=e1n N=11bmec
@ 2011-06-18 19:24 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-06-18 19:24 UTC (permalink / raw)
  To: =160t=11bp=e1n N=11bmec; +Cc: 8879

"=160t=11bp=e1n N=11bmec" <stepnem@gmail.com> writes:

> When visiting a file with a local value of `default-justification' (set in
> the file or in .dir-locals.el), the warning about unsafe local variable
> values pops up, no matter what the value is.
>
> One would think there's nothing unsafe about the default (or any other
> of the possible) value(s) of default-justification, and it's obviously
> quite useful to set it file-locally.
>
> Please add a safe value declaration* to Emacs so the warning doesn't
> occur.

Fixed, thanks.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-18 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 17:19 bug#8879: 24.0.50; default value of default-justification considered unsafe =160t=11bp=e1n N=11bmec
2011-06-18 19:24 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.