Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Aug 2009 09:31:17 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n7C7UxnK001374 for ; Wed, 12 Aug 2009 09:30:59 +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 n7C7PH5I016907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Aug 2009 09:25:17 +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 n7C4wqKX017198; Wed, 12 Aug 2009 09:25:13 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 288089 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 12 Aug 2009 09:25:13 +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 n7C7PDvV000631 for ; Wed, 12 Aug 2009 09:25:13 +0200 Received: from ueamailgate02.uea.ac.uk (ueamailgate02.uea.ac.uk [139.222.131.185]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n7C7Os3L020954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 12 Aug 2009 09:24:58 +0200 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate02.uea.ac.uk (8.13.1/8.13.1) with ESMTP id n7C7OrTl021903 for ; Wed, 12 Aug 2009 08:24:53 +0100 Received: from [139.222.114.191] by ueams01.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Mb8CW-0000Jr-NU for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 12 Aug 2009 08:24:48 +0100 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 References: <4A7921CF.5020803@morningstar2.co.uk> <4A7A1505.4040604@residenset.net> <4A7AD930.2090106@residenset.net> <8516B615-51AA-4D90-BB7D-A9E122AA0335@gmail.com> <4A804317.6050909@morningstar2.co.uk> <4A80508F.3030904@elzevir.fr> <4A81C3D2.9040607@residenset.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Canit-CHI2: 0.14 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, outgoing) X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 28025051 - 54a8a28c6727 X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.185 Message-ID: <4A826E4A.6050903@morningstar2.co.uk> Date: Wed, 12 Aug 2009 08:24:58 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: xparse To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4A81C3D2.9040607@residenset.net> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 12 Aug 2009 07:31:17.0287 (UTC) FILETIME=[E1179B70:01CA1B1E] Status: R X-Status: X-Keywords: X-UID: 5904 Lars Hellström wrote: > Combinations I'd like to use in my tclldoc package are: > > @{ h } > @{ h o } > @{ x{\BooleanFalse}{\TD@convert@colons}{::\relax} h o } The first two would fit into the model I've already suggested: { >\ArgMakeHarmless m } { >\ArgMakeHarmless o } The third one does raise some issues, but I'm wondering how common it is. You either have to allow daisy-chaining, either using the xdco2l3 syntax or something like: { >{\TD_convert_colons:nN \ArgMakeHarmless} m } or write a post-processor which does both parts: { >{\TD_harmless_and_convert_colons:nN} m } where the chaining is then done by \TD_harmless_and_convert_colons:nN As I say, part of the question for me is how commonly such processing is needed. I'd think that most user functions are not going to need any of this type of thing, and am trying to keep an eye on the balance between covering every "cool" feature and keeping things accessible. -- Joseph Wright