From: Jim Porter <jporterbugs@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: [RFC] Explicity-remote commands in Eshell
Date: Mon, 6 Mar 2023 14:07:59 -0800 [thread overview]
Message-ID: <bba26c51-9cdc-5045-f697-59f9e81521b5@gmail.com> (raw)
In-Reply-To: <87fsaie1wq.fsf@gmx.de>
On 3/6/2023 12:09 AM, Michael Albinus wrote:
> One remark: Why don't you allow remoteness everywhere? Sth like
>
> --8<---------------cut here---------------start------------->8---
> /ssh:user@somewhere:remote-command | /ssh:another-user@elsewhere:another-remote-command
> --8<---------------cut here---------------end--------------->8---
>
> This even with multiple pipes in a row. Mixed with local commands. And
> using just the shorter version "command", which means a local or remote
> command according to default-directory.
This is possible too: in fact, explicitly-remote commands should be
usable absolutely anywhere a regular command is: in pipelines,
subshells, conditionals, etc. (My example was just to show how you might
mix an explicitly-remote command with a regular command.)
prev parent reply other threads:[~2023-03-06 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 2:35 [RFC] Explicity-remote commands in Eshell Jim Porter
2023-03-06 8:09 ` Michael Albinus
2023-03-06 16:10 ` John Wiegley
2023-03-06 22:07 ` Jim Porter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bba26c51-9cdc-5045-f697-59f9e81521b5@gmail.com \
--to=jporterbugs@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.