From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [BUG] on export resulting in endless evaluation Date: Mon, 09 Feb 2015 12:00:57 +0100 Message-ID: <86twyvbb86.fsf@example.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Rainer M Krug wrote: > Charles Berry writes: >> Rainer M Krug krugs.de> writes: >>> >>> when exporting the fillowing org file, I get an endless loop of >>> evaluations. >>> >>> --8<---------------cut here---------------start------------->8--- >>> #+PROPERTY: header-args :exports both >>> #+PROPERTY: header-args+ :results output >>> * The bug >>> This file create an (possibly endless?) loop during export >>> * here exports both >>> #+begin_src R >>> cat(13+14) >>> #+end_src >>> >>> * and here only code >>> :PROPERTIES: >>> :header-args+: exports code >>> :END: >>> #+begin_src R >>> paste(13+14) >>> #+end_src >>> --8<---------------cut here---------------end--------------->8--- >> >> Add this to the end of your example and run the src block: >> >> #+BEGIN_SRC emacs-lisp :results pp >> (org-entry-get (point) "header-args" t) >> #+END_SRC >> >> #+RESULTS: >> : ":exports both :results output exports code" > > Very useful function - I think I will use it quite often! I would have > seen the problem immediately - the missing : FWIW, `C-c C-v I' (or `C-c C-v C-I') would show you: --8<---------------cut here---------------start------------->8--- Lang: R Header Arguments: :cache no :exports code :hlines no :noweb no :results replace :session none :tangle no exports code --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban