I want tags to auto-complete based on all my org files.

I've found (setq org-complete-tags-always-offer-all-agenda-tags t), but is there any similar line to always-offer-all-tags?;)

  • That's not possible: you may have thousands of org files and at any given moment, emacs knows only of a fraction of them. It knows all the agenda files because the variable org-agenda-files tells it what they are, but it would have to scan all the files in your system and figure out for each one whether it is an org mode file (which theoretically at least would have to open each file and examine the major mode that it ended up in) - that would take forever. You might be able to do what you want as long as you limit yourself to the files that have been opened already. – NickD Sep 30 '20 at 11:55

Your Answer

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

Browse other questions tagged or ask your own question.