emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org capture properties from a list of strings?
@ 2017-04-23 14:41 Xebar Saram
  2017-04-25  7:45 ` Xebar Saram
  0 siblings, 1 reply; 7+ messages in thread
From: Xebar Saram @ 2017-04-23 14:41 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 867 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-26 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-23 14:41 org capture properties from a list of strings? Xebar Saram
2017-04-25  7:45 ` Xebar Saram
2017-04-25  8:00   ` Nicolas Goaziou
2017-04-25 15:56     ` Xebar Saram
2017-04-25 16:19       ` Nicolas Goaziou
2017-04-26 12:28         ` Xebar Saram
2017-04-26 14:13           ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).