help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get file hyperlink when using grep recursively


From: Jambunathan K
Subject: Re: How to get file hyperlink when using grep recursively
Date: Tue, 26 Feb 2013 16:57:34 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

M-x rgrep RET

acomber <address@hidden> writes:

> I know how to use grep across a folder to filed something, eg m-x grep
>
> But if I need to search recursively from a root folder which contains no
> files, this doesn't work - I tried the -r option but that only works if
> there are matching files in the root folder.
>
> So instead I use m-! for shell command and run:
>
> find . -name "*.cpp" -exec grep -nH -e "my pattern" \{\} \;
>
> This will find me what I am looking for but I don't get the hyperlinked
> file.  so I have to manually go to file and locate.  
>
> Is there a way to recursively use grep and have the hyperlinked files I can
> just click on to locate?
>
>
>
> --
> View this message in context: 
> http://emacs.1067599.n5.nabble.com/How-to-get-file-hyperlink-when-using-grep-recursively-tp279386.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>

-- 



reply via email to

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