org-tag-alist
will list tags exactly as they are defined in the .emacs or init file, e.g.
((:startgroup . nil) ("@computer" . ?c) ("@phone" . ?p) ("@home" . ?h) (:endgroup . nil))
Is there a variable that "cleans" this format so that the tags are easily accessible as a list?
("@computer" "@phone" "@home")
This is similar to how org-done-keywords
will parse (though it'll only take the done keywords) the much messier org-todo-keywords
(which is a list of sequences).
org-global-tags-completion-table
? See also the functionorg-get-buffer-tags
.((#("parent" 0 2 (inherited t))) ("@phone") ...)
. I'd guess one would still have to write a function to parse the tags from this format as a list?#
mean in front of the list for the inherited tag? Is it equivalent to the same list without the hash sign?org-tags-view
uses as it relates to potential tag completions, and I suspect there are some additional functions already in existence that further parse the results from the functions mentioned in the first comment. Once you find them, that should save you the trouble of writing your own function. I don't have any inherited tags in my setup, so I couldn't answer that question without guessing about things like arrays and text properties -- sorry.