On Jan 4, 2010, at 9:52 AM, Francis Moreau wrote:

Hello,

On Sun, Jan 3, 2010 at 2:11 PM, Carsten Dominik
<carsten.domi...@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





_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to