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 15:24:52 -0500 Message-ID: <87oe0gu1kb.fsf@stupidchicken.com> References: <200603081955.k28JtxHO009985@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 1141849417 26058 80.91.229.2 (8 Mar 2006 20:23:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 20:23:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 08 21:23:33 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 1FH5BZ-0006rN-Q1 for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2006 21:23:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH5BZ-0004k6-2F for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2006 15:23:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FH5B9-0004Hw-9w for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:22:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FH5B6-000415-AK for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:22:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH5B5-0003yQ-H7 for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:22:35 -0500 Original-Received: from [18.19.6.82] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FH5E0-0003Qq-1s for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:25:36 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 8267B120936; Wed, 8 Mar 2006 15:24:52 -0500 (EST) Original-To: "Andrew M. Scott" In-Reply-To: <200603081955.k28JtxHO009985@chls308.ch.intel.com> (Andrew M. Scott's message of "Wed, 8 Mar 2006 12:55:59 -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:51378 Archived-At: "Andrew M. Scott" 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.