GNU bug report logs - #18013
looking-back is inefficient

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Mon, 14 Jul 2014 09:48:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.92

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #11 received at 18013 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Andreas Schwab <schwab <at> suse.de>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 18013 <at> debbugs.gnu.org
Subject: Re: bug#18013: 24.3.92; Infloop in re_search_2
Date: Mon, 14 Jul 2014 12:15:26 +0200
Andreas Schwab <schwab <at> suse.de> writes:

> Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:
>
>> I'll admit that (looking-back "[^\n]") is not exactly the canonical way
>> to test for (not (bolp)), but should it make an infloop ? I can't
>> reproduce though.
>
> I don't think it infloops, it just takes a very long time.  Since this
> is running in a process filter interrupts are disabled, so you have to
> be extra careful with what you do here.

Thanks, I'll let it run more and see if it comes back to life (it should
be faster since the connection certainly died meanwhile).

-- 
Nico.




This bug report was last modified 8 years and 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.