[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: bug#32758: 26.1 emacs-mac 7.2; forward-sentence in eww
From: |
Stefan Monnier |
Subject: |
Re: FW: bug#32758: 26.1 emacs-mac 7.2; forward-sentence in eww |
Date: |
Wed, 10 Oct 2018 11:17:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> and I’m aware of names like A. B. C. Nurmagomedov which will stop early, too.
As mentioned by Yuri NBSP can help this case. Another heuristic is to
assume sentences don't end with a single-capital-letter word.
This said, there's also the occasional "Mr. Foo" or "Dr. Bar".
I suggest you collect examples to add them to
test/lisp/textmodes/paragraphs-tests.el (and then write some Elisp code
that tries to handle them all correctly).
Stefan