[Gnus] Make nnmairix always select the correct article

This commit is contained in:
Eric Abrahamsen 2015-01-27 05:45:12 +00:00 committed by Katsumi Yamaoka
parent de925ab19d
commit 9e0866e121
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2015-01-27 Eric Abrahamsen <eric@ericabrahamsen.net>
* nnmairix.el ("nnmairix"): Declare nnmairix as virtual.
* gnus-bcklg.el (gnus-backlog-enter-article): No virtual groups should
be added to the backlog.
2015-01-26 Trevor Murphy <trevor.m.murphy@gmail.com>
* nnimap.el (nnimap-header-parameters): Refactor and request

View file

@ -61,7 +61,7 @@
(defun gnus-backlog-enter-article (group number buffer)
(when (and (numberp number)
(not (string-match "^nnvirtual" group)))
(not (gnus-virtual-group-p group)))
(gnus-backlog-setup)
(let ((ident (intern (concat group ":" (int-to-string number))
gnus-backlog-hashtb))
@ -126,7 +126,7 @@
(defun gnus-backlog-request-article (group number &optional buffer)
(when (and (numberp number)
(not (string-match "^nnvirtual" group)))
(not (gnus-virtual-group-p group)))
(gnus-backlog-setup)
(let ((ident (intern (concat group ":" (int-to-string number))
gnus-backlog-hashtb))

View file

@ -417,7 +417,7 @@ Other back ends might or might not work.")
(nnoo-define-basics nnmairix)
(gnus-declare-backend "nnmairix" 'mail 'address)
(gnus-declare-backend "nnmairix" 'mail 'address 'virtual)
(deffoo nnmairix-open-server (server &optional definitions)
;; just set server variables