From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: automatically (?) including an org-file in org-agenda-files ... Date: Tue, 25 Sep 2007 09:47:25 -0700 Message-ID: <9831ec6fb2fc537333ba0d4c13d90706@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaDZS-0000HU-N1 for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 12:47:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaDZO-0000Eg-3o for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 12:47:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaDZN-0000Ed-UZ for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 12:47:33 -0400 Received: from rv-out-0910.google.com ([209.85.198.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaDZN-0001CQ-J4 for emacs-orgmode@gnu.org; Tue, 25 Sep 2007 12:47:33 -0400 Received: by rv-out-0910.google.com with SMTP id c27so1664355rvf for ; Tue, 25 Sep 2007 09:47:32 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: emacs-orgmode@gnu.org On Sep 20, 2007, at 5:14, Rainer Stengele wrote: > I sometimes work in an org-file that I currently do not have included > in org-agenda-files. > > Having the cursor for example on a timestamp in that file and pressing > TAB I will see the agenda of > that day. > > What happens is that the agenda opens and I do not see my todo since > the file is not in > org-agenda-files. This seems unintuitive to me. I will then manually > add the current file to > org-agenda-files. > > Maybe there could be a variable allowing to automatically include the > current org file in > org-agenda-files when agenda view is activated from a on-included file? > > What do you think? After some thinking, it seems to me that this is not the right thing to do. As I said earlier in the thread, adding a file should be something you explicitly request. It you want to temporarily look at the agenda entry a file would produce, you can always create an agenda restricted to the current buffer. That buffer does not have to be a member of org-agenda-files. E.g. C-c a 1 a - Carsten