From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))) Date: Tue, 04 Jan 2011 19:39:12 +0100 Message-ID: <87pqsca4z3.fsf@ambire.localdomain> References: <877hengesr.fsf@ambire.localdomain> <20110102.235234.923991058990597855.hanche@math.ntnu.no> <877hekbp0d.fsf@ambire.localdomain> <20110104.185613.410987030419274328.hanche@math.ntnu.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294166679 5651 80.91.229.12 (4 Jan 2011 18:44:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2011 18:44:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 19:44:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PaBs1-0005mJ-69 for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2011 19:44:33 +0100 Original-Received: from localhost ([127.0.0.1]:49892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaBs0-0001mr-Iw for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2011 13:44:32 -0500 Original-Received: from [140.186.70.92] (port=49842 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaBrv-0001mZ-LT for emacs-devel@gnu.org; Tue, 04 Jan 2011 13:44:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaBrt-00060j-Jr for emacs-devel@gnu.org; Tue, 04 Jan 2011 13:44:27 -0500 Original-Received: from smtp204.alice.it ([82.57.200.100]:42718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaBrt-00060W-Ek for emacs-devel@gnu.org; Tue, 04 Jan 2011 13:44:25 -0500 Original-Received: from ambire.localdomain (95.244.66.212) by smtp204.alice.it (8.5.124.08) id 4C88E33B096659F6 for emacs-devel@gnu.org; Tue, 4 Jan 2011 19:44:23 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1PaBmq-000553-9V for emacs-devel@gnu.org; Tue, 04 Jan 2011 19:39:12 +0100 In-Reply-To: <20110104.185613.410987030419274328.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Tue, 04 Jan 2011 18:56:13 +0100 (CET)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134264 Archived-At: () Harald Hanche-Olsen () Tue, 04 Jan 2011 18:56:13 +0100 (CET) if you want something to add to emacs for general use, it is easy enough to tweak my macro so it names the bound variable explicitly: (defmacro acond (var &rest clauses) ...) True again! Now, the trick is to get rid of VAR.