changeset 112014:df9847719afa

gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 23 Dec 2010 22:24:24 +0000
parents f11676feb984
children fa60617e20c1
files lisp/gnus/ChangeLog lisp/gnus/gnus-gravatar.el
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Dec 22 19:00:12 2010 -0500
+++ b/lisp/gnus/ChangeLog	Thu Dec 23 22:24:24 2010 +0000
@@ -1,3 +1,9 @@
+2010-12-23  Julien Danjou  <julien@danjou.info>
+
+	* gnus-gravatar.el (gnus-gravatar-transform-address): Set
+	`mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
+	the addresses, otherwise we might misplaced the gravatar.
+
 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
 
 	* mml1991.el (pgg-sign-region, pgg-encrypt-region):
--- a/lisp/gnus/gnus-gravatar.el	Wed Dec 22 19:00:12 2010 -0500
+++ b/lisp/gnus/gnus-gravatar.el	Thu Dec 23 22:24:24 2010 +0000
@@ -54,6 +54,7 @@
 (defun gnus-gravatar-transform-address (header category &optional force)
   (gnus-with-article-headers
     (let* ((mail-extr-disable-voodoo t)
+           (mail-extr-ignore-realname-equals-mailbox-name nil)
 	   (addresses (mail-extract-address-components
 		       (or (mail-fetch-field header) "") t))
 	   (gravatar-size (or gnus-gravatar-size gravatar-size))