Hi again all

kinda stuck with this and cant find any documentation. would also be glad to know its not possible so i can perhaps explore another method :)

im basically wondering if instead of manually imputing string separated with | in the  : %^{} capture template i can provide a lisp way to send a pre defined list of strings ("a" "b" "c") etc.. anyone has any clue?

best

Z

On Sun, Apr 23, 2017 at 5:41 PM, Xebar Saram <zeltakc@gmail.com> wrote:
Hi all

so i currently have this in my capture templates


:PROPERTIES:
:Time: %^{minutes|-|10|15|30|60}
:Rating: %^{rating?|-|1|2|3|4|5}
:END:

i was wondering if instead of manually putting the values in each line i can perhaps supply a list like this


(defun returns-a-list-of-strings2
()
(list  "1" "2" "3" "4" "5" ))

is that somehow possible where i could have something like this


:Rating: %^{rating?|(returns-a-list-of-strings2)}

is that possible at all?

best

Z