all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Hunspell and contractions with apostrophes
@ 2020-05-26 17:48 Eric Abrahamsen
  2020-05-26 19:08 ` Eli Zaretskii
  2020-05-27  0:23 ` Dmitry Alexandrov
  0 siblings, 2 replies; 17+ messages in thread
From: Eric Abrahamsen @ 2020-05-26 17:48 UTC (permalink / raw)
  To: help-gnu-emacs

I've battled with this for years now: Hunspell marks any contraction
with an apostrophe (eg the "I've" that starts this sentence) as
misspelled.

It used to be that I could edit /usr/share/hunspell/en_US.aff and add
the apostrophe to WORDCHARS (and also "ICONV ’ '"), and that would do
it. Until the next time the hunspell package updated, and over-wrote its
config files (I'm running Arch linux), and I would have to do it again.

As of six months or a year or so ago, that trick no longer works. I add
the apostrophe to the above-mentioned file, and to
"/usr/share/myspell/dicts/en_US.aff", but it has no effect.

I've got this in my init:

(set-language-environment "utf-8")

And my shell $LANG variable is en_US.UTF-8. The
"/usr/share/myspell/dicts" directory contains *.aff and *.dic files for
all the en_* variants.

I don't know what else to edit! I'm sort of amazed that this problem is
so persistent, and so difficult to fix.

Any pointers very welcome!

Eric




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-05-28 17:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-26 17:48 Hunspell and contractions with apostrophes Eric Abrahamsen
2020-05-26 19:08 ` Eli Zaretskii
2020-05-26 20:03   ` Eric Abrahamsen
2020-05-27  2:25     ` Eli Zaretskii
2020-05-27 21:24       ` Eric Abrahamsen
2020-05-27 21:53         ` Eric Abrahamsen
2020-05-28  6:22           ` Eli Zaretskii
2020-05-28 14:00             ` Eric Abrahamsen
2020-05-28 16:06               ` Eli Zaretskii
2020-05-28 17:30                 ` Eric Abrahamsen
2020-05-28 17:45                   ` Eric Abrahamsen
2020-05-27  0:23 ` Dmitry Alexandrov
2020-05-27  2:32   ` Eli Zaretskii
2020-05-27  4:22   ` Yuri Khan
2020-05-27  6:05     ` (Mis?)using quote as apostrophe (was: Hunspell and contractions with apostrophes) Dmitry Alexandrov
2020-05-27  6:53       ` Yuri Khan
2020-05-27  7:53         ` (Mis?)using quote as apostrophe Dmitry Alexandrov

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.