all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenko@bifit.com.ua>
To: help-gnu-emacs@gnu.org
Subject: Re: M-x shell, run 'emacs --help', get colorized output... why?
Date: Tue, 18 Jan 2011 11:20:33 +0200	[thread overview]
Message-ID: <ih3m10$v9i$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTik4nM7dg0LWP3RuMG5wynZ2Tt2Q=e3Q8v_8TU7M@mail.gmail.com>

On 17.01.2011 4:11, Steven Thomas wrote:
> I notice that emacs shell-mode colorizes certain strings in the output
> of a command you run. For example most (though not all) words starting
> with - or -- get colorized. You can see this if you run emacs --help. I
> don't see this goofy colorization in term mode or eshell mode.
>
> Can anyone explain what the deal is? A cursory look at the code in
> shell.el didn't reveal anything, but I'm sure that somewhere emacs must
> be deciding to add colors to the output.

term-mode and eshell-mode are mush different from shell-mode.
I can not help you.

Its settings are non common.

I also use

   (ansi-color-for-comint-mode-on)

for 'shell-mode'. This allow correctly see 'ls --color' or 'grep 
--color' output.




  reply	other threads:[~2011-01-18  9:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  2:11 M-x shell, run 'emacs --help', get colorized output... why? Steven Thomas
2011-01-18  9:20 ` Oleksandr Gavenko [this message]
2011-01-22  1:48 ` Steven Thomas
2011-02-06 20:59   ` PJ Weisberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ih3m10$v9i$1@dough.gmane.org' \
    --to=gavenko@bifit.com.ua \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.