From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#43715: 28.0.50; Duplicate results in project-find-regexp Date: Fri, 2 Oct 2020 00:45:22 +0300 Message-ID: <9d930492-b1f9-ab9b-9bd1-7d5be421e4b5@yandex.ru> 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> <877ds9zkwl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2461"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: Pankaj Jangid , 43715@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 23:46:22 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 1kO6P7-0000Xs-TY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 23:46:21 +0200 Original-Received: from localhost ([::1]:40224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO6P6-0008NL-N1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 17:46:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO6Oo-0008N3-Lv for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 17:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kO6Oo-0002Rb-Cs for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 17:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kO6Oo-0005IH-Ax for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 17:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 21:46: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.160158873318765 (code B ref 43715); Thu, 01 Oct 2020 21:46:02 +0000 Original-Received: (at 43715) by debbugs.gnu.org; 1 Oct 2020 21:45:33 +0000 Original-Received: from localhost ([127.0.0.1]:38635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO6OK-0004rd-LN for submit@debbugs.gnu.org; Thu, 01 Oct 2020 17:45:33 -0400 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:33120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO6OI-0004k1-Ni for 43715@debbugs.gnu.org; Thu, 01 Oct 2020 17:45:31 -0400 Original-Received: by mail-ej1-f45.google.com with SMTP id j11so28183ejk.0 for <43715@debbugs.gnu.org>; Thu, 01 Oct 2020 14:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zFH4NLwHwDv6ahVRljVARQsrAIDmYE0o6IMoE7F76wM=; b=qyfecRKZnLqatzDPnS7c+0Ej3PEQAh5nSJwJkSnuAEuviZdcUfWKGShWu7QpH6QnyY PSWz7fVLnR6WJzMakESrsjCHjXIi2ooZ+vRnhLeYqWrJL4WN+NyF+WPf1uebFv3e94dr BYRDi4memeH/Py6tFKBdEw/Oj086+aEPelHvHkYUDefEh2W3J36sKJV3HcLIr9FX8PX7 sSvAcEO/6rZGrJbTTpA3Uqubr0vhWbZ//Za2hjNV85j/5gvoSgFq/u6D2TU2mwYxiryh BzkqUGbrxAh4Oxfy78XHym7iLRB2oasak0lHJbsMow/9WgZRodFTcLqhoxceDWnqWfeR GQPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zFH4NLwHwDv6ahVRljVARQsrAIDmYE0o6IMoE7F76wM=; b=bDOnjJUlxckQTKX3lZJ/DTyxCQcDb1GhDVdRL9Gd/WS7psYjHBmnAvaBUfCXsBR3M5 4drPnfrJm+h0jklB1ZB2qOJqPn/GwIKiFXTRZPdPL5zrcsx8l7G5YMYiB0+xLhRJgVG3 wqshvSfv3qbbAPps3il29iEbqWLlNDSCUV387AGXhujOUvE2SYvDiIs3q0qAYRygSrBt +JnkI/tvWOa9Q4CqY6zPEngsdwU3+8zI1pD40rGJufKpHmC1wW/PC3li9jr4LDngs1n8 ZmVt5QJRM8Z2yXRIgx1Gwx0rWEKWg4KJBZsjy1TZma0uh9eLr4lMOFFQ/GVdrsN84sIv tbZw== X-Gm-Message-State: AOAM531yDck5D0Ehsw74o0N87uV+Yj0d07sLHx23UwAhqMu99+U+ggdI zYtlHfDkNHADXslum0ghzp8rMRK1y0yMBw== X-Google-Smtp-Source: ABdhPJyiLwvMw5Yz6C15f/GUcgxOJwQbu6v1KKNmAWP/p0McrPUXJ4Z3UYcK56ZmJ8cbT4AW4e5ydA== X-Received: by 2002:a17:906:7fcc:: with SMTP id r12mr10430256ejs.360.1601588724606; Thu, 01 Oct 2020 14:45:24 -0700 (PDT) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id bk9sm5017873ejb.122.2020.10.01.14.45.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2020 14:45:23 -0700 (PDT) In-Reply-To: <877ds9zkwl.fsf@gnus.org> Content-Language: en-US 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:189594 Archived-At: On 02.10.2020 00:38, Lars Ingebrigtsen wrote: >> 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). So you think it's a good idea for 'n' and 'p' to skip subsequent matches on the line? I'm less sure, but OK. Then that mostly leaves the question of xref-query-replace-in-results and how to retain the information it requires in a backward-compatible way.