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 p3JLuXVx032071 for ; Tue, 19 Apr 2011 23:56:35 +0200 Received: (qmail 4406 invoked by alias); 19 Apr 2011 21:56:29 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 19 Apr 2011 21:56:28 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx067) with SMTP; 19 Apr 2011 23:56:28 +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 p3JLsUW5029535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Apr 2011 23:54:30 +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 p3JIr6en004824; Tue, 19 Apr 2011 23:54:30 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1255067 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 19 Apr 2011 23:54:29 +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 p3JLsTor026064 for ; Tue, 19 Apr 2011 23:54:29 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p3JLsD7c012624 for ; Tue, 19 Apr 2011 23:54:16 +0200 Received: from morse.mittelbach-online.de (p54A83CEC.dip.t-dialin.net [84.168.60.236]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LmNF4-1Pch8g3RkA-00ZGgg; Tue, 19 Apr 2011 23:54:13 +0200 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 01F9F73B66; Tue, 19 Apr 2011 23:54:09 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4DA5C4E2.8090005@morningstar2.co.uk> <58AFBC3A-4209-4BC0-BB3A-5B14D6B5EFD8@gmail.com> <4DA727A9.2050903@morningstar2.co.uk> <19880.45400.677093.956908@morse.mittelbach-online.de> <4DADDE63.2010304@morningstar2.co.uk> <4DADFA0F.6080100@morningstar2.co.uk> <19886.69.963610.143806@morse.mittelbach-online.de> <4DAE0235.1020602@morningstar2.co.uk> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V02:K0:kQ7gah9/5cAAZ8FK2D5ZV5wtdBYT/LNN59+na36dQBk FCb/TW8wJR8b/t2Jr4hBIa4m+8PT3gQVbHnA9DJx4ouIpfJdgO i0f+rrxJ2ji58PHnYtqeDCSNbin37vMa7KJE0HvgI/QAlzPPnd /2o7RMxdmSpDKeUkiZz2XpcWhd8ZtW6ek2fUv3p+bcJlpIsFNk PHl7Hagj7YSuN1jmDuNcQ== X-Spam-Whitelist-Provider: Message-ID: <19886.1152.703662.453176@morse.mittelbach-online.de> Date: Tue, 19 Apr 2011 23:54:08 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: The nature of popping from an empty sequence To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4DAE0235.1020602@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6HRL9CJLUCw+qCfRO7IcZXPsPiRSV5NZ6oTbK39TfPykbOUgRI6RqwWCmzZ ng26C1fl+DeJId+cdWotNggi/U6WzwEYg8w3YwjQjUXANer28itnNWLaNnptAH2EeYkb8OFiONlq 3Q+m/J4XW78eLLMkrNG5niYAum8lRMgX7yVBVagkBfmzSXHLi+wIrMu9kUghXZSuc33qA==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: 6719 Joseph Wright writes: > On 19/04/2011 22:36, Frank Mittelbach wrote: > > Bruno Le Floch writes: > > > > Within xtemplate, you'll find some places where we use the fact that the > > > > keys do have catcodes to pull off some 'special effects'. Now, we also > > > > remove spaces there, so spaces can also be used for said 'special > > > > effects'. But such a change would require some alterations. > > > > > > Ok, so my assumption was wrong. But really, playing with catcodes is evil > > > ;-). > > > > right and that was a fairly recent change in implementation, wasn't it. It > > might be worth while rethinking if we limit the nature of keys and their > > comparison even if we have to modify the xtemplate code for it > > I'd have to check the detail, but from memory this was the most > convenient way to store the key order within the template itself. There > is nothing to stop us moving it back out again to a dedicated location. I'm not claiming that the change to a restricted key set as suggested is the "right thing" to do, but I agree with Bruno's sentiment on the evility :-) of catcodes and thereis something to say for restricting "keys" to be string-like objects, ie behaving like they "look". frank