From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: org-agenda-files skips two files Date: Sun, 17 Feb 2013 15:42:59 +0000 (UTC) Message-ID: <87r4kfx88f.fsf@mean.albasani.net> References: <87lianbj45.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U76Oe-0000hw-Eh for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 10:43:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U76Oc-0002V4-Hu for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 10:43:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:45679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U76Oc-0002Uh-Bl for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 10:43:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U76Ou-00005t-Bm for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 16:43:36 +0100 Received: from e178195038.adsl.alicedsl.de ([85.178.195.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2013 16:43:36 +0100 Received: from gegendosenfleisch by e178195038.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2013 16:43:36 +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 Hi, Eric Abrahamsen writes: > 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) Did you try edebuging defun org-agenda-files in org.el? Seems like the relevant bit that extracts all org files from the directory is: (apply 'append (mapcar (lambda (f) (if (file-directory-p f) (directory-files f t org-agenda-file-regexp) (list f))) org-agenda-files)) Are epubnotes.org and running.org getting returned with the other files? Do you have org-agenda-skip-unavailable-files set to t? Memnon