all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aidan Gauland <aidalgol@fastmail.net>
To: emacs-devel@gnu.org
Subject: Remote process execution
Date: Wed, 23 Jun 2021 10:29:03 +1200	[thread overview]
Message-ID: <78bb834c-4338-6ee3-1df4-9f774a1410bc@fastmail.net> (raw)

I am trying to modify a third-party package to work over TRAMP, and I am 
stuck on `call-process-region'.  I seem to be able to use `process-file' 
as a drop-in replacement for `call-process', but there does not appear 
to be any substitute for `call-process-region'.  I did find 
`tramp-call-process-region' (and `tramp-call-process'), but these 
functions seem to be redundant, since they just call the process on the 
local host, which is what the non-tramp versions of these functions do 
already.

Can anyone offer advice on modifying code that uses 
`call-process-region' to handle remote-command-execution in TRAMP buffers?

Regards,
Aidan Gauland





             reply	other threads:[~2021-06-22 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 22:29 Aidan Gauland [this message]
2021-06-24 18:01 ` Remote process execution Michael Albinus
2021-06-24 20:24   ` Tomas Hlavaty
2021-06-26 18:37 ` Philipp

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=78bb834c-4338-6ee3-1df4-9f774a1410bc@fastmail.net \
    --to=aidalgol@fastmail.net \
    --cc=emacs-devel@gnu.org \
    /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.