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 p076Yigw012196 for ; Fri, 7 Jan 2011 07:34:46 +0100 Received: (qmail 21460 invoked by alias); 7 Jan 2011 06:34:38 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 07 Jan 2011 06:34:38 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx047) with SMTP; 07 Jan 2011 07:34:38 +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 p076Wnqx021350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Jan 2011 07:32:49 +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 p06N13bS013383; Fri, 7 Jan 2011 07:32:40 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 770589 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 7 Jan 2011 07:32:40 +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 p076WdA1014910 for ; Fri, 7 Jan 2011 07:32:39 +0100 Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p076WXVD020602 for ; Fri, 7 Jan 2011 07:32:37 +0100 Received: by pzk30 with SMTP id 30so4811208pzk.22 for ; Thu, 06 Jan 2011 22:32:33 -0800 (PST) Received: by 10.143.11.9 with SMTP id o9mr1466920wfi.134.1294381953217; Thu, 06 Jan 2011 22:32:33 -0800 (PST) Received: from staff-250-9.wireless.adelaide.edu.au ([129.127.250.9]) by mx.google.com with ESMTPS id w42sm2196217wfh.3.2011.01.06.22.32.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 22:32:31 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) 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> <4D262B9E.9020605@morningstar2.co.uk> X-Mailer: Apple Mail (2.1081) X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p076WdA1014911 Message-ID: <0C233110-56B2-40DA-A920-156175A1218D@gmail.com> Date: Fri, 7 Jan 2011 17:02:27 +1030 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: \box_if_empty:N(TF) To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4D262B9E.9020605@morningstar2.co.uk> 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: 6545 On 07/01/2011, at 7:22 AM, Joseph Wright wrote: > 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.) I prefer "void" or "clear" instead of "unset" (all work as noun and verb), but I agree with changing the names. I don't mind the existence of "\box_use_clear:N" (or whatever) but I can see your argument against it. Is there any non-neglible performance decrease from writing \box_use:N \l_tmpa_box \box_clear:N \l_tmpa_box over \box_use_clear:N \l_tmpa_box ? If not, I'd be happy to drop the use_clear function for the reason of consistency, as you note. -- Will