Yep. Thanks for the patch, Ben. I had set org-babel-default-header-args:clojure to '((:noweb . "tangle")) in my .emacs, so I was getting the benefit of automatic noweb expansion when tangling (but not weaving). It's all fun and games until you break someone else's setup! ;)
~Gary On Wednesday, September 12, 2012 11:46:14 PM UTC-4, Ben Mabey wrote: > > On 9/12/12 9:29 PM, Ben Mabey wrote: > > Thanks for the great example Gary! I've been meaning to try org-babel out > for a while but never got around to it. > > I just tried your example and when I run org-babel-tangle the code blocks > are not expanded into the source file, but rather the code block names are > just inserted into the source destination (e.g. <<find-discounted-subsets>> > instead of the actual function). Any ideas on what may be wrong? Do you > have global settings that are perhaps making the tangle work differently on > your setup? I was able to export the document to HTML just fine and > execute the clojure code, so the only issue appears to be tangling. > > > I found the problem was a missing :noweb argument: > > https://github.com/lambdatronic/org-babel-example/pull/1 > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en