From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: "header-args :eval inline-only" not working Date: Sun, 20 Aug 2017 12:21:40 +0200 Message-ID: <87inhiilor.fsf@nicolasgoaziou.fr> References: <87fucnjr3h.fsf@nicolasgoaziou.fr> <672780F6-F156-4D48-8774-3E449FF4EA5B@agrarianresearch.org> <40F87DC3-9AF2-43D4-9E9D-11826219EA79@agrarianresearch.org> <06F7619D-A294-4AAE-89BA-DB9FC17FEDC2@ucsd.edu> <7B90B949-C235-4F16-A2E5-4A22EB850DBC@agrarianresearch.org> <101B0AF0-A5B4-4FE0-B0B7-192B04B99F3D@ucsd.edu> <0B21A5BE-80FE-4B83-970B-84C32270BCA3@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djNMX-00049E-6r for emacs-orgmode@gnu.org; Sun, 20 Aug 2017 06:21:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djNMW-0004Dy-5p for emacs-orgmode@gnu.org; Sun, 20 Aug 2017 06:21:45 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:41528) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1djNMV-0004Di-Vq for emacs-orgmode@gnu.org; Sun, 20 Aug 2017 06:21:44 -0400 In-Reply-To: <0B21A5BE-80FE-4B83-970B-84C32270BCA3@agrarianresearch.org> (Vikas Rawal's message of "Sun, 20 Aug 2017 08:56:28 +0530") 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: Vikas Rawal Cc: org-mode mailing list , "Berry, Charles" Hello, Vikas Rawal writes: > I am on the latest version on org mode ELPA. It is dated August 18, > 2017, so should include the commit you mention. `org-export-use-babel' is from "master" branch. ELPA provides "maint". > But this would prevent exporting all code blocks including inline blocks. > > Isn=E2=80=99t it? > > There seems no way of separately controlling inline and other blocks. There is. You put :eval never-export on all src blocks and :eval t on inline code. Note, however, that inline code might call indirectly src blocks, so this can lead to odd situations. What you are missing, probably, is some way to set this globally. Alas, `org-export-use-babel' or `org-export-babel-evaluate' is not the answer. As suggested in the thread you mentioned earlier, we might as well get rid of `org-export-use-babel' altogether. It seems to confuse many users and isn't very useful. WDYT? Regards, --=20 Nicolas Goaziou