title: How do I display ANSI color codes in emacs for any mode?
body: <p>I have a log file that uses ANSI escape color codes to format the text. The mode is <code>fundamental</code>. There are other answered questions that address this issue but I'm not sure how to apply it to this mode or any other mode. I know the solution has something to do with configuring <code>ansi-color</code> in some way.</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/256264/how-do-i-get-emacs-shell-mode-to-either-render-or-ignore-my-colors-instead-of" title="ASCII codes in shell mode">ANSI codes in shell mode</a></li>
  <li><a href="https://stackoverflow.com/questions/5674255/display-ascii-control-characters-in-emacs-gud-gdb-mode">ANSI codes in gdb mode</a></li>
  </ul>