From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Flyspell-region bug Date: Wed, 22 Feb 2006 13:53:14 +0100 Message-ID: <20060222133801.8D73.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1140737316 29728 80.91.229.2 (23 Feb 2006 23:28:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2006 23:28:36 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 24 00:28:33 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 1FCPst-0001oM-Bp for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2006 00:28:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCPpj-0005Aa-DK for ged-emacs-devel@m.gmane.org; Thu, 23 Feb 2006 18:25:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FC5L2-0000EP-RV for emacs-devel@gnu.org; Wed, 22 Feb 2006 20:32:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FBzXX-0003AU-1w for emacs-devel@gnu.org; Wed, 22 Feb 2006 14:20:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBzJZ-0001ok-6t for emacs-devel@gnu.org; Wed, 22 Feb 2006 14:06:17 -0500 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FBtbK-0006k6-Ou for emacs-devel@gnu.org; Wed, 22 Feb 2006 08:00:15 -0500 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.12.11/8.12.11/perf-jw-tr) with ESMTP id k1MCrM2t027980 for ; Wed, 22 Feb 2006 13:53:22 +0100 (CET) Original-To: Emacs Devel X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.21.04 [en] 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:50892 Archived-At: 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. The following patch corrects the immediate problem: ************************************************** *** c:/Emacs/lisp/textmodes/flyspell.el Tue Feb 7 17:21:31 2006 --- c:/temp/buffer-content-476I-k Wed Feb 22 13:37:31 2006 *************** *** 1322,1328 **** The buffer to mark them in is `flyspell-large-region-buffer'." (let (words-not-found (ispell-otherchars (ispell-get-otherchars)) ! (buffer-scan-pos flyspell-large-region-beg)) (with-current-buffer flyspell-external-ispell-buffer (goto-char (point-min)) ;; Loop over incorrect words, in the order they were reported, --- 1322,1329 ---- The buffer to mark them in is `flyspell-large-region-buffer'." (let (words-not-found (ispell-otherchars (ispell-get-otherchars)) ! (buffer-scan-pos flyspell-large-region-beg) ! (case-fold-search nil)) (with-current-buffer flyspell-external-ispell-buffer (goto-char (point-min)) ;; Loop over incorrect words, in the order they were reported, ************************************************** Nevertheless, I find it somewhat disturbing that flyspell *did not* complain but silently decided to ignore the misspelling ispell reported... Wouldn't it be better to at least show a message when this happens? -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) UNIX is a clever beast: % got a light? No match.