From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 08:07:41 +0200 Message-ID: <87o79ags7m.fsf@gmx.de> References: <5959e6f4-607d-4a8f-8e49-fbdd9b438af1@gutov.dev> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22235"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70901@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 13 08:08:19 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 1s6OrD-0005Xx-EJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 May 2024 08:08:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Or3-00057C-C8; Mon, 13 May 2024 02:08:10 -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 1s6Oqy-00056j-El for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 02:08:04 -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 1s6Oqv-0008Dc-RF for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 02:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Oqw-0002o7-3Y for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 02:08: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: Mon, 13 May 2024 06:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70901 X-GNU-PR-Package: emacs Original-Received: via spool by 70901-submit@debbugs.gnu.org id=B70901.171558047410784 (code B ref 70901); Mon, 13 May 2024 06:08:02 +0000 Original-Received: (at 70901) by debbugs.gnu.org; 13 May 2024 06:07:54 +0000 Original-Received: from localhost ([127.0.0.1]:58724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Oqo-0002ns-FN for submit@debbugs.gnu.org; Mon, 13 May 2024 02:07:54 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:35951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Oqm-0002nm-5h for 70901@debbugs.gnu.org; Mon, 13 May 2024 02:07:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1715580462; x=1716185262; i=michael.albinus@gmx.de; bh=Vk01e/7QLlDP1KMibRZYFGsNqpXB0OeVw1EdFD85On4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=W63WZUNyFnqZvlA26Y32GY1FNAngFEPKO8bZdPKeffntt3bwJ0RHdGVXslpZYjXe E1EHV28BNdrL3+Dw3Q8pKOueURSCw644E4USN3LXLGYHFJZkPSVfBD1QQcbITsSwF NTzzBGf55rzIIuLN6XDGAva47BACJJF7nAYg38lR+djAiMaJP0GxOI0UqD4ZPwdq2 lEu2Ed4KdleDbiPibgAts5OlXrBvOfdyJuD9S1hug7WUdT3smxN8T1VvjIFmSr1N+ qGS/8uYef2vi3maHyKaOBcql0Ry6gAoO1bTYD/tOjzq4K38IDA1bw2bpITcBxo4X1 hAW6NJtmvd76Kx+Lcw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.4]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MN5eX-1rpgwV2wxZ-00J4YJ; Mon, 13 May 2024 08:07:42 +0200 In-Reply-To: <5959e6f4-607d-4a8f-8e49-fbdd9b438af1@gutov.dev> (Dmitry Gutov's message of "Mon, 13 May 2024 05:00:28 +0300") X-Provags-ID: V03:K1:ASOAVaS7Eb6BSMAlZpdMX5x5ymAOeqyta+q0UXlRU4d4NyFCiKE DI/8STDMmpdP2e2SW8A4hr6SUEkF1zfWuCqSYiBz0onaYpHWkIaR3g8S8WZVdjCoe+wx2Wn Of0QkY7UaMttaSPa/OZ7i6BuBPLdH8D94epKUtUVAeCtMmUVhWsMaBsSIqelEiV4UYcX5ef OlvP432Bg/eUlGThaaztQ== UI-OutboundReport: notjunk:1;M01:P0:x7hHWn36/kc=;rsD2mbpNRYtxwJu8dTdAB1imaob O6LJuAiE7jqUIRmo8oQuqXIAYILFz/lQDqSgRxsXs0syUq2SqfeLIM1DmmDkbBoHanRBZYfUj JAERdvBVIDV6lYEEcFXQrgc8oxhtXpg8XrtTxdSARzvds/RCNuHhGOSTuV/lXHRxWPynqiy+U KO3Kg6BWFf8wcfPT+sMgnxOkkW0azHjdCgPucyapGorZXFgjIWzFscr9IznrPAu4CUV4ROUCk g38XXv0ItZTgASf0nG+rQkhbeD/drbObRKIdCkTBJKrfLPh+2jETbgm98NgKqPZDShnMcNGH/ ZJoKgis3NvV5wUYWEH8gaMRD+L4QvqPVUkbot8hD9xN789LHVfXkS7Oz3W3WTBPi4hbKxe5UN iI12x0KI3/eJmPSUf3hcGSvkxo7qamdQAWZxtJNqOLIia04daqa2bKx7HXMr9JnPfJUemrbpQ Dq/BOKu6WJfb2gU5Q90FbvQlCAISU5ARYtFr59KZK3wRRz9MuAIAqkyIoGzID72JUR5JaHmTU oDfDulpuiILiPsWw+tGrw/7KfcbsgVhCP9iwMZ9k23vEYc+uVAfo6wEpcj5j3rhYVAPO8M6YK nzNSPFtOkAeuzXTlvoA2K5iuPVaN8vOTDvgNIqtqhZ4/DAPlEWxc1HcZ4R/7IMlTGK/xMVSpV PnnZKlsf2SlOc8PDO6eRQLr5jb5+svW2EEQpERQxhuiMpjwfBy7J/Nf0kSx3NRC76mtwWzJ2J 4m0hhRNmZDtJKq114A0e0H6khlMNHQZAbsirPRS4cyF7Uq1LUZ8alu5IGHBb/m19g/I5hIOd 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:284954 Archived-At: Dmitry Gutov writes: Hi Dmitry, > 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 ...". Are you sure you have a recent Tramp? Perhaps you use Tramp from GNU ELPA? tramp-use-connection-share can have three different values, t, nil or `suppress'. And in case it is nil, nothing wrt ControlMaster will be added to the ssh call. Could you pls set tramp-verbose to 6, rerun your test, and show the Tramp debug buffer? > 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. Yes, it should do the same wrt ControlMaster. Best regards, Michael.