emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request: new function start-remote-process


From: Michael Albinus
Subject: Re: Feature request: new function start-remote-process
Date: Tue, 26 Jun 2007 21:27:26 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Richard Stallman <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]