From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Org-mode shell SRC block under Windows Date: Fri, 04 Feb 2022 16:01:21 +0200 Message-ID: <83iltu3f4e.fsf@gnu.org> References: <83y22r2ja8.fsf@gnu.org> <86a6f6u61v.fsf@duenenhof-wilhelm.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35790"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 04 15:10:13 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nFzHx-00095U-Az for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 15:10:13 +0100 Original-Received: from localhost ([::1]:47174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFzHv-0006aC-NM for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 09:10:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFz9J-0005H0-NU for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 09:01:18 -0500 Original-Received: from [2001:470:142:3::e] (port=46574 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFz9J-0004Sb-Df for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 09:01:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KL/p6dVNrtxcDeKvhfYdSBg/Kfqd2BxTXW51moyxGO4=; b=gKRmCpKPhtO7 +mGumdnYPSzNfQDLnSvRXUczIQ58Um7sNrFh83evNKWVV2jFIRoLiqVd4RLIDZOcnwNLR1HgjjJN8 kmKBAm51pG98U33shQd/JU18QHxCU/i/nyWz3HZPyZm/0OpZi4cn70pQ6LX5jJsCgrTvMicj57nm+ pp+416O+hEuNqbDC63wCUtzG7275PG/z8YRD04JnzFxZ0FJzBedlf2YnxcTbSoxuyqZ/mfuyxo2oI 1ASo5JXqVQvY6cOrJJFF+r1BcvPugqRl12Ig7tqXldbX5LYyduBTOyZz9bwB56ePCS5EgDexhYnrL QjAJ65HVuKOASYlkgRNi3g==; Original-Received: from [87.69.77.57] (port=2926 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFz9F-0000ur-BL for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 09:01:15 -0500 In-Reply-To: <86a6f6u61v.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135734 Archived-At: > From: "H. Dieter Wilhelm" > Cc: help-gnu-emacs@gnu.org > Date: Fri, 04 Feb 2022 14:15:08 +0100 > > But I think it should be possible to specify a different shell only for > certain source blocks. Specify how? in Lisp? that's already possible, by binding shell-file-name and shell-command-switch (assuming that the commands use those and not hard-code stuff). If you mean interactively, please talk to the Org folks, who are responsible for the proliferation of these blocks -- the implementation is in Org, AFAIU.