1

I would like to have a yearly calendar view of my agenda. The code from https://stackoverflow.com/questions/9547912/emacs-calendar-show-more-than-3-months shows how to display a calendar for the whole year. Ideally, I would like to connect it to my agenda such as to color the background of each day according to the number of events for this day. This would allow me to quickly visually check what are the busy days (I imagine I can probably query the information but I would prefer such a visual). Is there any package that could do that?

  • 1
    As far as I'm aware, I am the only one who has written a proof concept of how this could be implemented. However, I haven't updated it in years and it would need some tweaking to make it compatible with a current version of org-mode. I use a slightly modified version of this in my own custom-setup, but the draft on Github is fairly similar (albiet a little older): github.com/lawlist/lorg-calendar I am also the one who wrote-up one of answers in the thread linked in the question above; i.e., a 12-month rotating calendar. FYI, the calfw library has 1-month, 2-weeks, 1-week, 1-day. – lawlist Jan 4 at 6:48
  • Thanks for the information. I was afraid of having missed an obvious option or package for doing this. From your message, I guess I'll have to try to do is myself. – Nicolas Rougier Jan 4 at 14:44
  • 1
    Here is a link demonstrating how to extract the raw data used to compile the agenda buffer emacs.stackexchange.com/a/12563/2287 The raw data can be parsed and the information needed to populate the lorg-calendar can be obtained with a little bit of work. A working draft would probably only take a couple of hours, assuming you are aware of text-properties contained within the raw data and so forth. – lawlist Jan 4 at 17:15
2

I ended up doing it in Python and I display it in the terminal. Code at https://gist.github.com/rougier/d559fbd766da14540e8eb47435a5782d

Result

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.