unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Isearch overlay priority
@ 2005-12-08  7:45 Juri Linkov
  2005-12-09  1:41 ` Richard M. Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Juri Linkov @ 2005-12-08  7:45 UTC (permalink / 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Isearch overlay priority
  2005-12-08  7:45 Isearch overlay priority Juri Linkov
@ 2005-12-09  1:41 ` Richard M. Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard M. Stallman @ 2005-12-09  1:41 UTC (permalink / raw)
  Cc: emacs-devel

    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.

Please do.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-09  1:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-08  7:45 Isearch overlay priority Juri Linkov
2005-12-09  1:41 ` Richard M. Stallman

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