emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to display a diary entry in agenda week view only "today"


From: Suvayu Ali
Subject: Re: [O] How to display a diary entry in agenda week view only "today"
Date: Mon, 11 Apr 2011 01:36:20 -0700

On Mon, 11 Apr 2011 08:52:52 +0200
Rainer Stengele <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]