emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] cannot comment out noweb references


From: Samuel Wales
Subject: Re: [O] [babel] cannot comment out noweb references
Date: Tue, 11 Feb 2014 00:21:17 -0700

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 <address@hidden> wrote:
> Samuel Wales <address@hidden> 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 <<whatever>>
>> #+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 <<whatever>>
> #+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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]