emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] cannot comment out noweb references
Date: Sun, 23 Feb 2014 20:12:15 -0700	[thread overview]
Message-ID: <CAJcAo8v97Pn8cuMx41zzV7QxRHxu1U7AhfeXWFL6C2eX=BoK7A@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8u+3b0=u5+uEcfAR88N3cApUKggbLkQ3WTnf_t3Ja6dFw@mail.gmail.com>

By which I mean, the bug should be reproducible if you do so.

On 2/11/14, Samuel Wales <samologist@gmail.com> 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 <schulte.eric@gmail.com> wrote:
>> Samuel Wales <samologist@gmail.com> 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.
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it without warning.

Denmark: free Karina Hansen NOW.

  reply	other threads:[~2014-02-24  3:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05  3:07 [babel] cannot comment out noweb references Samuel Wales
2014-02-05  4:59 ` Eric Schulte
2014-02-05  5:44   ` Samuel Wales
2014-02-06  0:57     ` Eric Schulte
2014-02-06  7:55       ` Samuel Wales
2014-02-06  7:59         ` Samuel Wales
2014-02-11  7:21       ` Samuel Wales
2014-02-24  3:12         ` Samuel Wales [this message]
2014-03-06 16:51           ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJcAo8v97Pn8cuMx41zzV7QxRHxu1U7AhfeXWFL6C2eX=BoK7A@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).