GNU bug report logs - #5113
ansi-color-for-comint-mode-on on by default in shell-mode

Previous Next

Package: emacs;

Reported by: Praveen A <pravi.a <at> gmail.com>

Date: Thu, 3 Dec 2009 09:25:06 UTC

Severity: wishlist

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 5113 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Praveen A <pravi.a <at> gmail.com>
Cc: 5113 <at> debbugs.gnu.org
Subject: Re: bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell
Date: Thu, 03 Dec 2009 12:25:07 -0500
Praveen A wrote:

> It seems that when 'ls' is invoked with --color, it output some
> escape sequences (e.g. ESC [ 0) that are not handled by shell-mode.

The Emacs manual and FAQ suggest

   (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)



This bug report was last modified 15 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.