emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Clock table not responding to :tags?


From: John Hendy
Subject: Re: [O] Clock table not responding to :tags?
Date: Thu, 10 Mar 2011 20:39:18 -0600

On Thu, Mar 10, 2011 at 8:20 PM, Bernt Hansen <address@hidden> wrote:
> John Hendy <address@hidden> 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?

I just build from git yesterday. Though... is there anyway to test the
integrity of a build? This was my first time building orgmode on OS X
and I was not sure it would work without Developer Tools... but I
watched it whir away, installed with 'make install' and things are
seeming to function. I did get a lot of notes like this:
,---
| In end of data:
| org-agenda.el:8228:1:Warning: the following functions are not known to be
|    defined: org-habit-insert-consistency-graphs, calendar-iso-from-absolute,
|    org-is-habit-p, org-habit-parse-todo, org-habit-get-priority,
|    org-columns-quit, calendar-absolute-from-iso,
|    org-datetree-find-date-create
`---
There was a set like that for about every .el file.

That's the only real thought that's coming to mind re. oddities on
this system vs. my work one which works.


Thanks for the assistance,
John

>
> --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
>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]