LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Will Robertson <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 7 Jan 2011 17:02:27 +1030
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
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

ATOM RSS1 RSS2