Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s4RJCvTD012383 for ; Tue, 27 May 2014 21:12:58 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx112) with ESMTPS (Nemesis) id 0MZgqA-1X8YeL1dBG-00LXBe for ; Tue, 27 May 2014 21:12:52 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s4RJ9vmD028785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 May 2014 21:09:57 +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 s4RG0CpW015714; Tue, 27 May 2014 21:09:56 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11217491 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 27 May 2014 21:09:56 +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 s4RJ9u4G020452 for ; Tue, 27 May 2014 21:09:56 +0200 Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s4RJ9mId028729 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 27 May 2014 21:09:51 +0200 Received: by mail-qg0-f48.google.com with SMTP id i50so14399191qgf.21 for ; Tue, 27 May 2014 12:09:47 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.140.95.80 with SMTP id h74mr43079483qge.2.1401217787575; Tue, 27 May 2014 12:09:47 -0700 (PDT) Received: by 10.96.19.42 with HTTP; Tue, 27 May 2014 12:09:47 -0700 (PDT) References: <5366C875.9040709@googlemail.com> <5367453E.3030906@morningstar2.co.uk> <5369962B.2020905@gmail.com> <5369D54F.10503@googlemail.com> <5369E218.4090809@morningstar2.co.uk> <536BCCC6.7050902@googlemail.com> <5384B7E2.6080801@morningstar2.co.uk> <5384D5CC.2@morningstar2.co.uk> Content-Type: text/plain; charset=UTF-8 Message-ID: Date: Tue, 27 May 2014 15:09:47 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: \__dim_strip_bp:n To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <5384D5CC.2@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:qVs4MuY8d6w=:Yqy3ablolQLMxTv0pBtw/Iqic0 yMA0NNvMh0rud1g0QwNlMM7xggtDGBqMJmoh4PmmwlJ8E6DdyKFJ8CIPMH0SdkfvBAYMxR+hT kujZKmFpSSnRYRG/B9IJEeU/cyobz2wMZ8tzdccGysYGF/jGys68i/Uj4v7KMYytLdGjRoQY/ 0OpFsQJnj8uTKj+/CnHRU+E2PJ1JcYEnUiK5iffa4jrhpVoKY9F1aBZOKjvZK4O7n0Jt5KgNu k9ZQ3gzHNeA8NGlnp59719NDwpBVfLjexhV/KtZ/2aAVri3rb7CnhunqCRXEalYUU/GBO1W71 YgcK+ldenABgC+DEsA3yW1h/5dxyi5UZG26VB5cRA0a3Trar7sY/GYo7GvTBpG3Jo+nilVHZY BLhbHJaorwv+ulT4vVJ4Rv93t/QewrmCqIUVM+CGca2OrTCz0j4LGkMIEXUBeg20503ktfHz3 SukwgyrVupi1VRG63uUQr7Rp1RD4x5Ji6fRDfbwBoGHuY1wubZzLD6QSzLhYIjodWccpJE/PJ zN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-UI-Loop:V01:xMMBOAYZfmI=:ihafj4BFQ0tYaf6kavxhnLdU1My2c3RnOOozmGLos4M= Status: R X-Status: X-Keywords: X-UID: 7458 On 5/27/14, Joseph Wright wrote: > On 27/05/2014 17:12, Bruno Le Floch wrote: >> On 5/27/14, Joseph Wright wrote: >>> On 27/05/2014 16:58, Bruno Le Floch wrote: >>>> I tend to agree with you that we should not let \__dim_strip_pt:n and >>>> \__dim_strip_bp:n accept arbitrary junk. That's easy to change, as >>>> they are only used internally. On the other hand, the public >>>> \dim_to_pt:n and \dim_to_unit:n are documented as allowing multiple >>>> units, for the use-case Joseph describes. >>> >>> If you look over the current actual uses in the LaTeX kernel, they are >>> focussed purely on some aspects of font use. I suspect we'd be better, >>> long-term, to allow this sort of thing if at all only at the interface >>> layer, and to have all of the 'general' code stuff expect 'well defined' >>> dimensions. Means a doc change, but I feel an reasonable one. >> >> My worry is not about doc changes, but about people who might be using >> \dim_to_pt:n "in the wild". We'd be breaking code. Can we have a >> deprecation period? >> >> Bruno > > A reasonable point, but not always possible when we make an 'in place' > change (which are rare). Here, a sweep over TL2014 shows no uses outside > of the kernel code: I'd hope the impact will be very low. > -- > Joseph Wright I suggest we wait a few more days. If no one on the list complains in the next couple of days about the change to make \dim_to_pt:n and \dim_to_unit:nn more restrictive, we should go forward. Bruno