emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How can you sort an Org clock table?


From: Bastien
Subject: Re: [O] How can you sort an Org clock table?
Date: Wed, 16 Apr 2014 18:26:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]