emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jack Kamm <jackkamm@gmail.com>
To: MS Window <ms.window@mailfence.com>, emacs-orgmode@gnu.org
Subject: Re: Powershell scripting with org-babel
Date: Mon, 10 Feb 2020 17:59:52 -0800	[thread overview]
Message-ID: <87eev1khnr.fsf@gmail.com> (raw)
In-Reply-To: <1247841977.1214337.1581352684665@ichabod.co-bxl>

Hi Klaus,

MS Window <ms.window@mailfence.com> writes:

> There is no explanation there I should put the configuration. The org-babel documentation is too brief for me as beginner to understand.

First, save that file somewhere. Then, in your emacs config, add the
directory containing ob-powershell.el to the `load-path' variable using
the function `add-to-list' [0]. Then, load ob-powershell using
`require'. Finally, add powershell to `org-babel-load-languages'
[1]. Then you should be able to execute powershell babel blocks.

Hope that helps,
Jack

[0] https://www.emacswiki.org/emacs/LoadPath
[1] https://orgmode.org/worg/org-contrib/babel/languages.html#configure

      parent reply	other threads:[~2020-02-11  1:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 16:38 Powershell scripting with org-babel MS Window
2020-02-11  1:58 ` briangpowell .
2020-02-11  3:32   ` George Mauer
2020-02-11 10:36     ` briangpowell .
2020-02-11 11:16       ` Bastien
2020-02-11  1:59 ` Jack Kamm [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87eev1khnr.fsf@gmail.com \
    --to=jackkamm@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ms.window@mailfence.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).