Bug 54391 - Spellchecking in emacs with aspell on tex document fails
Summary: Spellchecking in emacs with aspell on tex document fails
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: emacs
Version: 7.1
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2001-10-05 16:15 UTC by Richard Smemoe
Modified: 2007-04-18 16:37 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2004-01-14 07:50:34 UTC

Attachments (Terms of Use)
Emacs error log (317 bytes, text/plain)
2001-10-05 18:14 UTC, Richard Smemoe
no flags Details
tex document that fails when spell checking (55.31 KB, text/plain)
2001-10-05 18:15 UTC, Richard Smemoe
no flags Details

Description Richard Smemoe 2001-10-05 16:15:43 UTC
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):

How reproducible:

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

Additional info:

Comment 1 Richard Smemoe 2001-10-05 18:14:22 UTC
Created attachment 33498 [details]
Emacs error log

Comment 2 Richard Smemoe 2001-10-05 18:15:17 UTC
Created attachment 33499 [details]
tex document that fails when spell checking

Comment 3 Trond Eivind Glomsrxd 2001-10-08 16:20:45 UTC
I can reproduce it...

Comment 4 Trond Eivind Glomsrxd 2001-10-08 16:36:17 UTC
Still a problem with ispell.el 3.5 from

Comment 5 Tor Andre Myrvoll 2001-10-19 14:51:18 UTC
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.

Comment 6 Aaron VanDevender 2002-05-16 17:52:18 UTC
I get a similar "Ispell Misalignment Error" when spell checking tex documents
using emacs 21.2-2 (included in RH 7.3) and aspell 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.

Comment 7 Jens Petersen 2002-10-30 22:25:01 UTC
This problem still occurs with the emacs in RHL 8.0.

Comment 8 Jens Petersen 2003-01-15 15:19:22 UTC
I don't seem able to reproduce this any longer.
Could you try testing with the latest emacs and aspell
in rawhide?

Comment 9 Kostas Georgiou 2003-01-17 10:26:01 UTC
emacs-21.2-25 (phoebe) and emacs-21.2-29 (rawhide) still have the problem with
the      submitted attachment. I then upgraded aspell- and
pspell-0.12.2-15 (pheobe/rawhide) and it still fails. Which versions of
emacs/aspell you used ? 

Comment 10 Aaron VanDevender 2003-01-23 14:22:18 UTC
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.

Comment 11 Jens Petersen 2003-05-20 07:24:14 UTC
I still can't reproduce with 21.3.

Comment 12 Jens Petersen 2004-01-14 07:50:34 UTC
Closing.  Please re-open if you can reproduce with 21.3.

Note You need to log in before you can comment on or make changes to this bug.