emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: orgmode list <emacs-orgmode@gnu.org>
Subject: Re: org-clock-select-task: how does it work?
Date: Wed, 28 Jan 2015 06:27:37 -0500	[thread overview]
Message-ID: <87mw53xhzq.fsf@gmail.com> (raw)
In-Reply-To: <86oapkmtkq.fsf@example.com> (Sebastien Vauban's message of "Tue, 27 Jan 2015 11:00:37 +0100")

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 <sva-news@mygooglest.com> 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

  reply	other threads:[~2015-01-28 11:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-24 13:57 org-clock-select-task: how does it work? Peter Münster
2015-01-24 15:08 ` Tory S. Anderson
2015-01-24 15:30   ` Peter Münster
2015-01-24 15:42     ` Tory S. Anderson
2015-01-24 19:35     ` Peter Münster
2015-01-24 20:15     ` Peter Münster
2015-01-27 10:00       ` Sebastien Vauban
2015-01-28 11:27         ` Tory S. Anderson [this message]
2015-01-28 12:52           ` Sebastien Vauban
2015-01-28 13:15           ` Marco Wahl
2015-01-28 13:26             ` Tory S. Anderson

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=87mw53xhzq.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).