From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: [BUG] [babel] in :eval never with :session Date: Wed, 7 May 2014 18:18:09 +0000 (UTC) Message-ID: References: <87eh06ndy5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi6QM-00073Q-2u for emacs-orgmode@gnu.org; Wed, 07 May 2014 14:18:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi6QD-0003Be-0R for emacs-orgmode@gnu.org; Wed, 07 May 2014 14:18:34 -0400 Received: from plane.gmane.org ([80.91.229.3]:35085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi6QC-0003BG-MC for emacs-orgmode@gnu.org; Wed, 07 May 2014 14:18:24 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wi6QA-0005Zx-Ae for emacs-orgmode@gnu.org; Wed, 07 May 2014 20:18:22 +0200 Received: from 128.54.50.123 ([128.54.50.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 May 2014 20:18:22 +0200 Received: from ccberry by 128.54.50.123 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 May 2014 20:18:22 +0200 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: emacs-orgmode@gnu.org Eric Schulte gmail.com> writes: > > Rainer M Krug krugs.de> writes: > > > The error is back: > > > > You say "back", was this error not present recently? If so could you > isolate the commit at which this error appeared? > The bug seems to be in the use of (org-link-search heading) in org-babel-exp-in-export-file which is called in org-babel-exp-process-buffer. That search will find the first heading that is a match after (point-min). So it will mess up other header args, too. It was there back in 8.0.7 and recent commits did not touch it AFAICS. HTH, Chuck > Thanks, > Eric > > > > > When one header in a subtree which has the header argument > > :eval never > > has the same name as in a following subtree which should be evaluated on > > export, the second subtree is not exported. When the name of the header > > is changed, the subtree is exported as expected. > > > > --8<---------------cut here---------------start------------->8--- > > #+PROPERTY: exports both > > #+PROPERTY: session *tmp_R* > > > > * Some non-evaluated code > > :PROPERTIES: > > :eval: never > > :END: > > ** This is the same header > > #+BEGIN_SRC R > > cat("\ntwo\n") > > #+END_SRC > > > > * Data Assessment Results > > ** This is the same header > > If the name of the header is changed, the subtree is evaluated on export. > > #+begin_src R > > cat("\nhere it is \n") > > #+end_src > > --8<---------------cut here---------------end--------------->8--- > > > > Org-mode version 8.2.6 (release_8.2.6-920-gc6d698 /Users/rainerkrug/.emacs.d/org-mode/lisp/) > > GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0 AppKit 1265) of 2014-02-13 on Rainers-MacBook-Pro-2.local > > > > Cheers, > > > > Rainer >