emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] Jump to selected clock task when starting the cloc


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Jump to selected clock task when starting the clock
Date: Thu, 16 Apr 2009 06:09:23 +0200

Applied, thanks.

- Carsten

On Apr 16, 2009, at 4:06 AM, Bernt Hansen wrote:

Move the point to the selected task when clocking in using the clock
history.  I find I'm always going to the currently clocked task after
picking it off of the menu and this saves one small step.

This could be optionally controlled by a variable.
---
This commit is available at git://git.norang.ca/org-mode for-carsten

lisp/org-clock.el |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 0b0b607..e56f82f 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -380,7 +380,8 @@ the clocking selection, associated with the letter `d'."
            (org-clock-update-mode-line)
            (setq org-clock-mode-line-timer
                  (run-with-timer 60 60 'org-clock-update-mode-line))
-           (message "Clock started at %s" ts)))))))
+           (message "Clock started at %s" ts)))))
+    (org-clock-goto nil)))

(defun org-clock-find-position (find-unclosed)
  "Find the location where the next clock line should be inserted.
--
1.6.3.rc0



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]