From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Masterson Subject: Re: Bug: Org-agenda-files replaces directories with explicit filenames [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/sindikat/.emacs.d/elpa/org-20140303/)] Date: Thu, 13 Mar 2014 11:58:04 -0700 Message-ID: <86vbvidiyr.fsf@gmail.com> References: <87a9d3n7p1.fsf@mail36.net> <87ob1arv7r.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOApk-00042K-Ow for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 14:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOApf-0006Bx-Ef for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 14:58:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:46420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOApf-00069u-8q for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 14:58:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WOApd-0000Ju-RD for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 19:58:17 +0100 Received: from 71-84-12-50.dhcp.trlk.ca.charter.com ([71.84.12.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 19:58:17 +0100 Received: from dsmasterson by 71-84-12-50.dhcp.trlk.ca.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 19:58:17 +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 Bastien writes: > Hi, > > sindikat@mail36.net (sindikat@mail36.net) writes: > >> I have a directory tasks/ in org-agenda-files variable. When i add a >> file to org-agenda-files variable through C-c [ command >> (org-agenda-file-to-front), the directory path is replaced by paths of >> the files, that are currently in that directory. It is bad, because when >> i add some files to tasks/ later on, they will not contribute to my >> agenda. > > Actually I don't understand the problem: the command adds a file to > the list of agenda files, not the entire directory. Adding the entire > directory is not what most users would want. What I'm missing? Actually, Bernt Hansen's paper suggests that it's easier to put directories into the org-agenda-files list so that he can just have a few places where all his agendas are kept and anytime he adds a new file to his list of agendas, he doesn't have to change his configuration and, so, doesn't forget the new file. -- David Masterson