Sacha Chua <[email protected]> writes: > +(ert-deftest test-org/thing-at-point/sentence () > + "Test that `thing-at-point' returns the sentence at point." > + (org-test-with-temp-text > + "This sentence is before the list. There's one here. This is a test: > + > +- Is this the first sentence? There is another. > +- This is the third sentence. > +- Some > +- are > +- over several lines!
I am wondering whether it is correct to return sentence constructed from multiple items. Also, with your patch, try - Some - are<point> - over several lines! That will give unexpected result "are\n- over several lines!" -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
