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 p8I9nNhO015515 for ; Sun, 18 Sep 2011 11:49:24 +0200 Received: (qmail 17512 invoked by alias); 18 Sep 2011 09:49:18 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 18 Sep 2011 09:49:17 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx098) with SMTP; 18 Sep 2011 11:49:17 +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 p8I9lCQD025173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Sep 2011 11:47:12 +0200 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 p8HM14VH032401; Sun, 18 Sep 2011 11:47:11 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1593967 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 18 Sep 2011 11:47:11 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p8I9lBL9031808 for ; Sun, 18 Sep 2011 11:47:11 +0200 Received: from mail-pz0-f48.google.com (mail-pz0-f48.google.com [209.85.210.48]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p8I9l5Sr026261 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Sun, 18 Sep 2011 11:47:10 +0200 Received: by pzk6 with SMTP id 6so7127059pzk.7 for ; Sun, 18 Sep 2011 02:47:04 -0700 (PDT) Received: by 10.68.156.34 with SMTP id wb2mr2222008pbb.289.1316339224654; Sun, 18 Sep 2011 02:47:04 -0700 (PDT) Received: from [10.0.1.106] (114-30-108-212.ip.adam.com.au. [114.30.108.212]) by mx.google.com with ESMTPS id q10sm16672463pbn.9.2011.09.18.02.47.02 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Sep 2011 02:47:03 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) References: <4E692829.2000003@morningstar2.co.uk> <4E75B860.40106@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 p8I9lBL9031809 Message-ID: Date: Sun, 18 Sep 2011 19:16:59 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: Removal of previously-notified functions To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4E75B860.40106@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6sJLDpZh614LdjtwLz6vwInZu85dNCikFczin82iSTWL6/cb7e0huBRIdQ1 FtlO8DqB+Qphxrbb5suopNrJ7wtwK3AYIXEgZW+VSvQX6NY8VN50C91ef4OlSAiLXvDUrVmhOS44 /hcln+erFRo0c2UQ1lLdxhBKDpnSPMRYU1rPtm4/mWyikwgDlK6Y3Hw4Xw=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: 6868 On 18/09/2011, at 6:52 PM, Joseph Wright wrote: > Part of the reasoning we had here is that \tl_new:Nn was being used > almost entirely for declaring constants. We have a conceptually-separate > \tl_const:Nn for that job. Also, for variables that are not constant but may well be initialised with a default value, I personally find it a bit cleaner to have whatever mechanism that will be setting the variable later to also set the default. E.g. from 2e \DeclareOption{foo}{\def\@foo{#1}} \ExecuteOptions{foo=default} % rather than \def\@foo{default} I know this isn't as efficient, but I think semantically it's a little clearer. > I guess an > alternative is to set up the code such that a stream which has been > closed will give a suitable error message if one tries to use it. I prefer this option; I think it's natural to want to write \iow_new:N \g_foo_iow ... \cs_new:Nn \foo_internal_something:n { \iow_open:Nn \g_foo_iow {#1.output} ... \iow_close:N } -- Will