From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: sRGB color support in NS port Date: Fri, 20 Dec 2013 19:12:59 +0100 Message-ID: <2DA26AC8-BED4-40E2-8978-054CAB79D39D@swipnet.se> References: <23825B39C60F460E80B59C5ADF04F637@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_C3E38B87-7F13-453A-AD49-C79842115D4D" X-Trace: ger.gmane.org 1387563193 31409 80.91.229.3 (20 Dec 2013 18:13:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2013 18:13:13 +0000 (UTC) Cc: steve@sanityinc.com, emacs-devel To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 20 19:13:20 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 1Vu4Zb-0007Rd-Pj for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2013 19:13:19 +0100 Original-Received: from localhost ([::1]:50978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu4Zb-00062h-Ao for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2013 13:13:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu4ZU-000611-A1 for emacs-devel@gnu.org; Fri, 20 Dec 2013 13:13:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vu4ZP-00053p-Ip for emacs-devel@gnu.org; Fri, 20 Dec 2013 13:13:12 -0500 Original-Received: from mailfe09.swipnet.se ([212.247.155.1]:42038 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vu4ZP-00053a-B8 for emacs-devel@gnu.org; Fri, 20 Dec 2013 13:13:07 -0500 X-T2-Spam-Status: No, hits=0.1 required=5.0 tests=HTML_MESSAGE Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 289313462; Fri, 20 Dec 2013 19:13:04 +0100 In-Reply-To: <23825B39C60F460E80B59C5ADF04F637@gmail.com> X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.155.1 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:166670 Archived-At: --Apple-Mail=_C3E38B87-7F13-453A-AD49-C79842115D4D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hello. 20 dec 2013 kl. 18:41 skrev Bozhidar Batsov : > Some time ago Steve Purcell reported an issue with hex colour = rendering on OS X = (http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-05/msg00077.html). = While nothing was changed in Emacs, many OS X users apply a patch = similar to this one https://gist.github.com/purcell/3858136 (an older = version of the patch is used by homebrew) to get the desired behaviour. = I wonder if we cannot finally include the aforementioned patch or = conditionnaly allow the use sRGB colour via a build option (like = =97with-srgb). There was no real argument for a change in that thread, except do the = same as web browsers, which is dubious. That has not changed AFAIK. There is a compability concern, GNUStep runs on X11. So both those = should display the same color. I don't know if they do now, but it = could be an argument for a change. Jan D. --Apple-Mail=_C3E38B87-7F13-453A-AD49-C79842115D4D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hello.

20 dec 2013 kl. 18:41 skrev = Bozhidar Batsov <bozhidar@batsov.com>:

Some time ago Steve = Purcell reported an issue with hex colour rendering on OS X (http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-05/msg00077.html= ). While nothing was changed in Emacs, many OS X users apply a patch = similar to this one https://gist.github.com/p= urcell/3858136 (an older version of the patch is used by homebrew) = to get the desired behaviour. I wonder if we cannot finally include the = aforementioned patch or conditionnaly allow the use sRGB colour via a = build option (like =97with-srgb).

There = was no real argument for a change in that thread, except do the same as = web browsers, which is dubious.  That has not changed = AFAIK.

There is a compability concern, GNUStep = runs on X11.  So both those should display the same color.  I = don't know if they do now, but it could be an argument for a = change.

Jan = D.


= --Apple-Mail=_C3E38B87-7F13-453A-AD49-C79842115D4D--