home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / emacs / help / 4075 < prev    next >
Encoding:
Text File  |  1992-09-10  |  2.0 KB  |  47 lines

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