emacs: init flow is changed and adapted for windows.