GNU bug report logs - #36304
27.0.50; request: switch to the superior HTML #RGB convention for colors

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Thu, 20 Jun 2019 11:24:01 UTC

Severity: wishlist

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> gmail.com>
Cc: rms <at> gnu.org, 36304 <at> debbugs.gnu.org
Subject: bug#36304: 27.0.50; request: switch to the superior HTML #RGB convention for colors
Date: Fri, 28 Jun 2019 15:33:20 +0300
> From: Pip Cet <pipcet <at> gmail.com>
> Date: Fri, 28 Jun 2019 09:28:53 +0000
> Cc: rms <at> gnu.org, 36304 <at> debbugs.gnu.org
> 
> > > -    (cond ((and (>= len 4) ;; X-style "#XXYYZZ" color spec
> > > +    (cond ((and (>= len 4) ;; "#XXYYZZ" color spec
> >
> > Is #XXYYZZ no longer considered "X-style"?
> 
> I would say no, since X's interpretation of #f00 is a little different
> from the HTML/CSS/SVG interpretation.

Then maybe we want to refer to HTML/CSS/SVG?

> Complete updated patch attached.

LGTM, with one comment:

> +The returned value reflects the standard Emacs definition of
> +COLOR (see `Colors for Faces' in the Emacs manual), regardless of

Our convention is to say

  see the Info node `(emacs) Colors for Faces'

to refer to the Info manual.

Also, I think this change warrants an entry in NEWS.

Thanks.




This bug report was last modified 5 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.