From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Alexander Gerds Subject: Re: export of src block ignores :results Date: Sat, 01 Oct 2016 07:46:57 +0200 Message-ID: <878tu8oc32.fsf@biostat.ku.dk> References: <87r383ky0w.fsf@biostat.ku.dk> <87a8eqv5x2.fsf@biostat.ku.dk> <87fuoinfhz.fsf@biostat.ku.dk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqD8b-0000C6-C8 for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 01:47:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqD8X-0002sI-7X for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 01:47:04 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:33594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqD8W-0002rP-VU for emacs-orgmode@gnu.org; Sat, 01 Oct 2016 01:47:01 -0400 Received: by mail-lf0-x235.google.com with SMTP id t81so54096640lfe.0 for ; Fri, 30 Sep 2016 22:47:00 -0700 (PDT) In-Reply-To: (Charles C. Berry's message of "Fri, 30 Sep 2016 10:05:59 -0700") 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: "Charles C. Berry" Cc: emacs-orgmode@gnu.org, istazahn@gmail.com right, this is what changed and setting :eval never-export on a each block solves the problem. however, the new way breaks all my existing org-code. is there a reason why the header args have to be ignored when org-export-babel-evaluate is nil? or asking more directly: would it be possible to have another option, e.g., (setq org-export-babel-evaluate 'never-eval-obey-header-args) such that the export process does never evaluate src code but header arguments are always obeyed? actually, my org-life improved alot when I found Ista Zahn's (cc) remark in the org-mode mailing list about setting org-export-babel-evaluate to nil. here is the quote: ,----Fri, 21 Aug 2015 Re: [O] "user-error: No language for src block ... | | | Unless you've restored sanity by setting org-export-babel-evaluate to | | nil. Personally I think this is not a good default. Source block | | evaluation and export are distinct actions, and I don't see why they | | should be linked by default. | | | | https://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg00940.html | `---- to me personally, the fact that one can separate the export process from the source block evaluation in org-mode is one of the great advantages over R-studio's markdown. Thomas "Charles C. Berry" writes: > On Thu, 29 Sep 2016, Thomas Alexander Gerds wrote: > >> > [deleted] > > Follow the advice in the docstring for > `org-export-babel-evaluate'. Use `:eval never-export'. Set > org-export-babel-evaluate to t. > > Chuck > > -- sent from nil