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

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

bug#23179: 25.0.92; Restore `M-,' to continue etags search


From: Dmitry Gutov
Subject: bug#23179: 25.0.92; Restore `M-,' to continue etags search
Date: Mon, 4 Apr 2016 13:46:19 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 04/04/2016 11:54 AM, Anders Lindgren wrote:

I just tried your `tags-find-regexp' on Windows, and it failed
miserably. It appears to be hanging, but after setting `debug-on-quit'
to t and pressing C-g, it always breaks when running an external "grep"
command. My conclusion is that starting "grep" on windows is very, very
slow compared to opening a temporary buffer and doing re-search-forward.

AFAIK, Windows has higher process call overhead, and in this solution we call both 'find' and 'grep' once per file. It will be easy to write a version that doesn't use 'find' at all. If necessary, we can also pass multiple files at a time to 'grep'.

You might check which versions of 'find' and 'grep' you're using, though: does M-x rgrep work all right? I remember there were some older versions of these tools compiled for Windows, with pathological performance.





reply via email to

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