[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] Don't print "process finished" into the stderr buffer.
From: |
Stephen Leake |
Subject: |
Re: [PATCH 2/3] Don't print "process finished" into the stderr buffer. |
Date: |
Mon, 09 Apr 2018 23:14:39 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
>> From: Philipp Stephani <address@hidden>
>> Date: Sat, 07 Apr 2018 20:21:40 +0000
>> Cc: address@hidden, address@hidden
>>
>> > * src/process.c (syms_of_process): Add 'ignore' symbol.
>> > (Fmake_process): Use it as sentinel for the standard error pipe
>> > process.
>>
>> Why would we want that, and by default on top of that? Please give at
>> least some rationale behind this change.
>>
>> Neither the manual not the docstring for `make-process' specify that
>> Emacs prints "Process foo stderr
>> finished" at the end of the standard error buffer, so that message
>> shouldn't be printed.
>
> That assumes that the documentation is correct and the code isn't; it
> could be the other way around.
>
> But I'm guessing that the current behavior was unexpected for some
> reason, and that's why you looked in the documentation. If the guess
> is correct, could you describe why it was unexpected/unwanted?
I had to work around that behavior as well, in DVC (Emacs front end for
some CM tools). When you are parsing the output of a process, that
string is unexpected.
--
-- Stephe
[PATCH 3/3] Inherit process output coding system to stderr process., Philipp Stephani, 2018/04/04
Re: [PATCH 1/3] Document that 'make-process' mixes the output streams, Eli Zaretskii, 2018/04/04