emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Comments in tangled source


From: Erik Iverson
Subject: Re: [Orgmode] Comments in tangled source
Date: Fri, 03 Sep 2010 23:13:07 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

On 09/03/2010 10:54 PM, aditya siram wrote:
Hi all,
I have a heading like this :
* Root
Comments about root.
#+begin_src haskell :noweb yes :comments yes :tangle Main.hs
   main = print "hello world"
#+end_src

When I tangle the file, I would expect the "Comments about root" to be a
comment above the source like so:

-- Comments about root
main = print "hello world"

but I don't get this. What am I doing wrong?

As far as I know, that's not what ":comments" is for. It just references
which chunk it came from.

I proposed this very feature, see
http://eschulte.github.com/babel-dev/PROPOSED-tangle-entire-org-mode-file-in-comments.html and the associated gmane thread linked from there...

I assume you know about the code export features that could generate very
nice annotated code in HTML or PDF.




reply via email to

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