I want my default agenda view to include archived trees from .org_archive
files.
From the manual we learn:
v a (org-agenda-archives-mode)
v A (org-agenda-archives-mode 'files)
Toggle Archives mode. In Archives mode, trees that are marked ARCHIVED are also scanned when producing the agenda. When you use the capital A, even all archive files are included. To exit archives mode, press v a again.
However, when I (org-agenda-archives-mode 'files)
I get the following error at startup:
Symbol's function definition is void: org-agenda-archives-mode
How can I get the default-agenda to include archived trees?
(require 'org-archive)
and then you can use functions from that library.org-archive
.org-archive.el
is part of theorg-mode
library: github.com/emacs-mirror/emacs/blob/master/lisp/org/…(require 'org-archive)
in my config, though.org-agenda.el
library can be loaded the same way:(require 'org-agenda)