From: Roland Donat <roland.donat@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [bug suspected] Org tangles #+HEADER in the source code when using :comments org
Date: Wed, 10 Sep 2014 13:28:06 +0000 (UTC) [thread overview]
Message-ID: <loom.20140910T152607-856@post.gmane.org> (raw)
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 other threads:[~2014-09-10 13:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140910T152607-856@post.gmane.org \
--to=roland.donat@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).