Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Apr 2009 22:28:08 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n3TKRnwV028916 for ; Wed, 29 Apr 2009 22:27:50 +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 n3TKMZqG008035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Apr 2009 22:22:36 +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 n3TEjlB6031343; Wed, 29 Apr 2009 22:22:17 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 278578 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 29 Apr 2009 22:22:17 +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 n3TKMHsg012167 for ; Wed, 29 Apr 2009 22:22:17 +0200 Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id n3TKM3En007441 for ; Wed, 29 Apr 2009 22:22:06 +0200 Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id E714FFB74192 for ; Wed, 29 Apr 2009 22:22:02 +0200 (CEST) Received: from [89.50.23.240] (helo=uwe.lueck) by smtp08.web.de with esmtp (SSLv3:DES-CBC3-SHA:168) (WEB.DE 4.110 #277) id 1LzGI5-0008NM-00; Wed, 29 Apr 2009 22:22:02 +0200 X-Sender: uwe.lueck@pop3.web.de X-Mailer: QUALCOMM Windows Eudora Version 5.1 References: <20090425183703.GA2822@irwin.vpn.uni-freiburg.de> <20090424092120.GA7843@irwin.vpn.uni-freiburg.de> <5.1.0.14.0.20090421122917.02f41830@pop3.web.de> <455691F1-21A4-4C65-A025-7855791829F7@gmail.com> <20090424092120.GA7843@irwin.vpn.uni-freiburg.de> <5.1.0.14.0.20090425151542.032a0ce0@pop3.web.de> <20090425183703.GA2822@irwin.vpn.uni-freiburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed X-Sender: uwe.lueck@web.de X-Provags-ID: V01U2FsdGVkX1/TbHoChqSvC5dlZordhqxdjUX3ukkRhPq94NYJ ZmsehSgHOvBmJS9ck5DTwHMN/UJ6/t9Ws51WOLG2XnP5iGhniZ MREZ+Rk1A= Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id n3TKMHsg012168 Message-ID: <5.1.0.14.0.20090429211015.02aa1200@pop3.web.de> Date: Wed, 29 Apr 2009 22:07:23 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Uwe =?iso-8859-1?Q?L=FCck?= Subject: Re: \in@ wrong? ("core") To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <49F5959F.5070104@elzevir.fr> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 29 Apr 2009 20:28:08.0952 (UTC) FILETIME=[026F7F80:01C9C909] Status: R X-Status: X-Keywords: X-UID: 5776 At 13:23 27.04.09, Manuel Pégourié-Gonnard wrote: >Heiko Oberdiek a écrit : > >> (This uses \@nil.) Putting the second split into a macro to test it > against > >> \@empty is safe, but one might dislike it as "slow". > > > > I prefer "safe". > > >I agree. But this is essentially limited below. > > An expandable test could be used, e.g.: > > \ifx\\##2\\% or something else as \\ > >Is it "allowed" to use e-TeX commands inside the kernel? If so, As long as LaTeX supports \@TeXversion{2} ... >\expandafter\ifx\expandafter\\\detokenize{##2}\\% or something else as \\ > >is the safest test, as I'm sure you know. In practice, there seems not be much to detokenize here, e.g., target strings have been generated from \meaning, cf. below. >Anyway, depending on the intended use of \in@, certain resctrictions (such as >"no unbalanced \if" or "no # token" or "no \@nil token" are probably >acceptable, >as long as they are properly documented. When I countered "unbalanced \if..." by "#", this rather meant the same. \in@ is an internal facility that currently is used for processing options and for font selection. Concerning options, it is clear to me that the weakness is harmless. Concerning font selection, I just cannot afford at the moment checking whether the weakness can lead to a failure. when the second argument is expanded \alpha@list, it is quite clear that it is OK, I don't know about the other cases. The LaTeX kernel should just provide essential things. A perfect bombastic substring detector is not essential. It may be good to fix the weakness a little just in order to prevent people like me from worrying about the matter -- and it is perhaps more straightforward to change the code than to explain that periodic strings are a problem. This is also a comment on earlier ideas here what LaTeX3 might provide. I rather consider essential an output routine that doesn't misplace footnote parts and marginal notes. Cheers, Uwe.