From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Issue with remember templates Date: Mon, 4 Jan 2010 10:00:21 +0100 Message-ID: References: <38b2ab8a0912310356h90f41d3kd1978d85af1eac46@mail.gmail.com> <578B2E86-5989-4894-92A4-9A3ED89F75F0@gmail.com> <38b2ab8a1001040052v4df2d75fl9c7e24e2cb9df414@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRinh-0008Bo-6g for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:00:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRinb-0008AQ-E6 for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:00:31 -0500 Received: from [199.232.76.173] (port=49848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRinb-0008AA-7y for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:00:27 -0500 Received: from mx20.gnu.org ([199.232.41.8]:29490) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRinb-0006aM-1K for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:00:27 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRinZ-0000Df-1U for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:00:25 -0500 Received: by ewy24 with SMTP id 24so17720373ewy.26 for ; Mon, 04 Jan 2010 01:00:22 -0800 (PST) In-Reply-To: <38b2ab8a1001040052v4df2d75fl9c7e24e2cb9df414@mail.gmail.com> 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: Francis Moreau Cc: emacs-orgmode@gnu.org On Jan 4, 2010, at 9:52 AM, Francis Moreau wrote: > Hello, > > On Sun, Jan 3, 2010 at 2:11 PM, Carsten Dominik > wrote: >> >> "* %\\%(diary-date %?) Day Off" >> >> should work. >> > > Ok, > >>> >>> 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. >> >> You can use >> >> ("Holidays" ?h "* Day Off <%\\%(diary-date %?)>" "work.org" >> "Holidays") >> > > Hm, well I now have this entry in my agenda view: > > TueTuesday 5 January 2010 > Vacation: Day Off <%%(diary-date 01 5 2010)> > > The SEXP is now visible from the view which is not really nice. That is right - add a \n before the "<" in your template. - Carsten