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: [PATCH] allow function values for `enable-local-eval' Date: Thu, 04 Jul 2002 14:46:49 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200207041846.g64Iknu30886@rum.cs.yale.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> <200207040707.g6477fG05585@aztec.santafe.edu> <200207041528.g64FSIK29686@rum.cs.yale.edu> <5xy9crb7wv.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025810284 22238 127.0.0.1 (4 Jul 2002 19:18:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2002 19:18:04 +0000 (UTC) Cc: "Stefan Monnier" , Richard Stallman , 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 17QC79-0005mZ-00 for ; Thu, 04 Jul 2002 21:18:03 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17QCDH-0000B0-00 for ; Thu, 04 Jul 2002 21:24:23 +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 17QC7H-00039Y-00; Thu, 04 Jul 2002 15:18:11 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17QBcx-00015c-00; Thu, 04 Jul 2002 14:46:51 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g64Iknu30886; Thu, 4 Jul 2002 14:46:49 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) 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:5478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5478 > "Stefan Monnier" writes: > > > > 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. > > > > Huh? I personally don't see the point of using `c-add-style' in > > the local variables section. My understanding is that one guy did that > > and mentioned it here, but I have seen no evidence that anybody > > else does. > > It seems simpler to just set the corresponding variables one by one > > in the local variables section. > > This requires that you are allowed to change the files!!! My point is just that since it's simpler (and doesn't require confirmation) to set the variables one by one it's unlikely that this `c-add-tyle' is often used in local variables sections. So I see no reason to provide special support for it. (contrary to the case of `put', for example). Stefan