From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrew M. Scott" Newsgroups: gmane.emacs.devel Subject: Re: Clarification on using safe-local-variable-values Date: Wed, 8 Mar 2006 13:43:32 -0700 Message-ID: <17423.16884.499749.8016@chls308.ch.intel.com> References: <200603081955.k28JtxHO009985@chls308.ch.intel.com> <87oe0gu1kb.fsf@stupidchicken.com> Reply-To: "Andrew M. Scott" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141850684 31336 80.91.229.2 (8 Mar 2006 20:44:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 20:44:44 +0000 (UTC) Cc: "Andrew M. Scott" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 08 21:44:35 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 1FH5Vn-0005NO-Lc for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2006 21:43:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH5Vn-0007CN-2z for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2006 15:43:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FH5VV-0006qx-FE for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:43:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FH5VR-0006L5-Jk for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:43:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH5VR-0006KT-GX for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:43:37 -0500 Original-Received: from [134.134.136.21] (helo=orsmga101.jf.intel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FH5YM-0005Bl-1M for emacs-devel@gnu.org; Wed, 08 Mar 2006 15:46:38 -0500 Original-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 08 Mar 2006 12:43:35 -0800 Original-Received: from sedona.ch.intel.com (HELO sedona.intel.com) ([143.182.201.200]) by orsmga001.jf.intel.com with ESMTP; 08 Mar 2006 12:43:35 -0800 X-IronPort-AV: i="4.02,176,1139212800"; d="scan'208"; a="12051352:sNHT187368097" Original-Received: from chls308.ch.intel.com (chls308.ch.intel.com [143.182.232.83]) by sedona.intel.com (8.12.10/8.12.9/d:) with ESMTP id k28KhXlP001883; Wed, 8 Mar 2006 13:43:33 -0700 (MST) X-Envelope-From: amscott1@sedona.ch.intel.com Original-Received: from chls308.ch.intel.com (localhost [127.0.0.1]) by chls308.ch.intel.com (8.12.10/8.12.8/MailSET/client) with ESMTP id k28KhX2Z014150; Wed, 8 Mar 2006 13:43:33 -0700 Original-Received: (from amscott1@localhost) by chls308.ch.intel.com (8.12.10/8.12.8/MailSET/Submit) id k28KhWFO014147; Wed, 8 Mar 2006 13:43:32 -0700 Original-To: Chong Yidong In-Reply-To: <87oe0gu1kb.fsf@stupidchicken.com> X-Mailer: VM 7.19 under Emacs 22.0.50.1 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:51381 Archived-At: Chong, Chong> For Emacs -Q, you should not be prompted to save, since Chong> there is no custom-file or user-init-file. I will change Chong> this. >> Q2: Exactly where/how is the result of option "!" stored? Chong> Same place as any other customizations. As I mentioned, Chong> I'll remove the option to save for the case where Chong> custom-file and user-init-file are nil. I did use emacs -Q for the bug report. I see the same symptoms when using % 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. Andy Scott