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: Tue, 28 Feb 2023 14:41:16 +0000 Message-ID: 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> <874jr6oont.fsf@gmx.de> <87sfeqd4zi.fsf@gmail.com> <877cw2m5wm.fsf@gmx.de> <871qmarplp.fsf@gmail.com> <87ilfmrlnc.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="12888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thomas Koch , eliz@gnu.org, 61350@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 15:42:27 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 1pX1BT-0003Aj-2B for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 15:42:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pX1B8-0007hr-8a; Tue, 28 Feb 2023 09:42:06 -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 1pX1B5-0007hO-UI for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 09:42:04 -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 1pX1B5-0007XZ-1o for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 09:42:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pX1B4-0001Y4-C6 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 09:42: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: Tue, 28 Feb 2023 14:42: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.16775952965911 (code B ref 61350); Tue, 28 Feb 2023 14:42:02 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 28 Feb 2023 14:41:36 +0000 Original-Received: from localhost ([127.0.0.1]:50010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX1Ad-0001XH-Ka for submit@debbugs.gnu.org; Tue, 28 Feb 2023 09:41:35 -0500 Original-Received: from mail-oa1-f45.google.com ([209.85.160.45]:45904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX1Ab-0001X4-8v for 61350@debbugs.gnu.org; Tue, 28 Feb 2023 09:41:33 -0500 Original-Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-173435e0ec4so905434fac.12 for <61350@debbugs.gnu.org>; Tue, 28 Feb 2023 06:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677595287; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=j0Cu8NCF2XBJC/sDxyeHYTi+rHU8cQhqzDS2CeBrJAc=; b=LWPtCKLriSxl331EhtmBCDblFqwoqye05VWoJByn4iH/5EQK/+v9f47cQjdpaiMEDV 72hxjATxjJszS+Gl0T9z1Xye4B3PpYLUzDu5A010X1Q2isyT7q9LCyW0PIZgTetOY3fP iC1pYY8w3W0l4PTTRjrwQOf3GktXJgkVY+WA44UZGG1+o4GaywaJW2bQD5iINzqkIGh+ uBxVaTfrrpYD6oPHY8CLC7Tvild+3ct7jUndCh1eyPpU4GMovANKnKC+LExU3MTFj3Jv ytl/9jrCSGqG7kVsJydudxBkkcY28JbEqkI4oZa5NP5V7iUcMSkJmTRSchtLnUn9dI6D THLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677595287; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j0Cu8NCF2XBJC/sDxyeHYTi+rHU8cQhqzDS2CeBrJAc=; b=h3LQzk45eFYR4SPTnjczbin2DYMW3KLY7pfmNJ6xGKpeWm58lOC32ExvTXLtam4AaM DaFMBDAwd/eabD1IQzmLBPBeXJTUfd35vHTjQ0DeJUZxDSC5hf//Ob6gj8HYhepPuff0 UReoxlKjuSU17s3NT67+dQoLmnkshXREdMnc7xwwnZ/2/scSRC9jASAbqwJK8yKLO894 22PMAzL/mm04fua4OvV6rJQ70x3j8/s+zMzVz0RqGC90HeYsUAZce1GrNWAKGbGX+9dY PRLcIVv/P4YqBnx44AaJjco+oEl06FBwsCPnEhqA3uxM8G0FGiUnzcsoheDu8gvFAHkP XQhQ== X-Gm-Message-State: AO0yUKWROZ/G3ddNEY4uX7wO0/Qaxh+ZMHMK4oTZQcoSlNz1XjA+NCLP t8afTGE3sEBcS9T/l4zcK+TlKAHaO+8VbgtcRRw= X-Google-Smtp-Source: AK7set9NhgHQbtGzyls5KhbR8WFVQoq/8bV4O3cdT7QbQlhL3wWM5Q4wwv2TGQgiKAwD1YzBhaIgEjlscSgy7YN7hWQ= X-Received: by 2002:a05:6871:8e85:b0:16e:8811:2bb with SMTP id zq5-20020a0568718e8500b0016e881102bbmr790586oab.8.1677595287605; Tue, 28 Feb 2023 06:41:27 -0800 (PST) In-Reply-To: <87ilfmrlnc.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:256971 Archived-At: On Tue, Feb 28, 2023 at 12:59=E2=80=AFPM Michael Albinus wrote: > Eglot is not the first user of this. But Eglot sends a huge amount of > data over the wire, which seems to trigger the problem. > > For example, lsp-mode uses start-file-process-shell-command, which calls > under the hood make-process similarly. Do you have reasons to think that lsp-mode's approach is better in this regard? I'd be happy to switch, if feasible, but judging from LSP mode's bug tracker it doesn't look very good. There are quite a few Tramp-related issues and some of them seem to reference hangs too. So Eglot might not be the first ever victim here. > I'm not against changing Tramp, really. But first I must understand > what's the problem, and why a change will solve it. Without other > collateral damages. Of course. I just happen think changing the default of a variable to a more conservative and safe one is a good starting point. > > Here are some questions. > [...] > No need for synchronous processes. And for asynchronous processes, they > have their own process. If configuration options are changed prior the > make-process call, they apply. That's good news. Thank you for your answers. Jo=C3=A3o