Re: [Scheme-reports] I/O redux Vincent Manis (03 May 2011 08:31 UTC)
Re: [Scheme-reports] I/O redux Vincent Manis (03 May 2011 10:11 UTC)
Re: [Scheme-reports] I/O redux John Cowan (03 May 2011 15:21 UTC)

Re: [Scheme-reports] I/O redux Vincent Manis 03 May 2011 10:10 UTC

On 2011-05-03, at 01:30, Vincent Manis wrote:

> On 2011-05-03, at 00:30, John Cowan wrote:
>> My feeling is that it's not useful enough: redirection of standard
>> error should typically be done at program invocation time.  A program
>> that wants to rebind standard error to syslog or the like can do so by
>> passing a suitable port argument to CURRENT-ERROR.

I shouldn't compose emails at 0130, I missed John's remark about redirection. WITH-ERROR-TO-FILE doesn't redirect standard error, any more than WITH-OUTPUT-TO-FILE redirects standard output. These both cause the current stream to be temporarily changed, but standard error and standard output are still what they were before.

-- vincent
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports