From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lorenzo Isella Newsgroups: gmane.emacs.help Subject: Emacs Shell Ansi Colors Date: Sun, 28 Sep 2008 21:27:53 +0200 Message-ID: <48DFDAB9.5020506@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222630129 5955 80.91.229.12 (28 Sep 2008 19:28:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2008 19:28:49 +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 Sep 28 21:29:46 2008 connect(): Connection refused 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 1Kk1xa-0004S2-Bp for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Sep 2008 21:29:39 +0200 Original-Received: from localhost ([127.0.0.1]:35653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kk1wW-00040v-4K for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Sep 2008 15:28:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kk1w8-0003wo-4F for help-gnu-emacs@gnu.org; Sun, 28 Sep 2008 15:28:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kk1w5-0003r7-Ib for help-gnu-emacs@gnu.org; Sun, 28 Sep 2008 15:28:07 -0400 Original-Received: from [199.232.76.173] (port=50315 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kk1w5-0003qe-BS for help-gnu-emacs@gnu.org; Sun, 28 Sep 2008 15:28:05 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.154]:45397) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kk1w4-0001MV-4Z for help-gnu-emacs@gnu.org; Sun, 28 Sep 2008 15:28:04 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so1371214fgb.30 for ; Sun, 28 Sep 2008 12:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding:sender; bh=oQfKaQNH8MPZpgDV13d5kloVTdyPXODRIEyA7fMpKY4=; b=k3DW707/Fqf4/exWke/lfbfkrejjNAZmPA0K5gZIBAzoAK2ZOvl4cil0at3DpDSTRP olvzNmzB6UwIqRP9ssKLRpVJBhAmBVHMjogvNSX1iVzWMd12d/PST6mEr3/mSZ77N1h5 jfQhSvG2MQjTMfJppnJ5bVsBRZkkFtM2MSGdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:sender; b=CeAL67NkaVCflt4ApKxvl6w7rTExtrywka9R/Cu8lAyDaIu5uPuJhSuYLZkWee3DSF kSIKT+C7hOH+Z1Esm2XbHkdGma9Uv8gVqDHqa0px9aAY9b2Fa/vc02VuyjDc6XWyMwlg 1E3afKPbwukKsapWMr6qPbGnPkGfeqr3lQRj8= Original-Received: by 10.86.80.17 with SMTP id d17mr3507736fgb.24.1222630075934; Sun, 28 Sep 2008 12:27:55 -0700 (PDT) Original-Received: from cappero.jrc.it ([151.59.222.81]) by mx.google.com with ESMTPS id d6sm2155170fga.2.2008.09.28.12.27.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Sep 2008 12:27:54 -0700 (PDT) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58169 Archived-At: Dear All, I often use M-x shell to open a shell within Emacs. Since I miss the colorized output, I tried to enable ansi-colors in my Emacs shell. After googling, I found suggestions along the lines of the link pasted below http://www.grokblok.com/articles/2007/12/13/emacs-shell-ansi-colors/ The problem is that I added those few lines to my .emacs file, but nothing changed. I had a look also at: http://www.emacswiki.org/cgi-bin/wiki/ansi-color.el but I did not copy the ansi-color.el file anywhere in my system (in case it matters, I am running emacs22 on a Debian testing box). I notice that issuing the command (within emacs shell): ls --color=yes give the nice colorized output I am looking for, hence I do not think there is any substantial problem by default, just it seems that my output is not colorized by default (though when I type M-x shell I read the message Loading ansi-color...done ). Can anyone help me out with this? Many thanks Lorenzo