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: Thu, 29 Nov 2018 16:15:41 +0200 Message-ID: <83va4gc6lu.fsf@gnu.org> References: <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> <835zwhfr56.fsf@gnu.org> <83y39ddvi1.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 1543501231 27755 195.159.176.226 (29 Nov 2018 14:20:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2018 14:20:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 29 15:20:27 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 1gSNB4-00075h-8e for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2018 15:20:26 +0100 Original-Received: from localhost ([::1]:54398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSNDA-0004VM-9j for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2018 09:22:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSNBZ-0004Km-RF for emacs-devel@gnu.org; Thu, 29 Nov 2018 09:21:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSN6G-0003N7-Sg for emacs-devel@gnu.org; Thu, 29 Nov 2018 09:15:33 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSN6G-0003Ms-P6; Thu, 29 Nov 2018 09:15:28 -0500 Original-Received: from [176.228.60.248] (port=1639 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gSN6G-0003it-CE; Thu, 29 Nov 2018 09:15:28 -0500 In-reply-to: (message from Robert Pluim on Thu, 29 Nov 2018 13:51:39 +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:231518 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org > Date: Thu, 29 Nov 2018 13:51:39 +0100 > > Eli Zaretskii writes: > >> Because then every time they want to do something with a face colour, > >> they'd have to convert it from RGBA, allocate the corresponding > >> NSColor, use it, destroy it etc. > > > > But that's how every other platform does that, AFAIU... > > They do? X11 and W32 seem to use RGBA values directly, mostly. I meant x_defined_color and its subroutines. > I donʼt think this is worth changing: it works, and rewriting it will > just introduce bugs. I don't necessarily disagree, I just don't yet see why NS should be different in this respect. Feel free to ignore me on that, though. Thanks.