From mboxrd@z Thu Jan 1 00:00:00 1970 From: aditya siram Subject: [org-babel] :no-expand header expands noweb refs Date: Tue, 5 Oct 2010 22:12:35 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=43250 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3KRx-0004pV-Fj for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 23:13:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3KQn-0004AX-CM for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 23:12:38 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:39543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3KQn-0004AG-5v for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 23:12:37 -0400 Received: by wwi17 with SMTP id 17so278787wwi.30 for ; Tue, 05 Oct 2010 20:12:35 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, I may have understood the :no-expand header incorrectly, but I thought it suppressed expanding noweb references while exporting but seems to expand them. For example I have an org file that looks like this (simplified) : * Root #+begin_src fundamental :noweb yes :no-expand :tangle Root.txt <> <> #+end_src * Chunk 1 #+source: Chunk1 #+begin_src fundamental code for chunk 1 #+end_src * Chunk 2 #+source: Chunk2 #+begin_src fundamental code for chunk 2 #+end_src When I 'org-export-as-ascii-to-buffer' I expect this : Root ==== Table of Contents ================= .... 1 Root ~~~~~~~ <> <> ... But I get this: Root ==== Table of Contents ================= 1 Root 2 ... 1 Root ~~~~~~~ code for chunk 1 code for chunk 2 ... Thanks for the help! -deech