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 p8IC2xaq018191 for ; Sun, 18 Sep 2011 14:03:00 +0200 Received: (qmail 15011 invoked by alias); 18 Sep 2011 12:02:54 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 18 Sep 2011 12:02:54 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx003) with SMTP; 18 Sep 2011 14:02:54 +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 p8IC01l0001596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Sep 2011 14:00:01 +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 p8HM14Y5032401; Sun, 18 Sep 2011 14:00:00 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1594120 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 18 Sep 2011 14:00:00 +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 p8IC00d9008593 for ; Sun, 18 Sep 2011 14:00:00 +0200 Received: from lon1-post-3.mail.demon.net (lon1-post-3.mail.demon.net [195.173.77.150]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p8IBxohR031184 for ; Sun, 18 Sep 2011 13:59:54 +0200 Received: from morningstar2.demon.co.uk ([80.176.134.7] helo=palladium.local) by lon1-post-3.mail.demon.net with esmtp (Exim 4.69) id 1R5G1s-0000bC-ep for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 18 Sep 2011 11:59:50 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 References: <4E692829.2000003@morningstar2.co.uk> <4E75B860.40106@morningstar2.co.uk> X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4E75DD1C.2010004@morningstar2.co.uk> Date: Sun, 18 Sep 2011 12:59:24 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Removal of previously-notified functions To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Sender is in whitelist: joseph.wright@MORNINGSTAR2.CO.UK); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnBi0P5cROEGjO+pG7NAH/K+tf9SrVFtpLrKONl 2T9EL4W4U4jgzLbnCcGpk1z/zwmKT/K1fv3lD0=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: 6870 On 18/09/2011 10:46, Will Robertson wrote: >> 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 > } That's easy to do, leaving only the question of what happens with \iow_new:N \l_my_stream \iow_open:N \l_my_stream { } ... \iow_close:N \l_my_stream .. \iow_open:N \l_my_stream { } The easiest approach is that we just overwrite the . -- Joseph Wright