emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Idea: Be able to use text properties as face attributes


From: Drew Adams
Subject: RE: Idea: Be able to use text properties as face attributes
Date: Mon, 27 Mar 2017 07:01:24 -0700 (PDT)

> > One open question would be whether to allow the text
> > properties `face', `font-lock-face', and `mouse-face' as
> > properties for themselves and each other.  E.g., be able
> > to do this:
> >
> >   (set-face-attribute 'face-1 nil 'face 'face-2)
> 
> :inherit already does something similar.

No, I don't think it does (depending on what you mean
by "similar").  In what I'm describing that sexp would
make all occurrences of `face-1' have the effect of
being occurrences of `face-2'.  That's not what face
inheritance does.



reply via email to

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