From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: datetree+file broken? Date: Tue, 04 Jan 2011 10:08:21 +0100 Message-ID: <80hbdpt4sa.fsf@missioncriticalit.com> References: <871v4tvbqu.wl%ded-law@ddoherty.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Daniel E. Doherty, Daniel E. Doherty wrote: > All, > > I have the following templates defined for org-capture: > > ,---- > | (setq org-capture-templates > | '(("t" "Todo Item" entry > | (file+headline org-default-notes-file "Tasks") > | "* TODO %? %^G\n %a") > | ("p" "Phone Call Log" entry > | (file+headline org-default-notes-file "Phone calls") > | "* %U Phone call with %:name %^G\n\n %?") > | ("i" "Invoice" entry > | (file+headline org-default-notes-file "Invoices") > | "* %^T %^G\n %?") > | ("j" "Journal Entry" entry > | (file+datetree (concat org-directory "Journal.org")) > | "* Entered on %U\n %i%?\n%a"))) > `---- Use backquotes and commas: #+begin_src emacs-lisp (setq org-capture-templates `(("j" "Journal Entry" entry (file+datetree ,(concat org-directory "Journal.org")) "* Entered on %U\n %i%?\n%a"))) #+end_src Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode