GNU bug report logs -
#3424
align-regexp: Infinite loop with default regexp
Previous Next
Reported by: Teemu Likonen <tlikonen <at> iki.fi>
Date: Sat, 30 May 2009 17:40:08 UTC
Severity: normal
Done: Teemu Likonen <tlikonen <at> iki.fi>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 3424 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, May 30, 2009 at 8:46 PM, Teemu Likonen <tlikonen <at> 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 <at> 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.
This bug report was last modified 15 years and 347 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.