all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* face properties that are untouched by font lock
@ 2005-07-14 22:48 Joe Corneli
  0 siblings, 0 replies; only message in thread
From: Joe Corneli @ 2005-07-14 22:48 UTC (permalink / raw)


I would like to add a text property to buffers that has
the following characteristics:

 It is a text property, not an overlay, because I want to be able to
 cut and paste the text and keep the property.

 It has a user-visible aspect to it; a face would be good,
 but the face property is "owned" by font-lock; my property
 should nonetheless be compatible with font-lock.

 I want my property to have higher precedence than font-lock's
 face property, i.e., if font-lock turns some word blue,
 but I turned it red, it should always appear in red.

Does anyone have any advice on this topic?  

I looked at (and do not fully understand) the description of
`font-lock-face' from the "Special Properties" node of the elisp
manual.  It seems like it might be close to what I want, but with the
precedence turned around.  I could be quite worng about that.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-14 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 22:48 face properties that are untouched by font lock Joe Corneli

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.