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


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.

- Carsten

  reply	other threads:[~2010-01-04  9:00 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 [this message]
2010-01-04  9:44       ` Francis Moreau

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=F4058068-0240-460F-9B8B-E70DB44B264D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=francis.moro@gmail.com \
    /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).