Path: utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!twinsun.com!eggert From: eggert@twinsun.com (Paul Eggert) Newsgroups: gnu.emacs.bug Subject: (search-forward "") should succeed Message-ID: <8910201855.AA07101@rise.twinsun.com> Date: 20 Oct 89 18:55:59 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 14 The call (search-forward "") should succeed, because point is always before an empty string. Instead, it always fails. Here's a transcript. % emacs -q [Put "hello\n" in the buffer, and go to the start of the buffer.] hello RET M-< [Get our version number.] M-x emacs-version RET [The output is ``GNU Emacs 18.55.0 on farside (berkeley-unix)''.] M-x search-forward RET RET [The output is ``Search failed: ""''. However, it should find an instance of the empty string.]