emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid search bound (wrong side of point)


From: Richard Stallman
Subject: Re: Invalid search bound (wrong side of point)
Date: Tue, 01 Jun 2004 10:57:30 -0400

    `perform-replace' uses nil value returned from `re-search-forward'
    as a condition to terminate the loop, but when the value of point
    becomes greater than limit, "Invalid search bound" error is signalled,
    even though `noerror' argument of `re-search-forward' is t.

I think that is correct behavior.  Invalid arguments are a different
matter from valid arguments but no match.

The clean solution is for perform-replace to detect the situation
explicitly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]