From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Smith Subject: adding file to agenda removes directories Date: Thu, 31 Dec 2015 14:52:14 -0500 Message-ID: <87mvsq4cr5.fsf@plantarum.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEjGn-0002Bw-1C for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 14:52:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEjGi-00007x-2X for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 14:52:20 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEjGh-00007l-SO for emacs-orgmode@gnu.org; Thu, 31 Dec 2015 14:52:15 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5340D20D22 for ; Thu, 31 Dec 2015 14:52:15 -0500 (EST) Received: from tardis (otwaon0812w-lp140-01-1088793730.dsl.bell.ca [64.229.172.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 07EF26800A8 for ; Thu, 31 Dec 2015 14:52:15 -0500 (EST) 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: orgmode list Hi again, Continuing to play around with getting org files into my agenda, I run into this: I set up org-agenda-files to contain ~/org/, such that all files in that directory are in my agenda. I then add an individual file from elsewhere, via org-agenda-file-to-front. In the process, the entry for the ~/org/ directory is removed, and replaced with explicit entries for every org file in that directory. This leads to surprising behaviour, where new org files in ~/org/ aren't detected by the agenda. The help suggests that org-agenda-files can be a list of 'files and directories', but this behaviour seems to suggest that it can be a list of files, *or* a directory. Am I doing something wrong, or can I not combine files and directories in org-agenda-files? Thanks, Tyler -- http://plantarum.ca