bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60107: 30.0.50; Open new files very slow if eglot and which-function


From: Felix
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
User-agent: mu4e 1.9.3; emacs 30.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: 60107@debbugs.gnu.org
>> From: Felix <felix.dick@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!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]