* bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell @ 2009-12-03 9:17 ` Praveen A 2009-12-03 17:25 ` Glenn Morris 2009-12-05 21:10 ` bug#5113: marked as done (ansi-color-for-comint-mode-on on by default in shell-mode) Emacs bug Tracking System 0 siblings, 2 replies; 4+ messages in thread From: Praveen A @ 2009-12-03 9:17 UTC (permalink / raw) To: bug-gnu-emacs 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://emacsbugs.donarmstrong.com/cgi-bin/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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell 2009-12-03 9:17 ` bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell Praveen A @ 2009-12-03 17:25 ` Glenn Morris 2009-12-04 1:31 ` Stefan Monnier 2009-12-05 21:10 ` bug#5113: marked as done (ansi-color-for-comint-mode-on on by default in shell-mode) Emacs bug Tracking System 1 sibling, 1 reply; 4+ messages in thread From: Glenn Morris @ 2009-12-03 17:25 UTC (permalink / raw) To: Praveen A; +Cc: 5113 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) ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell 2009-12-03 17:25 ` Glenn Morris @ 2009-12-04 1:31 ` Stefan Monnier 0 siblings, 0 replies; 4+ messages in thread From: Stefan Monnier @ 2009-12-04 1:31 UTC (permalink / raw) To: Glenn Morris; +Cc: 5113, Praveen A >> 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#5113: marked as done (ansi-color-for-comint-mode-on on by default in shell-mode) 2009-12-03 9:17 ` bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell Praveen A 2009-12-03 17:25 ` Glenn Morris @ 2009-12-05 21:10 ` Emacs bug Tracking System 1 sibling, 0 replies; 4+ messages in thread From: Emacs bug Tracking System @ 2009-12-05 21:10 UTC (permalink / raw) To: Chong Yidong [-- Attachment #1: Type: text/plain, Size: 917 bytes --] Your message dated Sat, 05 Dec 2009 16:05:49 -0500 with message-id <87my1x168i.fsf@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 owner@emacsbugs.donarmstrong.com immediately.) -- 5113: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=5113 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 3704 bytes --] From: Praveen A <pravi.a@gmail.com> To: bug-gnu-emacs@gnu.org Subject: handle shell escape characters (e.g. ESC [ 0) in emacs shell Date: Thu, 3 Dec 2009 14:47:12 +0530 Message-ID: <3f2beab60912030117n4005a75w42481261c854c655@mail.gmail.com> 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://emacsbugs.donarmstrong.com/cgi-bin/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 [-- Attachment #3: Type: message/rfc822, Size: 1887 bytes --] From: Chong Yidong <cyd@stupidchicken.com> To: Stefan Monnier <monnier@iro.umontreal.ca> Cc: Glenn Morris <rgm@gnu.org>, 5113-done@emacsbugs.donarmstrong.com, Praveen A <pravi.a@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 Message-ID: <87my1x168i.fsf@stupidchicken.com> > >> 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-05 21:10 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87my1x168i.fsf@stupidchicken.com> 2009-12-03 9:17 ` bug#5113: handle shell escape characters (e.g. ESC [ 0) in emacs shell Praveen A 2009-12-03 17:25 ` Glenn Morris 2009-12-04 1:31 ` Stefan Monnier 2009-12-05 21:10 ` bug#5113: marked as done (ansi-color-for-comint-mode-on on by default in shell-mode) Emacs bug Tracking System
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.