add for window emacs setting

supress cygwin warning and fix charset settings