emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: Bastien <bzg@altern.org>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [Orgmode] Grouping clock report by tag?
Date: Thu, 5 May 2011 14:33:15 -0500	[thread overview]
Message-ID: <BANLkTinnnoYNEOkrYYwxZZ0EUZXiKzApUA@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinvaq+3qnQAcdHB6g2Ef6zhLZCZZotbeDdcnBdu@mail.gmail.com>

Following up on this again... It's been almost 2mos. Is there any way
to add a tag grouping to clock reports rather than needing to create
clock reports for every tag?

Many thanks,
John

My initial example:
----
A rough idea might be like this:

-----------

#+BEGIN: clocktable :maxlevel 2 :scope agenda
Clock summary at [2011-03-06 Sun 17:59]
| Tag  | Headline         |    Time |      | File           |
|------+------------------+---------+------+----------------|
|      | ALL *Total time* | *10:00* |      |                |
|------+------------------+---------+------+----------------|
| Tag1 | *Tag time*       |  *5:00* |      |                |
|      | [2011-02-04 Fri] |    3:30 |      | 2011-02Feb.org |
|      | Some task        |         | 3:30 |                |
|      | [2011-01-21 Fri] |    0:30 |      | 2011-01Jan.org |
|      | Some task        |         | 0:30 |                |
|      | [2010-12-09 Thu] |    1:00 |      | 2010-12Dec.org |
|      | Some task        |         | 1:00 |                |
|------+------------------+---------+------+----------------|
| Tag2 | *Tag time*       |  *5:00* |      |                |
|      | [2011-02-04 Fri] |    3:30 |      | 2011-02Feb.org |
|      | Some task        |         | 3:30 |                |
|      | [2011-01-21 Fri] |    0:30 |      | 2011-01Jan.org |
|      | Some task        |         | 0:30 |                |
|      | [2010-12-09 Thu] |    1:00 |      | 2010-12Dec.org |
|      | Some task        |         | 1:00 |                |
|------+------------------+---------+------+----------------|
-----

On Fri, Mar 11, 2011 at 4:06 PM, John Hendy <jw.hendy@gmail.com> wrote:
> On Mon, Mar 7, 2011 at 4:11 AM, Giovanni Ridolfi
> <giovanni.ridolfi@yahoo.it> wrote:
>> John Hendy <jw.hendy@gmail.com> writes:
>>
>>> Sorry -- forgot the list...
>>>
>>> On Sun, Mar 6, 2011 at 12:06 PM, John Hendy <jw.hendy@gmail.com> wrote:
>>>
>>>> On Sun, Mar 6, 2011 at 11:42 AM, Bastien <bzg@altern.org> wrote:
>>>>
>>>>> John Hendy <jw.hendy@gmail.com> writes:
>>>>>
>>>>> > How about a clock table with a :tag: column and an option to sort by
>>>>> > common tag?
>>
>> The idea has been already suggested, with patches, but I think the patches
>> got lost during the FSF copyright assignment
>>
>
> Somehow I missed this email!
>
>> 1. by Adam Elliott, see:
>>
>>  On Feb 23, 2010, at 8:13 AM, Adam Elliott wrote:
>>  http://thread.gmane.org/gmane.emacs.orgmode/22526
>>
>
> That looks like the behavior as-is (i.e. a :tags "tagname" option)
>
> Oh, and perhaps the :tags option should be better documented in the
> manual. I tried in vain to combine tags and only just now saw the
> thread that looks like it inspired the :tags option. The mailing list
> posts contains the syntax ("tag1-tag2", "tag1+tag2") but since there
> is no example clocktable using the :tags option in the manual:
> 1) it took me a while even to figure out to put the word in quotations
> 2) I had no idea whatsoever if multiple tags were possible
>
>> 2. And also by B Grobauer, with a huge patch
>>   Sun, 20 Jun 2010 12:24:44 +0200
>>   http://lists.gnu.org/archive/html/emacs-orgmode/2010-06/msg00536.html
>>
>
> Now *this* looks like just what I was loooking for. Yes -- an option
> to group by tag or even simply include a column which lists the tags.
> I can do several tables, but for me this is more just to show where I
> spend my time, not for billing... so it would be great to analyze the
> ratios between my various "buckets" (for which I use tags to
> identify).
>
>> If Bastien is going to implement this feature, I ask again[1]:
>> -----------------------------------------------------
>>  Is it possible to check also for properies
>>  and not only for tag?
>>
>>  we can add a special PROPERTY: CLOCKTAG
>>
>> Rationale:
>> In my setup I have a remember template where I write the task I'm doing.
>> with some information e.g.:
>>
>> ** reading bibliography
>>   CLOCK: [2010-06-21 lun 09:24]
>>  :PROPERTIES:
>>  :ID: lab
>>  :Type:expected
>>  :People: Giovanni
>>  :Location: computer
>>  :Connection: nil
>>  :CLOCKTAG:PV Project
>>  :Comment:
>>  :END:
>>
>> If the function checks also the :PROPERTIES: drawer and the existence of
>> the special PROPERTY: CLOCKTAG I can keep my setup and exploit this
>> marvellous new feature.
>>
>> [1] http://lists.gnu.org/archive/html/emacs-orgmode/2010-06/msg00554.html
>> ---------------------------------------------------------------------------
>>
>> Another method could be to use the clock report from agenda R
>> Date:   Wed, 27 Oct 2010 12:29:25 -0400
>> (Sebastien Vauban)
>> http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg01494.html
>>
>>
>> cheers,
>> Giovanni
>>
>

  reply	other threads:[~2011-05-05 19:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25  0:25 Grouping clock report by tag? John Hendy
2011-03-06 13:20 ` Bastien
2011-03-06 17:02   ` John Hendy
2011-03-06 17:42     ` Bastien
     [not found]       ` <AANLkTim6kxpDVxXw5krSbpDK+x3=wfB2iqN6g9nWujx2@mail.gmail.com>
2011-03-06 18:08         ` John Hendy
2011-03-07 10:11           ` Giovanni Ridolfi
2011-03-11 22:06             ` John Hendy
2011-05-05 19:33               ` John Hendy [this message]
2011-05-05 23:08                 ` [Orgmode] " Bernt Hansen
2011-05-06 20:30                   ` John Hendy
2011-05-06 23:55                     ` Bernt Hansen

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=BANLkTinnnoYNEOkrYYwxZZ0EUZXiKzApUA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.ridolfi@yahoo.it \
    /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).