From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: HTML export with ":export" parameter with Orgmode 9.0 Date: Fri, 11 Nov 2016 19:21:24 -0800 Message-ID: References: <74a9bf69-d19e-1528-22ce-f9833d8dd0ed@fgiasson.com> <87mvh6fjiv.fsf@nicolasgoaziou.fr> <9157621c-3c48-8661-9bfb-0f8dadd99357@fgiasson.com> <98645dec-97ad-3d3f-3b1a-291c0dce122d@fgiasson.com> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1526905811-1478920885=:1463" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5OtI-0006hh-LC for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 22:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5OtD-0005Nd-Np for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 22:22:04 -0500 Received: from iport-acv4-out.ucsd.edu ([132.239.0.7]:61692) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5OtD-0005NM-B1 for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 22:21:59 -0500 In-Reply-To: <98645dec-97ad-3d3f-3b1a-291c0dce122d@fgiasson.com> 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: Frederick Giasson Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1526905811-1478920885=:1463 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 11 Nov 2016, Frederick Giasson wrote: > Hi Chuck, > >> even with a minimal init file. >> >> If you ever set the value of `org-export-babel-evaluate' to nil this might >> produce the behavior you describe. > > Maybe, but as stated in the manual: "Setting the org-export-babel-evaluate > variable to nil will ensure that no code blocks are evaluated as part of the > export process." Argh! That paragraph needs to be revised. > > From here: http://orgmode.org/manual/Exporting-code-blocks.html > > The thing is that I indeed want to make sure that the code blocks are > evaluated, but to me evaluation of code block is different than what to > export from the Org file. It is often the case that I don't want export to > evaluate anything, but just to export what is in the Org file's markup (while > following what the header parameters say). > Setting `org-export-babel-evaluate' to nil will ensure that NONE of your header arguments are followed. Like the docstring says "Users who wish to avoid evaluating code on export should use the header argument ‘:eval never-export’." It is tempting to `make-obsolete-variable' this variable and change its name to something that more completely describes what does not happen when set to nil. Chuck --0-1526905811-1478920885=:1463--