From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter =?UTF-8?Q?M=C3=BCnster?= Newsgroups: gmane.emacs.bugs Subject: bug#7781: hunspell and latex-mode Date: Mon, 28 Apr 2014 19:17:36 +0200 Message-ID: <877g69fk5r.fsf@micropit.couberia.selfip.net> References: <87sjx9fula.fsf@sc3d.org> <87y4yqh34e.fsf@micropit.couberia.selfip.net> <83eh0ho482.fsf@gnu.org> <87mwf5fmwt.fsf@micropit.couberia.selfip.net> <838uqpo0xr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398705509 30682 80.91.229.3 (28 Apr 2014 17:18:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 17:18:29 +0000 (UTC) Cc: 7781@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 19:18:22 2014 Return-path: Envelope-to: geb-bug-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 1WepC9-0005wT-Gu for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 19:18:21 +0200 Original-Received: from localhost ([::1]:45126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WepC9-0007GC-33 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 13:18:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WepBy-0007BC-9c for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:18:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WepBq-0005Qu-QG for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:18:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WepBq-0005Qp-N4 for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WepBq-0001ym-1H for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 13:18:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87sjx9fula.fsf@sc3d.org> Resent-From: Peter =?UTF-8?Q?M=C3=BCnster?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Apr 2014 17:18:01 +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.13987054677571 (code B ref 7781); Mon, 28 Apr 2014 17:18:01 +0000 Original-Received: (at 7781) by debbugs.gnu.org; 28 Apr 2014 17:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:44072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WepBa-0001xz-I0 for submit@debbugs.gnu.org; Mon, 28 Apr 2014 13:17:47 -0400 Original-Received: from smtp05.smtpout.orange.fr ([80.12.242.127]:17991 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WepBX-0001xf-Op for 7781@debbugs.gnu.org; Mon, 28 Apr 2014 13:17:44 -0400 Original-Received: from micropit.couberia.selfip.net ([2.2.212.209]) by mwinf5d10 with ME id vVHc1n00J4Xdq4q03VHdoR; Mon, 28 Apr 2014 19:17:37 +0200 X-ME-Helo: micropit.couberia.selfip.net X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Mon, 28 Apr 2014 19:17:37 +0200 X-ME-IP: 2.2.212.209 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 9126AA60C6C; Mon, 28 Apr 2014 19:17:36 +0200 (CEST) User-Agent: Gnus/5.13001 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.10) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:88368 Archived-At: On Mon, Apr 28 2014, Eli Zaretskii wrote: > Maybe your Hunspell is not patched enough. Perhaps. > Mine has much more patches than the one you mentioned. Most of them > are Windows-specific or related to encoding/decoding non-ASCII > characters, something that doesn't sound relevant for your use case. > But who knows? you might take a look at the file DIFFS in this > archive, where you will find all the changes I made to Hunspell: > > http://sourceforge.net/projects/ezwinports/files/hunspell-1.3.2-3-w32-src.zip/download Indeed. I'll take a look when I have some more time. > Or maybe wait for someone on Unix to try reproducing your recipe. Yes, let's see. > One other idea is to try spell-checking your sample file outside of > Emacs, maybe you will see something that will give some ideas. No. Here is the result: --8<---------------cut here---------------start------------->8--- $ hunspell -a -d en_US -i UTF-8 /tmp/test.tex @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2) & documentclass 8 1: document class, document-class, documentations, documentation, documents, documentary, underclassmen, underclassman * * * & bla 15 0: alb, bl, la, blat, bola, blag, blah, blab, lab, baa, bra, boa, Ila, Ala, Ola * * --8<---------------cut here---------------end--------------->8--- > Finally, are you sure the 'hunspell' executable Emacs finds on PATH is > indeed the one you intend? Yes. And after switching to "M-x text-mode", there is no more problem. -- Peter