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

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

bug#61567: 30.0.50; Define display-time-time-and-date-indicator face


From: Drew Adams
Subject: bug#61567: 30.0.50; Define display-time-time-and-date-indicator face
Date: Fri, 17 Feb 2023 15:47:40 +0000

> > I canʼt find anything in the elisp manual.
> 
> It's mentioned in the description of defface (C-h S defface).

I was going to say the same thing.  Perhaps
it should _also_ be said in the doc string
(but that's already a bit long, and it has
a link to the Elisp manual doc).  IMO that
would help.
___

As for the face name: This face is intended
(only) for the mode-line, no?  That's more
important (besides respecting the guideline)
than including "-face" in the name.

Maybe something like `mode-line-datetime'?

Standard faces used generally in the mode-line
have that prefix `mode-line-'.  Other faces
used in the mode-line (e.g. for different
modes) typically have "mode-line" as suffix
or infix.

mode-line 
mode-line-buffer-id 
mode-line-emphasis 
mode-line-highlight 
mode-line-inactive

compilation-mode-line-exit
compilation-mode-line-fail 
compilation-mode-line-run 

reply via email to

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