all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Julien Danjou'" <julien@danjou.info>
Cc: 'Lars Magne Ingebrigtsen' <larsi@gnus.org>, emacs-devel@gnu.org
Subject: RE: /srv/bzr/emacs/trunk r102478: shr.el (shr-tag-color-check):Convert colors to hexadecimal with shr-color->hexadecimal.
Date: Wed, 24 Nov 2010 08:15:25 -0800	[thread overview]
Message-ID: <A73C63FFF3FE4E54BC9A10E62FD2E02E@us.oracle.com> (raw)
In-Reply-To: <87d3pvf5s2.fsf@keller.adm.naquadah.org>

> > Dunno.
> 
> But you write a lot for someone who do not know. :)

I said I do not know whether color-lab.el "doesn't have much to do with
hexrgb.el" (Lars).  I did not say that I do not know anything.  I wrote about
what I do know about: hexrgb.el.

What did I mean by "dunno" here?  Read what followed "dunno":

d> Dunno.  Such a particular color distance computation is I guess
d> complementary to what is in hexrgb.el.  But in general that is
d> the kind of thing that hexrgb.el does.

So wrt particular content: it seems _complementary_.  But in general, color
difference _is_ the kind of thing that hexrgb.el does.  So yes and no - dunno
based only on Lars's general description of color-lab.el.

> All of this is not present in hexrgb

Complementary.
 
> I admit: color-lab has 50 SLOC for 2 functions (rgb->hsl and rgb->hsv)
> which are in hexrgb, but they are even not used at all by the 
> CIE code.

I already made it clear during the discussion of rainbow-mode.el that such
overlap is to be expected.  These are just standard color conversions.

> So I think it's really unfair to stand up and point at this 
> package like it's something that should not have been done.
> 
> Now if you want to merge hexrgb and color-lab, why not, but stop
> pointing at other people work because some is not included in Emacs.
> 
> I can't do anything about it.

You replied to my mail, but is this directed at me or someone else?  I haven't
pointed at any package as something that should not have been done.  I haven't
pointed at anyone's work because something is not in Emacs (?).  "Really
unfair", indeed.

I simply replied to Yidong's mention of possibly including hexrgb.el (it's OK).

And to Lars's indication that color-lab.el was about calculating a color
distance and that (he thinks) that has little to do with hexrgb.el.  I was going
by what Lars described - I have not looked at color-lab.el myself.

Whether color-lab.el _in fact_ has anything to do with hexrgb.el (e.g. same or
similar subject) I dunno.  And even if it does, whether the two should be
included separately or merged in some way I dunno.  I am not pushing for either
inclusion or merger.  I am not pushing and I am not pointing. ;-)

To be clear, I do not really care whether hexrgb.el, color-lab.el, some
combination of them, or both of them are added to Emacs.  I tried to reply
technically to the question of what hexrgb.el is about.  That's all.

I wrote hexrgb.el for myself and anyone else who wants to use it.  I am glad
that someone wrote color-lab.el as well.  Heuristically determining readable
colors would be useful - I'm glad you're working on it.

Whether any of this stuff should be added to Emacs is another story, and not for
me to decide.




  parent reply	other threads:[~2010-11-24 16:15 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1PKgZg-0005td-8L@internal.in.savannah.gnu.org>
2010-11-23 19:50 ` /srv/bzr/emacs/trunk r102478: shr.el (shr-tag-color-check): Convert colors to hexadecimal with shr-color->hexadecimal Glenn Morris
2010-11-23 20:24   ` Chong Yidong
2010-11-23 21:14     ` Julien Danjou
2010-11-23 21:31       ` Chong Yidong
2010-11-23 21:38         ` Lars Magne Ingebrigtsen
2010-11-23 22:18           ` Chong Yidong
2010-11-23 22:34             ` Lars Magne Ingebrigtsen
2010-11-24  0:12               ` /srv/bzr/emacs/trunk r102478: shr.el (shr-tag-color-check):Convert " Drew Adams
2010-11-24  9:08                 ` Julien Danjou
2010-11-24 11:35                   ` Eli Zaretskii
2010-11-24 14:46                     ` Stefan Monnier
2010-11-24 15:30                       ` Lennart Borgman
2010-11-24 18:15                         ` Ted Zlatanov
2010-11-24 21:37                           ` Lennart Borgman
2010-11-24 22:19                       ` Lars Magne Ingebrigtsen
2010-11-24 22:41                         ` Use color-tweaking code to improve face defaults? [was: /srv/bzr/emacs/trunk r1...] Drew Adams
2010-11-25  4:53                         ` /srv/bzr/emacs/trunk r102478: shr.el (shr-tag-color-check):Convert colors to hexadecimal with shr-color->hexadecimal Stefan Monnier
2010-12-10 19:19                           ` Ted Zlatanov
2010-11-24 16:15                   ` Drew Adams [this message]
2010-11-24 18:11                     ` Ted Zlatanov
2010-11-24 21:00                       ` /srv/bzr/emacs/trunk r102478: shr.el(shr-tag-color-check):Convert colors to hexadecimal withshr-color->hexadecimal Drew Adams
2010-11-24 21:33                         ` Julien Danjou
2010-11-24 21:51                           ` Drew Adams
2010-11-24 16:29                   ` /srv/bzr/emacs/trunk r102478: shr.el (shr-tag-color-check):Convert colors to hexadecimal with shr-color->hexadecimal Chong Yidong
2010-11-24  0:05             ` Drew Adams
2010-11-24  8:36         ` /srv/bzr/emacs/trunk r102478: shr.el (shr-tag-color-check): Convert " Richard Stallman
2010-11-24 14:42           ` Stefan Monnier
2010-11-23 21:16     ` Lars Magne Ingebrigtsen
2010-11-23 22:19       ` Ted Zlatanov
2010-11-23 21:14   ` Julien Danjou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A73C63FFF3FE4E54BC9A10E62FD2E02E@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=julien@danjou.info \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.