emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] tangle and comments.


From: Uwe Brauer
Subject: Re: [O] tangle and comments.
Date: Tue, 31 Oct 2017 20:12:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>>> "Yury" == Yury G Kudryashov <address@hidden> writes:

   > Uwe Brauer writes:
   >> Thanks but the following file does not work neither
   >> that is running  org-babel-tangle gives me
   >> 
   >> Tangled 0 code blocks from tangle2.org
   > You should add ":tangle yes" or ":tangle output.el" to header-args.


Hm thanks but it does not work neither

Please try this, for me nothing is tangled.
* tangling with yes or link comments
:PROPERTIES:
:header-args: :comments org
:tangle: output.el
: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
    <<tangle-el-the-second>>)
#+end_src




reply via email to

[Prev in Thread] Current Thread [Next in Thread]