emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [ERROR] if: Agenda file s not in `org-mode'


From: Bernt Hansen
Subject: Re: [O] [ERROR] if: Agenda file s not in `org-mode'
Date: Tue, 29 Nov 2011 12:51:35 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Marcelo de Moraes Serpa <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]