emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-clock-goto plus org-narrow-to-subtree?


From: Carsten Dominik
Subject: Re: [Orgmode] org-clock-goto plus org-narrow-to-subtree?
Date: Mon, 12 Apr 2010 15:33:10 +0200


On Apr 12, 2010, at 3:05 PM, Karsten Heymann wrote:

Hi,

does anyone have a solution to combine org-clock-goto with
org-narrow-to-subtree, so that upon keypress I get a buffer with only
the currently clocked task in it? Maybe this could even become a
optional parameter for org-clock-goto?

(defun my-clock-goto-narrow ()
   (interactive)
   (when (org-clock-is-active)
      (org-clock-goto)
      (org-narrow-to-subtree)))

(define-key global-map "\C-cc" my-clock-goto-narrow)

HTH

- Carsten




reply via email to

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