From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Sat, 29 Oct 2005 14:11:20 +0200 Message-ID: <8564rgcyl3.fsf@lola.goethe.zz> References: <20051025005824.089B.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130603906 31061 80.91.229.2 (29 Oct 2005 16:38:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2005 16:38:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 18:38:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVthq-0006J6-7y for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2005 18:37:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVthp-0004nl-AC for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2005 12:37:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVthb-0004mg-Ow for emacs-devel@gnu.org; Sat, 29 Oct 2005 12:37:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVtha-0004kw-Gh for emacs-devel@gnu.org; Sat, 29 Oct 2005 12:37:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVthY-0004kH-AL for emacs-devel@gnu.org; Sat, 29 Oct 2005 12:37:04 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVthY-0006R9-HB for emacs-devel@gnu.org; Sat, 29 Oct 2005 12:37:04 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1EVthX-0004Go-Mg; Sat, 29 Oct 2005 12:37:03 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 0675B1C01C4B; Sat, 29 Oct 2005 14:11:20 +0200 (CEST) Original-To: Piet van Oostrum In-Reply-To: (Piet van Oostrum's message of "Sat, 29 Oct 2005 12:12:01 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45092 Archived-At: Piet van Oostrum writes: > I installed the french dictionary and found the bug. > > The problem is that ispell considers "local.h" an incorrect word, > but flyspell-word (and ispell-word) when checking consider "h" the > word in question and consider it good. The reason is that ispell.el > and ispell the program don't agree on what's a word. In francais.aff > the boundarychars are [-'.@] and in the ispell-dictionary-alist only > [-']. Therefore ispell the program considers "local.h" one word and > ispell.el considers it two words. I don't know why "." and "@" are > included in the affix file (especially "@" seems strange) but I > guess a French person might explain it. Anyway it helps to add "." > and "@" to otherchars in the ispell-dictionary-alist entry for > francais. By the way, I don't think aspell considers "@" to be a > boundarychar. That does not sound like a robust solution, and it will change along with languages. There is no good way to make mostly irrelevant whether Emacs and flyspell don't quite agree on word boundaries? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum