From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Feature request: new function start-remote-process Date: Wed, 27 Jun 2007 12:37:53 +0200 Message-ID: References: <87sl8qpueb.fsf@gmx.de> <87k5trkgxn.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182940708 13340 80.91.229.12 (27 Jun 2007 10:38:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2007 10:38:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 12:38:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I3Uuo-0005BE-9G for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2007 12:38:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3Uun-0004F4-GM for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2007 06:38:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3UuT-0004BV-8X for emacs-devel@gnu.org; Wed, 27 Jun 2007 06:38:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3UuR-0004As-DC for emacs-devel@gnu.org; Wed, 27 Jun 2007 06:38:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3UuR-0004AW-3Y for emacs-devel@gnu.org; Wed, 27 Jun 2007 06:38:03 -0400 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I3UuQ-00019t-CK for emacs-devel@gnu.org; Wed, 27 Jun 2007 06:38:02 -0400 Original-Received: from slbhac.alcatel.de (slbhac.bln.sel.alcatel.de [149.204.63.216]) by mailrelay1.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id l5RAbmEr030855; Wed, 27 Jun 2007 12:37:48 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 26 Jun 2007 11:17:03 -0400") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.72 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73918 Archived-At: Stefan Monnier writes: > In order not to derogate(?) to the custom of objecting late, I'll add an > objection right now: the name is wrong because it indicates for what you use > the feature rather than what it does. I think that the name should include > "file" somewhere rather than (or at least additionally to) "remote", since > the key aspect compared to start-process is that it's a file-name operation. > So I'd call it "start-file-process". Other than that, I fully support this > feature, of course. "start-remote-process" was proposed by Richard 2 years ago, see . He did also propose a new parameter, but I believe the file name handler check based on default-directory is sufficient. But I don't believe that the key aspect of "start-remote-process" is a file-name operation. That is true for process-file only. There one could have a remote file name specified in INFILE or BUFFER, and PROGRAM would use a local copy of the file(s) if default-directory is located on another host. PROGRAM could also run on a remote host if default-directory is a remote file name. In start-process as well as in "start-remote-process", you cannot pass a file name as argument to PROGRAM. Consequently, "start-remote-process" is not a file-name operation as process-file. Only the possibility to run PROGRAM on another host is similar to what process-file offers. Anyway, it is not important to me which name is chosen. > Stefan Best regards, Michael.