From: Torsten Anders <torsten.anders@beds.ac.uk>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: noweb problem
Date: Mon, 28 Nov 2011 22:07:53 +0000 [thread overview]
Message-ID: <72F7951A-E29D-4347-B1E9-083698825CF7@beds.ac.uk> (raw)
In-Reply-To: <871uss3syt.fsf@gmx.com>
Ah, thanks a lot!
I should develop the habit of reading the documentation of the development version when using that version...
Best wishes,
Torsten
On 28 Nov 2011, at 20:14, Eric Schulte wrote:
> 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/
prev parent reply other threads:[~2011-11-28 22:08 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
2011-11-28 22:07 ` Torsten Anders [this message]
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=72F7951A-E29D-4347-B1E9-083698825CF7@beds.ac.uk \
--to=torsten.anders@beds.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=eric.schulte@gmx.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).