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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5113 in the body.
You can then email your comments to 5113 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5113; Package emacs. (Thu, 03 Dec 2009 09:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Praveen A <pravi.a <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 03 Dec 2009 09:25:06 GMT) Full text and rfc822 format available.

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

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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5113; Package emacs. (Thu, 03 Dec 2009 17:30:04 GMT) Full text and rfc822 format available.

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)



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5113; Package emacs. (Fri, 04 Dec 2009 01:40:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 04 Dec 2009 01:40:05 GMT) Full text and rfc822 format available.

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




Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 05 Dec 2009 20:30:15 GMT) Full text and rfc822 format available.

Changed bug title to 'ansi-color-for-comint-mode-on on by default in shell-mode' from 'handle shell escape characters (e.g. ESC [ 0) in emacs shell' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 05 Dec 2009 20:30:16 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sat, 05 Dec 2009 21:10:07 GMT) Full text and rfc822 format available.

Notification sent to Praveen A <pravi.a <at> gmail.com>:
bug acknowledged by developer. (Sat, 05 Dec 2009 21:10:07 GMT) Full text and rfc822 format available.

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

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.



bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Jan 2010 12:24:03 GMT) Full text and rfc822 format available.

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.