emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [ERROR] if: Agenda file s not in `org-mode'
Date: Tue, 29 Nov 2011 12:51:35 -0500	[thread overview]
Message-ID: <877h2i95qw.fsf@norang.ca> (raw)
In-Reply-To: <CACHMzOFsbfP4v2-j3DPzwZ=ZrsWuF0d6dit5M4=2dPKvV_37mA@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Tue, 29 Nov 2011 11:39:04 -0600")

Marcelo de Moraes Serpa <celoserpa@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))


  reply	other threads:[~2011-11-29 17:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 17:39 [ERROR] if: Agenda file s not in `org-mode' Marcelo de Moraes Serpa
2011-11-29 17:51 ` Bernt Hansen [this message]
2011-11-29 18:13 ` Nick Dokos
2011-11-29 18:36 ` Carsten Dominik
2011-11-29 18:54   ` Marcelo de Moraes Serpa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877h2i95qw.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).