From: utzoo!decvax!harpo!seismo!hao!hplabs!sri-unix!chris.umcp-cs@UDel-TCP
Newsgroups: net.emacs
Title: Bug in search.c
Article-I.D.: sri-arpa.416
Posted: Wed Feb  9 14:30:24 1983
Received: Sat Feb 12 05:06:52 1983

From:      Chris Torek 

There is (yet another) bug in search.c, which only shows up if you
don't (do a search after (changing case-fold-search || starting emacs))
before calling looking-at.  This can be fixed by setting

    global.TRT = bf_mode.md_FoldCase ? CaseFoldTRT : StandardTRT;

in the LookingAt () function in search.c (as it is set in search ()).
This causes particularly strange results when first starting up, as
we were having "_" match "c" before doing a search.
					- Chris