From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: expand yasnippet or abbriv text inside a capture Date: Mon, 08 Jun 2015 12:22:27 -0400 Message-ID: <87lhfuf9vg.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1zp4-0001HJ-MV for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 12:22:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1zoz-00024M-6E for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 12:22:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:37993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1zoz-00022q-0M for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 12:22:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z1zor-0005qF-VY for emacs-orgmode@gnu.org; Mon, 08 Jun 2015 18:22:38 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Jun 2015 18:22:37 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Jun 2015 18:22:37 +0200 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: emacs-orgmode@gnu.org Xebar Saram writes: > Ok so i made some progress here. i think i can just use the org capture itself to suit my needs. but as i dont know elisp i got > stuck with this: > >   (setq org-capture-templates >         (quote (            > ("f" "food" entry (file+headline "/home/zeltak/org/files/agenda/food.org" "Inbox") >  "* Cook %? %^g  >    :PROPERTIES: >    :Time:      >    :Rating:    >    :Source:    >    :Ammount:   >    :Fav:  >    :Type:  >    :ID:    >    :END: > > ** HEADER 2 > ** HEADER 3 " ) > > when i add the subheaders ** HEADER 2 and ** HEADER 3 i can eval the section anymore. > If this is your complete setting for org-capture-templates, you are missing closing parens (three of them if I'm counting correctly). If you have additional entries, just post the whole (setq org-capture-templates ... ) form: somebody will be able to correct it for you. > Do i need to escape the * somehow? i just want 2 same level subheadrs below the main capture header/ > whats the best way to do this? > The above worked for me, so I assume it is just a paren syntax error. Nick