In a previous post How to count tags co-occurrences in a buffer and put them in a matrix I talked about a simple way to "link" to a sparse tree.

So, if you have a "tagA" and like to see where it appears in the buffer, just create a link as 'tag-sparse:tag' and follow it.

Here it is the custom type link. :)

#+begin_src emacs-lisp (org-add-link-type "tag-sparse" 'em/sparse-tree-tag-link) (defun em/sparse-tree-tag-link (tag) "Makes a sparse-tree from the linked tag." (org-occur tag)) #+end_src 

That's it. Short, simple and sweet. I hope someone finds it useful. :)

Best regards...

submitted by /u/edumerco
[link] [comments]