From: Eli Zaretskii <eliz@gnu.org>
To: Rob Riepel <riepel@networking.stanford.edu>
Cc: emacs-pretest-bug@gnu.org, dann@ics.uci.edu
Subject: Re: incomplete comment colorization in terminals
Date: Sat, 15 Mar 2008 16:34:41 +0200 [thread overview]
Message-ID: <uejachx8e.fsf@gnu.org> (raw)
In-Reply-To: <E9552DD0-42FB-4780-90BB-9A3A907293C2@networking.stanford.edu>
> Cc: emacs-pretest-bug@gnu.org
> From: Rob Riepel <riepel@networking.stanford.edu>
> Date: Fri, 14 Mar 2008 17:49:59 -0700
>
> I really like the color schemes that come with 16+ color support, but
> there's no "mode" value for --color=mode that sets anything above 8.
> Is there a way to set the number of colors that can be displayed
> in .emacs?
I'm guessing that you are reading the output of "emacs --help", which
is necessarily terse and doesn't tell the whole story. In the Emacs
manual, by contrast, you will find this text:
`--color=MODE'
For a character terminal only, specify the mode of color support.
This option is intended for overriding the number of supported
colors that the character terminal advertises in its `termcap' or
`terminfo' database. The parameter MODE can be one of the
following:
...
`NUM'
Use color mode for NUM colors. If NUM is -1, turn off color
support (equivalent to `never'); if it is 0, use the default
color support for this terminal (equivalent to `auto');
otherwise use an appropriate standard mode for NUM colors.
Depending on your terminal's capabilities, Emacs might be
able to turn on a color mode for 8, 16, 88, or 256 as the
value of NUM. If there is no mode that supports NUM colors,
Emacs acts as if NUM were 0, i.e. it uses the terminal's
default color support mode.
If MODE is omitted, it defaults to ANSI8.
Thus, --color=16 should do what you want, if the terminal can support
16-color mode.
next prev parent reply other threads:[~2008-03-15 14:34 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 23:15 incomplete comment colorization in terminals Rob Riepel
2008-03-12 4:26 ` Eli Zaretskii
2008-03-12 6:44 ` Dan Nicolaescu
2008-03-12 8:17 ` Nick Roberts
2008-03-12 13:54 ` Stefan Monnier
2008-03-12 15:07 ` Dan Nicolaescu
2008-03-12 17:51 ` Richard Stallman
2008-03-13 6:38 ` Dan Nicolaescu
2008-03-13 22:24 ` Richard Stallman
2008-03-13 22:44 ` Dan Nicolaescu
2008-03-14 0:21 ` Nick Roberts
2008-03-14 0:34 ` Dan Nicolaescu
2008-03-15 4:46 ` Nick Roberts
2008-03-15 8:34 ` Dan Nicolaescu
2008-03-15 0:49 ` Rob Riepel
2008-03-15 14:34 ` Eli Zaretskii [this message]
2008-03-12 4:45 ` Dan Nicolaescu
2008-03-12 13:57 ` Stefan Monnier
2008-03-13 6:40 ` Dan Nicolaescu
2008-03-13 15:01 ` Stefan Monnier
2008-03-13 18:55 ` Glenn Morris
2008-03-13 21:52 ` Dan Nicolaescu
2008-03-14 4:16 ` Dan Nicolaescu
2008-03-14 15:08 ` Stefan Monnier
2008-03-19 4:02 ` Dan Nicolaescu
2008-03-15 0:50 ` Rob Riepel
2008-03-12 13:10 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uejachx8e.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dann@ics.uci.edu \
--cc=emacs-pretest-bug@gnu.org \
--cc=riepel@networking.stanford.edu \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).