From: Richard Riley <rileyrgdev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: sexp in org remember templates
Date: Mon, 26 Oct 2009 23:06:20 +0100 [thread overview]
Message-ID: <hc56gu$dn5$1@ger.gmane.org> (raw)
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?
next reply other threads:[~2009-10-26 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 22:06 Richard Riley [this message]
2009-10-26 22:25 ` sexp in org remember templates Richard Riley
2009-10-26 22:31 ` Nick Dokos
2009-10-26 23:04 ` Richard Riley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hc56gu$dn5$1@ger.gmane.org' \
--to=rileyrgdev@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).