From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66317: Project mode-line Date: Tue, 10 Oct 2023 09:18:41 +0200 Message-ID: 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> <86sf6ow8po.fsf@mail.linkov.net> <5f2ffce9-e7ee-d8c7-4fbe-da28c2ab114c@gutov.dev> <86h6mzhdk8.fsf@mail.linkov.net> <86ttqzfx8p.fsf@mail.linkov.net> <2d548b54-82df-be3c-0523-cdcb0137e2c5@gutov.dev> <8634yjotrn.fsf@mail.linkov.net> Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20538"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , Eli Zaretskii , 66317@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 10 09:20:02 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 1qq729-00051U-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Oct 2023 09:20:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qq71r-0003wo-IV; Tue, 10 Oct 2023 03:19:43 -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 1qq71q-0003wX-3o for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 03:19:42 -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 1qq71p-0005BF-Oz for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 03:19:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qq72A-00004u-Ey for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 03:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2023 07:20:02 +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.169692234832694 (code B ref 66317); Tue, 10 Oct 2023 07:20:02 +0000 Original-Received: (at 66317) by debbugs.gnu.org; 10 Oct 2023 07:19:08 +0000 Original-Received: from localhost ([127.0.0.1]:33882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq71H-0008VE-IR for submit@debbugs.gnu.org; Tue, 10 Oct 2023 03:19:07 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:60994 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq71F-0008V6-EN for 66317@debbugs.gnu.org; Tue, 10 Oct 2023 03:19:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1696922323; bh=uyWYlFQZJ9a5wkdpO1LjQYe8HvUuyn5TPqg/XVtCheQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Rgk8zjECC8+JKJI6Xsb8mwXB+eskhkF4eiA+/3Q6Xt6wp80YCnRHOlAunrNYU/27F Z40BFIdk+Fz4rJFYLOW3YGB1K1hkqmCMri8JwCVvf4YDUona2R0WELV76fpIiPBy3V 7jrYzHXeC5XKQq2b2KRCc+ZXRajCvmfcA9mJmXXt6F8MePvNKxCIE9eHG25YhcR0MX 3j50H48y00h8tHzz7vbqvHtbU7E7UYLyzkXZ7xk9aS2kXYh4a3keYn7IduTO3xBTuD GJzlPaoELRfEawdB56FsmTdzvHIYOFlf+BYuPQ2KnDA0Gz6LV1ElqRnWYSoUi8v2B9 Skqd3QfM+h4TA== In-Reply-To: (Eshel Yaron's message of "Tue, 10 Oct 2023 09:10:36 +0200") 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:272187 Archived-At: Eshel Yaron writes: > Juri Linkov writes: > >> >> Maybe this would be sufficient: >> >> diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el >> index 2475d7c403e..1d6c9c1cf1b 100644 >> --- a/lisp/progmodes/project.el >> +++ b/lisp/progmodes/project.el >> @@ -2109,7 +2109,8 @@ project-uniquify-dirname-transform >> (defcustom project-mode-line nil >> "Show the current project name with the menu on the mode line. >> This feature requires the presence of the following item in >> -`mode-line-format': `(project-mode-line project-mode-line-format)'." >> +`mode-line-format': `(project-mode-line project-mode-line-format)' >> +that already exists by default in Emacs 30." > > To me, this description looks a bit too implementation-focused. How > about the following? > > Show the name of the current project on the mode line. > > This option only works in Emacs 30 or later, for a similar effect in > Emacs 29 or earlier add `project-mode-line-format' to your > `mode-line-format' instead of using this option. Correction, in the first line I meant to write: Whether to show the name of the current project on the mode line. Best, Eshel