Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Sep 2007 16:39:19 +0200 Received: by mail.proteosys.com (8.13.8/8.13.4) with ESMTP id l85EdDP2025964 for ; Wed, 5 Sep 2007 16:39:14 +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 l85EXnpm017260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Sep 2007 16:33:49 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id l84M1AF2029482; Wed, 5 Sep 2007 16:33:35 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.0) with spool id 117403 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 5 Sep 2007 16:33:35 +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 l85EXZCv032592 for ; Wed, 5 Sep 2007 16:33:35 +0200 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id l85EXV0R016777 for ; Wed, 5 Sep 2007 16:33:34 +0200 Received: by nf-out-0910.google.com with SMTP id b21so1800343nfd for ; Wed, 05 Sep 2007 07:33:30 -0700 (PDT) Received: by 10.78.172.20 with SMTP id u20mr5268255hue.1189002810016; Wed, 05 Sep 2007 07:33:30 -0700 (PDT) Received: from wnn24194.wireless.dtu.dk ( [130.226.24.194]) by mx.google.com with ESMTPS id 24sm2460328huf.2007.09.05.07.33.26 (version=SSLv3 cipher=OTHER); Wed, 05 Sep 2007 07:33:27 -0700 (PDT) Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <87wsv6odr8.fsf@buckbeak.hogwarts> <18141.38684.704361.46277@morse.mittelbach-online.de> <87sl5uno7u.fsf@buckbeak.hogwarts> <18141.51596.255158.574401@morse.mittelbach-online.de> <87ir6qng8e.fsf@buckbeak.hogwarts> <18142.20142.549886.908550@morse.mittelbach-online.de> Content-Transfer-Encoding: 7bit User-Agent: Opera Mail/9.23 (MacPPC) X-Spam-Whitelist: Message-ID: Date: Wed, 5 Sep 2007 16:33:24 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: =?iso-8859-1?Q?Morten_H=F8gholm?= Subject: Re: l3prop: documentation To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <18142.20142.549886.908550@morse.mittelbach-online.de> 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.57 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 05 Sep 2007 14:39:19.0428 (UTC) FILETIME=[8ACA1440:01C7EFCA] Status: R X-Status: X-Keywords: X-UID: 5045 On Wed, 05 Sep 2007 08:37:34 +0200, Frank Mittelbach wrote: > hmm, something got messed up when the prop implementation got changed > from > using sequences (with tlps) to toks registers. try this one > > \RequirePackage{l3prop} > > \ExplSyntaxOn > > \def_long:NNn \prop_get_del_aux:w 6 > { > \tlp_set:Nn #1{#5} > \quark_if_no_value:NF #1 > { > \def:Npn \tmp:w ##1#3\q_no_value {#2{#4##1}} > \tmp:w #6 > } > } > > i haven't updated it yet as I wonder why that change was done. Clearly a bug. I think what may have happened is that I was very concerned about what was input in those \quark tests as there were some areas (in l3keyval I think and other palces) where some of them were a bit fragile depending on their contents. So this one line got deleted as I probably thought it to be redundant. One thing that should perhaps change here and elsewhere in the module is using \tlp_set:Nx {\exp_not:n{}} in case the values contain #s but I don't know if there is use for that or if it should be supported. > using > \quark_if_no_value:NF is much much faster than \quark_if_no_value:nF as > the > later literately scans for \q_no_value which the former just uses the > quark > feature that > > \tlp_set:Nn \FOO{\BAR} > \if_meaning:NN \FOO \BAR -> true if and only if \BAR was a quark If run on pdfTeX 1.30 or later the test for string equality use \pdfstrcmp and so is a lot faster than before but still slower than the single \if_meaning:NN test of course. Cheers, -- Morten