Bug 58147

Summary: aspell-0.33.7.1-2 is very confused?
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: aspellAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-21 19:42:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2002-01-09 22:44:00 UTC
Run "ispell -a -m -B" with aspell-0.33.7.1-2 and pspell-0.12.2-4 and feed it the
following input:

<blank line>
!
+
^\hyphenation{Clear
^DDTS}

After the last line (the one containing DDTS), you'll see:

& sgml 42 22: SGML, Simla, sigma, GM, Sm, gm, ml, XML, signal, Gal, Gil, SAM,
Sal, Sam, Sim, Sol, gal, gel, sol, sum, GMT, MGM, Sgt, smile, Saul, sail, same,
seal, sell, semi, sill, soil, soma, some, soul, sumo, SIMD, STOL, Sims, sump,
sums, HTML
& tex 16 27: TeX, Tex, TWX, text, Rex, TX, Dex, tax, tux, Te, ex, Mex, hex, lex,
sex, vex

I have no idea why.  Emacs doesn't either.  It reports, "Ispell misalignment:
word `sgml' point 26; probably incompatible versions".

Downgrading to aspell-0.33.7-1 appears to make the problem go away.

Well, OK, I think I have a guess -- something is getting confused when emacs
tells ispell to enter tex mode by sending it a "+".

Comment 1 Jonathan Kamens 2002-01-09 23:11:37 UTC
I was wrong.  Downgrading aspell didn't help.  Neither did downgrading pspell. 
Emacs is still confused, but it's feeding slightly different input to aspell:

!
+
^\thispagestyle{plain}
^\hyphenation{Clear

I think part of the problem is probably that Emacs is not filtering out these
tex commands, but other than that, I think aspell's reaction is probably still
wrong.


Comment 2 Trond Eivind Glomsrxd 2002-01-17 20:20:13 UTC
Can you try the rpms at http://people.redhat.com/teg/aspell/ ?

Comment 3 Jonathan Kamens 2002-01-20 01:02:15 UTC
1) What have you changed (i.e., why should I expect these RPMs to work :-)?

2) What pspell package should I use them with?


Comment 4 Trond Eivind Glomsrxd 2002-01-21 19:27:06 UTC
You shouldn't need to change the pspell package (use the standard RHL 7.2 one),
as for what's done, it's magic (also known as actually use the correct version
of the tarball).

Comment 5 Jonathan Kamens 2002-01-21 19:42:25 UTC
Well, I'm now using aspell-0.33.7.1-6 and pspell-0.12.2-7, and everything
appears to work.

Incidentally, I'm not convinced you're right that the 7.2 version of pspell
would work; I think there are link-time incompatibilities.  You may want to
check that, and if so, out a prereq line in the aspell package.


Comment 6 Trond Eivind Glomsrxd 2002-03-20 15:49:35 UTC
Should have closed this on the above comment :)