From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: [ERROR] if: Agenda file s not in `org-mode' Date: Tue, 29 Nov 2011 12:54:16 -0600 Message-ID: References: <4CF4369F-7D1A-4F5D-93F0-A6CCF7DAECCB@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175cd88462ee0a04b2e42557 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVSov-0004Yq-Kv for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 13:54:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVSor-0001td-Kb for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 13:54:21 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:54422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVSor-0001tS-Fk for emacs-orgmode@gnu.org; Tue, 29 Nov 2011 13:54:17 -0500 Received: by bke17 with SMTP id 17so11927090bke.0 for ; Tue, 29 Nov 2011 10:54:16 -0800 (PST) In-Reply-To: <4CF4369F-7D1A-4F5D-93F0-A6CCF7DAECCB@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Org Mode --0015175cd88462ee0a04b2e42557 Content-Type: text/plain; charset=ISO-8859-1 Thank you all, The problem was that this file shouldn't actually be part of the agenda. If I really wanted to, I'd have to add the mode to it, like Carnsten and Bernt suggested. Cheers, Marcelo. On Tue, Nov 29, 2011 at 12:36 PM, Carsten Dominik wrote: > > On 29.11.2011, at 18:39, Marcelo de Moraes Serpa wrote: > > > 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? > > The first line of that file should look like > > -*- mode: org -*- > > > does it? > > - Carsten --0015175cd88462ee0a04b2e42557 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you all,

The problem was that this file shouldn= 9;t actually be part of the agenda. If I really wanted to, I'd have to = add the mode to it, like Carnsten and Bernt suggested.

Cheers,

--0015175cd88462ee0a04b2e42557--