From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#28691: [PATCH] Add file name handler support for 'make-process' (Bug#28691) Date: Mon, 17 Dec 2018 20:33:19 +0100 Message-ID: <87ftuw54ow.fsf@gmx.de> References: <20181216233936.208568-1-phst__21526.1563113474$1545003551$gmane$org@google.com> <87zht45nw6.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545075132 21408 195.159.176.226 (17 Dec 2018 19:32:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2018 19:32:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Philipp Stephani , 28691@debbugs.gnu.org, Emacs developers To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 17 20:32:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYycY-0005Ss-Ne for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Dec 2018 20:32:06 +0100 Original-Received: from localhost ([::1]:48729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYyef-0002xg-Df for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Dec 2018 14:34:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYyeV-0002vd-H4 for bug-gnu-emacs@gnu.org; Mon, 17 Dec 2018 14:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYyeT-00025M-C3 for bug-gnu-emacs@gnu.org; Mon, 17 Dec 2018 14:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYyeQ-00023f-7i for bug-gnu-emacs@gnu.org; Mon, 17 Dec 2018 14:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gYyeQ-00006p-0E for bug-gnu-emacs@gnu.org; Mon, 17 Dec 2018 14:34: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, 17 Dec 2018 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28691 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28691-submit@debbugs.gnu.org id=B28691.1545075212371 (code B ref 28691); Mon, 17 Dec 2018 19:34:01 +0000 Original-Received: (at 28691) by debbugs.gnu.org; 17 Dec 2018 19:33:32 +0000 Original-Received: from localhost ([127.0.0.1]:52181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYydw-00005v-IA for submit@debbugs.gnu.org; Mon, 17 Dec 2018 14:33:32 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:59679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gYydt-00005d-MS for 28691@debbugs.gnu.org; Mon, 17 Dec 2018 14:33:30 -0500 Original-Received: from detlef.gmx.de ([212.86.54.89]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LkOaJ-1h9P3Z0YjT-00cQLk; Mon, 17 Dec 2018 20:33:22 +0100 In-Reply-To: (Philipp Stephani's message of "Mon, 17 Dec 2018 20:07:49 +0100") X-Provags-ID: V03:K1:cyJRQUi84aHfN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enThere: 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: 208.118.235.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:153531 gmane.emacs.devel:231893 Archived-At: Philipp Stephani writes: Hi Philipp, >> What happens, if no file name handler is found? Should there be a local >> process then, or should this be ignored (returning nil)? > > I think it should be a new process, like start-file-process does. > (make-process should always either return a process object or fail.) Why fail? See my answer to Eli, I prefer that it returns nil if it isn't possible to get a new process from the file name handler. >> And of course, the implementation of a file name handler is missing in >> tramp-adb.el, tramp-sh.el and tramp-smb.el. > > That should be part of a different bug. (Since make-process is more > capable than start-file-process, implementing Tramp support will be a > bit more difficult.) No new bug needed. I have the feeling it's me who has to implement it in Tramp. Or do you know a volunteer? I would appreciate it :-) Best regards, Michael.