emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Rainer Stengele
Subject: [O] Re: How to display a diary entry in agenda week view only "today"
Date: Mon, 11 Apr 2011 13:57:48 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.17) Gecko/20080914 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

Am 11.04.2011 10:36, schrieb Suvayu Ali:
> 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
>>
> 
Perfect, thanks.

I can find the other functions in calendar.el,
but where is "date" from?

Best,
Rainer



reply via email to

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