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

2014-05-24 Thread Bastien
Hi Noah, Noah Slater writes: > Here's a broken example: > > #+BEGIN: clocktable :maxlevel 2 :link :scope file :sort (2 . ?T) > #+END: You need :link t or :link nil for this block to be correctly formatted. HTH, -- Bastien

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

2014-05-24 Thread Noah Slater
Here's a broken example: #+BEGIN: clocktable :maxlevel 2 :link :scope file :sort (2 . ?T) #+END: * A CLOCK: [2014-05-24 Sat 10:00]--[2014-05-24 Sat 11:00] => 1:00 * B CLOCK: [2014-05-24 Sat 11:00]--[2014-05-24 Sat 12:30] => 1:30 * C CLOCK: [2014-05-24 Sat 12:30]--[2014-05-24 Sat 15:00] => 2:30

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

2014-04-20 Thread Bastien
Noah Slater writes: > If you add ":link" to the BEGIN blog, the sorting doesn't appear to > kick in. Bug, I expect. Please provide a reproducible example. -- Bastien

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

2014-04-20 Thread Noah Slater
Hmm. I'm not sure this is working. If you add ":link" to the BEGIN blog, the sorting doesn't appear to kick in. Bug, I expect. If I remove ":link" I can see that some sorting is taking place. But it's not what I expect. With "?t" I am getting this sort order: - (empty cell) - "4:02" - "1d 5:15"

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

2014-04-16 Thread Noah Slater
Thanks Bastien! I'll look into this and report back. On 16 April 2014 18:26, Bastien 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

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

2014-04-16 Thread Bastien
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* | |-

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

2014-03-31 Thread Noah Slater
Okay thanks. If anyone else does know, I'd really appreciate it. Thanks! :) On 31 March 2014 14:45, Nick Dokos wrote: > Noah Slater writes: > > > Ah yes, I see that I have to move the point into the table cell. I was > > trying with the table header. Slightly odd that. Means that it only > > w

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

2014-03-31 Thread Nick Dokos
Noah Slater writes: > Ah yes, I see that I have to move the point into the table cell. I was > trying with the table header. Slightly odd that. Means that it only > works on tables that aggregate clock times across multiple files, > where the times are put in the same cell. Can you replicate? If

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

2014-03-31 Thread Noah Slater
Ah yes, I see that I have to move the point into the table cell. I was trying with the table header. Slightly odd that. Means that it only works on tables that aggregate clock times across multiple files, where the times are put in the same cell. Can you replicate? If you do a clocktable with the s

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

2014-03-30 Thread Nick Dokos
Noah Slater writes: > Yeah, tried that. Doesn't work! :( > AFAICT, it works fine on your first stackoverflow example. There is probably no hope of getting this method to work the way you want on your second example though: org-sort does not know anything about the substructure of the table. Th

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

2014-03-30 Thread Noah Slater
Yeah, tried that. Doesn't work! :( On 30 March 2014 23:24, Nick Dokos wrote: > Noah Slater writes: > > > I posted a question on StackOverflow: > > > > > http://stackoverflow.com/questions/22749704/how-can-you-sort-an-org-clock-table > > > > Summary is: how do I sort an clock table by the % col

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

2014-03-30 Thread Nick Dokos
Noah Slater writes: > I posted a question on StackOverflow: > > http://stackoverflow.com/questions/22749704/how-can-you-sort-an-org-clock-table > > Summary is: how do I sort an clock table by the % column? > > Is there anything "out there" I can use to get this working? If not, > how complex a jo

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

2014-03-30 Thread Noah Slater
I posted a question on StackOverflow: http://stackoverflow.com/questions/22749704/how-can-you-sort-an-org-clock-table Summary is: how do I sort an clock table by the % column? Is there anything "out there" I can use to get this working? If not, how complex a job would it be to write something th