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 23:38:50 +0200 Message-ID: <877ds9zkwl.fsf@gnus.org> References: <87lfgr5psh.fsf@gnus.org> <3644ac8e-4a82-78a2-24d7-001f491f6a0e@yandex.ru> <87lfgqwxtf.fsf@gnus.org> <87pn61znnj.fsf@gnus.org> <39eebffe-a21e-35e7-f827-c7d8eb2128d8@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="15082"; 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 23:40: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 1kO6J8-0003kB-Pz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 23:40:10 +0200 Original-Received: from localhost ([::1]:38842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO6J7-0007Jk-Ld for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 17:40:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO6J0-0007JF-Tz for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 17:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kO6J0-0001Zh-Jj for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 17:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kO6J0-0004Ch-Hd for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 17:40: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 21:40: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.160158835116092 (code B ref 43715); Thu, 01 Oct 2020 21:40:02 +0000 Original-Received: (at 43715) by debbugs.gnu.org; 1 Oct 2020 21:39:11 +0000 Original-Received: from localhost ([127.0.0.1]:38627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO6I7-0004BM-4w for submit@debbugs.gnu.org; Thu, 01 Oct 2020 17:39:11 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:35948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO6I1-0004Ao-8m for 43715@debbugs.gnu.org; Thu, 01 Oct 2020 17:39:05 -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=thqGP2E6ud2Z1d5Lz//KoONhw6dYuZku1R6/ZAKvitk=; b=WDwy9UW/5aGCO2VJWddG0jUKO9 p3+y7T+BzuaHLT+cSLaFUD556tzwFgw2dH56vXNJL7la6r7bTHHvrXxDrGAbGiiyb+b7Dt9UxagCt bbum6PcguadwqtvLCEB040hWTQENyYb86ogao866vC92wfNC+6nKjDS0oQHAqLMr21oY=; 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 1kO6Hr-0003hi-6J; Thu, 01 Oct 2020 23:38:55 +0200 X-Now-Playing: Joanna Newsom's _The Milk-Eyed Mender_: "Swansea" In-Reply-To: <39eebffe-a21e-35e7-f827-c7d8eb2128d8@yandex.ru> (Dmitry Gutov's message of "Fri, 2 Oct 2020 00:28:16 +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:189592 Archived-At: Dmitry Gutov writes: > On 01.10.2020 23:39, Lars Ingebrigtsen wrote: >>>> 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? >>> Which function? >> `project-find-regexp' > > Then I'm not sure which eventual behavior you envision. Among other > things, it doesn't answer the question I asked in the second paragraph > of my previous email. This one? > Going back to xref buffers, if two matches are rendered on one line, > that leads to a question of how 'n' and 'p' should behave (whether > they would also jump between the matches on the same line). I have no idea; I've never used those commands. I'd just expect project-find-regexp to work as M-x grep, and have `next-error' work (which works based on lines). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no