Xref: utzoo gnu.emacs.help:1339 comp.emacs:10230 Path: utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: bjaspan@ATHENA.MIT.EDU ("Barr3y Jaspan") Newsgroups: gnu.emacs.help,comp.emacs Subject: Searching zero times Message-ID: <9102272311.AA11140@steve-dallas.MIT.EDU> Date: 27 Feb 91 23:11:32 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 10 search-forward and its relatives always fail when given a repeat count of 0. This, I suppose, is a philosophical issue, but it seems to me that it should always succeed. After all, search-forward can always find any string 0 times. Is there a reason for the current behavior? (BTW, giving search-forward a repeat count of 0 coredumps 18.54 (at least on an RT) but not 18.56. Oddly, re-search-forward didn't have this problem. Try this at your own risk. :-) Barr3y Jaspan