Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!bu.edu!mirror!ima!cfisun!stardent!johnd From: johnd@Stardent.COM (John R. Dennis @stardent) Newsgroups: comp.emacs Subject: Re: ISPELL doesn't work in GNU Emacs 18.55 Message-ID: <1990Sep14.192216.6536@Stardent.COM> Date: 14 Sep 90 19:22:16 GMT References: <2738@lamont.ldgo.columbia.edu> <9009102325.AB04499@life.ai.mit.edu> Organization: Stardent Computer, Newton MA Lines: 34 In article <9009102325.AB04499@life.ai.mit.edu> jpff@maths.bath.ac.uk writes: > > I have ISPELL ver. 2.0.01 (May 87). It runs fine as standalone program. > If I run it with ispell.el from within GNU Emacs 18.55 (on a 386/ix ver.2.02 > PC) it doesn't. > >I too have trouble with ispell version, but version 2.0.02 which is OK >interactively, but I want to use it from emacs (is there any other >way?). It seems very confused about what consistutes a word, and >looks up whole lines. and hangs. I was happy with the previous >version I had. I am using an HLH Orion1/05 (Intergraph Clipper >processor). The problem with it looking up long lines is probably due to the filter it is calling to translate a region into a word followed by a newline (i.e. one word per line). It calls a unix utility to do this, the name of which is stored in the variable ispell-filter-hook and it passes arguments to it which are stored in the variable ispell-filter-hook-args. The standard program is tr and I discovered that I needed to change the args to tr (so that it translates whitespace into a newline character). I found the following worked for us. (defvar ispell-filter-hook-args '("-cs" "[A-Z][a-z]" "[\\012*]") "*Argument LIST to pass to ispell-filter-hook") I don't have an answer why your program hangs though. -- John Dennis E Mail: johnd@Stardent.COM | {uunet,convex,decvax}!stardent!johnd Snail Mail: Stardent Computer, 85 Wells Avenue Newton, MA 02159 Voice Mail: (617) 964-6228 x243 (508)366-7976