From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs, true color and iterm2 Date: Tue, 10 Sep 2013 10:57:31 -0400 Message-ID: References: <83li35kbuz.fsf@gnu.org> <83ioy9jsnd.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378825070 19909 80.91.229.3 (10 Sep 2013 14:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2013 14:57:50 +0000 (UTC) Cc: fxbois@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 10 16:57:52 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJPO4-0002Pg-1p for ged-emacs-devel@m.gmane.org; Tue, 10 Sep 2013 16:57:52 +0200 Original-Received: from localhost ([::1]:58489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJPO3-0004IQ-OF for ged-emacs-devel@m.gmane.org; Tue, 10 Sep 2013 10:57:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJPNt-0004GO-W6 for emacs-devel@gnu.org; Tue, 10 Sep 2013 10:57:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJPNm-0000bZ-MR for emacs-devel@gnu.org; Tue, 10 Sep 2013 10:57:41 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:55863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJPNm-0000aU-II; Tue, 10 Sep 2013 10:57:34 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r8AEvVUM026916; Tue, 10 Sep 2013 10:57:31 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 34DF9B40D6; Tue, 10 Sep 2013 10:57:31 -0400 (EDT) In-Reply-To: <83ioy9jsnd.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 10 Sep 2013 05:51:34 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4697=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4697> : inlines <79> : streams <1034953> : uri <1532741> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:163284 Archived-At: >> > Tho, obviously, for 2bit color support, we won't will want to have >> ^ ^^^^^ >> 24 [delete] >> >> > support for tty colors without going through some approximation table. > Now I completely misunderstand what you mean by that, and why. AFAIK, currently, color support in a tty goes through an approximation step which choose the closest color number to use among the N colors supported by the tty. We'll want to skip this step if the terminal supports 24bit colors, since the table would be both huge (16M entries) and useless. Stefan