From: yamaoka Date: Mon, 18 Mar 2002 01:11:40 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_6-01-quimby~10 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3da950cc63d9e2d41246b84b7cb68f30c5156b0;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7453cf0..d6bf88f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2002-03-16 Simon Josefsson + + * gnus-util.el (gnus-extract-address-components): Don't break on + names such as James "Kibo" Parry. From Francis Litterio + . + 2002-03-13 Simon Josefsson * pop3.el (pop3-open-server): Revert multibyte change. From diff --git a/lisp/gnus-util.el b/lisp/gnus-util.el index 45f6743..fd4a0bd 100644 --- a/lisp/gnus-util.el +++ b/lisp/gnus-util.el @@ -198,7 +198,7 @@ (string-match (concat "[ \t]*<" (regexp-quote address) ">") from) (and (setq name (substring from 0 (match-beginning 0))) ;; Strip any quotes from the name. - (string-match "\".*\"" name) + (string-match "^\".*\"$" name) (setq name (substring name 1 (1- (match-end 0)))))) ;; If not, then "address (name)" is used. (or name