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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Eason Huang <aqua0210@HIDDEN>; dated Sat, 17 Jun 2023 01:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 64122 <at> debbugs.gnu.org:


Received: (at 64122) by debbugs.gnu.org; 2 Feb 2024 07:35:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 02 02:35:15 2024
Received: from localhost ([127.0.0.1]:43577 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rVo4w-00021A-KH
	for submit <at> debbugs.gnu.org; Fri, 02 Feb 2024 02:35:14 -0500
Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:49335)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1rVo4s-00020Z-8I
 for 64122 <at> debbugs.gnu.org; Fri, 02 Feb 2024 02:35:13 -0500
Received: by mail-ed1-x52e.google.com with SMTP id
 4fb4d7f45d1cf-55fb4b22da8so1738075a12.2
 for <64122 <at> debbugs.gnu.org>; Thu, 01 Feb 2024 23:34:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1706859294; x=1707464094; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=IrPjvSNkh3K5dsloUzGff1rN3oBCmjj51lEt7UXiYoQ=;
 b=c1SrQ25ikHnZeTOE8BvNmjOlAxLS3nl80CBIVTD54TZ/6LDVJOtcML6xXQvV8k0b/h
 SisEpiuDkkFXT9WEC30czs+qfSgrQb3gITN9KavWFCXkhM3hl73dCXOjT8cL7VRUZFKs
 PmDCgB75qoSHwmPqvW0eyfrgv7xd2MB/wFL2muHrcZLCIZLCtuxKDgOyuklfTltBQ+r1
 kPqdOl0pTZLTo/sxyhk1K8y2Qb5QOzkQcllKqfNQVdQJU0W340DU58mslPgaPToeXruZ
 OfEJO+LxgtNcrypp3bZBCHcC1uhaZPZT0Pe62k2GWiX9pxbdQHQ8VEttWtxFEKj95E85
 RLKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1706859294; x=1707464094;
 h=content-transfer-encoding:cc:to:subject:message-id:date
 :mime-version:references:in-reply-to:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=IrPjvSNkh3K5dsloUzGff1rN3oBCmjj51lEt7UXiYoQ=;
 b=IZGw3ZDzgv3cQwoJNgzHd9SkIE08JHtn4aJ0rE1qUxy5VhZOVO+Q27tAxUfUKywTlk
 VaBWNtAJgDtwYfU5OCbTlJHxlpkmABaW83xPRwbPo6TlYN9qYDqEXL2Pp1KWyfIoKwwH
 1DVKOwk93U/5OMbkHpLJ5GZbVI7vWDeTvK1LIz7pJOGt9Qm0Xzp59M+z1lKB/guuQ1u7
 0XennpmcA6HNJvy2ylCgjxmQvaPqCphWgmn8YyTDWYWXppM55eLUQCdwWm5VJWji6DhI
 rFmxRTX5H0ywZyHbZ4FcbyX7LJP+ND8SX3OwgFRAy8OjKGiAcjv0Xit3TlbE+8Q/E1d2
 e5UQ==
X-Gm-Message-State: AOJu0YyDVGnMQiuA6HT5yU6WcTRiIHfwM0bBD5JWPjVvG7jkV1baaPJa
 nl6+lbCZzZxf1TXvtfhuyRRSCMyhkt+hPfCVZavpExdw5dFU0h371QCMHNNQIye+O2a8dZKvkoZ
 CGAkRD7p/z8/TtyDKKWchOApyXcRklHMiMGkd1w==
X-Google-Smtp-Source: AGHT+IExcM1CVf6hPm7AB1UhwGCsHxiQ92gqMLgRlMsWVcRTsR5RKupODNAmcfw4+bTJScbOAfT+Iwa3qILZrwCUp18=
X-Received: by 2002:a05:6402:26d2:b0:55f:abe7:8f33 with SMTP id
 x18-20020a05640226d200b0055fabe78f33mr3902670edd.15.1706859293574; Thu, 01
 Feb 2024 23:34:53 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 1 Feb 2024 23:34:53 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <tencent_CF17F9926E24868D2F70E6B5B7CD0139AE07@HIDDEN> (Eason
 Huang's message of "Mon, 26 Jun 2023 23:12:09 +0800")
References: <tencent_97F8DADB66AE5CDECB69491DD2F1062BF806@HIDDEN>
 <tencent_CF17F9926E24868D2F70E6B5B7CD0139AE07@HIDDEN>
MIME-Version: 1.0
Date: Thu, 1 Feb 2024 23:34:53 -0800
Message-ID: <CADwFkmnQ30wEqWeSB_zpfD2EzXgGpPYygsLKVtLORP9f1mDDhA@HIDDEN>
Subject: Re: bug#64122: 30.0.50; The new Eglot mode line UI show too many 100%
 when input characters
To: Eason Huang <aqua0210@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 64122
Cc: 64122 <at> debbugs.gnu.org, joaotavora@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eason Huang <aqua0210@HIDDEN> writes:

> Eason Huang <aqua0210@HIDDEN> writes:
>
>> Hi Jo=C3=A3o,
>>
>> 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 character=
s.
>>
>
>
> `(setopt eglot-report-progress nil)` can fix this issue.

Jo=C3=A3o, any comments here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#64122; Package emacs. Full text available.

Message received at 64122 <at> debbugs.gnu.org:


Received: (at 64122) by debbugs.gnu.org; 26 Jun 2023 15:12:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 26 11:12:37 2023
Received: from localhost ([127.0.0.1]:46848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qDntN-0002xa-85
	for submit <at> debbugs.gnu.org; Mon, 26 Jun 2023 11:12:37 -0400
Received: from out203-205-251-60.mail.qq.com ([203.205.251.60]:36576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aqua0210@HIDDEN>) id 1qDntH-0002xB-80
 for 64122 <at> debbugs.gnu.org; Mon, 26 Jun 2023 11:12:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;
 s=s201512; t=1687792334;
 bh=NDmw7yM9pV6fab9ruDyanD2yb0A7/8B3mxVzWGj3OtY=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=V6q10MtKtAm2tbG8Ro1MlIE25yoD1wYWRE6a51H9L3yv0SJ7RO4bf3zw2ciFVjRqO
 FnFE3Jl/6T4PQjgpyYt0pggYlKAyUFx9TE3Vw+Fn/y7MX4HKLiZOOMO9TASMoPJrnV
 jqgRYN+r6wo3g1fWkFsvrRGvAC5n8DjQ9HGLiglI=
Received: from macbook ([101.85.11.137])
 by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP
 id 30D2B229; Mon, 26 Jun 2023 23:12:13 +0800
X-QQ-mid: xmsmtpt1687792333txxm91562
Message-ID: <tencent_CF17F9926E24868D2F70E6B5B7CD0139AE07@HIDDEN>
X-QQ-XMAILINFO: NKv2G1wnhDBne1OSk3XDVrtkOt+y6fLvFwWxbxrwduvWc6EMemCNxHpd9GIw2k
 vXS4jbUBJOMz3SqHQJKxNvtVyIAYUit/vsPkoaLZI1vvHIeq9xgotSuA5OhdRJU/4OUz6sY/ZUPo
 +MKkitXCNLxXoQlhmljzHLZKqrZzg3f1EJGUkZ2wVQuo1j5K8gJCWW9JR7bS/BDRrzkJWFhkzBJO
 Yg1zVzXLXEcsx0bQBL4CHSMbawEav7dg9MjymnegD+kAsIH7otmUpyJQ6E6eUKJoV/giXOAYOt+N
 TNR5y6xN5ikFiOqGbIDPvX2PLicZY+pi70LyqP6IVQkXpaEGwYOExCWZ/m94tRwTWFbOh9gdAhw+
 Wn/c/6a6uqQi/mXeH4NMq/bLG4wGf99f8pJyUkNcNXaMtwuGQIBKOVZ9li9g6Kw7V83YbqLge/4D
 k/vXSfsxiChaKM1nBE23egEhOlQ5lDS9/gn9QB+HEXwOrDFfMeDrUBVG5Vf/mQ2RiLbRuMSxc8zJ
 p72ZAKSh+FVtlxRp84/WAgrGmSOAGREu7qCraK1OswR8Q+pQdXmpxiqrJGmvFdAtCFzDzwfATrcJ
 qrMjorkT2tRsjFZUcChr1T4Pw6pXwgOrCF43bKYDsYoCpxvKSfCCnrveTmjmhhOSPfAIwVsHdyta
 m3g2c8PNCWEPKWwbHQF5A5Dc7rXuvuibU0ivstvpcLI9GbLALjqhw23/y7bWgrcNeqqjv4DPiIzF
 EznmP2OPqVFK6I0xRaHxAaQh6smFqhq5eFGZcIyfDyyKCpCDwg9ixU45Vy2lZb9vW0z8GDf2wSAC
 1oglPJugprb9I3y3xIgPE/HviSY9g3zaTv+NtZfvocZLb3/5IFBJlMqh3vAKqhDeyyDdIo3+sWvh
 GO8Ol3KHwS2YVlhEV1UtWhBsSeUaP01iP/NbJbEuDJuMPRtoEZjmC7mEjwUfGYSi5unCi6y6YQ+C
 sn8V69Xs3/D9RvU6DGLOs+Aw9iy1JvYtWqvLI6rJQ=
X-QQ-XMRINFO: Mu10XATLq/IERfXGovp1cJndKWH8Kl+aSQ==
From: Eason Huang <aqua0210@HIDDEN>
To: 64122 <at> debbugs.gnu.org
Subject: Re: bug#64122: 30.0.50; The new Eglot mode line UI show too many
 100% when input characters
In-Reply-To: <tencent_97F8DADB66AE5CDECB69491DD2F1062BF806@HIDDEN> (Eason
 Huang's message of "Sat, 17 Jun 2023 09:05:28 +0800")
References: <tencent_97F8DADB66AE5CDECB69491DD2F1062BF806@HIDDEN>
Date: Mon, 26 Jun 2023 23:12:09 +0800
Message-ID: <m2v8fai7g6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.9 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Eason Huang 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 [E [...] 
 
 Content analysis details:   (3.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (aqua0210[at]foxmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [203.205.251.60 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (aqua0210[at]foxmail.com)
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
X-Debbugs-Envelope-To: 64122
Cc: joaotavora@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Eason Huang 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 [E [...] 
 
 Content analysis details:   (2.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [203.205.251.60 listed in list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (aqua0210[at]foxmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (aqua0210[at]foxmail.com)
  0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                             dynamic-looking rDNS
  3.2 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP
                             addr 1)
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Eason Huang <aqua0210@HIDDEN> writes:

> Hi Jo=C3=A3o,
>
> 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.

--=20
Eason Huang





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#64122; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Jun 2023 01:21:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 16 21:21:32 2023
Received: from localhost ([127.0.0.1]:50619 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qAKd9-0002i4-H0
	for submit <at> debbugs.gnu.org; Fri, 16 Jun 2023 21:21:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:54744)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aqua0210@HIDDEN>) id 1qAKd3-0002hs-7N
 for submit <at> debbugs.gnu.org; Fri, 16 Jun 2023 21:21:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aqua0210@HIDDEN>)
 id 1qAKd2-0001vF-SM
 for bug-gnu-emacs@HIDDEN; Fri, 16 Jun 2023 21:21:24 -0400
Received: from out203-205-221-231.mail.qq.com ([203.205.221.231])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aqua0210@HIDDEN>)
 id 1qAKcz-0008SP-2K
 for bug-gnu-emacs@HIDDEN; Fri, 16 Jun 2023 21:21:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;
 s=s201512; t=1686964868;
 bh=KMYVPC02VU+0X2wQbvBYxiPhJgmgRbAt4ypg601DOJc=;
 h=From:To:Subject:Date;
 b=Nqp1DDNwZXatmFmHj37hUViKSdmWYRnnZtPfyT7sRIQHH2MRaA02xNRA32jRT9K3O
 QIgdfBK+qlmaDW2XnM2j+AKjusYuagM1MP4PI0Jw8yaSiOy77PvqsT0geYWgbAQpBl
 sP5Cdx5C+UBkv7XeZa/hJO8y3o2koM2PzRdCHWEI=
Received: from macbook ([101.85.10.255])
 by newxmesmtplogicsvrszc2-1.qq.com (NewEsmtp) with SMTP
 id 16004033; Sat, 17 Jun 2023 09:05:32 +0800
X-QQ-mid: xmsmtpt1686963932tipxm5nos
Message-ID: <tencent_97F8DADB66AE5CDECB69491DD2F1062BF806@HIDDEN>
X-QQ-XMAILINFO: MgAERLP4sJkUIDkYVAR1w2FEGo6jQItKPAZyCorVVbewGEDQXf7IMbNc+VxYF6
 a0pWe4at1ZpnorgKOX2t07rcV5emiW6Yz9d6j3uUtJatGLuB4eKpzlzwUGGWxcPumXtzTlpe4/IK
 0E8PQMzFht02m/yxQaMa3XZcFqYWX4lCl565th/jcdYx/JHUXPwaJj3iF0OpVhkzfVu3dbMcOGwD
 NTia4cbyK+efAsuRMA8afaU2T6CuDwnzfOCe4Z64h+SEUAGtjOjPz467H9COIESx8xClDpmtLP9/
 QuHpxkSg+6Cfr/6s0kTC7lHv8iioWEM4kclmXDSa8MHeclQYWYIrd5T9b/KZEArPsJ7D3G9q0oWX
 2ADPPVEP/4wdKVEY2PRA9JTo5FknHwJgfGbK5ryEmGd0l2XqJlxEv16WzDarVxXgRQzJaZ6JWHcf
 xid1ExfOvEHIB8arOMohlCRs2lUyU6yP8RrW8PsefLbOpuusYxnEE26ccOls/73uvYUnIjOg1jj8
 raMY0hyvtDqzN+jja7uD939yU7BZURsq7PD7KFVk/SuONZ+seFXRfydGiiMHScmuspaKXqD/cQ5U
 1i0pLKgOp+Bdvd40MEqgdys/gUDLpnu+4mStBh2LmSFyQ6T1IWksULs2CiThBibj6vT1i0EWSE+p
 pYS8tiCGrJV/5GJr5x1x/Df7bXoZjIzgYtzqHYpoQkj9ywJ61SFxBop80VBmQzaU4lBAcFSL6twG
 nuH9TNwx+X4Kbedd1/f8ZArfD3FAdB5iahcZpDugChJDXbPcmbxvJilOV5/pu/bfFFhkK1mjVLMU
 rGGBz9XRJQWQoeO3FioJ+2oNmd7igLibQ+2jPZ2uHz1cEiXffYND0Zq0Q7hAGQInsUzHpvtKrW8o
 RF57OT0MtjwFO51MZZQMhWZFkwQJIF0ievJDKj1m7do1ihIc9TUVpsdhjE7RaTbum/hRPRVadSz9
 tM+Ad5SEgZMD8wRm2l5+XOEC2l81HS
X-QQ-XMRINFO: M0RWTeBkoNRBR1Uh12iQNRvA1CSLhD8+1Q==
From: Eason Huang <aqua0210@HIDDEN>
To: bug-gnu-emacs@HIDDEN, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=
 <joaotavora@HIDDEN>
Subject: 30.0.50; The new Eglot mode line UI show too many 100% when input
 characters
Date: Sat, 17 Jun 2023 09:05:28 +0800
Message-ID: <m2sfaqvqxz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=203.205.221.231;
 envelope-from=aqua0210@HIDDEN; helo=out203-205-221-231.mail.qq.com
X-Spam_score_int: 11
X-Spam_score: 1.1
X-Spam_bar: +
X-Spam_report: (1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,
 FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001,
 RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.0 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)


Hi Jo=C3=A3o,

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.



In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin22.5.0, NS
 appkit-2299.60 Version 13.4 (Build 22F66, git sha1 8657afac774)) of
 2023-06-16 built on macbook

Windowing system distributor 'Apple', version 10.3.2299
System Description:  macOS 13.4

Configured using:
 'configure --without-native-compilation --without-dbus
 'CPPFLAGS=3D-I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
 'LDFLAGS=3D-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath
 /opt/local/lib/gcc12
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 -arch x86_64''

Configured features:
ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS
PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER
WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Python

Minor modes in effect:
  eglot--managed-mode: t
  flymake-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(vc-git diff-mode easy-mmode vc-dispatcher shadow sort mail-extr
emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml
mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date
cl-extra eglot external-completion jsonrpc xref flymake-proc flymake
thingatpt ert pp ewoc debug backtrace help-mode find-func filenotify
warnings icons compile text-property-search url-util url-parse
auth-source eieio eieio-core cl-macs password-cache json subr-x map
url-vars imenu python rx project byte-opt gv bytecomp byte-compile pcase
treesit cl-seq comint ansi-osc ring cl-loaddefs cl-lib ansi-color rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process emacs)

Memory information:
((conses 16 100798 37028)
 (symbols 48 11242 4)
 (strings 32 33389 1579)
 (string-bytes 1 1018448)
 (vectors 16 23076)
 (vector-slots 8 321876 18787)
 (floats 8 54 120)
 (intervals 56 614 0)
 (buffers 984 18))

--=20
Eason Huang





Acknowledgement sent to Eason Huang <aqua0210@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#64122; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 2 Feb 2024 07:45:02 UTC

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