Article: 616 of alt.sources.amiga Path: ringer!swrinde!mips!sdd.hp.com!hpscdc!hplextra!hpfcso!hpfcdc!koren From: koren@hpfcdc.fc.hp.com (Steve Koren) Newsgroups: alt.sources.amiga Subject: An ispell.el for Amiga GNU emacs & ispell 3.1ljr Date: 3 May 92 04:59:22 GMT Organization: HP Fort Collins, Co. Lines: 267 Here is a version of ispell.el and autofix.el which work with Amiga emacs. The changes I made to the Unix version of ispell.el are: * bound \M-$ to ispell-word, and \M-* to ispell-complete-word. * Communcates with ispell's ARexx port instead of its stdin. * fixed ispell-complete-word to use the enhanced regexp feature of Amiga ispell instead of the "look" program, which, as far as I know, has not been ported. This works well and is fast, but I changed the code so that you must have at least 3 letters before using this function to avoid huge completion lists. * Requires Amiga ISpell version 3.1ljr. If the ispell ARexx server is not already running, using any ispell function will start it as a subprocess. However, ispell must be in your search path and should be properly installed. ispell-init-process will take are of firing off an ispell -r. * The "add" ispell function works and adds words to your private dictionary. "c" (correct) also works but I re-wrote the code. I also re-wrote ispell-region to call ispell-word for each word in the region. This is almost as fast and was far simpler than porting ispell-region as it was. * Most of the other functions are intact, but I took out the ispell-filter-hook because it didn't work. Also in this shar archive is a version of the autofix.el minor mode which will work with Amiga ispell. It will also work under Unix. The ispell.el here, however, is Amiga specific due to the ARexx stuff. It won't work under Unix. (Actually, the autofix.el here is slightly better than the Unix specific one I posted earlier, so you might want to pick this up even if you don't need the Amiga ispell.el). A 68030 or better is recommended to use AutoFix mode. It will work on a 68000 but the typing gets jerky and slow due to all the work going on. On a 68030 continuous typing at 75 WPM only gets the system load average up to about 0.20 if you are using the byte-compliled version. Have fun, - steve PS - you need enough ram to hold both GNU emacs and the ispell server and hashed dictionary.