emacs - Highlight regular expression in grep window -
i using grep.el package , wondering if there way have regular expression grepping on highlighted @ top of grep window. like:
grep [reg expr] ;where [] highlighted ....results of grep.... or @ least @ title of window @ bottom like:
*grep* [reg exp]
based on correspondence @ help-gnu-emacs@gnu.org, don't need highlight regexp muchas need able recognize (see it).
for that, answer repeat command (e.g. grep or grep-find) , use m-p see previous input, including regexp used.
from correpondence seems using grep-find. in case, regexp part of full shell command entered, thing emacs saw (and remembers, , makes available via m-p).
if seeing regexp part of m-p shows not enough need take string difference between entered command , value of variable grep-find-command, template regexp entered. if changed nothing else template full command entered, difference between 2 regexp.
Comments
Post a Comment