emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Feiming Chen <feimingchen@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11]
Date: Thu, 30 Aug 2012 08:39:44 -0700 (PDT)	[thread overview]
Message-ID: <1346341184.10633.YahooMailRC@web181504.mail.ne1.yahoo.com> (raw)

[-- Attachment #1.1: Type: text/plain, Size: 2419 bytes --]

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 

Test 1 is using "buffer-wide header arguments" BUT the evaluation result is not 
inserted into the exported file.  I am following the Org Manual section 14.8.1 
(Using header arguments).

Test 2 is using "code block specific header arguments" and works as expected.  

For this test, I start emacs with "emacs -Q", use org-version 7.8.11, and 
enabled " Org Confirm Babel Evaluate" and add R to "Org Babel Load Languages". 

Thanks a lot for your help! 

Feiming Chen


Emacs  : GNU Emacs 24.1.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
 of 2012-08-13 on fmc.work
Package: Org-mode version 7.8.11

current state:
 org-export-blocks '((src org-babel-exp-src-block nil)
             (export-comment org-export-blocks-format-comment t)
             (ditaa org-export-blocks-format-ditaa nil)
             (dot org-export-blocks-format-dot nil))
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
 org-tab-first-hook '(org-hide-block-toggle-maybe
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-confirm-babel-evaluate nil
 org-speed-command-hook '(org-speed-command-default-hook
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-reveal-start-hook '(org-decrypt-entry)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-mode-hook '(#[nil
           "\305\306    >\203

[-- Attachment #1.2: Type: text/html, Size: 3394 bytes --]

[-- Attachment #2: a.txt --]
[-- Type: text/plain, Size: 573 bytes --]


Author: Feiming Chen
Date: 2012-08-30 11:27:38 EDT

Table of Contents
1 test 1: Buffer-wide header arguments are NOT effective
2 test 1: Code block specific header arguments are effective

1 test 1: Buffer-wide header arguments are NOT effective 


2 test 1: Code block specific header arguments are effective 


[1] 3.141593

[-- Attachment #3: a.org --]
[-- Type: application/octet-stream, Size: 282 bytes --]

#+PROPERTY: exports both
#+PROPERTY: results output

* test 1: Buffer-wide header arguments are NOT effective
#+begin_src R 

* test 1: Code block specific header arguments are effective
#+begin_src R :exports both :results output 

             reply	other threads:[~2012-08-30 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 15:39 Feiming Chen [this message]
2012-08-30 15:53 ` Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11] Eric Schulte
2012-08-31 16:38   ` Feiming Chen
2012-08-31 16:57     ` Eric Schulte
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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346341184.10633.YahooMailRC@web181504.mail.ne1.yahoo.com \
    --to=feimingchen@yahoo.com \
    --cc=emacs-orgmode@gnu.org \


* 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 public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).