[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nested grep
From: |
Peter Lee |
Subject: |
Re: Nested grep |
Date: |
Wed, 15 Nov 2006 17:57:21 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
>>>> Drew Adams writes:
> Hi Tamas; thx for the suggestion. FYI - I added some different commands,
> which I think might be more useful (YMMV) -
> http://www.emacswiki.org/cgi-bin/wiki/grep%2b.el.
Drew, I like this package, but have one problem with it.
given the following grep buffer:
-*- mode: grep; default-directory: "/usr/lib/python2.3/site-packages/foo/bar/"
-*-
Grep started at Wed Nov 15 11:53:21
find . -type f ! -regex ".*~" ! -regex ".*\.#.*" ! -iname "*.pyc" ! -iname
"tags" -print0 | xargs -0 -e grep -nH -i -e _widget
./barconfig.py:291: self._widget = True
./barconfig.py:308: return self._widget
./barconfig.py:364: return bool(self._zzz and self._widget)
./baz.py:645: def _widget(self, wi):
./baz.py:669: wi._issue('widget',
./baz.py:672: wi._issue('widget',
./baz.py:1070: self._widget(wi)
Grep finished (matches found) at Wed Nov 15 11:53:21
hitting 'n' causes it to hit each line twice. In other words... I have to hit
'n' twice to advance one error. However 'p' does not do this, so I'm assuming
it's a bug.
when I hit 'n' the first time it puts cursor here:
./barconfig.py:291: self._widget = True
^
when I select 'n' again:
./barconfig.py:291: self._widget = True
^
and next 'n' finally advances.
./barconfig.py:308: return self._widget
^
and so on...
./barconfig.py:308: return self._widget
^
Know what this might be?
- Re: Nested grep, (continued)
- 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
- RE: Nested grep, Drew Adams, 2006/11/15
- Message not available
- Re: Nested grep, address@hidden, 2006/11/16
- RE: Nested grep, Drew Adams, 2006/11/16
Re: Nested grep, Peter Dyballa, 2006/11/14
Re: Nested grep,
Peter Lee <=
Re: Nested grep, Peter Lee, 2006/11/17