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: Identifying the face between STRETCH and right fringe. Date: Wed, 28 Nov 2018 12:11:33 +0200 Message-ID: <835zwhfr56.fsf@gnu.org> References: <83h8gbis2d.fsf@gnu.org> <83zhu0f6tt.fsf@gnu.org> <83sgzrgb1f.fsf@gnu.org> <83r2fbg5bq.fsf@gnu.org> <83lg5jfs9o.fsf@gnu.org> <83a7luhnid.fsf@gnu.org> <838t1ehi6v.fsf@gnu.org> <831s76gxkq.fsf@gnu.org> <83h8g1fzdr.fsf@gnu.org> <83a7ltfsda.fsf@gnu.org> 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 1543399799 3145 195.159.176.226 (28 Nov 2018 10:09:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2018 10:09:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 28 11:09:54 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 1gRwn4-0000h7-N6 for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2018 11:09:54 +0100 Original-Received: from localhost ([::1]:46919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRwpA-0000st-K9 for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2018 05:12:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRwoZ-0000qd-8A for emacs-devel@gnu.org; Wed, 28 Nov 2018 05:11:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRwoV-0007mM-BS for emacs-devel@gnu.org; Wed, 28 Nov 2018 05:11:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRwoV-0007mD-81; Wed, 28 Nov 2018 05:11:23 -0500 Original-Received: from [176.228.60.248] (port=2937 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gRwoU-00029H-S3; Wed, 28 Nov 2018 05:11:23 -0500 In-reply-to: (message from Robert Pluim on Wed, 28 Nov 2018 10:56:23 +0100) 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:231483 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org > Date: Wed, 28 Nov 2018 10:56:23 +0100 > > > I still wonder why they don't do this with other face colors. Is > > ns_lisp_to_color expensive or something? > > Donʼt do what with other face colours? Why they don't do the same with face colors as they do with FRAME_BACKGROUND_PIXEL, i.e. convert to RGBA and store the RGBA in the face colors, instead of the indices. > (and ns_lisp_to_color does look expensive, as it parses colour names > and RGB specs and probably more). Maybe that's the reason, then.