emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: hymie@lactose.homelinux.net (hymie!)
To: emacs-orgmode@gnu.org
Subject: list of agenda files in a file
Date: Thu, 18 Sep 2014 22:47:28 +0000 (UTC)	[thread overview]
Message-ID: <lvfne0$sh8$1@ger.gmane.org> (raw)

Greetings.

I'd like to add my _archive files to my agenda.  I don't need the entries
clogging up my day-to-day .org files, but I want the items to still
appear in my agenda.

I found this in the org manual:

>The information to be shown is normally collected from all agenda files,
>the files listed in the variable org-agenda-files[98].
>
>[98] If the value of that variable is not a list, but a single file name,
>then the list of agenda files will be maintained in that external file.

So based on that, I put this in my .emacs file:
  (setq org-agenda-files (quote ("~/org/agenda.file.list")))
but I cannot seem to get this to work.

When that file has a plain old list of filenames in it, I get an error
Agenda file ~/org/agenda.file.list is not in `org-mode'

When that file is empty, then there is nothing in my agenda.  I then
tried using C-c [ to add a file to the list, and I end up with
 '(org-agenda-files (quote ("~/org/file.org" "~/org/agenda.file.list")))
in my .emacs file.

Am I misunderstanding?  The manual sounds like I can maintain a file
that contains a list of files that the agenda should use.  But I can't
seem to make that happen, either automatically or manually.

What am I doing wrong?

--hymie!    http://lactose.homelinux.net/~hymie    hymie@lactose.homelinux.net

             reply	other threads:[~2014-09-18 22:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-18 22:47 hymie! [this message]
2014-09-19  7:27 ` list of agenda files in a file Thorsten Jolitz
2014-09-19 10:41   ` hymie!
2014-09-19 10:59     ` Eric S Fraga
2014-09-19 11:14       ` hymie
2014-09-19 13:08         ` Nick Dokos

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='lvfne0$sh8$1@ger.gmane.org' \
    --to=hymie@lactose.homelinux.net \
    --cc=emacs-orgmode@gnu.org \
    /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).