home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!swrinde!gatech!concert!duke!khera
- From: khera@cs.duke.edu (Vivek Khera)
- Newsgroups: gnu.emacs.help
- Subject: Re: ispell.el on iris
- Message-ID: <KHERA.92Sep10173859@thneed.cs.duke.edu>
- Date: 10 Sep 92 21:38:59 GMT
- References: <BuDHGE.Ity@news.larc.nasa.gov>
- Sender: news@duke.cs.duke.edu
- Organization: Duke University CS Dept., Durham, NC
- Lines: 32
- Nntp-Posting-Host: thneed.cs.duke.edu
- In-reply-to: jason@news.larc.nasa.gov's message of 10 Sep 92 17:19:25 GMT
- X-Md4-Signature: 30e1c068f3cf363204a56ce44cd4b981
-
- In article <BuDHGE.Ity@news.larc.nasa.gov> jason@news.larc.nasa.gov (Jason Austin) writes:
-
- Ispell.el does not seem to work right on an Iris running
- Irix4.0.4. In works fine on the same emacs compiled for a Sun Sparc.
- It looks like it's trying to check an entire line at a time instead of
- just a single word. Anyone have any idea why this is happening?
-
- the SGI is a SYSV box, so you need to change the default
- ispell-filter-hook-args. from the ispell.el file:
-
- ; For TeX users, try "detex -iw" or "detex -iw | tr -cs A-Za-z \012". Note
- ; that the output of the filter must be one word per line.
-
- (defvar ispell-filter-hook "tr"
- "Filter to pass a region through before sending it to ispell.
- Must produce output one word per line. Typically this is set to tr,
- deroff, detex, etc.")
- (make-variable-buffer-local 'ispell-filter-hook)
-
- (defvar ispell-filter-hook-args '("-cs" "A-Za-z" "\012")
- "Argument LIST to pass to ispell-filter-hook")
- (make-variable-buffer-local 'ispell-filter-hook-args)
-
-
- note that the default options to tr work for BSD style tr, and this
- needs to be changed for sysv style tr. i don't know the proper
- incantation myself, but it should be evident from the man pages.
- --
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Vivek Khera, Gradual Student/Systems Guy Department of Computer Science
- Internet: khera@cs.duke.edu Box 90129
- (MIME mail accepted) Durham, NC 27708-0129 (919)660-6528
-