Re: [O] map function definitions to org src blocks?

2018-11-09 Thread John Kitchin
It looks like it is possible to get describe-func to point to an org-file. Suppose I have a file /Users/jkitchin/vc/journal/2018/11/09/2018-11-09.org that has src blocks that tangle to /Users/jkitchin/vc/journal/2018/11/09/test.el. When test.el is loaded, it adds a bunch of stuff to the variable lo

Re: [O] map function definitions to org src blocks?

2018-11-08 Thread Matt Price
THanks John. I guess I should always just start my search for "something cool I saw" in scimax... Yes, thisis pretty great. I havebeen using ~helpful~ which hasa nice interface for some extra functions, but these functions do most of what I felt was missing. On Thu, Nov 8, 2018 at 6:02 PM John Ki

Re: [O] map function definitions to org src blocks?

2018-11-08 Thread John Kitchin
I wrote something kind of like this at https://github.com/jkitchin/scimax/blob/master/scimax-literate-programming.el It might solve a different problem related to navigating code embedded in org files. I don't think it works on describe-function. That would be an interesting addition perhaps. I

[O] map function definitions to org src blocks?

2018-11-08 Thread Matt Price
I feel like I saw someone do this but can't find it in my notes. When tangling code to elisp, is it possible to point ~describe-function~ to the original org-mode source (or at least the src block) as the "source code" for the function, rather than the resultant .e file produced by org-babel-tangle