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:40:24 +0300 Message-ID: <83oay436nb.fsf@gnu.org> References: 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 1402166467 32654 80.91.229.3 (7 Jun 2014 18:41:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2014 18:41:07 +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:41:00 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 1WtLY0-0006w3-Me for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 20:40:56 +0200 Original-Received: from localhost ([::1]:52760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLY0-00030t-7g for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 14:40:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLXi-00030l-Ju for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 14:40:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtLXc-00049T-3Z for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 14:40:38 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:49645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLXb-00049F-Qm for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 14:40:32 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N6T00L00AAKI600@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 21:40:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6T00LPYAJHDPA0@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 21:40:30 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:98075 Archived-At: > Date: Sat, 7 Jun 2014 20:28:08 +0200 > From: Nikolai Weibull >=20 > On Sat, Jun 7, 2014 at 5:39 PM, Nikolai Weibull wrote= : >=20 > > It=E2=80=99s beyond me how this isn=E2=80=99t working, but I=E2= =80=99m sure I=E2=80=99m doing something wrong. >=20 > I should perhaps also note that the only word in the sentence above > that is seen as an error is =E2=80=9Cisn=E2=80=99t=E2=80=9D, as = =E2=80=9Cisn=E2=80=9D isn=E2=80=99t a word. I guess > either Emacs or hunspell is ignoring single-character words =E2= =80=9Cs=E2=80=9D and > =E2=80=9Cm=E2=80=9D after each of the other instances of =E2=80= =98=E2=80=99=E2=80=99 and =E2=80=9CIt=E2=80=9D and =E2=80=9CI=E2=80= =9D are of > course seen as correctly spelled words=E2=80=A6 Emacs just goes with whatever the .aff file of the dictionary you use says. And it cannot do anything else, because the speller uses that dictionary, and decides by its rules what can and what cannot be in a word. Look in the .aff file you use, and you will see that it knows about ' and about n't and about 's, that's why these work. There's no magic here. So I think you must get a hold of a Hunspell-compliant dictionary tha= t knows about the =E2=80=99 apostrophe.