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

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

bug#56624: 28.1.50; dired-do-find-regexp fails when using ripgrep


From: Lars Ingebrigtsen
Subject: bug#56624: 28.1.50; dired-do-find-regexp fails when using ripgrep
Date: Sat, 23 Jul 2022 10:24:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Arndt <michael@rndt.dev> writes:

> I have the following problem when using dired-do-find-regexp. When I
> use it in a
> directory that contains a binary file the search will fail with the
> following message:
>
> xref-matches-in-files: Search failed with status 0:
> /tmp/test/hello_bin: binary file matches (found "\0" byte around
> offset 5)
>
> If there are matches in non binary files they won't be shown. This
> only happens
> when xref-search-program is set to 'ripgrep.

The support for ripgrep was added here:

commit f2a3d6e28d81dc2890e99afd550b59ff01fac5d9
Author:     Dmitry Gutov <dgutov@yandex.ru>
AuthorDate: Fri Dec 4 03:37:10 2020 +0200

    Support using ripgrep in project-find-regexp and friends

Adding Dmitry to the CCs; perhaps he has some comments.






reply via email to

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