[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: |
Eli Zaretskii |
Subject: |
Re: flyspell.el and non-word characters in CASECHARS |
Date: |
Wed, 18 Apr 2012 21:45:41 +0300 |
> 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.
> Does attached diff help at your site?
I will try that when I have time, thanks.