[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Idea: Be able to use text properties as face attributes
From: |
Clément Pit-Claudel |
Subject: |
Re: Idea: Be able to use text properties as face attributes |
Date: |
Wed, 29 Mar 2017 11:36:54 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 2017-03-29 11:21, Lars Ingebrigtsen wrote:
> That is: He wants to say
>
> (defprop my-prop '(:read-only t :invisible nil :font "futura"))
> (set-text-prop (point-min) (+ (point-min) 4) my-prop)
> (set-text-prop (+ (point-min) 10) (+ (point-min) 20) my-prop)
I think that's what I proposed in response to Drew's original message, and what
Stefan suggests (it's a natural extension of overlay categories). But I'm not
sure it's what Drew had in mind.
Specifically, Drew (IIUC) would like *faces* to behave as these hypothetical
'defprop's. This way, all the existing machinery on faces could be reused.
Clément.
- RE: Idea: Be able to use text properties as face attributes, (continued)
- Re: Idea: Be able to use text properties as face attributes, Eli Zaretskii, 2017/03/27
- RE: Idea: Be able to use text properties as face attributes, Drew Adams, 2017/03/27
- Re: Idea: Be able to use text properties as face attributes, Eli Zaretskii, 2017/03/27
- RE: Idea: Be able to use text properties as face attributes, Drew Adams, 2017/03/27
- Re: Idea: Be able to use text properties as face attributes, Eli Zaretskii, 2017/03/28
- RE: Idea: Be able to use text properties as face attributes, Drew Adams, 2017/03/28
- Re: Idea: Be able to use text properties as face attributes, Eli Zaretskii, 2017/03/29
- Re: Idea: Be able to use text properties as face attributes, Lars Ingebrigtsen, 2017/03/29
- Re: Idea: Be able to use text properties as face attributes,
Clément Pit-Claudel <=
- RE: Idea: Be able to use text properties as face attributes, Drew Adams, 2017/03/29
- Re: Idea: Be able to use text properties as face attributes, Andreas Politz, 2017/03/29
- RE: Idea: Be able to use text properties as face attributes, Drew Adams, 2017/03/29
- RE: Idea: Be able to use text properties as face attributes, Drew Adams, 2017/03/29