[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `looking-back' strange warning
From: |
Tassilo Horn |
Subject: |
Re: `looking-back' strange warning |
Date: |
Thu, 01 Oct 2015 10:20:25 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>>> Docu bug?
>>
>> It's a feature: calling `looking-back' without LIMIT is slow, don't do that.
>
> Hmm, would volontier to make that fast instead - if write-permission
> is given :)
Looking at the code, I'd say `looking-back' is only slow if GREEDY is t
in which case the start of the match may be before LIMIT anyhow. So I
don't see how providing a LIMIT would help too much, or is
`re-search-backward' already slow without LIMIT? If so, then its own
documentation should tell so, too.
Bye,
Tassilo
- RE: `looking-back' strange warning, (continued)
- Re: `looking-back' strange warning, Stefan Monnier, 2015/10/08
- RE: `looking-back' strange warning, Drew Adams, 2015/10/08
- Re: `looking-back' strange warning, Tom Tromey, 2015/10/08
- Re: `looking-back' strange warning, Stefan Monnier, 2015/10/08
- Re: `looking-back' strange warning, Stefan Monnier, 2015/10/08
- Re: `looking-back' strange warning, Dmitry Gutov, 2015/10/08
Re: `looking-back' strange warning, Andreas Röhler, 2015/10/08
Re: `looking-back' strange warning, Stefan Monnier, 2015/10/08
Re: `looking-back' strange warning, Tassilo Horn, 2015/10/08
Re: `looking-back' strange warning, Artur Malabarba, 2015/10/08
Re: `looking-back' strange warning, Tassilo Horn, 2015/10/08