|
From: | Bastien |
Subject: | [Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task |
Date: | Wed, 03 Oct 2007 19:49:59 +0100 |
User-agent: | Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
Bernt Hansen <address@hidden> writes: > If I'm in another buffer it splits the window and displays the right > stuff in the other buffer - I just need to close the current window. (defun org-goto-clocked-in-entry (&optional delete-windows) "Go to the currently clocked-in entry. If DELETE-WINDOWS is non-nil, delete other windows. Sigh." (interactive "P") (if (not (marker-buffer org-clock-marker)) (error "No active clock")) (switch-to-buffer-other-window (marker-buffer org-clock-marker)) (if delete-windows (delete-other-windows)) (goto-char org-clock-marker) (org-show-entry) (org-back-to-heading)) I guess that comes closer. -- Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |