[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29456: [PATCH] Add command for cycling between CSS color formats
From: |
Tom Tromey |
Subject: |
bug#29456: [PATCH] Add command for cycling between CSS color formats |
Date: |
Mon, 27 Nov 2017 10:41:29 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> 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
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Simen Heggestøyl, 2017/11/26
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Tom Tromey, 2017/11/26
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Eli Zaretskii, 2017/11/27
- bug#29456: [PATCH] Add command for cycling between CSS color formats,
Tom Tromey <=
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Eli Zaretskii, 2017/11/27
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Tom Tromey, 2017/11/27
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Eli Zaretskii, 2017/11/27
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Simen Heggestøyl, 2017/11/28
- bug#29456: [PATCH] Add command for cycling between CSS color formats, Simen Heggestøyl, 2017/11/28