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: Thu, 12 Jun 2014 19:58:21 +0300 Message-ID: <83y4x2xdxu.fsf@gnu.org> References: <87ha3s71mt.fsf@debian.uxu> <87tx7rsevi.fsf@debian.uxu> <8738fbscao.fsf@debian.uxu> 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 1402592350 6849 80.91.229.3 (12 Jun 2014 16:59:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2014 16:59:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 12 18:59:02 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 1Wv8L6-00006b-8N for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 18:59:00 +0200 Original-Received: from localhost ([::1]:54899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv8L5-0003bx-Tz for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 12:58:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv8Kp-0003bl-ND for help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 12:58:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv8Kj-0001y9-5n for help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 12:58:43 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:38704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv8Ki-0001xX-Tx for help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 12:58:37 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N7200J00F0CWD00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:58:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7200JF7F5NMV60@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 19:58:35 +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.166 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:98181 Archived-At: > Date: Thu, 12 Jun 2014 12:43:24 +0700 > From: Yuri Khan > Cc: "help-gnu-emacs@gnu.org" >=20 > From a spell checker, in particular, I expect that it should > (perhaps with an optional switch) be able to flag as error any > spelling of =E2=80=9Cisn=E2=80=99t=E2=80=9D where the character bet= ween n and t is not the > preferred apostrophe character U+2019. You cannot expect that from a speller. You should expect that from people who produce the dictionaries for the speller, because it's the dictionary files that tell the speller which characters can and canno= t appear in a word, and which suffixes can and cannot be appended to a word for it to remain correctly spelled. Hunspell already supports all that, it's just your dictionary that doesn't. Look at the *.aff files to understand how the ' apostrope works, and you will see why the speller is not the issue here.