Xref: utzoo gnu.emacs.help:1332 comp.emacs:10224 Path: utzoo!utgpu!watserv1!watmath!uunet!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: jayb@qsun.att.com Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: ispell.el troubles Message-ID: <9102260736.AA27015@life.ai.mit.edu> Date: 26 Feb 91 05:31:00 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 36 >>>>> Recently I posted: > I have modified the ispell-syntax-table (in ispell.el :-( I'd rather > not have changed ispell.el itself, but...) to regard an apostrophe (') > as a legitimate character, and ispell-word seems to know how to handle > this: ispell-word on "you've" results in: > "Checking spelling of YOU'VE ... correct" in the minibuffer. > However, ispell-buffer and ispell-region keep giving me the > "cannot find ve in original text" message for words like "you've". > (Interestingly, "you've" when within quotation marks does not give me > the "cannot find ..." message. Hmmm.) Muchos gracias to James R. Van Artsdalen and Dale Worley and for their solutions. In a nutshell, the problem I was having was that while I _was_ correctly changing the ispell-filter-table as instructed in ispell.el, I also needed to be setting up my ispell-filter-hook-args for tr() to pass the apostrophe on through. Now I have (setq ispell-filter-hook-args '("-cs" "'A-Za-z" "\012")) in my .emacs. [ Remember that this variable may require square brackets around the second argument depending on the syntax of your tr() command. ] I don't understand that much about that ispell-syntax-table stuff, but it seems kinda clumsy to have to make two types of changes (in the table and in the tr arguments) in order to get things going. Is it time ispell.el were cleaned up? Anyway, James sent me complete diffs to ispell.el to implement these changes getting ispell.el to behave properly with apostrophes. I'll leave it up to James to post these diffs here, or send me email and I'll send 'em to you. Jay_Borkenhagen@ATT.Com