From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Select default clocking task by Bernt Hansen Date: Mon, 06 Sep 2010 19:28:43 -0400 Message-ID: <874oe2wixg.fsf@gollum.intra.norang.ca> References: <87iq2k3k10.wl%yevgeniy.viktorov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33737 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OslJ9-000555-Ly for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 19:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Osl7U-0006eh-PS for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 19:29:02 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:54344) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Osl7U-0006dC-Ns for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 19:29:00 -0400 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: "Yevgeniy A. Viktorov" Cc: emacs-orgmode@gnu.org Yevgeniy A. Viktorov writes: > Hello, > > I've been reading http://doc.norang.ca/org-mode.html > and a bit stack with http://doc.norang.ca/org-mode.html#Clocking > > as far I understand Bernt has "* Organization"(first level) task in his norang.org > and according to this: > >> The first punch-in of the day (f9 I) shows the context agenda view >> if no default task is selected, otherwise it just clocks in the >> default task. > > it must be shown in agenda, but it's not, I seeing empty agenda with the following: > Set default clocking task with C-u C-u I > > And according to Custom Agenda Views setup > http://doc.norang.ca/org-mode.html#sec-6 > > ("c" "Select default clocking task" tags "LEVEL=2-REFILE" > ((org-agenda-skip-function > '(org-agenda-skip-subtree-if 'notregexp "^\\*\\* Organization")) > (org-agenda-overriding-header "Set default clocking task with C-u C-u I")))))) > > "Organization" task must be placed onto second level, i.e. it only > works if I put "** Organization" somewhere. But than I'm loosing > concept, thought default task must be set per organization/client > file? > > Would be nice if someone could throw light on this :) > > Thanks. Hi Yevgeniy, I actually have 3 'Organization' tasks that I clock in -- all at level 2. These are in 3 different org files and are listed in my org-agenda-files variable. My current layout is like this: ,----[ todo.org ] | #+FILETAGS: HOME | ... | * Miscellaneous :misc: | ** Organization | ... `---- ,----[ org.org ] | #+FILETAGS: ORG | ... | * Tuning :tuning: | ** Organization | ... `---- ,----[ norang.org ] | #+FILETAGS: NORANG | ... | * Administration :admin: | ** Organization | ... `---- I used to have a first level * Organization task when I was clocking in by ID but that set up has changed. It's possible I still have references to the old layout in the document that needs to be updated. Sorry about the confusion. Do you have any suggestions on how I can improve the documentation to make this more clear? Regards, Bernt