[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remote process execution
From: |
Tomas Hlavaty |
Subject: |
Re: Remote process execution |
Date: |
Thu, 24 Jun 2021 22:24:39 +0200 |
On Thu 24 Jun 2021 at 20:01, Michael Albinus <michael.albinus@gmx.de> wrote:
> Aidan Gauland <aidalgol@fastmail.net> writes:
>> Can anyone offer advice on modifying code that uses
>> `call-process-region' to handle remote-command-execution in TRAMP
>> buffers?
>
> What you are looking for is an implementation for
> process-file-region. That does not exist (yet?), AFAIK.
what about process-file-shell-command with pipe, something like this:
(format "head -c %d | tail -c %d | program" end (- end begin))
it's far from perfect but might do for your use-case