From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Better way to specify the latex documentclass of an exported file without changing my configuration? Date: Wed, 26 Mar 2014 15:57:54 +0100 Message-ID: References: <87ha6lumcb.fsf@gmail.com> <87d2h9uk2b.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSpLJ-0005f2-76 for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 11:02:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSpLC-0003oB-MX for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 11:02:13 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:29925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSpLC-0003nu-G1 for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 11:02:06 -0400 In-Reply-To: <87d2h9uk2b.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 26 Mar 2014 15:10:52 +0100") 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: Nicolas Goaziou Cc: emacs-orgmode Nicolas Goaziou writes: > Alan Schmitt writes: > >> It is in a :noexport: section already. Here is a quick test. >> >> Exporting >> >> * Test :noexport: >> >> #+begin_src sh >> echo "date 1" >> ~/tmp/results >> echo `date` >> ~/tmp/results >> #+end_src >> >> #+begin_src sh :exports results :results silent >> echo "date 2" >> ~/tmp/results >> echo `date` >> ~/tmp/results >> #+end_src >> >> yields this "~/tmp/results" file: >> >> date 2 Wed Mar 26 14:46:08 CET 2014 >> >> The behavior is identical if the ":noexport:" tag is absent. > > Then I think you can at least remove the ":results silent" part, can't > you? Yes, indeed. I'm too used to putting these blocks in parts that are actually exported. Sorry for the confusion, Alan