emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Issue with remember templates
Date: Mon, 4 Jan 2010 10:44:20 +0100	[thread overview]
Message-ID: <38b2ab8a1001040144s51d7cbc3l7cf7a9de1911c6bf@mail.gmail.com> (raw)
In-Reply-To: <F4058068-0240-460F-9B8B-E70DB44B264D@gmail.com>

On Mon, Jan 4, 2010 at 10:00 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Jan 4, 2010, at 9:52 AM, Francis Moreau wrote:
>
>> Hello,
>>
>> On Sun, Jan 3, 2010 at 2:11 PM, Carsten Dominik
>> <carsten.dominik@gmail.com> 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.

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
-- 
Francis

      reply	other threads:[~2010-01-04  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-31 11:56 Issue with remember templates Francis Moreau
2010-01-03 13:11 ` Carsten Dominik
2010-01-04  8:52   ` Francis Moreau
2010-01-04  9:00     ` Carsten Dominik
2010-01-04  9:44       ` Francis Moreau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38b2ab8a1001040144s51d7cbc3l7cf7a9de1911c6bf@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).