From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Wishlist - Function to get to and reveal the current clocking task Date: Wed, 03 Oct 2007 19:49:59 +0100 Message-ID: <87zlz0qbhk.fsf@bzg.ath.cx> References: <877im413y0.fsf@gollum.intra.norang.ca> <878x6krryb.fsf@bzg.ath.cx> <87ve9oyrmm.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Id9IU-0005wm-OO for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:50:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id9IR-0005s7-GS for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:50:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id9IR-0005s1-9m for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:50:11 -0400 Received: from fk-out-0910.google.com ([209.85.128.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Id9IQ-0005bN-Rq for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:50:11 -0400 Received: by fk-out-0910.google.com with SMTP id 19so5791525fkr for ; Wed, 03 Oct 2007 11:50:09 -0700 (PDT) In-Reply-To: <87ve9oyrmm.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Wed, 03 Oct 2007 14:34:09 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bernt Hansen 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