From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Invalid search bound (wrong side of point)
Date: Tue, 01 Jun 2004 10:57:30 -0400 [thread overview]
Message-ID: <E1BVAhm-0006rf-S9@fencepost.gnu.org> (raw)
In-Reply-To: <878yf8lfoc.fsf@mail.jurta.org> (message from Juri Linkov on Mon, 31 May 2004 19:33:38 +0300)
`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.
prev parent reply other threads:[~2004-06-01 14:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-31 16:33 Invalid search bound (wrong side of point) Juri Linkov
2004-05-31 17:02 ` Andreas Schwab
2004-06-01 14:57 ` Richard Stallman [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1BVAhm-0006rf-S9@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.