unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Subject: Isearch overlay priority
Date: Thu, 08 Dec 2005 09:45:43 +0200	[thread overview]
Message-ID: <87y82wmbtr.fsf@jurta.org> (raw)

Currently the isearch string in ediff-processed buffers is not
highlighted on diff regions, because ediff overlays have higher
priority than isearch overlays.  The ability to highlight the current
search string is one of the main features of isearch, and due to the
transient nature of isearch overlays (they are removed as soon as
isearch exits), I think isearch should take precedence over highlighting
of underlying ediff regions.

ediff overlays have priorities starting from 100, and isearch overlay
currently has priority 1 and isearch lazy-highlight overlays have
priority 0.  Increasing isearch overlay priority to 1001, and
lazy-highlight overlay priority to 1000 will highlight isearch strings
over ediff regions.  Should we add an option for isearch overlay priority?
For instance, `show-paren-priority' has one:

(defcustom show-paren-priority 1000
  "*Priority of paren highlighting overlays."
  :type 'integer
  :group 'paren-showing
  :version "21.1")

But really I doubt that isearch overlay priorities 1000 and 1001
will cause any problems, and no one might want to decrease them.

-- 
Juri Linkov
http://www.jurta.org/emacs/

             reply	other threads:[~2005-12-08  7:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08  7:45 Juri Linkov [this message]
2005-12-09  1:41 ` Isearch overlay priority Richard M. Stallman

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=87y82wmbtr.fsf@jurta.org \
    --to=juri@jurta.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).