GNU bug report logs -
#56406
[PATCH] Send region to the subshell specified by the current file interpreter
Previous Next
Reported by: Davide Masserut <dm <at> mssdvd.com>
Date: Tue, 5 Jul 2022 19:00:02 UTC
Severity: normal
Tags: patch
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Tags: patch
This patch makes sh-execute-region to send the region to the subshell
specified by the current file interpreter.
Without it Emacs would run the region using the default user shell which
is probably not what you would expect if you are editing scripts made
for other shells.
Beware that I have not tested it on Windows or TRAMP.
BTW it is nice to edit code older than me 😀.
In GNU Emacs 29.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
of 2022-07-02 built on T480s
Repository revision: b79cfaaf14a7aa7e8bb56fc4063bd007e0edc69a
Repository branch: master
System Description: Arch Linux
Configured using:
'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib
--localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd
--with-modules --with-pgtk --with-native-compilation
'CFLAGS=-march=native -O2 -pipe -fno-plt -fexceptions
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -g
-ffile-prefix-map=/home/davide/src/emacs-mssdvd-git/src=/usr/src/debug'
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
[0001-Send-region-to-the-subshell-specified-by-the-current.patch (text/patch, attachment)]
This bug report was last modified 2 years and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.