^M characters when using Tramp (on Windows) to connect to Ubuntu Server
Posted
by jamting
on Stack Overflow
See other posts from Stack Overflow
or by jamting
Published on 2010-04-02T15:51:27Z
Indexed on
2010/04/02
15:53 UTC
Read the original article
Hit count: 418
I've set up Tramp on Emacs on my Windows 7 box (64 bit). For this test, this is the only thing in my emacs-config:
(setq tramp-default-method "plink")
Then I connect to my Ubuntu Server 9.10 running in a VM on my local network.
Connection goes fine, i can use dired to browse folders and open files. Yay!
However, git status shows up as:
Git:master^M
An when i open speedbar all folders and files ends with ^M, ie:
<+> conf/^M
Does anyone know how to prevent this line-ending collision from occurring?
© Stack Overflow or respective owner