Re: [O] [ANN] New Org duration library

2017-03-17 Thread Nicolas Goaziou
Hello, Malcolm Purvis writes: >> "Nicolas" == Nicolas Goaziou writes: > > Nicolas> The documentation lists what is allowed. Strings are not. Where > Nicolas> did you read that they might be? For the record, here are the > Nicolas> first paragraphs of the docstring: > > Nicolas> The value

Re: [O] [ANN] New Org duration library

2017-03-03 Thread Nicolas Goaziou
Hello, David Mann writes: > I am having a similar problem with my agenda since updating Org to > 9.0.5. Since seems to be after the fix above. I get a message 'Invalid > duration format: "50%". Could you paste the full backtrace? Do you have an idea about where that "50%" comes from? Regards

Re: [O] [ANN] New Org duration library

2017-03-02 Thread David Mann
David Mann writes: > Nicolas Goaziou writes: > >> Hello, >> >> Detlef Steuer writes: >> >>> after updating org this morning from git I get: >>> >>> org-duration-to-minutes: Invalid duration format: " 9:00" >>> >>> if I try to invoke my agenda with C-c a a >>> >>> What gives me headaches: I don'

Re: [O] [ANN] New Org duration library

2017-03-02 Thread David Mann
Nicolas Goaziou writes: > Hello, > > Detlef Steuer writes: > >> after updating org this morning from git I get: >> >> org-duration-to-minutes: Invalid duration format: " 9:00" >> >> if I try to invoke my agenda with C-c a a >> >> What gives me headaches: I don't use, AFAIK, durations anywhere >>

Re: [O] [ANN] New Org duration library

2017-02-22 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > I had a few questions/comments though: > > - Given that the smallest unit of duration is the minute, The base unit is the minute, but nobody prevents you from adding a smaller unit: (let ((org-duration-units (cons `("s" . ,(/ 1 60.0)) org-duration-units))) (or

Re: [O] [ANN] New Org duration library

2017-02-22 Thread Aaron Ecay
Hi Nicolas, hi Achim, 2017ko otsailak 21an, Nicolas Goaziou-ek idatzi zuen: [...] >> Also, I find the documentation to be completely impenetrable. > > Great. Suggestions welcome. I took a look at the docstring. I think I managed to understand it, but I can see how it might be confusing. I ma

Re: [O] [ANN] New Org duration library

2017-02-22 Thread Malcolm Purvis
> "Nicolas" == Nicolas Goaziou writes: Nicolas> The documentation lists what is allowed. Strings are not. Where Nicolas> did you read that they might be? For the record, here are the Nicolas> first paragraphs of the docstring: Nicolas> The value can be set to, respectively, ‘h:mm:ss’ or ‘h

Re: [O] [ANN] New Org duration library

2017-02-22 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Nicolas Goaziou writes: >> Strings are not allowed. It is either a symbol (h:mm:ss or h:mm) or >> a list of conses. > > That sentence in the documentation would have helped. The documentation lists what is allowed. Strings are not. Where did you read that they migh

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Achim Gratz
Nicolas Goaziou writes: > You can post your old customization here, I try to help you convert it > to the new format, if possible at all. Well, once I remembered why I had to customize it, things fell into place. It wasn't something complicated, just that I wanted all durations shown in h:mm, wit

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Nicolas Goaziou
Achim Gratz writes: > Thanks, but will there be some helper function to migrate the old > customizations? I didn't even remember that I had customized this > variable until I couldn't clock in or out anymore (I remember now that I > customized it so it would record durations in hours, not days/h

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Achim Gratz
Nicolas Goaziou writes: >> You seem to have (some of) these aliased to org-duration format somehow. >> This breaks a lot of things because the format of the former variables >> is not recognized. I got a bunch of errors about :hour not being a list >> for instance. There surely must be a better w

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > You seem to have (some of) these aliased to org-duration format somehow. > This breaks a lot of things because the format of the former variables > is not recognized. I got a bunch of errors about :hour not being a list > for instance. There surely must be a better

Re: [O] [ANN] New Org duration library

2017-02-21 Thread Achim Gratz
Nicolas Goaziou writes: > `org-time-clocksum-format', `org-time-clocksum-use-fractional' and > `org-time-clocksum-fractional-format' are obsolete. If you changed them, > consider modifying ~org-duration-format~ instead. You seem to have (some of) these aliased to org-duration format somehow. This

Re: [O] [ANN] New Org duration library

2017-02-14 Thread Detlef Steuer
Yes, works now! Many thx! Detlef Am Tue, 14 Feb 2017 10:01:52 +0100 schrieb Nicolas Goaziou : > Hello, > > Detlef Steuer writes: > > > after updating org this morning from git I get: > > > > org-duration-to-minutes: Invalid duration format: " 9:00" > > > > if I try to invoke my agenda with C

Re: [O] [ANN] New Org duration library

2017-02-14 Thread Nicolas Goaziou
Hello, Detlef Steuer writes: > after updating org this morning from git I get: > > org-duration-to-minutes: Invalid duration format: " 9:00" > > if I try to invoke my agenda with C-c a a > > What gives me headaches: I don't use, AFAIK, durations anywhere > and a grep over my org files shows *no*

Re: [O] [ANN] New Org duration library

2017-02-14 Thread Detlef Steuer
Dear Nicolas, after updating org this morning from git I get: org-duration-to-minutes: Invalid duration format: " 9:00" if I try to invoke my agenda with C-c a a What gives me headaches: I don't use, AFAIK, durations anywhere and a grep over my org files shows *no* occurence of " 9:00". This i

[O] [ANN] New Org duration library

2017-02-13 Thread Nicolas Goaziou
Hello, * TL;DR; `org-time-clocksum-format', `org-time-clocksum-use-fractional' and `org-time-clocksum-fractional-format' are obsolete. If you changed them, consider modifying ~org-duration-format~ instead. Variable `org-time-clocksum-use-effort-durations' is also obsolete. Consider setting `org-