For keyboard macros, if you do a Control-S search, the search string you type doesn't get included in the keyboard macro. Instead when you're executing the keyboard macro it stops and asks you to type a search string. It should include the search string in the macro like EMACS does.