[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61024: 29.0.60; [PATCH] Eshell errors out when trying to redirect ou
From: |
Eli Zaretskii |
Subject: |
bug#61024: 29.0.60; [PATCH] Eshell errors out when trying to redirect output of a remote process |
Date: |
Mon, 23 Jan 2023 15:21:49 +0200 |
> Date: Sun, 22 Jan 2023 23:07:58 -0800
> From: Jim Porter <jporterbugs@gmail.com>
>
> ~ $ cd /sudo::
> /sudo:root@host:~ # *echo hi there > #<foo>
> Wrong type argument: "bufferp echo-stderr"
>
> (Any other Tramp method should reproduce this issue.) That's because the
> echo command is being redirected to two places: stdout is going to the
> buffer "foo", and stderr is going to the Eshell buffer (via a pipe
> process). However, that doesn't work for Tramp processes.
>
> Attached is a fix with a test. I think this should definitely go in
> Emacs 29, since it's a pretty bad regression.
Fine by me, unless Michael objects or has better ideas.
> I'm actually surprised no one has filed a bug on this already.
Maybe it tells us how many people use this combination?