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
> 

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to