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: Emacs Lisp and Guile Date: Tue, 13 Aug 2002 23:15:34 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208140515.g7E5FYU07493@wijiji.santafe.edu> 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> <200208130147.g7D1lsR07028@wijiji.santafe.edu> <87bs86lghc.fsf@zagadka.ping.de> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029302154 12699 127.0.0.1 (14 Aug 2002 05:15:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 05:15:54 +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 17eqVc-0003Ii-00 for ; Wed, 14 Aug 2002 07:15:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17equT-00025O-00 for ; Wed, 14 Aug 2002 07:41:33 +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 17eqWX-0004OV-00; Wed, 14 Aug 2002 01:16:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17eqVa-0004GS-00 for emacs-devel@gnu.org; Wed, 14 Aug 2002 01:15:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17eqVR-0004Cq-00 for emacs-devel@gnu.org; Wed, 14 Aug 2002 01:15:48 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17eqVQ-0004CE-00; Wed, 14 Aug 2002 01:15:40 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7E5Fq512684; Tue, 13 Aug 2002 23:15:52 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7E5FYU07493; Tue, 13 Aug 2002 23:15:34 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: mvo@zagadka.ping.de In-Reply-To: <87bs86lghc.fsf@zagadka.ping.de> (message from Marius Vollmer on 13 Aug 2002 21:13:19 +0200) 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:6525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6525 Yes, the variables that can run code on access need to be specially constructed. In Emacs, there is a fixed set of Lisp variables that forward to C variables. It would be fine to construct them specially. However, any Lisp variable could have buffer-local and frame-local bindings. So if we are going to support the optimization of not swapping in these bindings until a reference occurs, it would be necessary to support it for variables that have not been constructed specially.