From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reader@newsguy.com Newsgroups: gmane.emacs.help Subject: Re: Changing syntax hi-lite of shell-mode Date: Sun, 25 May 2008 10:33:25 -0500 Organization: Still searching... Message-ID: <87zlqewg8q.fsf@newsguy.com> References: <87y767wu60.fsf@newsguy.com> <87iqxbehrr.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211729671 20737 80.91.229.12 (25 May 2008 15:34:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 May 2008 15:34:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 25 17:35:11 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K0IFQ-0004mr-SF for geh-help-gnu-emacs@m.gmane.org; Sun, 25 May 2008 17:35:01 +0200 Original-Received: from localhost ([127.0.0.1]:50304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0IEf-0002Yf-OL for geh-help-gnu-emacs@m.gmane.org; Sun, 25 May 2008 11:34:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0IEI-0002Vi-2l for help-gnu-emacs@gnu.org; Sun, 25 May 2008 11:33:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0IEG-0002Sn-0o for help-gnu-emacs@gnu.org; Sun, 25 May 2008 11:33:48 -0400 Original-Received: from [199.232.76.173] (port=52548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0IEF-0002SO-Kw for help-gnu-emacs@gnu.org; Sun, 25 May 2008 11:33:47 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:49520 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0IEE-0003j5-T2 for help-gnu-emacs@gnu.org; Sun, 25 May 2008 11:33:47 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K0IE0-0005cm-Rm for help-gnu-emacs@gnu.org; Sun, 25 May 2008 15:33:32 +0000 Original-Received: from c-67-162-73-42.hsd1.il.comcast.net ([67.162.73.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 15:33:32 +0000 Original-Received: from reader by c-67-162-73-42.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 15:33:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-162-73-42.hsd1.il.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:1Mv61viDycxTwOdFfEaKI8w7AHo= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54301 Archived-At: David Hansen 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