From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: [babel] cannot comment out noweb references Date: Tue, 11 Feb 2014 00:21:17 -0700 Message-ID: References: <87r47iw3wc.fsf@gmail.com> <8761otcaj8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD7el-0007wM-Rj for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 02:21:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WD7eh-0007ku-FP for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 02:21:23 -0500 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:38827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD7eh-0007kC-9Y for emacs-orgmode@gnu.org; Tue, 11 Feb 2014 02:21:19 -0500 Received: by mail-we0-f173.google.com with SMTP id x55so5192675wes.32 for ; Mon, 10 Feb 2014 23:21:18 -0800 (PST) In-Reply-To: <8761otcaj8.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org Try with: (setq org-babel-use-quick-and-dirty-noweb-expansion t) This setting is much, much faster, by the way. On 2/5/14, Eric Schulte wrote: > Samuel Wales writes: > >> hi eric, >> >> #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever >> a >> #+END_SRC >> # #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever >> # b >> # #+END_SRC >> #+BEGIN_SRC sh :results output :noweb yes >> echo <> >> #+END_SRC >> >> it is a bug that babel tries to use b. >> >> babel tries to use COMMENT comments also. >> >> samuel > > When executing the last code block I get the expected output, namely > "a". > > #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever > a > #+END_SRC > > # #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever > # b > # #+END_SRC > > #+BEGIN_SRC sh :results output :noweb yes > echo <> > #+END_SRC > > #+RESULTS: > : a > > Best, > > -- > Eric Schulte > https://cs.unm.edu/~eschulte > PGP: 0x614CA05D > -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.