Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s48GE8c7031245 for ; Thu, 8 May 2014 18:14:09 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx009) with ESMTPS (Nemesis) id 0Man3C-1WO9BL2sMk-00KU7A for ; Thu, 08 May 2014 18:14:02 +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 s48GAZB5006447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 May 2014 18:10:35 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s48D2Ia6007492; Thu, 8 May 2014 18:10:34 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 10929227 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 8 May 2014 18:10:34 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s48GAYjf022930 for ; Thu, 8 May 2014 18:10:34 +0200 Received: from mail1.bemta5.messagelabs.com (mail1.bemta5.messagelabs.com [195.245.231.148]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s48GAIsQ006055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 8 May 2014 18:10:21 +0200 Received: from [85.158.139.35:28024] by server-12.bemta-5.messagelabs.com id D2/CA-03824-A6CAB635; Thu, 08 May 2014 16:10:18 +0000 X-Env-Sender: david.carlisle@nag.co.uk X-Msg-Ref: server-5.tower-179.messagelabs.com!1399565417!26937108!1 X-Originating-IP: [213.199.154.84] X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=nag.co.uk,-,- X-VirusChecked: Checked Received: (qmail 28637 invoked from network); 8 May 2014 16:10:18 -0000 Received: from mail-db3lp0084.outbound.protection.outlook.com (HELO emea01-db3-obe.outbound.protection.outlook.com) (213.199.154.84) by server-5.tower-179.messagelabs.com with AES128-SHA encrypted SMTP; 8 May 2014 16:10:18 -0000 Received: from [192.156.217.104] (86.188.197.189) by AM3PR05MB356.eurprd05.prod.outlook.com (10.242.247.26) with Microsoft SMTP Server (TLS) id 15.0.934.12; Thu, 8 May 2014 16:10:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 References: <5367BB2E.1010403@nag.co.uk> <536B7DD6.2010905@nag.co.uk> Content-Type: multipart/alternative; boundary="------------090305060801020002080801" X-Originating-IP: [86.188.197.189] X-ClientProxiedBy: AM3PR01CA043.eurprd01.prod.exchangelabs.com (10.141.191.33) To AM3PR05MB356.eurprd05.prod.outlook.com (10.242.247.26) X-Forefront-PRVS: 0205EDCD76 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009001)(6029001)(6049001)(6009001)(428001)(24454002)(189002)(199002)(479174003)(5423002)(64706001)(87976001)(54356999)(87266999)(33656001)(21056001)(64126003)(77982001)(59896001)(92566001)(19580395003)(65816999)(99396002)(83322001)(65956001)(19580405001)(66066001)(71186001)(80022001)(65806001)(42186004)(79102001)(512934002)(83506001)(74662001)(46102001)(31966008)(50986999)(85852003)(83072002)(76176999)(84326002)(20776003)(4396001)(36756003)(74826001)(81542001)(81342001)(74502001)(74482001)(92726001)(76482001)(101416001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR05MB356;H:[192.156.217.104];FPR:;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (: nag.co.uk does not designate permitted sender hosts) X-OriginatorOrg: nag.co.uk Message-ID: <536BAC64.8020700@nag.co.uk> Date: Thu, 8 May 2014 17:10:12 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Carlisle Subject: Re: New LaTeX2e Release 2014/05/01 : Serious bug in keyval? To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:3vC4NnqUwAU=:06TLskfvCmZ8IZtIP0SEzys0CQ BVqPizva58uxDYDOnl07NM89MtXzGxLLXPn4sGWdBCvJgw7F+B0TnUKjHu/PfXFBbTEw/rlzb KEQGqSTw4/PC3PkaJ9nWbbURvYPdRWa1b1fmyT4f0BrS0B4stCTzhlXWuDXLpWrFK6A/7qj+2 n+eKnTp+ZGfrqVXBf1sEwE1pHlOy0W/Sny9ScC09NUkM7BW+8gKNF5toz/QDv9XpW/80WaM6r 8H9iRqDvYAFA3ZzHzxyoMag5bJgniZUIeCW+sYichYp09T/mcnmT85TIOFC3moG8LVKEkzkL4 NbEjmkxqN8RE6OsPlPuz7KZavza0mEc1fmlc9BRXLaXrnR6OsioWJxrZzSzbsyMJ79fozbVsQ 1oMPj7CTJhiiFxJK2SUCQx8yiO138KgSLdo2ngyYSDyP3eqJfZwtG/ExeHomGQrDEud7G0UT7 Z6ssGW4Ym6/955OcDgx7ZraXg2dV54ziW5Fg4RYfNW4mmBpEEQTIGuvys+L4JgxT7RMuW68vT NeXeg+B84kGNf7zVLJhcXzTQkvLYb8c0mfC2xzAd/ZK6jYhCtY4WRUZW3g89/rbXGxm3Gw44X qDK/2moxvfPtL6JkIXuACc7EjrzoHjpE/ImFkQB8s0ek4cBBzUWblcZ1TUqpFcwZPjqWmdJ8z Mi/vngATsXAnWhNAXeTM8iN8SIDySt97LmXsC0KpHUtybjAtYvUQnnRjp2XfsOhKWfPBiwimQ NR9ZUfp0KKyYWQlSc8I7k6tZjfWVLBSkzbsgprnbI4QyWGdXW5aCtPf2QKl2ApgdHp2ukJeX2 sx00aMVkIK4ihVDo3M88UmG1zrpqYfz9L+0HRxGzcGtxL6jaqa492CBB8RPperDtu0Z2D1Eqs ecBt/RdQs735w5+vp+F43a3xCFKWDQcZwGi8Za/OzA/cXVBpZ2bsrUTMRR7zRgHRZqREdqEe4 UEdMp5iYaf5RUNzqvc2fxAhw/GslbunvZhHopvlhwElUrcaMfsI83vkyeo3fG1rBizqpKrWaK r8xsLvpu5unx3OJHo79lXiv+mvjMOAzEiUihrGDWpaen6leOmzjYNNvCAypoEgUCxXd7N4Wjt cYF4d68pri8ykR4AOcqKakrcPgJas0ogQOsVYMN9Vwe9pbwnDN+W2OnR2BZypuidUoZBR5q1x mT+/7HlUfOM7JNgg8SqWnIDKJSDK5K8QWzE97X4VlwQFWeBC9VxLc1Ipp5wPkGqQexAKMCTZJ iIzfYd7odHGPjbQCkICrVFU5V+9QscuHgvKzkzXjnDPrMIakUzH8N+ZsSzUt4zIP2SNKmCiWg +LsAHnNZw8/iQWmuPY2HNTJzC6ZQ0RGqeTgLt0HQMxyrUpG/aRr3Wq9xsp4JIMg6n8vP1ex0d Ufn7qwer/+TJO/gZp9ZglO8pH4x4QFK1PUByvzk4hLDTqmzz8DQTmUXkMusHxw5d0OtQU72bG 1OtfpB0g== X-UI-Loop:V01:9LTO6i7nx7s=:7XwNxzQ/bEUyuP+LMJIiVECiLEiXtgXpgsMQO+H/mrk= Status: R X-Status: X-Keywords: X-UID: 7406 --------------090305060801020002080801 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 08/05/2014 17:00, Ulrike Fischer wrote: > I tested a bit with various files and it seems ok. But -- as the > question on tex.sx shows -- the bug didn't always lead to errors but > could simply produce faulty output and it is not so easy to check if > somewhere an "and" or a comma is missing Thanks. With this change reverted the only remaining change is adding \long everywhere so there shouldn't be any change other than things that were error before are now allowed. (Although code that is explicitly checking a definition with \patchcmd or \checkcommand etc can of course fail if _any_ change is made such failures are usually pretty obvious though. > If one loads the new xkeyval v2.6c before keyval the error is still > there. So xkeyval needs a patch too. Yep it's an identical patch needed (in xkeyval's keyval.tex and xkeyval.tex) Sorry to Hendri Adriaens (I gave him a prerelease of keyval and suggested he update to match) I was just holding off until I have confirmed this is OK before suggesting xkeyval is changed again. David $ diff /usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/keyval.tex . 48c48 < \long\def\KV@@sp@b#1##1 \@nil{\KV@@sp@c\@empty##1}% --- > \long\def\KV@@sp@b#1##1 \@nil{\KV@@sp@c##1}% 51c51 < \long\def\KV@@sp@c#1\@nil#2\relax#3{\XKV@toks\expandafter{#1}\edef#3{\the\XKV@toks}} --- > \long\def\KV@@sp@c#1\@nil#2\relax#3{\XKV@toks{#1}\edef#3{\the\XKV@toks}} $ diff /usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkeyval.tex . 786c786 < \XKV@r@placepointers\@empty#1\usevalue\@nil --- > \XKV@r@placepointers#1\usevalue\@nil 789c789 < \expandafter\XKV@addtomacro@n\expandafter\XKV@tempa\expandafter{#1}% --- > \XKV@addtomacro@n\XKV@tempa{#1}% ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________ --------------090305060801020002080801 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit On 08/05/2014 17:00, Ulrike Fischer wrote:


> I tested a bit with various files and it seems ok. But -- as the
> question on tex.sx shows -- the bug didn't always lead to errors but
> could simply produce faulty output and it is not so easy to check if
> somewhere an "and" or a comma is missing


Thanks.

 With this change reverted the only remaining change is adding \long everywhere
so there shouldn't be any change other than things that were error before are now allowed.
(Although code that is explicitly checking a definition with \patchcmd or
\checkcommand etc can of course fail if _any_ change is made such failures are usually pretty obvious though.



> If one loads the new xkeyval v2.6c before keyval the error is still
> there. So xkeyval needs a patch too.


Yep it's an identical patch needed (in xkeyval's keyval.tex and xkeyval.tex)
Sorry to Hendri Adriaens (I gave him a prerelease of keyval and suggested he update to
match) I was just holding off until I have confirmed this is OK before suggesting xkeyval is changed again.

David



$ diff /usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/keyval.tex .
48c48
< \long\def\KV@@sp@b#1##1 \@nil{\KV@@sp@c\@empty##1}%
---
> \long\def\KV@@sp@b#1##1 \@nil{\KV@@sp@c##1}%
51c51
< \long\def\KV@@sp@c#1\@nil#2\relax#3{\XKV@toks\expandafter{#1}\edef#3{\the\XKV@toks}}
---
> \long\def\KV@@sp@c#1\@nil#2\relax#3{\XKV@toks{#1}\edef#3{\the\XKV@toks}}


$ diff /usr/local/texlive/2014/texmf-dist/tex/generic/xkeyval/xkeyval.tex .
786c786
<   \XKV@r@placepointers\@empty#1\usevalue\@nil
---
>   \XKV@r@placepointers#1\usevalue\@nil
789c789
<   \expandafter\XKV@addtomacro@n\expandafter\XKV@tempa\expandafter{#1}%
---
>   \XKV@addtomacro@n\XKV@tempa{#1}%





________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--------------090305060801020002080801--