[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#895: slow processing of process output
From: |
Stefan Monnier |
Subject: |
bug#895: slow processing of process output |
Date: |
Wed, 06 Jul 2011 15:15:42 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> I wonder whether (in the long term) it would make more sense to have the
> `M-x grep' command be less... shell-script-ey.
There are other commands that do that that (e.g. rgrep).
I like grep specifically because the Emacs wrapper is shallow which lets
me do anything I fancy so long as the output has the expected format.
> That is, if we instead prompted for the regexp we wanted to match
> explicitly, then we could highlight it ourselves instead of relying on
> grep to do it.
Actually doing this reliably can be tricky because of slight divergence
in the syntax and features of regular expressions accepted by Emacs and
by the various greps out there.
> Ok, here's one other possibility off the top of my head: What about if
> Emacs parsed the command line? :-)
You go boy!
Stefan