Subject: Re: bug#61350: Eglot over Tramp freezes with large project

From: Stefan Monnier <[email-masked]>
Date: Wed, 15 Mar 2023 17:34:40 -0400

> @@ -990,7 +990,7 @@ tramp-adb-handle-make-process
>  				  (progn
>  				    (goto-char (point-min))
>  				    (not (search-forward "\n" nil t)))
> -			        (tramp-accept-process-output p))
> +			        (tramp-accept-process-output p 0))
>  			      (delete-region (point-min) (point)))
>  			    ;; Provide error buffer.  This shows only
>  			    ;; initial error messages; messages

Could you explain why we need all those "0 second timeout" thingies?
They make me nervous because it really means busy waiting in a tight loop.

        Stefan