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: Mon, 09 Oct 2023 20:57:12 +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> <867co29v1y.fsf@mail.linkov.net> <8634yjhbxq.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="38555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: dmitry@gutov.dev, 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 Mon Oct 09 20:57:50 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 1qpvRt-0009lU-PV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Oct 2023 20:57:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpvRm-0006FP-Rv; Mon, 09 Oct 2023 14:57:42 -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 1qpvRl-0006FC-9w for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2023 14:57:41 -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 1qpvRl-0003P9-1n for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2023 14:57:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpvS5-0008Fe-OB for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2023 14:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Oct 2023 18:58: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.169687785931671 (code B ref 66317); Mon, 09 Oct 2023 18:58:01 +0000 Original-Received: (at 66317) by debbugs.gnu.org; 9 Oct 2023 18:57:39 +0000 Original-Received: from localhost ([127.0.0.1]:33188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpvRj-0008Ek-9N for submit@debbugs.gnu.org; Mon, 09 Oct 2023 14:57:39 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:36972 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpvRh-0008Eb-1C for 66317@debbugs.gnu.org; Mon, 09 Oct 2023 14:57:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1696877834; bh=5RvKzpSxrKQnU4jyteR1rHy6CJLp5kd25v/nCS46gp8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fB8ea8eyxIDTr+PtJlb6NQyZxvErB7G4oIhSABCsZseKDm1Uvrx7IUnuCT6lTve41 /8em/IkrSli7tAnpONHgRUSheMcsopapghAqtLuzJKCbczFIsTf4CkH/bWyosc8wIs nEH+9Sj0qiNnf10x7i+XF7Tay2B6QoEO31k4Z9/PQO6VoZcGn4vpz2AWyFBfqfMTpE XJi0XLrhG7BuvxS2BkQKh4MnjYQRZpZgOQhtKqOYJxTf268sxvFsD2aaqZReG6vHJh M0reHXNk/jbt+rQ8p6toWUPpJ2wsgqXGnbTHH2YTJohNBjNSqKLQAY1nOQq/yRRGqJ 0yd+LC9treg7g== In-Reply-To: <8634yjhbxq.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 09 Oct 2023 21:45:37 +0300") 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:272168 Archived-At: Juri Linkov writes: >>> Thanks, I've tried this patch on top of Emacs master and it seems to >>> work well. One small suggestion is to consider giving the project name >>> in the mode line a dedicated face, so people/themes could customize its >>> appearance. (By default, it could just inherit from `default`.) >> >> Thanks for suggestion, will do on the second round after pushing the >> initial version. > > I'm not yet sure whether better to add a new face or a new variable like > grep-hit-face and xref-num-matches-face that refers to the existing face. > Then it would be possible to set such variable e.g. to the face `vc-state-base` > that inherits from `default`. Personally I think a variable pointing to a face name is a somewhat redundant indirection, since customizing the face to inherit from some other face is just as easy as customizing the variable to point to a different face. But either way works, of course. Best, Eshel