Is there a way to gather all the tags used in an org-mode file, and it displays these on a dedicated side pane?

  • You may want to reword the title question. I think people confuse Org tags with TAGS (files used to navigate source code). Also, what about C-c a M? See more here: orgmode.org/manual/…
    – wvxvw
    Apr 21 '16 at 12:56

I use this to generate a table of clickable links:

#+NAME: all-tags
#+BEGIN_SRC emacs-lisp
(let ((new (list)))
  (dolist (tag (org-global-tags-completion-table))
    (setq tag (car tag))
    (push (concat "[[tag:" tag "][" tag "]]\n") new))
  (sort new 'string<))

#+RESULTS: all-tags
| [[tag:3d][3d]]      |
| [[tag:Android][Android]] |
| [[tag:Apple][Apple]]   |
| [[tag:Arch][Arch]]    |

along with this link style:

(org-add-link-type "tag" 
  (lambda (tag) "Show tag" org-tags-view nil tag)))

It shouldn't be too hard to make that open in a separate frame.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.