Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p06Kt8vI019509 for ; Thu, 6 Jan 2011 21:55:10 +0100 Received: (qmail 6391 invoked by alias); 6 Jan 2011 20:55:03 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 06 Jan 2011 20:55:03 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx101) with SMTP; 06 Jan 2011 21:55:03 +0100 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 p06Kr6V5018796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Jan 2011 21:53:06 +0100 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 p06JdCBM001194; Thu, 6 Jan 2011 21:52:57 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 825082 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 6 Jan 2011 21:52:57 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p06KqvRW003820 for ; Thu, 6 Jan 2011 21:52:57 +0100 Received: from anchor-post-1.mail.demon.net (anchor-post-1.mail.demon.net [195.173.77.132]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p06KqlW7015608 for ; Thu, 6 Jan 2011 21:52:50 +0100 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=palladium.local) by anchor-post-1.mail.demon.net with esmtp (Exim 4.69) id 1PawpD-0004L6-g6; Thu, 06 Jan 2011 20:52:47 +0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 References: <4D22486F.5000506@morningstar2.co.uk> <19748.47294.93978.108113@morse.mittelbach-online.de> <4D24EC4B.1080307@morningstar2.co.uk> <19748.64800.644068.699289@morse.mittelbach-online.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4D262B9E.9020605@morningstar2.co.uk> Date: Thu, 6 Jan 2011 20:52:46 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: \box_if_empty:N(TF) To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <19748.64800.644068.699289@morse.mittelbach-online.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe7j3G660N4yBY6XHH YPYtmQj6mbYUTZ3LnaFANLWrKE7/wIDhnv+VrW0hxOapLRUwuY9oBqo5h+Dh9B42XlFTMTKlXDju GaV8Q==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6544 On 05/01/2011 23:22, Frank Mittelbach wrote: > > I had a look back through the current code, to think about things more > > generally. One thing that stuck me is that \box_new:N gives a void box, > > \box_use_clear:N gives a void box but \box_clear:N gives an empty > > (h)box. > > you sure? that shouldn't be the case. It is supposed to be set eq to > \c_empty_box which in turn should be a void box in fact the plain TeX \voidb@x > right now You are right: I was misled by 'empty' in the name. So things are consistent, but named awkwardly. Perhaps this should be '\c_unset_box', with \box_unset:N and \box_if_unset:N(TF) following naturally. (I still don't like \box_use_unset:N, as the concept of use-and-unset jars compared to the other variable types. However, the name would at least be consistent with the other functions.) What is clear is that 'empty' is a pretty bad choice of name here :-) -- Joseph Wright