emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Stephen P. Schaefer" <sschaefer@acm.org>
Cc: 17523-done@debbugs.gnu.org
Subject: bug#17523: 24.1; code block ":noweb no" ignored in org-mode
Date: Sat, 23 Dec 2017 14:19:19 +0100	[thread overview]
Message-ID: <878tdtk2eg.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <1400418929.6111.118692029.7F2AC4F3@webmail.messagingengine.com> (Stephen P. Schaefer's message of "Sun, 18 May 2014 09:15:29 -0400")

Hello,

"Stephen P. Schaefer" <sschaefer@acm.org> writes:

> I'm trying to use org-mode noweb syntax to deal with erlang code that
> involves bit strings.  This is an example t.org file:
>
> #+STARTUP: indent
> * top level
>
>   #+begin_src erlang :noweb yes :tangle hello.erl
>   -module(hello).
>   -export(hello).
>   <<defines>>
>   <<functions>>
>   #+end_src
>
> ** defines :PROPERTIES: :noweb-ref: defines :END:
>
> #+begin_src erlang :noweb no
> -define(HELLO, <<"hello world">>).
> #+end_src
>
> ** functions :PROPERTIES: :noweb-ref: functions :END:
>
> #+begin_src erlang
> hello() -> ?HELLO.
> #+end_src
>
> I want it to tangle to
>
> -module(hello).
> -export(hello).
> -define(HELLO, <<"hello world">>).
> hello() -> ?HELLO.
>
> Instead it tangles to
>
> -module(hello).
> -export(hello).
> -define(HELLO, ).
> hello() -> ?HELLO.

This is now fixed. Thank you.

Note however, that Babel properties syntax changed since this report.
Properties drawers should be, e.g.,

   :PROPERTIES:
   :header-args: :noweb-ref functions
   :END:

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

           reply	other threads:[~2017-12-23 13:20 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1400418929.6111.118692029.7F2AC4F3@webmail.messagingengine.com>]

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=878tdtk2eg.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=17523-done@debbugs.gnu.org \
    --cc=sschaefer@acm.org \
    /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).