Red Hat Bugzilla – Bug 54391
Spellchecking in emacs with aspell on tex document fails
Last modified: 2007-04-18 12:37:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)
Description of problem:
When I try to spell check in graphical emacs(Edit->Spell->Check Buffer) on
a tex document, it works for a while, then gives the attached error and
stops spell checking. This happens on several different tex documents.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run emacs p3.tex (p3.tex is attached)
2. Choose Edit->Spell->Check Buffer(Help->Options->Debug on Error will give
you error output)
3. Hit space to go through the document. Spell-checking will eventually
stop and give the error if you have debug on error selected
Actual Results: It gives me the attached error message
Expected Results: The document should of finished getting spell-checked
Created attachment 33498 [details]
Emacs error log
Created attachment 33499 [details]
tex document that fails when spell checking
I can reproduce it...
Still a problem with ispell.el 3.5 from
I have the same problem. Here's my setup:
Red Hat Linux release 7.1.94 (Roswell)
GNU Emacs 20.7.1
@(#) International Ispell Version 3.1.20 (but really Aspell .33.7 alpha)
I can submit my TeX document if there's any need for it.
I get a similar "Ispell Misalignment Error" when spell checking tex documents
using emacs 21.2-2 (included in RH 7.3) and aspell 0.33.7.1. Downgrading to
emacs 20.7-41 fixes the problem. I also notice another behavoir while spell
checking tex documents with emacs 21.2-2, which is whenever a "% LocalWords:
..." line is present at the bottom the document, emacs doesn't even begin to
check the document as it had before, but instead emacs locks up, takes up 100%
of the CPU, and has to be killed.
The LocalWords tagline is a tex comment which emacs recognizes to be a document
specific addendum to the user spelling dictionary.
This problem still occurs with the emacs in RHL 8.0.
I don't seem able to reproduce this any longer.
Could you try testing with the latest emacs and aspell
emacs-21.2-25 (phoebe) and emacs-21.2-29 (rawhide) still have the problem with
the submitted attachment. I then upgraded aspell-0.33.7.1-20 and
pspell-0.12.2-15 (pheobe/rawhide) and it still fails. Which versions of
emacs/aspell you used ?
I just tried it with:
and did not see the error. i tried it with the attached file (p3.tex) and with
some of my own.
I still can't reproduce with 21.3.
Closing. Please re-open if you can reproduce with 21.3.