all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tangle source block with options :comments org
@ 2014-09-06 13:39 Roland Donat
  0 siblings, 0 replies; only message in thread
From: Roland Donat @ 2014-09-06 13:39 UTC (permalink / raw)
  To: emacs-orgmode

Dear orgmode community,

My problem is very simple. I have the following piece of org buffer :

---- My piece of org buffer ----
* Exemple : =hello_world=

Some very explicit comments...

#+HEADER: :tangle ./hello_world.py
#+HEADER: :padline yes
#+HEADER: :eval no
#+HEADER: :comments org
#+HEADER: :exports none
#+BEGIN_SRC python
a = "Hello World!"
#+END_SRC
---- end of org buffer ----

When I tangle the file, I would have expected this :

---- expected hello_world.py ----
## Exemple : hello_world

## Some very explicit comments

a = "Hello World"
---- end of expected hello_world.py ----

But instead, I get :

---- hello_world.py ----
## Exemple : hello_world

## Some very explicit comments

## #+HEADER: :tangle ./hello_world.py
## #+HEADER: :padline yes
## #+HEADER: :eval no
## #+HEADER: :comments org
## #+HEADER: :exports none
a = "Hello World"
---- end of hello_world.py ----

I can imagine my question : Why org keeps the "## #+HEADER" lines when 
tangling? Is it possible to remove it?

I use org-mode 8.2.5h on Linux.

Thank you very much for your help!

Cheers,

Roland.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-06 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-06 13:39 Tangle source block with options :comments org Roland Donat

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.