emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@online.de>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: error while creating agenda clocktable
Date: Fri, 27 Apr 2018 16:06:26 +0200	[thread overview]
Message-ID: <9f042a5e-126d-0568-0cc0-40b399dc45f3@online.de> (raw)
In-Reply-To: <874ljwbw1u.fsf@gnu.org>

Am 27.04.2018 um 15:47 schrieb Bastien:
> Hi Rainer,
> 
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> I will copy the new function and modify it to fit my needs.
> 
> Thanks for this - please share your experience so that we can better
> guide people in updating their code.
> 
> The only backward-incompatible change is that :tags is now :match
> and :tags can now be nil or t to allow to insert tags.
> 
> You might also want to test the new feature.
> 
> Thanks,
> 
Hi Bastien,

thanks for the request, I am glad to do do.

What I really want is a very simple clocktable in my agenda view:

Only 2 columns, CATEGORY, the total clocked time and the sum of clocked time for each CATEGORY in the agenda view.
Using the standard org-clocktable-write-default I see this:

|-----------------------+-----------+-----------------------------------+------|
|                       | GESAMT    | *Gesamtdauer*                       | *2:45* |
|-----------------------+-----------+-----------------------------------+------|
| Projectmanagement.org | *Dateizeit* | *                                 |    * |
|                       | project 1 | *project 1: Projektmanagement*      | 0:15 |
|                       | project 2 | *project 2: Projektmanagement*      | 1:15 |
..

..
my goal is to end up with column 2 and 4:

|-----------+------|
| CATEGORY  | *2:45* |
|-----------+------|
| *Dateizeit* |    * |
| project 1 | 0:15 |
| project 2 | 1:15 |

as I only use 1 project org file and only 1 headline under which I clock my project time.
I would of course be more than happy to have new clocktable options to inhibit the filename column and also the headline lock column, not 
sure how that is named in the code.

In the past I just copied the org-clocktable-write-default and modified it brutally in order to just output my 2 needed columns.
That of course makes it sensitive to code changes..

Thank you.
Regards, Rainer

  reply	other threads:[~2018-04-27 14:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27 12:05 error while creating agenda clocktable Rainer Stengele
2018-04-27 13:00 ` Rainer Stengele
2018-04-27 13:47   ` Bastien
2018-04-27 14:06     ` Rainer Stengele [this message]
2018-04-28  6:37       ` Bastien

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=9f042a5e-126d-0568-0cc0-40b399dc45f3@online.de \
    --to=rainer.stengele@online.de \
    --cc=bzg@gnu.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).