[-- Attachment #1: Type: text/plain, Size: 319 bytes --] Hey guys, When trying to show up the archived items in the agenda view, I'm getting this message: "Agenda file /Users/fullofcaffeine/org/gtd/gtd.org_archive is not in `org-mode'" To fix it, I have to manually open gtd.org_archive, and "M-x org-mode" it. Any ideas on why this happens? Thanks in advance, Marcelo. [-- Attachment #2: Type: text/html, Size: 603 bytes --]
Hi Marcelo, Did you try (add-to-list 'auto-mode-alist '("\\.org_archive$" . org-mode))? Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. There is NO hope without action. This means YOU.
On 23.4.2013, at 20:10, Samuel Wales <samologist@gmail.com> wrote: > Hi Marcelo, > > Did you try (add-to-list 'auto-mode-alist '("\\.org_archive$" . org-mode))? This should work. Also, if Org is creating a new archive file, it should automatically insert a line like # -*- mode: org -*- at the beginning of the file, which will force org-mode for this file. Maybe you created this archive file in a different way? - Carsten > > Samuel > > -- > The Kafka Pandemic: http://thekafkapandemic.blogspot.com > > The disease DOES progress. MANY people have died from it. ANYBODY > can get it. There is NO hope without action. This means YOU. >