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.bugs Subject: bug#56025: [WIP PATCH] 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Sun, 17 Jul 2022 09:03:17 +0300 Message-ID: <83bktoqnru.fsf@gnu.org> References: <8e21db9c-0100-998e-f280-81304e7ff61a@cornell.edu> <8974408d-91cd-aebd-7a5b-596a57bd640e@cornell.edu> <17d41105-b006-f9ad-af0b-ece84a7f5248@gmail.com> <040b3a36-459b-a94d-f879-7f45aac50bda@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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2608"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 56025@debbugs.gnu.org, spwhitton@email.arizona.edu, kbrown@cornell.edu To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 17 08:04:10 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 1oCxNy-0000Rs-8Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 08:04:10 +0200 Original-Received: from localhost ([::1]:49452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCxNw-0003hf-NJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 02:04:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCxNq-0003h9-A9 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 02:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCxNq-0004UV-12 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 02:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCxNp-0006T7-SS for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 02:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2022 06:04:01 +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.165803782124829 (code B ref 56025); Sun, 17 Jul 2022 06:04:01 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 17 Jul 2022 06:03:41 +0000 Original-Received: from localhost ([127.0.0.1]:46558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCxNV-0006SP-D9 for submit@debbugs.gnu.org; Sun, 17 Jul 2022 02:03:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCxNT-0006S8-Np for 56025@debbugs.gnu.org; Sun, 17 Jul 2022 02:03:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCxNN-0004Ro-P7; Sun, 17 Jul 2022 02:03:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zeBqCBaz3d2cCG9tQNA+LiiJjiTotaSooHTotWviCWY=; b=ZG/Cn3rRpc6F 065cxaS4nhHvYOOPobI3LQoBN6cygcH3bWRq4ICZJcMW5w6ecj1IdGs+7Hh87p1s0fzqdpfeOAx1J wqi1NuBDL5vsefH+anx5kSj1dSvndWhpOW0EoifvbfTlc4tqI7tRBBo/mK8b+KfuCkHHMqmV5pbOe Iu/5cUgCOEbWxsVQAussRV5OJxO+dvdPgpsR7UKti1KIgHTPzwi7z2COPQjMQym8mYlfD8faNPOAZ 6OFH9ku+4EH7odgGM1CZLH8RBpcQZ0qUmOWqEmgFzUUyKaPEyrDGPT+emDcMw0qvGwGPvWpteeEPE ZcHAVIc8h+3ZKiHEj87lLA==; Original-Received: from [87.69.77.57] (port=3008 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 1oCxNN-0003jw-89; Sun, 17 Jul 2022 02:03:33 -0400 In-Reply-To: <60cf587b-5d83-31d6-f0af-56979b221425@gmail.com> (message from Jim Porter on Sat, 16 Jul 2022 19:35:12 -0700) 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:237234 Archived-At: > Cc: larsi@gnus.org, 56025@debbugs.gnu.org > From: Jim Porter > Date: Sat, 16 Jul 2022 19:35:12 -0700 > > Ok, attached is a WIP patch to do this. It seems to work for me under > Cygwin, although I've only lightly tested it in that environment. If > this works for you too, I'll finish cleaning this up and add > tests/documentation for it. > > Note that in my patch, I temporarily undid my previous patch to send EOF > multiple times. This is just for testing purposes, but since we're using > a pipe for this connection now, a single call to `process-send-eof' > should be sufficient. (There are some obscure cases where we might want > to keep the current behavior, like redirecting to a process created some > other way, so I think it makes sense to keep that code. Probably...) Could you please describe the main ideas of the changeset? It is hard to be sure I understand what you are trying to do by reading the patch. Thanks.