Added ido functionality to emacs. Still a bit buggy?