Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-21 Thread Ihor Radchenko
Liutos  writes:

> Sorry for missing the error's detail. Here it is
>
> ```
> org-duration-to-minutes: Invalid duration format: "+0:29"
> ```
>
> I seen this message from my Emacs' *Messages* buffer after I invoke
> org-agenda. And the *Org Agenda* buffer is empty except a simple title.

Thanks for the additional information!
I am unable to reproduce the issue on my side.
Can you try to reproduce the error on latest main and bugfix starting
from emacs -Q? See https://orgmode.org/manual/Feedback.html#Feedback

Best,
Ihor



Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-21 Thread Liutos
Sorry for missing the error's detail. Here it is

```
org-duration-to-minutes: Invalid duration format: "+0:29"
```

I seen this message from my Emacs' *Messages* buffer after I invoke
org-agenda. And the *Org Agenda* buffer is empty except a simple title.

Ihor Radchenko  于2022年2月20日周日 14:49写道:

> Liutos  writes:
>
> > Assume there is an entry as simple as following
> >
> > * a simple entry
> >
> > Move the cursor on the entry, then press C-c C-s for setting its
> > SCHEDULED property. Then type `23:59+0:30` and press Enter key. The
> > resulting SCHEDULED property will be an ill-formed value such as
> > `<2022-02-19 Sat 23:59-24:29>`, which will cause error in org agenda.
>
> Could you clarify what kind of error is triggered?
> <2022-02-19 Sat 23:59-24:29> is a perfectly valid date range format,
> which should be handled by org-agenda without issues.
>
> Best,
> Ihor
>


-- 
Liutos Love Linux LaTeX Lisp Ling

我的GitHub主页:https://github.com/Liutos


Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-20 Thread Greg Minshall
Ihor,

> Which is perfectly fine. 24:29 is one of the expected time formats for
> org-agenda. If I recall correctly, this kind of time range is used in
> the wild. See https://orgmode.org/list/874l3w7woq@gmail.com

ah, i see.  thanks for the correction!

cheers, Greg



Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-20 Thread Ihor Radchenko
Greg Minshall  writes:

> i tried Liutos' example, and ended up with
>
>> * a simple entry
>>   SCHEDULED: <2022-02-20 Sun 23:59-24:29>
>
> i think it is the "-24:29" that is of concern.

Which is perfectly fine. 24:29 is one of the expected time formats for
org-agenda. If I recall correctly, this kind of time range is used in
the wild. See https://orgmode.org/list/874l3w7woq@gmail.com

Best,
Ihor



Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-20 Thread Greg Minshall
Ihor,

i tried Liutos' example, and ended up with

> * a simple entry
>   SCHEDULED: <2022-02-20 Sun 23:59-24:29>

i think it is the "-24:29" that is of concern.



Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-19 Thread Ihor Radchenko
Liutos  writes:

> Assume there is an entry as simple as following
>
> * a simple entry
>
> Move the cursor on the entry, then press C-c C-s for setting its
> SCHEDULED property. Then type `23:59+0:30` and press Enter key. The
> resulting SCHEDULED property will be an ill-formed value such as
> `<2022-02-19 Sat 23:59-24:29>`, which will cause error in org agenda.

Could you clarify what kind of error is triggered?
<2022-02-19 Sat 23:59-24:29> is a perfectly valid date range format,
which should be handled by org-agenda without issues.

Best,
Ihor