emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with automatic recursive adding of org-agenda-files
Date: Thu, 24 Oct 2013 07:49:01 -0400	[thread overview]
Message-ID: <87sivqkhxu.fsf@gmail.com> (raw)
In-Reply-To: 8738nskw0t.fsf@gmail.com


[I got a private reply from Tor Eriksson which was obviously meant for
the list, so I am taking the liberty of reposting it here.]

> Tor Eriksson <teriksson2000@gmail.com> writes:
>
> Eric, Nick, Nicolas, thanks for the feedback.
>
> I tried (setq org-agenda-files '("~/org/")) instead, but on my
> installation it only finds files in this particular dir, not files in
> subdirs to that dir (which is what I want as well).
>
> Now, I tried C-c C-c (in org mode) right on the expression responsible
> for set org-agenda-files in my .emacs.d starterkit file (described in
> the earlier e-mail). To my surprise, this loads all the files into
> org-agenda-files correctly, including the file I renamed. Of course,
> if I now look in the agenda all my dates are there.
>
> However, when shuting off emacs and restarting it, it goes back to the
> old behaviour of loading all files except the newly renamed file. It
> is really strange.
>
> So, when starting from scratch via .emacs.d/starterkit, the file name
> of the new file fails to be set but all other file names are set
> correctly/pushed into org-agenda-files. When evaluating, with C-c C-c,
> the code in starterkit which loads the files to org-agenda-files, all
> files load correctly.
>
> Anyone having an explanation to this? If you have any suggestion for
> debugging please provide some short instruction, I am fairly good in
> programming in general but I am not super conversant with Emacs in
> particular.
>

I suspect you are somehow setting the variable again later in your
.emacs (or your custom file or ...), thereby overwriting its earlier
value. Or there is something going on with starterkit perhaps, but
somebody else will have to chime in here - I know nothing about
starterkit.

> I would be really greatful if we could solve this.

-- 
Nick

  reply	other threads:[~2013-10-24 11:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-23 10:22 Problem with automatic recursive adding of org-agenda-files Tor Eriksson
2013-10-23 11:23 ` Eric Abrahamsen
2013-10-23 12:32   ` Nick Dokos
2013-10-24 11:49     ` Nick Dokos [this message]
2013-10-24 12:58       ` Tor Eriksson
2013-10-24 13:15         ` Nicolas Richard
2013-10-24 15:00           ` Tor Eriksson
2013-10-23 16:02   ` Nicolas Richard
2013-10-24  5:28     ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2013-10-23  9:37 Tor Eriksson
2013-10-23  9:52 ` Tor Eriksson
2013-10-26 14:12 ` Sebastien Vauban
2013-10-26 17:27   ` Mike McLean

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=87sivqkhxu.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --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).