[Top][All Lists]

[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) -

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
./        self._widget = True
./        return self._widget
./        return bool(self._zzz and self._widget)
./    def _widget(self, wi):
./            wi._issue('widget',
./            wi._issue('widget',
./        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:
./        self._widget = True

when I select 'n' again:
./        self._widget = True

and next 'n' finally advances.
./        return self._widget

and so on...

./        return self._widget
Know what this might be?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]