Charles Choi <[email protected]> writes:

> When trying the ';' binding to `org-timer-set-timer' I get the following
> message in the mini-buffer:
>
> "funcall-interactively: Wrong type argument: numberp, nil"
>
> Am I alone in seeing this or is this widespread?

Confirmed. Can reproduce by pressing ';' on an entry in the agenda
buffer.

Looks like org-timer-set-timer tries to floor a value it expects to find
in the 'effort-minutes text property if we're in agenda view. If the
entry has an Effort property set, things work as expected. However, if
the user has not set an effort property, the value of effort-minutes in
the agenda line is nil, rather than the number that ~floor~ expects. Not
sure if org-timer-set-timer needs to handle the nil case, or if the
property should be set to 0 somewhere else when the agenda view is
generated.

Regards,
Christian

Reply via email to