From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Clarification on using safe-local-variable-values Date: Wed, 08 Mar 2006 16:52:13 -0500 Message-ID: <87u0a8a9ki.fsf@stupidchicken.com> References: <200603081955.k28JtxHO009985@chls308.ch.intel.com> <87oe0gu1kb.fsf@stupidchicken.com> <17423.16884.499749.8016@chls308.ch.intel.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142016604 12001 80.91.229.2 (10 Mar 2006 18:50:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2006 18:50:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 10 19:50:03 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHmgI-0004o6-By for ged-emacs-devel@m.gmane.org; Fri, 10 Mar 2006 19:49:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHmgI-0003GP-7x for ged-emacs-devel@m.gmane.org; Fri, 10 Mar 2006 13:49:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FH6Xd-00058O-Qo for emacs-devel@gnu.org; Wed, 08 Mar 2006 16:49:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FH6Xa-00058A-Bq for emacs-devel@gnu.org; Wed, 08 Mar 2006 16:49:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH6Xa-000587-7y for emacs-devel@gnu.org; Wed, 08 Mar 2006 16:49:54 -0500 Original-Received: from [18.19.6.82] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FH6aV-0003VZ-IU for emacs-devel@gnu.org; Wed, 08 Mar 2006 16:52:55 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 7478F120936; Wed, 8 Mar 2006 16:52:13 -0500 (EST) Original-To: amscott1@sedona.ch.intel.com (Andrew M. Scott) In-Reply-To: <17423.16884.499749.8016@chls308.ch.intel.com> (Andrew M. Scott's message of "Wed, 8 Mar 2006 13:43:32 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51432 Archived-At: "Andrew M. Scott" 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))