GNU bug report logs - #13577
24.3.50; Underscore in LaTeX comments can mess up ispell

Previous Next

Package: emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Mon, 28 Jan 2013 17:51:01 UTC

Severity: normal

Merged with 14419

Found in version 24.3.50

Done: Agustin Martin <agustin.martin <at> hispalinux.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Ivan Andrus <darthandrus <at> gmail.com>
Cc: 13577 <at> debbugs.gnu.org
Subject: bug#13577: 24.3.50; Underscore in LaTeX comments can mess up ispell
Date: Sat, 21 Dec 2013 13:16:27 +0800
Ivan Andrus <darthandrus <at> gmail.com> writes:

> Starting from emacs -Q add the following to a buffer and put it in
> latex-mode (I checked both AUCTeX and the builtin latex-mode):
>
> % Again, we ignore the actual values of $\zeta_{i}$.
> It is clear that $Z(G)=\angles{c_{i}}\cong \mathbb{Z}_{p}^{2}$ and
> $G'=\angles{b_{i},c_{i}}$.
> Missssspeelllllled.
>
> Run ispell-buffer.  I have to do the following to get ispell to work on
> my system:
>
> (setq-default ispell-program-name "hunspell")
> (setq ispell-dictionary "american")
>
> You will notice that it tries to correct G', when it should not (since
> it's in math mode).  It also ignores Missssspeelllllled.

I can't reproduce this.  For me, ispell-buffer tries only to correct
Missssspeelllllled.




This bug report was last modified 11 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.