From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Regner Subject: Re: (no subject) Date: Tue, 24 Jan 2012 02:55:08 +0100 Message-ID: <87k44hampv.fsf@tomsdiner.org> References: <87aa5eqhxz.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpVbY-0006TT-FP for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 20:55:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpVbX-0001rH-9e for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 20:55:24 -0500 Received: from v2201111105296627.yourvserver.net ([46.38.233.178]:37619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpVbW-0001rD-Tv for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 20:55:23 -0500 Received: from p5b2b7a56.dip.t-dialin.net ([91.43.122.86] helo=burbank) by v2201111105296627.yourvserver.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1RpVbV-00075i-5t for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 02:55:21 +0100 In-Reply-To: <87aa5eqhxz.fsf@gmx.com> (Eric Schulte's message of "Mon, 23 Jan 2012 13:31:36 -0700") 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@gnu.org Eric Schulte writes: > I'd rather not change the default silently in this way. I understand that. > > Could you provide a minimal example of the difference you describe? I > just tried viewing the expanded form of the following code block and saw > no difference between :noweb-ref and normal #+name: based expansions. > > * examples > > #+name: first > #+begin_src sh > echo 1 > #+end_src > > #+begin_src sh :noweb-ref second > echo 2 > #+end_src > #+begin_src sh :noweb yes > <> > <> > #+end_src > > Thanks, > Example document: --------------------------->%-------------------------------- * Subtree :PROPERTIES: :noweb-ref: subtree :END: ** Part 1 #+begin_src sh Line One #+end_src sh ** Part 2 #+begin_src sh Line Two #+end_src sh * Assamble it #+begin_src sh :tangle yes :noweb tangle <> #+end_src sh --------------------------->%-------------------------------- tangled without my patch: --------------------------->%-------------------------------- Line OneLine Two --------------------------->%-------------------------------- tangled with my patch --------------------------->%-------------------------------- Line One Line Two --------------------------->%--------------------------------