Don't send ^M to Python process under Windows as you get error
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 22 Sep 2011 01:58:21 +0300
changeset 703 970915b27f69
parent 702 0617020b53d8
child 704 474a9291a602
Don't send ^M to Python process under Windows as you get error SyntaxError: invalid syntax when try complete symbol by M-TAB.
.emacs-my
--- a/.emacs-my	Wed Sep 21 10:23:11 2011 +0300
+++ b/.emacs-my	Thu Sep 22 01:58:21 2011 +0300
@@ -1541,6 +1541,13 @@
     ))
 
 ;;; ----------------------------------------------------------------
+(message "python")
+
+(when (equal window-system 'w32)
+  (add-to-list 'process-coding-system-alist '("python" cp1251-unix . cp1251-unix))
+  )
+
+;;; ----------------------------------------------------------------
 (message "javascript, js")
 
 ;; (if (>= emacs-major-version 23)