From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Donald Curtis Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Sat, 1 Dec 2012 08:04:05 -0600 Message-ID: References: <9D4A4073-2C04-4B94-829D-DFCF32FFF0EC@mit.edu> <1FA55ED6-C06E-4796-81C7-2508A3AE56A1@swipnet.se> <0EC1FE4C-CC1D-416E-BEF7-9E2D15BE66B1@mit.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354370689 14436 80.91.229.3 (1 Dec 2012 14:04:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2012 14:04:49 +0000 (UTC) Cc: =?iso-8859-1?Q?Jan_Dj=E4rv?= , "emacs-devel@gnu.org devel" To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 01 15:05:00 2012 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 1Teng7-0005Ko-GV for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2012 15:04:23 +0100 Original-Received: from localhost ([::1]:50644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tenfv-00045y-HT for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2012 09:04:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tenft-00045g-9V for emacs-devel@gnu.org; Sat, 01 Dec 2012 09:04:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tenfr-0004hF-Th for emacs-devel@gnu.org; Sat, 01 Dec 2012 09:04:09 -0500 Original-Received: from mail-ie0-f169.google.com ([209.85.223.169]:59456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tenfr-0004hA-Or for emacs-devel@gnu.org; Sat, 01 Dec 2012 09:04:07 -0500 Original-Received: by mail-ie0-f169.google.com with SMTP id c14so2476382ieb.0 for ; Sat, 01 Dec 2012 06:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=FyDB8dawOoOucKnfD8+4zazEh2v4/zumKna21FaguYA=; b=kePawf1B6NDj53gt/vxY9/nRsRXjZ7cBYhDW6IzPiNPt7bOUMTK/7FmcEB32MWn/Fd Wne1pcqP0uMHZ8mIysWRPHuzm/anSDl7UPfDO87r+k8+2oNV85TqrXCFpZe0jIHD35c7 FusCl07SLVWPmy6hDJ6hxzp8G5tiKgBMkfEQ/eSlinie3rodt6BKn6kVi4ns6oWEmaNo veS0BdE+6GCsrLXKAIKCPmpFpJEOGxCPsxlRIRvd+7rF6+Z0mO3RwoNaeeyJRWYeXDhK q5qj2DcY+0Rqd+mziKWw83xureoeLkK9AS6YyAke06Z54Sx3ZEgScpXG8pMpczBtDnTI b1mQ== Original-Received: by 10.50.34.200 with SMTP id b8mr1548849igj.52.1354370645172; Sat, 01 Dec 2012 06:04:05 -0800 (PST) Original-Received: from [192.168.1.139] (173-29-243-191.client.mchsi.com. [173.29.243.191]) by mx.google.com with ESMTPS id i9sm2030403igl.9.2012.12.01.06.04.03 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Dec 2012 06:04:04 -0800 (PST) In-Reply-To: <0EC1FE4C-CC1D-416E-BEF7-9E2D15BE66B1@mit.edu> X-Mailer: Apple Mail (2.1499) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.223.169 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:155163 Archived-At: I don't know specifics, but in the home-brew = (https://github.com/mxcl/homebrew) build script for emacs, there is an = option `srgb` which does some color fixes in the NS version, Specifically, in nsterm, replace, "*col =3D [NSColor colorWithCalibratedRed: r green: g blue: b alpha: = 1.0];", with, "*col =3D [NSColor colorWithDeviceRed: r green: g blue: b alpha: 1.0];" There is something about the calibrated version that made colors look = different than in other versions of emacs, specifically X11. Well, I = should say, they would look different than other programs generating the = same color. And you can test this in OS X by using "DigitalColor Meter", 1. Set a background color in hex, 2. Use "DigitalColor Meter" to get the color from the window. And you'll see that the color being generated is *not* the color you = specified, well, at least it wasn't on Mac, but maybe this is not an = issue on NS. However this may be related to some of your struggles with = color differences. Here is the Homebrew bug report: https://github.com/mxcl/homebrew/pull/5194 And here is the corresponding GNU bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8402 I'm definitely more on the side of doing what the user *expects* (which = is to use colorWithDeviceRed) over what is technically correct (the = current way of using colorWithCalibratedRed). But it hasn't been an = issue for me since I use home-brew and just specify the --srgb compile = option. Donald On Nov 27, 2012, at 1:33 PM, chad wrote: > On 26 Nov 2012, at 20:32, Jan Dj=E4rv skrev: >=20 >> It would help if you specified the colors used in the screenshot = exactly. Then we could at least compare colors for X11 and Nextstep. >=20 > Ah, good point; just giving the name isn't entirely clear. I'm using = the zenburn theme from: https://github.com/bbatsov/zenburn-emacs.git >=20 > A bigger comparison shot of the zenburn theme (with rainbow-mode) = between the mac port and bzr head this morning is here: >=20 > http://www.mit.edu/~yandros/emacs-mac-ns-ports.png >=20 > Thanks! > ~Chad