From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Subject: Re: Re: Org capture templates - file paths Date: Thu, 19 Aug 2010 17:44:29 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=45331 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om41D-0000xw-Ar for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 08:14:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om41C-0007Ku-8O for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 08:14:51 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:33892) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om41C-0007Kl-4K for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 08:14:50 -0400 Received: by wyg36 with SMTP id 36so2296265wyg.0 for ; Thu, 19 Aug 2010 05:14:49 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Magnus Henoch Cc: emacs-orgmode@gnu.org On Thu, Aug 19, 2010 at 5:26 PM, Magnus Henoch wr= ote: > Gustav Wikstr=C3=B6m writes: > >> (setq org-capture-templates >> =C2=A0 =C2=A0 =C2=A0 '(("n" "Note" entry (file my-gtd-inbox-file) >> "* %?\n %i\n %a") >> =C2=A0("j" "Journal" entry (file+datetree my-gtd-journal-file) >> =C2=A0 =C2=A0 =C2=A0"* %?\nEntered on %U\n %i\n %a"))) > > Backquotes and commas are your friends: Thanks! I didn't know this. > > (setq org-capture-templates > =C2=A0 =C2=A0 =C2=A0`(("n" "Note" entry (file ,my-gtd-inbox-file) > "* %?\n %i\n %a") > =C2=A0("j" "Journal" entry (file+datetree ,my-gtd-journal-file) > =C2=A0 =C2=A0 "* %?\nEntered on %U\n %i\n %a"))) > > Read more at > http://www.gnu.org/s/emacs/manual/html_node/elisp/Backquote.html . > > Magnus > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --=20 Puneeth