From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aidan Gauland Newsgroups: gmane.emacs.devel Subject: Remote process execution Date: Wed, 23 Jun 2021 10:29:03 +1200 Message-ID: <78bb834c-4338-6ee3-1df4-9f774a1410bc@fastmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25845"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 23 00:53:18 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvpGf-0006W3-FP for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Jun 2021 00:53:18 +0200 Original-Received: from localhost ([::1]:35120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvpGd-0000JO-Le for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Jun 2021 18:53:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvotO-0004SD-6R for emacs-devel@gnu.org; Tue, 22 Jun 2021 18:29:14 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvotM-0002wj-6q for emacs-devel@gnu.org; Tue, 22 Jun 2021 18:29:13 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5140F5C0094 for ; Tue, 22 Jun 2021 18:29:11 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 22 Jun 2021 18:29:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= to:from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=fm3; bh=3fSqYfPMQQ40FvMez0lY5mHAL0 3CdGHQYxauKdB+t6o=; b=H8i4ipQpUR9fXSOxFdVGL6f6cwRnKFyXFZ9FiaIYZQ GoHZYicNI6IQjDECCuznWAuwg60UFV04lNDrvsZpCAY3tAakxQ2u1dIPOKgzvTwC k1CjBkuHM6djH0Ia50n43HDUIqgabMdWP1sdUS/j4J2Hu43zt6EHlTsWTzRNQrRx b5h8CGQJgX18AQSx39PtV2pFGWNn+jv+N018Yz8whbsUEeuminVB+JF0KarACpGC nzFF2kB1tCD02wouF0sq83MdkzJaghR0d9UGmrWTeiJM2aHMp0bMucrYxnDtOjN+ MCVhwdnqMv7B6AIfpb2067gsLfxvwolHI+qb4yvBZCRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=3fSqYf PMQQ40FvMez0lY5mHAL03CdGHQYxauKdB+t6o=; b=EpR8J2IhfvCTRDS5fA3wd3 FPfOmR58DqXBv/d9DxIHXYMnbKjMhPBxPhqeEjdvDRzMRe0D/BaeeeF45zhBUn0H 5dGkg1X7BXEbhWVahG9gC/C0eM1HY4Q519OO8y7+NwsHYRTRfGdFx5m9Sezo69w8 0Vd0gLG6ka10DYDKlQRCQc6tonyGkXiJUBdW1KmY+95+MYVl34YnV+/X1xJkidG/ /+555KftGTHx/zd2Hn6CDEzcUngvjBoBXNXtZsxcwBSv/u52lkbCfixa3fhr0K5w VOnC+3Lh0nwVCyj+gnCUeB9eyizyJnC6aexkrXywicyo6DlQXmt06LYpfRjMf02g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeegvddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefvhffukffffgggtgfgsehtqhertd dtfeejnecuhfhrohhmpeetihgurghnucfirghulhgrnhguuceorghiuggrlhhgohhlsehf rghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepleduiedtudffudekffeive effeeiueelvdekvdehkedtieefkeeglefhkeejffevnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprghiuggrlhhgohhlsehfrghsthhmrghilh drnhgvth X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 22 Jun 2021 18:29:10 -0400 (EDT) Content-Language: en-NZ Received-SPF: pass client-ip=66.111.4.25; envelope-from=aidalgol@fastmail.net; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 22 Jun 2021 18:52:34 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270983 Archived-At: I am trying to modify a third-party package to work over TRAMP, and I am = stuck on `call-process-region'.=C2=A0 I seem to be able to use `process-f= ile'=20 as a drop-in replacement for `call-process', but there does not appear=20 to be any substitute for `call-process-region'.=C2=A0 I did find=20 `tramp-call-process-region' (and `tramp-call-process'), but these=20 functions seem to be redundant, since they just call the process on the=20 local host, which is what the non-tramp versions of these functions do=20 already. Can anyone offer advice on modifying code that uses=20 `call-process-region' to handle remote-command-execution in TRAMP buffers= ? Regards, Aidan Gauland