From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#17808: 24.4.50; vc-annotate colors Date: Sat, 05 Jul 2014 02:48:35 +0300 Organization: JURTA Message-ID: <87oax4vg6k.fsf@mail.jurta.org> References: <87bntpl77v.fsf@mail.jurta.org> <87vbrg8vvo.fsf@mail.jurta.org> <8361jg4gtk.fsf@gnu.org> <87tx6zwdnk.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404518009 16907 80.91.229.3 (4 Jul 2014 23:53:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2014 23:53:29 +0000 (UTC) Cc: 17808@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 05 01:53:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1X3DI5-0005D9-T5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 01:53:18 +0200 Original-Received: from localhost ([::1]:38429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3DI5-0008LO-G6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2014 19:53:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3DHw-0008KN-Uh for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:53:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3DHq-00070g-Vu for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:53:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3DHq-00070c-Sv for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3DHq-0000xV-AM for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jul 2014 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17808 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 17808-submit@debbugs.gnu.org id=B17808.14045179523647 (code B ref 17808); Fri, 04 Jul 2014 23:53:02 +0000 Original-Received: (at 17808) by debbugs.gnu.org; 4 Jul 2014 23:52:32 +0000 Original-Received: from localhost ([127.0.0.1]:43222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3DHL-0000wf-FX for submit@debbugs.gnu.org; Fri, 04 Jul 2014 19:52:31 -0400 Original-Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:57317 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3DHJ-0000wW-Sx for 17808@debbugs.gnu.org; Fri, 04 Jul 2014 19:52:30 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 6D7B030A17C3BB; Fri, 4 Jul 2014 16:52:28 -0700 (PDT) In-Reply-To: <87tx6zwdnk.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 03 Jul 2014 02:31:03 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91196 Archived-At: > But the last patch provides a palette where color saturation > is reduced from 75% to 20%, so the output looks nicely > for light backgrounds where related lines are grouped > using the same backgrounds like in the table from this post :-) > > https://plus.google.com/+BrunoOliveira/posts/1mnVJcJqzVD To reduce saturation from 75% to 20% it was helpful to use the function `color-hsv-to-rgb' that I found in the list archives. There are several proposed versions: http://lists.gnu.org/archive/html/emacs-devel/2010-11/msg00897.html http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00738.html http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14074 http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01272.html It seems that the latest produces the most exact results. I wounder why this useful function still is not installed in color.el?