From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Wordingham Newsgroups: gmane.emacs.bugs Subject: bug#7781: ispell problem with hunspell and UTF-8 file (and other, related hunspell problems) Date: Sun, 1 Jan 2012 21:42:30 +0000 Message-ID: <20120101214230.25591b8c@JRWUBU2> References: <87sjx9fula.fsf@sc3d.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325454125 5553 80.91.229.12 (1 Jan 2012 21:42:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2012 21:42:05 +0000 (UTC) To: 7781@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 01 22:42:01 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RhTAF-0005Tf-Bl for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2012 22:41:59 +0100 Original-Received: from localhost ([::1]:34473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhTAE-0005NK-OT for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2012 16:41:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhTAB-0005N3-8c for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 16:41:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhTA9-0005k8-Vd for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 16:41:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhTA9-0005k2-Tw for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 16:41:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RhTDC-0005sx-M1 for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 16:45:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87sjx9fula.fsf@sc3d.org> Resent-From: Richard Wordingham Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jan 2012 21:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7781 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7781-submit@debbugs.gnu.org id=B7781.132545430122602 (code B ref 7781); Sun, 01 Jan 2012 21:45:02 +0000 Original-Received: (at 7781) by debbugs.gnu.org; 1 Jan 2012 21:45:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhTDA-0005sU-Pc for submit@debbugs.gnu.org; Sun, 01 Jan 2012 16:45:01 -0500 Original-Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhTD6-0005sK-Fe for 7781@debbugs.gnu.org; Sun, 01 Jan 2012 16:44:57 -0500 Original-Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120101214145.MXEF21018.mtaout03-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for <7781@debbugs.gnu.org>; Sun, 1 Jan 2012 21:41:45 +0000 Original-Received: from JRWUBU2 ([82.16.217.33]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20120101214145.IIUT5924.aamtaout02-winn.ispmail.ntl.com@JRWUBU2> for <7781@debbugs.gnu.org>; Sun, 1 Jan 2012 21:41:45 +0000 X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=TKAxtaOfLdMA:10 a=uObrxnre4hsA:10 a=Fj0c77JwVQQA:10 a=kj9zAlcOel0A:10 a=NLZqzBF-AAAA:8 a=FP58Ms26AAAA:8 a=danhDmx_AAAA:8 a=4hT6gdF-KsBtrh6LI0gA:9 a=NSw-8ghqa48zkDX2PMYA:7 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 01 Jan 2012 16:45:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55350 Archived-At: Those who want to compile a bug fix in Hunspell for themselves can find fixes (based on Hunspell 1.2.8 and Emacs V23) to spell check word-separated Thai in UTF-8 from Emacs at http://homepage.ntlworld.com/richard.wordingham/thai/hunspell-1.2.8-jrw1.1.zip - the byte v. character count problem was just one of those met and resolved. The full list is: On Hunspell: Bad UTF-8 char count in pipe mode - ID: 3178449 No Encoding of Word for Suggestions in Piped Mode (https://sourceforge.net/tracker/?func=detail&aid=3468022&group_id=143754&atid=756395) Multidictionary guesses dictionary for suggestions (https://sourceforge.net/tracker/?func=detail&aid=3468039&group_id=143754&atid=756395) Hunspell 1.2.8 Groups Thai TIS-620 Chars in Lower/Upper Case Pairs (https://bugs.launchpad.net/ubuntu/+source/hunspell/+bug/910452) (fixed in Release 1.2.14) On the Thai dictionary: th_TH Affix File Inadequate for Hunspell (https://bugs.launchpad.net/ubuntu/+source/openoffice.org-dictionaries/+bug/910447) There is also a problem with the size of the window holding correction in Thai (probably depending on the choice of font); the addition of (fit-window-to-buffer) at the appropriate point in ispell.el (as in the zip file) fixes that. Richard.