Xref: utzoo comp.unix.i386:2878 gnu.emacs:2297 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sgi!zok!mark From: mark@zok.UUCP (Mark W. Snitily) Newsgroups: comp.unix.i386,gnu.emacs Subject: Fix to ispell.el for 386/ix Keywords: ispell Message-ID: <444@zok.UUCP> Date: 12 Feb 90 00:37:49 GMT Followup-To: comp.unix.i386 Organization: The distant planet Zok Lines: 39 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@zok.uucp