From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francis Moreau Subject: Re: Issue with remember templates Date: Mon, 4 Jan 2010 10:44:20 +0100 Message-ID: <38b2ab8a1001040144s51d7cbc3l7cf7a9de1911c6bf@mail.gmail.com> References: <38b2ab8a0912310356h90f41d3kd1978d85af1eac46@mail.gmail.com> <578B2E86-5989-4894-92A4-9A3ED89F75F0@gmail.com> <38b2ab8a1001040052v4df2d75fl9c7e24e2cb9df414@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRjUU-0001UQ-Dw for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:44:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRjUP-0001Tq-67 for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:44:46 -0500 Received: from [199.232.76.173] (port=58956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRjUP-0001Tn-2W for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:44:41 -0500 Received: from mail-fx0-f228.google.com ([209.85.220.228]:61542) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRjUJ-0002TR-7P for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 04:44:40 -0500 Received: by fxm28 with SMTP id 28so6149213fxm.26 for ; Mon, 04 Jan 2010 01:44:20 -0800 (PST) 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: Carsten Dominik Cc: emacs-orgmode@gnu.org On Mon, Jan 4, 2010 at 10:00 AM, Carsten Dominik wrote: > > 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 =A0 =A0 5 January 2010 >> =A0Vacation: =A0 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. Ok, but the "Day off" headline seems a bit 'hackish'. Is there a more 'traditionnal' way to do this (add vacation in my agenda) with Org ? Thanks --=20 Francis