all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Agustin Martin <agustin.martin@hispalinux.es>
Cc: emacs-devel@gnu.org
Subject: Re: flyspell.el and non-word characters in CASECHARS
Date: Wed, 18 Apr 2012 21:45:41 +0300	[thread overview]
Message-ID: <8362cwkhey.fsf@gnu.org> (raw)
In-Reply-To: <20120418162619.GA3478@agmartin.aq.upm.es>

> Date: Wed, 18 Apr 2012 18:26:19 +0200
> From: Agustin Martin <agustin.martin@hispalinux.es>
> 
> > 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.



  reply	other threads:[~2012-04-18 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 19:55 flyspell.el and non-word characters in CASECHARS Eli Zaretskii
2012-04-17 17:26 ` Agustin Martin
2012-04-17 17:51   ` Eli Zaretskii
2012-04-18 16:26     ` Agustin Martin
2012-04-18 18:45       ` Eli Zaretskii [this message]
2012-04-20 15:26         ` Agustin Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8362cwkhey.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=agustin.martin@hispalinux.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.