Re: spell check with RH7
- From: Marcus Smith <marcus ridgerun com>
- To: Matthew Guenther <mguenthe engr uvic ca>
- Cc: Balsa List <balsa-list gnome org>
- Subject: Re: spell check with RH7
- Date: Thu, 14 Dec 2000 09:52:56 -0700
On Thu, 14 Dec 2000 09:41:39 Matthew Guenther wrote:
> On Thu, 14 Dec 2000, Gediminas Paulauskas wrote:
> > It is not a reply, but another issue.
> > kažkada, berods An, 2000-12-12 21:13-0500, Dmitri Pogosyan rašė:
> > > ispell works fine outside balsa). If I use russian koi8-r language
> > > ispell choice, balsa just crashes with segmentation fault
> > > (again, outside balsa koi8-r ispell works fine)
> > in spell checking, there is a simple (I think too simple) regexp, which
> > separates message into words. it is something like "[:alpha:]", but
> > isn't set to one specified for message. For the same reason, some words
> > not recognize as words, if inside there are accented characters. At
> least it
> > is for lt_LT.ISO-8859-13, but it could be glibc problem.
> > So, before spell checking, correct locale should be set.
> I coded that part, the regex used is: \<[[:alpha:]']*\>
> I know that it causes problems with accented charcters but when I put out
> call for a regex that would handle these cases, I received no response.
> someone who has this problem would play with egrep and a text file and
> figure out a regex that would work, the code can be easily changed.
> This may properly be a libc problem, as I initially assumed it would
> automatically consider accented characters to be included in [:alpha:]
> the locale was changed. But until it is fixed a new working regex would
> a good patch.
> Matthew Guenther The squeaky wheel doesn't always get
> email@example.com the grease... Sometimes it gets
> balsa-list mailing list
For those who were having problems with balsa spell check on RH7.0.
Download the glibc patch from redhat and re-compile pspell
and aspell (following the README for pspell). I successfully
spell checked a document on RH7 last night with the new glibc.
] [Thread Prev