Re: [O] Mark vacation days

2019-02-03 Thread John Lee
I don't know a good way to do this out of the box. Here are two ways you could go about it, but they both involve a bit of programming. They would all use org-agenda-day-face-function similar to the code you already posted. 1. Least programming: Add emacs diary entries (rather than recording t

Re: [O] Mark vacation days

2019-01-27 Thread JRSS
What if you set the category in the function? So the function has something like cond (( or (org-category vacation) (org-category f_event) (background: red)) I obviously don't know how to write it, but the idea is that the categories are already set in the function. I won't have many, three tops

Re: [O] Mark vacation days

2019-01-27 Thread Ken Mankoff
Hi, On 2019-01-27 at 12:20 -0800, JRSS wrote... > This is a bit over my head still. I'm trying to wrap my head around it. > > I see what it does (colors day-of-the-week 1 and day-of-the-week-3, > which are Monday and Wednesday, red) but not sure how to tie it to a > category (so say, category "va

Re: [O] Mark vacation days

2019-01-27 Thread JRSS
Thanks Ken, This is a bit over my head still. I'm trying to wrap my head around it. I see what it does (colors day-of-the-week 1 and day-of-the-week-3, which are Monday and Wednesday, red) but not sure how to tie it to a category (so say, category "vacation" would be red). Once I have the func

Re: [O] Mark vacation days

2019-01-27 Thread Ken Mankoff
Hi, On 2019-01-27 at 07:20 -0800, JRSS wrote... > Does anyone know where I start getting something like this working? > Programming is not my strong suit, but I can slowly wrap my head > around some bits of code. It looks like this function might be a good place to start: https://emacs.stackexc

[O] Mark vacation days

2019-01-27 Thread JRSS
I tried to post to stackoverflow but I'm not sure it took, so I'm trying here as well: I'm looking for a way to mark vacation days in my agenda view in different color. This would probably be triggered best by category (so when a header is marked as a vacation). I found [this post](https://jul