--- gnus-gravatar.el~ 2010-11-08 01:30:51 +0000 +++ gnus-gravatar.el 2010-11-18 23:48:59 +0000 @@ -90,4 +90,6 @@ (when (if real-name ; have a realname, go for it! - (and (search-forward real-name nil t) - (search-backward real-name nil t)) + (and (re-search-forward + (concat (regexp-quote real-name) "\\|" + (regexp-quote mail-address)) nil t) + (goto-char (match-beginning 0))) (and (search-forward mail-address nil t)