remove hard tabs and fix broken emacs mappings