From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#70901: 30.0.50; Tramp doesn't use ControlMaster even with (setq tramp-use-connection-share nil) Date: Mon, 13 May 2024 05:00:28 +0300 Message-ID: <5959e6f4-607d-4a8f-8e49-fbdd9b438af1@gutov.dev> 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="24566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 70901@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 13 04:01:21 2024 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 1s6L0B-0006Fg-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 May 2024 04:01:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Kzw-0008Nd-Tt; Sun, 12 May 2024 22:01:04 -0400 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 1s6Kzu-0008NO-Ma for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 22:01:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6Kzu-00052Q-EW for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 22:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Kzu-0004VS-D2 for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 22:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2024 02:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70901 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171556564417306 (code B ref -1); Mon, 13 May 2024 02:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 May 2024 02:00:44 +0000 Original-Received: from localhost ([127.0.0.1]:57628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Kzb-0004V4-Ot for submit@debbugs.gnu.org; Sun, 12 May 2024 22:00:44 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6KzY-0004Uv-1I for submit@debbugs.gnu.org; Sun, 12 May 2024 22:00:42 -0400 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 1s6KzX-0008Ls-8f for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 22:00:39 -0400 Original-Received: from wfhigh1-smtp.messagingengine.com ([64.147.123.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6KzT-0004yf-8D for bug-gnu-emacs@gnu.org; Sun, 12 May 2024 22:00:38 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 5E44C1800117 for ; Sun, 12 May 2024 22:00:31 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 12 May 2024 22:00:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1715565631; x=1715652031; bh=/AvnLcHMIS 1IcPrDB7GV4uZR67icFTL9cezJkMN5Xw8=; b=JR9Us9mffYi59s9cF3pl18tOWK Lij/mBkcMQX5sB12KD4M2jxRabc97KlqDMu/O1PAXs4SF+m2tWsLYFOPicAtSv7R abIn9kKRtjyPT/o4rOL0zGAYcUfwJyyIwmbyts8ltIU09foS3eA7hyTQq1xlsHKO fQfdXaKfCcBSVNAf8/aVeqbx+Fz4sbn6107FYC+jW0n70/OGKSOQEDJNYLJhRt63 KNqyOqMs1spCjX8wQEUkd4RIOqMnH1BMmlD9Sa5LxdRP+BwhAEY3Y3mV3ShsDac8 HFVm20I4agiVFYEG5zZxInbO/aJFxPcj51IVKjpdchpKbrBs2dQjYI2GUWWQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1715565631; x=1715652031; bh=/AvnLcHMIS1IcPrDB7GV4uZR67ic FTL9cezJkMN5Xw8=; b=fgbm4oV4lCVoRE0sP2p/LBPdGf7vNrMSpQCLOKwvTXFX 2CYVwC8Ro0UhrhJTzKN7N4oRi7LWQkE61f6ENgUqRKJscUYKBTiB8BGBk8NZZzRG Ci05nnZnydYp7zK73NKUMUdWeKlS2APOTmgpacap/jL8s/REaPxP6Q0b6Lvu2fJR TspjfmuSKPodMSS9fb/VNE2b+rImQ166pCJ/tzoASU3JfVnukZzukVm0ni7VM6jA DvEIGVrh3SQvt14zOZj/yyuk0Q6jSWU7Sw88St+9q180GkNOKou/rQXIJlMb4Q8b MxaGI+269x3jomI8C6h44GRrML9nEBx3+s9Ms85Zhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegfedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvuffhtgfgsehtjeertd dtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthho vhdruggvvheqnecuggftrfgrthhtvghrnhephfetveeuhfdvudeuhfevhfeukeeiteekle evtefhgedvfeefgedtffeifeethfejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 12 May 2024 22:00:29 -0400 (EDT) Content-Language: en-US Received-SPF: pass client-ip=64.147.123.152; envelope-from=dmitry@gutov.dev; helo=wfhigh1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:284945 Archived-At: I have ~/.ssh/config set up correctly enough that ssh @ in the terminal connects quickly (and when I Ctrl-D out of it, it finishes with "Shared connection to <...> closed.") But I haven't been able to make Tramp reuse the connection. I (setq tramp-use-connection-share nil) - so it would pick up the user settings from my ssh config - and the first 'C-x C-f /ssh:user@host:' takes a lot of time anyway with its "Opening connection ...". For context: I'm on a high-latency network node geographically, and using an even slower server for this example. I.e. my ping to it is ~170ms, but the full new ssh connection takes around 4 seconds. On a related note, are asynchronous processes supposed to use ControlMaster when it's available? I get "Opening connection ..." for every M-& call, for example. In GNU Emacs 30.0.50 (build 7, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw scroll bars) of 2024-05-12 built on potemkin Repository revision: b20d4ab374fb9b3c80b968df6acd6444f763bd40 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12302000 System Description: Ubuntu 23.10