unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: FW: bug#32758: 26.1 emacs-mac 7.2; forward-sentence in eww
Date: Wed, 10 Oct 2018 11:17:52 -0400	[thread overview]
Message-ID: <jwvmurlq1r5.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CE7012A2-D45D-4E17-8621-04411E0A0FED@scratch.space

> 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




  parent reply	other threads:[~2018-10-10 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-10 10:17 FW: bug#32758: 26.1 emacs-mac 7.2; forward-sentence in eww Van L
2018-10-10 11:28 ` Yuri Khan
2018-10-10 14:19   ` Van L
2018-10-10 15:17 ` Stefan Monnier [this message]
2018-10-10 15:56   ` FW: " Yuri Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvmurlq1r5.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).