unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <rms@gnu.org>, "Joe Wells" <jbw@macs.hw.ac.uk>
Cc: emacs-devel@gnu.org
Subject: overlays with higher priority than region [was: no good way to highlight rectangle while region is highlighted]
Date: Wed, 23 Jan 2008 13:25:31 -0800	[thread overview]
Message-ID: <BNELLINCGFJLDJIKDGACCENMCGAA.drew.adams@oracle.com> (raw)
In-Reply-To: <E1ICpXQ-0002yp-6f@fencepost.gnu.org>

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

  parent reply	other threads:[~2008-01-23 21:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21 21:59 no good way to highlight rectangle while region is highlighted Joe Wells
2007-07-23  4:28 ` Richard Stallman
2007-07-23  7:46   ` Joe Wells
2007-07-23 22:30     ` Richard Stallman
2007-07-23 22:52       ` Joe Wells
2007-07-30 16:44         ` Richard Stallman
2007-07-30 17:04           ` Joe Wells
2008-01-23 21:25   ` Drew Adams [this message]
2007-07-23 17:55 ` Johan Bockgård
2007-07-26 16:59 ` Ehud Karni
2007-07-27  7:52   ` Joe Wells
2007-07-27  8:10     ` Ehud Karni
2007-07-27 13:27       ` Joe Wells
2007-07-27 19:43         ` Ehud Karni
2007-07-28  0:10           ` Joe Wells
2007-07-28 10:33             ` Ehud Karni
2007-07-27 13:36   ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BNELLINCGFJLDJIKDGACCENMCGAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jbw@macs.hw.ac.uk \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).