Subject: Re: bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 13 Feb 2022 10:04:38 +0100

Reuben Thomas <[email-masked]> writes:

> 1. Rename my ~/.hunspell_en_GB.
>
> 2. Start "emacs -Q"
>
> 3. M-x flyspell-mode RET
>
> 4. M-x customize-variable RET ispell-program-name RET; set to "/usr/bin/hunspell"
> (doing this after step 3 because the variable is not available for customization
> before loading ispell)
>
> 5. Type "etc. i.e. e.g."
>
> All of the above is now red-underwiggled.

Easier reproduction case:

----
(setq ispell-program-name "/usr/bin/hunspell")
(ispell-change-dictionary "en_GB")
(flyspell-mode)

etc.
----

Note red wiggle under etc.  `M-$' on the etc gives me:

So flyspell doesn't really understand that a full stop can be part of a
word, apparently?  (This is with Emacs 29.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no