From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: expand yasnippet or abbriv text inside a capture Date: Fri, 5 Jun 2015 21:57:33 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d848d670a990517c9dd74 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0woC-0004vP-Px for emacs-orgmode@gnu.org; Fri, 05 Jun 2015 14:57:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0woB-0000mL-No for emacs-orgmode@gnu.org; Fri, 05 Jun 2015 14:57:36 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:34276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0woB-0000m9-Fi for emacs-orgmode@gnu.org; Fri, 05 Jun 2015 14:57:35 -0400 Received: by payr10 with SMTP id r10so55886926pay.1 for ; Fri, 05 Jun 2015 11:57:34 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org mode --047d7b5d848d670a990517c9dd74 Content-Type: text/plain; charset=UTF-8 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 --047d7b5d848d670a990517c9dd74 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all

I was wondering since i have zer= o 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=C2=A0%(sexp) would work (im guessing here :))

i have this capture=C2=A0

(= "f" "food" entry (file+headline "/home/zeltak/org/= files/agenda/food.org" "Inbox&quo= t;)
"* COOK %? =C2=A0%^g " :kill-buffer )

i want that after the COOK headline it will expand a snip= pet 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
--047d7b5d848d670a990517c9dd74--