unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Search and highlighting
@ 2003-05-16  1:29 Rene Reitinger
  0 siblings, 0 replies; 3+ messages in thread
From: Rene Reitinger @ 2003-05-16  1:29 UTC (permalink / raw)


Hello everyone!

I am wondering if someone has a function that would provide the following:

A searchfunction like in vi or less. Emacs highlights the appearances of 
the searchstring while in search mode. i would like to keep the 
highlighting even when search mode is finished.

is there already such a feature or has someone created a function to do 
that??

Thanks
Rene

-- 
Rene Reitinger
Research student
School for Computer Sciences and Engineering
The University of New South Wales, Sydney
NSW 2052,  Australia

email: rener@cse.unsw.edu.au
http://www.cse.unsw.edu.au/

Disclaimer:
http://www.eng.unsw.edu.au/emaildis.htm

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

* Re: Search and highlighting
       [not found] <mailman.6283.1053048729.21513.help-gnu-emacs@gnu.org>
@ 2003-05-16  4:12 ` Peter Lee
  2003-05-17 20:39 ` Johan Bockgård
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Lee @ 2003-05-16  4:12 UTC (permalink / raw)


Rene Reitinger <rener@cse.unsw.edu.au> writes:

> A searchfunction like in vi or less. Emacs highlights the appearances
> of the searchstring while in search mode. i would like to keep the
> highlighting even when search mode is finished.
>
> is there already such a feature or has someone created a function to
> do that??

Have you tried 'M-x highlight-regexp' or 'M-x highlight-phrase' ?

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

* Re: Search and highlighting
       [not found] <mailman.6283.1053048729.21513.help-gnu-emacs@gnu.org>
  2003-05-16  4:12 ` Search and highlighting Peter Lee
@ 2003-05-17 20:39 ` Johan Bockgård
  1 sibling, 0 replies; 3+ messages in thread
From: Johan Bockgård @ 2003-05-17 20:39 UTC (permalink / raw)


Rene Reitinger <rener@cse.unsw.edu.au> writes:

> Emacs highlights the appearances of the searchstring while in search
> mode. i would like to keep the highlighting even when search mode is
> finished.

See the variable isearch-lazy-highlight-cleanup

-- 
The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners. -- Ernst Jan Plugge

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

end of thread, other threads:[~2003-05-17 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.6283.1053048729.21513.help-gnu-emacs@gnu.org>
2003-05-16  4:12 ` Search and highlighting Peter Lee
2003-05-17 20:39 ` Johan Bockgård
2003-05-16  1:29 Rene Reitinger

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