From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] allow function values for `enable-local-eval' Date: 05 Jul 2002 10:26:12 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: 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> <200207041846.g64Iknu30886@rum.cs.yale.edu> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025832410 21125 127.0.0.1 (5 Jul 2002 01:26:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2002 01:26:50 +0000 (UTC) Cc: storm@cua.dk (Kim F. Storm), 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 17QHs2-0005Uc-00 for ; Fri, 05 Jul 2002 03:26:50 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17QHyH-00009q-00 for ; Fri, 05 Jul 2002 03:33:18 +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 17QHsR-0001kT-00; Thu, 04 Jul 2002 21:27:15 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17QHrl-0001hP-00; Thu, 04 Jul 2002 21:26:33 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g651QLe14946; Fri, 5 Jul 2002 10:26:21 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g651QLo12548; Fri, 5 Jul 2002 10:26:21 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g651QK426420; Fri, 5 Jul 2002 10:26:20 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g651QCK19633; Fri, 5 Jul 2002 10:26:12 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 4E85A3710; Fri, 5 Jul 2002 10:26:12 +0900 (JST) Original-To: "Stefan Monnier" System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200207041846.g64Iknu30886@rum.cs.yale.edu> Original-Lines: 19 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:5500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5500 "Stefan Monnier" writes: > 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-style' is often used in local variables sections. I don't do either myself, but since c-add-style can change quite a few individual parameters, I suspect many people might _like_ to use it if doing so was convenient. It's also more descriptive, since it names the style you want to use. [Of course, I think that the nicest thing to do for this particular case would be to have some sort of `c-style' variable you could set in the _header_, e.g.: /* -*- c-style: k&r -*- */ or something... that would be both convenient and safe, and it looks nice too... :-)] -miles -- The secret to creativity is knowing how to hide your sources. --Albert Einstein