|
From: | Lennart Borgman (gmail) |
Subject: | Overlays priorities and text properties |
Date: | Sun, 23 Mar 2008 00:13:52 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
There is a comment in (info "(elisp) Overlay Properties")saying "please avoid using negative priority values as we have not yet decided just what they should to".
I just have a case where I want to put a background overlay behind the text. Something with low priority that should not disturb face text properties, like those that for example hi-lock put on the text.
Since both the overlay I use and the faces normally used by hi-lock use background colors it just is not possible to use hi-lock when you have an overlay with a background color.
I suggest that we use overlay negative priority to let the overlay's faces have lower priority then text property faces. Would that be a good use?
[Prev in Thread] | Current Thread | [Next in Thread] |