From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#3424: align-regexp: Infinite loop with default regexp Date: Sat, 30 May 2009 20:47:45 +0200 Message-ID: References: <87my8upk47.fsf@iki.fi> <87hbz2ig3g.fsf@iki.fi> Reply-To: Lennart Borgman , 3424@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243709858 14256 80.91.229.12 (30 May 2009 18:57:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 18:57:38 +0000 (UTC) Cc: 3424@emacsbugs.donarmstrong.com To: Teemu Likonen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 20:57:34 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 1MATkI-0004CU-JB for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 20:57:31 +0200 Original-Received: from localhost ([127.0.0.1]:35802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MATkH-00014y-NP for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 14:57:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MATkD-00014a-16 for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MATk8-00013w-CH for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:24 -0400 Original-Received: from [199.232.76.173] (port=38784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MATk8-00013m-2w for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 14:57:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58529) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MATk7-0004tN-Fw 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 n4UIvHch020662; 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 n4UIo8EN019021; Sat, 30 May 2009 11:50:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 18:50:08 +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.124370927518696 (code B ref 3424); Sat, 30 May 2009 18:50:08 +0000 Original-Received: (at 3424) by emacsbugs.donarmstrong.com; 30 May 2009 18:47:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-bw0-f205.google.com (mail-bw0-f205.google.com [209.85.218.205]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UIlpuF018676 for <3424@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 11:47:52 -0700 Original-Received: by bwz1 with SMTP id 1so7500633bwz.1 for <3424@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 11:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Q/qSCjdDiyDXPqFNrgmz4Ipo6Fk5li6a0sSIOGyWChg=; b=BYF19xisI6d/ghvQMkCYH8AllW8bis1t6ReYCr8Gi2jwJG1jW+cYbDYwvFBb2ZTzk9 dUzJEfMIpO36jLjyAcPbokWP9Z5qzzZfGp7MdH52eAcNA7PQJlyzv9bXaTaxNGk+NVaM vAStcVQgHmrJxD1BtUUTGBDoqdx0PSd8tXeM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dezwYaU5vk5cpAIdDkljYnKqeoQvrZpmpyQzSUJBXo3tH99Th/P9e/5rICctYcGhqj sOqHRm+zuI9jkpOrg9V+Rfs4c0qxacDfPY8IeSMonzEyS4Bk3rTACVEASrYH36iERAWz 0x94x6TCu51ejO3vrGbovc0kfQQ0/xibjsGWE= Original-Received: by 10.239.134.132 with SMTP id 4mr268456hbz.131.1243709265302; Sat, 30 May 2009 11:47:45 -0700 (PDT) In-Reply-To: <87hbz2ig3g.fsf@iki.fi> 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:28332 Archived-At: On Sat, May 30, 2009 at 8:46 PM, Teemu Likonen wrote: > On 2009-05-30 20:24 (+0200), Lennart Borgman wrote: > >> On Sat, May 30, 2009 at 7:37 PM, Teemu Likonen wrote: >>> =C2=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 > > =C2=A0 =C2=A0f o o =C2=A0b 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-+ Seems like a good idea to me.