From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] allow function values for `enable-local-eval' Date: Wed, 03 Jul 2002 11:28:09 +1000 Sender: emacs-devel-admin@gnu.org Message-ID: <878z4tmwgm.fsf@zip.com.au> 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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025659812 19333 127.0.0.1 (3 Jul 2002 01:30:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2002 01:30:12 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17PYyB-00051h-00 for ; Wed, 03 Jul 2002 03:30:11 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17PZ3T-0002W0-00 for ; Wed, 03 Jul 2002 03:35:39 +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 17PYyD-0006Zs-00; Tue, 02 Jul 2002 21:30:13 -0400 Original-Received: from sunny.pacific.net.au ([203.25.148.40]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17PYxC-0006S3-00 for ; Tue, 02 Jul 2002 21:29:10 -0400 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id g631T6Ss018648 for ; Wed, 3 Jul 2002 11:29:06 +1000 (EST) Original-Received: from localhost (ppp116.dyn228.pacific.net.au [203.143.228.116]) by wisma.pacific.net.au with ESMTP id LAA29931 for ; Wed, 3 Jul 2002 11:29:04 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.31 #1 (Debian)) id 17PYwE-00012O-00; Wed, 03 Jul 2002 11:28:10 +1000 Original-To: emacs-devel@gnu.org Mail-Copies-To: never Original-Lines: 16 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu) 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:5382 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5382 Richard Stallman writes: > > We can add something more completely general if desired, > but I suspect this will handle all actual needs. Its advantage > is that we can make it DTRT for most of the cases, straight out > of the box. Personally, just for what it's worth, I've been enabling eval only for certain files I know I want, according to their filename. (By re-running hack-local-variables in find-file-hooks with enable-local-eval suitably bound). For me it's not just a case of what the eval contains, for instance sometimes I want time-stamp updating (because a file belongs to me) but usually not (because I'll be submitting a diff somewhere and don't want to include a spurious change).