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: Sun, 19 May 2024 03:07:35 +0300 Message-ID: References: <5959e6f4-607d-4a8f-8e49-fbdd9b438af1@gutov.dev> <87o79ags7m.fsf@gmx.de> <44185444-8a6a-4924-88f9-853f65a1c61a@gutov.dev> <87r0e4g428.fsf@gmx.de> <19d0563d-2778-4e27-92b0-03a86c8e1473@gutov.dev> <87y18bebf0.fsf@gmx.de> <871q63djrv.fsf@gmx.de> <9287b788-a366-48b2-8d8f-8f48d6144fac@gutov.dev> <87msoqcctv.fsf@gmx.de> <87seygtrih.fsf@gmx.de> <8a1d6d51-d5eb-4d0d-a6dd-32ffb140725d@gutov.dev> <87le47xt89.fsf@gmx.de> <440e9074-a168-4e80-9911-b96f8c20cd60@gutov.dev> <87zfsnvyw2.fsf@gmx.de> <8766dc06-afb5-449f-b65d-b113d77251a3@gutov.dev> <87v83bvwpm.fsf@gmx.de> 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="35499"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70901@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 19 02:08:23 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 1s8U6A-0008wt-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 May 2024 02:08:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8U5r-0004et-6p; Sat, 18 May 2024 20:08:03 -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 1s8U5n-0004eb-6S for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:07:59 -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 1s8U5m-0004dt-Ug for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:07:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8U5q-00050b-Ak for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 20:08: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: Sun, 19 May 2024 00: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.171607727119247 (code B ref 70901); Sun, 19 May 2024 00:08:02 +0000 Original-Received: (at 70901) by debbugs.gnu.org; 19 May 2024 00:07:51 +0000 Original-Received: from localhost ([127.0.0.1]:35627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8U5f-00050N-1n for submit@debbugs.gnu.org; Sat, 18 May 2024 20:07:51 -0400 Original-Received: from fout4-smtp.messagingengine.com ([103.168.172.147]:42403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8U5c-00050H-3e for 70901@debbugs.gnu.org; Sat, 18 May 2024 20:07:49 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 834A2138038C; Sat, 18 May 2024 20:07:38 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 18 May 2024 20:07:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1716077258; x=1716163658; bh=kSAh62gkipt2YtS6IV7kNEQ/JrLOXoS8/WNAchxLPhE=; b= Ni8hYfHU6B70cEYHTGJ1AjpzIhyBo7UjIk1wyVuysJ8gR1nEMp4sByyl89ECCyPH 2mJJK2ZnTOrbqwuckvOnna00ecQKnsS/Px9bf5/eeQkSXEal/u6FUnzvi1PHo9As 5kG4aKU1+DVg2XARI+JUbGTGHbIGIbMfvI3KzirnIYdnr8SbmGu/6i+Bml9ZQiNp gppL0bwfieFMVzfcpa6AxsY2On51FgurBme37L41lEFCYY+LnT2bFdCnxAO26szz yUCGnuodDycCeK3YuaN8OhoOjYj+P2sfXjO5Ul7qYSiHYlt/MHQ7qz/AJ5yPkmtz OIgusKWwq8ER0LFUlubjBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716077258; x= 1716163658; bh=kSAh62gkipt2YtS6IV7kNEQ/JrLOXoS8/WNAchxLPhE=; b=q pPg76446iOXtSgrflwBjjfiSgkpxgnxctis25P/YbTUcm4HRe2ky36oG2Htjzq+6 2D9PWkGTNJnyOfrruJ8D/Iu37sRidvtpXq4reTwc5k7nOQXQuyNVaAzROMPEPyQI H9YuCLIsI5kuU5FICeLU6BYweSMolVfaO90SJnNoGiNcCfsekFpD4RN2XjIC7cM6 nwzVna3C30dDdwwfTiLIQX81JT39zLSzpqhh1VXYc24OHodX8lNPIRVmh2m33ScJ T5uo4FZuGspm0dDQCmRKcv0Jbk7evqfm0H1Eqa2/X8w/+x4Gn30Yte0WlfJAX2pW IBnm0Hlet5GKpVSQbnpkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehjedgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 18 May 2024 20:07:37 -0400 (EDT) Content-Language: en-US In-Reply-To: <87v83bvwpm.fsf@gmx.de> 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:285391 Archived-At: On 18/05/2024 20:47, Michael Albinus wrote: > Dmitry Gutov writes: > > Hi Dmitry, > >> Do you perhaps see a way to change messaging (to the echo area) that >> would remove the impression that the connection is still being >> established after it has already been established (and we're in the >> process of additional Tramp connection initialization)? > > Tramp messages are grouped in different levels. If we want more > fine-grained information, the respective message should have a higher > level. Tramp is thrifty with level 3 messages. > > However, per default Tramp shows only messages up to level 3. A message > with a higher level wouldn't be seen by the majority of the users. > > What if we document the meaning of the "Opening connection ..." message > instead? Something like It's probably an improvement. But I haven't read the entirely of the Tramp manual myself, so this section, however well-written, likely wouldn't have helped me. Here's two potential alternatives: 1. Somehow have a message that only spans the time the connection is established, and don't print the rest by default (the user will note when the action finished anyway, and there likely will be other messages corresponding to different operations - copying a file, opening it, etc). I'm not sure how to fit that into the described framework, but what if the new message was level 3 and the current was moved to level 4? 2. Change the current text's message so it doesn't say "Opening connection" but refers to something more complex like "Connection finalization" - that one still not very specific, perhaps you'll have a better idea? 1 implies 2, but they might also be combined. > diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi > index d1c58d83aeb..45be1e27931 100644 > --- a/doc/misc/tramp.texi > +++ b/doc/misc/tramp.texi > @@ -2940,6 +2940,13 @@ Ssh setup > set to @code{t} or @code{suppress}, @command{plink} is called with the > option @option{-share} or @option{-noshare}, respectively. > > +@strong{Note} that the @value{tramp} message @samp{Opening connection > +...} in the echo area spans not only the time until @command{ssh} or > +@command{plink} return the echo prompt. It includes also the time for > +initialization @value{tramp} performs on the remote host. Therefore, > +the effect of the @code{tramp-use-connection-share} setting isn't > +determined by this time period completely. > + > > @subsection Configure direct copying between two remote servers > > > > Best regards, Michael.