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: Tue, 29 Apr 2014 16:30:07 +0200 Message-ID: <878uqo439s.fsf@micropit.roche-blanche.homenet.org> References: <87sjx9fula.fsf@sc3d.org> <87y4yqh34e.fsf@micropit.couberia.selfip.net> <83eh0ho482.fsf@gnu.org> <87mwf5fmwt.fsf@micropit.couberia.selfip.net> <20140429100325.GA13604@agmartin.aq.upm.es> <87r44ga131.fsf@micropit.roche-blanche.homenet.org> <20140429103949.GA28561@agmartin.aq.upm.es> <87fvkw9wq9.fsf@micropit.roche-blanche.homenet.org> <87bnvk9u8k.fsf@micropit.roche-blanche.homenet.org> <83tx9cme5r.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398781898 19104 80.91.229.3 (29 Apr 2014 14:31:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2014 14:31:38 +0000 (UTC) Cc: agustin.martin@hispalinux.es, 7781@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 29 16:31:30 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 1Wf948-0000pS-74 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 16:31:24 +0200 Original-Received: from localhost ([::1]:50248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf947-0004NH-R2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 10:31:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf93w-0004Al-FT for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 10:31:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wf93o-0005QR-Tu for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 10:31:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf93o-0005Nt-BZ for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 10:31:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wf93n-00024l-F0 for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 10:31:03 -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: Tue, 29 Apr 2014 14:31:03 +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.13987818177882 (code B ref 7781); Tue, 29 Apr 2014 14:31:03 +0000 Original-Received: (at 7781) by debbugs.gnu.org; 29 Apr 2014 14:30:17 +0000 Original-Received: from localhost ([127.0.0.1]:45156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wf932-000233-Q1 for submit@debbugs.gnu.org; Tue, 29 Apr 2014 10:30:17 -0400 Original-Received: from smtp07.smtpout.orange.fr ([80.12.242.129]:22223 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wf930-000221-GS for 7781@debbugs.gnu.org; Tue, 29 Apr 2014 10:30:15 -0400 Original-Received: from micropit.roche-blanche.homenet.org ([2.14.79.144]) by mwinf5d66 with ME id vqW71n00H36onnE03qW7ev; Tue, 29 Apr 2014 16:30:08 +0200 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Tue, 29 Apr 2014 16:30:08 +0200 X-ME-IP: 2.14.79.144 Original-Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id 6959EA60DD4; Tue, 29 Apr 2014 16:30:07 +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:88425 Archived-At: On Tue, Apr 29 2014, Eli Zaretskii wrote: > (I have no idea why visiting the same file in Text mode avoids the > problem. The only difference is that in Text mode, ispell.el does not > skip the first 2 lines, but instead submits them to Hunspell. No. In latex-mode, emacs switches hunspell into TeX-mode with the "+". > Why this makes the difference, I don't know, but probably the lone > "^bla" somehow triggers the bug in the patch you installed, whatever > that bug is.) No. In normal mode, the "^bla" works fine. The patch on sf.net just breaks the TeX-mode: every position becomes 0. Your patch works nicely, thanks! I should have tested hunspell on the command line, before reporting the problem. Now I know, how to do that. -- Peter