From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add rainbow-mode Date: Fri, 30 Jul 2010 23:59:37 +0100 Message-ID: <87sk307ezq.fsf@gmail.com> References: <1280235011-12761-1-git-send-email-julien@danjou.info> <87zkx8nb9e.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280530810 25141 80.91.229.12 (30 Jul 2010 23:00:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 23:00:10 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 31 01:00:09 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OeyYi-00023X-84 for ged-emacs-devel@m.gmane.org; Sat, 31 Jul 2010 01:00:08 +0200 Original-Received: from localhost ([127.0.0.1]:50117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeyYh-0007Zr-Qx for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 19:00:07 -0400 Original-Received: from [140.186.70.92] (port=35191 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeyYb-0007Zc-OA for emacs-devel@gnu.org; Fri, 30 Jul 2010 19:00:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeyYZ-0003aY-V5 for emacs-devel@gnu.org; Fri, 30 Jul 2010 19:00:01 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:38021) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeyYZ-0003aJ-Mn for emacs-devel@gnu.org; Fri, 30 Jul 2010 18:59:59 -0400 Original-Received: by wwi14 with SMTP id 14so1576280wwi.30 for ; Fri, 30 Jul 2010 15:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=5tI5jHTO6/XOhy3ffou1qwn/jKr3ugOAqBm5M2Cwhs8=; b=lVy8onx5NfA9po99Qn4+8XRpNiQzrpDuiIL2N3KIBYAlRHPVvfFiJWKZON+8lNzur0 J8r8UOYtZzkQHmTMg86FTaiUrgNQDef0+NCIIcH6v/vN9TzV7T/GohXb/kYNmStj+yvL jwsTSaPHFUdK9zJhvd3N9rvPfyul7kWRGuPC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=X6G40VirvUIjVtaIeEBgapevlx0W4fVza5X0k+mHs6dNBFuky8mbhlZ/oRWVvgfTtD YReVJTxH2VkygEWuBEpMN3KeBW7ClV+iWeCczDJ1QtbeTPiyes6ThnlGvYTEpiD/Wj4E HXMM2mxYlpSZA04zUWC9cmgwGFgh51eww1B18= Original-Received: by 10.227.145.5 with SMTP id b5mr2291870wbv.189.1280530798418; Fri, 30 Jul 2010 15:59:58 -0700 (PDT) Original-Received: from spec-desktop.specuu.com (host86-137-129-202.range86-137.btcentralplus.com [86.137.129.202]) by mx.google.com with ESMTPS id a1sm2323639wbb.14.2010.07.30.15.59.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Jul 2010 15:59:57 -0700 (PDT) In-Reply-To: (Lennart Borgman's message of "Sat, 31 Jul 2010 00:11:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128036 Archived-At: Lennart Borgman writes: > 2010/7/30 Ted Zlatanov : >> On Tue, 27 Jul 2010 06:44:50 -0700 "Drew Adams" = wrote: >> >>>> > I'm glad to present rainbow-mode. This is a minor mode that >>>> > displays color names with colored background. >>>> >>>> There is (since two years) a minor mode, css-color-mode in >>>> css-color.el written by Niels Giesen... >>>> See http://bazaar.launchpad.net/~nxhtml/nxhtml/main/files/head:/util/ >> >> DA> See also: http://www.emacswiki.org/emacs/HexColour. >> >> I looked at all of them and rainbow-mode seems to be a superset of their >> functionality (except for highlighting "blue" in blue, for instance). >> It's definitely more configurable and smarter about the major mode. =C2= =A0The >> name may have to change so it's clearer what it does: visual-color.el, >> perhaps? I checked this as well, it looks like `rainbow-mode' is mode sensitive (among other things to consider). > > I do not think rainbow-mode has all the functionality in > css-color-mode (but I only glanced at rainbow-mode so I am not quite > sure). Are you really sure of this? I've looked at it too, it has a lot of functionality (including hs[vl]-rgb conversions). And defines more colours. However it is more heavy weight and CSS specific. If I have a right to vote, I would try to include some funcionality from `css-color-mode' into `rainbow-mode', because of both of them have potential, and rainbow-mode seems to be more generic... > >> I'd like to see it become part of Emacs; it would be useful to me and >> probably many others. >> >> Ted >> >> >> I think it would be a right thing to do, but also see above. Just mine two cents. Wojciech