From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Checking if this is a Eshell bug in emacs 29: Should eshell redirect all output in esh script to stdout Date: Thu, 24 Nov 2022 08:20:44 +0200 Message-ID: <83pmdcyitf.fsf@gnu.org> References: <82bcaf3d-29a6-c7be-46e9-edafc9c33de1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7627"; mail-complaints-to="usenet@ciao.gmane.io" Cc: milan.zimmermann@gmail.com, emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 24 07:20:44 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oy5bI-0001n6-2P for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Nov 2022 07:20:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy5b3-0006VJ-T5; Thu, 24 Nov 2022 01:20:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy5b1-0006V8-Vl for emacs-devel@gnu.org; Thu, 24 Nov 2022 01:20:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy5b1-0003X8-6O; Thu, 24 Nov 2022 01:20:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=NIAENdBpS2mszUzY2l9CceIUswfxaf9hBGnSIGqDXCE=; b=f3nfCUwWjHpKK2nfWxEH GB5k24fYvd1HCauYxtP+sT91JBTAb8caS6RUsLVfP+9LzU0XdWB13MbxMr/Kg/l7AWzfLTUwaiV0o ohM78iq0e2sQYEl0VFLswf+3eYYTnmnm9ahpfuPmWit9gwyw/lT9oblJoK6ZfeJ/0SHbc502bdNwA aJmBzwUlqgqdT0+NMs8UohQH9A3zgwc/dKGSU+Vn0p7SJi/CxaRCJFpWVXAS6Gtz9kNnw9WUQCGPE IubStlnX1TyOQx1IiEMbHRohgdoqCh2xFILVHXf94yfQ0B2IQcUZ9DWBsO/5RjT1boKk7Y+gY7ZfV P2NfdaPJQDEBmg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy5az-0002K6-Le; Thu, 24 Nov 2022 01:20:26 -0500 In-Reply-To: <82bcaf3d-29a6-c7be-46e9-edafc9c33de1@gmail.com> (message from Jim Porter on Wed, 23 Nov 2022 12:30:45 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300428 Archived-At: > Date: Wed, 23 Nov 2022 12:30:45 -0800 > From: Jim Porter > > On 11/23/2022 10:56 AM, Milan Zimmermann wrote: > > I would like to check here before reporting an Eshell bug. > > > > A script named 'redirect-echo.esh' with two echo commands. > > > > Emacs 29: Sourcing it and redirecting output to a file, results in the > > first echo string ('hello') showing in eshell, only the second > > ('there')(presumably because it is last) showing in the output file: > [snip] > >  I believe this is a bug but I am not sure about Eshell's intended > > features, so I wanted to check first. > > This is definitely a bug. Would you two please move the discussion of this bug to the bug tracker? Please file a bug report with the details, and continue discussing the solution there. TIA