[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] cannot comment out noweb references
From: |
Eric Schulte |
Subject: |
Re: [O] [babel] cannot comment out noweb references |
Date: |
Thu, 06 Mar 2014 09:51:08 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
I think you may have to use the slower and more correct version of noweb
expansion to avoid these sorts of problems.
Best,
Samuel Wales <address@hidden> writes:
> By which I mean, the bug should be reproducible if you do so.
>
> On 2/11/14, Samuel Wales <address@hidden> wrote:
>> 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.
>>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] [babel] cannot comment out noweb references,
Eric Schulte <=