From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#14419: 24.3.50; ispell behaves badly with some TeX documents Date: Thu, 16 Jan 2014 14:52:15 +0100 Message-ID: <20140116135215.GA6512@agmartin.aq.upm.es> References: <273F0CF4-1050-4BEB-A005-5707AF9961BA@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1389880400 32582 80.91.229.3 (16 Jan 2014 13:53:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 13:53:20 +0000 (UTC) To: 14419-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 16 14:53:24 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 1W3nNq-0001yS-No for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jan 2014 14:53:22 +0100 Original-Received: from localhost ([::1]:60931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3nNq-0001Mm-7k for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jan 2014 08:53:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3nNg-0001LH-KH for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2014 08:53:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3nNX-0006gl-I6 for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2014 08:53:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3nNX-0006gb-FI for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2014 08:53:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W3nNW-0000CD-SP for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2014 08:53:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jan 2014 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14419 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14419-done@debbugs.gnu.org id=D14419.1389880341681 (code D ref 14419); Thu, 16 Jan 2014 13:53:02 +0000 Original-Received: (at 14419-done) by debbugs.gnu.org; 16 Jan 2014 13:52:21 +0000 Original-Received: from localhost ([127.0.0.1]:53014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3nMq-0000Aq-R9 for submit@debbugs.gnu.org; Thu, 16 Jan 2014 08:52:21 -0500 Original-Received: from fibonacci.ccupm.upm.es ([138.100.198.70]:41692) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3nMn-0000Aa-9P; Thu, 16 Jan 2014 08:52:18 -0500 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id s0GDqF3W004628; Thu, 16 Jan 2014 14:52:15 +0100 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 8C1EE402B1; Thu, 16 Jan 2014 14:52:15 +0100 (CET) Content-Disposition: inline In-Reply-To: <273F0CF4-1050-4BEB-A005-5707AF9961BA@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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:83588 Archived-At: forcemerge 13577 14419 thanks On Fri, May 17, 2013 at 11:21:26PM -0600, Ivan Andrus wrote: > ispell can overlook misspellings and (more annoyingly though easier to > detect) can start spell checking everything in math mode. > > > 1. emacs -Q > > 2. Edit the following document in latex-mode (built in or AUCTeX): > > > % \documentclass[12pt,draft,a4paper]{report} > \documentclass[12pt,a4paper]{report} > > \begin{document} > > Representation theory concerns itself with the cases when $Y$ is the general linear group $\GL_{n}(k)$, for some field $k$. > > spelling is basd $badmath$ here > > \end{document} > > > 3. Run ispell-buffer > > 4. It asks you to correct the word badmath. This is in math mode and > should be skipped. Moreover, it missed basd outside of math mode. > > 5. Delete the commented documentclass line (or move it after the other) > and things work as they are supposed to. Also fixed (in trunk) by commit r116025. Indeed it is the same problem. Closing bug report and merging both. Regards, -- Agustin