[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding streams for standard out and standard err
From: |
Phillip Lord |
Subject: |
Re: Adding streams for standard out and standard err |
Date: |
Fri, 22 Jul 2016 16:43:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: address@hidden (Phillip Lord)
>> Cc: address@hidden
>> Date: Thu, 21 Jul 2016 21:13:26 +0100
>>
>> > Maybe that's all we need: a small wrapper around append-to-file.
> However, if we do add them, perhaps we need to test the file
> descriptor for validity and/or being different from the terminal
> output device, and provide some helpful diagnostics if it isn't,
> because I don't really believe in people being aware of the pitfalls.
> E.g., I many times "rediscover" the problem when I need to debug a TTY
> session of Emacs.
As Phil Sainty has pointed out, the primitive already exists. These
checks could be added to that also.
Phil
Re: Adding streams for standard out and standard err, Phil Sainty, 2016/07/22