help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: highlight regular expression in grep window


From: Drew Adams
Subject: RE: highlight regular expression in grep window
Date: Wed, 4 Sep 2013 11:48:24 -0700 (PDT)

> I am wondering if there is a way to have the regular expression I am
> grepping on highlighted at the top of the grep window.
> Something like:
> 
> grep [reg expr]   ;Where [] highlighted
> ....results of grep....
> 
> 
> Or at least at the title of window at the bottom something like:
> 
> *grep* [reg exp]

I don't have an answer for you, but just to be sure what you are asking:

You're not talking about highlighting the text that the regexp matches.
You just want to highlight the regexp itself.  Right?

I ask because older Emacs versions do not highlight regexp matches, and
if that's all you want then one answer is to either use a newer Emacs
or use library grep+.el.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]