From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#43715: 28.0.50; Duplicate results in project-find-regexp Date: Thu, 01 Oct 2020 03:15:56 +0200 Message-ID: <87lfgqwxtf.fsf@gnus.org> References: <87lfgr5psh.fsf@gnus.org> <3644ac8e-4a82-78a2-24d7-001f491f6a0e@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10333"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Pankaj Jangid , 43715@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 03:17:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNnDa-0002YK-Pd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 03:17:10 +0200 Original-Received: from localhost ([::1]:39512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNnDZ-0004KS-Cb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Sep 2020 21:17:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNnDS-0004KK-JD for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 21:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNnDS-0006uV-8k for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 21:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNnDS-0004wP-44 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2020 21:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 01:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43715 X-GNU-PR-Package: emacs Original-Received: via spool by 43715-submit@debbugs.gnu.org id=B43715.160151497216374 (code B ref 43715); Thu, 01 Oct 2020 01:17:02 +0000 Original-Received: (at 43715) by debbugs.gnu.org; 1 Oct 2020 01:16:12 +0000 Original-Received: from localhost ([127.0.0.1]:33446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNnCd-0004Fk-HW for submit@debbugs.gnu.org; Wed, 30 Sep 2020 21:16:11 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:51976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNnCb-00048T-1w for 43715@debbugs.gnu.org; Wed, 30 Sep 2020 21:16:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z0BXK6HYi+LafVxe48WoWfqMos3RYuydAfavn6FaKwU=; b=eq0BscoNJ1uGwobsWG9mX6Gewx NAF7ePGtGU8XKlS2pD3Utbgl+GvNCo5dyEYXFfRV9kO0+Pfd1YA/CGKWLzVVDwur7y49SkgMuzkof mic4jxTvyDbsH8KVy6T5cW/NNSKhJAhk1ijoomUj0cFf/rTBAzTs+/5yQVcpqU31qWoI=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNnCQ-0008U5-3p; Thu, 01 Oct 2020 03:16:03 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVmrsgwcpo+VlrE kXX///9BE2WnAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QKAQELI/NcTn4AAAG7SURBVDjLdZOLseUg CEBBGwBeA0IaMNJ/bwsYs/fd2SUZox7+GoD/CwLnh43y02KDNhC0kXzAA2LZBggYcu2N0sVSafka CtHIJTKHRxUCUWhmYqQagJkYdbQAFkDEkGKOQwMElCcMtZhZeh4cD5FYAaSGBhkj/IXzSEFxhKtM EJ+CnvxD32xn/iVmBb6l/RtQMyqQg1gFK3VtZi/4MG2KuYoW7O3LnbO4aASa5nQD6qlUos8Xym6u iCKLPwRy6L1ScP0GcJst4+tmDnN8wU/nCB5A+VqfFvNmW1cBv3PT/oJtwTtMjVCeEij/RDnl6tqg Q4GVVXoSSYexCWnlr4T242pkHFd5yYkxYSd4vUZrZwUdWa5oyje45hT/EMsOJDC4dz7ypHXA5d2k CtnjLj/AGh5/gug5DTjAHHyeRoe+nxWBw02ToPpNGWdXTj3+BjhAfM40SeAGsyNsV9Jfi2hKj4sW BpKn5suflkR/o5SsvyymO60NaI2Op2OVFh/whi6pw4Kqi5A7/xawX0v9AOdyat4OlchMJTureQlV lWOMx1gktzQB67Nn+fdLXXM9SQq/E7H0C1/JbI04gz876V/Zxf1JkAAAACV0RVh0ZGF0ZTpjcmVh dGUAMjAyMC0xMC0wMVQwMToxMTozNSswMDowMOj+iRoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAt MTAtMDFUMDE6MTE6MzUrMDA6MDCZozGmAAAAAElFTkSuQmCC X-Now-Playing: Max Tundra's _Mastered By Guy At The Exchange_: "Gondry" In-Reply-To: <3644ac8e-4a82-78a2-24d7-001f491f6a0e@yandex.ru> (Dmitry Gutov's message of "Thu, 1 Oct 2020 01:52:49 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189445 Archived-At: Dmitry Gutov 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