emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Steve Downey <sdowney@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: ob-sh loaded from org-babel-do-load-languages is bad
Date: Sat, 05 Nov 2016 09:24:42 +0100	[thread overview]
Message-ID: <87zile9vw5.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJEGDKobjDLTTiw6OFxMVMH95=H122SYi8fBCBvnoO9j+c=97A@mail.gmail.com> (Steve Downey's message of "Thu, 03 Nov 2016 01:09:21 +0000")

Hello,

Steve Downey <sdowney@gmail.com> writes:

> Moving ob-sh to ob-shell means that
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '( (sh . t)))
> ;; eliding the full list
>
> will end up loading from the ob-sh shipped with emacs. And hilarity ensues.
> Mostly, for me, being unable to eval any src blocks at all.

This is bad, indeed. This was announced in "Incompatible changes"
section from Org 8.2 release notes, though:

  ** Incompatible changes
  *** =ob-sh.el= renamed to =ob-shell=
  This may require two changes in user config.

  1. In =org-babel-do-load-languages=, change =(sh . t)= to =(shell . t)=.
  2. Edit =local.mk= files to change the value of =BTEST_OB_LANGUAGES=
     to remove "sh" and include "shell".

At that time, we could have provided a dummy "ob-sh.el" raising an error
when loaded, but, three years and a major version later, it doesn't make
much sense anymore.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-11-05  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03  1:09 ob-sh loaded from org-babel-do-load-languages is bad Steve Downey
2016-11-05  8:24 ` Nicolas Goaziou [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=87zile9vw5.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdowney@gmail.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).