From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] allow function values for `enable-local-eval' Date: Thu, 4 Jul 2002 01:07:41 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207040707.g6477fG05585@aztec.santafe.edu> References: <200206281741.g5SHfAa04345@santafe.santafe.edu> <87u1nnnqlp.fsf@floss.i-did-not-set--mail-host-address--so-shoot-me> <5xit42rjic.fsf@kfs2.cua.dk> <200206292222.g5TMMKx10256@santafe.santafe.edu> <5x8z4wzbw7.fsf@kfs2.cua.dk> <200207011410.g61EA0Q07792@aztec.santafe.edu> <5xr8inrvgr.fsf@kfs2.cua.dk> <200207021946.g62Jk9502033@aztec.santafe.edu> <200207022011.g62KBBv20071@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025771783 18759 127.0.0.1 (4 Jul 2002 08:36:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2002 08:36:23 +0000 (UTC) Cc: storm@cua.dk, kfogel@red-bean.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Q26B-0004sS-00 for ; Thu, 04 Jul 2002 10:36:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Q2C5-0002am-00 for ; Thu, 04 Jul 2002 10:42:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Q19z-0003kP-00; Thu, 04 Jul 2002 03:36:15 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Q0iM-0001ZX-00; Thu, 04 Jul 2002 03:07:42 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g6477iV20481; Thu, 4 Jul 2002 01:07:44 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g6477fG05585; Thu, 4 Jul 2002 01:07:41 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-Reply-To: <200207022011.g62KBBv20071@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5445 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5445 I'm sure crackers will be happy about it. The argument passed to `c-add-style' allows you to buffer-locally set any variable to any value whatsoever. Hardly "safe" in my book. I didn't realize that. It will be necessary then to check the arguments to c-add-style. Still, it is better to install this checking by default than to make users install it as a customization.