emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kristofer Bergstrom <kris@OnEnsemble.org>
To: emacs-orgmode@gnu.org
Subject: Re: clocktable and :tags
Date: Sat, 5 Jun 2010 09:16:03 -0700	[thread overview]
Message-ID: <AANLkTiksn94waZB_kOWKqPJvDVO93ACXFcdajv9zTn1s@mail.gmail.com> (raw)

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:

             reply	other threads:[~2010-06-05 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05 16:16 Kristofer Bergstrom [this message]
2010-06-05 16:37 ` clocktable and :tags Matt Lundin
  -- strict thread matches above, loose matches on Subject: below --
2010-06-06  1:25 Kristofer Bergstrom
2010-06-04 23:39 Kristofer Bergstrom
2010-06-05  0:49 ` Sebastian Rose
2010-06-05  1:11   ` Kristofer Bergstrom
2010-06-05  1:32     ` Sebastian Rose

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=AANLkTiksn94waZB_kOWKqPJvDVO93ACXFcdajv9zTn1s@mail.gmail.com \
    --to=kris@onensemble.org \
    --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).