Commit 9e0866e1 authored by Eric Abrahamsen's avatar Eric Abrahamsen Committed by Katsumi Yamaoka
Browse files

[Gnus] Make nnmairix always select the correct article

parent de925ab1
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
......
......@@ -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))
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment