diff options
| author | Katsumi Yamaoka | 2013-07-03 04:15:38 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2013-07-03 04:15:38 +0000 |
| commit | 527769f7ede3788154e709befd8f8127d8b1832a (patch) | |
| tree | 6e68d141a52bbabace8d70a4d1158e54c7051339 /lisp | |
| parent | 1399490e2bb58e1e7212d7a8469e1286ced9423a (diff) | |
| download | emacs-527769f7ede3788154e709befd8f8127d8b1832a.tar.gz emacs-527769f7ede3788154e709befd8f8127d8b1832a.zip | |
gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 change
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 25 |
2 files changed, 18 insertions, 12 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 49b45380575..63c63af3399 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-03 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): | ||
| 4 | Revert 2013-01-14 change. | ||
| 5 | |||
| 1 | 2013-07-02 David Engster <deng@randomsample.de> | 6 | 2013-07-02 David Engster <deng@randomsample.de> |
| 2 | 7 | ||
| 3 | * gnus-sum.el (gnus-update-marks): Do not remove empty 'unexist' | 8 | * gnus-sum.el (gnus-update-marks): Do not remove empty 'unexist' |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index e136d4f8173..9bae9f981bd 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -3657,18 +3657,17 @@ buffer that was in action when the last article was fetched." | |||
| 3657 | (or (car (funcall gnus-extract-address-components from)) | 3657 | (or (car (funcall gnus-extract-address-components from)) |
| 3658 | from)) | 3658 | from)) |
| 3659 | 3659 | ||
| 3660 | (defun gnus-summary-from-or-to-or-newsgroups (header from) | 3660 | (defun gnus-summary-from-or-to-or-newsgroups (header gnus-tmp-from) |
| 3661 | (let ((mail-parse-charset gnus-newsgroup-charset) | 3661 | (let ((mail-parse-charset gnus-newsgroup-charset) |
| 3662 | (ignored-from-addresses (gnus-ignored-from-addresses)) | 3662 | (ignored-from-addresses (gnus-ignored-from-addresses)) |
| 3663 | ;; Is it really necessary to do this next part for each summary line? | 3663 | ;; Is it really necessary to do this next part for each summary line? |
| 3664 | ;; Luckily, doesn't seem to slow things down much. | 3664 | ;; Luckily, doesn't seem to slow things down much. |
| 3665 | (mail-parse-ignored-charsets | 3665 | (mail-parse-ignored-charsets |
| 3666 | (with-current-buffer gnus-summary-buffer | 3666 | (with-current-buffer gnus-summary-buffer |
| 3667 | gnus-newsgroup-ignored-charsets)) | 3667 | gnus-newsgroup-ignored-charsets))) |
| 3668 | (address (cadr (gnus-extract-address-components from)))) | ||
| 3669 | (or | 3668 | (or |
| 3670 | (and ignored-from-addresses | 3669 | (and ignored-from-addresses |
| 3671 | (string-match ignored-from-addresses address) | 3670 | (string-match ignored-from-addresses gnus-tmp-from) |
| 3672 | (let ((extra-headers (mail-header-extra header)) | 3671 | (let ((extra-headers (mail-header-extra header)) |
| 3673 | to | 3672 | to |
| 3674 | newsgroups) | 3673 | newsgroups) |
| @@ -3683,11 +3682,13 @@ buffer that was in action when the last article was fetched." | |||
| 3683 | (cdr (assq 'Newsgroups extra-headers)) | 3682 | (cdr (assq 'Newsgroups extra-headers)) |
| 3684 | (and | 3683 | (and |
| 3685 | (memq 'Newsgroups gnus-extra-headers) | 3684 | (memq 'Newsgroups gnus-extra-headers) |
| 3686 | (eq (car (gnus-find-method-for-group | 3685 | (eq (car (gnus-find-method-for-group |
| 3687 | gnus-newsgroup-name)) 'nntp) | 3686 | gnus-newsgroup-name)) 'nntp) |
| 3688 | (gnus-group-real-name gnus-newsgroup-name)))) | 3687 | (gnus-group-real-name gnus-newsgroup-name)))) |
| 3689 | (concat gnus-summary-newsgroup-prefix newsgroups))))) | 3688 | (concat gnus-summary-newsgroup-prefix newsgroups))))) |
| 3690 | (gnus-string-mark-left-to-right (gnus-summary-extract-address-component from))))) | 3689 | (gnus-string-mark-left-to-right |
| 3690 | (inline | ||
| 3691 | (gnus-summary-extract-address-component gnus-tmp-from)))))) | ||
| 3691 | 3692 | ||
| 3692 | (defun gnus-summary-insert-line (gnus-tmp-header | 3693 | (defun gnus-summary-insert-line (gnus-tmp-header |
| 3693 | gnus-tmp-level gnus-tmp-current | 3694 | gnus-tmp-level gnus-tmp-current |