From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled tty Date: Mon, 29 Aug 2011 02:34:38 -0400 Message-ID: References: <877h5xtxl8.fsf@gmail.com> <83hb51ftt4.fsf@gnu.org> <87aaas69bp.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314599689 5617 80.91.229.12 (29 Aug 2011 06:34:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2011 06:34:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: zwz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 29 08:34:44 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QxvQh-0004tm-QI for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2011 08:34:43 +0200 Original-Received: from localhost ([::1]:35038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxvQg-0001XQ-S1 for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2011 02:34:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxvQe-0001XL-SN for emacs-devel@gnu.org; Mon, 29 Aug 2011 02:34:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxvQd-0003Gq-Fp for emacs-devel@gnu.org; Mon, 29 Aug 2011 02:34:40 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:57258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxvQd-0003Gk-EO for emacs-devel@gnu.org; Mon, 29 Aug 2011 02:34:39 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QxvQc-00010U-NL; Mon, 29 Aug 2011 02:34:38 -0400 In-reply-to: <87aaas69bp.fsf@gmail.com> (message from zwz on Mon, 29 Aug 2011 14:06:02 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143618 Archived-At: > From: zwz > Date: Mon, 29 Aug 2011 14:06:02 +0800 > > > First, your terminal should report to Emacs that it has 256 colors. > > Does it? > How to get the report? > In bash, the cmd "tput colors" reports 256. > While in Emacs, it does show 256 color *names* (by M-x > list-color-display). list-color-display _is_ the correct way. > But in fact only the first 8 colors are showable, > as the 8 color names are shown in the background with the corresponding > color; the other color names are shown with no color background. What are the names of the other colors, beyond the first 8, shown by list-color-display? Also, which of the lisp/term/*.el files is being loaded by Emacs on startup for that terminal?