jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.56k stars 148 forks source link

org-babel Support? #441

Open Addlai opened 8 months ago

Addlai commented 8 months ago

I'm surprised if this hasn't been addressed somewhere, but my searches turned up nothing.

To be clear, what I'm asking is if I'm editing code using a literate style with org-babel, can dumb-jump jump me from a function use in an org-mode source block to the definition of the function in another org-mode source block. (Or, if the definition wasn't tangled from org-babel, then the definition in the code file.) My impression is that most heavy users of Emacs are using org-babel for a lot of things, like Emacs init file for instance. My init file has almost 12000 lines, much of which is custom lisp code, so I do some jumping around.

jacktasia commented 8 months ago

If it's an actual file and not just a buffer, it should be pretty straightforward to make this work and is very similar to #135

Happy to accept a PR or if you can provide a minimal example file I will try.