GNU bug report logs - #54177
28.0.91; project-find-regexp misbehaves with ripgrep over tramp/sudo

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sun, 27 Feb 2022 02:46:01 UTC

Severity: normal

Found in version 28.0.91

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54177 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 54177 <at> debbugs.gnu.org
Subject: Re: bug#54177: 28.0.91;
 project-find-regexp misbehaves with ripgrep over tramp/sudo
Date: Sun, 27 Feb 2022 09:31:44 +0200
> Date: Sun, 27 Feb 2022 04:45:14 +0200
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> --- a/lisp/progmodes/xref.el
> +++ b/lisp/progmodes/xref.el
> @@ -1626,7 +1626,7 @@ xref-search-program-alist
>       (ripgrep
>        .
>        ;; '!*/' is there to filter out dirs (e.g. submodules).
> -     "xargs -0 rg <C> --null -nH --no-messages -g '!*/' -e <R>"
> +     "xargs -0 rg <C> --null -nH --no-heading --no-messages -g '!*/' -e 
> <R>"
>        ))
>     "Associative list mapping program identifiers to command templates.
> 
> Is this okay for Emacs 28?

Is this additional switch supported by all versions of 'rg'?




This bug report was last modified 3 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.