[gnus git] branch master updated: m0-7-155-g7796f76 =1= gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 change

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  7796f76a4215ea0651b2c12d4f25a25e1c8facff (commit)
      from  2f2e0573e0add206e089cdf20ff8774ee22933ae (commit)


- Log -----------------------------------------------------------------
commit 7796f76a4215ea0651b2c12d4f25a25e1c8facff
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Jul 3 04:15:22 2013 +0000

    gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 change

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 592e49e..05576bd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-03  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
+	Revert 2013-01-14 change.
+
 2013-07-02  Daiki Ueno  <[email protected]>
 
 	* mml2015.el (mml2015-epg-key-image): Use 'gnus-create-image' instead
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index e136d4f..9bae9f9 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -3657,18 +3657,17 @@ buffer that was in action when the last article was fetched."
   (or (car (funcall gnus-extract-address-components from))
       from))
 
-(defun gnus-summary-from-or-to-or-newsgroups (header from)
+(defun gnus-summary-from-or-to-or-newsgroups (header gnus-tmp-from)
   (let ((mail-parse-charset gnus-newsgroup-charset)
         (ignored-from-addresses (gnus-ignored-from-addresses))
         ;; Is it really necessary to do this next part for each summary line?
         ;; Luckily, doesn't seem to slow things down much.
         (mail-parse-ignored-charsets
          (with-current-buffer gnus-summary-buffer
-           gnus-newsgroup-ignored-charsets))
-        (address (cadr (gnus-extract-address-components from))))
+	   gnus-newsgroup-ignored-charsets)))
     (or
      (and ignored-from-addresses
-	  (string-match ignored-from-addresses address)
+	  (string-match ignored-from-addresses gnus-tmp-from)
 	  (let ((extra-headers (mail-header-extra header))
 		to
 		newsgroups)
@@ -3687,7 +3686,9 @@ buffer that was in action when the last article was fetched."
                                 gnus-newsgroup-name)) 'nntp)
 		      (gnus-group-real-name gnus-newsgroup-name))))
 	      (concat gnus-summary-newsgroup-prefix newsgroups)))))
-     (gnus-string-mark-left-to-right (gnus-summary-extract-address-component from)))))
+     (gnus-string-mark-left-to-right
+      (inline
+	(gnus-summary-extract-address-component gnus-tmp-from))))))
 
 (defun gnus-summary-insert-line (gnus-tmp-header
 				 gnus-tmp-level gnus-tmp-current

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    5 +++++
 lisp/gnus-sum.el |   25 +++++++++++++------------
 2 files changed, 18 insertions(+), 12 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.