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

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

bug#46859: 28.0.50; [PATCH]: Add option to truncate long lines in xref.e


From: Dmitry Gutov
Subject: bug#46859: 28.0.50; [PATCH]: Add option to truncate long lines in xref.el
Date: Mon, 8 Mar 2021 13:47:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 08.03.2021 10:26, Gregory Heytings wrote:

As I said, my tests are performed on a fresly cloned copy of the Emacs repository (~5000 files).  It's not a huge project, but it's not a small one either.

Hmm, both 'find' and 'git ls-files' take a little more than that on the Emacs repository.


Not on my (not recent) development laptop...

~/v/emacs-master (master|…) $ time find . >/dev/null

________________________________________________________
Executed in   31,65 millis    fish           external
   usr time    8,78 millis    0,00 millis    8,78 millis
   sys time   23,05 millis    1,10 millis   21,95 millis

*shrug*

And it wouldn't be necessary of Grep had an option to limit the displayed context around the match without us mucking with the regexp. It would solve the issue of incorrect byte position, too.


I just submitted a feature request for GNU grep: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47001 .  If it's accepted / implemented, I'll do the same for ripgrep.

Thank you.





reply via email to

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