Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Nov 2008 21:50:25 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id mARKoN2c011689 for ; Thu, 27 Nov 2008 21:50:24 +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 mARKi1DH026030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Nov 2008 21:44:01 +0100 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 mAREqfC7022759; Thu, 27 Nov 2008 21:44:00 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 185165 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 27 Nov 2008 21:44:00 +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 mARKi0sC015462 for ; Thu, 27 Nov 2008 21:44:00 +0100 Received: from lon1-post-3.mail.demon.net (lon1-post-3.mail.demon.net [195.173.77.150]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id mARKhixT018390 for ; Thu, 27 Nov 2008 21:43:47 +0100 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=[192.168.0.2]) by lon1-post-3.mail.demon.net with esmtp (Exim 4.69) id 1L5nfN-0006zf-e4 for latex-l@listserv.uni-heidelberg.de; Thu, 27 Nov 2008 20:40:49 +0000 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 References: <27990a880811191758x2a29ecb4m33d2dcead1f32093@mail.gmail.com> <859ec5630811200508x17ef357dvc7cf352f5bc1031f@mail.gmail.com> <492E623B.1090300@morningstar2.co.uk> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <492F05D6.3060103@morningstar2.co.uk> Date: Thu, 27 Nov 2008 20:40:54 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: \exp_after:NN To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <492E623B.1090300@morningstar2.co.uk> 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.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 27 Nov 2008 20:50:25.0921 (UTC) FILETIME=[C6210710:01C950D1] Status: R X-Status: X-Keywords: X-UID: 5479 Joseph Wright wrote: > I'd suggest the following: > > New Current Input Output Description > > D D Varies Varies Do not use (kernel only) > E E Single token Unbraced One expansion > N N Single token Unbraced No expansion > O O Single token Braced One expansion > P p Parameters n/a Primitive TeX parameters > W w Varies Varies "Weird" argument > X X Single token Braced Full expansion > > c c Braced tokens Braced Tokens to csname > e e Braced tokens Unbraced Expand once > f F Braced tokens Braced False branch > n n Braced tokens Braced No expansion > o o Braced tokens Braced One expansion > s f Braced tokens Braced "Stop" expansion > t T Braced tokens Braced True branch > u d Braced tokens Braced Double expansion > v C Braced tokens Braced To csname, expand once > x x Braced tokens Braced Full expansion Or perhaps by moving D: New Current Input Output Description D - Single token Braced Double expansion N N Single token Unbraced No expansion O O Single token Braced One expansion P p Parameters n/a Primitive TeX parameters R (or K)D Varies Varies Reserved/kernel only U E Single token Unbraced Expand once unbraced W w Varies Varies "Weird" argument X X Single token Braced Full expansion c c Braced tokens Braced Tokens to csname u e Braced tokens Unbraced Expand once unbraced f F Braced tokens Braced False branch n n Braced tokens Braced No expansion o o Braced tokens Braced One expansion s f Braced tokens Braced "Special" expansion t T Braced tokens Braced True branch d d Braced tokens Braced Double expansion e C Braced tokens Braced To csname, expand once x x Braced tokens Braced Full expansion I should point out that this leaves only u, U, N, R, W and P where the output is not braced. The later three I think there is no issue with. I'd also suggest that "N" (and "n") mean "No change", so again I think myself this is quite clear. So the only "special" you really end up with is u/U. I'd suggest that one letter than behaves oddly can be accepted. (It is a relatively rare one, at least for me at the moment.) Also, to answer my own original question, this would then mean that Morten's suggestion \exp_after:NN => \exp_args:NE would make sense. I think that you simple have to accept that it is slightly odd (the whole \exp_args:NE { \macro } business). -- Joseph Wright