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: Risky local variable mechanism Date: Fri, 10 Feb 2006 12:54:09 -0500 Message-ID: <87mzgzumke.fsf@stupidchicken.com> References: <87mzhbly89.fsf-monnier+emacs@gnu.org> <87k6c3ojyp.fsf@stupidchicken.com> <87u0b7f8ym.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139618430 5514 80.91.229.6 (11 Feb 2006 00:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2006 00:40:30 +0000 (UTC) Cc: "Kim F. Storm" , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 01:40:03 2006 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1F7chu-00051O-00 for ; Fri, 10 Feb 2006 19:09:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7cht-0006Ts-A5 for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2006 13:09:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7cS9-000688-ED for emacs-devel@gnu.org; Fri, 10 Feb 2006 12:53:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7cS4-00063j-KP for emacs-devel@gnu.org; Fri, 10 Feb 2006 12:53:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7cRj-0005gM-BY for emacs-devel@gnu.org; Fri, 10 Feb 2006 12:52:39 -0500 Original-Received: from [18.19.6.82] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7cVU-0001nI-0t; Fri, 10 Feb 2006 12:56:32 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 5177D12090E; Fri, 10 Feb 2006 12:54:09 -0500 (EST) Original-To: Stefan Monnier In-Reply-To: <87u0b7f8ym.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 10 Feb 2006 12:03:11 -0500") 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:50347 Archived-At: Stefan Monnier writes: >> Each local variable can be safe, risky, or neither. A variable-value >> pair is safe if it is found in the new customizable alist >> `safe-local-variables', or the variable's `safe-local-variables' >> property is t, or the variable's `safe-local-variables' property is a >> function that evaluates to t with that value. > > The property should probably not be called `safe-local-variables' since it > applies to a single variable and talks about its possible values. I.e. it > should be something like `safe-local-variable' or `safe-local-values'. Sorry: the property is called `safe-local-variable', not `safe-local-variables'. It is in existing code.