unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: "André A. Gomes" <andremegafone@gmail.com>,
	"Lars Ingebrigtsen" <larsi@gnus.org>
Cc: 56844@debbugs.gnu.org
Subject: bug#56844: [PATCH] Refactor repunctuate-sentences to accommodate corner case.
Date: Tue, 2 Aug 2022 12:35:35 +0000	[thread overview]
Message-ID: <CADwFkm=_NnP_gTYMr_44UjfJiw=WrqB54GzPgSyOxMCf26Nj8g@mail.gmail.com> (raw)
In-Reply-To: <877d3qzxcj.fsf@gmail.com>

André A. Gomes <andremegafone@gmail.com> writes:

>> I'm not quite sure I understand this patch.  Are you changing this to
>> only consider punctuation that's followed by an upper-case character to
>> be sentence-end punctuation?
>
> Yes.

FWIW, I would rather want to specify a list of ignored abbreviations
that I'd like to not consider ending a sentence.  This could include
standard US ones like "e.g.", "i.e.", etc. by default, but should be
customizable so I can add any localized equivalents.





  parent reply	other threads:[~2022-08-02 12:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 18:06 bug#56844: [PATCH] Refactor repunctuate-sentences to accommodate corner case André A. Gomes
2022-07-31  8:34 ` Lars Ingebrigtsen
2022-07-31 19:49   ` Juri Linkov
2022-08-02 11:43     ` André A. Gomes
2022-08-02 12:48       ` Visuwesh
2022-08-02 11:41   ` André A. Gomes
2022-08-02 11:45     ` Lars Ingebrigtsen
2022-08-02 12:10       ` Robert Pluim
2022-08-02 12:35     ` Stefan Kangas [this message]
2022-08-02 19:59       ` Juri Linkov
2022-09-02 10:47         ` Lars Ingebrigtsen

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='CADwFkm=_NnP_gTYMr_44UjfJiw=WrqB54GzPgSyOxMCf26Nj8g@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=56844@debbugs.gnu.org \
    --cc=andremegafone@gmail.com \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).