From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29456: [PATCH] Add command for cycling between CSS color formats Date: Mon, 27 Nov 2017 20:43:06 +0200 Message-ID: <83bmjn5zr9.fsf@gnu.org> References: <1511709711.2341.0@smtp.gmail.com> <83indv645v.fsf@gnu.org> <87a7z7aaba.fsf@tromey.com> <83d1436186.fsf@gnu.org> <87609va7tz.fsf@tromey.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511808256 7509 195.159.176.226 (27 Nov 2017 18:44:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 18:44:16 +0000 (UTC) Cc: 29456@debbugs.gnu.org, simenheg@gmail.com, monnier@iro.umontreal.ca To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 27 19:44:09 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 1eJOO0-00018b-2m for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 19:44:08 +0100 Original-Received: from localhost ([::1]:34202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJOO4-00048m-4O for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 13:44:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJONy-00047T-BP for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 13:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJONu-0002vr-6i for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 13:44:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJONu-0002vg-2c for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 13:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJONt-0001Xx-Gp for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 13:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2017 18:44: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.15118082245910 (code B ref 29456); Mon, 27 Nov 2017 18:44:01 +0000 Original-Received: (at 29456) by debbugs.gnu.org; 27 Nov 2017 18:43:44 +0000 Original-Received: from localhost ([127.0.0.1]:33021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJONc-0001XG-Ef for submit@debbugs.gnu.org; Mon, 27 Nov 2017 13:43:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJONY-0001Wv-QQ for 29456@debbugs.gnu.org; Mon, 27 Nov 2017 13:43:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJONS-0002m9-Bs for 29456@debbugs.gnu.org; Mon, 27 Nov 2017 13:43:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJONL-0002lA-CD; Mon, 27 Nov 2017 13:43:27 -0500 Original-Received: from [176.228.60.248] (port=2536 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eJONJ-0008FQ-LZ; Mon, 27 Nov 2017 13:43:27 -0500 In-reply-to: <87609va7tz.fsf@tromey.com> (message from Tom Tromey on Mon, 27 Nov 2017 11:35:04 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:140469 Archived-At: > From: Tom Tromey > Cc: Tom Tromey , simenheg@gmail.com, 29456@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Mon, 27 Nov 2017 11:35:04 -0700 > > Eli> A comment will help, but I'm actually wondering why does css-mode need > Eli> to use 12-bit or 16-bit per component RGB notation? Why not use only > Eli> 8-bit, as in #RRGGBB? The problems only happen in converting 8-bit > Eli> RGB notations to higher number of bits. > > #RGB is specified by CSS, it is equivalent to #RRGGBB, and is often > seen. With css-color-4, #RGBA is also allowed. > > Basically css-mode needs to understand the peculiarities of CSS syntax, > which differs somewhat from other systems AFAIK. Then I think there should be a prominent remark in the doc strings of css-mode not to mix these functions with those from color.el, due to this incompatibility.