From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with automatic recursive adding of org-agenda-files Date: Thu, 24 Oct 2013 07:49:01 -0400 Message-ID: <87sivqkhxu.fsf@gmail.com> References: <87zjq0dydq.fsf@ericabrahamsen.net> <8738nskw0t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZJPk-0000rN-JK for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 07:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZJPd-0001tq-AX for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 07:49:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:56541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZJPd-0001th-3a for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 07:49:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VZJPc-0003Gq-1a for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 13:49:12 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Oct 2013 13:49:12 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Oct 2013 13:49:12 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org [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 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