From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kristofer Bergstrom Subject: Re: clocktable and :tags Date: Sat, 5 Jun 2010 09:16:03 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=59192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKw2Y-0003b6-IE for emacs-orgmode@gnu.org; Sat, 05 Jun 2010 12:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKw2X-0000QY-2R for emacs-orgmode@gnu.org; Sat, 05 Jun 2010 12:16:06 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:39404) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKw2W-0000QQ-Pp for emacs-orgmode@gnu.org; Sat, 05 Jun 2010 12:16:05 -0400 Received: by pxi12 with SMTP id 12so1860027pxi.0 for ; Sat, 05 Jun 2010 09:16:03 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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: