Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Sun, 7 Dec 2008 16:39:42 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id mB7FdeYD026111 for ; Sun, 7 Dec 2008 16:39:41 +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 mB7FYaw4027391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Dec 2008 16:34:37 +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 mB6N19Sd004736; Sun, 7 Dec 2008 16:34:24 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 197012 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 7 Dec 2008 16:34:24 +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 mB7FYOc5019642 for ; Sun, 7 Dec 2008 16:34:24 +0100 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id mB7FYRCc025476 for ; Sun, 7 Dec 2008 16:34:30 +0100 Received: from morse.mittelbach-online.de (p54A842FD.dip.t-dialin.net [84.168.66.253]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1L9LeG2q21-0001Xq; Sun, 07 Dec 2008 16:34:20 +0100 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 7343856334; Sun, 7 Dec 2008 16:34:17 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4936E30A.5080209@morningstar2.co.uk> <87ljuxlybp.fsf@fawkes.hogwarts> <49370743.7050004@morningstar2.co.uk> <18745.37877.845526.230207@morse.mittelbach-online.de> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V01U2FsdGVkX18dhcsNamIcdvXdqFjLH/ioPpa5i24D3M+Xr9I Z86kU/87iRYoiH1EbDhm4IouolUGBKDG/CzJp06Uv9TYrhj3bL GPwWVmV4WxXANHrPYGVjXXoa69imjjT X-Spam-Whitelist-Provider: Message-ID: <18747.60665.106015.681211@morse.mittelbach-online.de> Date: Sun, 7 Dec 2008 16:34:17 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: expl3 "token list" terminology To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -102.464 () BAYES_00,FORGED_RCVD_HELO,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 07 Dec 2008 15:39:42.0965 (UTC) FILETIME=[06313250:01C95882] Status: R X-Status: X-Keywords: X-UID: 5521 Will > > > > they are not the same in the way they can be accessed or manipulated > > but their > > content is the same. > > The more this is discussed the more I think that toks and tlp are fine > names, and I wasn't thinking about changing them when I brought this up. well you got me thinking on that level, because tlp could be named tlist to fit with plist clist. the problem seems to be more in the later addition of the \tlist functions that in contrast to anything else do not operate on some storage bins but on tokens in the input stream. > I was just wondering if there was a short way to distinguish between > what sort of material a toks and a tlp can contain. (I must have > worded this particularly poorly.) > > So in the documentation when we write > > \toks_set:Nn {} > > cf. > > \tlp_set:Nn {} which is perfectly correct as far as I can see. Am I dense? ... yes, ok I am, there is one difference in the handling of #. Anything else? > > there might be some way of distinguishing the token list in the former > compared to the latter. what is the difference you want to distinguish in the content? As I said the content is exactly the same (with the exception of #), it is only the manipulation of it that differs, so \tlp_set:Nn \l_foo_tlp {} \toks_set:No \l_foo_toks { \tlp_use:N \l_foo_tlp } \tlp_set:No \l_foo_tlp { \toks_use:N \l_foo_toks } holds in as long as you don't have stray # chars > I'm still thinking there's nothing we can do but refer to the contents > of both as "token lists" and just mention the differences at the > beginning of l3tlp and l3toks. probably; a quick read through the TeX book seems to indicate that Don also didn't try to work this out in his BNF in both cases it is frank