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: Mon, 15 Jul 2024 09:30:21 -0400 Message-ID: References: <86wmm9jfk7.fsf@gnu.org> <86o77kjk87.fsf@gnu.org> <17183c60-1733-4938-9a85-f3351c87bcb9@gutov.dev> <87jzi6fvar.fsf@catern.com> <87h6d6flld.fsf@catern.com> <874j94gi4g.fsf@gmail.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="25389"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , sbaugh@catern.com, Eli Zaretskii , 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 Mon Jul 15 15:31:17 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 1sTLnR-0006PZ-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Jul 2024 15:31:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTLnB-0002qe-Q4; Mon, 15 Jul 2024 09:31:01 -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 1sTLnA-0002k9-4Y for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2024 09:31:00 -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 1sTLn9-0006BK-Qj for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2024 09:30:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sTLnB-0006zr-Nb for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2024 09:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jul 2024 13:31:01 +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.172105023226855 (code B ref 71823); Mon, 15 Jul 2024 13:31:01 +0000 Original-Received: (at 71823) by debbugs.gnu.org; 15 Jul 2024 13:30:32 +0000 Original-Received: from localhost ([127.0.0.1]:59230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTLmh-0006z4-Kn for submit@debbugs.gnu.org; Mon, 15 Jul 2024 09:30:31 -0400 Original-Received: from mxout5.mail.janestreet.com ([64.215.233.18]:51935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTLmf-0006yq-JP for 71823@debbugs.gnu.org; Mon, 15 Jul 2024 09:30:30 -0400 In-Reply-To: <874j94gi4g.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Fri, 05 Jul 2024 13:04:15 +0100") DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1721050221; bh=SJ6Rc10Wxdxkdkm6cT530M+ifUHoakQuxGQ5sPeh/Pk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Xt65PnY70hxL7nyk3w5b9NhuXEwh2E6xYkZ23eOCNTxCqMbJ+HiK3NYRELdhi0ZqR JVdlg0Vw48woM9nmeMLj4boyNGxDcCB2V66N/JqdFmZI7eYjF+GRLk8nQAvWDr9LC1 ckz6sopwFwPiaAXMw8qyqQJGWxRMTaHiSFo8j9OEN8z8Z7NP5q2NQQJPLMPhamD44T hXzwbdeN5g0HjdNE2JFoRMPGm+waFQ9lOKCeOjSf/3+zdJRolDpu48cKDOhSdGmGAK +F2zeMYN31fmUoHmYCLr0kPSE2JPdbdPFnmbSnmk4XA/353f49NG72ND2bzIMxB0pX RU1MRUodANcnA== 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:288860 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > sbaugh@catern.com writes: > >> To be clear, I want a configuration which will have project-name from >> project-mode-line and no project-name in the eglot mode-line entry. > > I understand. > >> So that functionality will need to be moved anyway, no matter how we >> solve this problem. > > As I see it (now, not 2 weeks ago) only if the user wants the same as > you. The reason I changed my mind is that I hadn't realized that section > was being used for the server-specific menu. > >> Are you fine with including the server menu in the main menu? This is >> something we'd want in both the "make it work by default" or "make it >> customizable" solutions. > > No, I'm not sure of that. One of the reasons is that Eglot currently > supports only one server, but there are many requests for it to support > more than one in the future. So I'm not sure that's such a good move, > whereas if the user decides they don't need the server menu, that's a > different story. I see. What about putting an abbreviated server name in the eglot modeline, replacing the current project-name? That would fit better with supporting multiple servers anyway: there would be multiple entries for multiple servers. I'm not sure what a good source for an abbreviated server name would be... perhaps we could query something from the LSP server, or put it in eglot-server-programs?