From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files Date: Fri, 27 Dec 2019 09:24:18 +0100 Message-ID: <87h81mqiq5.fsf@gmx.de> References: <9d65284f-7a64-5e9c-ab02-fbbd1be41689@yandex.ru> <87r2bt1tio.fsf@gmx.de> <2cfd53b2-8202-a321-a853-da0c949b0f15@yandex.ru> <6cf8bfa8-3873-d3db-9139-854359027e8a@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="86612"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: =?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?= , 34343@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 09:25:32 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ikkw8-000MPQ-21 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 09:25:32 +0100 Original-Received: from localhost ([::1]:60764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikkw6-0005D4-9n for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 03:25:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47935) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikkvf-0005Cy-5P for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikkve-0004zi-93 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ikkve-0004zd-1c for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ikkvd-0004tp-S7 for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2019 03:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2019 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34343-submit@debbugs.gnu.org id=B34343.157743506818785 (code B ref 34343); Fri, 27 Dec 2019 08:25:01 +0000 Original-Received: (at 34343) by debbugs.gnu.org; 27 Dec 2019 08:24:28 +0000 Original-Received: from localhost ([127.0.0.1]:56476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikkv6-0004sv-AH for submit@debbugs.gnu.org; Fri, 27 Dec 2019 03:24:28 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:43585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikkv5-0004si-4U for 34343@debbugs.gnu.org; Fri, 27 Dec 2019 03:24:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1577435060; bh=QMrJkI0b5oYIdoO3DZjvtQT/c/SVo5CkBj8/+XU9pRg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=a2CsE3hqk1j8dnpVuDSEqnrpJ4/VHGiyZRdMmHtej9QKCbaqj+mGmTxNKqTWaPYGl /yG1tO1Ui/VQiSTHx0pv3aHb9dPZV4/jjzvDhT8RWJYlch+/MEbdDQ4/w5KDUuUeFn ryFC41HDEZvEa76NFI5o/ThQEXXQY2Eeil3SmNT4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.41.79]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N3se8-1jkFSG03Jw-00zrWw; Fri, 27 Dec 2019 09:24:20 +0100 In-Reply-To: (Dmitry Gutov's message of "Thu, 26 Dec 2019 16:04:01 +0200") X-Provags-ID: V03:K1:J/cwfL1MR7/4H+p+ocksV7r9fUgvhFEIvdYn79GbZZdsrL5PNrX o+mQNWGr5cErGPYiIhcGMLMQ/C5kQLPW0PTwKOXmvN+dEL+ySw4okqhX3fjrP9BWocABZWk PwrMOy+UFS78d6DZ6xS7Dvcol+EwGcEJYh6uvNfSjcXp+K94u1tBI9IAqI12bhFyL2kxC2m aewZCYlSJqnadJXH5X3Ww== X-UI-Out-Filterresults: notjunk:1;V03:K0:lMWvDqPJkdc=:wBHxZ6RAdgHxRUfZUe0RuP WI9J0487HxYjOU719RmqjiXHYlEtZpi8JS9QaQf9CYl+wfs5lO6bvDRgzbdPjnODw9hCA+So2 jheSXZ15Bq54VymzCPO38ZDjZL/TExoaf2R9NNf28KPfABx14dL3JIAppAjXellBNh8T81VXd wrn4rqu4z5WHay4oltaNRfdc5mV8krqNJOlU2h9MWXgR9vVb1GOVDyqpCTlt3DloGwKvwW8JO 3i/j5OVd6rRETAtg6A6bsZiSpOumozO9ctm5tGjGYXJuH19hRcfrw7nmPH6430GjTy7ZM5O7I j5yT+fn7PRb/Bi9UTurNglFs/rF8XNWM38gA4i1M51QDqhu8W0sVqIV1/VxKGFHspvkUguz5i CXd2nx5uvQeg8OU6v82GetGGU7cSBUYIZsG/9amLthCUQBp+14DTP2LDlekYYIjGTWxkEEwvK t+jZTA8+jM6CafiAGdTJxfadd3l8Zv02R+j9aP6MvHYkDOUKqgvSKc0OcI/cauZVwbfLKq0V2 Pdq6M5ZIDRuRdJRCzDCuw0XQcL+sw+Au4WcHmwpU+keuxk98LnjNH5kxUHpOh7R3i9IS+DcNn eR/eQoogxZFFHGb3ht4NeLVV8QKd6Emd5of4p8xAbqbHmb+/Xocmeg7saVg58e39Pzx7i6vDb 5mbidZWSc8q7hYx/8kvfJt6C0sypOJG0QwxvumtNuPTUM+utyXBo011whP4MmDlJSl+wqBthg TMzwQV+LnuVIjdJEKUQO9r4Um5ywkhFWvxps5mV/LLbf+Qkmh0PbPGgAbtij0KUJWyCc38ch 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:173801 Archived-At: Dmitry Gutov writes: Hi Dmitry, > So I've pushed a more simplistic patch to emacs-27 (commit be38e39fcc). > > Felicin and Michael, please take a look. The patch looks reasonable to me. Since I don't use project-files, I can't say whether this works correctly. Your use of remote-id reminds me of comint-file-name-prefix, which serves a similar purpose. Maybe you can check it in comint.el and the other packages where it is used, and steal some ideas from there :-) Best regards, Michael.