From: reader@newsguy.com
To: help-gnu-emacs@gnu.org
Subject: Re: Changing syntax hi-lite of shell-mode
Date: Mon, 26 May 2008 09:26:02 -0500 [thread overview]
Message-ID: <874p8l1af7.fsf@newsguy.com> (raw)
In-Reply-To: 874p8m8ejj.fsf@localhorst.mine.nu
David Hansen <david.hansen@gmx.net> writes:
> On Sun, 25 May 2008 10:33:25 -0500 reader@newsguy.com wrote:
>
>> David Hansen <david.hansen@gmx.net> writes:
>>
>>> On Sun, 18 May 2008 09:42:15 -0500 reader@newsguy.com 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.
Sorry about the denseness factor... If I start emacs loading that code
with `emacs -l new_code.el then I do see the change... and its a very
welcome improvement... now inserted into ~/.emacs. Thanks.
prev parent reply other threads:[~2008-05-26 14:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-18 14:42 Changing syntax hi-lite of shell-mode reader
2008-05-18 15:47 ` David Hansen
2008-05-25 15:33 ` reader
2008-05-25 17:44 ` David Hansen
2008-05-26 14:26 ` reader [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874p8l1af7.fsf@newsguy.com \
--to=reader@newsguy.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.