emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>,
	Marcelo de Moraes Serpa <celoserpa@gmail.com>
Subject: Re: Agenda file is not in `org-mode'
Date: Tue, 23 Apr 2013 20:39:38 +0200	[thread overview]
Message-ID: <28C061C5-9020-4E4F-B224-AA2F5CF93CF3@gmail.com> (raw)
In-Reply-To: <CAJcAo8umott0d0Fu1iR6diN-7OM1ck5b7H8+d+cJ6+-Aj2wV5A@mail.gmail.com>


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.
> 

      reply	other threads:[~2013-04-23 18:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 18:07 Agenda file is not in `org-mode' Marcelo de Moraes Serpa
2013-04-23 18:10 ` Samuel Wales
2013-04-23 18:39   ` Carsten Dominik [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=28C061C5-9020-4E4F-B224-AA2F5CF93CF3@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).