From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.bugs Subject: bug#3424: align-regexp: Infinite loop with default regexp Date: Sat, 30 May 2009 21:46:27 +0300 Message-ID: <87hbz2ig3g.fsf@iki.fi> References: <87my8upk47.fsf@iki.fi> Reply-To: Teemu Likonen , 3424@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243709870 14285 80.91.229.12 (30 May 2009 18:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 18:57:50 +0000 (UTC) Cc: 3424@emacsbugs.donarmstrong.com To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 20:57:46 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MATkT-0004H8-JQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 20:57:41 +0200 Original-Received: from localhost ([127.0.0.1]:35906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MATkT-00019d-7h for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 14:57:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MATkC-00014S-Nx for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MATk8-00013p-8q for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:24 -0400 Original-Received: from [199.232.76.173] (port=38783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MATk8-00013l-2b for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58528) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MATk7-0004tL-Fr for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:19 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UIvHcf020662; Sat, 30 May 2009 11:57:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4UIo5MX018974; Sat, 30 May 2009 11:50:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Teemu Likonen Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 18:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3424 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3424-submit@emacsbugs.donarmstrong.com id=B3424.124370919618521 (code B ref 3424); Sat, 30 May 2009 18:50:05 +0000 Original-Received: (at 3424) by emacsbugs.donarmstrong.com; 30 May 2009 18:46:36 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from kirsi2.inet.fi (mta-out.inet.fi [195.156.147.13]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UIkV4g018513 for <3424@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 11:46:32 -0700 Original-Received: from mithlond.arda.local (80.220.180.181) by kirsi2.inet.fi (8.5.014) id 49F6DD58013D53D7; Sat, 30 May 2009 21:46:30 +0300 Original-Received: from dtw by mithlond.arda.local with local (Exim 4.69) (envelope-from ) id 1MATZb-0001Em-QR; Sat, 30 May 2009 21:46:27 +0300 In-Reply-To: (Lennart Borgman's message of "Sat\, 30 May 2009 20\:24\:43 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n4UIvHcf020662 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 30 May 2009 14:57:24 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28333 Archived-At: On 2009-05-30 20:24 (+0200), Lennart Borgman wrote: > On Sat, May 30, 2009 at 7:37 PM, Teemu Likonen wrote: >> =A04. Loop infinitely. > > This does not happen for me with the latest pretest Emacs 23. Have you > tested there? Ah, true. I use Emacs 22.2 (as packaged by Debian) and only checked that Emacs 23 uses the same regexp. Hence I assumed that it had the same problem. Now I tried some quite up-to-date development version of Emacs 23 and it produces f o o b a r instead. So no infinite looping there. I think the result is not what user expects, though. I'd still suggest changing the default regexp to match one or more whitespaces: \s-+