From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: noweb problem Date: Mon, 28 Nov 2011 13:14:18 -0700 Message-ID: <871uss3syt.fsf@gmx.com> References: <98A0366C-39E7-4767-AFDC-25448A273927@beds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV7as-0001hA-Kr for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 15:14:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV7aq-0006Qd-SU for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 15:14:26 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:55039) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RV7aq-0006QI-Ka for emacs-orgmode@gnu.org; Mon, 28 Nov 2011 15:14:24 -0500 In-Reply-To: <98A0366C-39E7-4767-AFDC-25448A273927@beds.ac.uk> (Torsten Anders's message of "Mon, 28 Nov 2011 20:08:11 +0000") 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: Torsten Anders Cc: Org-mode Hi Torsten, The change here is in the naming conventions, "srcname" is no longer a valid method of naming a code block, try "name" instead. e.g., #+name: sh-test-noweb #+begin_src sh ~ #+end_src #+begin_src sh :noweb yes ls <> #+end_src Best, Torsten Anders writes: > Dear Org babel developers, > > In the simple test below I would expect that the second cope block > expands to "ls ~", but seemingly it instead expands to "ls" only. What > am I missing? > > #+srcname: sh-test-noweb > #+begin_src sh > ~ > #+end_src > > #+begin_src sh :noweb yes > ls <> > #+end_src > > Did anything perhaps change in the literate programming interface? > Apologies if I missed something obvious or if I am victim of some > stupid typo. > > Thanks a lot! > > Best wishes, > Torsten > > -- Eric Schulte http://cs.unm.edu/~eschulte/