emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Clock table not responding to :tags?
@ 2011-03-11  1:56 John Hendy
  2011-03-11  2:20 ` Bernt Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: John Hendy @ 2011-03-11  1:56 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Bernt Hansen @ 2011-03-11  2:20 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

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?

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11  2:20 ` Bernt Hansen
@ 2011-03-11  2:39   ` John Hendy
  2011-03-11  2:48     ` Bernt Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: John Hendy @ 2011-03-11  2:39 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

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
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11  2:39   ` John Hendy
@ 2011-03-11  2:48     ` Bernt Hansen
  2011-03-11  2:55       ` John Hendy
  0 siblings, 1 reply; 10+ messages in thread
From: Bernt Hansen @ 2011-03-11  2:48 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

John Hendy <jw.hendy@gmail.com> writes:

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

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

<snip>

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

I don't use OSX so I'm not sure how much help I can be here.  I update
my org-mode installation at least once/week from the git repository but
I _never_ do make install (I don't bother compiling either).

I know people have run into problems with a mixture of old and new
installations in their org-mode setup sometimes but I don't have a good
idea how to detect that.  I just run my org-mode directly from the git
repository and put it in the load path first before any other system
level versions and I've never run into any problems with mixed versions
so far.

Someone with more OSX experience will probably need to chime in with
suggestions here.

Regards,
-- 
Bernt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11  2:48     ` Bernt Hansen
@ 2011-03-11  2:55       ` John Hendy
  2011-03-11  3:22         ` John Hendy
                           ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: John Hendy @ 2011-03-11  2:55 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

On Thu, Mar 10, 2011 at 8:48 PM, Bernt Hansen <bernt@norang.ca> wrote:
> John Hendy <jw.hendy@gmail.com> writes:
>
>> 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:
>
> <snip>
>>>> -----
>>>>
>>>> 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?
>
> <snip>
>
>>> 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
>
> I don't use OSX so I'm not sure how much help I can be here.  I update
> my org-mode installation at least once/week from the git repository but
> I _never_ do make install (I don't bother compiling either).
>
> I know people have run into problems with a mixture of old and new
> installations in their org-mode setup sometimes but I don't have a good
> idea how to detect that.  I just run my org-mode directly from the git
> repository and put it in the load path first before any other system
> level versions and I've never run into any problems with mixed versions
> so far.
>

Well, so far I should only have one version? Or not since I installed
emacs as well. I guess that could have overwritten some of the default
packages or mingled with them?

Even so, could I just add a:
,---
| (add-to-list 'load-path "~/.elisp/org.git/lisp")
`---

and be alright?

> Someone with more OSX experience will probably need to chime in with
> suggestions here.
>

That would be great.

John

> Regards,
> --
> Bernt
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11  2:55       ` John Hendy
@ 2011-03-11  3:22         ` John Hendy
  2011-03-11  3:31         ` Bernt Hansen
  2011-03-11 16:07         ` Nick Dokos
  2 siblings, 0 replies; 10+ messages in thread
From: John Hendy @ 2011-03-11  3:22 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

On Thu, Mar 10, 2011 at 8:55 PM, John Hendy <jw.hendy@gmail.com> wrote:
> On Thu, Mar 10, 2011 at 8:48 PM, Bernt Hansen <bernt@norang.ca> wrote:
>> John Hendy <jw.hendy@gmail.com> writes:
>>
>>> 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:
>>
>> <snip>
>>>>> -----
>>>>>
>>>>> 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?
>>
>> <snip>
>>
>>>> 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
>>
>> I don't use OSX so I'm not sure how much help I can be here.  I update
>> my org-mode installation at least once/week from the git repository but
>> I _never_ do make install (I don't bother compiling either).
>>
>> I know people have run into problems with a mixture of old and new
>> installations in their org-mode setup sometimes but I don't have a good
>> idea how to detect that.  I just run my org-mode directly from the git
>> repository and put it in the load path first before any other system
>> level versions and I've never run into any problems with mixed versions
>> so far.
>>
>
> Well, so far I should only have one version? Or not since I installed
> emacs as well. I guess that could have overwritten some of the default
> packages or mingled with them?
>
> Even so, could I just add a:
> ,---
> | (add-to-list 'load-path "~/.elisp/org.git/lisp")
> `---
>

Answer: yes. This fixed the problem for me. Perhaps OS X has a
different path that isn't picking up the installed files? Or could it
be the the compile step didn't execute properly and this allows emacs
to use the raw .el files?

Either way, I'm a happy camper now.


Best regards,
John

> and be alright?
>
>> Someone with more OSX experience will probably need to chime in with
>> suggestions here.
>>
>
> That would be great.
>
> John
>
>> Regards,
>> --
>> Bernt
>>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  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
  2 siblings, 1 reply; 10+ messages in thread
From: Bernt Hansen @ 2011-03-11  3:31 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

John Hendy <jw.hendy@gmail.com> writes:

>
> Well, so far I should only have one version? Or not since I installed
> emacs as well. I guess that could have overwritten some of the default
> packages or mingled with them?
>
> Even so, could I just add a:
> ,---
> | (add-to-list 'load-path "~/.elisp/org.git/lisp")
> `---
>
> and be alright?

I use the following first in my .emacs

(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(require 'org-install)

>
>> Someone with more OSX experience will probably need to chime in with
>> suggestions here.
>>
>
> That would be great.
>
> John

-- 
Bernt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11  3:31         ` Bernt Hansen
@ 2011-03-11  3:54           ` John Hendy
  0 siblings, 0 replies; 10+ messages in thread
From: John Hendy @ 2011-03-11  3:54 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

On Thu, Mar 10, 2011 at 9:31 PM, Bernt Hansen <bernt@norang.ca> wrote:
> John Hendy <jw.hendy@gmail.com> writes:
>
>>
>> Well, so far I should only have one version? Or not since I installed
>> emacs as well. I guess that could have overwritten some of the default
>> packages or mingled with them?
>>
>> Even so, could I just add a:
>> ,---
>> | (add-to-list 'load-path "~/.elisp/org.git/lisp")
>> `---
>>
>> and be alright?
>
> I use the following first in my .emacs
>
> (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
> (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
> (require 'org-install)

Yeah, pretty much what I have, other than the expand-file-name bit.
~/.elisp/org.git is where I keep orgmode, down further I have the
auto-mode-alist line and obviously requiring org-install. I think
we're on the same page.


Thanks for the assistance,
John

>
>>
>>> Someone with more OSX experience will probably need to chime in with
>>> suggestions here.
>>>
>>
>> That would be great.
>>
>> John
>
> --
> Bernt
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11  2:55       ` John Hendy
  2011-03-11  3:22         ` John Hendy
  2011-03-11  3:31         ` Bernt Hansen
@ 2011-03-11 16:07         ` Nick Dokos
  2011-03-11 16:24           ` John Hendy
  2 siblings, 1 reply; 10+ messages in thread
From: Nick Dokos @ 2011-03-11 16:07 UTC (permalink / raw)
  To: John Hendy; +Cc: Bernt Hansen, nicholas.dokos, emacs-orgmode

John Hendy <jw.hendy@gmail.com> wrote:

> ... 
> Well, so far I should only have one version? Or not since I installed
> emacs as well. I guess that could have overwritten some of the default
> packages or mingled with them?
> 
> Even so, could I just add a:
> ,---
> | (add-to-list 'load-path "~/.elisp/org.git/lisp")
> `---
> 
> and be alright?
> 

Yes, although you might want to add the contrib/lisp directory too if you
are using anything from there.  You can use locate-library to make sure that
emacs is loading a file from the place where you expect it to:

M-x locate-library <RET> org <RET>
M-x locate-library <RET> org-clock <RET>

and so on for each file (although it would be pretty weird if it loaded
some files from one place and some from another). Also take a very
careful look at your load-path. That is my first knee-jerk response
every time I see weirdness.

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Clock table not responding to :tags?
  2011-03-11 16:07         ` Nick Dokos
@ 2011-03-11 16:24           ` John Hendy
  0 siblings, 0 replies; 10+ messages in thread
From: John Hendy @ 2011-03-11 16:24 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Bernt Hansen, emacs-orgmode

On Fri, Mar 11, 2011 at 10:07 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> John Hendy <jw.hendy@gmail.com> wrote:
>
>> ...
>> Well, so far I should only have one version? Or not since I installed
>> emacs as well. I guess that could have overwritten some of the default
>> packages or mingled with them?
>>
>> Even so, could I just add a:
>> ,---
>> | (add-to-list 'load-path "~/.elisp/org.git/lisp")
>> `---
>>
>> and be alright?
>>
>
> Yes, although you might want to add the contrib/lisp directory too if you
> are using anything from there.  You can use locate-library to make sure that
> emacs is loading a file from the place where you expect it to:
>

Yeah, sorry... I've just been posting the explicitly relevant stuff. I
have contrib/lisp in there as well for other stuff as well as the
scripts dir for ditta (I think that's why that's there).

> M-x locate-library <RET> org <RET>
> M-x locate-library <RET> org-clock <RET>
>

That's *fantastic*. Had no idea. I will definitely try that.
Specifically (kicking myself as I write this and realize what a dummy
I was), I want to remove the loading of ~/.elisp/org.git, restart
emacs and see what it's using. Then I want to check my prefix in the
orgmode Makefile. Again, shivering as I write this, I realize I never
checked that and am now thinking that 'make install' installed to /usr
perhaps while all the default directories are, say, at /usr/local. Not
sure, but I'm wondering about that now.

> and so on for each file (although it would be pretty weird if it loaded
> some files from one place and some from another). Also take a very
> careful look at your load-path. That is my first knee-jerk response
> every time I see weirdness.
>

Thanks for the input -- it's much appreciated.


John

> Nick
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-11 16:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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