[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] Per-window face support
From: |
Stefan Monnier |
Subject: |
Re: [RFC PATCH] Per-window face support |
Date: |
Thu, 07 Jun 2018 22:57:28 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> This patch lets us actually vary faces on a window-by-window basis.
Sounds good.
> + 4. Conses of the form
> + (:filter (:window PARAMETER VALUE) FACE-SPECIFICATION),
> + which applies FACE-SPECIFICATION only if the
> + given face attributes are being evaluated in the context of a
> + window with a parameter named PARAMETER being EQ VALUE.
Is there any chance we could allow running Elisp code there, i.e. allow
(:filter FUNCTION FACE-SPECIFICATION)
or even just
(:filter FUNCTION)
where FUNCTION returns the FACE-SPECIFICATION (or nil, say).
> DEFSYM (QCignore_defface, ":ignore-defface");
>
> + /* Used for limiting character attributes to windows with specific
> + characteristics. */
> + DEFSYM (Qwindow_kw, ":window");
> + DEFSYM (Qfiltered_kw, ":filtered");
Our convention is to use QC<foo> rather than Q<foo>_kw for ":foo", as
can be seen above for :ignore-defface.
Stefan
- [RFC PATCH] Per-window face support, dancol, 2018/06/07
- Re: [RFC PATCH] Per-window face support,
Stefan Monnier <=
- Re: [RFC PATCH] Per-window face support, Eli Zaretskii, 2018/06/08
- Re: [RFC PATCH] Per-window face support, Eli Zaretskii, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Eli Zaretskii, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Eli Zaretskii, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Stefan Monnier, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/16