From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Lexical binding Date: Mon, 4 Apr 2011 02:12:56 +0200 Message-ID: References: <4D98629F.9070506@gnu.org> <4D99038B.7060702@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301876028 12833 80.91.229.12 (4 Apr 2011 00:13:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2011 00:13:48 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Christian Ohler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 04 02:13:44 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 1Q6XQO-0003yK-7A for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2011 02:13:44 +0200 Original-Received: from localhost ([127.0.0.1]:43491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6XQN-0006YA-Gb for ged-emacs-devel@m.gmane.org; Sun, 03 Apr 2011 20:13:43 -0400 Original-Received: from [140.186.70.92] (port=58153 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6XQI-0006XZ-Q7 for emacs-devel@gnu.org; Sun, 03 Apr 2011 20:13:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6XQH-0007PF-P8 for emacs-devel@gnu.org; Sun, 03 Apr 2011 20:13:38 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:37523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6XQG-0007P3-MR; Sun, 03 Apr 2011 20:13:36 -0400 Original-Received: by gwaa12 with SMTP id a12so2475932gwa.0 for ; Sun, 03 Apr 2011 17:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=hf+GYXPIG5jgL36aCcjOPh+9T6rphH1V0Ru0QmB593M=; b=TtqhzSD7OvWeB6ERHquVZHoLY90yDAyuB7OurwzpbOvSPy3PR7HnfCtcBgK6y4OPF0 GkMzlxbcWwrdH5GsLXh96Po+3u/zqqxs53hZUHVh/2KS+0McKxqXQD5Ew4HXWu6G3c/W WPzK0Iznutf8mu5bppIQ/dsH4c6fRl8WSpUbA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Q73jlB1tKJRzGdUZ5boNHUZcy5gsMLqUD4e/07jX8UH61xovWS8V/ZFFIY2j6O2DkB y3QDvX4YH0Cd82PyMAVxM5jgrhmqyjagADkDI2S/V3EupTa9RuNxHQpdH2EaouCF9RK1 U5rFvy9iUYRkQ1E/1fXiHgDnxDw/atJgY3UCg= Original-Received: by 10.150.170.6 with SMTP id s6mr6196931ybe.305.1301876016119; Sun, 03 Apr 2011 17:13:36 -0700 (PDT) Original-Received: by 10.147.182.17 with HTTP; Sun, 3 Apr 2011 17:12:56 -0700 (PDT) In-Reply-To: <4D99038B.7060702@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 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:138092 Archived-At: On Mon, Apr 4, 2011 at 01:32, Christian Ohler wrote: > How about: > > =C2=A0 =C2=A0(loop for (name width . rest) in bs-attributes-list > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0do (ignore name rest) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (numberp width) sum width) All these are just workarounds, none of them pretty. I think I'll go with using nil in the destructuring. > IIRC, Common Lisp distinguishes between (declare (ignore ...)) and (decla= re > (ignorable ...)). =C2=A0The latter is useful for macros that introduce bi= ndings > that may or may not be used. Yes, "3.8 The Evaluation and Compilation Dictionary", "Declaration IGNORE, IGNORABLE" in the Common Lisp Hyperspec. > If this is the > case, then I agree it's not quite expressive enough, and requires idioms > like the above (with many macros, not just `loop'). Agreed. =C2=A0 =C2=A0 Juanma