emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Jewell <paul@teulu.org>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda-files
Date: Thu, 8 Oct 2015 22:36:09 +0100	[thread overview]
Message-ID: <5616E1C9.1080606@teulu.org> (raw)
In-Reply-To: <87si5lw3jf.fsf@ucl.ac.uk>



On 08/10/15 20:42, Eric S Fraga wrote:
> On Tuesday,  6 Oct 2015 at 21:34, Paul Jewell wrote:
> 
> [...]
> 
>> So by setting org-user-agenda-files in my .emacs before loading
>> org-mode.el (which I have in my ~/.emacs.d/lisp directory), I should be
>> setting org-agenda-files to ("~/git/org" "~/git/org/test").
> 
> When do you load org itself?
> 
> Other than variables set by customize, I load org and then setq
> variables.
> 

The problem was customize. I set the org-user-agenda-files in .emacs,
then load the org-mode.el. This loads org mode at te top of the file,
then sets org-agenda-files to org-user-agenda-files.

The bit I missed was that org-agenda-files were set in customize to nil,
and this change was happening after the assignment. Once I cleared this,
everything works as planned.

Thanks for coming back to me!

  reply	other threads:[~2015-10-08 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 20:34 org-agenda-files Paul Jewell
2015-10-08 19:42 ` org-agenda-files Eric S Fraga
2015-10-08 21:36   ` Paul Jewell [this message]
2015-10-09  7:15     ` org-agenda-files Eric S Fraga

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=5616E1C9.1080606@teulu.org \
    --to=paul@teulu.org \
    --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).