Colors in Emacs compilation buffer?

122 views
Skip to first unread message

Kota Weaver

unread,
Aug 26, 2014, 2:22:49 PM8/26/14
to catch...@googlegroups.com
I know this is kind of a niche thing but anyway, let me explain my setup...
Our build system automatically runs the Catch unit tests on compiling. Everything works wonderfully from the terminal emulator. The issue however arises when I build specifically from Emacs's M-x compile command... The compilation buffer doesn't display the unit tests with color. I believe the issue is not related to Emacs since other colored things work fine in the compilation buffer, and I don't see any ANSI escape codes for color, so it seems like Catch is realizing that this is not a terminal (or maybe an stdout tty) and is therefore not coloring it correctly. Is there some option in Catch to force it to generate the ANSI escape codes or something, or do I have to get my hands dirty in the source to enable this?

Thanks for the help!
Kota

Martin Moene

unread,
Aug 26, 2014, 3:26:50 PM8/26/14
to catch...@googlegroups.com
Funny, see (closed) issue --force-color flag .

cheers,
Martin

Kota Weaver

unread,
Aug 26, 2014, 5:59:10 PM8/26/14
to catch...@googlegroups.com
Interesting, I should have searched the issues before posting here, thanks. I wonder what that means, though, "The color was nice, but it complicated (read: broke) other parts of my workflow because of parsing issues." A little vague...

Regards,
Kota

2014年8月26日火曜日 15時26分50秒 UTC-4 Martin Moene:
Reply all
Reply to author
Forward
0 new messages