Subject: bug#41423: 27.0.91; eshell file completion in tramp dir is slow (3 minutes) [regression on pretest]

From: Gregory Heytings <[email-masked]>
Date: Sat, 29 Aug 2020 13:08:55 +0000

Hi Michael,

>
> However, the remote case could be improved. Tramp uses caches. They 
> expire after a while (10 seconds per default), but this might be 
> improved. The appended patch disables Tramp cache expiry while being in 
> eshell-complete-commands-list, so completion might be faster once the 
> cache has been filled. Could you pls check?
>

I just checked, and see no visible improvement.

That being said, I don't think this bug should be fixed on the eshell 
level.  It's a bug in the completion mechanisms, and 
`eshell-complete-commands-list' should simply not be called here.

Gregory