From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#29456: [PATCH] Add command for cycling between CSS color formats Date: Mon, 27 Nov 2017 10:41:29 -0700 Message-ID: <87a7z7aaba.fsf@tromey.com> References: <1511709711.2341.0@smtp.gmail.com> <83indv645v.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511804549 1394 195.159.176.226 (27 Nov 2017 17:42:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 17:42:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29456@debbugs.gnu.org, tom@tromey.com, Simen =?UTF-8?Q?Heggest=C3=B8yl?= , monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 27 18:42:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eJNQ1-0007UE-TO for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 18:42:10 +0100 Original-Received: from localhost ([::1]:33988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJNQ9-0000zR-7Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 12:42:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJNQ0-0000xJ-1C for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 12:42:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJNPu-00031Q-EO for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 12:42:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJNPu-000316-AV for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 12:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJNPt-0008DC-V9 for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 12:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2017 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29456-submit@debbugs.gnu.org id=B29456.151180449431523 (code B ref 29456); Mon, 27 Nov 2017 17:42:01 +0000 Original-Received: (at 29456) by debbugs.gnu.org; 27 Nov 2017 17:41:34 +0000 Original-Received: from localhost ([127.0.0.1]:32950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJNPR-0008CM-W1 for submit@debbugs.gnu.org; Mon, 27 Nov 2017 12:41:34 -0500 Original-Received: from gateway23.websitewelcome.com ([192.185.48.71]:26604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJNPP-0008CE-Pl for 29456@debbugs.gnu.org; Mon, 27 Nov 2017 12:41:32 -0500 Original-Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 30F895BA9E for <29456@debbugs.gnu.org>; Mon, 27 Nov 2017 11:41:31 -0600 (CST) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id JNPPekviBpOTvJNPPeQ4tT; Mon, 27 Nov 2017 11:41:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=I/TQqFlE+v8913HIcuwv41GjKAIRBos8/7jEmK78lrQ=; b=LsDvj4lcBSc71gipcH9qfaXJX8 tK9F3VO1uc9rJYsJsEvgz9k8m0KGDANdKeGYWrWsh3tNjiY0bwBtyM/8sTrIBoSEiB+61rTNhoBnr b2ixZWbGR5lT3dGemvymBdrQ1; Original-Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:54294 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eJNPO-000bFV-QX; Mon, 27 Nov 2017 11:41:30 -0600 X-Attribution: Tom In-Reply-To: <83indv645v.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Nov 2017 19:07:56 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.218.90.63 X-Source-L: No X-Exim-ID: 1eJNPO-000bFV-QX X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-218-90-63.hlrn.qwest.net (pokyo) [71.218.90.63]:54294 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:140465 Archived-At: >>>>> "Eli" == Eli Zaretskii writes: Eli> The latter follows the X color definitions, so why does css-mode.el Eli> need a different interpretation of the hex-RGB notation? CSS color names came from X a long time ago, but their mapping to rgb is now part of the CSS specification. And, apparently there were multiple versions of this file coming from X. The Emacs one would be ok provided the lists are identical and will always remain so. Otherwise, css-mode needs its own list. Eli> My fear is that someone will mix css-mode functions with those from Eli> elsewhere in Emacs, and will bump into confusing and contradicting Eli> results. Is it possible to avoid that? Using "css-" in the name seems sufficient to me. Maybe a comment explaining this would help as well. Tom