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-region bug Date: Fri, 24 Feb 2006 12:44:41 +0100 Message-ID: <20060224114441.GA4940@agmartin.aq.upm.es> References: <20060222133801.8D73.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 1140860326 19452 80.91.229.2 (25 Feb 2006 09:38:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2006 09:38:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 10:38:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FCvsw-0006RP-56 for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 10:38:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCvsx-0005nf-Pl for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 04:38:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCtxm-0003Qu-OG for emacs-devel@gnu.org; Sat, 25 Feb 2006 02:35:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FCtxj-0003LL-1O for emacs-devel@gnu.org; Sat, 25 Feb 2006 02:35:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCbOz-0000nS-Sj for emacs-devel@gnu.org; Fri, 24 Feb 2006 06:46:27 -0500 Original-Received: from [138.100.4.49] (helo=edison.ccupm.upm.es) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FCbP6-0005lp-JC for emacs-devel@gnu.org; Fri, 24 Feb 2006 06:46:33 -0500 Original-Received: from mala.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.12.10/8.12.10) with ESMTP id k1OBiqiD025630; Fri, 24 Feb 2006 12:44:52 +0100 Original-Received: by mala.aq.upm.es (Postfix, from userid 1000) id 888E32E87; Fri, 24 Feb 2006 12:44:41 +0100 (CET) Original-To: emacs-devel@gnu.org Mail-Followup-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <20060222133801.8D73.SLAWOMIR.NOWACZYK.847@student.lu.se> User-Agent: Mutt/1.5.11+cvs20060126 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:50946 Archived-At: On Wed, Feb 22, 2006 at 01:53:14PM +0100, Slawomir Nowaczyk wrote: > Hello, > > I think there is a small problem in flyspell.el. If you evaluate the > following two expressions in this buffer: > > (setq flyspell-large-region 1) > (flyspell-buffer) > > Washington washington > > the uncapitalised version is not marked as misspelled -- while it > should be. I first thought this was non reproducible here, but I had case-fold-search set to nil in ~/.emacs. Can now reproduce it after commenting that entry. > The following patch corrects the immediate problem: Your patch seems to do the right thing, making sure case-fold-search is nil for the search. > Nevertheless, I find it somewhat disturbing that flyspell *did not* > complain but silently decided to ignore the misspelling ispell > reported... Note that flyspell found it, but with the wrong case. > Wouldn't it be better to at least show a message when this happens? In this case no message would have been issued since misspelling was (wrongly) found, so words-not-found should be finally empty. -- Agustin