From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: least recently clocked open task in a file Date: Wed, 23 Nov 2011 18:29:42 +0100 Message-ID: <87mxbmiw6x.wl%n142857@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGdq-0005n7-Fb for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 12:29:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTGdp-0000f0-EY for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 12:29:50 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:45228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTGdp-0000ew-CN for emacs-orgmode@gnu.org; Wed, 23 Nov 2011 12:29:49 -0500 Received: by qyg14 with SMTP id 14so1586425qyg.0 for ; Wed, 23 Nov 2011 09:29:48 -0800 (PST) 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: emacs-orgmode@gnu.org I have many open tasks in a file, and I want to work a bit on each, one after another, without neglecting any. That would be a round-robin approach. But how can I find the oldest clocked-out open task in a file? Can I order the agenda by recentness? I found org-clock-history but it can't be limited by subtree/file/region, must be turned on work manually and would not work for tasks clocked before it was turned in. Daniel