I am running a process from within emacs which uses ANSI color codes in its output.
I'm using start-process
to create the process, and provided a custom buffer name for the process's output
(start-process "foo" "*Foo*" foo-command foo-args)
If I open *Foo*
buffer, the ANSI color codes are printed in their raw format to the buffer
^[[36msome output message^[[m
^[[1;35msome output message^[[m
^[[1;34msome output message^[[m
I see in this SO answer it is possible to add colorization to a buffer; however I'm unsure as to how to do it with a buffer created using start-process
Is it possible to convert those ANSI color codes to colorised output in my *Foo*
buffer?