From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh Newsgroups: gmane.emacs.bugs Subject: bug#71823: 31.0.50; project-mode-line and eglot duplicate project-name in mode-line Date: Wed, 03 Jul 2024 11:12:09 -0400 Message-ID: References: <86wmm9jfk7.fsf@gnu.org> <86o77kjk87.fsf@gnu.org> <17183c60-1733-4938-9a85-f3351c87bcb9@gutov.dev> <87jzi6fvar.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28800"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , Eli Zaretskii , Spencer Baugh , 71823@debbugs.gnu.org, Juri Linkov To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 03 17:38:53 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sP24L-00077W-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Jul 2024 17:38:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP1fP-0000te-GQ; Wed, 03 Jul 2024 11:13:07 -0400 Original-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 ) id 1sP1fN-0000t7-OU for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 11:13:06 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sP1fI-0002Yr-AQ for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 11:13:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sP1fK-0004I0-22 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 11:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jul 2024 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71823 X-GNU-PR-Package: emacs Original-Received: via spool by 71823-submit@debbugs.gnu.org id=B71823.172001953916431 (code B ref 71823); Wed, 03 Jul 2024 15:13:02 +0000 Original-Received: (at 71823) by debbugs.gnu.org; 3 Jul 2024 15:12:19 +0000 Original-Received: from localhost ([127.0.0.1]:40136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP1ed-0004Gw-2e for submit@debbugs.gnu.org; Wed, 03 Jul 2024 11:12:19 -0400 Original-Received: from mxout6.mail.janestreet.com ([64.215.233.21]:35699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP1eb-0004Gi-6S for 71823@debbugs.gnu.org; Wed, 03 Jul 2024 11:12:17 -0400 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Wed, 3 Jul 2024 15:57:43 +0100") DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1720019529; bh=YiBHSLdQGY03UUJULb/vAK7rROynmLBA4ED7i5DS79k=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=DxDQf664y2CyoPL2XJwNrDZyFsCg3aRVqLA3ljIW4gkF7AgmQ7BMUHA1ZfujgFmU/ VTskTIwd06nw6iTkbPUxaWdlYg65t60B4NnwsXTf+92ipYeq9ygkds1cA7DlWBzGg+ 3+e0f3TrhuRGy9xXwrjTmpVBHdFqZyVqVHabLKp/Uh6F1ax3CimIEA4GaDQQcMYMQA 5KKqjMidY15mZIHkD8T0dAVm2PGEOXojdrvzHlz10Gl3w6br1nnKLDPfYijrsKuK2L jPwsGhylko0ukZfjt1mLFsMA73II0FnXO317QsSk4TFQky71qH6B18YgTo5aWvjd5J 6rEJkXlbTlbVg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288324 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > On Wed, Jul 3, 2024 at 3:47=E2=80=AFPM Spencer Baugh wrote: > >> Do any of these seem acceptable? > > No, sorry. When you originally said the patch was OK, how did you think the project-mode-line worked? Whatever way that is, I can just make project-mode-line work that way. >> > I also don't understand the other changes (i.e. to the menu) but >> > that's OK. >> >> The project-name in the eglot mode line entry had the server menu >> attached to it. Since the project-name is no longer present, the server >> menu isn't accessible. To make the server menu accessible again, it's >> added to the main eglot menu. > > Ah right. Well that unexpected side effect alone makes this > approach unacceptable. Why is that? What's the problem with moving the server menu to the main menu? >> But I don't want to delegate the responsibility of solving this problem >> to the user, I want the problem to just be gone: the entries should just >> not duplicate project-name. > > This problem wasn't introduced by Eglot. Definitely, but it seems like it is best to fix it in Eglot. I hope we can find a fix from the problem I want to solve, which is satisfying to you. > In fact I don't know if this is even a problem. Users must know if > they want to keep the Eglot mode line info working like it always did > or if they want to tweak it to save space because of a new mode-line > tenant that has since appeared in the very latest Emacs (a tenant > which isn't even on by default). > > The problem in Eglot to me is that there isn't the possibility to > do the latter thing, and _that's_ what I think should be addressed. Right. But even if we solved that, the problem I want to solve would still exist, and I'd still want to solve it without requiring users to do extra configuration, which is why I say there are separate problems.