From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: EWMH package, please review. Date: 18 Oct 2003 20:05:22 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <0864E46B-FD36-11D7-8B0B-00039363E640@swipnet.se> <3F917CB2.9000001@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066500612 3312 80.91.224.253 (18 Oct 2003 18:10:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2003 18:10:12 +0000 (UTC) Cc: ttn@glug.org, emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 18 20:10:09 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAvWj-0000Qa-00 for ; Sat, 18 Oct 2003 20:10:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAvWj-0000ix-00 for ; Sat, 18 Oct 2003 20:10:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAvTW-0002xT-8H for emacs-devel@quimby.gnus.org; Sat, 18 Oct 2003 14:06:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AAvT7-0002x1-5B for emacs-devel@gnu.org; Sat, 18 Oct 2003 14:06:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AAvSb-0002jW-HY for emacs-devel@gnu.org; Sat, 18 Oct 2003 14:06:24 -0400 Original-Received: from [217.80.157.149] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AAvSa-0002hc-Ry for emacs-devel@gnu.org; Sat, 18 Oct 2003 14:05:53 -0400 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h9II5Rxc012594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Oct 2003 20:05:27 +0200 Original-Received: (from dak@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h9II5Nft012589; Sat, 18 Oct 2003 20:05:23 +0200 Original-To: "Jan D." In-Reply-To: <3F917CB2.9000001@swipnet.se> Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17234 "Jan D." writes: > Thien-Thi Nguyen wrote: > > From: "Jan D." > > Date: Mon, 13 Oct 2003 06:30:54 +0200 > > I was told to avoid setq when I learned lisp :-). > > but whoever told you that was doing a setq on your brain, > > so why would you trust that advice w/o question? > > It was functional programming that we used Lisp for (never reassign > variables, among other things), so it kind of stuck. And there was > questions asked at the time :-). You mean things like doing recursion without having a lexical possibility to let a lambda function refer to itself? Emacs-Lisp: ((lambda (f g n) (funcall g (funcall f f g) n)) (lambda (f g) `(lambda (n) (,g (funcall ,f ,f ,g) n))) (lambda (f n) (if (zerop n) 1 (* n (funcall f (1- n))))) 5) Common Lisp: delete the ` and , -- David Kastrup, Kriemhildstr. 15, 44793 Bochum