From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Clock table not responding to :tags? Date: Thu, 10 Mar 2011 21:20:02 -0500 Message-ID: <87r5aeflf1.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=56857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxrxY-0002fC-En for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 21:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxrxW-0005V8-H1 for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 21:20:08 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:59581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxrxW-0005V1-En for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 21:20:06 -0500 In-Reply-To: (John Hendy's message of "Thu, 10 Mar 2011 19:56:11 -0600") 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: John Hendy Cc: emacs-orgmode John Hendy writes: > Hi, > > I have a pretty simple file I just started at home: > ----- > ** [2011-03-09 Wed] > *** dinner :fam: > :LOGBOOK: > CLOCK: [2011-03-09 Wed 18:15]--[2011-03-09 Wed 19:00] => 0:45 > :END: > *** watched music videos with Felicity/played guitar :fam: > :LOGBOOK: > CLOCK: [2011-03-09 Wed 19:00]--[2011-03-09 Wed 19:45] => 0:45 > :END: > *** cleaned up :chore: > :LOGBOOK: > CLOCK: [2011-03-09 Wed 20:00]--[2011-03-09 Wed 20:15] => 0:15 > :END: > *** setup emacs/org-mode :surf: > :LOGBOOK: > CLOCK: [2011-03-09 Wed 20:15]--[2011-03-09 Wed 20:35] => 0:20 > :END: > *** arch forum posting > :LOGBOOK: > CLOCK: [2011-03-09 Wed 20:35]--[2011-03-09 Wed 21:15] => 0:40 > :END: > *** cribbage board :wood: > :LOGBOOK: > CLOCK: [2011-03-09 Thu 21:15]--[2011-03-09 Thu 21:45] => 0:30 > :END: > *** sleep :sleep: > :LOGBOOK: > CLOCK: [2011-03-09 Thu 22:00]--[2011-03-10 Thu 05:15] => 7:15 > :END: > ----- > > But the output table doesn't seem to respond to tags... > > ------ > #+BEGIN: clocktable :maxlevel 3 :scope file :tags "fam" > Clock summary at [2011-03-10 Thu 19:53] > > | L | Headline | Time | > | | > |---+--------------------------------------------------+---------+-------+------| > | | *Total time* | *11:16* | > | | > |---+--------------------------------------------------+---------+-------+------| > | 1 | Time tracking | 11:16 | > | | > | 2 | [2011-03-09 Wed] | | > 10:30 | | > | 3 | dinner | | > | 0:45 | > | 3 | watched music videos with Felicity/played guitar | | > | 0:45 | > | 3 | cleaned up | | > | 0:15 | > | 3 | setup emacs/org-mode | | > | 0:20 | > | 3 | arch forum posting | | > | 0:40 | > | 3 | cribbage board | | > | 0:30 | > | 3 | sleep | | > | 7:15 | > #+END > ----- > > Any suggestions? It says "Updating dynamic block 'clocktable' at line > 12...done" when I C-c C-c, but nothing changes. This is on my Mac, > which is a bit new... at work, if I don't use quotes around the tag, I > get "stringp nil" or something like that. On this computer quotation > marks or not... I don't get a response. > > Any suggestions? > > Thanks, > John Hi John, This works for me but I don't have the same output table format with the level in column 1 as you do. What version of org-mode are you using? --8<---------------cut here---------------start------------->8--- * Testing ** [2011-03-09 Wed] *** dinner :fam: :LOGBOOK: CLOCK: [2011-03-09 Wed 18:15]--[2011-03-09 Wed 19:00] => 0:45 :END: *** watched music videos with Felicity/played guitar :fam: :LOGBOOK: CLOCK: [2011-03-09 Wed 19:00]--[2011-03-09 Wed 19:45] => 0:45 :END: *** cleaned up :chore: :LOGBOOK: CLOCK: [2011-03-09 Wed 20:00]--[2011-03-09 Wed 20:15] => 0:15 :END: *** setup emacs/org-mode :surf: :LOGBOOK: CLOCK: [2011-03-09 Wed 20:15]--[2011-03-09 Wed 20:35] => 0:20 :END: *** arch forum posting :LOGBOOK: CLOCK: [2011-03-09 Wed 20:35]--[2011-03-09 Wed 21:15] => 0:40 :END: *** cribbage board :wood: :LOGBOOK: CLOCK: [2011-03-09 Thu 21:15]--[2011-03-09 Thu 21:45] => 0:30 :END: *** sleep :sleep: :LOGBOOK: CLOCK: [2011-03-09 Thu 22:00]--[2011-03-10 Thu 05:15] => 7:15 :END: ** Clock table #+BEGIN: clocktable :maxlevel 3 :scope file :tags "fam" Clock summary at [2011-03-10 Thu 21:15] | Headline | Time | | | |--------------------------------------------------+--------+------+------| | *Total time* | *1:30* | | | |--------------------------------------------------+--------+------+------| | Testing | 1:30 | | | | [2011-03-09 Wed] | | 1:30 | | | dinner | | | 0:45 | | watched music videos with Felicity/played guitar | | | 0:45 | #+END --8<---------------cut here---------------end--------------->8--- -- Bernt