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#47861: Starting `jsonrpc-process-connection' over Tramp fails if the process writes to stderr Date: Sat, 22 May 2021 09:27:57 +0200 Message-ID: <87k0nrqlc2.fsf@gmx.de> References: <87y2cyaiwh.fsf@gmx.de> <87mtsvgawk.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="38469"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47861-done@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 22 09:29:11 2021 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 1lkM4M-0009sS-SR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 May 2021 09:29:10 +0200 Original-Received: from localhost ([::1]:39046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkM4L-0006WO-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 May 2021 03:29:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkM4E-0006V0-9X for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 03:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkM4E-0003nW-28 for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 03:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lkM4D-0004HX-W4 for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 03:29:01 -0400 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 May 2021 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47861 X-GNU-PR-Package: emacs Mail-Followup-To: 47861@debbugs.gnu.org, michael.albinus@gmx.de, jporterbugs@gmail.com Original-Received: via spool by 47861-done@debbugs.gnu.org id=D47861.162166848716392 (code D ref 47861); Sat, 22 May 2021 07:29:01 +0000 Original-Received: (at 47861-done) by debbugs.gnu.org; 22 May 2021 07:28:07 +0000 Original-Received: from localhost ([127.0.0.1]:38246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkM3K-0004GK-Nv for submit@debbugs.gnu.org; Sat, 22 May 2021 03:28:06 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:46013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkM3J-0004Fo-8y for 47861-done@debbugs.gnu.org; Sat, 22 May 2021 03:28:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621668478; bh=9v7QHPSknov3PSO6PmB6EQI+hAh+53NPJd/TKJf1YBA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=LJB15DX+kx9FPDdSmz+TxnexQgEV811hCcXKwwrMhb5KDMPYvi6Cv2bTkeSANrIoQ Cg3EG3vyLMfX7VkUgUYAhiCLccKd/ONJYWEqWZ6u1krlsDtRk0kYuiVAQgd/pCeuDw j1QDD9slw3YpvkoBS2iRMySd93ZRta03ATkArw5s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.119.224]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCbIn-1lcLQT1xcB-009kMo; Sat, 22 May 2021 09:27:58 +0200 In-Reply-To: (Jim Porter's message of "Fri, 21 May 2021 21:53:10 -0700") X-Provags-ID: V03:K1:9tR1RMsJB5a0SG9VQ45VQlF1ayRDpHOGw+TtNWP1rAIf7SdnkaZ /FV42yBzHlnI3wt2bkxUy8+4sGXAHSbwZk5DQTYK0T4d3N0jZF653ZgqeYwahRGh7fEy5xH ZnWGt7WQzixsZDCNC104G0l4cmPpSxEOZu9+AKmzSXj6oRCYJ0hzmSxSfUNeC5R3tbNGr14 +XOPXzOTQ9SlZPIitFnTg== X-UI-Out-Filterresults: notjunk:1;V03:K0:XwDM1UyXj7M=:YRmE/Wv33OPU0HadCeqgqO IPdVUsn+olxUU5VUH5a/rnSNkPxoAawUMfGn9va0js97PKfYRyGAhfq2v6H3mXa7jfVWHQi9A wty0vB8pKkhs/vJY1luKfBAm22LoNz8qeFZDg7+iDc73jTdWYRd27BbS6ew1YmAYbC/WGNwtF 4H3VjyFesbaGSG+Ikaskv0LSjI5K8a1U2GVtTX2F4ZPTvmPDiBH4mLjkaULpyDL5YCkP0aMY4 IawqjpPG1GZVNA8ZD1Tx5tibyjUEs9nVJ1Cw6NV+nvCexwlH2K2MfhRpFasdlvJsXFGBIsHMj koLt3CMto+hiA/CrlRLRJyh14El/mp9x5/74NNAzbVtTMP4IYgp29UFNUAwp9NtdhpzhY594i PWu0JO2LieCHzNeeUTERX4HE5wjaOr6+//bvQFsDwXl1MCtqHQ9SZ2L22q1PM/viJQ4cgrvwN /P9pj3ScBSXRbRVPIjfeSH5m7iCtcFzv6oplaWUDsAuut+T1zmz4sm68bUZF9ztAIViLLDfHP rmML/qxuW6rLeiKau1kQQ4Dxy3y9JgJC1GGJUYxO7sGHS0AYVLo7b/ZEZK7kMt6MJZf+N1IQT 026yfPCuUCwdvJCrhqPEMVyWqx9GJ6UnJnLvxrdgJx+4ZHr1vKqceQLNWyxHJBQs8Ir9pZ595 kn8UqBOcIY3xG5LrkvtZHtv5pRnaJtVS978kNOZZGY7YpeBjWH9dbX9aVQXZfRju0tqOyr2Lc y8XyV5ok66N6UuYQdPH4crmM79hFsQMwO56FKJnUGifvOXj5KOPppqv6zQSBVl1uCTOVanGQ 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:207013 Archived-At: Version: 28.1 Jim Porter writes: Hi Jim, >> I've finished a first shot on this, see the appended patch. Would you >> mind to test this in your environment, for example with eglot? > > I've tested this patch (using commit > e89a2304a152d6ee9e5d75efe0d22cabab771388 from the Tramp repository, > which includes your above patch), and everything works correctly as > far as I can tell. > > I also wanted to be sure I could still reproduce the original issue, > so I confirmed that if I roll Tramp back to a previous revision before > your workaround (I used commit > f9301e5d4424bd567dc212f579350c5e04397ba1), I see the bug again. Thanks for the feedback! I'm closing the bug, the patch will be included in the next Tramp 2.5.0.5 version. > Thanks for the fix! Best regards, Michael.