From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Clarification on using safe-local-variable-values Date: Sun, 12 Mar 2006 00:47:17 +0100 Message-ID: References: <200603081955.k28JtxHO009985@chls308.ch.intel.com> <87oe0gu1kb.fsf@stupidchicken.com> <17423.16884.499749.8016@chls308.ch.intel.com> <87u0a8a9ki.fsf@stupidchicken.com> <17423.28072.2696.723424@chls308.ch.intel.com> <87zmk05vrz.fsf@stupidchicken.com> <87irqn659u.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142128127 30869 80.91.229.2 (12 Mar 2006 01:48:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2006 01:48:47 +0000 (UTC) Cc: "Andrew M. Scott" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 12 02:48: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 1FIFgi-0005wt-9m for ged-emacs-devel@m.gmane.org; Sun, 12 Mar 2006 02:48:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIFgh-0006ss-Oq for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 20:48:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIFgU-0006sR-BI for emacs-devel@gnu.org; Sat, 11 Mar 2006 20:47:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIFgS-0006s5-AR for emacs-devel@gnu.org; Sat, 11 Mar 2006 20:47:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIFgS-0006s1-51 for emacs-devel@gnu.org; Sat, 11 Mar 2006 20:47:48 -0500 Original-Received: from [193.162.153.10] (helo=pqueueb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIFk5-0001FW-OJ for emacs-devel@gnu.org; Sat, 11 Mar 2006 20:51:33 -0500 Original-Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by pqueueb.post.tele.dk (Postfix) with ESMTP id EB8BC3DE127 for ; Sun, 12 Mar 2006 00:49:04 +0100 (CET) Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id D486B262801; Sun, 12 Mar 2006 00:48:56 +0100 (CET) Original-To: Chong Yidong In-Reply-To: <87irqn659u.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 09 Mar 2006 09:50:53 -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:51511 Archived-At: Chong Yidong writes: > Note that allowing saves for risky local variables is practically > equivalent to eliminating the concept of risky local variables. Why? If we approve it for a specific combination of variables/values in a specific file only, how can it be equivalent? > If > Emacs allows saves for any variable not considered safe, the > `risky-local-variable' property has no special effect (as far as the > loading of local variables is concerned). Did you read my proposal to do an MD5 checksum over the local variables + filename if any of the variables are risky? I think it is a _safe_ way to save a specific combination of risky variables. -- Kim F. Storm http://www.cua.dk