emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: org-export-babel-evaluate and :exports none
Date: Sun, 17 Feb 2013 09:24:58 -0500	[thread overview]
Message-ID: <CA+vqiLHwsecH9gQ4PLmH6m6JOUt9GBc0qpZ5=bSB_xysoOD7pA@mail.gmail.com> (raw)

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

             reply	other threads:[~2013-02-17 14:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-17 14:24 Ista Zahn [this message]
2013-02-18 18:22 ` org-export-babel-evaluate and :exports none 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

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

  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='CA+vqiLHwsecH9gQ4PLmH6m6JOUt9GBc0qpZ5=bSB_xysoOD7pA@mail.gmail.com' \
    --to=istazahn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 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).