From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6858 invoked by alias); 22 Jan 2007 20:19:08 -0000 Received: (qmail 6849 invoked by uid 22791); 22 Jan 2007 20:19:08 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 22 Jan 2007 20:19:03 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l0MKIwCq006839; Mon, 22 Jan 2007 15:18:58 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l0MKIrGh011594; Mon, 22 Jan 2007 15:18:53 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l0MKIoJX030684; Mon, 22 Jan 2007 15:18:53 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id C13948001CA; Mon, 22 Jan 2007 15:18:50 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id l0MKIopY014379; Mon, 22 Jan 2007 15:18:50 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id l0MKIocT014376; Mon, 22 Jan 2007 15:18:50 -0500 To: Joern Rennecke Cc: cgen@sources.redhat.com Subject: Re: bug when eliding arguments with default values? References: <20070118152724.GC1641@elsdt-razorfish.arc.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 22 Jan 2007 20:19:00 -0000 In-Reply-To: <20070118152724.GC1641@elsdt-razorfish.arc.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00017.txt.bz2 Joern Rennecke writes: > I have some problem where I thougt an optional argument would be useful > for a macro that usually doesn't take an argument. > The actual code is a bit complex, so here is a stripped down example: > guile> (define-pmacro '(foo (arg1 . 1)) '(bar arg1)) > guile> (pmacro-expand '(foo)) It looks like a bug, but honestly, I don't know if anyone is likely to fix it quickly. It's probably closest to dje's heart. - FChE