From: Xebar Saram <zeltakc@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: expand yasnippet or abbriv text inside a capture
Date: Fri, 5 Jun 2015 21:57:33 +0300 [thread overview]
Message-ID: <CAOQHXPpfu86yEDMpCvezCNcpL61p3vurrY1GFYA2HQUsQFvgkg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
Hi all
I was wondering since i have zero lisp (or coding at all) skills if anyone
could show me an example on how to expand yasnippet or text as part of a
org capture
i think that using %(sexp) would work (im guessing here :))
i have this capture
("f" "food" entry (file+headline "/home/zeltak/org/files/agenda/food.org"
"Inbox")
"* COOK %? %^g " :kill-buffer )
i want that after the COOK headline it will expand a snippet or if not
possible add a property drawer.
also related can org ask me to fill in specific properties in a property
drawer as part of the capture?
thx!
Z
[-- Attachment #2: Type: text/html, Size: 904 bytes --]
next reply other threads:[~2015-06-05 18:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 18:57 Xebar Saram [this message]
2015-06-06 6:54 ` expand yasnippet or abbriv text inside a capture Xebar Saram
2015-06-08 16:22 ` Nick Dokos
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=CAOQHXPpfu86yEDMpCvezCNcpL61p3vurrY1GFYA2HQUsQFvgkg@mail.gmail.com \
--to=zeltakc@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).