From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francis Moreau Subject: Issue with remember templates Date: Thu, 31 Dec 2009 12:56:50 +0100 Message-ID: <38b2ab8a0912310356h90f41d3kd1978d85af1eac46@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQJeE-000541-G0 for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 06:56:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQJe9-00051k-5G for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 06:56:57 -0500 Received: from [199.232.76.173] (port=60274 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQJe8-00051h-VF for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 06:56:53 -0500 Received: from mail-fx0-f228.google.com ([209.85.220.228]:58619) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQJe8-0006jN-If for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 06:56:52 -0500 Received: by fxm28 with SMTP id 28so4016217fxm.26 for ; Thu, 31 Dec 2009 03:56:51 -0800 (PST) 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: emacs-orgmode@gnu.org Hello, I'd like to note my work's holidays using remember. For this, I have a org file (work.org for example) which contains the following headline: * Holidays #+CATEGORY: Holiday %%(diary-date 12 '(4 7) 2009) Day Off I also created the following template to speed up the process of entering a new holiday entri: ("Holidays" ?h "* %% (diary-date %?) Day Off" "work.org" "Holidays") But as you can notice, this doesn't exactly create the entry I described previously since it does: * %% (diary-date ) Day Off I had to insert some spaces otherwise Org tries to evaluate the Elisp SEXP. I tried to use some backslashes in several ways like '\%(diary-date )' but it has no effect. The other problem is that Org ensures that the new entry has a headline so I had to start the template with '*'. But I don't want this since I read that the sexp entries must start at the left margin. Could anybody give me some hints to solve these 2 issues ? Thanks -- Francis