Open Jehops opened 9 years ago
Hi @Jehops
I'm not so good at diary-mode, I think the block schedule may be %%(diary-block 06 08 2015 06 15 2015) Conference
?
Calling the function diary-list-entries
, I checked the schedule block but I can not get the schedule items which are derived from it. Is it related to calendar locale?
Hi @kiwanami
Sorry for the delay. Yes, the %%(diary-block 06 08 2015 06 15 2015) Conference
is the block schedule entry. It should no be related to locale. The description for these types of entries are found here. Basically the sexp between () is evaluated to create the diary entry. Mimicking the behaviour of the diary-block
function in diary-lib.el
might be on the right track. I'm not sure how it would hook into calfw though.
Hi @kiwanami,
I now realize that I missed the main point you were making in your comment: the order of the date fields matters. When users set the value of calendar-date-style
to something other than american
that order was not as calfw expected.
This pull request converts the diary date ranges to a format calfw expects.
If something like
%%(diary-block 2015 06 08 2015 06 15) Conference
exists, then the month won't display in calfw. Maybe this is related to issue #11?