开发者

How to recursively search files in emacs while skipping .svn directories

I would like to search files (either all of them or matching a pattern) in a dire开发者_如何转开发ctory and it's subdirectories for a certain string. What I usually do in emacs is find-name-dired to list the files and search them, but that also searches all the .svn directories which is wasteful and makes it really slow for large projects. Is there a way to skip .svn directories?

Thanks,


Sounds like you should be using grep in emacs. With grep, you can search for strings in files, and if you use this guy's mod grep will ignore .svn directories.


I think rgrep ignores .svn outta the box.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜