Hi Carsten,

Carsten Dominik <carsten.domi...@gmail.com> writes:
> On Apr 12, 2010, at 3:05 PM, Karsten Heymann wrote:
>> 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)

Thanks, applied. :-)

Yours
Karsten


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

Reply via email to