diff options
| author | Gnus developers | 2011-08-02 22:16:33 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-08-02 22:16:33 +0000 |
| commit | bca46f6bc64a99a1cdeceaa8cdd4eb6e1b9c8f21 (patch) | |
| tree | 5331c4c3118bf25eedb0bfaadd88b171dbffea0f | |
| parent | e07dd7c340290ff5b269bffcb9ff421fefb2e1f0 (diff) | |
| download | emacs-bca46f6bc64a99a1cdeceaa8cdd4eb6e1b9c8f21.tar.gz emacs-bca46f6bc64a99a1cdeceaa8cdd4eb6e1b9c8f21.zip | |
Merge changes made in Gnus trunk.
nnir.el (nnir-search-thread): Position point on referring article line.
(nnir-warp-to-article): Clean up summary buffers.
nnimap.el (nnimap-request-thread): Whitespace fix.
nnimap.el (nnimap-get-groups): Decode "&" correctly.
| -rw-r--r-- | lisp/gnus/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 10 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 20 |
3 files changed, 31 insertions, 11 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 6b35fbcb8ef..e88b5154c76 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2011-08-02 Andrew Cohen <cohen@andy.bu.edu> | ||
| 2 | |||
| 3 | * nnir.el (nnir-search-thread): Position point on referring article | ||
| 4 | line. | ||
| 5 | (nnir-warp-to-article): Clean up summary buffers. | ||
| 6 | |||
| 7 | * nnimap.el (nnimap-request-thread): Whitespace fix. | ||
| 8 | |||
| 9 | 2011-08-02 Steve Purcell <steve@sanityinc.com> (tiny change) | ||
| 10 | |||
| 11 | * nnimap.el (nnimap-get-groups): Decode "&" correctly. | ||
| 12 | |||
| 1 | 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 13 | 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 14 | ||
| 3 | * starttls.el (starttls-available-p): Renamed from | 15 | * starttls.el (starttls-available-p): Renamed from |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 52de48869d8..f41f4af71b4 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1107,9 +1107,9 @@ textual parts.") | |||
| 1107 | (separator (read (current-buffer))) | 1107 | (separator (read (current-buffer))) |
| 1108 | (group (read (current-buffer)))) | 1108 | (group (read (current-buffer)))) |
| 1109 | (unless (member '%NoSelect flags) | 1109 | (unless (member '%NoSelect flags) |
| 1110 | (push (if (stringp group) | 1110 | (push (utf7-decode (if (stringp group) |
| 1111 | group | 1111 | group |
| 1112 | (format "%s" group)) | 1112 | (format "%s" group)) t) |
| 1113 | groups)))) | 1113 | groups)))) |
| 1114 | (nreverse groups))) | 1114 | (nreverse groups))) |
| 1115 | 1115 | ||
| @@ -1168,7 +1168,7 @@ textual parts.") | |||
| 1168 | (nnimap-get-groups))) | 1168 | (nnimap-get-groups))) |
| 1169 | (unless (assoc group nnimap-current-infos) | 1169 | (unless (assoc group nnimap-current-infos) |
| 1170 | ;; Insert dummy numbers here -- they don't matter. | 1170 | ;; Insert dummy numbers here -- they don't matter. |
| 1171 | (insert (format "%S 0 1 y\n" group)))) | 1171 | (insert (format "%S 0 1 y\n" (utf7-encode group))))) |
| 1172 | t))) | 1172 | t))) |
| 1173 | 1173 | ||
| 1174 | (deffoo nnimap-retrieve-group-data-early (server infos) | 1174 | (deffoo nnimap-retrieve-group-data-early (server infos) |
| @@ -1566,7 +1566,7 @@ textual parts.") | |||
| 1566 | (articles &optional limit force-new dependencies)) | 1566 | (articles &optional limit force-new dependencies)) |
| 1567 | 1567 | ||
| 1568 | (deffoo nnimap-request-thread (header &optional group server) | 1568 | (deffoo nnimap-request-thread (header &optional group server) |
| 1569 | (if gnus-refer-thread-use-nnir | 1569 | (if gnus-refer-thread-use-nnir |
| 1570 | (nnir-search-thread header) | 1570 | (nnir-search-thread header) |
| 1571 | (when (nnimap-possibly-change-group group server) | 1571 | (when (nnimap-possibly-change-group group server) |
| 1572 | (let* ((cmd (nnimap-make-thread-query header)) | 1572 | (let* ((cmd (nnimap-make-thread-query header)) |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index e6420a4d7bb..d35e6560e71 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -767,11 +767,18 @@ Add an entry here when adding a new search engine.") | |||
| 767 | (deffoo nnir-warp-to-article () | 767 | (deffoo nnir-warp-to-article () |
| 768 | (let* ((cur (if (> (gnus-summary-article-number) 0) | 768 | (let* ((cur (if (> (gnus-summary-article-number) 0) |
| 769 | (gnus-summary-article-number) | 769 | (gnus-summary-article-number) |
| 770 | (error "This is not a real article."))) | 770 | (error "This is not a real article"))) |
| 771 | (gnus-newsgroup-name (nnir-article-group cur)) | 771 | (backend-article-group (nnir-article-group cur)) |
| 772 | (backend-number (nnir-article-number cur))) | 772 | (backend-article-number (nnir-article-number cur)) |
| 773 | (gnus-summary-read-group-1 gnus-newsgroup-name t t gnus-summary-buffer | 773 | (quit-config (gnus-ephemeral-group-p gnus-newsgroup-name))) |
| 774 | nil (list backend-number)))) | 774 | ;; first exit from the nnir summary buffer. |
| 775 | (gnus-summary-exit) | ||
| 776 | ;; and if the nnir summary buffer in turn came from another | ||
| 777 | ;; summary buffer we have to clean that summary up too. | ||
| 778 | (when (eq (cdr quit-config) 'summary) | ||
| 779 | (gnus-summary-exit)) | ||
| 780 | (gnus-summary-read-group-1 backend-article-group t t nil | ||
| 781 | nil (list backend-article-number)))) | ||
| 775 | 782 | ||
| 776 | (nnoo-define-skeleton nnir) | 783 | (nnoo-define-skeleton nnir) |
| 777 | 784 | ||
| @@ -1659,7 +1666,8 @@ server is of form 'backend:name'." | |||
| 1659 | (cons 'server (gnus-method-to-server | 1666 | (cons 'server (gnus-method-to-server |
| 1660 | (gnus-find-method-for-group | 1667 | (gnus-find-method-for-group |
| 1661 | gnus-newsgroup-name)))))) | 1668 | gnus-newsgroup-name)))))) |
| 1662 | (gnus-group-make-nnir-group nil parm))) | 1669 | (gnus-group-make-nnir-group nil parm) |
| 1670 | (gnus-summary-goto-subject (gnus-id-to-article (mail-header-id header))))) | ||
| 1663 | 1671 | ||
| 1664 | ;; unused? | 1672 | ;; unused? |
| 1665 | (defun nnir-artlist-groups (artlist) | 1673 | (defun nnir-artlist-groups (artlist) |