From: JD Smith <jdsmith@as.arizona.edu>
Subject: Re: vc-annotate error, PATCH
Date: Tue, 11 Apr 2006 12:02:13 -0700 [thread overview]
Message-ID: <pan.2006.04.11.19.02.12.824679@as.arizona.edu> (raw)
In-Reply-To: 200604111834.k3BIYK34021527@amrm2.ics.uci.edu
On Tue, 11 Apr 2006 11:34:20 -0700, Dan Nicolaescu wrote:
> > I could envision just using all the TTY
> > colors except the background color, in the order they are presented
> > from red to blue (now all but magenta are used). May be more trouble
> > than it's worth.
>
> If you change anything, please don't change it based on the display
> being a TTY, but on the number of colors the TTY supports (see
> display-color-cells and the min-color attribute for defface).
>
> Your patch works very well on terminals that support 256 colors.
> (Of the terminals in wide use only the Linux console and KDE's konsole
> do not support 256 colors. xterm, rxvt, Gnome terminal and putty
> support 256 colors.)
OK, thanks. The screen shot was from Gnome-terminal. I can't seem to
enable 256 color support, and display-color-cells is 8. Must be a
compile-time option which isn't commonly used. Can you send me your
(tty-color-alist) output from such a terminal offline?
I have a patch now that just sorts the non-white and non-black colors
in a TTY to put red first, blue last, and whatever in between, and
make that the colormap. I could enable this if on a TTY and
display-color-cells<=8. It would not be the same "color theme" but it
would have much better dynamic range and color usage for 8 color TTYs.
Further thoughts welcome.
JD
next prev parent reply other threads:[~2006-04-11 19:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-07 23:28 vc-annotate error JD Smith
2006-04-08 0:40 ` Kevin Rodgers
2006-04-08 1:36 ` JD Smith
2006-04-10 22:00 ` vc-annotate error, PATCH JD Smith
2006-04-10 22:27 ` Stefan Monnier
2006-04-10 22:59 ` JD Smith
2006-04-11 16:57 ` Richard Stallman
2006-04-11 18:02 ` JD Smith
2006-04-11 18:34 ` Dan Nicolaescu
2006-04-11 19:02 ` JD Smith [this message]
2006-04-11 19:19 ` Dan Nicolaescu
2006-04-12 17:09 ` Richard Stallman
2006-04-12 19:17 ` JD Smith
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=pan.2006.04.11.19.02.12.824679@as.arizona.edu \
--to=jdsmith@as.arizona.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).