From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp and Guile Date: 12 Aug 2002 16:51:46 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207200035.g6K0ZAb27891@aztec.santafe.edu> <200207212015.g6LKF4c00874@aztec.santafe.edu> <200207251807.g6PI75d07615@aztec.santafe.edu> <874renlito.fsf@zagadka.ping.de> <200207271853.g6RIre710837@aztec.santafe.edu> <200207310554.g6V5ssc16508@aztec.santafe.edu> <200208021743.g72HhkX01596@aztec.santafe.edu> <200208071424.g77EO0k03146@wijiji.santafe.edu> <200208091639.g79GdbQW003675@santafe.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029163951 11347 127.0.0.1 (12 Aug 2002 14:52:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2002 14:52:31 +0000 (UTC) Cc: neil@ossau.uklinux.net, raeburn@raeburn.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17eGYY-0002wu-00 for ; Mon, 12 Aug 2002 16:52:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17eGwc-0007ZF-00 for ; Mon, 12 Aug 2002 17:17:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17eGZG-0005nP-00; Mon, 12 Aug 2002 10:53:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17eGYK-0005X6-00 for emacs-devel@gnu.org; Mon, 12 Aug 2002 10:52:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17eGYI-0005WE-00 for emacs-devel@gnu.org; Mon, 12 Aug 2002 10:52:15 -0400 Original-Received: from krusty.dt.e-technik.uni-dortmund.de ([129.217.163.1] helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.10) id 17eGYI-0005W8-00; Mon, 12 Aug 2002 10:52:14 -0400 Original-Received: from burns.dt.e-technik.uni-dortmund.de (burns.dt.e-technik.uni-dortmund.de [129.217.163.19]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 70C08A3832; Mon, 12 Aug 2002 16:52:13 +0200 (CEST) Original-Received: by burns.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 69E9025F13; Mon, 12 Aug 2002 16:51:47 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: <200208091639.g79GdbQW003675@santafe.santafe.edu> Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 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:6459 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6459 Richard Stallman writes: > But I think that running arbitrary code is not good > design--variables should be variables, not act like functions. But they could be used as the basis for all kind of funny variable-like behavior. I don't think we want to support all possibilities directly in the Guile core. Having variables that act like functions is enough and we can build the rest on top of them, without having to change the core. The latter is important since people might want to replace the execution engine of Guile (with a compiler to machine code, say). The TCL notification example was meant to show that there are also other behaviors of variables that could be implemented on top of variables-that-act-like-functions. We could do that without having to add an explicit notification feature to the Guile core. Variables-that-act-like-functions can also be abused for things that are better done by real functions, but I think it is wrong to not offer powerful features only because they can be abused. > Can you look for some way to implement forwarding facilities in > Guile? Ok.