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: Sat, 18 May 2024 13:19:34 +0200 Message-ID: <87le47xt89.fsf@gmx.de> 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> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36596"; 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 Sat May 18 13:20:31 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 1s8I75-0009Hj-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 May 2024 13:20:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8I6b-00005Y-W8; Sat, 18 May 2024 07:20: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 1s8I6a-0008UY-Gm for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 07:20:00 -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 1s8I6Z-0000A3-8l for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 07:19:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8I6c-0001yy-BU for bug-gnu-emacs@gnu.org; Sat, 18 May 2024 07:20: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: Sat, 18 May 2024 11:20: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.17160311927606 (code B ref 70901); Sat, 18 May 2024 11:20:02 +0000 Original-Received: (at 70901) by debbugs.gnu.org; 18 May 2024 11:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:32884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8I6R-0001yc-Ky for submit@debbugs.gnu.org; Sat, 18 May 2024 07:19:51 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:54239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8I6N-0001yE-Lk for 70901@debbugs.gnu.org; Sat, 18 May 2024 07:19:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1716031175; x=1716635975; i=michael.albinus@gmx.de; bh=l4rAgqdMBcz5IF/S2du6Q1eqUj9Ue4Z/3fpM1D1B1J8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=QIryXnm747icAMF4FgcwETlWSg65rd9xROgjuM7YXs2ZgunU4FEJgY7Hu40mNtnj HyeGN+jlyYsq5DsVAG//xEE+SEQ2prOGoQc7rT4+cFKemA0xGxyrYRIaqwGwHY+fl UR0gVn50qTE36AZOawxPCdyCMv7holyUAOsRvtUOo2p6XEHsRHZo26VkPHjqsYZUz /jQ3i1tmYyV9NB7V6I15MW1QQKSj0PCCSpT9EO0VqRchDiGffXhoKQCG4IATgDRXO GDsajMj4r+8So2EWfiwyrbk8iMCnCNDFNEbOX3G+DHHVxn3sAuPmWcbeeZ8dVJxxJ Z2Q87NxBSyzUue0gNg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.151]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mel3t-1siiqQ3FxN-00ak67; Sat, 18 May 2024 13:19:35 +0200 In-Reply-To: <8a1d6d51-d5eb-4d0d-a6dd-32ffb140725d@gutov.dev> (Dmitry Gutov's message of "Sat, 18 May 2024 05:29:28 +0300") X-Provags-ID: V03:K1:nTpjm6/Wpoahd3JN0ceZk6B/YZNSX0znsDGyM62+BUpzqKncfFg KJbKLupIAeG5pV/iwgy8kmoon2QkI0I5lfnajFHiBLRp4hNrzFcfCHKu6KpE7VoLqC7WPOj UP5vMI5uK/K01s9LehWoS0KbPV4wp800EpyEEZ8AyFJqQvS9YUrctWKy4elobeyGgqLK23F GF3C5MzI+X1Gl14V+bDhg== UI-OutboundReport: notjunk:1;M01:P0:RyywbZLpQTo=;ZFjjzKb2wABHuQUXzKcgFjMZbxl bW+npchU99s1KgIEtdY7lxyDzbViIfNyQ/YhkZTzWejvDGIQHWLoTI4S/38CTLGSL61J8SPfD VV0c2urps5K/xAUcxdpu/4YRYyaub7BJyDFk19JzmSch2mIRD2uN1Th1400LBRB/EUdfvoBtt YI4k5SNiFfyK19RAfsP07xozxf3lnsJzMd/qQyNbIDknkJziEp59SpvENJzqp+PWwYwrWbY2a /sKJ7rCJ1k6Y60slRjS024oAIc2o3yBg8ciRoXIPgggvcVRvUPuAMSvLunN2PVoGC7XQWUKdl mBNaCYt7bnIizsw4ZyUsILhH5LjrcOWgtDQSZJw7AatuY/8eVCT57Zq+GVXHwPCf6/VQrCTl1 jpgv54iF0sgDS9yxxtDnJl5Y07b/3vN3H9aUar+6XZCr3D5iSTj5wSVqfP+iaHy/IJ+MSjjLx SSJwJOPvTkIOY0h3/QGfXOI1NoYpF6JHzlD4tWnX33sHPBcoLSJhP2hJOpiePOfsP/WhUgios Am0C0vbiVS3sCv6c/wDNEa59XznK3IgL6sfMFZPSyXzifv80ZE1QDgOiW2rO451Ll1XurvT4K f69qVjfT617i5wV3Mbn3rsikD5xXhs+bEr2dr/yGY452lSEFVqFpZT7JrfXdP8Tz1yY8U+Yp1 D/Cs+ovMVRKkWGsrE10TZT4nfcZckiCygh5mH77UP48oFTGSGE/26NHQ3Iuuuazy2bplm9ilI oyuELw79oYAsYx//4cbjzypaSUxQj6gGT1KjBmvPogw2a69tXqjRjtrf8QMuqD9HHsedq/Vo 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:285321 Archived-At: Dmitry Gutov writes: > Hi Michael, Hi Dmitry, > Perhaps it'd make sense to adjust the logging so that the first > "...done" is printed right after the connection is established. That is already the case. Tramp uses a (slightly modified version) of the progress reporter. You'll see two invocations of it, "Opening connection ..." and "Waiting for prompts ...". They are cascaded. When the second, inner progress reporter finishes, ssh has returned the prompt. =2D-8<---------------cut here---------------start------------->8--- 13:01:30.750374 tramp-maybe-open-connection (3) # Opening connection nil f= or gandalf using ssh... 13:01:30.794366 tramp-send-command (6) # exec ssh -o ControlMaster=3Dauto = -o ControlPath=3D/home/albinus/.cache/emacs/tramp.%C -o ControlPersist=3Dn= o -e none gandalf || exit 13:01:30.794769 tramp-process-actions (3) # Waiting for prompts from remot= e shell... 13:01:32.633372 tramp-process-actions (6) # Last login: Sat May 18 13:01:31 2024 from 2002:6443:eb5:0:f832:242f:9e14:d= f3d [albinus@gandalf ~]$ 13:01:32.633453 tramp-process-actions (3) # Waiting for prompts from remot= e shell...done 13:01:35.830072 tramp-maybe-open-connection (3) # Opening connection nil f= or gandalf using ssh...done =2D-8<---------------cut here---------------end--------------->8--- One modification of Tramp is, that in case of cascaded progress reportes only the outer one is visible in the echo area. Best regards, Michael.