unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Eli Zaretskii <eliz@gnu.org>, 20741@debbugs.gnu.org
Subject: bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period
Date: Mon, 14 Feb 2022 15:28:42 +0000	[thread overview]
Message-ID: <CAOnWdoj82uy8kEnrkkH6uFLKsUaC9+M5XiTxA_OFJjyiknOPYA@mail.gmail.com> (raw)
In-Reply-To: <8735klu3pz.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

On Mon, 14 Feb 2022 at 10:45, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Reuben Thomas <rrt@sc3d.org> writes:
>
> > To be honest, I'm not sure Emacs can do much here. As far as I can
> > tell, hunspell doesn't cope well with characters like "." that
> > normally are non-word characters, but *can* occur in a word.
> >
> > Relatedly, see: https://github.com/hunspell/hunspell/issues/361
>
> So it's a problem on the hunspell side, and not because Emacs is
> considering the "." to be a non-word character?  (I haven't tried to
> debug what's going on.)


For natural language, yes.

There's also a problem in common abbreviations like "i.e.", which is
> considered as the words "i" and "e", apparently...
>

This is indeed the case, and it's not normally a problem because Emacs does
not spellcheck words so short.

I was wondering whether Emacs could query the backend speller whether it
> had the word "foo." in the dictionary before squiggly-lining "foo", but
> I'm very unfamiliar with how these functions work.
>

It could!

-- 
https://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 2742 bytes --]

  parent reply	other threads:[~2022-02-14 15:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05 14:06 bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period Reuben Thomas
2015-06-05 14:08 ` bug#20741: Workaround Reuben Thomas
2015-06-05 19:23 ` bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period Eli Zaretskii
2015-06-05 21:42   ` Reuben Thomas
2015-06-06  6:49     ` Eli Zaretskii
2015-06-06  9:35       ` Reuben Thomas
2015-06-06  9:38         ` Reuben Thomas
2015-06-06 10:03           ` Eli Zaretskii
2015-06-06 10:08             ` Reuben Thomas
2015-06-06 10:11               ` Reuben Thomas
2015-06-06 10:36                 ` Eli Zaretskii
2015-06-06  9:58         ` Eli Zaretskii
2022-02-13  9:04         ` Lars Ingebrigtsen
2022-02-13 12:37           ` Eli Zaretskii
2022-02-13 21:33             ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-14 10:44               ` Lars Ingebrigtsen
2022-02-14 13:08                 ` martin rudalics
2022-02-14 15:28                 ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-02-14 13:34               ` Eli Zaretskii
2022-02-14 13:43                 ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-14 15:07                   ` Stephen Berman
2022-02-14 15:21                   ` Eli Zaretskii
2022-02-14 15:27                     ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-14 16:42                       ` Eli Zaretskii
2022-02-14 17:01                         ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-14 18:08                           ` martin rudalics

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=CAOnWdoj82uy8kEnrkkH6uFLKsUaC9+M5XiTxA_OFJjyiknOPYA@mail.gmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=20741@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=rrt@sc3d.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).