From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add rainbow-mode Date: Mon, 02 Aug 2010 09:46:42 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877hk9gjhp.fsf@lifelogs.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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1280760433 7963 80.91.229.12 (2 Aug 2010 14:47:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2010 14:47:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 02 16:47:11 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 1OfwII-0002kX-Ox for ged-emacs-devel@m.gmane.org; Mon, 02 Aug 2010 16:47:11 +0200 Original-Received: from localhost ([127.0.0.1]:39464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfwII-0000Ht-1c for ged-emacs-devel@m.gmane.org; Mon, 02 Aug 2010 10:47:10 -0400 Original-Received: from [140.186.70.92] (port=34950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfwIA-0000Ho-ON for emacs-devel@gnu.org; Mon, 02 Aug 2010 10:47:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfwI8-00086S-5M for emacs-devel@gnu.org; Mon, 02 Aug 2010 10:47:02 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48505) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfwI7-000865-OI for emacs-devel@gnu.org; Mon, 02 Aug 2010 10:47:00 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OfwI4-0002d2-Kq for emacs-devel@gnu.org; Mon, 02 Aug 2010 16:46:56 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Aug 2010 16:46:56 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Aug 2010 16:46:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:6SftrUOyIc9sjW2eapjXiQ/9z2s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:128118 Archived-At: On Sat, 31 Jul 2010 00:11:16 +0200 Lennart Borgman wrote: LB> 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.  The >> name may have to change so it's clearer what it does: visual-color.el, >> perhaps? LB> I do not think rainbow-mode has all the functionality in LB> css-color-mode (but I only glanced at rainbow-mode so I am not quite LB> sure). Are you really sure of this? I agree it doesn't have all the CSS-specific functionality. Is there something specific you need? rainbow-mode.el is more generally useful and can support the CSS-specific code, whereas css-color-mode.el can't support tex-mode for instance. So my vote is still for rainbow-mode.el. Ted