[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 16:52:13 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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

> % emacs &
> where:
> custom-file    is "/eng/eng10/amscott1/.emacs-customize"
> user-init-file is "/eng/eng10/amscott1/.emacs"
> C-h C-f ~/.mailrc
> After answering "!" in the *Local Variables* buffer,
> C-h v safe-local-variable-values returns nil
> FYI, both my ~/.emacs and ~/.emacs-customize are normally
> write-protected (under RCS), but even when checked out and running the
> same commands after emacs invocation, I don't see changes to
> safe-local-variables-values nor any files.

That is not my experience.  Please send a precise test case.  For
instance, with an empty user init file, I do

  echo "-*- foo: 1 -*-" > foo.txt
  emacs foo.txt
  C-h v safe-local-variable-values RET

  -| safe-local-variable-values is a variable defined in `files.el'.
     Its value is ((foo . 1))

reply via email to

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