title: Hiding ^M in emacs
body: <p>Sometimes I need to read log files that have ^M (control-M) in the line endings.  I can do a global replace to get rid of them, but then something more is logged to the log file and, of course, they all come back.</p>
  
  <p>Setting unix-style or dos-style end-of-line encoding doesn't seem to make much difference (but unix-style is my default).  I'm using the undecided-(unix|dos) coding system.</p>
  
  <p>I'm on windows, reading log files created by log4net (although log4net obviously isn't the only source of this annoyance).</p>
  
  <p>Any hints?</p>