From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7781: hunspell and latex-mode Date: Mon, 28 Apr 2014 19:48:00 +0300 Message-ID: <838uqpo0xr.fsf@gnu.org> References: <87sjx9fula.fsf@sc3d.org> <87y4yqh34e.fsf@micropit.couberia.selfip.net> <83eh0ho482.fsf@gnu.org> <87mwf5fmwt.fsf@micropit.couberia.selfip.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1398703768 32640 80.91.229.3 (28 Apr 2014 16:49:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 16:49:28 +0000 (UTC) Cc: 7781@debbugs.gnu.org To: Peter =?UTF-8?Q?M=C3=BCnster?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 18:49:20 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 1Weok4-00057Y-Ka for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 18:49:20 +0200 Original-Received: from localhost ([::1]:44999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Weok4-0001Wq-9S for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Apr 2014 12:49:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Weoju-0001R8-OJ for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 12:49:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Weojn-0003rp-Ad for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 12:49:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Weojn-0003rl-70 for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 12:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Weojm-00014i-JG for bug-gnu-emacs@gnu.org; Mon, 28 Apr 2014 12:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Apr 2014 16:49: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.13987036844035 (code B ref 7781); Mon, 28 Apr 2014 16:49:02 +0000 Original-Received: (at 7781) by debbugs.gnu.org; 28 Apr 2014 16:48:04 +0000 Original-Received: from localhost ([127.0.0.1]:44059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Weoip-000130-Rw for submit@debbugs.gnu.org; Mon, 28 Apr 2014 12:48:04 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:59145) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Weoim-00012N-Uv for 7781@debbugs.gnu.org; Mon, 28 Apr 2014 12:48:01 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4R00H002GN9700@a-mtaout20.012.net.il> for 7781@debbugs.gnu.org; Mon, 28 Apr 2014 19:47:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4R00G2W2NUVI70@a-mtaout20.012.net.il>; Mon, 28 Apr 2014 19:47:54 +0300 (IDT) In-reply-to: <87mwf5fmwt.fsf@micropit.couberia.selfip.net> X-012-Sender: halo1@inter.net.il 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:88366 Archived-At: > From: Peter Münster > Cc: 7781@debbugs.gnu.org > Date: Mon, 28 Apr 2014 18:18:10 +0200 > > - create minimal latex file /tmp/test.tex > - start emacs: > LANG=C emacs -Q --eval '(setq ispell-program-name "hunspell")' /tmp/test.tex > - M-x ispell Works fine for me, sorry. Maybe your Hunspell is not patched enough. 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 Or maybe wait for someone on Unix to try reproducing your recipe. One other idea is to try spell-checking your sample file outside of Emacs, maybe you will see something that will give some ideas. Finally, are you sure the 'hunspell' executable Emacs finds on PATH is indeed the one you intend? (Try putting a full absolute file name into ispell-program-name.)