From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: org-agenda-files skips two files Date: Sun, 17 Feb 2013 13:32:42 +0800 Message-ID: <87lianbj45.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wmr-0005fm-L3 for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 00:27:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6wmq-0006IV-Oo for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 00:27:41 -0500 Received: from plane.gmane.org ([80.91.229.3]:49526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wmq-0006IR-IC for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 00:27:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U6wn8-00074a-Kq for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 06:27:58 +0100 Received: from 114.250.105.255 ([114.250.105.255]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2013 06:27:58 +0100 Received: from eric by 114.250.105.255 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2013 06:27:58 +0100 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've noticed for a while that two org files in my ~/org directory never get added to org-agenda-files, and I can't figure out why. My org-agenda-files is set to '("~/org/"), and yet: (dolist (f (directory-files "~/org" t "org$")) (unless (member f org-agenda-files) (insert (format "%s: %s\n" f (file-attributes f))))) /home/eric/org/epubnotes.org: (nil 1 1000 100 (20752 42274) (20740 56906) (20740 56906) 10673 -rw-r--r-- nil 8655230 2052) /home/eric/org/running.org: (nil 1 1000 100 (20768 26205) (20768 21290) (20768 24128) 423435 -rw-r--r-- nil 5375520 2052) Those two files are never in there. I've tried to find at what point in the code org-agenda-files is first populated: obviously it happens after org-agenda is called for the first time, but I still can't find it! All variables related to filtering org agenda files are set to defaults. I can't see anything about the files themselves that would be "objectionable". If I open them both manually, the second is added to the files list, but the first isn't! Very confused... Eric