From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25766: aspell problem in LaTeX mode Date: Fri, 17 Feb 2017 09:19:44 +0200 Message-ID: <8360k9xp0v.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487316011 11985 195.159.176.226 (17 Feb 2017 07:20:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2017 07:20:11 +0000 (UTC) Cc: 25766@debbugs.gnu.org To: Bob Alice Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 08:20:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cecpq-0002eU-8Z for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 08:20:06 +0100 Original-Received: from localhost ([::1]:51932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cecpw-0003jC-5v for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 02:20:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cecpq-0003hg-2X for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 02:20:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cecpm-0004Vq-3c for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 02:20:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cecpm-0004Vl-1F for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 02:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cecpl-0007um-Qz for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 02:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2017 07:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25766-submit@debbugs.gnu.org id=B25766.148731596830382 (code B ref 25766); Fri, 17 Feb 2017 07:20:01 +0000 Original-Received: (at 25766) by debbugs.gnu.org; 17 Feb 2017 07:19:28 +0000 Original-Received: from localhost ([127.0.0.1]:42990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cecpE-0007tx-Ji for submit@debbugs.gnu.org; Fri, 17 Feb 2017 02:19:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cecpD-0007tl-5N for 25766@debbugs.gnu.org; Fri, 17 Feb 2017 02:19:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cecp3-00045L-G8 for 25766@debbugs.gnu.org; Fri, 17 Feb 2017 02:19:21 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cecp3-00045H-D0; Fri, 17 Feb 2017 02:19:17 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3176 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cecp2-0007vT-KC; Fri, 17 Feb 2017 02:19:17 -0500 In-reply-to: (message from Bob Alice on Thu, 16 Feb 2017 20:52:17 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129442 Archived-At: > From: Bob Alice > Date: Thu, 16 Feb 2017 20:52:17 +0000 > > The following is a minimal example of LaTeX code that breaks the spell checker: > > \caption{5\% \label{_fred}} > \autoref{alice} envolope > > When I spell-check this it fails to notice that 'envolope' is mis-spelled. If I remove the underscore from _fred or > remove the \% then the spell checker works fine. > > Also, If I change the emacs default to use ispell instead of aspell then it works fine. Running the file through > aspell on the command line also finds the spelling error. I can only conclude that there's a bug in the bit of > emacs that runs LaTeX code through aspell. I don't have aspell installed; I tried hunspell, and it did detect the "envolope" mis-spelling. > Any ideas? Turn on ispell.el debugging and see what Emacs submits to aspell. > I'm using emacs version 24.4.1 and aspell version 3.1.20 (but really 0.60.7-20110707); The default packages > are from the Debian Jessie repo. I tried both the current RC of Emacs 25.2 and Emacs 24.4, they both work with hunspell.