emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.1


From: Eric Schulte
Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11]
Date: Fri, 31 Aug 2012 10:57:51 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Feiming Chen <address@hidden> writes:

> HI Eric: 
>
> Thanks a lot!  But I am still having trouble with some buffer-wide header 
> arguments.   In particular, I could not have the following code working as 
> expected: 
>
>
> #+PROPERTY: :eval no
>
> * test 3: Buffer-wide header arguments are NOT effective
> #+begin_src R :exports both
>   print(pi)
> #+end_src
>
> I am getting the result printed even though I turned the evaluation off.  It 
> seems I could not turn off the evaluation with ":eval no" in the buffer-wide 
> header argument.   Could you help?  
>

Hi Feiming,

I apologize.  I gave you bad advice in my previous email.  Please use
the #+PROPERTY: setting as in your original email and as described in
the Org-mode manual.  Do *not* add a leading ":" to header argument
names as I suggested.  The following two Org-mode files both work as
expected locally.

If a buffer-wide header argument doesn't seem to be active, you can
activate it by pressing C-c C-c on the #+PROPERTY: line.

#+PROPERTY: eval no

#+begin_src R
  print(pi)
#+end_src
#+PROPERTY: exports both
#+PROPERTY: results output

* test 1: Buffer-wide header arguments are NOT effective
#+begin_src R 
  print(pi)
#+end_src

* test 1: Code block specific header arguments are effective
#+begin_src R :exports both :results output 
  print(pi)
#+end_src






Cheers,

>
>
> Sincerely, 
> Feiming Chen
>
>
>
>
> ________________________________
> From: Eric Schulte <address@hidden>
> To: Feiming Chen <address@hidden>
> Cc: address@hidden
> Sent: Thu, August 30, 2012 11:53:44 AM
> Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective 
> [7.8.11]
>
> Feiming Chen <address@hidden> writes:
>
>> Hi: Could anyone help with the following problem? 
>>
>> Please see the attached file "a.org" with its text export "a.txt" (from C-c 
>> C-e 
>>
>> a). 
>>
>
> Replace
>
>     #+PROPERTY: exports both
>     #+PROPERTY: results output
>
> with
>
>     #+PROPERTY: :exports both
>     #+PROPERTY: :results output
>
> Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

reply via email to

[Prev in Thread] Current Thread [Next in Thread]