vc or dir mode is not run in emacs state