From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] cannot comment out noweb references Date: Wed, 05 Feb 2014 17:57:47 -0700 Message-ID: <8761otcaj8.fsf@gmail.com> References: <87r47iw3wc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDUv-0007Or-AJ for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 20:11:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBDUo-00081F-W7 for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 20:11:21 -0500 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:40493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDUo-00080Z-Ol for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 20:11:14 -0500 Received: by mail-pd0-f171.google.com with SMTP id g10so1050010pdj.30 for ; Wed, 05 Feb 2014 17:11:13 -0800 (PST) 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: Samuel Wales Cc: emacs-orgmode@gnu.org 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