2

I would like to show sum of efforts for all tasks for a day in Org-Agenda day title. E.g. for a week agenda there would be 7 sums for each of the day, in their respective titles.

I think this could be done somehow by manipulating the org-agenda-format-date variable.

By default, this variable points to a builtin function org-agenda-format-date-aligned, but I suppose it can be reset to point to a custom function to include the sum of efforts in the date line.

Could you please help me define such a function?

Also, I would like to use a predefined Effort value for all tasks lacking the Effort property.

2

So far as I know, this is not possible. You can get an effort sum using column view, though only for one day at a time. Set column format as follows:

(setq org-columns-default-format "%60ITEM(Task) %6Effort(Estim){:}")

Then, when in agenda view, restrict your view to a single day using 'd' and then turn on column view (C-c C-x C-c).

That will get you what you want. Though there seems to be a bug such that this will not work properly if you use more than one agenda file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.