From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Strange change in backquote expansion Date: Wed, 22 Aug 2007 22:33:48 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187814797 17421 80.91.229.12 (22 Aug 2007 20:33:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 20:33:17 +0000 (UTC) Cc: Stefan =?iso-8859-1?Q?Reich=F6r?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 22 22:33:15 2007 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.50) id 1INwt4-00018h-Re for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2007 22:33:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INwt4-0001l8-CL for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2007 16:33:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INwsp-0001Zp-Hd for emacs-devel@gnu.org; Wed, 22 Aug 2007 16:32:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INwso-0001ZA-2T for emacs-devel@gnu.org; Wed, 22 Aug 2007 16:32:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INwsn-0001Z2-O8 for emacs-devel@gnu.org; Wed, 22 Aug 2007 16:32:53 -0400 Original-Received: from ns.km1136.keymachine.de ([62.141.58.119] helo=km1136.keymachine.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INwsn-0006sV-H7 for emacs-devel@gnu.org; Wed, 22 Aug 2007 16:32:53 -0400 Original-Received: from kenny.sha-bang.de (xdslc225.osnanet.de [212.95.102.225]) (authenticated bits=0) by km1136.keymachine.de (8.12.11.20060308/8.12.10) with ESMTP id l7MKWlEx004602; Wed, 22 Aug 2007 22:32:47 +0200 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1INwtg-0002Xi-M5; Wed, 22 Aug 2007 22:33:48 +0200 In-Reply-To: (Stefan Monnier's message of "Tue\, 21 Aug 2007 15\:09\:22 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 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:76988 Archived-At: Stefan Monnier wrote: >> Old Emacs (including 22.0): >> (defmacro debug-macro-test (arg) >> ``(,,@(list (list arg)))) > >> (macroexpand '(debug-macro-test foo)) >> => (list (foo)) > > I believe the patch below fixes it (installed on the 22 branch). I can confirm that your patch fixes the problem for my example code as well as for the original code. Can it be installed to trunk to? cheers sascha -- Sascha Wilde "The primary difference [...] is that the Java program will reliably and obviously crash, whereas the C program will do something obscure." -- Java Language Tutorial