emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [bug suspected] Org tangles #+HEADER in the source code when using :


From: Roland Donat
Subject: [O] [bug suspected] Org tangles #+HEADER in the source code when using :comments org
Date: Wed, 10 Sep 2014 13:28:06 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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? Is it a bug?

I use org-mode 8.2.5h on Linux.

Thank you very much for your help!

Cheers,

Roland.





reply via email to

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