Re: [Orgmode] Last workday of the month

2010-10-30 Thread Chris Maier
Never mind... I think I had something messed up in my initialization file; they're showing up now. Chris On Sat, Oct 30, 2010 at 8:03 PM, Chris Maier wrote: > Where do the functions 'calendar-extract-day', > 'calendar-extract-month', 'calendar-extract-year', and > 'calendar-last-day-of-the-month

Re: [Orgmode] Last workday of the month

2010-10-30 Thread Chris Maier
Where do the functions 'calendar-extract-day', 'calendar-extract-month', 'calendar-extract-year', and 'calendar-last-day-of-the-month' come from? I was looking for something like those when I wrote my initial implementation, but I don't seem to have them (hence the ugliness of the code!) I'm runn

Re: [Orgmode] Last workday of the month

2010-10-30 Thread Nick Dokos
Chris Maier wrote: > I'm trying to come up with a sexp diary entry that shows my payday, > which is the last weekday of the month, in my Org agenda. I've tried > to adapt the example given in the Emacs manual and this is what I came > up with: > > %%(let ((month (car date)) > (day (cadr

[Orgmode] Last workday of the month

2010-10-30 Thread Chris Maier
I'm trying to come up with a sexp diary entry that shows my payday, which is the last weekday of the month, in my Org agenda. I've tried to adapt the example given in the Emacs manual and this is what I came up with: %%(let ((month (car date)) (day (cadr date)) (dayname (calendar-