jdev - 2022-12-11


  1. Sam

    The original intent was that it would be a quoted :( because it simplifies parsing for reasons that don't really matter (it lets you do >> and have it be a nested quote instead of having to do > > whatever)

  2. Sam

    But yah, the text is confusing on re-reading it, my bad

  3. Sam

    Though I think technically correct (the best kind of correct).

  4. lovetox

    so its a quote, i implemented it that way

  5. lovetox

    thanks

  6. Sam

    Sure; thanks for pointing that out, I'll see about drafting a slight tweak to the text that clarifies it

  7. Sam

    If you're doing an implementation, I've got a big JSON file full of unit tests somewhere you're welcome to borrow

  8. lovetox

    my impl is old and works, according to spec, as we just found out :D

  9. lovetox

    a user thought this must be a bug

  10. Sam

    Yah, in retrospect maybe that one would have been better with the space and just make the parsing slightly more complicated to allow >>

  11. lovetox

    for quoting the styling xep is only a bad workaround

  12. Sam

    I think it's useful for quotes you type, eg. I copy/paste things out of a newspaper article, but for quoting other messages there should be something complementary

  13. Sam

    complimentary, even

  14. lovetox

    hm yeah true never thought of that

  15. lovetox

    sometimes you need to quote something which is not another message

  16. lovetox

    though these things will usually not start with a angry smiley

  17. Sam

    Or eg. you press the block quote button on your clients toolbar. But yah, if you right click another message and hit "quote" I think that's something else

  18. Sam

    I mean, you could obviously implement that second thing with this, but I don't think it's what users expect

  19. lovetox

    Sam follow up question

  20. lovetox

    can a message consist of a single line that is a quote

  21. lovetox

    because technically someone could argue this is not allowed

  22. lovetox

    > They are terminated by the first new line that is not followed by a greater-than sign, or the end of the parent block (whichever comes first).

  23. lovetox

    there is no newline, and also no parent block

  24. lovetox

    which would also mean, a quote can never end a message

  25. Sam

    There is a "root" empty parent, unsure if that is also underspecified or not because I'm not at my desk, but I think it says that everything is always in a block somewhere

  26. lovetox

    nah sorry cant find that, you may add this to the list of things to improve

  27. u

    hello