From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#11811: 23.2; Macro pushnew in cl.el captures variable x Date: Fri, 29 Jun 2012 01:06:08 +0200 Message-ID: References: <20120628204524.GC925@kekkonen.niksula.hut.fi> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340924879 18206 80.91.229.3 (28 Jun 2012 23:07:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2012 23:07:59 +0000 (UTC) Cc: 11811-done@debbugs.gnu.org To: Janne Nykopp Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 29 01:07:58 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SkNoX-0001ZY-91 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 01:07:53 +0200 Original-Received: from localhost ([::1]:45481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkNoX-0004Xf-1O for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jun 2012 19:07:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkNoU-0004XK-69 for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 19:07:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkNoS-0002WH-7V for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 19:07:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkNoS-0002Vs-19 for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 19:07:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SkNsX-0000FA-RL for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 19:12:01 -0400 Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jun 2012 23:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 11811 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 11811@debbugs.gnu.org, lekktu@gmail.com Original-Received: via spool by 11811-done@debbugs.gnu.org id=D11811.1340925074877 (code D ref 11811); Thu, 28 Jun 2012 23:12:01 +0000 Original-Received: (at 11811-done) by debbugs.gnu.org; 28 Jun 2012 23:11:14 +0000 Original-Received: from localhost ([127.0.0.1]:35967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkNri-0000E1-Fw for submit@debbugs.gnu.org; Thu, 28 Jun 2012 19:11:14 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:52071) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkNrc-0000Do-7O for 11811-done@debbugs.gnu.org; Thu, 28 Jun 2012 19:11:08 -0400 Original-Received: by pbcwy7 with SMTP id wy7so3538485pbc.3 for <11811-done@debbugs.gnu.org>; Thu, 28 Jun 2012 16:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=aiQ2JKSE1x77ckXEKIFzfVtVaUZDdSveFyvZ9HLGGuQ=; b=KcvKOHTW1mVjpNRHg7P02RprD4gmD/Wxm6y5RBTqYXDPkFDFKeKSxVtFYokSFMXZvQ hpfj3rm6hODAN4SapJxezPPh40RhTYhLmUgSFxvkP4iiJX1bHpMZre3GpfxS51iFDPFV P0koL5s/QZS8QGTsl8tQdplUCofyO0Z8zP7kpAd56ktF9O9AhtklkwxQHzMGUgcpf2Ja jBvI7qzz7nSLxpJvc72oPzZ2KFd1E/F+S0WNH0UDzdk1qgytvGYZSS30I8oz/Ngs1piQ bBb8STUVnSwMSk08TDJONerBSt5NT0WFrP9doDsWFmfUd/7DgZ3I1jErtjiUUVMoo5cf Khiw== Original-Received: by 10.66.74.66 with SMTP id r2mr405466pav.45.1340924808802; Thu, 28 Jun 2012 16:06:48 -0700 (PDT) Original-Received: by 10.142.162.16 with HTTP; Thu, 28 Jun 2012 16:06:08 -0700 (PDT) In-Reply-To: <20120628204524.GC925@kekkonen.niksula.hut.fi> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61392 Archived-At: On Thu, Jun 28, 2012 at 10:45 PM, Janne Nykopp wrote: > The macro `pushnew' seems to capture variable x when no keyword > arguments are given: > (macroexpand '(pushnew 'a x)) =3D> > (let ((x (quote a))) (if (memql x x) x (setq x (cons x x)))) Yes. > This bug still exists in emacs-24 developer branch cl.el revision > 108062 (latest version at the time of writing). Should be fixed in the trunk, in revno:108794. =C2=A0 =C2=A0 Juanma