GNU bug report logs -
#53302
29.0.50; shell-command-on-region doesn't execute the command remotely
Previous Next
Reported by: miha <at> kamnitnik.top
Date: Sun, 16 Jan 2022 12:19:02 UTC
Severity: wishlist
Tags: wontfix
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
Hi,
> If default-directory is a remote directory, shell-command (M-!) executes
> the command on the remote machine, but shell-command-on-region (M-|)
> executes it locally.
>
> This is more of a feature request rather than a bug report, but it might
> be nice if shell-command-on-region executed the command remotely as
> well.
Indeed, shell-command-on-region uses internally call-process-region,
which isn't aware of remote default-directory.
> Or perhaps, a new command called something like
> 'shell-command-on-region-file' could be added that executed the command
> remotely.
For consistency reasons, I prefer that shell-command-on-region behaves
like the other functions of this family, shell and shell-command.
> Thanks, best regards.
Best regards, Michael.
This bug report was last modified 3 years and 200 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.