Bug 58147 - aspell-0.33.7.1-2 is very confused?
aspell-0.33.7.1-2 is very confused?
 Status: CLOSED RAWHIDE None Red Hat Raw Hide Retired aspell --- 1.0 i386 Linux medium medium --- Trond Eivind Glomsrxd Ben Levenson depends on / blocked

 Reported: 2002-01-09 22:43 UTC by Jonathan Kamens 2007-04-18 16:38 UTC (History) 0 users Bug Fix --- 2002-01-21 19:42:33 UTC --- --- --- --- --- --- ---

 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: ! + ^\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 "+". ``` 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. ``` Trond Eivind Glomsrxd 2002-01-17 20:20:13 UTC ```Can you try the rpms at http://people.redhat.com/teg/aspell/ ? ``` 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? ``` 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). ``` 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. ``` Trond Eivind Glomsrxd 2002-03-20 15:49:35 UTC ```Should have closed this on the above comment :) ```