GNU bug report logs -
#26125
ispell fails to detect certain typos
Previous Next
Reported by: Leon Meier <Leon.Meier <at> yandex.ru>
Date: Thu, 16 Mar 2017 12:31:02 UTC
Severity: normal
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 26125 <at> debbugs.gnu.org (full text, mbox):
> 1) Try $\sigma$ contradition -- it has the same effect within LaTeX
Then ispell complains, which is its correct behavior.
>
> 2) Try \( \sigma \) contradition -- note the spaces around \sigma; same
> effect, but ugly
Then ispell also complains, which is also its correct behavior.
>
> 3) Eval the form in verbatim environment below and run ispell again:
>
> --8<---------------cut here---------------start------------->8---
> \documentclass{article}
>
> \begin{document}
>
> \begin{verbatim}
> (TeX-ispell-skip-setcar
> '(("\\\\(" . "\\\\)")))
> \end{verbatim}
>
> \(\sigma\) contradition
>
> $\sigma$ contradition
>
> \end{document}
> --8<---------------cut here---------------end--------------->8---
I'm not quite sure what you mean. I did
M-x eval-expression <RET>
and pasted
(TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))
into the minibuffer.
After that, ispell complained correctly.
>
> If it works, I can add it to tex-ispell.el.
>
> 4) Disable the new feature by setting `TeX-ispell-extend-skip-list' to
> nil.
After appending
(setq TeX-ispell-extend-skip-list nil)
to .emacs , ispell complained correctly.
Thank you, that helped.
The options 1) and 2) are out of question in the long run for legacy
latex code with \( and \) you wouldn't like to change. I wouldn't like
to run eval-expression each time I start emacs, so 3) is out of question
for me now. I guess, 4) could be a current workaround for me.
Note that if you replace \sigma by x (or some other Latin letter),
ispell also complains correctly, so, per se, \( \) poses a problem only
under certain special circumstances.
Best,
Leon
>
> HTH.
>
> Best, Arash
>
This bug report was last modified 8 years and 126 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.