From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Clock tables and two ways to categorize tasks
Date: Fri, 20 Nov 2020 01:52:54 +1100 [thread overview]
Message-ID: <87d009z9dl.fsf@gmail.com> (raw)
In-Reply-To: <87tutljzxo.fsf@mbork.pl>
Marcin Borkowski <mbork@mbork.pl> writes:
> Hi all,
>
> here's the problem I'd like to solve. I clock various tasks, and then
> generate a clock table. So far, so good. But now I'd like to know
> better where my time goes. Most tasks I do have a few similar
> components: discussion/research, writing code, testing, etc. I thought
> that I could create subheadlines under each of the tasks and give them
> tags like :discuss:, :code:, :test:, :debug: and so on. (Not very
> convenient, but doable, maybe with a bit of Elisp to automate the
> process.)
>
> Now, I'd like to prepare two clock tables: one where I see how much time
> every task took, and one where I can see how much time I spent coding,
> testing, debugging, emailing etc. I can see in the docs that there is
> the ~:match~ option, but if I understand it correctly, it can only
> restrict the table to /one/ tag, so I'd need to have as many tables as
> I have tags - not optimal.
>
> Any ideas? Should I use something else than tags for that?
>
Although I haven't tried it, I think you can have multiple tags. You
should be able to do something like
+TEST+DEBUG-DISCUSS
which would give you those tasks with tags :TEST: and :DEBUG: but not
:DISCUSS:
Have a look at the 'Matching tags and properties" section in the manual
(under the agenda section).
Another approach (actually the one I use) is to put things at different
levels. So at level 1 is the Tasks heading, at level 2 is each TODO at
level 3 is each subtask and at level 4 are the task activities (****
Research, **** Code, **** Meetings, **** Testing, **** Documentation).
My main clock table has :maxlevel 4, which shows a complete breakdown
while the table I use for invoicing (where I only want to show total
time, main task time and sub-task times, but not the level 4 stuff) has
:maxlevel 3.
Actually, I lie a bit. My current invoicing approach actually uses a
custom :formatter function so that my invoice clock table has columns
for rate, amount and total amount. However, the :maxlevel approach was
where I started!
--
Tim Cross
next prev parent reply other threads:[~2020-11-19 14:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 12:25 Clock tables and two ways to categorize tasks Marcin Borkowski
2020-11-19 14:47 ` Mikhail Skorzhisnkii
2020-11-19 14:52 ` Tim Cross [this message]
2020-11-20 8:20 ` Leo Okawa Ericson
2020-11-22 5:55 ` Kristian Grönberg
2020-11-22 7:06 ` Tim Cross
2020-11-22 18:16 ` Jean Louis
2020-11-22 21:28 ` Marcin Borkowski
2020-11-22 22:11 ` Jean Louis
-- strict thread matches above, loose matches on Subject: below --
2020-11-20 0:37 Bala Ramadurai
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=87d009z9dl.fsf@gmail.com \
--to=theophilusx@gmail.com \
--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).