unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "André A. Gomes" <andremegafone@gmail.com>
Cc: 56844@debbugs.gnu.org
Subject: bug#56844: [PATCH] Refactor repunctuate-sentences to accommodate corner case.
Date: Sun, 31 Jul 2022 10:34:09 +0200	[thread overview]
Message-ID: <87a68p4r5q.fsf@gnus.org> (raw)
In-Reply-To: <87r122eaqv.fsf@gmail.com> ("André A. Gomes"'s message of "Sat, 30 Jul 2022 21:06:16 +0300")

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

> It now gracefully handles the case when abbreviations such as e.g. or
> i.e. are used in sentences.

[...]

> +        (regexp "\\([]\"')]?\\)\\([.?!]\\)\\([]\"')]?\\) +\\([\"')[:upper:]]\\)")

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?






  reply	other threads:[~2022-07-31  8:34 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 [this message]
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
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=87a68p4r5q.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56844@debbugs.gnu.org \
    --cc=andremegafone@gmail.com \
    /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).