From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Getting Emacs to play nice with Hunspell and apostrophes Date: Sat, 07 Jun 2014 21:17:26 +0300 Message-ID: <83ppik37pl.fsf@gnu.org> References: <87ha3wobbo.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1402165084 18529 80.91.229.3 (7 Jun 2014 18:18:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2014 18:18:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 07 20:17:57 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WtLBk-0002ii-TX for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 20:17:57 +0200 Original-Received: from localhost ([::1]:52707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLBk-0006v5-G9 for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 14:17:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLBT-0006uh-Qo for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 14:17:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtLBO-0004hJ-FX for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 14:17:39 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:41457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLBO-0004hA-7A for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 14:17:34 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N6T000008TZT100@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 21:17:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6T000FT9H8S650@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 21:17:32 +0300 (IDT) In-reply-to: <87ha3wobbo.fsf@skimble.plus.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98072 Archived-At: > From: Sharon Kimble > Date: Sat, 07 Jun 2014 18:53:47 +0100 > Cc: Emacs Users >=20 > ;; Use hunspell instead of ispell > (if (file-exists-p "/usr/bin/hunspell") > (progn > (setq ispell-program-name "hunspell") > (eval-after-load "ispell" > '(progn (defun ispell-get-coding-system () 'utf-8))))) > (setq ispell-program-name "hunspell")=20 > (require 'rw-hunspell) > (require 'rw-language-and-country-codes) > (require 'rw-ispell) > (setq ispell-dictionary "en_GB_hunspell") > --8<---------------cut here---------------end--------------->8--- >=20 > Hopefully this will help you get going with hunspell, which I have > found is good! :) This is all I have set up for hunspell and it > works okay with "isn=E2=80=99t" as I've just corrected it in this e= mail. I don't see how that would work, unless you are using a version of an English dictionary that knows about the =E2=80=99 character. I don't= think the rw-* packages have anything to do with that, or could have. So I think a more interesting for the OP question will be where did you get that "en_GB_hunspell" dictionary you are using, because that dictionary might actually hold the answer for his questions. P.S. Most, if not all, of what rw-* packages do is already handled i= n the ispell.el that comes with the latest versions of Emacs, which include a full support for Hunspell. You might as well try using Emacs without those add-ons, you will probably find they are not needed anymore.