Not being much of an elisp programmer and just returning to try and
integrate with org-learn a little :-
This
("vocab"?v "* Learn TODO %(format '%s' rgr/orig-word)
:VOCAB:\n:PROPERTIES:\n:orig:\t%(format '%s'
rgr/orig-word)\n:trans:\t%(format '%s'
rgr/trans-word)\n:END:%!" nil bottom nil)
fails me by outputting:
,----
| * Learn TODO [Error: (wrong-type-argument stringp %s)]
:VOCAB:
| :PROPERTIES:
| :orig: %![Error: (wrong-type-argument stringp %s)]
| :trans: %![Error: (wrong-type-argument stringp %s)]
| :END:%!
`----
both rgr/orig-word and rgr/trans-word are set as strings.
Q1 : can I use an elisp var directly as opposed to simulating a func like
above?
Q2 : What is wrong with the above? Whats wrong with that format of a
sexp?
Q3 : how can I specify in the template to auto schedule a TODO for "n"
days in advance?
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode