ispell and emacs

ispell and emacs

Post by Howard Che » Sat, 01 Jun 1996 04:00:00



  I am running emacs 19.30.1 from the slackware 3.0 distribution.
Whenever I tried to use "M-x ispell-buffer", I'll get the following
on a spelling mistake:

***ispell misalignment: word "abc" point2; please retry.

What does this mean?  How do I fix it?

Btw, I can check individual words (M-$) without any problem.

Thanks

Howard

--


3rd year Honors Comp. Sci.       URL   : http://ugweb.cs.ualberta.ca/~hcheng/

When writing about transcendental issues, be transcendentally clear.
                                          - Rene Descartes

 
 
 

ispell and emacs

Post by Aart Koelewi » Sun, 02 Jun 1996 04:00:00



>  I am running emacs 19.30.1 from the slackware 3.0 distribution.
>Whenever I tried to use "M-x ispell-buffer", I'll get the following
>on a spelling mistake:
>***ispell misalignment: word "abc" point2; please retry.
>What does this mean?  How do I fix it?
>Btw, I can check individual words (M-$) without any problem.
>Thanks

I had the same problem with X-emacs (Lucid emacs). Has something to do
with versions off files/programms that don't match.

I solved it by adding one line to ispell.el

In the function:

(defun ispell-parse-output (output)
  "Parse the OUTPUT string of 'ispell' and return:
1: T for an exact match.
2: A string containing the root word for a match via suffix removal.
3: A list of possible correct spellings of the format:

.....etc, after the line:

 (setq offset (string-to-int output))

add the line:

(setq offset (+ offset -1))

and recompile ispell.el.
(off course you are smart enough to make back-ups off the originals
before you do this, and to clearly mark the line you have changed)
--
Aart Koelewijn                          

Phone : +31-55-5423521

 
 
 

1. emacs 19.xx and ispell

Did anyone run ispell from emacs 19.xx? I have both from the Slackware 1.1.0
and ispell works fine standalone, but wouldn't start from emacs. Any ideas?
Thanks.

--
 _______________________________________________________
| -Alex Freed (The opinions expressed are my own.       |                  
|               However everyone is entitled to them.)  |                  

 -------------------------------------------------------

2. (no subject)

3. ispell error inside emacs 19.22

4. Win95 and Linux

5. Problems running Tex and ispell from gnu-emacs

6. Is there a way to draw in memory (without having to get a window handle?)

7. Why emacs 19.23 can not load ispell in LINUX?

8. Boot Manager + Linux + Solaris 2.6/x86 ?

9. Emacs spell check - where's ispell?

10. emacs 19.29 problems with ispell dialog

11. ISPELL problem with EMACS 19-29 in slackware 3.0

12. Ispell under Emacs: misalignment?

13. Ispell under Emacs