From: Eric Schulte <eric.schulte@gmx.com>
To: Feiming Chen <feimingchen@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11]
Date: Fri, 31 Aug 2012 10:57:51 -0600 [thread overview]
Message-ID: <8739336ltc.fsf@gmx.com> (raw)
In-Reply-To: <1346431124.34381.YahooMailRC@web181501.mail.ne1.yahoo.com> (Feiming Chen's message of "Fri, 31 Aug 2012 09:38:44 -0700 (PDT)")
[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]
Feiming Chen <feimingchen@yahoo.com> 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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: eval.org --]
[-- Type: text/x-org, Size: 57 bytes --]
#+PROPERTY: eval no
#+begin_src R
print(pi)
#+end_src
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: a.org --]
[-- Type: text/x-org, Size: 282 bytes --]
#+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
[-- Attachment #4: Type: text/plain, Size: 748 bytes --]
Cheers,
>
>
> Sincerely,
> Feiming Chen
>
>
>
>
> ________________________________
> From: Eric Schulte <eric.schulte@gmx.com>
> To: Feiming Chen <feimingchen@yahoo.com>
> Cc: emacs-orgmode@gnu.org
> 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 <feimingchen@yahoo.com> 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
next prev parent reply other threads:[~2012-08-31 16:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-30 15:39 Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11] Feiming Chen
2012-08-30 15:53 ` Eric Schulte
2012-08-31 16:38 ` Feiming Chen
2012-08-31 16:57 ` Eric Schulte [this message]
2012-09-04 21:26 ` Feiming Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739336ltc.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=emacs-orgmode@gnu.org \
--cc=feimingchen@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.