GNU bug report logs - #60107
30.0.50; Open new files very slow if eglot and which-function-mode are enabled.

Previous Next

Package: emacs;

Reported by: Felix <felix.dick <at> web.de>

Date: Thu, 15 Dec 2022 22:57:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Felix <felix.dick <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: joaotavora <at> gmail.com, 60107 <at> debbugs.gnu.org
Subject: bug#60107: 30.0.50; Open new files very slow if eglot and which-function-mode are enabled.
Date: Fri, 16 Dec 2022 12:26:21 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: 60107 <at> debbugs.gnu.org
>> From: Felix <felix.dick <at> web.de>
>> Date: Fri, 16 Dec 2022 00:59:28 +0100
>>
>> Now it makes sense that glsl-mode managed with eglot and glslls takes
>> forever to open glsl files, and imenu is not working at all.
>> Seems to depend on the server.
>> I will try your suggestions, in the end which-function-mode
>> is not that important to me, so if everything fails it's not that bad
>> either.
>
> Does it help to customize which-func-non-auto-modes to add the major
> mode you are using there?  Or maybe customize which-func-maxout to a
> small value to get the same effect in any mode?  I'm asking whether
> this helps because it's unclear to me whether doing so will avoid
> blocking redisplay, if and when which-func finally becomes active.
>
>> If this is not a bug of emacs,
>> feel free to close this bug report.
>
> If the above doesn't help, I guess some changes to which-func could be
> in order, to avoid blocking the first display of a buffer for such a
> long time.  So in that case we shouldn't close this bug report yet.
>
> Thanks.

In fact both of it helps!
Adding c-ts-mode to which-func-non-auto-modes solves the problem,
setting which-func-maxout to 1000 works as well (that's the only value i
tested).

Thanks a lot!




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

Previous Next


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