]> git.eshelyaron.com Git - emacs.git/commit
Revert "Make mail-extract-address-components return the user name more"
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 Apr 2018 17:28:04 +0000 (19:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 15 Apr 2018 17:28:04 +0000 (19:28 +0200)
commita3a9d5434d56f8736cc47e379a1d011d4c779b7c
tree78dd36c24dfe52d9b0fccc9cea35ab2f5e0c500e
parent60ec0c7960985bf6e849e2ea4c3888127f8e9bef
Revert "Make mail-extract-address-components return the user name more"

This reverts commit 8b50ae8b2284b5652c2843a9d0d076f4f657be28.

According to tests in bug#27656 by OGAWA Hirofumi, this patch
led to wrong results when binding

(dolist (addr '("Rasmus <rasmus@gmx.us>" "Rasmus <mbox@gmx.us>"))
  (dolist (ignore-single '(t nil))
    (dolist (ignore-same '(t nil))
      (let ((mail-extr-ignore-single-names ignore-single)
    (mail-extr-ignore-realname-equals-mailbox-name ignore-same))
(message "%s" (mail-extract-address-components addr))))))

in combination.
lisp/mail/mail-extr.el