unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* FW: overlays with higher priority than region [was: no good waytohighlight rectangle while region is highlighted]
@ 2008-03-11 16:08 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2008-03-11 16:08 UTC (permalink / raw)
  To: emacs-devel

Resending.

----
From: Drew Adams Sent: Wednesday, January 23, 2008 1:26 PM
>     Summary of this message: This is a feature request for (1) the
>     possibility that some overlays can have priority over the use of the
>     region face, and/or (2) a variant of the ?box? face feature where the
>     vertical lines of the box take no extra space.
>
RMS> (2) sounds terribly low-level.  (1) is cleaner.

RMS> I think (1) could be implemented with a change in
RMS> face_at_buffer_position. For instance, we could define a
RMS> certain priority for the region, so that overlays whose
RMS> priority exceeds that cover the region.
RMS> It doesn't look terribly hard, but you need to think carefully
RMS> to prove that you store the value into *ENDPTR in all cases.

Did this get dropped? I too would like to see the possibility of having an
overlay that has higher priority than the region. One use case is
highlighting a line within the region.

[Please don't suggest other ways to draw attention to the line, here (e.g.
display-table, fringe). That is just an example. I would like to be able to
have an overlay with a higher priority than the region - I'm not interested
in this example per se.]








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

only message in thread, other threads:[~2008-03-11 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 16:08 FW: overlays with higher priority than region [was: no good waytohighlight rectangle while region is highlighted] Drew Adams

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