From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#66317: Project mode-line Date: Fri, 06 Oct 2023 09:44:51 +0300 Organization: LINKOV.NET Message-ID: <86sf6ow8po.fsf@mail.linkov.net> References: <86jzs4ntxb.fsf@mail.linkov.net> <86sf6r4omc.fsf@mail.linkov.net> <86jzs34mg6.fsf@mail.linkov.net> <83zg0z6062.fsf@gnu.org> <86il7mc3xr.fsf@mail.linkov.net> <456e170e-2934-9f8b-e34a-3076901f8de1@gutov.dev> <83cyxs2w3p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13639"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: Dmitry Gutov , me@eshelyaron.com, 66317@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 06 08:57:19 2023 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 1qoelz-0003Nt-Mj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Oct 2023 08:57:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoelV-0002OQ-7X; Fri, 06 Oct 2023 02:56:49 -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 1qoelR-0002NW-Bn for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2023 02:56:45 -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 1qoelP-00038v-Gq for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2023 02:56:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoelh-0004Sy-NB for bug-gnu-emacs@gnu.org; Fri, 06 Oct 2023 02:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Oct 2023 06:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66317 X-GNU-PR-Package: emacs Original-Received: via spool by 66317-submit@debbugs.gnu.org id=B66317.169657539017113 (code B ref 66317); Fri, 06 Oct 2023 06:57:01 +0000 Original-Received: (at 66317) by debbugs.gnu.org; 6 Oct 2023 06:56:30 +0000 Original-Received: from localhost ([127.0.0.1]:49043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoelC-0004Rx-8y for submit@debbugs.gnu.org; Fri, 06 Oct 2023 02:56:30 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:41987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoel7-0004Ra-3t for 66317@debbugs.gnu.org; Fri, 06 Oct 2023 02:56:29 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 21E291BF217; Fri, 6 Oct 2023 06:55:57 +0000 (UTC) In-Reply-To: <83cyxs2w3p.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Oct 2023 07:50:02 +0300") X-GND-Sasl: juri@linkov.net 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:271931 Archived-At: >> Speaking of this change from the first patch, do we want to have >> project-mode-line automatically supported in Emacs <= 29, when they >> install the new version from ELPA? Can we safely do that? >> >> Simply altering mode-line-format, as in the original patch, might mess >> up the custom mode-line the user had set up (or installed). How to only >> change the default mode-line is less obvious, but perhaps checking that >> the current value is equal to (get 'mode-line-format 'standard-value) >> would mean altering is okay. >> >> Or otherwise we should say something in the docstring of >> project-mode-line: that it's only directly supported in Emacs 30, and in >> older versions the user need to add the corresponding entry to the >> mode-line-format by hand. > > I think supporting it in Emacs 30 is fine. It's a very minor feature, > after all, so let's not invest too much effort in it. Agreed. No need to support it in older versions. Moreover, I'm trying to add another option to join project and vc indicators on the mode-line that won't be possible to support in older versions.