From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ob-sh loaded from org-babel-do-load-languages is bad Date: Sat, 05 Nov 2016 09:24:42 +0100 Message-ID: <87zile9vw5.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2wHN-0007u0-Fb for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 04:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2wHI-0000Cy-IR for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 04:24:45 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42601) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2wHI-0000Bu-CL for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 04:24:40 -0400 In-Reply-To: (Steve Downey's message of "Thu, 03 Nov 2016 01:09:21 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Steve Downey Cc: org mode Hello, Steve Downey 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