# HG changeset patch # User Oleksandr Gavenko # Date 1299839768 -7200 # Node ID 0220d2cf895a22838eb63616305185abe7660b32 # Parent be6c27e4c7760e4df82eae4e837dba07bc2861ee 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 diff -r be6c27e4c776 -r 0220d2cf895a .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")