Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Dec 2007 17:53:34 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id lBAGrV4H014238 for ; Mon, 10 Dec 2007 17:53:31 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id lBAGmXen012056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 17:48:35 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id lBADfe3Y008751; Mon, 10 Dec 2007 17:48:29 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.0) with spool id 218105 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 10 Dec 2007 17:48:29 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id lBAGmTct008786 for ; Mon, 10 Dec 2007 17:48:29 +0100 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id lBAGmHaH011006 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 10 Dec 2007 17:48:23 +0100 Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1lnk-0003e9-C5; Mon, 10 Dec 2007 11:48:16 -0500 Received: by lola.goethe.zz (Postfix, from userid 1002) id F1EF31C4CE34; Mon, 10 Dec 2007 17:33:14 +0100 (CET) References: <87k5nxw76i.fsf@buckbeak.hogwarts> <87tzmwkdnr.fsf@buckbeak.hogwarts> <20071209212128.GA30932@irwin.vpn.uni-freiburg.de> <475D1892.70201@elvenkind.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id lBAGmTct008787 Message-ID: <85aboipl11.fsf@lola.goethe.zz> Date: Mon, 10 Dec 2007 17:33:14 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Kastrup Subject: Re: [NTG-pdftex] \expanded To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: ("Morten =?iso-8859-1?Q?H=F8gholm=22's?= message of "Mon, 10 Dec 2007 13:07:56 +0100") Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 10 Dec 2007 16:53:34.0974 (UTC) FILETIME=[33ECD9E0:01C83B4D] Status: R X-Status: X-Keywords: X-UID: 5113 Morten Høgholm writes: > I would assume the following should be equivalent except for the > latter being expandable. > > \def\cmd#1{\edef\tempa{#1}\expandafter\cmd\expandafter{\tempa}} > > \def\cmd#1{\expandafter\cmd\expandafter{\expanded{#1}}} No. The former would complain about isolated # tokens in #1 (and collapse double ones). -- David Kastrup, Kriemhildstr. 15, 44793 Bochum