From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: org-export-babel-evaluate and :exports none Date: Mon, 18 Feb 2013 13:22:35 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VMj-0003kB-7I for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 13:23:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7VMf-0001Nt-FE for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 13:23:01 -0500 Received: from mail-ia0-x231.google.com ([2607:f8b0:4001:c02::231]:47197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VMf-0001Nf-3j for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 13:22:57 -0500 Received: by mail-ia0-f177.google.com with SMTP id o25so585690iad.8 for ; Mon, 18 Feb 2013 10:22:55 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mailinglist Hi all, Just checking to see if anyone was able to reproduce this or if I am the only one with this problem. Thanks, Ista On Sun, Feb 17, 2013 at 9:24 AM, Ista Zahn wrote: > 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: > > > #+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 > > > > 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