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: Tue, 26 Jun 2007 21:27:26 +0200 Message-ID: <87vedaplcx.fsf@gmx.de> References: <87sl8qpueb.fsf@gmx.de> <87k5trkgxn.fsf@gmx.de> <87d4zjk96q.fsf@gmx.de> <871wfyr1ag.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 1182886056 26851 80.91.229.12 (26 Jun 2007 19:27:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2007 19:27:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 26 21:27:34 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 1I3GhK-0002ys-2S for ged-emacs-devel@m.gmane.org; Tue, 26 Jun 2007 21:27:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3GhJ-0008Pe-K5 for ged-emacs-devel@m.gmane.org; Tue, 26 Jun 2007 15:27:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3GhH-0008PZ-3I for emacs-devel@gnu.org; Tue, 26 Jun 2007 15:27:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3GhF-0008PN-Ok for emacs-devel@gnu.org; Tue, 26 Jun 2007 15:27:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3GhF-0008PK-Jq for emacs-devel@gnu.org; Tue, 26 Jun 2007 15:27:29 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I3GhF-0008Gh-3T for emacs-devel@gnu.org; Tue, 26 Jun 2007 15:27:29 -0400 Original-Received: (qmail invoked by alias); 26 Jun 2007 19:27:27 -0000 Original-Received: from p57A24CA4.dip0.t-ipconnect.de (EHLO localhost.local) [87.162.76.164] by mail.gmx.net (mp056) with SMTP; 26 Jun 2007 21:27:27 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/69klPSuT6Hn8sW4QnsjXQ2rFpWb2Lb9h/u+BGsG EqHEcyQeZlm1sA In-Reply-To: <871wfyr1ag.fsf@gmx.de> (Michael Albinus's message of "Tue, 26 Jun 2007 20:57:59 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6 (newer, 1) 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:73886 Archived-At: Michael Albinus writes: > Richard Stallman writes: > >> > But...how is it possible to do run a program on a remote host? >> > In general, there is no way, right? >> >> Why not? Tramp must call programs on a remote host permanently. >> >> But often ftp is the only way to access the other host. > > For ftp, this approach won't work, of course. But this is no degradation > to the current situation. I forgot the other scenario. "The other host" could be your local host, but with another user. Suppose compile.el uses already start-remote-process and process-file. Then you could apply (let ((default-directory "/sudo::/etc")) (grep-find (concat grep-find-command "xxx"))) searching as root on your local host. Best regards, Michael.