[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clarification on using safe-local-variable-values

From: Chong Yidong
Subject: Re: Clarification on using safe-local-variable-values
Date: Wed, 08 Mar 2006 15:24:52 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Andrew M. Scott" <address@hidden> writes:

> % emacs -Q &
> I get prompted with a *Local Variables* buffer:
> The local variables list in .mailrc
> contains variables that are risky (**).
> Do you want to apply it? You can type
> y  -- to apply the local variables list
> n  -- to ignore the local variables list
> !  -- to apply the local variables list, and mark these values (*) as
>       safe (in the future, they can be set automatically.)\n\n")

For Emacs -Q, you should not be prompted to save, since there is no
custom-file or user-init-file.  I will change this.

> Q1: Curiously, with my cursor now at the end of the minibuffer line,
>     Emacs did not respond to C-x o or mouse (I wanted to select the
>     contents of the *Local Variables* buffer for submission in this
>     email). Is this intentional?

Yes.  (There are similar prompts elsewhere in Emacs, such as the
disabled-command prompt --- e.g., C-x C-l.)

> Q2: Exactly where/how is the result of option "!" stored?

Same place as any other customizations.  As I mentioned, I'll remove
the option to save for the case where custom-file and user-init-file
are nil.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]