# HG changeset patch # User Oleksandr Gavenko # Date 1316645901 -10800 # Node ID 970915b27f69966355dbe710b2e73e475d9ec25b # Parent 0617020b53d8e6c1c091b26a458efbc41b20da62 Don't send ^M to Python process under Windows as you get error SyntaxError: invalid syntax when try complete symbol by M-TAB. diff -r 0617020b53d8 -r 970915b27f69 .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)