emacs-devel
[Top][All Lists]
Advanced

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

Re: Idea: Allow faces to have text-like properties


From: Teodor Zlatanov
Subject: Re: Idea: Allow faces to have text-like properties
Date: Tue, 5 Mar 2002 14:02:43 -0500
User-agent: Mutt/1.2.5.1i

On Thu, Feb 28, 2002 at 08:24:25PM -0500, Stefan Monnier wrote:
> > I don't think that faces should specify general text properties.
> > But it seems reasonable for font lock to be able to attach
> > other properties (including `category').
> 
> This feature is already implemented (recently, by yours truly):
> 
> ** font-lock can manage arbitrary text-properties beside `face'.
> *** the FACENAME returned in font-lock-keywords can be a list
> of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set
> other properties than `face'.
> *** font-lock-extra-managed-props can be set to make sure those extra
> properties are automatically cleaned up by font-lock.

Has anyone taken interest in developing a package to utilize these text
properties to provide "invisible" (from the user's viewpoint) faces?  I
think it's a great idea.

Thanks
Ted



reply via email to

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