Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Mon, 10 Dec 2007 13:12:51 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id lBACCjqK015911 for ; Mon, 10 Dec 2007 13:12:46 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id lBAC6Akw018802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 13:06:10 +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 lB9N1KMi008751; Mon, 10 Dec 2007 13:08:09 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.0) with spool id 215594 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 10 Dec 2007 13:08:08 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id lBAC887x013806 for ; Mon, 10 Dec 2007 13:08:08 +0100 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id lBAC5vJk018531 for ; Mon, 10 Dec 2007 13:06:01 +0100 Received: by ug-out-1314.google.com with SMTP id 30so1701237ugc for ; Mon, 10 Dec 2007 04:07:59 -0800 (PST) Received: by 10.66.237.14 with SMTP id k14mr943645ugh.1197288479565; Mon, 10 Dec 2007 04:07:59 -0800 (PST) Received: from gdhcp88.gbar.dtu.dk ( [192.38.95.88]) by mx.google.com with ESMTPS id p39sm2204608ugd.2007.12.10.04.07.58 (version=SSLv3 cipher=OTHER); Mon, 10 Dec 2007 04:07:58 -0800 (PST) Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <87k5nxw76i.fsf@buckbeak.hogwarts> <87tzmwkdnr.fsf@buckbeak.hogwarts> <20071209212128.GA30932@irwin.vpn.uni-freiburg.de> <475D1892.70201@elvenkind.com> Content-Transfer-Encoding: 7bit User-Agent: Opera Mail/9.24 (MacPPC) Message-ID: Date: Mon, 10 Dec 2007 13:07:56 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?iso-8859-1?Q?Morten_H=F8gholm?= Subject: Re: [NTG-pdftex] \expanded To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <475D1892.70201@elvenkind.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -102.599 () BAYES_00,USER_IN_WHITELIST 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 12:12:51.0655 (UTC) FILETIME=[FC865570:01C83B25] Status: R X-Status: X-Keywords: X-UID: 5110 On Mon, 10 Dec 2007 11:44:34 +0100, Taco Hoekwater wrote: Hi Taco, >>> the notes from the Oldenburg meeting mentions an \expanded primitive: >>> \expanded >>> Expandable command returning the full expansion >>> of the tokens in . >>> So since this pretty much exists inside \pdfstrcmp as it is now, it >>> could > > Can someone please post an example of intended use in the > l3 kernel in "plain"-style, just so I understand the usage? 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}}} > ConTeXt's \expanded macro expands its argument fully except > for the very first item in it, which is handy for macros that > need expanded arguments, so I assume the actual goals are very > similar. Yes, I think so too. >> a) \expanded would be a nice name, but it clashes with ConTeXt. >> I remember trouble with \unexpanded :-( > > Hans and I think a) would be fine. c) is somewhat silly as it is > not related to pdftex, and also a) combines nicely with the already > present \unexpanded. a) is what I was hoping for. :-) -- Morten