all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Thomas <sthomas314@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: M-x shell, run 'emacs --help', get colorized output... why?
Date: Sun, 16 Jan 2011 18:11:04 -0800	[thread overview]
Message-ID: <AANLkTik4nM7dg0LWP3RuMG5wynZ2Tt2Q=e3Q8v_8TU7M@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 501 bytes --]

             reply	other threads:[~2011-01-17  2:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  2:11 Steven Thomas [this message]
2011-01-18  9:20 ` M-x shell, run 'emacs --help', get colorized output... why? Oleksandr Gavenko
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='AANLkTik4nM7dg0LWP3RuMG5wynZ2Tt2Q=e3Q8v_8TU7M@mail.gmail.com' \
    --to=sthomas314@gmail.com \
    --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.