Subject: Re: bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP

From: Eli Zaretskii <[email-masked]>
Date: Sun, 08 Sep 2024 14:47:09 +0300

> From: Michael Albinus <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked]
> Date: Sun, 08 Sep 2024 13:30:00 +0200
> 
> Suhail Singh <[email-masked]> writes:
> 
> > Unless I misinterpreted the profiler output, something in/about
> > `tramp-wait-for-regexp' results in the 100% CPU usage.
> 
> Tramp is in a loop, waiting for results from the remote side. I don't
> know how to implement this differently.

What kind of loop?  Can you point me to the code which loops there?