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


View this message in rfc822 format

From: Eason Huang <aqua0210 <at> foxmail.com>
To: 64122 <at> debbugs.gnu.org
Cc: joaotavora <at> gmail.com
Subject: bug#64122: 30.0.50; The new Eglot mode line UI show too many 100% when input characters
Date: Mon, 26 Jun 2023 23:12:09 +0800
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.

-- 
Eason Huang





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.