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

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

bug#60578: xref-query-replace-in-results doesn't replace truncated lines


From: Juri Linkov
Subject: bug#60578: xref-query-replace-in-results doesn't replace truncated lines
Date: Thu, 05 Jan 2023 19:52:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

1. (setq xref-search-program 'ripgrep)
2. (setq xref-search-program-alist '((ripgrep .
     "xargs -0 rg <C> -M 200 --max-columns-preview --null -nH --no-heading 
--no-messages -g '!*/' -e <R>")))

where "-M 200 --max-columns-preview" is added to default settings.
Then 'C-x p g' shows matches on truncated lines before the text
"[... omitted end of long line]".

But 'r' (xref-query-replace-in-results) skips these matches
that are displayed on truncated lines.





reply via email to

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