GNU bug report logs - #61024
29.0.60; [PATCH] Eshell errors out when trying to redirect output of a remote process

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Mon, 23 Jan 2023 07:09:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.60

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 61024 <at> debbugs.gnu.org
Subject: Re: 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 <at> gmail.com>
> 
>    ~ $ cd /sudo::
>    /sudo:root <at> 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?




This bug report was last modified 115 days ago.

Previous Next


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