emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noah Slater <nslater@tumbolia.org>
To: Bastien <bzg@gnu.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 19:01:45 +0200	[thread overview]
Message-ID: <CA+Y+444BKFGa5WbxsoopRMhyM5gPDy682oFQWGSsvDf8sAQdtg@mail.gmail.com> (raw)
In-Reply-To: <87wqepw76r.fsf@bzg.ath.cx>

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

Thanks Bastien! I'll look into this and report back.


On 16 April 2014 18:26, Bastien <bzg@gnu.org> wrote:

> 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
>

[-- Attachment #2: Type: text/html, Size: 1056 bytes --]

  reply	other threads:[~2014-04-16 17:01 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
2014-04-16 17:01           ` Noah Slater [this message]
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=CA+Y+444BKFGa5WbxsoopRMhyM5gPDy682oFQWGSsvDf8sAQdtg@mail.gmail.com \
    --to=nslater@tumbolia.org \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@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).