emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org capture properties from a list of strings?


From: Xebar Saram
Subject: Re: [O] org capture properties from a list of strings?
Date: Tue, 25 Apr 2017 10:45:20 +0300

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 <address@hidden> 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


reply via email to

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