From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp and Guile Date: Fri, 02 Aug 2002 14:37:28 +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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1028291857 10539 127.0.0.1 (2 Aug 2002 12:37:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2002 12:37:37 +0000 (UTC) Cc: rms@gnu.org, 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 17abgV-0002js-00 for ; Fri, 02 Aug 2002 14:37:35 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17abzf-0006KN-00 for ; Fri, 02 Aug 2002 14:57:23 +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 17abgw-0004K7-00; Fri, 02 Aug 2002 08:38:02 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17abgh-0004J0-00; Fri, 02 Aug 2002 08:37:47 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g72CbZb03837; Fri, 2 Aug 2002 14:37:35 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id OAA20449; Fri, 2 Aug 2002 14:37:29 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 20BF13ADDC; Fri, 2 Aug 2002 14:37:28 +0200 (CEST) Original-To: Marius Vollmer In-Reply-To: (Marius Vollmer's message of "02 Aug 2002 14:09:01 +0200") Original-Lines: 30 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-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:6248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6248 Marius Vollmer writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > >> What would be another way to achieve the same effect that's now >> achieved by these variables? Take the example of >> coding-system-for-write: how would you do it in Scheme? > > 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 () ...)) I see. What would with-coding-system-for-write look like? What would functions look like that want to find out which coding system to use for writing? Maybe something can be abstracted so that (with-variable 'coding-system-for-write 'foo ...statements...) works for all variables. Of course, you might as well call it `let', then :-) kai --=20 A large number of young women don't trust men with beards. (BFBS Radio)