emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Clock table not responding to :tags?
Date: Thu, 10 Mar 2011 20:39:18 -0600	[thread overview]
Message-ID: <AANLkTi=cCnHCcA5pqMfT88fTWu1DHiEW7QkB_xkREymo@mail.gmail.com> (raw)
In-Reply-To: <87r5aeflf1.fsf@norang.ca>

On Thu, Mar 10, 2011 at 8:20 PM, Bernt Hansen <bernt@norang.ca> wrote:
> John Hendy <jw.hendy@gmail.com> 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	other threads:[~2011-03-11  2:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11  1:56 Clock table not responding to :tags? John Hendy
2011-03-11  2:20 ` Bernt Hansen
2011-03-11  2:39   ` John Hendy [this message]
2011-03-11  2:48     ` Bernt Hansen
2011-03-11  2:55       ` John Hendy
2011-03-11  3:22         ` John Hendy
2011-03-11  3:31         ` Bernt Hansen
2011-03-11  3:54           ` John Hendy
2011-03-11 16:07         ` Nick Dokos
2011-03-11 16:24           ` John Hendy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=cCnHCcA5pqMfT88fTWu1DHiEW7QkB_xkREymo@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).