Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug#14419: In comment

1 view
Skip to first unread message

Ivan Andrus

unread,
May 18, 2013, 1:37:22 AM5/18/13
to 14...@debbugs.gnu.org
Okay, I realized I said something stupid after I sent the bug report. In ispell-region itself it checks if the point is in a comment, so that is the "canonical method". I'll have to read through it some more when I'm less tired to see if I can fix the problem.

-Ivan


Agustin Martin

unread,
Jan 16, 2014, 8:52:15 AM1/16/14
to 14419...@debbugs.gnu.org
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



0 new messages