From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Add :sort option to clocktable report Date: Wed, 17 Aug 2011 12:16:34 +0200 Message-ID: <87pqk4gx6l.fsf@gnu.org> References: <877h6txmjf.wl%max@openchat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtdAC-0005kJ-Gk for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 06:15:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtdAA-0006tu-VO for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 06:15:56 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:34860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtdAA-0006tn-GB for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 06:15:54 -0400 Received: by wwf10 with SMTP id 10so641986wwf.30 for ; Wed, 17 Aug 2011 03:15:53 -0700 (PDT) In-Reply-To: <877h6txmjf.wl%max@openchat.com> (Max Mikhanosha's message of "Thu, 04 Aug 2011 10:45:56 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Max Mikhanosha Cc: emacs-orgmode@gnu.org Hi Max, Max Mikhanosha writes: > Attached patch adds new options :sort to the clocktable report > options. Valid values: > > time-up or T - highest time on top > time-down - lowest time on top > > For multi-file clock reports, entries in each file are sorted > separately and then the files are also sorted based on file total. That's a *great* addition. I've tested the patch and it works well. As the patch is more than 15 lines, you would need to sign the FSF copyright assignment before I can apply the patch. I'll send you the relevant papers in private. > Perhaps this should be made a default? It seems clocktable report is > something that user would naturally expect to be sorted. Yes, I think :sort time-up should be the default. Best, -- Bastien