[Top][All Lists]

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

Re: Changing syntax hi-lite of shell-mode

From: David Hansen
Subject: Re: Changing syntax hi-lite of shell-mode
Date: Sun, 25 May 2008 19:44:00 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Sun, 25 May 2008 10:33:25 -0500 address@hidden wrote:

> David Hansen <address@hidden> writes:
>> On Sun, 18 May 2008 09:42:15 -0500 address@hidden wrote:
>>> Can someone coach me as to how to set the colors seen in shell-mode?
>> This works for me:
>> (eval-after-load 'ansi-color
>>   '(progn
>>      (setq ansi-color-names-vector ["gray50" "salmon" "palegreen"
>>                                     "lightgoldenrod" "SkyBlue2"
>>                                     "plum3" "turquoise" "white"])
>>      (setq ansi-color-map (ansi-color-make-color-map))))
> Thanks, but you post was a little thin on explanation.
> What is supposed to happen if I load that code?
> How does this effect what I see in shell-mode?
> After loading that code I see no difference whatever in what `ls'
> displays in terms of syntax highlight

It changes how `ansi-color-for-comint-mode' maps ansi-color codes to
"real" colors.  Quite similar to the "color<N>" xterm resources.


reply via email to

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