GNU bug report logs - #71823
31.0.50; project-mode-line and eglot duplicate project-name in mode-line

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Fri, 28 Jun 2024 14:14:02 UTC

Severity: normal

Found in version 31.0.50

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>, Spencer Baugh <sbaugh <at> janestreet.com>
Cc: joaotavora <at> gmail.com, 71823 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#71823: 31.0.50; project-mode-line and eglot duplicate
 project-name in mode-line
Date: Sat, 29 Jun 2024 14:59:10 +0300
On 29/06/2024 10:12, Eli Zaretskii wrote:
> After all, the project-mode-line
> option belongs to project.el, so the fact that it adds the project
> name to the mode line too indiscriminately can legitimately be
> considered to be a problem with that option.  Right?

It's "discriminate" and off by default.

> On top of that,
> project-mode-line is new in Emacs 30, whereas Eglot has been showing
> the project in its mode line before that.  So once again, IMO the onus
> is on project.el to fix this somehow.  For example, by not adding this
> to the mode line in Eglot-controlled buffers.

Hard-coding an "unless Eglot" condition seems like a bad idea in terms 
of abstraction and general code logic. But if you have some specific 
improvements to suggest, please go ahead.

> Adding Dmitry to the discussion.

Adding Juri as well.




This bug report was last modified 117 days ago.

Previous Next


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