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 o8K7fMGI012170 for ; Mon, 20 Sep 2010 09:41:23 +0200 Received: (qmail 9487 invoked by alias); 20 Sep 2010 07:41:17 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 20 Sep 2010 07:41:16 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx074) with SMTP; 20 Sep 2010 09:41:16 +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 o8K7cupR000730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Sep 2010 09:38:57 +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 o8K7cNa3012535; Mon, 20 Sep 2010 09:39:21 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 444717 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 20 Sep 2010 09:37:47 +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 o8K7bl3w002235 for ; Mon, 20 Sep 2010 09:37:47 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o8K7cXRC015158 for ; Mon, 20 Sep 2010 09:38:37 +0200 Received: from morse.mittelbach-online.de (p54A8383C.dip.t-dialin.net [84.168.56.60]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0Ldsrj-1OWXbB3Op1-00icQ0; Mon, 20 Sep 2010 09:37:43 +0200 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 90F4C7227B; Mon, 20 Sep 2010 09:37:39 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4C967C9B.5010706@gmx.de> <71ED7A5B-DE11-45D9-9785-95A1DC795080@gmail.com> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V02:K0:SZPOFbk9ofy9PTZm5hCN/X7aii4j2XGehaTzO3zd943 a70EJiW0RyzZe4BEwqtIn4KCYdYR41XwSk0K16aMOjaEQtA2dI NXLhT6EMetgfHc5RDk43cbJYmnzMQp69ut4xVxFJVIMRdQOJJQ fCCpaI0k3B34hP43MgYRTPmGj8KdiZxYom5hrQe5u6Q9hR828V 0FuIuuQFx9M5nRs2Kueug== X-Spam-Whitelist-Provider: Message-ID: <19607.3907.558898.274512@morse.mittelbach-online.de> Date: Mon, 20 Sep 2010 09:37:39 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: boolean expressions in ExplSyntaxNames To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <71ED7A5B-DE11-45D9-9785-95A1DC795080@gmail.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7au3fkL89Y026H2WJg1zsjGg0I0r5V9ldzzR5wBB /r19Q==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: 6415 Will Robertson writes: > I'd like to hear the opinions of the others; I guess this is an edge case > to using SyntaxNames. Ideally, perhaps, we should make \bool_if:n more > robust so the catcode of | isn't as critical. I wouldn't want to do the latter as that would mean an unnecessary performance hit during run (or do I misunderstand what you are saying?) question to me are - do we really need both declarations? - if so what are the intendend semantics? right now, when reading the documentation we state that % Issues a catcode regime where spaces are ignored and colon and % underscore are letters. A space character may by input with "~" instead. however \ExplSyntaxOn these days does much more and secures a number of additional catcodes. On the other hand \ExplSntaxNames only sets _ and : explicitly and that for a start seems wrong and is bound to produce problems one day. So if we want \ExplSyntaxNames we need to decide if the only difference between the two is the space handling or if it really just sets up things so that "Names" can be entered (in which case it would be correct if boolean expression do not work). In either case we would then have to worry about proper resetting of catcodes. Personally, I would think that it isn't needed at all. Instead I would suggest to either drop it totally so that with expl code ~ always needs to be used for entering spaces or provide \ExplSyntaxOn/Off % sets the whole shebang and prepares for catcode % resetting \ExplObeySpacesOn/Off % just changes the space related catcodes to be used % within \ExplSyntaxOn in use reason for the latter command: if you have to enter a lot of code that actually needs real spaces then it might be nice not to always have to go "this~ is ~ some~ text~ to~ be displayed~ with spaces~ on the~ terminal" and then forget one or two as I did above. Having said that, I got fairly used to always use ~ with the code so I wouldn't mind just dropping it frank