From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#61350: Eglot over Tramp freezes with large project Date: Mon, 27 Feb 2023 09:35:42 +0000 Message-ID: <87wn43e9ht.fsf@gmail.com> 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> 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="34150"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Thomas Koch , 61350@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 27 10:34:25 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 1pWZtp-0008ir-6n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 10:34:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWZtW-0000yG-Rv; Mon, 27 Feb 2023 04:34:07 -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 1pWZtS-0000xi-Sp for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 04:34: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 1pWZtS-0007J3-KG for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 04:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWZtS-0005x9-3v for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 04:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 09:34:02 +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.167749044022876 (code B ref 61350); Mon, 27 Feb 2023 09:34:02 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 27 Feb 2023 09:34:00 +0000 Original-Received: from localhost ([127.0.0.1]:45940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWZtP-0005wt-UA for submit@debbugs.gnu.org; Mon, 27 Feb 2023 04:34:00 -0500 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:53017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWZtM-0005wd-MS for 61350@debbugs.gnu.org; Mon, 27 Feb 2023 04:33:57 -0500 Original-Received: by mail-wm1-f54.google.com with SMTP id j3so3800568wms.2 for <61350@debbugs.gnu.org>; Mon, 27 Feb 2023 01:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677490430; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9T+n/6hsvZ3ZNmNkRFxrUbVLEkZnhg4zulysvB6ZsO8=; b=Vd05CGBFPQkSpOF6exZXbkbVQSRtbTNdGIP+beNsxAmv9n9sosmXr0OAADQj39JMDF ckYQX4kaIIFoEhGoC2tXl9m0nNO9UTmEIh3iAte9n47bPJiE6bi2vPBMk59x/s7vh7Sc KmPgDzdl8ZQFdqGtiUY3IxQWF/CEJJSD3rF/8gOLygz8Gd93R+NtJ1rcQY6Tj/TiWqzr mem0t1ZY/RDKznVCm9/IJj+wLkrI4DXWxr65mcOak1vQzF2MXHO7IW4kuF6ee8Rq2Nxi r9cq6mANGGKXYOunM3PRNbjweaMeMf9+PKfjKNmUgP9+8S5WP9/fTYpFN1NSA0PoU/Zr 6kHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677490430; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=9T+n/6hsvZ3ZNmNkRFxrUbVLEkZnhg4zulysvB6ZsO8=; b=21NT59jyvurt/0zZMKTH/GiXlufCxFzmvqe1olLk51YKSEa8nLo87RH9xB0c/vpJlg gLQM1S6pVDMPINb6PAbANF1HznV74d0qlobo87rh4I4tTpZmynEOCZUwyVlxuwi+326g /U7i5sGGXYA/M24yZZCj+rqCc1UXYlG+RFeTQQJZufeO5hBcKX5+JEdsbGkGCmf83uS9 I8BZ5bX35DfQ4B0ujHzSQRCIreKRJWcNXLmPJ/fB+lPqQTKe4lWC/jXJpAiyA++mXeqw VJXQynNHGPLVKDjXu5jPQ8wSxXBOlyOaki2Cg0yxv8QvUVbLNuWD8CIfFB1Djvm7u1qr OrTg== X-Gm-Message-State: AO0yUKVnO1VesNzrvw/z5TKnWK2+Cpt+PlkCbdxXKfWB0Oq4+UmbqLhM tgX8ieWyu2lstDucjb/4l4zlxxSvgrE= X-Google-Smtp-Source: AK7set8CfmS5i0Dmb1SWgB/74DyTQNpl07BBOUUmeN/oh/t4+DKjt2Lvc1GYhV/sj9ebVudjeApztA== X-Received: by 2002:a05:600c:1616:b0:3eb:383c:187d with SMTP id m22-20020a05600c161600b003eb383c187dmr4884240wmn.27.1677490430260; Mon, 27 Feb 2023 01:33:50 -0800 (PST) Original-Received: from krug (87-196-72-142.net.novis.pt. [87.196.72.142]) by smtp.gmail.com with ESMTPSA id n41-20020a05600c3ba900b003e20fa01a86sm8883990wms.13.2023.02.27.01.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 01:33:49 -0800 (PST) In-Reply-To: <87o7pflfcd.fsf@gmx.de> (Michael Albinus's message of "Mon, 27 Feb 2023 08:47:30 +0100") 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:256858 Archived-At: Michael Albinus writes: > Jo=C3=A3o T=C3=A1vora writes: > > Hi Jo=C3=A3o, > >>>>> It wasn't lost. The process output was retrieved and placed into the >>>>> Tramp buffer, w/o Tramp's interaction. >> >> Can you confirm that you no longer believe this to be the case? > > I don't know whether it was Tramp's accept-process-output call, or > another one. But yes, this doesn't seem to be a problem. > >>> But yesterday's debugging has shown, that ssh ControlMaster >>> seems to be guilty; it cannot handle large amount of data reliably. >> >> 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. >> How does one disable it? I have trouble understanding from >> tramp-use-ssh-controlmaster-options and >> tramp-ssh-controlmaster-options. > > RTFM. The Tramp manual says > > If the =E2=80=98~/.ssh/config=E2=80=99 file is configured appropriatel= y for the above > behavior, then any changes to =E2=80=98ssh=E2=80=99 can be suppressed wit= h this =E2=80=98nil=E2=80=99 > setting: > > (customize-set-variable 'tramp-use-ssh-controlmaster-options nil) > > This should also be set to =E2=80=98nil=E2=80=99 if you use the =E2=80= =98ProxyCommand=E2=80=99 or > =E2=80=98ProxyJump=E2=80=99 options in your =E2=80=98ssh=E2=80=99 configu= ration. 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. 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). Jo=C3=A3o