From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 0/1] Proper 24-bit TTY detection for Emacs 26. Date: Mon, 29 Jan 2018 17:59:26 +0200 Message-ID: <83h8r4irkx.fsf@gnu.org> References: <20180123200536.26554-1-rami.ylimaki@vincit.fi> <831sifnlsc.fsf@gnu.org> <4ba09000-896f-9950-f99c-f46f431f490f@vincit.fi> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1517241461 4352 195.159.176.226 (29 Jan 2018 15:57:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2018 15:57:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rami =?utf-8?Q?Ylim=C3=A4ki?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 29 16:57:36 2018 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 1egBoJ-0000c8-Nn for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 16:57:31 +0100 Original-Received: from localhost ([::1]:46741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egBqK-0003HY-L8 for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 10:59:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egBqB-0003Gg-1W for emacs-devel@gnu.org; Mon, 29 Jan 2018 10:59:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egBq3-0000dL-8J for emacs-devel@gnu.org; Mon, 29 Jan 2018 10:59:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egBq3-0000dE-3w; Mon, 29 Jan 2018 10:59:19 -0500 Original-Received: from [176.228.60.248] (port=1759 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1egBq2-0000IV-EF; Mon, 29 Jan 2018 10:59:18 -0500 In-reply-to: <4ba09000-896f-9950-f99c-f46f431f490f@vincit.fi> (message from Rami =?utf-8?Q?Ylim=C3=A4ki?= on Mon, 29 Jan 2018 15:27:37 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:222295 Archived-At: > Cc: emacs-devel@gnu.org > From: Rami Ylimäki > Date: Mon, 29 Jan 2018 15:27:37 +0200 > > The "set[bf]24" capabilities are only supported by Emacs, because > traditionally Terminfo hasn't offered any way to detect direct color > support. This workaround forces users to compile their own TERMs with > these capabilities. > > Latest Terminfo provides several TERMs with "-direct" suffix, such as > "xterm-direct", that support "RGB" with "seta[bf]". We definitely want > to support this. OK, thanks for explaining the situation. > I can open a bug about this and post a patch that supports both methods > on Emacs 27, since it's too late for 26. Please do, and thanks. > There might be some problems with Emacs 26 and TERM=xterm-direct, but I > haven't properly investigated this yet. At least I already noticed some > error messages from xterm.el:xterm-register-default-colors. If there's a reasonable workaround for those problems, we could perhaps describe it in etc/PROBLEMS for Emacs 26.