emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-export-babel-evaluate and :exports none
@ 2013-02-17 14:24 Ista Zahn
  2013-02-18 18:22 ` Ista Zahn
  0 siblings, 1 reply; 13+ messages in thread
From: Ista Zahn @ 2013-02-17 14:24 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

Hi,

I upgraded to the latest git version yesterday, and am loving the new
exporter. Congrats to all involved!

However, when I set org-export-babel-evaluate to nil the new latex
exporter (I have not tried the others) ignores :exports none source
block header arguments. To reproduce:

1. start emacs with 'emacs -q' and visit a file named tmp.org with the
following contents:
<start org example>

#+TITLE: Source block export test

* Source block export

#+name: test
#+begin_src emacs-lisp :exports none :results silent :tangle no
  ;should not be exported but is
    (setq org-export-babel-evaluate nil)
#+end_src

</end org example>

2. place the point inside the test block and press 'C-c-c' to evaluate it
3. export to latex file with 'C-e l l'

the resulting tmp.tex incorrectly contains

\begin{verbatim}
;should not be exported but is
  (setq org-export-babel-evaluate nil)
\end{verbatim}

If this is an error on my part please correct my examples! Otherwise
please consider this a bug report. 'M-x org-version' reports "Org-mode
version 7.9.3e (7.9.3e-1107-g45442f @
/usr/share/emacs/site-lisp/org/)" on my system, which I believe to be
the latest.

Best,
Ista

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-02-23  8:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17 14:24 org-export-babel-evaluate and :exports none Ista Zahn
2013-02-18 18:22 ` Ista Zahn
2013-02-18 18:59   ` Jay Kerns
2013-02-18 19:20     ` Ista Zahn
2013-02-18 20:17       ` Nicolas Goaziou
2013-02-18 20:26         ` Ista Zahn
2013-02-18 20:42         ` Achim Gratz
2013-02-20 15:31           ` Nicolas Goaziou
2013-02-22 20:49             ` Achim Gratz
2013-02-22 21:42               ` Ista Zahn
2013-02-23  8:08               ` Nicolas Goaziou
2013-02-23  8:45                 ` Achim Gratz
2013-02-18 20:49         ` Achim Gratz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).