GNU bug report logs - #61350
Eglot over Tramp freezes with large project

Previous Next

Package: emacs;

Reported by: Thomas Koch <thomas <at> koch.ro>

Date: Tue, 7 Feb 2023 18:49:02 UTC

Severity: normal

Full log


Message #182 received at 61350 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thomas Koch <thomas <at> koch.ro>
Cc: João Távora <joaotavora <at> gmail.com>,
 61350 <at> debbugs.gnu.org
Subject: Re: bug#61350: Eglot over Tramp freezes with large project
Date: Tue, 07 Mar 2023 14:47:23 +0100
Thomas Koch <thomas <at> koch.ro> writes:

> Thanks Michael!

Hi Thomas,

> What is the advantage of this patch over just removing the JUST-THIS-ONE argument? In both cases tramp is triggering accept-process-output for processes it does not own.

It touches only processes which share the same connection via ssh
ControlMaster (and putty share). Nothing else.

> However with your patch there is a potential timing issue: blocking
> process output could still arrive between your new loop and tramps
> call to accept-process-output with JUST-THIS-ONE.

You have seen the timing? I'll change the timeout of
accept-process-output to 0. This should prevent blocking.

> I'd think that there might be room for an essay "JUST-THIS-ONE considered evil"?

In my book, one shall touch only data one is related to. Processes, not
related to the same Tramp connection, are taboo.

Best regards, Michael.




This bug report was last modified 2 years and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.