From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: tangle and comments. Date: Tue, 31 Oct 2017 17:42:11 +0200 Message-ID: <874lqfe33g.fsf@mat.ucm.es> References: <87wp3c7ecu.fsf@mat.ucm.es> <877evbbvyb.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9YgX-0000eb-K6 for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 11:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9YgT-000516-TP for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 11:42:37 -0400 Received: from [195.159.176.226] (port=51039 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9YgT-00050f-Lh for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 11:42:33 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1e9YgF-00089W-4R for emacs-orgmode@gnu.org; Tue, 31 Oct 2017 16:42:19 +0100 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: emacs-orgmode@gnu.org > On Monday, 30 Oct 2017 at 19:08, Uwe Brauer wrote: > You don't way what version of org you are using but I am assuming a > relatively recent version (given your emails in recent past). In this Right I am using GNU emacs 26.5 and a very recent compiled git clone > case, the comments directive is a src block header argument so should > either be on the src line or as a header-args property: > So either > #+begin_src emacs-lisp :comments org > or > :PROPERTIES: > :header-args: :comments org > :END: Thanks but the following file does not work neither that is running org-babel-tangle gives me Tangled 0 code blocks from tangle2.org **** tangling with yes or link comments :PROPERTIES: :header-args: :comments org :END: The top block #+begin_src emacs-lisp :comments org (message "first block") #+end_src here's some text which won't be tangled ***** subheading another block | 1 | first | | 2 | second | #+source: tangle-el-the-second #+begin_src emacs-lisp (message "second") #+end_src and finally a block with a =:noweb= header argument #+begin_src emacs-lisp :noweb yes (progn <>) #+end_src