all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: cdelia@dc.uba.ar
Cc: Emacs-devel <emacs-devel-bounces+psainty=orcon.net.nz@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: mark .dir-locals.el buffer or file as safe instead of variables as safe
Date: Wed, 27 Jun 2018 16:34:43 +1200	[thread overview]
Message-ID: <ff2cae3a48777bac405fb65e55c35d6b@webmail.orcon.net.nz> (raw)
In-Reply-To: <037e51edfe70cb450157d1fb6f0ace0d@webmail.orcon.net.nz>

On 2018-06-27 16:24, Phil Sainty wrote:
> If "hell itself" wanted to set the *same* value that was confirmed on
> "trusted land" then Emacs will be happy with that

I should have also pointed out that variables for which this behaviour
would be unsafe are also provided for.  (elisp)File Local Variables 
says:

> Some variables are considered “risky”.  If a variable is risky, it is
> never entered automatically into ‘safe-local-variable-values’; Emacs
> always queries before setting a risky variable, unless the user
> explicitly allows a value by customizing ‘safe-local-variable-values’
> directly.


-Phil




  reply	other threads:[~2018-06-27  4:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27  0:14 mark .dir-locals.el buffer or file as safe instead of variables as safe cdelia
2018-06-27  2:33 ` Eli Zaretskii
2018-06-27  4:24 ` Phil Sainty
2018-06-27  4:34   ` Phil Sainty [this message]
2018-06-27  6:36     ` Phil Sainty

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=ff2cae3a48777bac405fb65e55c35d6b@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=cdelia@dc.uba.ar \
    --cc=emacs-devel-bounces+psainty=orcon.net.nz@gnu.org \
    --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.