Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 23 Oct 2009 05:26:38 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n9N3Qaa3024431 for ; Fri, 23 Oct 2009 05:26:37 +0200 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 n9N3NRdP021193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Oct 2009 05:23:28 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n9MMACnw030292; Fri, 23 Oct 2009 05:23:18 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 338509 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 23 Oct 2009 05:23:18 +0200 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 n9N3NIxb022573 for ; Fri, 23 Oct 2009 05:23:18 +0200 Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n9N3NDbx028202 for ; Fri, 23 Oct 2009 05:23:16 +0200 Received: by ewy7 with SMTP id 7so8516073ewy.10 for ; Thu, 22 Oct 2009 20:23:13 -0700 (PDT) Received: by 10.216.91.69 with SMTP id g47mr3763777wef.167.1256267869597; Thu, 22 Oct 2009 20:17:49 -0700 (PDT) Received: from ?10.0.1.103? (219-90-216-167.ip.adam.com.au [219.90.216.167]) by mx.google.com with ESMTPS id p37sm4229498gvf.9.2009.10.22.20.17.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Oct 2009 20:17:48 -0700 (PDT) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) References: <4AE0BFB3.7080905@morningstar2.co.uk> X-Mailer: Apple Mail (2.936) X-Spam-Whitelist: Message-ID: <8A015AE0-022B-4462-B8D5-CC1010E49205@gmail.com> Date: Fri, 23 Oct 2009 13:47:41 +1030 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: xparse processors To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4AE0BFB3.7080905@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 23 Oct 2009 03:26:38.0064 (UTC) FILETIME=[A155EF00:01CA5390] Status: R X-Status: X-Keywords: X-UID: 6107 On 23/10/2009, at 6:55 AM, Joseph Wright wrote: > This would allow things like: > > > \ReturnVariable { \MakeHarmless\ReturnVariable } > % Will absorb one more argument, as required > > (using \MakeHarmless from xdoc). That doesn't work at present as the > return has to be in a toks. > > As Lars points out, that is quite a bit more flexible at the cost of > a little complexity in the syntax. I'm not sure that I see how this is any more flexible? Oh, simply that your argument processor doesn't have to be hard-coded to use \l_xparse_arg_toks. But hang on, can't you do the same thing at present by just writing > { \MakeHarmless\l_xparse_arg_toks } ? -- Will