From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Fri, 4 Nov 2005 17:41:02 +0000 (UTC) Message-ID: References: <20051103161929.1FA3.SLAWOMIR.NOWACZYK.847@student.lu.se> <20051104155029.1FB0.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131126714 8653 80.91.229.2 (4 Nov 2005 17:51:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2005 17:51:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 04 18:51:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EY5g5-0006su-Uv for ged-emacs-devel@m.gmane.org; Fri, 04 Nov 2005 18:48:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EY5g5-0008Vx-9B for ged-emacs-devel@m.gmane.org; Fri, 04 Nov 2005 12:48:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EY5fl-0008Sp-Tb for emacs-devel@gnu.org; Fri, 04 Nov 2005 12:48:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EY5fk-0008Rs-Ad for emacs-devel@gnu.org; Fri, 04 Nov 2005 12:48:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EY5fj-0008Re-Tq for emacs-devel@gnu.org; Fri, 04 Nov 2005 12:48:16 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EY5fj-0000uA-TL for emacs-devel@gnu.org; Fri, 04 Nov 2005 12:48:16 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EY5bx-0004qW-S9 for emacs-devel@gnu.org; Fri, 04 Nov 2005 18:44:21 +0100 Original-Received: from Agmartin.aq.upm.es ([138.100.41.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Nov 2005 18:44:21 +0100 Original-Received: from agustin.martin by Agmartin.aq.upm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Nov 2005 18:44:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 61 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 138.100.41.131 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)) 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:45406 Archived-At: Slawomir Nowaczyk writes: > > Piet van Oostrum wrote: > > #> I found that I used my own code rather than the CVS code. I forgot a part > #> of my patch. Here is the rest. > > Thanks, it works much better now. However, I still have occasional > problems with flyspell, mainly when using Local-Words... for example, > run flyspell-buffer in this buffer. [Note: tests below with only the flyspell-external-point-words function changed, but with the rest of flyspell.el that of emacs 21.4] Strange, seems to work for me with that buffer. But I am also getting ocasional problems. They seem to be really obscure, e.g. in the file containing ------------------------------ snip ------------------------------------
A dummy text file Anonymous today text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
Local Variables: ispell-local-dictionary: "american" End: ------------------------------ snip ------------------------------------ if I run flyspell-buffer in sgml-mode (psgml) I get flyspell-external-point-words: Bug: misspelled word `DOCTYPE' (output pos 9) not found in buffer but the funny thing is that if I do it in text mode seems to work as expected with no error message. Also, in sgml mode, if I remove one of the "text" lines, I get no error message at all, but mispelling marks appear over some of the 'text' strings, but not on others.