From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [BUG] [babel] in :eval never with :session Date: Fri, 09 May 2014 10:24:44 +0200 Message-ID: References: <87eh06ndy5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wig74-0000Y1-Ov for emacs-orgmode@gnu.org; Fri, 09 May 2014 04:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wig6z-0003dC-8B for emacs-orgmode@gnu.org; Fri, 09 May 2014 04:25:02 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:33960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wig6z-0003d5-2B for emacs-orgmode@gnu.org; Fri, 09 May 2014 04:24:57 -0400 Received: by mail-wg0-f52.google.com with SMTP id l18so3625014wgh.35 for ; Fri, 09 May 2014 01:24:56 -0700 (PDT) In-Reply-To: (Charles Berry's message of "Wed, 7 May 2014 18:18:09 +0000 (UTC)") 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: Charles Berry Cc: emacs-orgmode@gnu.org, schulte.eric@gmail.com --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Charles Berry writes: > Eric Schulte gmail.com> writes: > >>=20 >> Rainer M Krug krugs.de> writes: >>=20 >> > The error is back: >> > >>=20 >> You say "back", was this error not present recently? If so could you >> isolate the commit at which this error appeared? >>=20 > > The bug seems to be in the use of > > (org-link-search heading)=20 > > in org-babel-exp-in-export-file which is called in=20 > org-babel-exp-process-buffer.=20 > > That search will find the first heading that is a match after=20 > (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. Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /usr/local/Cellar/emacs-mac/emacs-24.3-mac-4.6/share/emacs/24.3/lisp/org/) as well. I don't think it makes sense to go further back.=20 So no regression, but bug. Cheers, Rainer > > HTH, > > Chuck > >> Thanks, >> Eric >>=20 >> > >> > 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 expo= rt. >> > #+begin_src R >> > cat("\nhere it is > =20 > <= at> > \n") >> > #+end_src >> > --8<---------------cut here---------------end--------------->8--- >> >=20=20 >> > Org-mode version 8.2.6 (release_8.2.6-920-gc6d698 =20 > /Users/rainerkrug/.emacs.d/org-mode/lisp/) >> > GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0 AppK= it > 1265) of 2014-02-13 on Rainers-MacBook-Pro-2.local >> > >> > Cheers, >> > >> > Rainer >>=20 > > > > > =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJTbJDRAAoJENvXNx4PUvmC7qcIAM+NHPDxMeFNBXqrFQcgilzm NQcDC+yfJPpGIxvTZU8zFqrmMNiuel/5d2bxMDi8jgyvtC0weghwUb2GIAvPE1j/ ROyTCrG/hxPE9EqpMqAoTTgxewzQ5Uxzox87gIWOm0nACNuZXFJkBnuY37JA/2Pe ZKqp4CpTiFmPeeeGbludPuVyyATRLewFWkS74GcW6aTGGOp7HkhVJYMDR81IHc0O fKRuXneIXOPv+ECuww89/AYH9cg3LXERUetP1wn16uZ+PwIcl1duuu84fEWfl/4l pQdv5EM4f8LXV7THLTxgr8OMOgsGNK6nNinFZT68RXoGPDYNwt8YPbQMRs6WZPc= =SOD8 -----END PGP SIGNATURE----- --=-=-=--