[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43715: 28.0.50; Duplicate results in project-find-regexp
From: |
Lars Ingebrigtsen |
Subject: |
bug#43715: 28.0.50; Duplicate results in project-find-regexp |
Date: |
Thu, 01 Oct 2020 03:15:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> The behavior is less than ideal, but the fix will have to satisfy
> multiple constraints: the xref item creation (taking care of the
> format being backward-compatible), the rendering of them in the
> buffer, and the 'xref-query-replace-in-results' command, the
> implementation of which relies on the one-line-per-match property of
> an xref buffer.
Right. I know next to nothing about xref internals... but... couldn't
this function just squash the multiple-matches-on-a-single-line into one
line? Preserving the text props from the multiple lines and whatnot?
So a post-processing step?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no