[Top][All Lists]

[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: Sat, 16 Jun 2018 13:35:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>> > I still wonder why we only allow EQ there, it sounds unnecessarily
>>> > restrictive.

Agree.  A recent discussion indeed pointed out that EQ is fundamentally
flawed and there can be good reasons to try and give up on EQ and use
`equal` instead.

> applying face filters?  The way it is now, with an eq-test, the result
> of a face filter operation can change _only_ after a call to
> set-window-parameter or an update of a face spec somewhere.

Sounds like a good argument for EQ here.

So, from where I stand, you're both right.


PS: BTW, Dan, thinking about how to allow Elisp code in there, maybe one
way would be to make it so the Elisp function returns not just the
remapping but also some kind of "freshness predicate"" which can be used
to determine when the function needs to be re-evaluated.

reply via email to

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