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 #13 received at 5113 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5113 <at> debbugs.gnu.org, Praveen A <pravi.a <at> gmail.com>
Subject: Re: bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell
Date: Thu, 03 Dec 2009 20:31:32 -0500
>> 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)

Any objection to enabling it by default?


        Stefan




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.