Marcin Borkowski <mb...@mbork.pl> writes: > Hi all, > > and thanks in advance;-)!
Maybe something like this? (defun rasmus/org-clock-in (&optional DEFAULT-BUFFER NEW-NODES NO-EXCLUDE) "Clock in remotely" (interactive) (save-excursion (goto-char (nth 3 (org-refile-get-location "clock in" DEFAULT-BUFFER NEW-NODES NO-EXCLUDE))) (org-clock-in))) You could also cook your own locator, e.g. (org-goto-local-search-headings (ido-completing-read "File note to: " (org-element-map (org-element-parse-buffer) 'headline (lambda (hl) (and (= (org-element-property :level hl) 1) (org-element-property :title hl))))) nil nil) Hope it helps, Rasmus -- Even a three-legged dog has three good legs to lose