From mboxrd@z Thu Jan 1 00:00:00 1970 From: torys.anderson@gmail.com (Tory S. Anderson) Subject: Re: org-clock-select-task: how does it work? Date: Wed, 28 Jan 2015 06:27:37 -0500 Message-ID: <87mw53xhzq.fsf@gmail.com> References: <87wq4cnuwh.fsf@free.fr> <874mrgjjwq.fsf@gmail.com> <87wq4cdwm9.fsf@roche-blanche.net> <87bnlo7x6a.fsf@roche-blanche.net> <86oapkmtkq.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGQmb-0002eA-GC for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 06:27:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGQma-0006KB-Ag for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 06:27:41 -0500 Received: from mail-yk0-x233.google.com ([2607:f8b0:4002:c07::233]:49429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGQma-0006Jj-7B for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 06:27:40 -0500 Received: by mail-yk0-f179.google.com with SMTP id 142so8642594ykq.10 for ; Wed, 28 Jan 2015 03:27:39 -0800 (PST) In-Reply-To: <86oapkmtkq.fsf@example.com> (Sebastien Vauban's message of "Tue, 27 Jan 2015 11:00:37 +0100") 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: orgmode list Now I'm loving this tool but I'm looking for two tweaks that would make a big difference. 1) I use "work.org" to track my weekly work hours; each week is mostly the same tasks, but new time frames. I need to be able to make sure my "recent clock list" is talking about the item for this week, not the identically named item for a previous week. If I could see the tree-path of the items (in the same way putting the point over an item in agenda shows you the hierarchy) that would be great. 2) As Peter originally mentioned, I see only five tasks on the list; I have more than that each week. Can this be expanded with some variable? Having looked into problem 2 by going to `org-clock-select-task` in 'org-clock.el', I found the following which is mostly beyond my current elisp capabilities: (insert (org-add-props "Recent Tasks\n" nil 'face 'bold)) (mapc (lambda (m) (when (marker-buffer m) (setq i (1+ i) s (org-clock-insert-selection-line (if (< i 10) (+ i ?0) (+ i (- ?A 10))) m)) (if (fboundp 'int-to-char) (setf (car s) (int-to-char (car s)))) (push s sel-list))) och) While I'd love it if someone could explain to me what the "?" operator means with "?0" and "?A", one thing I get out of this is that a list length of something less than 10 seems hardcoded (right?). What would it take to be able customize this with a variable? Sebastien Vauban writes: > Peter Münster wrote: >> On Sat, Jan 24 2015, Peter Münster wrote: >> >>> - There are duplicates in the list. >> >> Not reproducible. > > I still do have duplicates in my list as well. It never has been fixed, > but I don't have either a reproducible recipe. > > See https://lists.gnu.org/archive/html/emacs-orgmode/2013-04/msg00568.html. > > Best regards, > Seb