GNU bug report logs - #56406
[PATCH] Send region to the subshell specified by the current file interpreter

Previous Next

Package: emacs;

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Davide Masserut <dm <at> mssdvd.com>
Cc: 56406 <at> debbugs.gnu.org
Subject: bug#56406: [PATCH] Send region to the subshell specified by the current file interpreter
Date: Wed, 06 Jul 2022 13:46:06 +0200
Davide Masserut <dm <at> mssdvd.com> writes:

> 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.

Makes sense to me; pushed to Emacs 29.

> BTW it is nice to edit code older than me 😀.

😄

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.