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: Sat, 11 Mar 2023 11:47:28 +0000 Message-ID: <87ilf7zezz.fsf@gmail.com> References: <87y1ootw2t.fsf@gmail.com> <874jr6oont.fsf@gmx.de> <87sfeqd4zi.fsf@gmail.com> <877cw1swjm.fsf@gmx.de> <87k0016dgo.fsf@gmx.de> <1458446553.50372.1677606917251@office.mailbox.org> <87ilfkh89k.fsf@gmail.com> <87y1ofct83.fsf@gmx.de> <87356n8kja.fsf@gmail.com> <877cvvfnp6.fsf@gmx.de> <54377687.213790.1678016749459@office.mailbox.org> <87356jfktc.fsf@gmx.de> <87a60ovi90.fsf@gmx.de> <31964054.380679.1678194256931@office.mailbox.org> <87r0u0u0rl.fsf@gmx.de> <87mt4otyy1.fsf@gmx.de> <87pm9fk6ht.fsf@gmx.de> <1207702286.307021.1678529683809@office.mailbox.org> 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="16662"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Albinus , 61350@debbugs.gnu.org To: Thomas Koch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 11 12:46:11 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 1paxfv-00049k-Om for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Mar 2023 12:46:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paxfm-0003QJ-VD; Sat, 11 Mar 2023 06:46:02 -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 1paxfm-0003QA-AV for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 06:46: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 1paxfm-0003JF-0G for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 06:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paxfl-00032L-SY for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 06:46:01 -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: Sat, 11 Mar 2023 11:46: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.167853513911644 (code B ref 61350); Sat, 11 Mar 2023 11:46:01 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 11 Mar 2023 11:45:39 +0000 Original-Received: from localhost ([127.0.0.1]:56664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paxfO-00031k-Lm for submit@debbugs.gnu.org; Sat, 11 Mar 2023 06:45:38 -0500 Original-Received: from mail-wm1-f45.google.com ([209.85.128.45]:38533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paxfN-00031W-4A for 61350@debbugs.gnu.org; Sat, 11 Mar 2023 06:45:37 -0500 Original-Received: by mail-wm1-f45.google.com with SMTP id o5-20020a05600c510500b003ec0e4ec6deso1762718wms.3 for <61350@debbugs.gnu.org>; Sat, 11 Mar 2023 03:45:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678535131; 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=eH8FcTEHZVg/17ZXTaR+fwKFY+OrgP2TNcrwnIK5DuY=; b=fIdLM3GtcrEkvURlQRJRzR9G6mko4SZpTP22w1pfJFZhmjOscaeuz9ho3+CuNhyes0 x9Wnb0Vl+6DZZubMdgdUIP5zUp1KYBF/4xxIPEX+PJI5v5ZQ4G6RBdzJTbtK4mSqphRq 6B1i73t4DWSF8H9CFxZmFhn/mBEembd18G01E8s9gCD2HUGGptzOy+h9SZz945eUHS5J DcZlGuPErAVL1Gr9ERJNwVpWhzTdyg46wh0wzA9WIbL/pyz7eepR4TuOfDf15HZbAy8p t8QLYmDpsu+gc0ybJFriVh+5dwXqTMv+AUQ7K7GCnzIuFtf6iYep7A+2h9PYVXLaXdU9 VmlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678535131; 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=eH8FcTEHZVg/17ZXTaR+fwKFY+OrgP2TNcrwnIK5DuY=; b=uzzAH4KpLWoVT9knD/FFdwd6hh/DT9Ms2WjJV7INj+MkcqauqBOF73gXHVOeauGEaS 1UmjroMhsMCEqxkQnaSlnhVKoBXORP0L/aEsyK+0c7sQC+KRmfWQQMQBCcxGNc84QF+D bWS1pqBYQ7qyTyQ+6HlFkJjb/9/cez9rjscCU3OchphZF1yLWKcwi5/aZJqAA4fhkrgL /CgkzwJbb8wFENL1A6nqK0CaDjMax5JmRpl7bjI50Y2dazCR1wAEZOJhHifKuwRkhlGx 3Ifa41bV8dm1pKS1A4t6EByElnO77oOZdGNLElAUXYmi2VITJbFDJOhnfjmQOOoUHzSU FCiA== X-Gm-Message-State: AO0yUKUKEZii0KKPDVsrGpdVZXNnIg3olHyo0BZXKi9PAPKxeUNgqxE4 7CCeDp/nmW8gNf6qrbcioKLwKKl16PE= X-Google-Smtp-Source: AK7set/uod6vOKONMs18oXkU54j7BVDhI3Ux7tkiRUv5iaCb9llXFoTw7JgAvAc3Os3epGQHSLlK9Q== X-Received: by 2002:a05:600c:1d97:b0:3ea:f132:63d8 with SMTP id p23-20020a05600c1d9700b003eaf13263d8mr5478110wms.5.1678535130886; Sat, 11 Mar 2023 03:45:30 -0800 (PST) Original-Received: from krug (87-196-72-142.net.novis.pt. [87.196.72.142]) by smtp.gmail.com with ESMTPSA id l5-20020a7bc445000000b003eae73f0fc1sm2539360wmi.18.2023.03.11.03.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Mar 2023 03:45:30 -0800 (PST) In-Reply-To: <1207702286.307021.1678529683809@office.mailbox.org> (Thomas Koch's message of "Sat, 11 Mar 2023 12:14:43 +0200 (EET)") 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:257779 Archived-At: Thomas Koch writes: > I'm sorry, I didn't test your patch yet. I didn't have the focus time > to do so. But mainly it does not look good to me. > Even if our tests would indicate no problem, we couldn't possibly test > for all side effects to all elisp code that works with processes. For > me the conservative approach is to remove the JUST-THIS-ONE argument. I agree that JUST-THIS-ONE would be cleaner, but I disagree that it would be more conservative. I can't speak for Michael, but in my view, "conservative" is a measure of the amplitude of the change. The change that Michael and I are proposing, despite being objectively ugly when compared to removing JUST-THIS-ONE, is _less_ removed from the current Tramp mechanisms than your idea. Thus, it is safer. > I digged into the history of the JUST-THIS-ONE argument. etc/NEWS.22 says= , emphasis from me: > > [...] > integer, also inhibit running timers. THIS FEATURE IS GENERALLY NOT > RECOMMENDED, but may be necessary for specific applications, such as > speech synthesis. > """ > [...] > Because there is no such library in Emacs, people either write their > own code for continuations (eglot?) or do too much work in a process > filter function (speechd-el in 2004 which led to JUST-THIS-ONE). I think this analysis is very interesting and valid. Not necessarily for fixing this particular bug. You should send it to emacs-devel@gnu.org so it becomes more visible to people who may not be following the bug tracker. Jo=C3=A3o