unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: 3424@emacsbugs.donarmstrong.com
Subject: bug#3424: align-regexp: Infinite loop with default regexp
Date: Sat, 30 May 2009 20:47:45 +0200	[thread overview]
Message-ID: <e01d8a50905301147j70f37db4u7fad6292ffe4e837@mail.gmail.com> (raw)
In-Reply-To: <87hbz2ig3g.fsf@iki.fi>

On Sat, May 30, 2009 at 8:46 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
> On 2009-05-30 20:24 (+0200), Lennart Borgman wrote:
>
>> On Sat, May 30, 2009 at 7:37 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
>>>  4. 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-+

Seems like a good idea to me.





  reply	other threads:[~2009-05-30 18:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ljnv5pl7.fsf@iki.fi>
2009-05-30 17:37 ` bug#3424: align-regexp: Infinite loop with default regexp Teemu Likonen
2009-05-30 18:24   ` Lennart Borgman
2009-05-30 18:46     ` Teemu Likonen
2009-05-30 18:47       ` Lennart Borgman [this message]
2009-06-14  5:55   ` bug#3424: marked as done (align-regexp: Infinite loop with default regexp) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50905301147j70f37db4u7fad6292ffe4e837@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=3424@emacsbugs.donarmstrong.com \
    --cc=tlikonen@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).