From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: vc-annotate error, PATCH Date: Tue, 11 Apr 2006 12:19:44 -0700 Message-ID: <200604111919.k3BJJiZB021743@amrm2.ics.uci.edu> References: <200604111834.k3BIYK34021527@amrm2.ics.uci.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144783214 21594 80.91.229.2 (11 Apr 2006 19:20:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 19:20:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 21:20:13 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 1FTOPB-0002Ob-Dn for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 21:20:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTOPA-0004RM-L9 for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 15:20:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTOOy-0004Qy-VP for emacs-devel@gnu.org; Tue, 11 Apr 2006 15:19:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTOOw-0004Q2-Q9 for emacs-devel@gnu.org; Tue, 11 Apr 2006 15:19:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTOOw-0004Pz-I5 for emacs-devel@gnu.org; Tue, 11 Apr 2006 15:19:46 -0400 Original-Received: from [128.195.11.178] (helo=amrm2.ics.uci.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FTOTr-0003Xg-W8 for emacs-devel@gnu.org; Tue, 11 Apr 2006 15:24:52 -0400 Original-Received: from amrm2.ics.uci.edu (amrm2.ics.uci.edu [127.0.0.1]) by amrm2.ics.uci.edu (8.13.6/8.13.6) with ESMTP id k3BJJiaf021744; Tue, 11 Apr 2006 12:19:44 -0700 Original-Received: (from dann@localhost) by amrm2.ics.uci.edu (8.13.6/8.13.6/Submit) id k3BJJiZB021743; Tue, 11 Apr 2006 12:19:44 -0700 Original-To: JD Smith In-Reply-To: (JD Smith's message of "Tue, 11 Apr 2006 12:02:13 -0700") Original-Lines: 29 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:52715 Archived-At: JD Smith writes: > 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. I think it's currently just in CVS, it will be in the next version, and it will be enabled by default. > Can you send me your (tty-color-alist) output from such a terminal > offline? Will do.