[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14015: Feature request: highlight partial matches in Info's index-se
From: |
Eli Zaretskii |
Subject: |
bug#14015: Feature request: highlight partial matches in Info's index-search |
Date: |
Fri, 22 Mar 2013 12:08:59 +0200 |
> From: Juri Linkov <juri@jurta.org>
> Cc: 14015@debbugs.gnu.org
> Date: Fri, 22 Mar 2013 00:31:56 +0200
>
> > Found FOObar in Some Node. (`,' tries to find next.)
> >
> > (The stand-alone reader is a text-mode program, so it changes the
> > letter-case to emphasize the part that matched.)
> >
> > It would be nice if Emacs did something similar, although it is
> > probably better to use colors if available.
>
> info-look.el uses the following face to highlight found matches
> in the Info reader:
>
> (defcustom info-lookup-highlight-face 'match
> "Face for highlighting looked up help items.
> Setting this variable to nil disables highlighting."
> :group 'info-lookup :type 'face)
>
> Adding a similar face option to highlight the text matched by `Info-index'
> will change the output of `Info-virtual-index' and `info-apropos'
> to look exactly the same like as output of `occur' that is good
> for consistency of the UI. This is in addition to highlighting
> the matches in the each area that you asked for:
Thanks, I like the result very much.
I think it warrants a NEWS entry.