MattFlower / organized

Outlining, scheduling, and todos inside of the Atom Editor
MIT License
114 stars 19 forks source link

Agenda items displays the item above instead of itself #31

Closed fohria closed 7 years ago

fohria commented 7 years ago

I'm on Atom 1.21.2 on macOS 10.13.1 and organized 0.8.1, using One Dark theme.

Agenda items don't show properly for me. If I do the following, nothing shows on the agenda:

# presenting
- SCHEDULED: <2017-11-15 Wed 13:00> [TODO] try out this organizer thingie
    - [TODO] first item
    - [TODO] another item
    - third item

And if I do this, the agenda will show the "try out this organizer thingie" item:

# presenting
- [TODO] try out this organizer thingie
    - SCHEDULED: <2017-11-15 Wed 13:00> [TODO] first item
    - [TODO] another item
    - third item

And so it goes on; if I move the SCHEDULED part down to "another item", the "first item" will be shown in the agenda. Same for third item so doesn't seem to have anything to do with the TODO tag.

On this note, as it may be related, if I have two SCHEDULED tags, like so:

# presenting
- [TODO] try out this organizer thingie
    - SCHEDULED: <2017-11-15 Wed 13:00> [TODO] first item
    - SCHEDULED: <2017-11-15 Wed 15:00> [TODO] another item
    - third item

It will look like this:

screen shot 2017-11-07 at 18 48 56

It's the same in all these cases if I use stars instead of dashes.

Thanks for working on this organizer by the way, found the package today and it's exactly what I need!

fohria commented 7 years ago

Just discovered that I probably did not understand the proper syntax, it works if I do this:

# presenting
- [TODO] try out this organizer thingie
    SCHEDULED: <2017-11-15 Wed 13:00>
    - [TODO] first item
    SCHEDULED: <2017-11-15 Wed 15:00>
    - [TODO] another item

So I guess this is likely not a bug, but related to #22, sorry for polluting your issues! :)

MattFlower commented 7 years ago

Indeed, definitely related to #22. Happy it's working better for you. -m