This seems to be a duplicate of emacs strips away all ansi color codes in shells but it's not!
It differs in that I cannot only see any ansi-color but that I cannot EVEN see the raw escape color codes (that should be there regarding the conversation and comments at the referred question).
I am on OSX (10.10.2) and GNU EMACS (official dl: http://emacsformacosx.com/)
Here are the simple steps to reproduce my problem:
emacs -q
goto *scratch*
buffer and execute:
(setq explicit-shell-file-name "bash")
(require 'ansi-color)
(ansi-color-for-comint-mode-on)
Then:
M-x shell
Now execute some shell commands that should return ansi-colors.
In my case there is nothing! I spent hours and hours checking and trying out all he answerers about ansi-colors -- no success. Above remained just the minimal steps.
Thank you all for helping me out.
p.s.: funny enough, if I use M-x ansi-term
or even M-x eshell
both of them show ansi-colors right out of the box!