[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flyspell.el and non-word characters in CASECHARS
From: |
Agustin Martin |
Subject: |
Re: flyspell.el and non-word characters in CASECHARS |
Date: |
Fri, 20 Apr 2012 17:26:12 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Apr 18, 2012 at 09:45:41PM +0300, Eli Zaretskii wrote:
> > Date: Wed, 18 Apr 2012 18:26:19 +0200
> > From: Agustin Martin <address@hidden>
> >
> > > I actually _added_ to the word-syntax test the test against CASECHARS,
> > > like this:
> > >
> > > ((or (and (= flyspell-pre-point (- (point) 1))
> > > (or (eq (char-syntax (char-after flyspell-pre-point)) ?w)
> > > (string-match-p (flyspell-get-casechars)
> > > (buffer-substring-no-properties
> > > flyspell-pre-point (1+ flyspell-pre-point)))))
> > > (= flyspell-pre-point (point))
> > > (= flyspell-pre-point (+ (point) 1)))
> > > nil)
> >
> > I tested with your changes and they do not seem to help here.
>
> Those were not all of the changes, I just showed them for an
> illustration. The full change involved a similar change a few lines
> below the above snippet, where again flyspell checks the word syntax.
I noticed that part when first looking and later forgot about it. Thanks for
reminding.
Updated diff attached for wider testing.
Regards,
--
Agustin
flyspell.el_use-otherchars.2.diff
Description: Text Data