From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Export backends are loaded after code block evaluation Date: Sun, 23 Nov 2014 17:36:07 +0100 Message-ID: <877fyl50y0.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsa8E-0004mU-8X for emacs-orgmode@gnu.org; Sun, 23 Nov 2014 11:35:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xsa84-0005n4-2S for emacs-orgmode@gnu.org; Sun, 23 Nov 2014 11:35:26 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:36590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xsa83-0005mn-RB for emacs-orgmode@gnu.org; Sun, 23 Nov 2014 11:35:15 -0500 In-Reply-To: (Vicente Vera's message of "Sun, 23 Nov 2014 12:57:13 -0300") 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 Cc: emacs-orgmode 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