From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#61024: 29.0.60; [PATCH] Eshell errors out when trying to redirect output of a remote process Date: Mon, 23 Jan 2023 09:47:03 -0800 Message-ID: <40898fb1-9a3b-9cf5-6c62-acc16ccc76e5@gmail.com> References: <230f0e06-f47a-6a0d-93de-222ca16f7213@gmail.com> <83wn5didxu.fsf@gnu.org> <877cxdi72h.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61024@debbugs.gnu.org To: Michael Albinus , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 23 18:48:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pK0vd-0008G2-Dp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Jan 2023 18:48:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pK0vL-0001Bm-L0; Mon, 23 Jan 2023 12:48:03 -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 1pK0vK-0001BG-4X for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2023 12:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pK0vJ-0000cz-SY for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2023 12:48:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pK0vJ-0007vg-P9 for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2023 12:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jan 2023 17:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61024 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61024-submit@debbugs.gnu.org id=B61024.167449603130287 (code B ref 61024); Mon, 23 Jan 2023 17:48:01 +0000 Original-Received: (at 61024) by debbugs.gnu.org; 23 Jan 2023 17:47:11 +0000 Original-Received: from localhost ([127.0.0.1]:55257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pK0uU-0007sR-PO for submit@debbugs.gnu.org; Mon, 23 Jan 2023 12:47:11 -0500 Original-Received: from mail-pj1-f44.google.com ([209.85.216.44]:54962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pK0uS-0007sC-Mf for 61024@debbugs.gnu.org; Mon, 23 Jan 2023 12:47:09 -0500 Original-Received: by mail-pj1-f44.google.com with SMTP id lp10so8939719pjb.4 for <61024@debbugs.gnu.org>; Mon, 23 Jan 2023 09:47:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=KwMgiSaR9lU2K7Z1Iu6Ob/HIc+X8+UC/Z9jtUslAsBw=; b=O2W83wm5nQF07vP9QLc+YE5i5dWuhVw0rt65bhUbOinvSc2EZmmaYAVvauaxf/vsYv Q1Gkevc+xA2KabXZgaCXdjxiUAtxFaqtuuaJr7VmopCjjGjIk6QP6yo4m0O0rZKNmKKB X5RBgEJU+uXgHc0tgEzpfAVFlz2lPcBYyHkDT+jNBFfGX4XKSm2oAdTNVF4x6uIloUkI vWwZ/zigy5lD5yj6ljQyn3F64BpLEZ242UJwdOqLOPRG8z7txweW3OtPza+pRU4+cSDg 2bGAR+PVPYD4JyWK7Fmwuy9ojI7Wg08Q5x880G2CR2FrB4IkP6yaQwzDixY4RX59UlzG X2Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KwMgiSaR9lU2K7Z1Iu6Ob/HIc+X8+UC/Z9jtUslAsBw=; b=AW3pAMVL+4HNEEQ2JHOrom8bVWvX567sAQHJu36f20MMxIKfITSlMz+a4TNq0qitsk wIwXTjV1eUiozjNy90u095hU7SynqWcyW6a3gAyyj6Ok1f/eTsYOwe9d/rMobuTK8Hic VE7nimJHlbhaOpOvE3bGlNbvaRvQDlR+WRaZMkJzFtpMDCRea8pjrw2emqP6vvrZ3KKi bANEFeMcSdgnNXui8M4UEgcefhRSBE33cwSi26V6PzQPooNnAsGfzdB+AVAx9So6NdCT lU73vC8XhnjuafdySkX3RGZ68bWkwY9jyWfXS5Eo0JDexTlm0sFYJT3kYAhKjtPdOn+C rNeg== X-Gm-Message-State: AFqh2koAEebFr5hk6+VQDqzsSRMOV/e6rYEMV9FBRjAi61/wPXQoqekm x7U/0VzqZCu+J1sptfrJNtw= X-Google-Smtp-Source: AMrXdXt6P6mAeL3zCeJcMWSICIeRqKrkypPLRMaN41kfSeDR4fmCyEXrGI3MKb2xdhpqdRQi5KiB+g== X-Received: by 2002:a05:6a20:4285:b0:b8:9e3a:a3fe with SMTP id o5-20020a056a20428500b000b89e3aa3femr35521755pzj.41.1674496022744; Mon, 23 Jan 2023 09:47:02 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id b75-20020a621b4e000000b0058ba53aaa75sm21642037pfb.99.2023.01.23.09.47.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Jan 2023 09:47:02 -0800 (PST) X-Mozilla-News-Host: news://news.gmane.io Content-Language: en-US In-Reply-To: <877cxdi72h.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254020 Archived-At: On 1/23/2023 7:50 AM, Michael Albinus wrote: > Pipe processes are always tricky for Tramp. I *believe* redirecting > stdout and stderr to different buffers shall work, see "test6" of > tramp-test30-make-process. But I remember also that this was painful to > implement and test. Yeah, I took a look at the Tramp code and it's pretty tricky. I'll see if I can come up with something for Emacs 30 though (maybe we could update the 'make-process' API to make this easier for Tramp?). I'll merge this simple fix to Emacs 29 shortly then. >>> I'm actually surprised no one has filed a bug on this already. >> >> Maybe it tells us how many people use this combination? > > So do we want to reopen this can of worms, and see what happens with > Tramp? But perhaps it is a problem in Eshell, which tries to create its > own pipe process? I'd certainly expect to see bug reports if this had shipped as part of a final Emacs release, but I think it does say that not many people use Tramp + Eshell on development builds. (Which, if anything, is mostly a sign to me that I need to be extra-careful when testing combinations of features like this, since people might not report bugs until after the release.)