3

org-tags-view shows matches in all agenda files: you have to add this file to your agenda files (at least temporarily). You can do that with C-c[: that adds it to the front of the agenda files. You can later delete it from the list if you want with C-c] (this will delete the file at the front of the list, so I'm assuming you have not added any other files in ...


3

You can sort tags alphabetically using: (setq org-tags-sort-function 'org-string-collate-lessp) Documentation: When set, tags are sorted using this function as a comparator.


1

I don't think it's already in Org. What about (defun my-org-sort-tags () "On a heading sort the tags." (interactive) (when (org-at-heading-p) (org-set-tags (sort (org-get-tags) #'string<)))) for a start? Activate with M-x my-org-sort-tags


1

You can also pass the results to R (or some other program) to do the calculations. #+name: tags #+begin_src emacs-lisp (let (tags) (org-map-entries (lambda () (dolist (tag (org-get-tags)) (push (list tag) tags)))) tags) #+end_src #+begin_src R :var tags=tags sort(table(tags), decreasing=TRUE) #+end_src #+results: | work | 3 | | home ...


Only top voted, non community-wiki answers of a minimum length are eligible