From: Drew Adams <drew.adams@oracle.com>
To: Rami A <rami.ammari@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: highlight regular expression in grep window
Date: Wed, 4 Sep 2013 11:48:24 -0700 (PDT) [thread overview]
Message-ID: <5ce500a0-1d6e-4f6a-8231-a06b878dfc9a@default> (raw)
In-Reply-To: <84ab5187-0def-45b6-bdb2-87693a1d77e5@googlegroups.com>
> 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.
next prev parent reply other threads:[~2013-09-04 18:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 17:47 highlight regular expression in grep window Rami A
2013-09-04 18:48 ` Drew Adams [this message]
[not found] ` <mailman.1313.1378320529.10748.help-gnu-emacs@gnu.org>
2013-09-04 19:32 ` Rami A
2013-09-04 20:33 ` Drew Adams
2013-09-05 6:47 ` Kevin Rodgers
[not found] ` <mailman.1317.1378326833.10748.help-gnu-emacs@gnu.org>
2014-02-08 19:46 ` Rami A
2014-02-08 22:19 ` Drew Adams
2014-02-08 22:33 ` Rami A
2014-02-08 22:50 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ce500a0-1d6e-4f6a-8231-a06b878dfc9a@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=rami.ammari@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.