From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: Doc string and operation of color-distance Date: Thu, 14 Sep 2017 16:23:12 -0400 Message-ID: <20170914202312.GA1870@holos.localdomain> References: <83mv5xm84m.fsf@gnu.org> <874ls5xdzz.fsf@udel.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1505420678 17338 195.159.176.226 (14 Sep 2017 20:24:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2017 20:24:38 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 14 22:24:33 2017 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 1dsagb-0004LK-2g for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2017 22:24:33 +0200 Original-Received: from localhost ([::1]:49900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsagi-0000T0-Gb for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2017 16:24:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsafO-0007WD-Dk for emacs-devel@gnu.org; Thu, 14 Sep 2017 16:23:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsafL-0001ur-6Y for emacs-devel@gnu.org; Thu, 14 Sep 2017 16:23:18 -0400 Original-Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:48188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsafK-0001uP-Ul for emacs-devel@gnu.org; Thu, 14 Sep 2017 16:23:15 -0400 Original-Received: by mail-qk0-x236.google.com with SMTP id a128so472356qkc.5 for ; Thu, 14 Sep 2017 13:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=szm6XPeRn7OQ3oenJI6GM+dT+XVn6kXC8wAKI5tkl9k=; b=pb5HQv9naU4gTorRzvBmXytlMXIO/2p0kNzBgyXMnPf0W/eHCRLuOJBGAKfbwLrMZn S/sLRvHsriGnSCfKuTTtZdAR3rCFpCYmgrRn6epbDdD0y2IBSeoICOzNM5NBT90Pyqr/ /9oMF2yzZ0cDb7qA4xj8CpXNiKE5UcNA9nCHBi+iAGqUgjgrxIauRVQ69z4ZiDqsHzNU jsy9YOtHCs6+TTWjrshkRms6eD9XGDqlmVZ4no8fTGbzYm1LWA2KTyl4P26dwqLkC9ff H56ObKiHXigG9kTmUoEJaVPl7I7rDF+OuBOoVk2elQlkPp/W5Be7mBSyDD7Uv4/gw+7E zDoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=szm6XPeRn7OQ3oenJI6GM+dT+XVn6kXC8wAKI5tkl9k=; b=So0vL461ionDn3jWN3ph0g7jebefVbdh5pSld2x/52+nY50mxiJrcZzG1/nJu6ozUs TjQ6H3Lbzz/Laq5wdnDC4ekBiNCSFWxdNDf4CI6itF7f7O82Dk+YFNJGnorSgbdsE7ry AuxX5fc2RF8VqrsHuk+yObXfyo0mRytN7/a3mVWQpRXYqBa/5svCdZ5xezdEBmkdp2vK JtdRF+XtuyTFIhpHb+WXAeWU8kF/2InjxDTnRfaQqsyJssJHT7jN8RVaFuW0O31Ad9/X Z3Tr3/YFP93fvAM2rBvuQTQVtLh083lVAwDRTtA0kaIxnxjMuZn+5AK7x168j44gSGC5 jHfQ== X-Gm-Message-State: AHPjjUj5M4oMV2GW33V56e9qnkLMzB0BMiG9HxM/QFujHFwIi//fB99f mZIvjk1YLeAtq4HwlP9DJg== X-Google-Smtp-Source: AOwi7QBj5Ra35dnYxnHEAZ8kQCfn9bsawwUFaRv0FzIQFi30rdE5T4XEYUWTy0GuJMEask3ASjqM+Q== X-Received: by 10.233.216.135 with SMTP id u129mr4569884qkf.302.1505420594214; Thu, 14 Sep 2017 13:23:14 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-67-36-61.bltmmd.fios.verizon.net. [173.67.36.61]) by smtp.gmail.com with ESMTPSA id v11sm11953364qkl.45.2017.09.14.13.23.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Sep 2017 13:23:13 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id CA1CE69FAF; Thu, 14 Sep 2017 16:23:12 -0400 (EDT) Content-Disposition: inline In-Reply-To: <874ls5xdzz.fsf@udel.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::236 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:218296 Archived-At: On 14/09/17 at 03:43pm, Mark Oteiza wrote: > + Lisp_Object rgb1 = list3 (make_number (&cdef1.red), > + make_number (&cdef1.green), > + make_number (&cdef1.blue)); > + Lisp_Object rgb2 = list3 (make_number (&cdef2.red), > + make_number (&cdef2.green), > + make_number (&cdef2.blue)); I guess these need RGB values to be shifted?