From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: The `risky-local-variable' blacklist Date: 01 Sep 2004 10:36:29 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094049457 12287 80.91.224.253 (1 Sep 2004 14:37:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 14:37:37 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 01 16:37:14 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2WEb-0002p4-00 for ; Wed, 01 Sep 2004 16:37:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2WJW-00019E-Ia for ged-emacs-devel@m.gmane.org; Wed, 01 Sep 2004 10:42:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2WJP-00018w-8H for emacs-devel@gnu.org; Wed, 01 Sep 2004 10:42:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2WJO-00018d-Li for emacs-devel@gnu.org; Wed, 01 Sep 2004 10:42:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2WJO-00018a-It for emacs-devel@gnu.org; Wed, 01 Sep 2004 10:42:10 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2WED-0002kQ-1O; Wed, 01 Sep 2004 10:36:49 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id AE751B3027C; Wed, 1 Sep 2004 10:36:30 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 3B7EC8CA23; Wed, 1 Sep 2004 10:36:30 -0400 (EDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: Original-Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26694 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26694 > Quoting from NEWS, we already added the foundation for this: > ** The variable `safe-local-eval-forms' specifies a list of forms that > are ok to evaluate when they appear in an `eval' local variables > specification. Normally Emacs asks for confirmation before evaluating > such a form, but if the form appears in this list, no confirmation is > needed. Indeed, when assessing whether assining foo to bar is safe, we could just look up safe-local-eval-forms and see if (setq bar foo) is there. Stefan