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: Sat, 29 Jun 2002 16:22:13 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206292222.g5TMMDe10241@santafe.santafe.edu> References: <200206281741.g5SHfAa04345@santafe.santafe.edu> <87u1nnnqlp.fsf@floss.i-did-not-set--mail-host-address--so-shoot-me> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025389480 11430 127.0.0.1 (29 Jun 2002 22:24:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2002 22:24:40 +0000 (UTC) Cc: 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 17OQdz-0002yF-00 for ; Sun, 30 Jun 2002 00:24:39 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17OQhl-0000fA-00 for ; Sun, 30 Jun 2002 00:28:33 +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 17OQeG-0001Wd-00; Sat, 29 Jun 2002 18:24:56 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17OQbe-0001EB-00; Sat, 29 Jun 2002 18:22:14 -0400 Original-Received: from santafe.santafe.edu (santafe [192.12.12.2]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g5TMMEB14547; Sat, 29 Jun 2002 16:22:14 -0600 (MDT) Original-Received: (from rms@localhost) by santafe.santafe.edu (8.10.2+Sun/8.9.3) id g5TMMDe10241; Sat, 29 Jun 2002 16:22:13 -0600 (MDT) X-Authentication-Warning: santafe.santafe.edu: rms set sender to rms@santafe using -f Original-To: kfogel@red-bean.com 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:5269 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5269 It's precisely *because* providing such procedures is non-trivial that Emacs itself usually won't be able to provide a useful one. I don't know if it is non-trivial. Please show us your concrete application, and then let's discuss what to do about it. What if you want to automatically eval only expressions that have been cryptographically signed by someone you trust? Emacs is not in a position to implement this in a fully general way right now. That sounds like TCPA--it is very scary. We don't want to support that or anything like that. Yes, they all look roughly like this: /* * local variables: * eval: (load-file "../../tools/dev/svn-dev.el") * end: */ What does this file do? Is there a reason you can't define a major mode in it, and use that asyou would any other major mode?