reverted to mathias history-search-forward