Re: Trouble with cyclic diary and planner-appt-forthcoming

Jim Ottaway <[email protected]>
Newsgroups gmane.emacs.wiki.general
Message-ID <[email protected]>
>>>>> Seth Falcon <[email protected]> writes:

> Hi,
> I've recently setup planner-appt to ready cyclic diary entries.  It is
> _mostly_ working.  But it makes me nervous to rely on it.

> Today, I find that planner-appt-forthcoming-update seems to be
> skipping an entry that I think it should display from the cyclic diary
> file.

> Can someone please take a quick look and see if I'm missing something
> obvious?

> Here's the diary file:

> # -------------------
> &%%(diary-float t 1 2) #A0 _ @9:00 10:00 Remind all for Conference Call on Wed

> &%%(diary-float t 3 2) #A0 _ @9:00 10:00 Conference Call

> &%%(diary-float t 4 2) #A0 _ @19:00 21:00 Meeting at F

> %%(diary-block 4 12 2006 4 14 2006) #A0 _ @9:00 17:00 Course

> %%(diary-block 8 2 2006 8 4 2006) #A0 _ @9:00 17:00 Conference

> wed #A0 _ @10:30 11:30 Other Conference call
> # -------------------

> In my forthcoming appts section, I see an entry on Monday for "Remind all for
> Conference Call on Wed" (this is awesome!)  But the call itself
> doesn't show (this worries me!).

It appears to work for me.  I tested it with these two lines added to my
cyclic diary file:

&%%(diary-float t 1 2) #A0 _ @9:00 10:00 Remind all for Conference Call on Wed
&%%(diary-float t 3 2) #A0 _ @9:00 10:00 Conference Call

I get appointments for next Monday and next Wednesday.

Have you set planner-appt-forthcoming-look-at-cyclic-flag? 

There is another thing that might cause some confusion: the number of
days includes the current day [so that the appointment list is for a
whole week]; this means that the default setting of 7 doesn't reach as
far as next Wednesday.

Could this be what is happening for you too?  What happens if you give
8 as a prefix argument, or set planner-appt-forthcoming-days to
something > 7?


-- 
Jim Ottaway
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.