From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Problem with automatic recursive adding of org-agenda-files Date: Sat, 26 Oct 2013 13:27:52 -0400 Message-ID: <03968130-5069-462E-917C-A865E66A32FC@pobox.com> References: <86wql06ryy.fsf@somewhere.org> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va7ec-0007Rl-0F for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 13:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va7eW-0002iS-Og for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 13:28:01 -0400 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:54435 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va7eW-0002iO-Jh for emacs-orgmode@gnu.org; Sat, 26 Oct 2013 13:27:56 -0400 In-Reply-To: <86wql06ryy.fsf@somewhere.org> 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: Sebastien Vauban Cc: emacs-orgmode@gnu.org On Oct 26, 2013, at 10:12 AM, Sebastien Vauban = wrote: > Tor Eriksson wrote: >> In fact, now I can not get the snippet to pick up *any *new .org file = in >> the directory .../important-directory or subdiretory! Even when the = new >> .org file sits adjacent to a file that is picked up by the snippet. >>=20 >> Also, if I do the same procedure again to another file that is picked = up by >> the snippet by: changing the name of the file, updating agenda with g = and >> pressing Abort. Then this file is also not picked up any more; not = under >> the new name or, if I change the name back, under it's old name. >>=20 >> This is causing serious trouble to me, since I use this system to = keep >> track of deadlines that are really important. >>=20 >> Does anybody have any ideas? >=20 > Check you don't have a "customize-variables" section at the end of = your .emacs > file. >=20 > If you once did `[' or `]' or some such to add one Org file, Org adds = a line in > your .emacs file. And that one will override your settings!! >=20 > Really hard to find, if we don't think at such=85 I add the follow to my setup to avoid any possibility of this: (add-hook 'org-mode-hook '(lambda () (org-defkey org-mode-map "\C-c[" 'undefined) (org-defkey org-mode-map "\C-c]" 'undefined)) 'append)