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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Praveen A <pravi.a <at> gmail.com>
Subject: bug#5113 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re:
 bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell)
Date: Sat, 05 Dec 2009 21:10:07 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#5113: ansi-color-for-comint-mode-on on by default in shell-mode

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
5113: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5113
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Glenn Morris <rgm <at> gnu.org>, 5113-done <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: Sat, 05 Dec 2009 16:05:49 -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?

I just enabled it by default in the repository.
[Message part 3 (message/rfc822, inline)]
From: Praveen A <pravi.a <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: handle shell escape characters (e.g. ESC [ 0) in emacs shell
Date: Thu, 3 Dec 2009 14:47:12 +0530
Hi,
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."
Ref http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5080#80 point 2

It would be good if emacs shell can handle these escape characters --
even if color is not displayed, the escape characters should be
hidden.

Regards
Praveen
-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign



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

Previous Next


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