From: Eric Schulte <eric.schulte@gmx.com>
To: Torsten Anders <torsten.anders@beds.ac.uk>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: noweb problem
Date: Mon, 28 Nov 2011 13:14:18 -0700 [thread overview]
Message-ID: <871uss3syt.fsf@gmx.com> (raw)
In-Reply-To: <98A0366C-39E7-4767-AFDC-25448A273927@beds.ac.uk> (Torsten Anders's message of "Mon, 28 Nov 2011 20:08:11 +0000")
Hi Torsten,
The change here is in the naming conventions, "srcname" is no longer a
valid method of naming a code block, try "name" instead. e.g.,
#+name: sh-test-noweb
#+begin_src sh
~
#+end_src
#+begin_src sh :noweb yes
ls <<sh-test-noweb>>
#+end_src
Best,
Torsten Anders <torsten.anders@beds.ac.uk> writes:
> Dear Org babel developers,
>
> In the simple test below I would expect that the second cope block
> expands to "ls ~", but seemingly it instead expands to "ls" only. What
> am I missing?
>
> #+srcname: sh-test-noweb
> #+begin_src sh
> ~
> #+end_src
>
> #+begin_src sh :noweb yes
> ls <<sh-test-noweb>>
> #+end_src
>
> Did anything perhaps change in the literate programming interface?
> Apologies if I missed something obvious or if I am victim of some
> stupid typo.
>
> Thanks a lot!
>
> Best wishes,
> Torsten
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte/
next prev parent reply other threads:[~2011-11-28 20:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-28 20:08 noweb problem Torsten Anders
2011-11-28 20:14 ` Eric Schulte [this message]
2011-11-28 22:07 ` Torsten Anders
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=871uss3syt.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=emacs-orgmode@gnu.org \
--cc=torsten.anders@beds.ac.uk \
/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).