From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#56025: [WIP PATCH] 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Tue, 19 Jul 2022 09:59:41 +0200 Message-ID: <87r12ha5xu.fsf@gmx.de> References: <8e21db9c-0100-998e-f280-81304e7ff61a@cornell.edu> <83sfnud26o.fsf@gnu.org> <96e47ba7-efaa-b6df-dd98-60f09068e68c@gmail.com> <874k097lbh.fsf@melete.silentflame.com> <8735frmjrr.fsf@athena.silentflame.com> <4676f52c-4758-38df-f0f4-dbcb5d848c1b@gmail.com> <8735fr2kq6.fsf@melete.silentflame.com> <10cf6a90-f86a-b0df-4dc2-c258b7494158@gmail.com> <18e79c02-3a2a-77d1-3798-33711f52d6b9@cornell.edu> <19c66901-2eeb-1f40-17a4-4ed54827e065@gmail.com> <5990de80-63a5-ac9b-1a11-c814aa9e38f2@gmail.com> <3779ea08-f481-5fb5-3257-ca9fa7c604bc@cornell.edu> <60cf587b-5d83-31d6-f0af-56979b221425@gmail.com> <83bktoqnru.fsf@gnu.org> <5f9b3680-d840-cc1d-14a6-1c8f71c30e62@gmail.com> <87zgh64zbp.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16775"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 56025@debbugs.gnu.org, larsi@gnus.org, kbrown@cornell.edu, spwhitton@email.arizona.edu To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 19 10:02:00 2022 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 1oDiB6-0004Au-Ej for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 10:02:00 +0200 Original-Received: from localhost ([::1]:34034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDiB5-0002Wi-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 04:01:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDiAB-0001RH-B7 for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 04:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDiAB-0003Qr-2H for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 04:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDiAA-00088t-Qn for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2022 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56025 X-GNU-PR-Package: emacs Original-Received: via spool by 56025-submit@debbugs.gnu.org id=B56025.165821760931195 (code B ref 56025); Tue, 19 Jul 2022 08:01:02 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 19 Jul 2022 08:00:09 +0000 Original-Received: from localhost ([127.0.0.1]:52710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDi9J-000875-0N for submit@debbugs.gnu.org; Tue, 19 Jul 2022 04:00:09 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:49231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDi9D-00084e-4K for 56025@debbugs.gnu.org; Tue, 19 Jul 2022 04:00:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1658217586; bh=IIjMGJ9TQMKzR6JF71P4oXzYCs2Byez3FkJNVbFaYnQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=Bot/8E0l25qlDkT1WRgcPHhMPxV5tbG1koZAE6+xXZK8UnQxxr/ez72l/+bKLAfgn ATypBHOCqLYGe4U/yAA+n94fd1b6bzyofrJGHlbDsykfX/BYsQLQApOQapx1A8gT32 YDPsNwRINSJ5P/PlLK/gbhkAhy1W81yeQAiewIkE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.112.19]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MV67y-1o39jY0mRS-00S3hZ; Tue, 19 Jul 2022 09:59:46 +0200 In-Reply-To: (Jim Porter's message of "Mon, 18 Jul 2022 18:58:45 -0700") X-Provags-ID: V03:K1:FAaazWA/wRcCvDUObPcqzYK7gtXH7eeab1qraUY6zh/9upfu+Tj Xcj6YUikB9Cxy0uzKaSW9sti2RTOuJleV2juBImHtEbw+YGKL2NSJCWjAPYsc6AJ1seJB1v tqGHtGyRjiVJqSOuPIzAn4vUyhmZCcGKf4mWY597iNyhnxavTjQPeeD92MWYxs8NZSh2ctz KhVOvNDGEJ6t0UWBPI4gQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:xR31GYBLcwg=:MLes+9Nptlye8B7vN8/RNh rx4QHK0fS9mIMrEDwZxjSfaXtd6HozRxult+yEpB4Vfi4vYv3IhsxbC6llBT/0AE44zf4hWd6 QeAHhtQ/tA4lCNPW4SqesdIlDxVf7fSMOsYz94Ye/8IDXlN1MD+QpKLjXm4rhNT7NgaI8mi76 WSSce4S/77OzhK0PogB0alHeoVnZ7jX4De4pGqqn5p1sZ09LKsT+2yAm0ep6WE4/M//acXTCB zsM1tM3BMEXXM9qDMc1+4SEWZwlPyLbQbtSYpcFmvZ0D0DGnn3C9yBqhYA9Rt3GXNSWTZNB5Q VlD0oYKDDMAHho8D50q8wiQq2uRRlJX0tpSPpB55ydNWioGbF8Q1tNavtNU9in09FtP3Lt3B+ uYJL5qMVV35OPqB2rCu6tJMhRAqQi3fQzgT6lhjEY5f4T9drrh0k7jxHaHuccp9bJQ76scb98 RN+VMxqnErf1dZRMy4R8k74H9dbKA0APbNL4NaZrzXufU9/GMpGxjcs19uw7SCdqaxg5/hfnV FeXC/diKXaMmVN2J0tPAxPp+xMbZm5+2irVB/JDtZTfnvrSMrUStR0pdZK64WygU5SbxlR1vC deZBmtYIEEN1rIUEQFPZ8rakcMfBOtv2MqFfSQ1qGoUyF+8dqc66IGb8Doe9ayL1CXEwVxUIn uTPykzeOOkNzHjHIZykRXitjTGp6RMJbi/mJqLkoOknhpv0JyAlrSoSWSDB/P6pV5YAG5aXYI lsE81e7ebjlS7yZfST4JaZL6P/TMUB3YFLPzVjx7ynG5nqVY8n8Um7KGh1ycJ2s8c8v9YXjz 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" Xref: news.gmane.io gmane.emacs.bugs:237406 Archived-At: Jim Porter writes: Hi Jim, >> I haven't tested, but it looks like it won't work with remote processes >> foo and bar. Something like >> --8<---------------cut here---------------start------------->8--- >> ~ $ cd /ssh:remotehost: >> /ssh:remotehost:~ $ *ls | *grep a >> --8<---------------cut here---------------end--------------->8--- > > Hmm, yeah. We'll need to do something with the Tramp case. I think the > minimal fix would be to update `tramp-sh-handle-make-process' so that > it doesn't signal an error when :connection-type is a cons > cell. That's pretty easy. FTR, there are three different implementations of `make-process' in Tramp. A fourth one, in tramp-smb.el, waits for implementation. > However, it seems that Tramp doesn't fully support :connection-type > yet (testing on both Emacs 28.1 and 29). Indeed. Tramp just checks that :connection-type is set to a proper value, that's it. I was never urged to do more :-) > Maybe there's a relatively easy way to get Tramp to respect > :connection-type, but I tried a couple of things and they didn't work > quite right. Still, that could be a followup for later. So long as it > doesn't error out immediately when it's a cons cell, I think it would > be ok. Best would be you write a new bug report for Tramp, handling :connection-type proper in make-process. At least it should accept the cons cell (once the API has been stabilized, documented and pushed to Emacs). And perhaps Tramp could do better in general wrt :connection-type. Best regards, Michael.