Re: mouse-face vs. transient-mark-mode

2005-04-23 Thread Richard Stallman
I'm not even sure that region highlighting is implemented as an overlay; it may be a text property, and, correct me if I'm wrong, overlays always have higher priority, regardless of their 'priority property. Last I looked, region-highlighting was implemented with special C suppor

Re: mouse-face vs. transient-mark-mode

2005-04-22 Thread JD Smith
On Fri, 22 Apr 2005 18:21:01 -0500, Luc Teirlinck wrote: > Drew Adams wrote: > >Is it possible to set a priority on either mouse-face or the region >highlight property to have the former yield to the latter? > >I can't answer your question definitively, JD, but I think the an

RE: mouse-face vs. transient-mark-mode

2005-04-22 Thread Drew Adams
When an overlay property of 'mouse-face 'highlight is set on a line, and transient mark mode is on, and you attempt to drag out a new region in the line, the region mark overlay does not show, and significant flickering occurs as you drag the mouse inside the highlighted text.

Re: mouse-face vs. transient-mark-mode

2005-04-22 Thread Luc Teirlinck
Drew Adams wrote: Is it possible to set a priority on either mouse-face or the region highlight property to have the former yield to the latter? I can't answer your question definitively, JD, but I think the answer is "no". I am not sure whether JD's question was whether it w

Re: mouse-face vs. transient-mark-mode

2005-04-22 Thread Luc Teirlinck
JD Smith wrote: I'm not even sure that region highlighting is implemented as an overlay; it may be a text property, and, correct me if I'm wrong, overlays always have higher priority, regardless of their 'priority property. Is there some way you know of giving the region highlighti