From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Re: vc-annotate error, PATCH Date: Wed, 12 Apr 2006 12:17:00 -0700 Message-ID: References: <200604111834.k3BIYK34021527@amrm2.ics.uci.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1144869503 9096 80.91.229.2 (12 Apr 2006 19:18:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 19:18:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 12 21:18:19 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTkqn-0001Tn-EC for ged-emacs-devel@m.gmane.org; Wed, 12 Apr 2006 21:18:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTkqm-0005AZ-S6 for ged-emacs-devel@m.gmane.org; Wed, 12 Apr 2006 15:18:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTkqL-000533-Ar for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:17:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTkqG-00050x-3F for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:17:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTkqF-00050s-SO for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:17:27 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FTkvO-0001Qz-Cz for emacs-devel@gnu.org; Wed, 12 Apr 2006 15:22:46 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FTkpw-0001L8-FE for emacs-devel@gnu.org; Wed, 12 Apr 2006 21:17:08 +0200 Original-Received: from turtle.as.arizona.edu ([128.196.208.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Apr 2006 21:17:08 +0200 Original-Received: from jdsmith by turtle.as.arizona.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Apr 2006 21:17:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: turtle.as.arizona.edu User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52796 Archived-At: On Wed, 12 Apr 2006 13:09:45 -0400, Richard Stallman wrote: > 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. > > Sounds like the right thing. I've updated CVS with this patch (and the other bug fixes mentioned). I ended up going with the order red,yellow,cyan,green,magenta,blue from newest to oldest, since that at least crudely approximates the color direction for the proper hue wheel map (magenta aside). I use this special map only for 8 color TTY devices. I went to some trouble to allow for default colors which don't have these standard names, since I wasn't sure if they were the same across all terminals. Dan Nicolaescu gave me the hint to try: set TERM=xterm-256color in recent xterms. Emacs in terminal mode there looks fantastic, and the new rotating hue colormap does very well. Here's hoping all terminals quickly migrate to 256 colors.