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: Fri, 2 Aug 2002 16:14:21 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208022214.g72MELZ01879@aztec.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> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1028326470 14106 127.0.0.1 (2 Aug 2002 22:14:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2002 22:14:30 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, 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.33 #1 (Debian)) id 17akgn-0003fP-00 for ; Sat, 03 Aug 2002 00:14:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17al0A-0002zC-00 for ; Sat, 03 Aug 2002 00:34:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17akhL-0002rT-00; Fri, 02 Aug 2002 18:15:03 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17akgg-0002oE-00; Fri, 02 Aug 2002 18:14:22 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g72MEZ526307; Fri, 2 Aug 2002 16:14:35 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g72MELZ01879; Fri, 2 Aug 2002 16:14:21 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: marius.vollmer@uni-dortmund.de In-Reply-To: (message from Marius Vollmer on 02 Aug 2002 14:09:01 +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:6255 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6255 When coding-system-for-write would have been designed for Scheme, I would expect it to hidden behind an abstraction; it would not be a variable that you can set. It could be offered as (with-coding-system-for-write 'foo (lambda () ...)) This approach is unacceptable. There are hundreds of such variables. If we had to create several macros-and-functions for each one, and document them, that would be a gigantic amount of work (which we cannot afford to do) and would result in a bloated and cumbersome system. These variables in Lisp must be variables in Scheme as well. (with-variable 'coding-system-for-write 'foo ...statements...) That would be feasible, but it is much less clean that handling coding-system-for-write as a variable. works for all variables. Of course, you might as well call it `let', then :-) Exactly. We should extend Guile so that its mechanism for handling variables dynamically is up to the job; then we should use that mechanism for these variables.