[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proportional fonts in the mode line (one month test)
From: |
Lars Ingebrigtsen |
Subject: |
Re: Proportional fonts in the mode line (one month test) |
Date: |
Fri, 26 Nov 2021 14:19:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Perhaps we should introduce a new intermediary face just for the mode
> line -- i.e., `mode-line-display', and have that inherit from
> `mode-line'. (And then revert the change to `mode-line' and put it in
> `mode-line-display' instead, and use `mode-line-display' for the mode
> line.)
I've now done this. The new face actually used on the mode lines is
called `mode-line-active', and is the one that inherits from
variable-pitch. This fixes the issue with the inadverdant inheritance
by header-line (and I'm use other things that inherit from mode-line).
This also means that you now have to say
(set-face-attribute 'mode-line-active nil :inherit 'mode-line)
(set-face-attribute 'mode-line-inactive nil :inherit 'mode-line)
to revert to non-proportional fonts.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Proportional fonts in the mode line (one month test), (continued)
- Re: Proportional fonts in the mode line (one month test), Po Lu, 2021/11/26
- Re: Proportional fonts in the mode line (one month test), Yuri Khan, 2021/11/25
- Re: Proportional fonts in the mode line (one month test), Po Lu, 2021/11/26
- Re: Proportional fonts in the mode line (one month test), Lars Ingebrigtsen, 2021/11/26
- Re: Proportional fonts in the mode line (one month test), Jim Porter, 2021/11/27
- Re: Proportional fonts in the mode line (one month test), Eli Zaretskii, 2021/11/25
- Re: Proportional fonts in the mode line (one month test), Po Lu, 2021/11/25
Re: Proportional fonts in the mode line (one month test), Lars Ingebrigtsen, 2021/11/25
Re: Proportional fonts in the mode line (one month test), Protesilaos Stavrou, 2021/11/25
Re: Proportional fonts in the mode line (one month test), Simen Heggestøyl, 2021/11/25
Re: Proportional fonts in the mode line (one month test), Michael Welsh Duggan, 2021/11/29