Marcelo de Moraes Serpa <celose...@gmail.com> writes:

> Hi guys,
>
> I added my gtd.org_archive to the agenda as a mean of getting a
> timelog of tasks I complete. Recently, and I don't know why, it
> started to throw the following error when I try to access any of the
> agenda views:
>
> if: Agenda file ~/org/gtd.org_archive is not in `org-mode'
>
> Does anyone know why this happens?
>
> Thanks,
>
> Marcelo.

I'm not sure why you are getting that but adding the archive to your
agenda should _not_ be necessary.  You can instruct the agenda to
include archived files using 'V A' in the agenda.

Does your auto-mode-alist specify .org_archive files for org-mode?

I have the following:

(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\)$"
. org-mode))

HTH,
Bernt

Reply via email to