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#61350: Eglot over Tramp freezes with large project Date: Mon, 27 Feb 2023 21:10:14 +0100 Message-ID: <874jr6oont.fsf@gmx.de> References: <87y1ootw2t.fsf@gmail.com> <69968923.705640.1677163650760@office.mailbox.org> <87a613f0b7.fsf@gmx.de> <87r0udvmzr.fsf@gmx.de> <878rglxrzm.fsf@gmail.com> <87cz5wmjbx.fsf@gmx.de> <87h6v8f7u9.fsf@gmail.com> <87o7pflfcd.fsf@gmx.de> <87wn43e9ht.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36914"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Thomas Koch , 61350@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 27 21:11:24 2023 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 1pWjqG-0009Qe-My for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 21:11:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWjpw-00066y-Ml; Mon, 27 Feb 2023 15:11:04 -0500 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 1pWjpu-00066f-8x for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 15:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWjpt-0003je-UF for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 15:11:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWjpt-0001qT-Ph for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 15:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61350 X-GNU-PR-Package: emacs Original-Received: via spool by 61350-submit@debbugs.gnu.org id=B61350.16775286247044 (code B ref 61350); Mon, 27 Feb 2023 20:11:01 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 27 Feb 2023 20:10:24 +0000 Original-Received: from localhost ([127.0.0.1]:48899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWjpI-0001pX-H2 for submit@debbugs.gnu.org; Mon, 27 Feb 2023 15:10:24 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:41215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWjpF-0001pD-Pm for 61350@debbugs.gnu.org; Mon, 27 Feb 2023 15:10:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1677528615; i=michael.albinus@gmx.de; bh=4EqxxVWSPd1IcsT9xpYQ1m7lFHmk8IY7QUI8H998Y/M=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=lyxiGQaezVaWQvGdAvdlxeWS3IkILRhYxcbUridY5+4omM6QPIPTnJvrmpmHSWDVh a/m6/2llKnGPLoQa6naLuRaawk5o1P93D055yJcjiry7rQgVtyIobvIoDd8LrvhuF6 a52J5hQXAU3Y+1LzDzwVunFwCWn5uIQypaCqIEDJmeVJCCcHgN8XXC7j+Old0U2usF yjgJW1Sqbr2S2547VNLyr10QA3URENIjf/dnMvmxyuvpidcxdLOCZznr09ShU4gP/0 TiVWZSORTM2nfDj8kaHMe4PRDXvwJbNZEJSORcb9tkpbf9N+0WEXnlXI0mNJ8LeW3t 29zWPlx3+IBug== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MaJ3t-1p0gN806xJ-00WBg5; Mon, 27 Feb 2023 21:10:15 +0100 In-Reply-To: <87wn43e9ht.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Mon, 27 Feb 2023 09:35:42 +0000") X-Provags-ID: V03:K1:dBAgpPuaFXKDRYAnHshg+uK1hiULwycioj9KrNDp+s6ifo+tgIu T2J0D+On+TRoujZergKURZI//lItHDArzR8ETobmMWj1FLKT2gVazliU+5I7VAXOmcZLMdM IT34lZQBGsvj3HFYJHkqaNrnti4H9L1MAtZ2ElY/WJ12Y6gpa/RBU8Sua2uA+h8f74YxoDt UN7exsDScQmrAL/8t1CYw== UI-OutboundReport: notjunk:1;M01:P0:2NLVVrAQQCo=;JKNOMnmnhJYSA6gTPJ4x7gugz85 6e3AVqytgaUg5FEf535rjcJdDwyQEqvGmxxB7taw7QfNgFkQqa0+UsqZ6kcZ7+JWHj/vsIrBE kv6nB2ySOI6nSmCQtva0pPxqjnD+wl+MNgzEKSYtg63UzQbKbWcOyW++/VrIurtRZN4xZ7KAu uixsyeN6h42Mjcb31252T+tbaWnAk/5jEqqxjGD04ggZ552dvvb3WakwDJaQGXYk9xEH7J+vW LdYhgh47FLmPnxHRIl8KFbIEFXfzuSukSWyelbkS1tthruHOtRuKFtd31KuVUlOLCD2oe84hq 0adcOujFxBHqtVJ/OVcLE8pZDqs/zv/ZyfIjvff7FdmtD/esd8sEZ9YwrkWXcQAwK/D6Lz3RG tBxv3TL5pMOQy5wkWhzRhpAZTNQYu2akJhHw/yyHJPpi2Lq0CNv8Tl6RxVvzku4Oef/0svpp2 sVR55m21vkah2A+Mnx7vwSzuwD+skg+gz5zMN7aW1JmHhzCgOdzWUNbKni0za8rw3uUeSwJfR RMeaUEZKRiVQUgTqguGdKTeae50d+JOuDT5JgOYRSxmMZofu6jY4bsIqU06SoTN5JoYxEQWkr vLHLpV+wKCDhyewf2c2fhqH2tWcZ6oCGKL7XIEZDMZO1t/j29OPSWUXFyT48eNtFPtrS7KwLc 278UwHielZ5ggWWi2sV5/aSvOaoKqE+FEjUqlRkcOh+fX6VpUc2j66bd/357fXkc3QxgI5mu4 tVCc4Zd7m6m+pkcZt7H+zhysWtbfNu96x7uVv6fr59uhZrAJkHPAmaWA+1+LSZpwN3LgEvth 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:256912 Archived-At: Jo=C3=A3o T=C3=A1vora writes: Hi Jo=C3=A3o, >>> So maybe one should disable it by default. >> >> No, not by default. It improves performance. > > So would you buy a very fast car that only explodes 10% of the time :-) > I think that these kinds of features should be opt-in, at least until > one is more sure of their stability. Here, this looks like an unstable > feature. It is stable. Except in the case of large amount of data, which is exceptional for Tramp usage. > I had read the docstrings. Neither the docstrings nor this manual entry > unequivocally states how to _guarante_ the SSH "controlmaster" are _not_ > used for TRAMP. It is something like this? > > (setq tramp-use-ssh-controlmaster-options t > tramp-ssh-controlmaster-options "") > > I understand you appreciate this feature and it has advantages > elsewhere. But I we can recognize that, as things stand, it is a > non-essential performance optimization that wrecks Eglot functionally. It is essential. I have been beaten by many Tramp users to support it. > Until the problem is fixed, it's important for Eglot users to know how > to turn it off guaranteedly, at least for the duration Eglot sesssions. > > This will helps us clear a big slice of doubt/uncertainty in all the > Eglot TRAMP-related bugs (of which there are many). Yes. I believe we must extend the meaning of tramp-use-ssh-controlmaster-options. `t' shall mean that Tramp shall apply its own settings. `nil' shall mean Tramp doesn't do anything, and settings in ~/.ssh/config shall apply. And a new value, say `suppress', shall suppress this feature even if enabled in ~/.ssh/config. I'll try to implement something along this line. > Jo=C3=A3o Best regards, Michael.