From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kIVqJfSK/WHbIAEAgWs5BA (envelope-from ) for ; Fri, 04 Feb 2022 21:22:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SPjTIvSK/WGrmAAA9RJhRA (envelope-from ) for ; Fri, 04 Feb 2022 21:22:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3D0C33DF4D for ; Fri, 4 Feb 2022 21:22:12 +0100 (CET) Received: from localhost ([::1]:38108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nG55v-0006i7-FS for larch@yhetil.org; Fri, 04 Feb 2022 15:22:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG4zr-0002DH-LH for emacs-orgmode@gnu.org; Fri, 04 Feb 2022 15:16:01 -0500 Received: from ciao.gmane.io ([116.202.254.214]:55392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG4zp-0002bE-QU for emacs-orgmode@gnu.org; Fri, 04 Feb 2022 15:15:55 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nG4zm-00011s-OK for emacs-orgmode@gnu.org; Fri, 04 Feb 2022 21:15:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "H. Dieter Wilhelm" Subject: Shell SRC blocks under Windows Date: Fri, 04 Feb 2022 21:15:42 +0100 Message-ID: <8635kytmkx.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cancel-Lock: sha1:Xkl0nd9twP94XJKKoVBxMpByudU= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644006132; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=brbuebHzbf9/SiP0wd5vCcKpDVnFMat6oPEur6Uyky0=; b=nKTdm+6A3ntq8V4CkJ2+Ye26nL+VydtTHHUoI6joPQ4k8XW+K297p+snwV2Biw70pZCIet UAqX4jzxuu6UQ+zW7hqF1iosGBOYX0aQ5kfzuzgMEx9fj7TjQakc+32p9Z1rQtFWFDEz7I ht9ey3IrCKxCzmlONMAN84507L2ZZPaJSl9U685bDUl6JD5ItkA4hbjWTSeTaFn6AQ56sE vME1s4LpX+zDXR43tbmIcJiRLDVu2QSLOz0rfyO+kaOqx6AVhwP55FPv5GvWLEvbz7QxM8 pn2Dkac+kMYaxRUq7ZAxKMUBL3NVddyN7vq0V16txLUMlaB+WEOipgHSjTlHSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644006132; a=rsa-sha256; cv=none; b=k9B1BwYsSDU4NLpobUsEVImM1IQNr1R4WFQr37vobsE3hG1kyS+9cX+NzEFGcgJDBQvB5P ynPoUqKPPw6ksYPoEly90+QQFUgxB7EO9g1is/D5lNUCQ2+Cu7b8SkRzSaApijfmTZe8HI fVz2AAUNwIY4V1XCiT1zNSLzLLW7l+W3Yx7sYCsnCzISutDveKmLSHEG7hT1FLMfXGWU+7 it2oB+kc+Izo+fSOBY/GMrcNjwZz1KyYL2ZJD4YHUDB/LsVQhoRr2GK1orAUsxdIAaRSo9 X9mFDyJKfmoqf1uWtDSfxstk7mBKDikS7cUm4AxYHJ+Yk8YjqrmMDWDLG+1W3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3D0C33DF4D X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: /y/kIiZ+NTc9 Hello I installed the software distribution MSYS2 https://www.msys2.org/. And I'd like to call its various shells in org src blocks. First I tried to set explicit-shell-file-name but then my LaTeX exports don't work any longer. Is is it possible to extend org-mode's src blocks with org-babel-shell-names to use either MSYS2 or MinGW shells (instead of cmd.exe)? Unfortunately ob-shell.el doesn't guide me further and I can't find examples or the respective lisp files on how to define the execution functions. GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2022-01-14 Org mode version 9.4.6 (9.4.6-13-g4be129-elpaplus @ /home/dieter/.emacs.d/elpa/org-plus-contrib-20210920/) Thanks a lot Dieter -- Best wishes H. Dieter Wilhelm Zwingenberg, Germany