* ob-sh loaded from org-babel-do-load-languages is bad
@ 2016-11-03 1:09 Steve Downey
2016-11-05 8:24 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Steve Downey @ 2016-11-03 1:09 UTC (permalink / raw)
To: org mode
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 337 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ob-sh loaded from org-babel-do-load-languages is bad
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
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-11-05 8:24 UTC (permalink / raw)
To: Steve Downey; +Cc: org mode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-05 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).