From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Vera Subject: Re: Export backends are loaded after code block evaluation Date: Mon, 24 Nov 2014 15:45:27 -0300 Message-ID: References: <877fyl50y0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsydm-00046r-0H for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 13:45:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xsydd-0007ob-El for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 13:45:37 -0500 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:47332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsydd-0007mw-5f for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 13:45:29 -0500 Received: by mail-wi0-f182.google.com with SMTP id h11so6796237wiw.15 for ; Mon, 24 Nov 2014 10:45:27 -0800 (PST) In-Reply-To: <877fyl50y0.fsf@nicolasgoaziou.fr> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vicente Vera , emacs-orgmode Nope, no harm has been done. Still curious about it though. IMO, there's no reference to 'ox.el' in the babel source files so I don't understand how is this possible. 2014-11-23 13:36 GMT-03:00 Nicolas Goaziou : > Hello, > > Vicente Vera writes: > >> Hello. Just noticed that after evaluating a code block with C-c C-c >> (org-babel-execute-src-block?) all export backends stored in >> 'org-export-backends' are loaded---or 'required'---automatically. Once >> I commented out my 'org-export-backends' setup those backends weren't >> loaded, but the default ones did (ascii html icalendar latex). >> >> Is this the intended behavior? > > `org-babel-execute-src-block' probably requires "ox.el" or some > back-end, triggering. Back-ends are loaded as soon as "ox.el" is > required. > >> Tried to grep my way through Org's source files looking for a clue >> with no success. >> >> Also, is there a way to prevent this from happening? It doesn't seem >> extremely necessary to me. > > It doesn't really hurt either. > > > Regards, > > -- > Nicolas Goaziou