Re: [O] [PATCH 1/2] Fix error with %e agenda prefix format when there is no effort set

2011-07-27 Thread Bastien
Hi Max, Max Mikhanosha m...@openchat.com writes: 2. Two new commands, org-agenda-effort-up, org-agenda-effort-down, that would shift the effort up/down to the next value, with suggested bindings of M-Left and M-Right, which will allow effortless editing of efforts in Agenda That'd be nice

Re: [O] [PATCH 1/2] Fix error with %e agenda prefix format when there is no effort set

2011-07-22 Thread Bastien
Hi Max, thanks for the patch. Max Mikhanosha m...@openchat.com writes: `org-agenda-prefix-format' has un undocumented format %e for Effort, which is broken. it throws error on entries without effort property. Yep, right. Following patch fixes that problem. TODO: make agenda redraw current

Re: [O] [PATCH 1/2] Fix error with %e agenda prefix format when there is no effort set

2011-07-22 Thread Max Mikhanosha
(setq category (substring category 0 (1- org-prefix-category-max-length) ;; Evaluate the compiled format + (assert effort) Why is this needed? Oops left that in accidentally. If you hold on for a few days, I'll send a more complete patch implementing: 1.

[O] [PATCH 1/2] Fix error with %e agenda prefix format when there is no effort set

2011-07-21 Thread Max Mikhanosha
`org-agenda-prefix-format' has un undocumented format %e for Effort, which is broken. it throws error on entries without effort property. Following patch fixes that problem. TODO: make agenda redraw current line when `org-agenda-set-effort' sets a new effort From