all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Davis Herring" <herring@lanl.gov>
To: "Glenn Morris" <rgm@gnu.org>
Cc: emacs-devel@gnu.org, jidanni@jidanni.org
Subject: Re: mention risky local variables "!" choice
Date: Tue, 4 Sep 2007 15:35:00 -0700 (PDT)	[thread overview]
Message-ID: <59177.128.165.123.18.1188945300.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <xg642vqnad.fsf@fencepost.gnu.org>

>>    Some variables, such as `load-path', are considered particularly
>> "risky": there is seldom any reason to specify them as local
>> variables, and changing them can be dangerous. ****> Emacs will not
>> prompt with "!" in this case, and even if you enter it, <**** Emacs
>> will not record any values as safe for these variables.
>
> When Emacs does not prompt with !, you can't enter it. This is so
> self-explanatory as to not be worth documenting.
>
> If there are both risky and unsafe variables, it does prompt with !,
> but that only applies to the unsafe variables. This non-trivial case
> is what the current manual refers to, quite clearly I think.

It seems that the manual should instead say that ! does not apply to such
variables, and that if those variables are the only ones under
consideration (that is, there are no _unsafe_ variables), that ! isn't
even an input option (as it would be, perhaps unexpectedly, equivalent to
"y").  The bit about "even if you enter it" seems to imply that ! is an
undocumented option there, which I don't think is the intent.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2007-09-04 22:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 17:17 mention risky local variables "!" choice jidanni
2007-08-31  7:35 ` Richard Stallman
2007-08-31  8:21   ` Glenn Morris
2007-08-31 22:57     ` jidanni
2007-08-31 23:47       ` Glenn Morris
2007-09-04 22:35         ` Davis Herring [this message]
2007-09-01  4:06     ` 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=59177.128.165.123.18.1188945300.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=rgm@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.