]> 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)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 3 Jun 2018 01:18:46 +0000 (21:18 -0400)
commit67f164a7bfd9d3aab0bd58d1b2fd9b2846684a45
treecacb11a498bfe69fda7d31cc593ddc1b6509b02d
parent09d0493e9246ec5ce7ede87f9c5804ae9486e81b
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.

(cherry picked from commit a3a9d5434d56f8736cc47e379a1d011d4c779b7c)
lisp/mail/mail-extr.el