> From: Michael Albinus <michael.albi...@gmx.de> > Cc: Suhail Singh <suhailsingh...@gmail.com>, 73...@debbugs.gnu.org > Date: Fri, 06 Sep 2024 15:23:57 +0200 > > > FWIW, I cannot reproduce this: I tried Dired on a remote host with > > which I have connection that is quite slow, and saw neither high CPU > > usage nor a significant delay in displaying a Dired buffer. > > It seems to be related to font-locking, indeed. See variable > `dired-font-lock-keywords'. It specifies face recognition running basic > file oprtations. For example, ";; Broken Symbolic link" calls > `file-truename' and `file-exists-p', while "Symbolic link to a directory" > and ";; Symbolic link to a non-directory" invoke `file-truename' and > `file-directory-p'.
But font-lock is ON by default, so what I saw also includes this, right? > I believe it would be helpful to suppress these checks via a user > option. What's wrong with "M-x font-lock-mode RET"?