all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: clocktable and :tags
@ 2010-06-05 16:16 Kristofer Bergstrom
  2010-06-05 16:37 ` Matt Lundin
  0 siblings, 1 reply; 7+ messages in thread
From: Kristofer Bergstrom @ 2010-06-05 16:16 UTC (permalink / raw)
  To: emacs-orgmode

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:

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: clocktable and :tags
@ 2010-06-06  1:25 Kristofer Bergstrom
  0 siblings, 0 replies; 7+ messages in thread
From: Kristofer Bergstrom @ 2010-06-06  1:25 UTC (permalink / raw)
  To: emacs-orgmode

Problem solved!  After upgrading from 6.21b to 6.36c, the :tags option
is now working!  Below is what I did to upgrade.

Thank you to Sebastian, Matt, Bernt, and sshelagh for help along the way!

Kris

wget http://orgmode.org/org-6.36c.tar.gz
tar xzvf org-6.36c.tar.gz
sudo mv org-6.36c /usr/share/emacs/site-lisp/
cd /usr/share/emacs/site-lisp/org-6.36c
following http://orgmode.org/manual/Installation.html#Installation :
 edit the top four variables in "Makefile" as described in Makefile
 make
 make-install
restart emacs23

On Sat, Jun 5, 2010 at 3:30 PM, Bernt Hansen <bernt@norang.ca> wrote:
> Kristofer Bergstrom <kris@OnEnsemble.org> writes:
>
>> I would like to upgrade my version of org-mode (I'm using Emacs23),
>> with the hopes it will solve a problem of the :tags option not being
>> evaluated in clocktable dynamic blocks.  According to "M-x
>> org-version", I am currently using 6.21b.  Matt pointed me to
>> http://orgmode.org/org-6.36c.tar.gz .
>>
>> Is there information available about how to upgrade, or install
>> multiple versions of org-mode?  The "Installation" instructions in the
>> org-mode manual refer to Emacs22 or to enabling the pre-installed
>> Emacs23 version.
>>
>> Thank you in advance!
>
> Hi,
>
> just download the new version and unpack it in some directory then add
> that directory to your load path.
>
> HTH,
> Bernt
>

^ permalink raw reply	[flat|nested] 7+ messages in thread
* clocktable and :tags
@ 2010-06-04 23:39 Kristofer Bergstrom
  2010-06-05  0:49 ` Sebastian Rose
  0 siblings, 1 reply; 7+ messages in thread
From: Kristofer Bergstrom @ 2010-06-04 23:39 UTC (permalink / raw)
  To: emacs-orgmode

I am trying to use the clocktable dynamic block to generate monthly
time reports for my work on a particular project.  I would like to
have a tally of how much time I spent on tasks labelled with the
":ON:ADMIN:" tag.  Looking at a post by Adam Elliott from when the
clocktable block was implemented, I think I'm on the right track, but
my tables do not seem to be affected by the ":tags" option at all.  Am
I doing something silly?

Kris Bergstrom
Los Angeles CA

(In case the text below gets mangled: http://pastebin.ca/1877564 )

#+STARTUP: hidestars

* DONE Call shoj and maz about school gig		     :PHONE:ON:ADMIN:
[2010-06-01 Tue 16:05]
* DONE organize files in tempAudio 				     :CHAPPA:
  CLOCK: [2010-06-01 Tue 16:44]--[2010-06-01 Tue 16:47] =>  0:03
* DONE Buy new slip mat
** DONE Research slip mats					     :ONLINE:
** DONE Buy Butter Rugs						     :ONLINE:
   CLOCK: [2010-06-01 Tue 17:57]--[2010-06-01 Tue 18:06] =>  0:09
* DONE Get files off camera					       :HOME:
  CLOCK: [2010-06-01 Tue 17:48]--[2010-06-01 Tue 18:45] =>  0:57
** DONE Create encrypted folder
* DONE Move cash in 2555 to new Schwab checking
  CLOCK: [2010-06-01 Tue 18:49]--[2010-06-01 Tue 18:51] =>  0:02
* DONE Update sound_input_list w/ Yoko's preferences		   :ON:ADMIN:
  CLOCK: [2010-06-01 Tue 20:19]--[2010-06-01 Tue 20:24] =>  0:05
* DONE Create zip of pics for Cleveland kids			    :TPADMIN:
  CLOCK: [2010-06-01 Tue 20:27]--[2010-06-01 Tue 20:44] =>  0:17
* DONE Take On van to mechanic 					   :ON:ADMIN:
  CLOCK: [2010-06-03 Thu 08:50]--[2010-06-03 Thu 09:36] =>  0:46
* DONE review Many Sides, TsukiE, and Stroll
  :CLOCK:
  CLOCK: [2010-06-03 Thu 17:13]--[2010-06-03 Fri 17:23] =>  0:10
  CLOCK: [2010-06-03 Thu 15:03]--[2010-06-03 Thu 15:09] =>  0:06
  :END:
* DONE Fix bike pedals 						       :HOME:
  CLOCK: [2010-06-04 Fri 14:30]--[2010-06-04 Fri 14:52] =>  0:22
* DONE Water indoor/outdoor plants 				       :HOME:

#+BEGIN: clocktable :tags "ON-ADMIN" :block thismonth :maxlevel 2 :scope file
Clock summary at [2010-06-04 Fri 16:41], for June 2010.

| L | Headline                                           |   Time |      |
|---+----------------------------------------------------+--------+------|
|   | *Total time*                                       | *2:57* |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE organize files in tempAudio                   |   0:03 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Buy new slip mat                              |   0:09 |      |
| 2 | DONE Buy Butter Rugs                               |        | 0:09 |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Get files off camera                          |   0:57 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Move cash in 2555 to new Schwab checking      |   0:02 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Update sound_input_list w/ Yoko's preferences |   0:05 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Create zip of pics for Cleveland kids         |   0:17 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Take On van to mechanic                       |   0:46 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE review Many Sides, TsukiE, and Stroll         |   0:16 |      |
|---+----------------------------------------------------+--------+------|
| 1 | DONE Fix bike pedals                               |   0:22 |      |
#+END:

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

end of thread, other threads:[~2010-06-06  1:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 16:16 clocktable and :tags Kristofer Bergstrom
2010-06-05 16:37 ` 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.