From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?= Newsgroups: gmane.emacs.bugs Subject: bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files Date: Wed, 6 Feb 2019 09:18:02 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000f8b5570581355d6c" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="133847"; mail-complaints-to="usenet@blaine.gmane.org" To: 34343@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 06 09:19:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grIQL-000Ycv-IR for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Feb 2019 09:19:13 +0100 Original-Received: from localhost ([127.0.0.1]:46835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grIQK-0002Si-As for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Feb 2019 03:19:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grIQD-0002SS-KZ for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:19:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grIQB-0003xR-H4 for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:19:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grIQA-0003x0-8m for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:19:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grIQA-0001ZN-09 for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Feb 2019 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15494411065981 (code B ref -1); Wed, 06 Feb 2019 08:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2019 08:18:26 +0000 Original-Received: from localhost ([127.0.0.1]:33982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grIPZ-0001YO-Ne for submit@debbugs.gnu.org; Wed, 06 Feb 2019 03:18:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grIPX-0001YC-QV for submit@debbugs.gnu.org; Wed, 06 Feb 2019 03:18:24 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grIPR-0003hy-52 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 03:18:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grIPQ-0002He-25 for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:18:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grIPP-0003hG-7D for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:18:16 -0500 Original-Received: from mail-ua1-x92e.google.com ([2607:f8b0:4864:20::92e]:33527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grIPO-0003gt-Vt for bug-gnu-emacs@gnu.org; Wed, 06 Feb 2019 03:18:15 -0500 Original-Received: by mail-ua1-x92e.google.com with SMTP id t8so2007663uap.0 for ; Wed, 06 Feb 2019 00:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=geeC4rD8uYHzhyaR0uSPAC4EQ6M/NIFg0j+LAwAZ37g=; b=HnnH8ntzh2hIhtxbmNM83SMy/awxx3WPR7X+YlbydJsH3SfCQ0xCQTJliCOgTO690Q 3JyV/9meurRhwsz8520sTH+liwiTNx1Yold4oBcQW/wHkv+NvP0LbdFwCMer90Hw6GuG Tra2UFd/wKCBSLLb4n68pWf7wVR4L+ss+DFoYaI3rTnPyHzXmUlX3jcxp7FmjbbGDkp5 atb+odqa/iqaG+cdDIj/p6xnbIsNmVc0vAqnGHTu70dduz8/jgc5DJ9simomDZzxpazh AtIuKVXgolkklMdbIiydq6NLjDPcoJAbp1SNDcfjwm9W7mQ1BPTkyeQfhvIrg4M3pIDk sELA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=geeC4rD8uYHzhyaR0uSPAC4EQ6M/NIFg0j+LAwAZ37g=; b=Y4ZUmr7OOwASGabD02BrkJfkUcOT/e66wgmZxI1Psxud22YuMr2wV1FENbRYi62zwV nfXzvlstPboUxmE+zMwG172eufcWVsbdS/WuviIGjUUkmCqN6Ao7DCvIYdV8Hkwcxe3b t9U9ARgvc8XSONyYLVVK7FYfSmXdmBlVplaoZWpkZyc3lKVKKjronYtQuvlvss5hhKPi 0p6ONM5pJpHeWyMMaOMylKhs+uQ8rz6vfkyqPk8oxWLTMwCP5gmOsODMVWTApcKeWZW7 IGG91fPw5jV1BUzuzd6RVkVWUxgrvvfrvcaWDUAb5y6p1Pzvt9FLX3I6KkZ2Q9/0ow57 zIGQ== X-Gm-Message-State: AHQUAubqkhB30x5VRjWP1dodsJeW7Q+wQ9AbNvyxYuIWfIlGI54Torer OrUSNcR3w4z8Nw8i4SI1yr64orLsxacCbbuTaqMu7FC4 X-Google-Smtp-Source: AHgI3Ib9PPnSowMpv47L+Snt0baXOD3KXpPYDfaHS2nJ9PmxzXmfAsnIHNL8z0cZqTEC/qC4pMaH8fkQ2BdmgmMsOLk= X-Received: by 2002:ab0:e03:: with SMTP id g3mr3406878uak.62.1549441093359; Wed, 06 Feb 2019 00:18:13 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155169 Archived-At: --000000000000f8b5570581355d6c Content-Type: multipart/alternative; boundary="000000000000f8b5540581355d6a" --000000000000f8b5540581355d6a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, The attached patch enhances the remote file support of project.el. It also has a new "require" statement, which might be problematic. Additionally, project--collect-matches will look very similar to xref-collect-matches creating a chance to unify the two functions later. Thanks, Felici=C3=A1n --000000000000f8b5540581355d6a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

The attached patch enhances the remote fil= e support of project.el. It also has a new "require" statement, w= hich might be problematic.=C2=A0 Additionally, project--collect-matches wil= l look very similar to xref-collect-matches creating a chance to unify the = two functions later.

Thanks,
Felici=C3= =A1n

--000000000000f8b5540581355d6a-- --000000000000f8b5570581355d6c Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Make-project-find-regexp-in-files-work-with-remote-f.patch" Content-Disposition: attachment; filename="0001-Make-project-find-regexp-in-files-work-with-remote-f.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jrswyjzl0 RnJvbSA2ZjY1ZWM5NDYyZWViZmQ0MDU3NjhlMWIyYzczMGZjM2Y0ZTY1YjRhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/RmVsaWNpPUMzPUExbj0yME49QzM9QTltZXRo Pz0gPGZlbGljaWFuLm5lbWV0aEBnbWFpbC5jb20+CkRhdGU6IFdlZCwgNiBGZWIgMjAxOSAwODo1 OTozNCArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIE1ha2UgcHJvamVjdC0tZmluZC1yZWdleHAtaW4t ZmlsZXMgd29yayB3aXRoIHJlbW90ZSBmaWxlcwoKKiBwcm9qZWN0LmVsOiBSZXF1aXJlIHNlcS4K KHByb2plY3QtLWNvbGxlY3QtbWF0Y2hlcyk6IE5ldyBmdW5jdGlvbiBleHRyYWN0ZWQKZnJvbSBw cm9qZWN0LS1maW5kLXJlZ2V4cC1pbi1maWxlczsgaGFuZGxlIHJlbW90ZSBmaWxlcy4KKHByb2pl Y3QtLWZpbmQtcmVnZXhwLWluLWZpbGVzKTogR3JvdXAgZmlsZXMgYmFzZWQgb24gdGhlaXIKcmVt b3RlLWlkLCBjYWxsIHRoZSBuZXcgZnVuY3Rpb24gb24gdGhlIGdyb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ICAgICAgICAgICAgICAgICAgICAgKGlmIChhbmQgY2Fz ZS1mb2xkLXNlYXJjaAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGlzZWFyY2gt bm8tdXBwZXItY2FzZS1wIHJlZ2V4cCB0KSkKQEAgLTM5MCw2ICs0MDgsNyBAQCBwcm9qZWN0LS1m aW5kLXJlZ2V4cC1pbi1maWxlcwogICAgICAgKGVyYXNlLWJ1ZmZlcikKICAgICAgICh3aXRoLXRl bXAtYnVmZmVyCiAgICAgICAgIChpbnNlcnQgKG1hcGNvbmNhdCAjJ2lkZW50aXR5IGZpbGVzICJc MCIpKQorICAgICAgICAoc2V0cSBkZWZhdWx0LWRpcmVjdG9yeSBkaXIpCiAgICAgICAgIChzZXRx IHN0YXR1cwogICAgICAgICAgICAgICAocHJvamVjdC0tcHJvY2Vzcy1maWxlLXJlZ2lvbiAocG9p bnQtbWluKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocG9p bnQtbWF4KQpAQCAtNDA3LDEzICs0MjYsMTAgQEAgcHJvamVjdC0tZmluZC1yZWdleHAtaW4tZmls ZXMKICAgICAgICAgICAgICAgICAgICAgKGJ1ZmZlci1zdWJzdHJpbmcgKHBvaW50LW1pbikgKGxp bmUtZW5kLXBvc2l0aW9uKSkpKQogICAgICAgKHdoaWxlIChyZS1zZWFyY2gtZm9yd2FyZCBncmVw LXJlIG5pbCB0KQogICAgICAgICAocHVzaCAobGlzdCAoc3RyaW5nLXRvLW51bWJlciAobWF0Y2gt c3RyaW5nIGxpbmUtZ3JvdXApKQotICAgICAgICAgICAgICAgICAgICAobWF0Y2gtc3RyaW5nIGZp bGUtZ3JvdXApCisgICAgICAgICAgICAgICAgICAgIChjb25jYXQgcmVtb3RlLWlkIChtYXRjaC1z dHJpbmcgZmlsZS1ncm91cCkpCiAgICAgICAgICAgICAgICAgICAgIChidWZmZXItc3Vic3RyaW5n LW5vLXByb3BlcnRpZXMgKHBvaW50KSAobGluZS1lbmQtcG9zaXRpb24pKSkKICAgICAgICAgICAg ICAgaGl0cykpKQotICAgIChzZXRxIHhyZWZzICh4cmVmLS1jb252ZXJ0LWhpdHMgKG5yZXZlcnNl IGhpdHMpIHJlZ2V4cCkpCi0gICAgKHVubGVzcyB4cmVmcwotICAgICAgKHVzZXItZXJyb3IgIk5v IG1hdGNoZXMgZm9yOiAlcyIgcmVnZXhwKSkKLSAgICAoeHJlZi0tc2hvdy14cmVmcyB4cmVmcyBu aWwpKSkKKyAgICAoeHJlZi0tY29udmVydC1oaXRzIChucmV2ZXJzZSBoaXRzKSByZWdleHApKSkK IAogKGRlZnVuIHByb2plY3QtLXByb2Nlc3MtZmlsZS1yZWdpb24gKHN0YXJ0IGVuZCBwcm9ncmFt CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJm9wdGlvbmFsIGJ1ZmZlciBk aXNwbGF5Ci0tIAoyLjExLjAKCg== --000000000000f8b5570581355d6c--