[O] question about agendas

2011-03-31 Thread Filippo A. Salustri
Hi all, I'm looking to customize how some agenda commands work. The simple example I'm working on is combining changing a task's priority AND refreshing the agenda. What I'd normally do is: 1. cursor to the task of interest, 2. change its priority, 3. refresh the agenda. After step 3, the cursor

Re: [O] question about agendas

2011-03-31 Thread Nick Dokos
Filippo A. Salustri salus...@ryerson.ca wrote: Hi all, I'm looking to customize how some agenda commands work. The simple example I'm working on is combining changing a task's priority AND refreshing the agenda. What I'd normally do is: 1. cursor to the task of interest, 2. change its

Re: [O] question about agendas

2011-03-31 Thread Filippo A. Salustri
Nick, Thanks for the quick reply. I'd actually started with a similar wrapper for org-priority, and the save-excursion was needed because the org-agenda-redo would punt me into the agenda from whatever other buffer I was in. I carried the save-excursion into the agenda version of the function