From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [konrad.podczeck@univie.ac.at: flyspell bug] Date: Sun, 22 Oct 2006 17:30:25 -0400 Message-ID: <87zmbot4we.fsf@stupidchicken.com> References: <453A250E.3030306@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161552673 31939 80.91.229.2 (22 Oct 2006 21:31:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Oct 2006 21:31:13 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, konrad.podczeck@univie.ac.at Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 22 23:31:12 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 1GbkuU-0002Xa-42 for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 23:31:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbkuT-000084-I0 for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 17:31:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GbktU-0007ae-Ko for emacs-devel@gnu.org; Sun, 22 Oct 2006 17:30:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GbktS-0007Wg-At for emacs-devel@gnu.org; Sun, 22 Oct 2006 17:30:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbktR-0007WM-Pl for emacs-devel@gnu.org; Sun, 22 Oct 2006 17:30:05 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GbktR-0003Sg-19; Sun, 22 Oct 2006 17:30:05 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 2E38B4E41E; Sun, 22 Oct 2006 17:30:25 -0400 (EDT) Original-To: martin rudalics In-Reply-To: <453A250E.3030306@gmx.at> (martin rudalics's message of "Sat\, 21 Oct 2006 15\:47\:58 +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:61009 Archived-At: martin rudalics writes: >> The recent incorporation into flyspell-large-region of checking for >> duplicated words has led to the following bug: >> >> If a large region contains text of the form: >> >> x$ $y >> >> or of the form >> >> x# #y >> >> (where x and y may be any words and there may be multiple white >> spaces between the $'s or #'s), >> then flyspell-large-region makes Emacs hanging (i.e. I have to press >> Ctrl-g to make Emacs running again). >> >> I regard the following as a flyspell bug, too: If duplicated words >> are separated by more than one white space, then they are not >> detected. > > The attached patch tries to address these issues. Please make sure that it > doesn't break anything else. The patch looks right; I've checked it in. Thanks!