M-x shell, run 'emacs --help', get colorized output... why?
From:
Steven Thomas
Subject:
M-x shell, run 'emacs --help', get colorized output... why?
Date:
Sun, 16 Jan 2011 18:11:04 -0800
I notice that emacs shell-mode colorizes certain strings in the output of a command you run. For example most (though not all) words starting with - or -- get colorized. You can see this if you run emacs --help. I don't see this goofy colorization in term mode or eshell mode.
Can anyone explain what the deal is? A cursory look at the code in shell.el didn't reveal anything, but I'm sure that somewhere emacs must be deciding to add colors to the output.