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#34221: [PATCH] Make project-files work with remote files Date: Mon, 28 Jan 2019 08:12:34 +0100 Message-ID: <8736pds1b1.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="254593"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34221@debbugs.gnu.org To: =?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 08:13:14 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 1go16X-001483-Rf for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 08:13:13 +0100 Original-Received: from localhost ([127.0.0.1]:55244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go16W-0006g6-Od for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 02:13:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go16N-0006eg-Uk for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 02:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go16N-0003TK-7W for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 02:13:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1go16N-0003TD-4K for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 02:13:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1go16M-000137-Sm for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 02:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jan 2019 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34221 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34221-submit@debbugs.gnu.org id=B34221.15486595644000 (code B ref 34221); Mon, 28 Jan 2019 07:13:02 +0000 Original-Received: (at 34221) by debbugs.gnu.org; 28 Jan 2019 07:12:44 +0000 Original-Received: from localhost ([127.0.0.1]:48178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go164-00012S-4x for submit@debbugs.gnu.org; Mon, 28 Jan 2019 02:12:44 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:53807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go161-00012C-Si for 34221@debbugs.gnu.org; Mon, 28 Jan 2019 02:12:42 -0500 Original-Received: from detlef.gmx.de ([79.140.118.103]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ldq9D-1hVZ2W0nad-00izYA; Mon, 28 Jan 2019 08:12:35 +0100 In-Reply-To: ("=?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?="'s message of "Sun, 27 Jan 2019 13:21:04 +0100") X-Provags-ID: V03:K1:826zu0f2J09V620w//lvfbqdBajEzdauxhhMk9lpmmLaND73GM3 buULOm+1P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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:154831 Archived-At: Felici=C3=A1n N=C3=A9meth writes: > Hi, Hi Felici=C3=A1n, > +(defun project--command-to-string (command) > + "Execute shell command COMMAND and return its output as a string. > +Similar to `shell-command-to-string', but calls > +`process-file-shell-command'." > + (with-temp-buffer > + (process-file-shell-command command nil t) > + (buffer-string))) Why that? `shell-command-to-string' works also on remote hosts. > Thanks, > Felici=C3=A1n Best regards, Michael.