[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] clocktable and :tags
From: |
Kristofer Bergstrom |
Subject: |
Re: [Orgmode] clocktable and :tags |
Date: |
Sat, 5 Jun 2010 09:16:03 -0700 |
Unfortunately, the :tags element of clocktable dynamic blocks does not
seem to be functioning properly. Identical commands on Sebastian's
system worked fine. The problem can be seen below in a test I'm
using. Running C-c C-c while on the clocktable line updates the
timestamp in the clocktable, but the tags element is not being
evaluated.
Perhaps some emacs setting is causing issues? I have tried commenting
out a few (possibly related?) entries in my .emacs file -- (setq
org-todo-keywords and (setq org-tag-alist -- but to no avail.
Or maybe I should upgrade to a newer version of org-mode? I don't
know how to determine the current version I am using... I believe it
came preinstalled with Emacs23, which I installed from Ubuntu 9.04's
apt repositories.
Should I give up on getting :tags working and search for a workaround?
Kris
Here is my .emacs file: http://pastebin.com/eW4KSyL6
>From a buffer called test.org:
#+STARTUP: hidestars
* Work-related project 1 :ON:ADMIN:
CLOCK: [2010-06-05 Sat 05:12]--[2010-06-05 Sat 05:22] => 0:10
* Work-related project 2 :ON:ADMIN:
CLOCK: [2010-06-05 Sat 06:20]--[2010-06-05 Sat 06:25] => 0:05
* Non work-related project 3 :PHONE:
CLOCK: [2010-06-05 Sat 07:33]--[2010-06-05 Sat 07:36] => 0:03
* Non work-related project 4 :ERRAND:
CLOCK: [2010-06-05 Sat 08:13]--[2010-06-05 Sat 08:14] => 0:01
#+BEGIN: clocktable :tags "PHONE" :maxlevel 2 :scope file
Clock summary at [2010-06-05 Sat 08:14]
| L | Headline | Time |
|---+----------------------------+--------|
| | *Total time* | *0:19* |
|---+----------------------------+--------|
| 1 | Work-related project 1 | 0:10 |
|---+----------------------------+--------|
| 1 | Work-related project 2 | 0:05 |
|---+----------------------------+--------|
| 1 | Non work-related project 3 | 0:03 |
|---+----------------------------+--------|
| 1 | Non work-related project 4 | 0:01 |
#+END: