GNU bug report logs - #64122
30.0.50; The new Eglot mode line UI show too many 100% when input characters

Previous Next

Package: emacs;

Reported by: Eason Huang <aqua0210 <at> foxmail.com>

Date: Sat, 17 Jun 2023 01:22:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #11 received at 64122 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 64122 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: Re: bug#64122: 30.0.50; The new Eglot mode line UI show too many 100%
 when input characters
Date: Thu, 1 Feb 2024 23:34:53 -0800
Eason Huang <aqua0210 <at> foxmail.com> writes:

> Eason Huang <aqua0210 <at> foxmail.com> writes:
>
>> Hi João,
>>
>> I found that Eglot mode line UI will show many 100% when using with
>> python-lsp-server, such as [Eglot:100%/100%/100%/100%/100%].
>>
>> Is it possible to disable it and only show the [Eglot:ProjecName] in
>> mode-line?
>>
>>
>> steps to reproduce:
>>
>> 1. install python-lsp-server:
>> https://github.com/python-lsp/python-lsp-server
>> `pip install python-lsp-server`
>> 2. Start Emacs with `emacs -Q`
>> 3. open a python file with `C-x C-f ~/test.py`
>> 4. start Eglot with `M-x eglot`, choose `pylsp` as the server.
>> 5. Input some blank line the test.py buffer and you will see the issue.
>> In the mode line, there are always showing many 100%, such as
>> [Eglot:100%/100%/100%/100%/100%]
>>
>> This issue also happen when using eglot on Java with Eclipse JDT
>> Language Server[https://github.com/eclipse/eclipse.jdt.ls]
>>
>> This issue make the servers unusable on Eglot, because it will
>> influence the performance, and I can feel the delay when input characters.
>>
>
>
> `(setopt eglot-report-progress nil)` can fix this issue.

João, any comments here?




This bug report was last modified 1 year and 142 days ago.

Previous Next


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