diff options
| author | Lars Ingebrigtsen | 2013-12-26 22:13:28 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2013-12-26 22:13:28 +0000 |
| commit | d96b72a59d42b641ff09782a76e5687ec2c47d12 (patch) | |
| tree | 08461478fca942aa6c3fee1643f1e96fb05d6bc3 /lisp | |
| parent | 3b8d5131a316ad2fdc206744cec489a11f0bf1d3 (diff) | |
| download | emacs-d96b72a59d42b641ff09782a76e5687ec2c47d12.tar.gz emacs-d96b72a59d42b641ff09782a76e5687ec2c47d12.zip | |
lisp/gnus/gnus-sum.el (gnus-summary-respool-query): Make split tracing work in nnimap groups, too
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 17 |
2 files changed, 21 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d0e0472c04e..76c1b2aebe0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-12-26 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-respool-query): Special-case nnimap so that | ||
| 4 | we get proper traces there, too. | ||
| 5 | |||
| 1 | 2013-12-26 Sean Connor <sconnor005@allyinics.org> (tiny change) | 6 | 2013-12-26 Sean Connor <sconnor005@allyinics.org> (tiny change) |
| 2 | 7 | ||
| 3 | * gnus-sum.el (gnus-summary-enter-digest-group): Don't discard previous | 8 | * gnus-sum.el (gnus-summary-enter-digest-group): Don't discard previous |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index e86a624cc73..49e5aa7fabf 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -10664,7 +10664,22 @@ groups." | |||
| 10664 | (let (gnus-mark-article-hook) | 10664 | (let (gnus-mark-article-hook) |
| 10665 | (gnus-summary-select-article) | 10665 | (gnus-summary-select-article) |
| 10666 | (with-current-buffer gnus-original-article-buffer | 10666 | (with-current-buffer gnus-original-article-buffer |
| 10667 | (let ((groups (nnmail-article-group 'identity trace))) | 10667 | (let ((groups |
| 10668 | (if (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) | ||
| 10669 | 'nnimap) | ||
| 10670 | ;; nnimap has its own splitting variables. | ||
| 10671 | (let ((nnmail-split-methods | ||
| 10672 | (cond | ||
| 10673 | ((eq nnimap-split-methods 'default) | ||
| 10674 | nnmail-split-methods) | ||
| 10675 | (nnimap-split-methods | ||
| 10676 | nnimap-split-methods) | ||
| 10677 | (nnimap-split-fancy | ||
| 10678 | 'nnmail-split-fancy))) | ||
| 10679 | (nnmail-split-fancy (or nnimap-split-fancy | ||
| 10680 | nnmail-split-fancy))) | ||
| 10681 | (nnmail-article-group 'identity trace)) | ||
| 10682 | (nnmail-article-group 'identity trace)))) | ||
| 10668 | (unless silent | 10683 | (unless silent |
| 10669 | (if groups | 10684 | (if groups |
| 10670 | (message "This message would go to %s" | 10685 | (message "This message would go to %s" |