From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#36304: 27.0.50; request: switch to the superior HTML #RGB convention for colors Date: Thu, 20 Jun 2019 11:22:24 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="225279"; mail-complaints-to="usenet@blaine.gmane.org" To: 36304@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 20 13:49:52 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdvZf-000wXR-Bu for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 13:49:51 +0200 Original-Received: from localhost ([::1]:46562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvZe-0000R0-9Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 07:49:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55149) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvYd-000846-KT for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:48:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdvRT-0007MO-4d for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:41:24 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdvAg-0000pc-0M for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdvAf-0008Ug-QU for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2019 11:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36304 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156102981132602 (code B ref -1); Thu, 20 Jun 2019 11:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jun 2019 11:23:31 +0000 Original-Received: from localhost ([127.0.0.1]:47951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdvAA-0008Tk-Mg for submit@debbugs.gnu.org; Thu, 20 Jun 2019 07:23:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdvA8-0008Tc-Fc for submit@debbugs.gnu.org; Thu, 20 Jun 2019 07:23:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50013) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvA3-0006na-NN for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:23:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdv9t-0000Th-Bf for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:23:18 -0400 Original-Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:41310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdv9q-0000MR-CN for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 07:23:11 -0400 Original-Received: by mail-oi1-x236.google.com with SMTP id g7so1857781oia.8 for ; Thu, 20 Jun 2019 04:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ohKWCPOeU73hGzJNRHcAU7xyQkkOilbh4eXH+xOht34=; b=Sku1udlYoDvkNHmKeoekzCxBc9ZI3iGESZZyjo5xpCb2PrAadqf+fJrATnNOj6l1O5 0tbbSaAZ5VP2POfU81QyOE1KylJDnUB2tkSU4rSjbVu/Iq1eCuxhmfIofHBqhOahfXQo UGjxRosvoRzbpp3J2LyChldcab0RwJ9GPbbvHuMwHnyPw7rHAsaOtVv9yHK6i1DFKTp+ c3kMteIaScpzVGIV2GKdBBC1NX7p9aFt1i6GMXb6UpRrZA5If+nnINgfHoUctBj8LkpI NbWdacXnfv64N8RHx2/f6F3CoCHAY+D/FB/21xrIeNs31aK9YF/EmIiCmV6JEy5CElMp lDcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ohKWCPOeU73hGzJNRHcAU7xyQkkOilbh4eXH+xOht34=; b=WmhkF7bUDRSNSkzsTyCDPYs9GutyBYwqGuJeMw4YPGFEAikFwZgAjlEr4NW8qUgjch ya2YCMjpTt8YcBzcRJI8DABd5dLJHIhNzRJi7Hn+8RVkbgo0B9fgqAA8gCj+0ZrxobJJ ypC0dRisaVs+KwC6MKszdsYP7kZAI4pTlIQGLZaDYhTbGDjnNry31Y6SU7pjpBMd+aCj tmzNxrqUV7v919Bm2WvlpqxeHq7dYhNn9miQZw7dyPE1LVUTM5QynHgNO0S6e0HlIbh7 hGwkBsfL6gTCwnulFWfdoDrW9RsJArSuszGXaFhLbt+ixaRtVBrlc7tHzAGgp3NLa6L5 4CBw== X-Gm-Message-State: APjAAAWw0dragmJz0P6ARDTnXfRqljWWOuPSRvVLl4Zkyt3TKFFTFGKU dsDGP7iGcm+n6ZXtV9JJlZUY6gxXxYvseEMxtUl7+qUi X-Google-Smtp-Source: APXvYqwszzkQVv4j7kei2fYiaF0zOl5Go5sTuJNQZc1WEQ+cnIcQU9woK8nIDAn5QWVZko6aZR8S7E8Okeb/BIY4uaY= X-Received: by 2002:aca:6c1:: with SMTP id 184mr5284585oig.122.1561029781863; Thu, 20 Jun 2019 04:23:01 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: 209.51.188.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:160889 Archived-At: This is a request for an incompatible change, which I think will improve some matters significantly: The Web convention, used by HTML and SVG, is that #fff is parsed as #ffffff, and represents "white". The X convention, discouraged for years, is to accept #fff as shorthand for #f0f0f0, and #ffffff as shorthand for #ff00ff00ff00, with no way of specifying the whitest color as six (or three) hex digits. We're still using the X convention. It's time to switch. The HTML convention is what virtually everyone would expect these days, it allows specifying "white" concisely, and it's what we use in some contexts, such as when rendering SVGs. Not fixing this would result in somewhat hard-to-track-down color bugs all over the place, particularly when combining images and text or using non-X window systems or non-8-bit color depths (again, "#ffffff" isn't the same as "white" on those!) There's no reason, as far as I can see, to burden everyone with a deficiency of one specific graphics backend, in perpetuity, particularly since the colors will stay similar but not quite the same. This issue was discussed years ago as bug #8402, so feel free to mark this as a duplicate if it helps.