Fix error in M-x shell on Emacs 23.3 (23.2/23.1/22.3 work perfectly):
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 11 Mar 2011 12:36:08 +0200
changeset 596 0220d2cf895a
parent 595 be6c27e4c776
child 597 989e4416528a
Fix error in M-x shell on Emacs 23.3 (23.2/23.1/22.3 work perfectly): $ pwd bash: $'pwd\r': команда не найдена http://thread.gmane.org/gmane.emacs.help/79941
.emacs-my
--- a/.emacs-my	Wed Mar 09 00:37:46 2011 +0200
+++ b/.emacs-my	Fri Mar 11 12:36:08 2011 +0200
@@ -839,6 +839,7 @@
      ;; Use shell from Cygwin/MinGW.
      (setq shell-file-name "bash")
      (setenv "SHELL" "/bin/bash")
+     (modify-coding-system-alist 'process "bash" '(cp1251-unix . cp1251-unix))
      )
     )
   ;; (setq explicit-shell-file-name "bash")