In ~/.emacs/init.el
i have:
(setq org-agenda-files (list "~/org"))
Most of the .org files in that directory have associated .org_archive files with a long history of archived TODO tasks.
When I run org-agenda, it collects any TODO item in the .org_archive files.
Is there a regex type solution to exclude files ending in .org_archive
? I've previously identified individual files to include in the agenda view but that's getting a little cumbersome.
The value of org-agenda-file-regexp
is:
"\\`[^.].*\\.org\\'"