From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.devel Subject: Re: flyspell bug Date: Tue, 01 Nov 2005 11:19:32 +0100 Message-ID: References: <20051029020814.1F73.SLAWOMIR.NOWACZYK.847@student.lu.se> <20051031164057.1F82.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 1130844284 15466 80.91.229.2 (1 Nov 2005 11:24:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2005 11:24:44 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 01 12:24:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWuFQ-0004fw-3b for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 12:24:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWuFP-000433-7n for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 06:24:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWtdL-0003Oi-TO for emacs-devel@gnu.org; Tue, 01 Nov 2005 05:44:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWtdJ-0003Nl-FC for emacs-devel@gnu.org; Tue, 01 Nov 2005 05:44:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWtFt-0002Hg-LP for emacs-devel@gnu.org; Tue, 01 Nov 2005 05:20:41 -0500 Original-Received: from [131.211.80.10] (helo=mail.cs.uu.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWtFt-0004xt-Jo for emacs-devel@gnu.org; Tue, 01 Nov 2005 05:20:37 -0500 Original-Received: from mail.cs.uu.nl (localhost.localdomain [127.0.0.1]) by mail.cs.uu.nl (Postfix) with ESMTP id A58A0A35E4 for ; Tue, 1 Nov 2005 11:20:36 +0100 (CET) Original-Received: from ordesa.cs.uu.nl (ordesa.cs.uu.nl [131.211.81.146]) by mail.cs.uu.nl (Postfix) with ESMTP id 9BAD9A35E3 for ; Tue, 1 Nov 2005 11:20:36 +0100 (CET) Original-Received: by ordesa.cs.uu.nl (Postfix, from userid -2) id 51FD5257FA9; Tue, 1 Nov 2005 11:19:36 +0100 (CET) Original-Received: from ordesa.local (localhost [127.0.0.1]) by ordesa.cs.uu.nl (Postfix) with ESMTP id A76BB257F77 for ; Tue, 1 Nov 2005 11:19:35 +0100 (CET) X-Mailer: emacs 22.0.50.1 (via feedmail 8 I) Original-To: emacs-devel@gnu.org In-Reply-To: <20051031164057.1F82.SLAWOMIR.NOWACZYK.847@student.lu.se> (Slawomir Nowaczyk's message of "Mon, 31 Oct 2005 16:50:59 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) X-AV-Checked: ClamAV using ClamSMTP at cs.uu.nl 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:45229 Archived-At: There is a bug in the current cvs version of flyspell.el (there is no variable "following" in the function). *** flyspell.el 31 Oct 2005 16:31:52 +0100 1.82 --- flyspell.el 01 Nov 2005 11:17:52 +0100 *************** *** 1360,1366 **** ;; Detect when WORD can't be checked properly ;; because flyspell-get-word finds ;; just part of it, and treat that as ok. ! (if (< (length (flyspell-get-word following)) (length word)) nil (flyspell-word)))) --- 1360,1366 ---- ;; Detect when WORD can't be checked properly ;; because flyspell-get-word finds ;; just part of it, and treat that as ok. ! (if (< (length (flyspell-get-word nil)) (length word)) nil (flyspell-word)))) -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: piet@vanoostrum.org