all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: "Andrew M. Scott" <amscott1@sedona.ch.intel.com>, emacs-devel@gnu.org
Subject: Re: Clarification on using safe-local-variable-values
Date: Thu, 09 Mar 2006 09:50:53 -0500	[thread overview]
Message-ID: <87irqn659u.fsf@stupidchicken.com> (raw)
In-Reply-To: <m3acc0c8ps.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Thu, 09 Mar 2006 09:39:59 +0100")

storm@cua.dk (Kim F. Storm) writes:

> Chong Yidong <cyd@stupidchicken.com> writes:
>
>>> # after-save-hook: ((lambda () (build-mail-aliases)))
>
>> That is working as intended.  Emacs does not save after-save-hook
>> because that is a risky local variable, and those are never saved.
>
> I don't quite understand...
>
> If the user has said that it is safe to use that specific value
> of that variable, why can't you save that value?  The reason why
> the user want to save it, is to avoid the question in the future.

I suggested this some time ago, but nobody responded.

Note that allowing saves for risky local variables is practically
equivalent to eliminating the concept of risky local variables.  If
Emacs allows saves for any variable not considered safe, the
`risky-local-variable' property has no special effect (as far as the
loading of local variables is concerned).

  reply	other threads:[~2006-03-09 14:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 19:55 Clarification on using safe-local-variable-values Andrew M. Scott
2006-03-08 20:24 ` Chong Yidong
2006-03-08 20:43   ` Andrew M. Scott
2006-03-08 21:52     ` Chong Yidong
2006-03-08 23:50       ` Andrew M. Scott
2006-03-09  0:03         ` Chong Yidong
2006-03-09  8:39           ` Kim F. Storm
2006-03-09 14:50             ` Chong Yidong [this message]
2006-03-10 23:57               ` Luc Teirlinck
2006-03-11 15:46                 ` Richard Stallman
2006-03-11 23:47               ` Kim F. Storm
2006-03-09 17:14   ` Richard Stallman
2006-03-09 17:14 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87irqn659u.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=amscott1@sedona.ch.intel.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.