[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] Per-window face support
From: |
Eli Zaretskii |
Subject: |
Re: [RFC PATCH] Per-window face support |
Date: |
Sat, 16 Jun 2018 19:09:26 +0300 |
> Date: Sat, 16 Jun 2018 08:30:52 -0700
> From: "Daniel Colascione" <address@hidden>
> Cc: "Daniel Colascione" <address@hidden>,
> address@hidden
>
> > That's not the Emacs way, IMO. Being able to use only integers or
> > symbols as filtering parameters sounds too restrictive to me, and I
> > see no reason for such restrictions.
>
> There's no loss of generality in allowing only eq at face filtering time:
> you can set an integer or symbol to reflect the result of any other
> computation
That's exactly the point: one needs to modify window parameters,
instead of just using what's already there. So this will restrict
applications that want to modify a window's faces based on existing
window parameters whose values are neither symbols nor integers. Such
applications will have to add their own parameters to windows.
> Contractually allowing something more powerful than eq here can really
> screw us over later: what happens when we equal-compare large data
> structures?
Same thing that happens when an :eval form in the mode-line-format
causes Emacs to solve partial differential equations in 20 dimensions:
they get what they deserve. Emacs never prevented legitimate uses of
power features just because those features give us enough rope to hang
ourselves, should we be so stupid.
- [RFC PATCH] Per-window face support, dancol, 2018/06/07
- Re: [RFC PATCH] Per-window face support, Stefan Monnier, 2018/06/07
- 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 <=
- Re: [RFC PATCH] Per-window face support, Stefan Monnier, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/16
- Re: [RFC PATCH] Per-window face support, Stefan Monnier, 2018/06/17
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/17
- Re: [RFC PATCH] Per-window face support, Stefan Monnier, 2018/06/17
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/17
- Re: [RFC PATCH] Per-window face support, Stefan Monnier, 2018/06/17
- Re: [RFC PATCH] Per-window face support, Daniel Colascione, 2018/06/17
- Re: [RFC PATCH] Per-window face support, Paul Eggert, 2018/06/17
- Aliasing EQ to EQL (was: [RFC PATCH] Per-window face support), Stefan Monnier, 2018/06/17