Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p4GLQpmK019604 for ; Mon, 16 May 2011 23:26:52 +0200 Received: (qmail 12356 invoked by alias); 16 May 2011 21:26:45 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 May 2011 21:26:45 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx046) with SMTP; 16 May 2011 23:26:45 +0200 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 p4GLObYB024826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 May 2011 23:24:38 +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 p4GKkjJ8004064; Mon, 16 May 2011 23:24:37 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1306568 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 16 May 2011 23:24:37 +0200 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 p4GLObSb017743 for ; Mon, 16 May 2011 23:24:37 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p4GLOViP026398 for ; Mon, 16 May 2011 23:24:36 +0200 Received: from morse.mittelbach-online.de (p3EE3F64F.dip.t-dialin.net [62.227.246.79]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0La0V7-1Pyc660IMH-00lnp2; Mon, 16 May 2011 23:24:31 +0200 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 60E4074F34; Mon, 16 May 2011 23:24:28 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4DCA93CC.5020605@morningstar2.co.uk> <19920.15087.714131.100464@morse.mittelbach-online.de> <447088.31292.qm@web24704.mail.ird.yahoo.com> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V02:K0:aZtTavSfMvMN6C5lbIhkc3h6PrelFUeliJ/VYXl5H2U mRuhDhjxdPaDJ0XSVDYUyVczvfZNglO8weSPeKqcOJ84Cw3epI mHWCyjVM5O6aInZ0s3zNKLiEL6x+V9IO5VoJs3/0h2UzkHsZxD hPOG0ee66cfQ3TxP8sbecZRweFeoQpAlQPizy0t4AOZpJjD9d8 bSdTgWsbmxh0uqXM5HwCQ== X-Spam-Whitelist-Provider: Message-ID: <19921.38412.315519.616839@morse.mittelbach-online.de> Date: Mon, 16 May 2011 23:24:28 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: xparse and space skipping To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6HRL9CJLUCw+qCfRO7IcZXGdvP1THA0e6b6jDX05iGVJuKRvhifJq8ejM4H e7aa5IUu3Od80H71vQQaL6vUMPt0IhfOQnMi75k3jtf5NjK8mQRi1RM/6BWxASI7IYJ/dXOPPX8W T2xS/zM7RH+I0ACFwAqT5Wj2oxq199F5nD8tWYd+14xUGnMPSeP0xgS+25Nf5CGRDWV0Q==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6758 Bruno Le Floch writes: > > \foo [arg] has the standard 'argument meaning' > > > > \foo > > [Paranthetical text starts here. ... > > The problem is that the two are treated identically by TeX, except if > catcodes have not yet been assigned, and one changes the catcode of > eol or space. or alternatively building out the command names yourself by putting letters on catcode 13. that might be in fact an easier approach and then explicitly deciding when to gobble for spaces > Proposal: to ban trailing optional arguments entirely. well we can't do that with document level dtd's that provide some level of backward compatibility and for xparse I wouldn't attempt for formally ban it (though any discussion about use of optional arguments should make it clear that putting them at the end is not a good idea in general). frank