Hello,

Given the fact I defvar'ed a custom variable holding a template of my
own:

#+BEGIN_SRC emacs-lisp
(defvar xma/org-task-with-effort-template "* TODO %^{Task}
%U
SCHEDULED: %^t
:PROPERTIES:
:Effort: %^{effort|1:00|0:30|0:05|0:15|2:00|3:00|4:00}
:END:
%?
%a

" "Une tache avec une duree d'effort")
#+END_SRC

How would you use that in a template declared via the customize UI ?

How to do the equivalent of this:

#+BEGIN_SRC emacs-lisp
(setq org-capture-templates `(("e" "Task with effort" entry
                              (file "~/Dropbox/refile.org")
                              ,xma/org-task-with-effort-template)))
#+END_SRC

?

Thank you
-- Xavier.

Reply via email to