Article View: gnu.emacs.help
Article #189333Re: ispell.el problems
From: jay.c.borkenhagen
Date: Wed, 27 Feb 1991 14:12
Date: Wed, 27 Feb 1991 14:12
36 lines
2327 bytes
2327 bytes
>>>>> 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 <james@bigtex.cactus.org> and
Dale Worley <worley@compass.com> 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
Technical Details
Message-ID:
<1991Feb27.141238.2129@cbnewsi.att.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsj!cbnewsi!jaybShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,81f73e5fe8e6f6c2,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-02-27 06:41:58 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsj!cbnewsi!jayb From: jayb@cbnewsi.att.com (jay.c.borkenhagen) Newsgroups: gnu.emacs.help Subject: Re: ispell.el problems Keywords: solutions found! Message-ID: <1991Feb27.141238.2129@cbnewsi.att.com> Date: 27 Feb 91 14:12:38 GMT Organization: AT&T Bell Labs - Holmdel, NJ Lines: 36 Posted: Wed Feb 27 08:12:38 1991