all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Org-mode shell SRC block under Windows
Date: Fri, 04 Feb 2022 09:16:47 +0200	[thread overview]
Message-ID: <83y22r2ja8.fsf@gnu.org> (raw)
In-Reply-To: <xm465ypvsn3u.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de)

> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
> Date: Thu, 03 Feb 2022 21:37:25 +0100
> 
> Hello
> 
> I'd like to use an MSYS or MingW shell rather than the default shell
> (com) for
> 
> #+begin_src sh
> echo $SHELL
> #+end_src

See explicit-shell-file-name (assuming that Org heeds that variable).
But beware: futzing with that variable might get you in trouble
elsewhere!

In general, I'd say people who publish such blocks that assume a Posix
shell are to blame, not your Emacs setup.  I find such blocks
frequently posted without a lot of thought, just because it "WFM".



  parent reply	other threads:[~2022-02-04  7:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 20:37 Org-mode shell SRC block under Windows H. Dieter Wilhelm
2022-02-03 21:30 ` H. Dieter Wilhelm
2022-02-03 22:13   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04 12:52     ` H. Dieter Wilhelm
2022-02-04 13:59       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04  7:16 ` Eli Zaretskii [this message]
2022-02-04  8:44   ` Qlisp for Quantum Computers (was: Re: Org-mode shell SRC block under Windows) Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04  9:14     ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04 10:05       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04  9:47     ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04 13:15   ` Org-mode shell SRC block under Windows H. Dieter Wilhelm
2022-02-04 14:01     ` Eli Zaretskii
2022-02-04 14:22       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-04 20:22       ` H. Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y22r2ja8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.