From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#17523: 24.1; code block ":noweb no" ignored in org-mode Date: Sat, 23 Dec 2017 14:19:19 +0100 Message-ID: <878tdtk2eg.fsf@nicolasgoaziou.fr> References: <1400418929.6111.118692029.7F2AC4F3@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSjih-0003gF-1n for emacs-orgmode@gnu.org; Sat, 23 Dec 2017 08:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSjid-0001Pn-3l for emacs-orgmode@gnu.org; Sat, 23 Dec 2017 08:20:07 -0500 Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Message-ID: In-Reply-To: <1400418929.6111.118692029.7F2AC4F3@webmail.messagingengine.com> (Stephen P. Schaefer's message of "Sun, 18 May 2014 09:15:29 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Stephen P. Schaefer" Cc: 17523-done@debbugs.gnu.org Hello, "Stephen P. Schaefer" 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). > <> > <> > #+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