all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Hunspell and contractions with apostrophes
Date: Tue, 26 May 2020 10:48:34 -0700	[thread overview]
Message-ID: <87y2pelh8t.fsf@ericabrahamsen.net> (raw)

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




             reply	other threads:[~2020-05-26 17:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 17:48 Eric Abrahamsen [this message]
2020-05-26 19:08 ` Hunspell and contractions with apostrophes 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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2pelh8t.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.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 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.