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: Strange change in backquote expansion Date: Sat, 18 Aug 2007 23:34:19 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187472721 26303 80.91.229.12 (18 Aug 2007 21:32:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2007 21:32:01 +0000 (UTC) Cc: Stefan =?iso-8859-1?Q?Reich=F6r?= To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 18 23:31:58 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 1IMVti-0004Yn-2f for ged-emacs-devel@m.gmane.org; Sat, 18 Aug 2007 23:31:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMVtj-0008UK-08 for ged-emacs-devel@m.gmane.org; Sat, 18 Aug 2007 17:31:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IMVtg-0008Sy-A0 for emacs-devel@gnu.org; Sat, 18 Aug 2007 17:31:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IMVtf-0008Rb-5K for emacs-devel@gnu.org; Sat, 18 Aug 2007 17:31:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMVtf-0008RM-00 for emacs-devel@gnu.org; Sat, 18 Aug 2007 17:31:51 -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 1IMVtc-0000vr-RM for emacs-devel@gnu.org; Sat, 18 Aug 2007 17:31:49 -0400 Original-Received: from kenny.sha-bang.de (xdslca100.osnanet.de [89.166.128.100]) (authenticated bits=0) by km1136.keymachine.de (8.12.11.20060308/8.12.10) with ESMTP id l7ILVbAN018255; Sat, 18 Aug 2007 23:31:38 +0200 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1IMVw3-0006GM-9A; Sat, 18 Aug 2007 23:34:19 +0200 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:76725 Archived-At: Hi *, I'm not quite sure what to think about it, but something changed in expansion of macro expansion, more precisely in expansion of backquotes: Old Emacs (including 22.0): (defmacro debug-macro-test (arg) ``(,,@(list (list arg)))) (macroexpand '(debug-macro-test foo)) => (list (foo)) Current HEAD: (macroexpand '(debug-macro-test foo)) => (list ((foo))) note the extra parenthesis. Please don't ask, what the code is supposed to do, this is a extremely boiled down version of the problem. I stumbled across this problem when I noticed that DVC stopped working in HEAD recently. (They are using a somewhat esoteric macro, which suffers from this change in behavior.) cheers sascha -- Sascha Wilde Well, *my* brain likes to think it's vastly more powerful than any finite Turing machine but it hasn't proven that to me... -- Christopher Koppler in comp.lang.lisp