emacs-devel
[Top][All Lists]
Advanced

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

Re: Supporting stylistic sets


From: Visuwesh
Subject: Re: Supporting stylistic sets
Date: Sat, 24 Sep 2022 10:29:12 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

[வெள்ளி செப்டம்பர் 23, 2022] Eli Zaretskii wrote:

>> Unless there are performance implications, I don't see why using an
>> anonymous face won't work i.e., 
>> 
>>     (propertize "text" '(face (:stylistic-set ("cv01" ..)))
>
> How is this different or better than having a special text property?

It has the added advantage of being able to easily alter existing code
to use stylistic sets.  E.g., if I want outline headings to use the
small caps set, then I can change the relevant faces which is much
simpler than writing new code to put the special text property.



reply via email to

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