This may have an obvious solution, which would explain why I cannot find it anywhere online, but I would like to customize the holidays that show up in my org-agenda
--as easily as possible. Instead of manually entering each holiday in a diary or org mode file, I'd ideally like to draw on the "holidays.el" package. To do this I currently have the line %%(org-calendar-holiday)
in an org mode file. The only problem is that I get every single holiday showing up in my agenda now, most of which are only useful in clogging up my agenda.
Is there a way to "turn off" some of these calendar lists so they don't get displayed in my agenda? I tried going the route of setting variables like holiday-solar-holidays
to "nil," but that doesn't seem to affect their display in the agenda. This increases my suspicion that the holiday-xx-holidays
variables are only applicable to the calendar, and not the agenda. If that's the case I'll assuredly have to go another route, and other suggestions would be welcome.
My end goal is to have major U.S. holidays and solar holidays displayed in my agenda. With so few holidays you may ask why I don't manually enter them and forget the org-calendar-holiday
function and "holidays.el" library all together. Well, coding the dates of all future solstices and equinoxes doesn't sound very appealing. Plus, I like drawing on what's already been done when I can--in this case the "holidays" package. Although I could be using it in an entirely different manner than it was intended.
As a side note, I read the post entitled "Programmatically add birthdays/holidays to agenda view in org-mode", but there didn't seem to be enough detail to tell if it's the same issue I'm encountering. And interesting as the current answer in that post is, it's not the solution I'm hoping for.
Thanks for your help.