From: yamaoka Date: Wed, 21 Jan 2004 00:27:22 +0000 (+0000) Subject: Synch to No Gnus 200401210021. X-Git-Tag: t-gnus-6_17_4-quimby-~1121 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2d276a19b9e77e0b82069721d8a6ca929cf9cee0;p=elisp%2Fgnus.git- Synch to No Gnus 200401210021. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 256ba92..6830e7a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2004-01-17 Teodor Zlatanov + + * gnus-registry.el (gnus-registry-split-fancy-with-parent): + Suppress unnecessary messages. From Nevin Kapur + . + 2004-01-20 Jesper Harder * spam-stat.el (spam-stat-to-hash-table): Use :size argument in diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el index 32d92bf..c1e6d58 100644 --- a/lisp/gnus-registry.el +++ b/lisp/gnus-registry.el @@ -384,13 +384,14 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." (unless (equal res (gnus-registry-fetch-group key)) (setq single-match nil)) (setq res (gnus-registry-fetch-group key)) - (gnus-message - ;; raise level of messaging if gnus-registry-track-extra - (if gnus-registry-track-extra 5 9) - "%s (extra tracking) traced sender %s to group %s" - "gnus-registry-split-fancy-with-parent" - sender - (if res res "nil"))))) + (when (and sender res) + (gnus-message + ;; raise level of messaging if gnus-registry-track-extra + (if gnus-registry-track-extra 5 9) + "%s (extra tracking) traced sender %s to group %s" + "gnus-registry-split-fancy-with-parent" + sender + res))))) gnus-registry-hashtb)) (when (and single-match (gnus-registry-track-subject-p) @@ -407,13 +408,14 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." (unless (equal res (gnus-registry-fetch-group key)) (setq single-match nil)) (setq res (gnus-registry-fetch-group key)) - (gnus-message - ;; raise level of messaging if gnus-registry-track-extra - (if gnus-registry-track-extra 5 9) - "%s (extra tracking) traced subject %s to group %s" - "gnus-registry-split-fancy-with-parent" - subject - (if res res "nil"))))) + (when (and subject res) + (gnus-message + ;; raise level of messaging if gnus-registry-track-extra + (if gnus-registry-track-extra 5 9) + "%s (extra tracking) traced subject %s to group %s" + "gnus-registry-split-fancy-with-parent" + subject + res))))) gnus-registry-hashtb)) (unless single-match (gnus-message @@ -421,10 +423,11 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." "gnus-registry-split-fancy-with-parent: too many extra matches for %s" refstr) (setq res nil)))) - (gnus-message - 5 - "gnus-registry-split-fancy-with-parent traced %s to group %s" - refstr (if res res "nil")) + (when (and refstr res) + (gnus-message + 5 + "gnus-registry-split-fancy-with-parent traced %s to group %s" + refstr res)) (when (and res gnus-registry-use-long-group-names) (let ((m1 (gnus-find-method-for-group res))