From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Support 24-bit terminal colors. Date: Tue, 30 Aug 2016 18:47:55 -0400 Message-ID: References: <1472590548-30876-1-git-send-email-rami.ylimaki@vincit.fi> <1905e0be-2a5f-d903-2b33-8dada2b2997a@dancol.org> <244a5e4c-f673-6d5c-1dec-4db490c46562@gmail.com> <5c00cdae-fb0a-6b36-ee0b-60cb5e3f3125@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SfDSfKRQnJ42BnKVpDgAoiihERhpV5283" X-Trace: blaine.gmane.org 1472597331 9013 195.159.176.226 (30 Aug 2016 22:48:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2016 22:48:51 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: Daniel Colascione , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 31 00:48:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1berpf-0001GM-25 for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2016 00:48:39 +0200 Original-Received: from localhost ([::1]:51547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1berpc-0004hi-MY for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 18:48:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1berpT-0004g8-HB for emacs-devel@gnu.org; Tue, 30 Aug 2016 18:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1berpO-00017B-8F for emacs-devel@gnu.org; Tue, 30 Aug 2016 18:48:26 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:61288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1berpN-00016r-Uf for emacs-devel@gnu.org; Tue, 30 Aug 2016 18:48:22 -0400 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0MhDJh-1bS1o80NWr-00MIxg; Wed, 31 Aug 2016 00:48:09 +0200 In-Reply-To: <5c00cdae-fb0a-6b36-ee0b-60cb5e3f3125@dancol.org> X-Provags-ID: V03:K0:Nxy72mAHEvXHyosfjPbAyjS8dPiTv+ZaDY8ATmV9MjStfZHrRAa HLjXRyw8w7wgOrBONYArT/0mJpOEIZqmZczR71kAu9lXxVj3dYKeD8XsruUXN4BSKwvLYqZ S8pqBJwsLRBXAXC9tXWGDvFKbMPJoekMzFqbEQt+WjnQc3iKA4NgeX+fQ6awPt7o1Nx3kNf lMuv37rZyjj06oRD0na0w== X-UI-Out-Filterresults: notjunk:1;V01:K0:TooKwKi8oUY=:/e7z3vC97bU5mFiCZC8Dz/ HBld5vyAYvnS/ntcS89Gc/NkVqkH10Wpm/iaoKRXk/zvq4+OXi1asFdDgwp5kuffG6ii5Ak2E hmOVUdj1xr6ar9/zE+c+odjw4OdqX1lD34CAsJf02Jko+y4IlD0tZQ/4ZZY4pwRdx77neaFl1 NPdBIKmSTOaHuWFFSBghvqpXVwAA63xW0cOSl4XvJebVhJ5rzP/9IuY1th2LFPyrSEGJo1vgS mKTRHI4Cg5oFLpYa11qYBelvAS3nZSGkq70HeHJGTGait4bUm/nGWhwRv8WLVSd4+zg4oRrgn RLUkzhzier69RIbYR9zTbnSt3SRbiImVa5+MyTN38ZEa1tpLIuWQ5WvfhwLO+KS4QICZ9Pd/+ 5fepc/L/JN11jnggDH3c0WtA1h8upoZro7tOcBIvRxS8viSqu07qhX7yo4shRhEsOmE6FkjBL cRDf4ZqBUzUBnJtcuHqf83WlDrI/tsiIVmftqoQb74vQDg3mYBKYJ8cd3sbUXg7Dg2ui2+1G9 yiXbXBgmazIGpeVVbR1Mgvdl4euX+O0xeV/j5gST+8SRVhtpWb7KhD96aFpIHofvIRjOcZZus 0ByerizmpXkhyfRJRVHwTgVzhkYDVv0llEUJqXslRqDVXMlYpPp58n8LM/PEGLur0l8xRuc5j 0OJGJS8zMArcOiXnhm9w0IYyrCRrQxPC2xs+LS8u0FBiSlbbqGTyHyVVdrAhxBdV+b2Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:207012 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SfDSfKRQnJ42BnKVpDgAoiihERhpV5283 Content-Type: multipart/mixed; boundary="hlQNgMIFEXuv6MrxdoT7Lfci18JN6D7q0"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: Daniel Colascione , emacs-devel@gnu.org Message-ID: Subject: Re: [PATCH] Support 24-bit terminal colors. References: <1472590548-30876-1-git-send-email-rami.ylimaki@vincit.fi> <1905e0be-2a5f-d903-2b33-8dada2b2997a@dancol.org> <244a5e4c-f673-6d5c-1dec-4db490c46562@gmail.com> <5c00cdae-fb0a-6b36-ee0b-60cb5e3f3125@dancol.org> In-Reply-To: <5c00cdae-fb0a-6b36-ee0b-60cb5e3f3125@dancol.org> --hlQNgMIFEXuv6MrxdoT7Lfci18JN6D7q0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-08-30 18:37, Daniel Colascione wrote: > On 08/30/2016 03:07 PM, Cl=C3=A9ment Pit--Claudel wrote: >> On 2016-08-30 17:03, Daniel Colascione wrote: >>> On 08/30/2016 01:55 PM, Rami Ylim=C3=A4ki wrote: >>>> From: Rami Ylim=C3=A4ki >>>> >>>> Based on previous work by R=C3=BCdiger Sonderfeld, Christian Hopps a= nd >>>> Charles Strahan. >>>> >>>> Currently it's not possible to detect whether terminal supports >>>> 24-bit colors. >>> >>> Why did we decide to stop using terminfo as intended? Why did we stop= >>> supporting terminal capability inspection via control codes? We >>> solved this problem in the god damn 1980s. Why are we back to >>> specifying terminal characteristics manually? >> >> Hey Daniel, >> >> I don't understand your email. Are you saying that (1) Emacs is alread= y not doing the right thing, and this patch is continuing in this traditi= on, or that (2) the world is a sad place, because the solution that was f= ound in the 80s wasn't extended to cover 24bit colors, hence the need for= this patch, or that (3) this patch is going in the wrong direction, beca= use Emacs is doing things right already and this patch should use the exi= sting facilities instead of whatever it does as submitted, or (4) somethi= ng else? >> >> I'm not familiar with capability inspection, so apologies if the meani= ng was clear for people with more background on this. >> Cl=C3=A9ment. >> >=20 > I'm annoyed that there are no common means for detection. I wonder whet= her Emacs can be a forcing function here. If I had it my way, > I'd just tell terminal emulator authors that Emacs will support their > 24-bit-color modes as soon as there's a way to detect them and not befo= re. Thanks a lot for clarifying. --hlQNgMIFEXuv6MrxdoT7Lfci18JN6D7q0-- --SfDSfKRQnJ42BnKVpDgAoiihERhpV5283 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXxg0bAAoJEPqg+cTm90wjaKYP/iLH728OglU9LFSf/DBFgpBk bkAvdTFcBUUobBwc0Dj9GHE1AzKJHoyMd0EqVY3SHsXBZTupcqU5r2mMFhHcT010 hc6hJp1u+wKHn1kyb9EFcFBiAOoNTly+ef5vECTXAVyEtzEPT4yDtULbky50w/Gb iP+KykmPLxuAywuqgBpkf/F3vnxGVO7DP7mqgWgRiXUdlR/eHkbEVP7CrDbpfI8V z1uR8D2Q6cAHaAGKgbYM50bqHXf/749SuKsMtRY6M4LpaB8rjg7JkStxFU2whlTa gteWX/NOUoPGHWiLPzzABwDKownvecaauSYo52vmtCzt9Ho55YZvgYTfiqEMFJG2 uFXPBNBbB4xmJIBFW8zOIP8kynqGBQyjJLPO9EMCqDZh9/h+ZKNER7KwDGqT4Z98 XmPEIxsrlEejt2qHKcuJhwtXVDeiPLTr/IXPelClKTBTgETzsvIoLPyxWwKmVnBJ X5yFwGnsSYVbetz7snroPC3f49B8zmQ4DtRKQeXwQfZ6QKk3XdYV8lL+mRwngCkg AXbeCKYKOdvauCh8VIMlEifFcY8reYSKf98BXkS/uNpvp1xiw0b7njfVi6U03Rfb tGZpKP/KdZjDGQYmuX0tghL6DMiFtrbFmHbpb50arSaaqBqpyHGpbgVM8sNdRROg bd3VxxUJV8M84XroJjIf =ASrW -----END PGP SIGNATURE----- --SfDSfKRQnJ42BnKVpDgAoiihERhpV5283--