X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-registry.el;h=79080f21b7a05100820b816c3d611a5f28924872;hb=3552c087f76ecce4c38cc5b2e3824811711856c6;hp=4e6dca536a9798728a306e3b39c967f35f663e55;hpb=404c492543314455e4f96c80bb0372e1741f0906;p=gnus diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el index 4e6dca536..79080f21b 100644 --- a/lisp/gnus-registry.el +++ b/lisp/gnus-registry.el @@ -45,6 +45,9 @@ ;; (: gnus-registry-split-fancy-with-parent) +;; You should also consider using the nnregistry backend to look up +;; articles. See the Gnus manual for more information. + ;; TODO: ;; - get the correct group on spool actions @@ -548,8 +551,9 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." key gnus-registry-max-track-groups))) (dolist (group groups) - (push group found-full) - (setq found (append (list group) (delete group found))))) + (when (and group (gnus-registry-follow-group-p group)) + (push group found-full) + (setq found (append (list group) (delete group found)))))) (push key matches) (gnus-message ;; raise level of messaging if gnus-registry-track-extra @@ -577,8 +581,9 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." key gnus-registry-max-track-groups))) (dolist (group groups) - (push group found-full) - (setq found (append (list group) (delete group found))))) + (when (and group (gnus-registry-follow-group-p group)) + (push group found-full) + (setq found (append (list group) (delete group found)))))) (push key matches) (gnus-message ;; raise level of messaging if gnus-registry-track-extra @@ -1129,7 +1134,6 @@ Returns the first place where the trail finds a group name." (setq gnus-registry-install t) ; in case it was 'ask or nil (gnus-registry-install-hooks) (gnus-registry-install-shortcuts) - (gnus-registry-install-nnregistry) (gnus-registry-read)) ;;;###autoload @@ -1146,19 +1150,6 @@ Returns the first place where the trail finds a group name." (add-hook 'gnus-summary-prepare-hook 'gnus-registry-register-message-ids)) -;;;###autoload -(defun gnus-registry-install-nnregistry () - "Install the nnregistry refer method in `gnus-refer-article-method'." - (interactive) - (when (featurep 'nnregistry) - (setq gnus-refer-article-method - (delete-dups - (append - (if (listp gnus-refer-article-method) - gnus-refer-article-method - (list gnus-refer-article-method)) - (list 'nnregistry)))))) - (defun gnus-registry-unload-hook () "Uninstall the registry hooks." (interactive)