Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Sep 2008 17:39:46 +0200 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m8IFdeol001407 for ; Thu, 18 Sep 2008 17:39:41 +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 m8IFXjPU030977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Sep 2008 17:33:45 +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 m8IF19gH005980; Thu, 18 Sep 2008 17:33:40 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 46708 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 18 Sep 2008 17:33:39 +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 m8IFXdP9025513 for ; Thu, 18 Sep 2008 17:33:39 +0200 Received: from mailgate5.uea.ac.uk (mailgate5.uea.ac.uk [139.222.130.185]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id m8IFXNvg030637 for ; Thu, 18 Sep 2008 17:33:27 +0200 Received: from [139.222.128.187] (helo=ueams04.uea.ac.uk) by mailgate5.uea.ac.uk with esmtp (Exim 4.50) id 1KgLVU-0003Uu-D0 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 18 Sep 2008 16:33:24 +0100 Received: from [139.222.200.93] by ueams04.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KgLVU-0004rm-CB for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 18 Sep 2008 16:33:24 +0100 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 References: <48D252EC.7030802@morningstar2.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <48D274C5.40504@morningstar2.co.uk> Date: Thu, 18 Sep 2008 16:33:25 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: \scantokens, \everyeof, \endlinechar 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: -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: 18 Sep 2008 15:39:47.0007 (UTC) FILETIME=[C78DF4F0:01C919A4] Status: R X-Status: X-Keywords: X-UID: 5361 Will Robertson wrote: > Quite the opposite! \scantokens can be really helpful. > I might suggest a name like > \token_rescan:n > or maybe > \tlist_rescan:n > Opinions? Based on things like \expandafter = \exp_after:NN, I'd imagine \token_scan:n or \token_rescan:n make most sense. (I think \tlist... incorrectly describes the function). > The other two I'm not so sure where they should go. I'd *probably* > recommend defining your own wrappers around the :D versions and then we > can work out how to proceed from there. I think that, if you want to use these you probably want access to the raw (e)-TeX primitives. However, the expl3 documentation make it pretty clear that outside of the LaTeX3 team no-one should use anything ending :D. So there needs to be a non-D name for each one. For \everyeof, I guess this is (somewhat) related to I/O, so perhaps: \l_ior_eof_toks (based on \ior_eof:NTF, etc.). \endlinechar is more tricky, clearly an _int, perhaps in tokens or chars? \l_token_endline_int \l_char_endline_int seem possible. I did think if there was a way to wrap both up along with \scantokens to avoid the entire issue of naming the other parts. But I don't think that is possible. -- Joseph Wright