bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66317: Project mode-line


From: Dmitry Gutov
Subject: bug#66317: Project mode-line
Date: Tue, 10 Oct 2023 14:46:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 10/10/2023 09:56, Juri Linkov wrote:
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.
Probably adding a variable would be more suitable since currently
there are no faces defined in project.el at all.

FWIW, I don't have a strong opinion.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]