From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71823: 31.0.50; project-mode-line and eglot duplicate project-name in mode-line Date: Sat, 29 Jun 2024 15:17:41 +0300 Message-ID: <17183c60-1733-4938-9a85-f3351c87bcb9@gutov.dev> References: <86wmm9jfk7.fsf@gnu.org> <86o77kjk87.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32013"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Spencer Baugh , 71823@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 29 14:18:36 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 1sNX2J-00085x-Vv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jun 2024 14:18:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNX1x-0002AJ-JW; Sat, 29 Jun 2024 08:18:13 -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 1sNX1m-00021N-GN for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:18:02 -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 1sNX1m-0004Lh-7b for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNX1l-0006G7-Sq for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jun 2024 12:18: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.171966347224038 (code B ref 71823); Sat, 29 Jun 2024 12:18:01 +0000 Original-Received: (at 71823) by debbugs.gnu.org; 29 Jun 2024 12:17:52 +0000 Original-Received: from localhost ([127.0.0.1]:37311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNX1c-0006Fe-AD for submit@debbugs.gnu.org; Sat, 29 Jun 2024 08:17:52 -0400 Original-Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]:54355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNX1a-0006FL-32 for 71823@debbugs.gnu.org; Sat, 29 Jun 2024 08:17:51 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id CCACD11402B6; Sat, 29 Jun 2024 08:17:44 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 29 Jun 2024 08:17:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1719663464; x=1719749864; bh=euKe05E32MTeBXcPEImDLbIDd2hvVx4YVVKkPFXyHrI=; b= sCy3jp5cYHaizYVF1AWpHq/JFsBh2YG+Y108cgRGWG73nfMr8G9BlJV/CDTAr+6M YMTliw5QOKIPIiEK624Asj11rHresLKj5umIM1jaOCDqIm57v6p2c159sFpCVLGr MK5pItLTYcKjF3j4Ijxxs5GmDobMZKj37JfeesG3r/EU1L5srVzXcHIu1x5y1S9G 9uaot/xU3/STDdCA40A4u80NH0dASZEHBNkqXPCKELa7k1ZAvFH1f3oFj5lOEjGC u6o8zcv6ALoZeRlNLMassBaxaAXRv6OY0zbwhKANtDresoBUZqBVp7mat4eUMLpb FEYAfddabioXXEi4MaxpfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1719663464; x= 1719749864; bh=euKe05E32MTeBXcPEImDLbIDd2hvVx4YVVKkPFXyHrI=; b=U H0uyrzPeRY/I3M7z+5yarVUFLC0q9pJFk96m6MBq/SRkjsHo1KcDm/+3DMH2w+/a t8ffYMpYv5LeDe2KwhEeZezongcoFOnam19meaHYRO7A0jKwXRzUyKU/kRpBZBG5 73hW2pQUXR+Etfgwir6nI5A/8D7UkthPIuSAmu9qmMx4mftbbP9clUGiNf8I4FKZ pqlPs2ZDHIyZoWLQF6xRw6/MJRPXWhWbxvF3m0g4nKPWe5yN4OFyNcFSj6CiXwu2 czb+FSeorwGYQfO0BjbewmMeuxjz72Y/PTuf4dPCZYEiUz+axM9321wEUPTHUhmW yVg7SqAFdQunVKrCDUq1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrtdelgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeegleefteekgffhvdfhtdegveevveetteegteevgeettdehhfdukeetheffueek keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 29 Jun 2024 08:17:43 -0400 (EDT) Content-Language: en-US In-Reply-To: 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:288116 Archived-At: On 29/06/2024 15:05, João Távora wrote: > On Sat, Jun 29, 2024 at 8:12 AM Eli Zaretskii wrote: > >> Why not turn the table and consider this to be a problem of >> project.el, to be solved there? After all, the project-mode-line > That could make sense (and this is nowhere near a serious problem IMHO), > but I have to admit that saying the onus being on Eglot is also defensible. > The project name is eminently project.el property after all. What Eglot > is showing there is the "project nickname": it happens to coincide with > the project name for now but in rigour it would be a mnemonic for a > "project/language" tuple. So it's not exactly the same thing. I've > just never found a good way to express that. Either way, it might make sense for Eglot to check out that project.el's variable and choose the format accordingly. But an independent way to customize it in Eglot can work fine too (like the customizable mode-line you proposed).