GNU bug report logs - #59545
29.0.50; Eshell fails to redirect output of sourced eshell file

Previous Next

Package: emacs;

Reported by: Milan Zimmermann <milan.zimmermann <at> gmail.com>

Date: Thu, 24 Nov 2022 15:50:02 UTC

Severity: normal

Found in version 29.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59545 <at> debbugs.gnu.org, milan.zimmermann <at> gmail.com, michael.albinus <at> gmx.de
Subject: Re: bug#59545: 29.0.50; Eshell fails to redirect output of sourced
 eshell file
Date: Fri, 23 Dec 2022 23:29:04 -0800
reopen 59545
thanks

On 12/22/2022 12:02 PM, Jim Porter wrote:
> Merged to master as 17bf6a829ca2fd2920c01e1aee30ab16b9c672eb. (I guess 
> that was only a day and not "a couple days", but I think it would be 
> good to get this on the master branch so that a wider audience can test 
> it to verify that everything is ok.)

I found a problem with the patch on master:

  ~ $ {echo hello; echo world} | rev
  olleh  ;; "dlrow" is missing!

This happens because the way I'm copying output handles around results 
in EOF being sent to "rev" after "echo hello". To be fair, this didn't 
work correctly before either, but the problem was different. Prior to my 
patch:

  ~ $ {echo hello; echo world} | rev
  hello
  dlrow

(Only "echo world" is actually piped through "rev".) I'll try to come up 
with a fix in the next couple days.




This bug report was last modified 2 years and 143 days ago.

Previous Next


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