Hello, "Stephen P. Schaefer" <sschae...@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