auto-indent: ensure we update iter to search location