From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Donat Subject: [bug suspected] Org tangles #+HEADER in the source code when using :comments org Date: Wed, 10 Sep 2014 13:28:06 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRhwu-0004Ek-EG for emacs-orgmode@gnu.org; Wed, 10 Sep 2014 09:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRhwn-0003tD-O2 for emacs-orgmode@gnu.org; Wed, 10 Sep 2014 09:28:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:56427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRhwn-0003sv-IJ for emacs-orgmode@gnu.org; Wed, 10 Sep 2014 09:28:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XRhwZ-0000WK-5j for emacs-orgmode@gnu.org; Wed, 10 Sep 2014 15:28:19 +0200 Received: from vsp56-2-88-169-163-185.fbx.proxad.net ([88.169.163.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Sep 2014 15:28:19 +0200 Received: from roland.donat by vsp56-2-88-169-163-185.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Sep 2014 15:28:19 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.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.