From: Bastien <bzg@gnu.org>
To: Noah Slater <nslater@tumbolia.org>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: How can you sort an Org clock table?
Date: Wed, 16 Apr 2014 18:26:12 +0200 [thread overview]
Message-ID: <87wqepw76r.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CA+Y+4467vf+6s7n1y6-K9eWjbF_E23Bmo0Wi+EasiPhqVZ48cw@mail.gmail.com> (Noah Slater's message of "Mon, 31 Mar 2014 12:18:37 +0200")
Hi Noah,
from master, you can now use a :sort parameter in clocktable
to sort a column. For example:
#+BEGIN: clocktable :maxlevel 2 :scope file :sort (2 . ?t)
#+CAPTION: Clock summary at [2014-04-16 mer. 18:12]
| Headline | Time |
|--------------+--------|
| *Total time* | *0:34* |
|--------------+--------|
| STRT abc | 0:15 |
| STRT def | 0:19 |
#+END:
The (2 . ?t) means: "sort the second column by time."
Let me know if it works for you,
--
Bastien
next prev parent reply other threads:[~2014-04-16 16:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-30 21:00 How can you sort an Org clock table? Noah Slater
2014-03-30 21:24 ` Nick Dokos
2014-03-30 22:25 ` Noah Slater
2014-03-31 1:06 ` Nick Dokos
2014-03-31 10:18 ` Noah Slater
2014-03-31 12:45 ` Nick Dokos
2014-03-31 13:23 ` Noah Slater
2014-04-16 16:26 ` Bastien [this message]
2014-04-16 17:01 ` Noah Slater
2014-04-20 9:41 ` Noah Slater
2014-04-20 10:22 ` Bastien
2014-05-24 18:33 ` Noah Slater
2014-05-24 22:39 ` 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=87wqepw76r.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
--cc=nslater@tumbolia.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).