[comp.emacs] Searching zero times

bjaspan@ATHENA.MIT.EDU ("Barr3y Jaspan") (02/28/91)

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