emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jeff Kowalczyk <jeff.kowalczyk@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: clocktable column order e.g. :properties at rightmost position?
Date: Mon, 2 Sep 2013 06:58:04 +0200	[thread overview]
Message-ID: <D8CF803F-5355-40C8-96F2-6709689CC45D@gmail.com> (raw)
In-Reply-To: <loom.20130831T185601-621@post.gmane.org>

Hi Jeff,

there is not way to change the order of columns easily.  What you can do is copy the function `org-clocktable-write-default' and change the output in the way you like.  The time string for clock tables is currently not configurable.

Sorry.

- Carsten

On 1.9.2013, at 14:47, "friends@michelfetzer.de" <friends@michelfetzer.de> wrote:

On 31.8.2013, at 18:58, Jeff Kowalczyk <jeff.kowalczyk@gmail.com> wrote:

> Is there a way to configure column order in clocktable output? I have a
> workable way to display TAGS now for clocked task now, but the width of
> multiply-tagged items will make the clocktable output less usable. I'd
> prefer to move it over to the right-most position:
> 
> : #+BEGIN: clocktable :maxlevel 2 :scope file :emphasize nil :block today 
> :                     :link nil :indent nil :properties ("TAGS")
> : #+CAPTION: Clock summary at [2013-08-31 Sat 09:25], 
> :            for Saturday, August 31, 2013.
> : | TAGS      | Headline                               | Time   |      |
> : |-----------+----------------------------------------+--------+------|
> : |           | *Total time*                           | *1:05* |      |
> : |-----------+----------------------------------------+--------+------|
> : |           | <2013-08-31 Sat>                       | 1:05   |      |
> : |           | TODO db query test                     |        | 0:18 |
> : |           | TODO time-tracking-tools               |        | 0:26 |
> : | :foo:bar: | DONE jsmith re: new idea               |        | 0:15 |
> : | :bar:     | DONE article attack driven defense...  |        | 0:06 |
> : #+END:
> 
> The option:
> 
> : :formatter A function to format clock data and insert into the buffer.
> 
> sounds promising if it could advise the existing function without
> reimplementing large parts of it. I'm searching for :formatter
> documentation and examples, haven't found any direct references yet.
> 
> Secondary question: with the today and yesterday tracking clocktables
> I'm using, can I configure formatting of the string:
> "for Saturday, August 31, 2013." as a normal org timestamp:
> "for [2013-08-31 Sat]."?
> 
> Thanks,
> Jeff
> 
> 
> 

      reply	other threads:[~2013-09-02  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-31 16:58 clocktable column order e.g. :properties at rightmost position? Jeff Kowalczyk
2013-09-02  4:58 ` Carsten Dominik [this message]

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=D8CF803F-5355-40C8-96F2-6709689CC45D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jeff.kowalczyk@gmail.com \
    /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).