[Top][All Lists]

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

Re: Combining face and map stuff

From: Chong Yidong
Subject: Re: Combining face and map stuff
Date: Sat, 02 Oct 2010 12:21:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> It would often be convenient to say "this region should be in bold" and
> "this partially overlapping region should also be italic", and so on.
> I've been looking in the Emacs Lisp manual, but I can't find any utility
> functions for doing stuff like that.  They all seem to start with a face
> with some properties that you apply to a text, which isn't really what I
> want.  So I would kinda of like...  a function that took a face, and
> then "combined" it with any faces that were already in the region.

Easiest way is probably to use overlay faces.

reply via email to

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