Article View: gnu.emacs.help
Article #189246ispell.el and apostrophe
From: Bob Sloan
Date: Wed, 20 Mar 1991 16:51
Date: Wed, 20 Mar 1991 16:51
27 lines
1691 bytes
1691 bytes
I grabbed a copy of the version of ispell marked (C) 1988
Ashwin Ram, last patch 3/30/89 by Ray Moody, and changed two things:
I updated the vesion of ispell checked for to 2.0.02, and I made the
indicated change to have apostrophes count as part of words. (i.e.,
I'm a thinking that "I'm" should be a word.)
Hence a chunk of my code reads
(progn
(setq ispell-syntax-table (make-syntax-table))
;; Make certain characters word constituents
(modify-syntax-entry ?' "w " ispell-syntax-table)
;; (modify-syntax-entry ?- "w " ispell-syntax-table)
;; Get rid on existing word syntax on certain characters
(modify-syntax-entry ?0 ". " ispell-syntax-table)
Problem: The system gets very unhappy when I ispell-buffer a
buffer with apostrophes. In particular, althugh it will correctly
offer to fix or add to the dictionary "Arrakis", when it gets to
Maud'dib, I get the message
"Can't find Maud in original text -- Any key to continue"
Help?
Also, are there any "traditional" key bindings for
ispell-word, ispell-complete-word, and ispell-buffer?
Technical Details
Message-ID:
<1991Mar20.165151.15127@uicbert.eecs.uic.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!decwrl!sdd.hp.com!caen!uwm.edu!ux1.cso.uiuc.edu!uicbert.eecs.uic.edu!sloanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,9d811fac9c383867,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-03-21 01:15:26 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!decwrl!sdd.hp.com!caen!uwm.edu!ux1.cso.uiuc.edu!uicbert.eecs.uic.edu!sloan From: sloan@uicbert.eecs.uic.edu (Bob Sloan) Newsgroups: gnu.emacs.help Subject: ispell.el and apostrophe Message-ID: <1991Mar20.165151.15127@uicbert.eecs.uic.edu> Date: 20 Mar 91 16:51:51 GMT Distribution: gnu Organization: University of Illinois at Chicago Lines: 27