[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nested grep
From: |
Robert Thorpe |
Subject: |
Re: Nested grep |
Date: |
14 Nov 2006 06:55:52 -0800 |
User-agent: |
G2/1.0 |
spamfilteraccount@gmail.com wrote:
> When grepping for something I often follow a certain match and do
> another grep to find out more about it. The problem is this eliminates
> the original grep buffer (with matches, current state, etc.), so I have
> to redo that grep (and start from the first match again if I use
> next-error) to continue investigating other matches.
>
> I'd like a nested grep feature for starting an other grep with the
> ability to return easily to the previous grep results after I'm
> finished with the current one.
>
> Is there an existing package which does something like that?
You can...
Use a double grep at the start, ie when it says:
Run grep like this: grep -n -e
Change it to include two greps and a pipe.
Or, better once the grep buffer is open use M-x occur on that buffer.
See C-h f occur.
- Nested grep, address@hidden, 2006/11/14
- RE: Nested grep, Drew Adams, 2006/11/14
- Re: Nested grep,
Robert Thorpe <=
- Message not available
- Re: Nested grep, Markus Triska, 2006/11/14
- Re: Nested grep, address@hidden, 2006/11/14
- Re: Nested grep, Markus Triska, 2006/11/14
- Re: Nested grep, address@hidden, 2006/11/14
- Re: Nested grep, address@hidden, 2006/11/14
- RE: Nested grep, Drew Adams, 2006/11/14
- Message not available
- Re: Nested grep, address@hidden, 2006/11/15
- RE: Nested grep, Drew Adams, 2006/11/15
- Message not available
- Re: Nested grep, address@hidden, 2006/11/15