]> git.eshelyaron.com Git - emacs.git/commit
Add textsec functions for verifying email addresses
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Jan 2022 12:19:55 +0000 (13:19 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Jan 2022 12:20:04 +0000 (13:20 +0100)
commitce63f9102545fa50abbe08a4083b332a9101c243
tree82f332d6822cc27a7e5e4d405496694632a616d6
parent4f23dbaa67183097f2aba1b93ace3646466faca9
Add textsec functions for verifying email addresses

* lisp/international/characters.el (bidi-control-characters):
Rename from glyphless--bidi-control-characters for use in textsec,
and add LRM/RLM/ALM.
(update-glyphless-char-display): Adjust the code.

* lisp/international/textsec.el (textsec-local-address-suspicious-p)
(textsec-name-suspicious-p, textsec-suspicious-nonspacing-p)
(textsec-email-suspicious-p): New functions.
lisp/international/characters.el
lisp/international/textsec.el
test/lisp/international/textsec-tests.el