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: Sat, 24 May 2014 20:33:04 +0200	[thread overview]
Message-ID: <CA+Y+445MW0hy+PL-ACmwK=nxJbnwnZXYTJGWa45XevyF9NjA7Q@mail.gmail.com> (raw)
In-Reply-To: <8761m4jo5z.fsf@bzg.ath.cx>

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

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

If you run C-c C-c on the clocktable, it will update, but the sorting is
wrong. It should be in reverse order because it's "T" and not "t".

Now: remove ":link" and try again. The sorting works!


On 20 April 2014 12:22, Bastien <bzg@gnu.org> wrote:

> Noah Slater <nslater@tumbolia.org> 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
>

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

  reply	other threads:[~2014-05-24 18:33 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
2014-04-20  9:41           ` Noah Slater
2014-04-20 10:22             ` Bastien
2014-05-24 18:33               ` Noah Slater [this message]
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+445MW0hy+PL-ACmwK=nxJbnwnZXYTJGWa45XevyF9NjA7Q@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).