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: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#5113: marked as done (ansi-color-for-comint-mode-on on by
 default in shell-mode)
Date: Sat, 05 Dec 2009 21:10:07 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 05 Dec 2009 16:05:49 -0500
with message-id <87my1x168i.fsf <at> stupidchicken.com>
and subject line Re: bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell
has caused the Emacs bug report #5113,
regarding ansi-color-for-comint-mode-on on by default in shell-mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
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: 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


[Message part 3 (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.

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.