From mboxrd@z Thu Jan 1 00:00:00 1970 From: aditya siram Subject: Re: [org-babel] :no-expand header expands noweb refs Date: Tue, 5 Oct 2010 22:38:36 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50074 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3Kq4-0004XX-EJ for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 23:38:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3Kpy-0008HC-15 for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 23:38:44 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:38153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3Kpx-0008Gq-T3 for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 23:38:37 -0400 Received: by wwi17 with SMTP id 17so294045wwi.30 for ; Tue, 05 Oct 2010 20:38:36 -0700 (PDT) In-Reply-To: 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 It appears I misread the manual. 'no-expand' works only for tangling - but my original question stands. Is there a header that provides this feature for weaving with links to the chunk like a noweb document? -deech On Tue, Oct 5, 2010 at 10:12 PM, aditya siram wrot= e: > 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 > =A0<> > =A0<> > #+end_src > * Chunk 1 > #+source: Chunk1 > #+begin_src fundamental > =A0code for chunk 1 > #+end_src > * Chunk 2 > #+source: Chunk2 > #+begin_src fundamental > =A0code for chunk 2 > #+end_src > > When I 'org-export-as-ascii-to-buffer' I expect this : > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Root > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D=3D=3D= =3D > > Table of Contents > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > .... > > 1 Root > ~~~~~~~ > =A0<> > =A0<> > ... > > But I get this: > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Root > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D=3D=3D= =3D > > Table of Contents > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 1 Root > 2 ... > > > 1 Root > ~~~~~~~ > > =A0code for chunk 1 > =A0code for chunk 2 > ... > > > Thanks for the help! > -deech >