GNU bug report logs - #64546
30.0.50; [PATCH] Add support for explicitly-remote commands in Eshell

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Sun, 9 Jul 2023 19:32:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; [PATCH] Add support for explicitly-remote commands in Eshell
Date: Sun, 9 Jul 2023 12:31:04 -0700
[Message part 1 (text/plain, inline)]
This patch adds the ability to run a command in Eshell from any host, no 
matter your current directory. For example, you could run 
"/ssh:user <at> remote:whoami" from a local dir, which would run "whoami" 
over the SSH connection for "user <at> remote". Similarly, you could run 
"/:whoami" to run the local "whoami" even from a remote dir. (The latter 
syntax is just piggybacking off of quoted file names, which otherwise 
have no special meaning in Eshell.)

Prior to the main patch, I also added a bit of documentation about how 
remote access works in Eshell. These are separate commits so that, if we 
wanted, we could backport the first patch to the Emacs 29 branch.
[0001-Add-documentation-about-remote-access-in-Eshell.patch (text/plain, attachment)]
[0002-Add-support-for-explicitly-remote-commands-in-Eshell.patch (text/plain, attachment)]

This bug report was last modified 1 year and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.