all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Arndt <michael@rndt.dev>
Cc: 56624@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#56624: 28.1.50; dired-do-find-regexp fails when using ripgrep
Date: Sat, 23 Jul 2022 10:24:18 +0200	[thread overview]
Message-ID: <87edyc1bkd.fsf@gnus.org> (raw)
In-Reply-To: <eb5e3163-8e47-e789-294e-18ce31ee51db@rndt.dev> (Michael Arndt's message of "Sun, 17 Jul 2022 21:05:30 +0200")

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	other threads:[~2022-07-23  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-17 19:05 bug#56624: 28.1.50; dired-do-find-regexp fails when using ripgrep Michael Arndt
2022-07-23  8:24 ` Lars Ingebrigtsen [this message]
2022-07-23 13:14 ` Dmitry Gutov
2022-07-23 17:40   ` Michael Arndt
2022-07-23 18:12     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edyc1bkd.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56624@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=michael@rndt.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.