help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x shell, run 'emacs --help', get colorized output... why?


From: Oleksandr Gavenko
Subject: Re: M-x shell, run 'emacs --help', get colorized output... why?
Date: Tue, 18 Jan 2011 11:20:33 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 17.01.2011 4:11, Steven Thomas wrote:
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.

term-mode and eshell-mode are mush different from shell-mode.
I can not help you.

Its settings are non common.

I also use

  (ansi-color-for-comint-mode-on)

for 'shell-mode'. This allow correctly see 'ls --color' or 'grep --color' output.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]