Fix to ispell.el for 386/ix

Mark W. Snitily mark at zok.UUCP
Mon Feb 12 11:37:49 AEST 1990


This one took me some time to figure out so I thought I'd pass it along.

I recently compiled ispell for 386/ix 2.0.2 with no changes except for
the Makefile and config.X files, (this is normal installation).  When I
tried to use ispell.el with gnu emacs (18.55) it simply wouldn't work
right.

As it turns out, there's no real bug in ispell.el, but rather a BSD
verses System V arg difference in the Unix "tr" filter.  I think this
applies to all System V implementations but have only tested it on
the 386/ix 2.0.2 version.

Here's a context diff for ispell.el, (just a one line change):

*** ispell.el.org	Fri Dec 15 14:35:57 1989
--- ispell.el	Sun Feb 11 16:09:57 1990
***************
*** 363,369 ****
  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)
  
--- 363,369 ----
  deroff, detex, etc.")
  (make-variable-buffer-local 'ispell-filter-hook)
  
! (defvar ispell-filter-hook-args '("-cs" "[A-Z][a-z]" "[\012*]")
    "*Argument LIST to pass to ispell-filter-hook")
  (make-variable-buffer-local 'ispell-filter-hook-args)
  
-- Mark

Mark W. Snitily                 Consulting Services:
894 Brookgrove Lane             Graphics, Operating Systems, Compilers
Cupertino, CA 95014             (408) 252-0456
mark at zok.uucp



More information about the Comp.unix.i386 mailing list