[ESS] Getting rid of Control Ms

Richard M. Heiberger rmh at temple.edu
Tue May 15 19:13:49 CEST 2007


I use cygwin on Windows.  Every so often emacs decides to transmit
the Enter key to bash as ^M.   So I think the behavior is identical
to what you are seeing.  This is what I use to make things behave correctly.
I do this as M-: in the *shell* buffer

(set-buffer-process-coding-system 'undecided-unix 'undecided-unix)


I also have this in my .emacs, and it usually prevents the above from being necessary.

;;; I prefer unix style line endings
(set-default-coding-systems 'raw-text-unix)  ;;  bash in 20.3.3.1 and higher


Rich




More information about the ESS-help mailing list