bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21605: 24.3; Eshell not using stderr


From: Lars Ingebrigtsen
Subject: bug#21605: 24.3; Eshell not using stderr
Date: Fri, 13 May 2022 14:38:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jim Porter <jporterbugs@gmail.com> writes:

> I think this is just a missing feature, partly due to the fact that
> the redirection operators don't let you redirect a specific fd. That's
> in the "Bugs and Ideas" section of the Eshell manual though:
>
>   Support ‘2>&1’ and ‘>&’ and ‘2>’ and ‘|&’
>
>     The syntax table for parsing these should be customizable, such that
>     the user could change it to use rc syntax: ‘>[2=1]’.
>
> Doing that is probably the hardest part. The other bit that would need
> to be fixed is (I think) to modify `eshell-gather-process-output' to
> use `make-process' instead of `start-file-process', and then give it a
> :stderr argument so that Emacs doesn't write both stdout and stderr to
> a single temp buffer.

I see; thanks.

> I agree that this would definitely be nice to have though.

Yup.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]