Re: [O] Prompt for time when clocking in?

2011-10-20 Thread Nathan Neff
Some progress -- I used Nick's suggestion combined with the org-read-date function. This is my first attempt -- It will prompt you for a time, and clock in to the headline that the cursor is on with that time. (defun njn/clock-in-at-time() (interactive) (setq start-time (org-read-date 't

Re: [O] Prompt for time when clocking in?

2011-10-20 Thread Nick Dokos
Nathan Neff nathan.n...@gmail.com wrote: Some progress -- I used Nick's suggestion combined with the org-read-date function. This is my first attempt -- It will prompt you for a time, and clock in to the headline that the cursor is on with that time. (defun njn/clock-in-at-time()

Re: [O] Prompt for time when clocking in?

2011-10-20 Thread Nathan Neff
Two minor nits: t is a constant so you don't need to quote it; emacs-lisp mode helps with indentation (putting it in a code block - see below - in an org file and using C-c ' to edit it works wonderfully). Thanks for your suggestions re: using Emacs to edit lisp code and using the t in lieu of

Re: [O] Prompt for time when clocking in?

2011-10-19 Thread John Hendy
On Wed, Oct 19, 2011 at 9:54 AM, Nathan Neff nathan.n...@gmail.com wrote: Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock in on the task, 2) Go to the CLOCK section

Re: [O] Prompt for time when clocking in?

2011-10-19 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: On Wed, Oct 19, 2011 at 9:54 AM, Nathan Neff nathan.n...@gmail.com wrote: Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock

Re: [O] Prompt for time when clocking in?

2011-10-19 Thread Bernt Hansen
Nathan Neff nathan.n...@gmail.com writes: Is there a way to pull up a date/time prompt when clocking in to a task? Sometimes, I started a task 15 minutes ago, and have to go through the following steps: 1) clock in on the task, 2) Go to the CLOCK section for that header and press tab to