[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 4eb0303: Compute chart-face-list dynamically
From: |
Lars Ingebrigtsen |
Subject: |
Re: master 4eb0303: Compute chart-face-list dynamically |
Date: |
Fri, 19 Mar 2021 09:30:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> BTW, an even better option is to make that face-list not depend on the
> display at all, and instead have the definition of each face depend on
> the display, which `defface` has supported for eons.
>
> This way the same buffer can appear properly and simultaneously in
> different displays with different capabilities.
Definitely. Using defface instead of creating the faces on the fly
would make more sense in most cases. But I didn't want to change the
interface here -- which is a list of colours, and faces that are created
based on that list.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no