Am 11.04.2011 10:36, schrieb Suvayu Ali: > On Mon, 11 Apr 2011 08:52:52 +0200 > Rainer Stengele <rainer.steng...@diplan.de> wrote: > >> Hi! >> >> In one of my org agenda files I have >> >> #+CATEGORY: Sunrise >> &%%(diary-sunrise-sunset) >> >> Now, when I am in weekly agenda view the sunrise-sunset shows under >> every day. This is kind of too much line noise and distracting for me >> - I would like to only see the entry for "today". >> >> Is there a way to restrict the display of such a diary entry in the >> weekly agenda view to only today? >> > > How about this, > > %%(if (calendar-date-equal date (calendar-current-date)) > (diary-sunrise-sunset)) > >> Regards, >> Rainer >> > Perfect, thanks.
I can find the other functions in calendar.el, but where is "date" from? Best, Rainer