unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: no-spam@cua.dk, emacs-devel@gnu.org, tzz@beld.net
Subject: Re: Idea: Allow faces to have text-like properties
Date: Thu, 28 Feb 2002 20:24:25 -0500	[thread overview]
Message-ID: <200203010124.g211OPn05737@rum.cs.yale.edu> (raw)
In-Reply-To: 200203010111.g211Bh320228@aztec.santafe.edu

> 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.


	Stefan


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-03-01  1:24 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 [this message]
2002-03-05 19:02     ` Teodor Zlatanov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200203010124.g211OPn05737@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-devel@gnu.org \
    --cc=no-spam@cua.dk \
    --cc=tzz@beld.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).