GNU bug report logs - #24287
Process filters received stderr output, not documented

Previous Next

Package: emacs;

Reported by: "Paul A. Steckler" <steck <at> stecksoft.com>

Date: Mon, 22 Aug 2016 18:06:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24287 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Steckler" <steck <at> stecksoft.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24287 <at> debbugs.gnu.org
Subject: Re: bug#24287: Process filters received stderr output, not documented
Date: Mon, 22 Aug 2016 15:08:47 -0400
That's true, but the documentation for filter functions is misleading.
It specifically mentions the standard output of the associated
process, but neglects to mention the standard error.

Also, one might not see that earlier section when looking at the
documentation for filter functions. I did not see that section, in
fact, when using the manual to help me write my code.

-- Paul

On Mon, Aug 22, 2016 at 2:23 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: "Paul A. Steckler" <steck <at> stecksoft.com>
>> Date: Mon, 22 Aug 2016 13:35:25 -0400
>>
>> The documentation for Process Filter Functions mentions that process
>> filters receive the standard output from their associated processes. It
>> does not mention that the filters also receive standard error output.
>
> That is described in the parent section:
>
>      It is impossible to separate the standard output and standard error
>   streams of the subprocess, because Emacs normally spawns the subprocess
>   inside a pseudo-TTY, and a pseudo-TTY has only one output channel.  If
>   you want to keep the output to those streams separate, you should
>   redirect one of them to a file—for example, by using an appropriate
>   shell command.




This bug report was last modified 8 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.