[comp.emacs] ispell problems

george@ucs.adelaide.edu.au (George Travan) (10/05/90)

i'm aware that this may be going over old ground but has anyone managed to
get ispell to work within emacs. recently there were some postings about
this, alas they do not work for me. i'd like to use this so its frustrating.
in my .emacs i have:
(setq TeX-mode-hook
  '(lambda () (setq ispell-filter-hook "/usr2/betelguese/bin/detex")
     (setq ispell-filter-hook-args '("-i"))))
(setq TeX-mode-hook
     '(lambda ()
        (setq ispell-filter-hook "/usr2/betelguese/bin/detex"
             ispell-filter-hook-args '("-cs" "A-Za-z" "\012")
             )))
        (define-key esc-map "$" 'ispell-word)
        (define-key esc-map "#" 'ispell-buffer)
        (define-key esc-map "&" 'ispell-region)
        (define-key esc-map "" 'ispell-complete-word)
        (require 'ispell)

when i run detex manually each word ends up on a line as it should, but i
always get ispell process died or some sort of erratic behaviour.

i.e.   detex -i myfile.tex | tr -cs A-Za-z '\012' seems to behave. i'm aware
of the bezerklyism but manually this works on my sun.

anyone put me outa-my-misery.   emacs 18.55 on a sun 4.0.3 if it matters.

George Travan
Uni of Adelaide
AUSTRALIA          e_mail: george@frodo.ua.oz.au