unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Agustin Martin <agustin.martin@hispalinux.es>
To: 14419-done@debbugs.gnu.org
Subject: bug#14419: 24.3.50; ispell behaves badly with some TeX documents
Date: Thu, 16 Jan 2014 14:52:15 +0100	[thread overview]
Message-ID: <20140116135215.GA6512@agmartin.aq.upm.es> (raw)
In-Reply-To: <273F0CF4-1050-4BEB-A005-5707AF9961BA@gmail.com>

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





      parent reply	other threads:[~2014-01-16 13:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-18  5:21 bug#14419: 24.3.50; ispell behaves badly with some TeX documents Ivan Andrus
2013-05-18  5:37 ` bug#14419: In comment Ivan Andrus
2014-01-16 13:52 ` Agustin Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140116135215.GA6512@agmartin.aq.upm.es \
    --to=agustin.martin@hispalinux.es \
    --cc=14419-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).