From: Teodor Zlatanov <tzz@iglou.com>
Cc: Richard Stallman <rms@gnu.org>, no-spam@cua.dk, emacs-devel@gnu.org
Subject: Re: Idea: Allow faces to have text-like properties
Date: Tue, 5 Mar 2002 14:02:43 -0500 [thread overview]
Message-ID: <20020305140242.B7850@iglou.com> (raw)
In-Reply-To: <200203010124.g211OPn05737@rum.cs.yale.edu>; from monnier+gnu/emacs@rum.cs.yale.edu on Thu, Feb 28, 2002 at 08:24:25PM -0500
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
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
prev parent reply other threads:[~2002-03-05 19:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-28 10:25 Idea: Allow faces to have text-like properties Kim F. Storm
2002-02-28 12:05 ` Per Abrahamsen
2002-02-28 13:15 ` Kim F. Storm
2002-03-01 1:05 ` Stefan Monnier
2002-03-01 1:11 ` Richard Stallman
2002-03-01 1:24 ` Stefan Monnier
2002-03-05 19:02 ` Teodor Zlatanov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020305140242.B7850@iglou.com \
--to=tzz@iglou.com \
--cc=emacs-devel@gnu.org \
--cc=no-spam@cua.dk \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.