emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 64e25cd: More robust NS hex colour string parsing


From: Mattias Engdegård
Subject: Re: master 64e25cd: More robust NS hex colour string parsing
Date: Fri, 12 Jun 2020 21:00:10 +0200

12 juni 2020 kl. 19.33 skrev Eli Zaretskii <eliz@gnu.org>:

> Were the 4 versions identical or different?  If the latter, what were
> the differences, and which of the features that call them will from
> now on behave differently?

They were not semantically equivalent but clearly intended to be. Only the X 
and Windows versions accepted the rgbi: format; most if not all had bad 
error-checking (simple typos silently giving nonsense values), and the Windows 
version appears to have normalised incorrectly in some cases (this is from 
reading the code with no Windows machine handy).

The new code should parse a superset of what the old code did, detect more 
mistakes, and be as accurate as we can make it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]