Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id u3594SVk022658 for ; Tue, 5 Apr 2016 11:04:30 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx106) with ESMTPS (Nemesis) id 0LeRn7-1bcrUG49yn-00q9uj for ; Tue, 05 Apr 2016 11:04:23 +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 u3592PpV002070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Apr 2016 11:02:25 +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 u358hf5J021443; Tue, 5 Apr 2016 11:02:25 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 13526336 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 5 Apr 2016 11:02:25 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.119.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id u3592OUF015933 for ; Tue, 5 Apr 2016 11:02:24 +0200 Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0121.outbound.protection.outlook.com [157.56.112.121]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id u3592HWW001937 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for ; Tue, 5 Apr 2016 11:02:20 +0200 Received: from [192.156.217.146] (62.254.111.82) by AM2PR05MB1235.eurprd05.prod.outlook.com (10.163.148.149) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 5 Apr 2016 09:02:15 +0000 References: <57029370.4090909@free.fr> <57029C43.8090605@latex-project.org> <57037A5C.5040000@morningstar2.co.uk> User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed X-Originating-IP: [62.254.111.82] X-ClientProxiedBy: HE1PR08CA0007.eurprd08.prod.outlook.com (10.161.112.17) To AM2PR05MB1235.eurprd05.prod.outlook.com (10.163.148.149) X-MS-Office365-Filtering-Correlation-Id: b077062a-3b7b-40b0-2203-08d35d30fc34 X-Microsoft-Exchange-Diagnostics: 1;AM2PR05MB1235;2:fa1lo7oY/C1MqAUHk2rbMMYYxRX110CWvbuNOLyZfV5D+faABepVV91gxOnoeIZYLcQE1dsJez685HP753E2y3+h2On88Wl/8EElwfa8u1STqYidIevPIJHVcCXR5s/1bxAHr+oo1VsCVv0dZaeXObIWA2ohSS9m9lSYTMyv83ONY9LDhdufmXDXKByY769i;3:UgGGNzRMkRS3zpFdJhNVEDnN5iE2ev17PNEhVo7TbHaHXk6Jm6kQ2b9cHybPm4u2fCcMrCB//Dm68rPjDr/uZGv5iGN/svLbzdbSij0Wp0ecocu/giQ/eEnmEYrg6F8f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR05MB1235; X-Microsoft-Exchange-Diagnostics: 1;AM2PR05MB1235;25:0E0PSz31CcEgZfHHGWmlmPiTNcDHrQzVGMKIxfDT3FkPHVsis2k/ZwBzg0QTk/i18iKe7J3KTfgDkbo+sDBmz3SaMpa0nJReR2qYrueFv5X5cuSL3F4nEW6u/1CoHGdc81V4kpzhXgvqcVwhzzzpv7V8MdzMBN/FRd8D0gI5gyKeg+ERFhR2FLT8Wj9hmLx4Xrw4sbOqu0Vy82cek7jO3O3AIdRGw7o0LZogcKREnyz4IpAH/Xxbl7Cu3Mn0Pe719x29AguFq1JJzx8jAUQzqvfydKthh/DyqyjcjF6G09kabSBIc4Kp7SEDwhwA9NpLo4aQXvMVhCtiGKKO364lBM7zhwlYizisB35HeSm3uSWJLY4GQbHku+7fVu0o0bFz2qubpc78MzRS33KAdGkT7xy/xCDD8DB0XoUr3J5FQ9bpPQJlGCy8Nkv7wyMEzMSo4PXHM8RnpoKwK15wBlgfLcVvyh/Nn/HifFMJVjiatRmpoqHGJR/vrXVPQX8MdY0PAMyb0+4dztTj/U4HDKs7nVNyFlRygdeX99VgkXBzVouO7JLKTiHNSKNWT9o36vg2sDg0t8PavqIn1z4sVQvQpGZlm/eQy3UB68Bb+yCd5AhFSOolqJh1BmoFzSBpBg10L4efgfRfVPugz+x5ZP6tpw==;20:zyLWJn3n6eYlvz0No91ufvWAR27rhYYldPc5babeJmEvX6uMWxcUt+PlUAlSYBI49Dvq/s5ghTMUXoo3tIYVGETdl5NiuwR9qzOBWu6h9akdlxy3ZCIi0I5X14nIgqqxOmRMK1sXDedezAg2QiudwOoEGEFS4QpxrKYcKM0ixq4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:AM2PR05MB1235;BCL:0;PCL:0;RULEID:;SRVR:AM2PR05MB1235; X-Microsoft-Exchange-Diagnostics: 1;AM2PR05MB1235;4:5GkCvfgtA5tAOPIEFi1hK354CYUKvXfZZ+QWiATf4vxjNETFsNMw1yBCqXUP0vydp057QsvEdkh0W8vJqHJnp+tyzBhowxLjZayZypFKMrK/tmdIrayrTqjLsj85Bud7moxi0z4sMSoM9xizE6SQOMamh2ITqu5Uk3TmwxrITS3aJL4v0lp3v0na/9bnG9or4JLXf0UJfb5tISg34AgZiEVR+tEIRr18haXyYTI8vzwDVLPRdfNmr4N2UWnOindPqk7nAF5NwjQaJ1Zd8aE7RPQ7K6U4b73F1vDND4sKy5h1+b4/NlYTA8+K/FZ9xx1bIznnksv25+AbhLEaVI9TV8MdgTX/37QPY0hK82VrbAdqOfRirk7QUzrumYk9FB9R X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6049001)(6009001)(24454002)(33656002)(54356999)(74826001)(2906002)(189998001)(66066001)(65806001)(92566002)(47776003)(65956001)(81166005)(77096005)(64126003)(87266999)(99136001)(76176999)(2950100001)(50986999)(65816999)(50466002)(59896002)(74482002)(5008740100001)(23676002)(42186005)(110136002)(4001350100001)(586003)(36756003)(83506001)(1096002)(5004730100002)(450100001)(3846002)(6116002)(107886002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM2PR05MB1235;H:[192.156.217.146];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTJQUjA1TUIxMjM1OzIzOk53Yyt5TWVDb1JCRFk2TXY5a0VtWE04cnR2?= =?utf-8?B?S05rS3BKWGtHUDM2akN6amdiR0FnOFFKNC9JeU12djFZWUhzOUJCYVNZN2RI?= =?utf-8?B?VXpoUEZEVXcyMGd5bktzaUJ5QUJQd2dXUlROZitMNkRQTllkck1ScnR0SFA3?= =?utf-8?B?S0xzZXZwaHU1b2RmcGZYZVlncGduMGJZNzY1eTRlTmhyZWtscTZuUXpZemRt?= =?utf-8?B?bTljZTA1MmJpS0lmTE1haERPbjdsQXNkSXF6ZEpkVVVhaEY2dmpZbEJac1lZ?= =?utf-8?B?QTBvQkQ0ZHd6ZVQ4UnQ2eWlXalpld0xleksyeGM0WkJhYXpaalJMMG90RkQ1?= =?utf-8?B?MXE4b0dSMFlRdElOQkpwdFkxNTdzRE9FelZVNkpnd25WVi9OSmlGbXhURUZU?= =?utf-8?B?SXROMFhFTGVzajFPdHgzZndJOXJKRStmZTBUMHIrc1lNUUhGaWUveWg0VHIw?= =?utf-8?B?SlJQWGxFRHFvTFhhYzQ5bVB4c3BlcE45Q05KWHE0VFkvd3ZXcktlR0pubzVx?= =?utf-8?B?SE5CVzY4S2oxdXBZRGwrUWt5cWpraE9TM2c4cDBIUU0xN0had3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ics: 1;AM2PR05MB1235;5:a0lp6exCG97CQIxxEOEW9HGS35qQ3BGPuYwm07NHsI8qRTgNqAGq5e29YnSwzgZH0fYg7GPqG0wRtgT8LeBEutSwt016QwtoeC7DhsuVL/C65iccT7JT/d5X0nCcnc0Rpu0XGXZ3DtYpY5i1JjQmZw==;24:shGz/oHTP0+OKa6PwMrMEw/DU5rfHt6aVSvzN3J9MeBzK0w4T2Cd2Lf36X6Abv+NoxyLlSAI7qQEP7pID1rf2gZ92JocznkO4CdRfgcMEqc=;20:jFkI/NtW7knox3CBgPGbzdpPkLTbZ+QBwIXLNBm7deODXod1R3D5Co5jBIZAbSXwWEXs2a9iTFNmG5sneqeCof1RktgGvgjoznHAeQDhShLgtnwQwGJIijHW1jbRhlb2Myf7KYQSCNve4XzHc8kaM+SWfcwvyG9h/qzC7DzlF4g= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nag.co.uk X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 09:02:15.7647 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR05MB1235 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id u3592OUF015934 Message-ID: <57037F13.1060801@nag.co.uk> Date: Tue, 5 Apr 2016 10:02:11 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Carlisle Subject: Re: Bug in \NewDocumentEnvironment To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <57037A5C.5040000@morningstar2.co.uk> 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:9yzB17aNpRE=:VaVRYiWGObjo814NRC9nwOUWB1 k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OT2E8gHZ6sR1taUkn37Gpe9fA gwTJnwcplJIOpmeAKy0j3sP5nxvKs3S43o8yGcs8= X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7926 On 05/04/2016 09:42, Joseph Wright wrote: > I wonder about the fact that e-TeX v1 -> v2 included adding \halign > cells to places where \protected is 'active': presumably there was a > good reason for this though it may (since Peter B.'s death) be hard to > pin this down. The driving force there were the usual problems of \if... tests doing the wrong thing at start of array cells. For \ifmmode that's usually avoidable by doing \relax\ifmmode but harder (and caused us a lot of anguish at the time) is inputenc/fontenc style tests: you want, if possible, any tests to be expandable so you don't break kerns around accented letters, but if they are expandable and at the start of a table cell typically they expand to the wrong thing. Making the tests in a \protected macro would avoid that problem..... David ________________________________ 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 Microsoft Office 365. ________________________________