GNU bug report logs - #51733
27.1; Detect impossible email addresses better

Previous Next

Packages: gnus, emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 10 Nov 2021 00:29:01 UTC

Severity: wishlist

Found in version 27.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #86 received at 51733 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51733 <at> debbugs.gnu.org
Subject: Re: bug#51733: 27.1; Detect impossible email addresses better
Date: Mon, 17 Jan 2022 16:53:49 +0100
I'm now looking at 5.3 Mixed-Number Detection:

d U+09EA ( ৪ ) BENGALI DIGIT FOUR can be confused with U+0038 ( 8 )
DIGIT EIGHT.

Right, but they recommend implementing this by looking at the digit
version of the character first...  but...  Does Emacs have a function to
get the number value of ৪?  (Which should be 8.  😀)  They then
recommend comparing the value with the zero value of that system, and
I'm pretty sure we don't have that.

I don't quite understand why it's not sufficient to see that we have
numbers from two different numbering systems (which is trivial by
looking at the Nd category and then comparing the scripts).

Does anybody understand why they're doing this in a much more convoluted
manner here?  I must be missing something:

https://www.unicode.org/reports/tr39/#Mixed_Number_Detection

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





This bug report was last modified 3 years and 124 days ago.

Previous Next


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