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:09:00 +0100 Message-ID: <878x6krryb.fsf@bzg.ath.cx> References: <877im413y0.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 1Id8ej-000325-3f for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:09:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id8eh-00030m-Ch for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:09:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id8eh-00030b-8k for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:09:07 -0400 Received: from fk-out-0910.google.com ([209.85.128.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Id8eg-0004XP-VV for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 14:09:07 -0400 Received: by fk-out-0910.google.com with SMTP id 19so5780341fkr for ; Wed, 03 Oct 2007 11:09:05 -0700 (PDT) In-Reply-To: <877im413y0.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Wed, 03 Oct 2007 13:52:07 -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: > I'd love a function I could bind to a single key press to do this. > > I know org-clock-marker points at the current location I want to get to > - I just don't know how to use it to get there and reveal the location > the same as if I used the above procedure from the agenda. Something like this? (defun org-goto-clocked-in-entry () "Go to the currently clocked-in entry." (interactive) (goto-char org-clock-marker) (org-show-entry) (org-back-to-heading)) -- Bastien