* gnus-art.el (gnus-split-methods): reformat comments
authorTeodor Zlatanov <tzz@lifelogs.com>
Fri, 26 Nov 2004 14:13:35 +0000 (14:13 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Fri, 26 Nov 2004 14:13:35 +0000 (14:13 +0000)
* spam.el (spam-summary-prepare-exit): remove article limits
before exiting the summary buffer

lisp/ChangeLog
lisp/gnus-art.el
lisp/spam.el

index 4a2767f..50c43fe 100644 (file)
@@ -1,3 +1,10 @@
+2004-11-26  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-art.el (gnus-split-methods): reformat comments
+
+       * spam.el (spam-summary-prepare-exit): remove article limits
+       before exiting the summary buffer
+
 2004-11-26  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * lpath.el: Remove bbdb-create-internal, bbdb-records,
index a8d9411..89f89ca 100644 (file)
@@ -569,17 +569,19 @@ you could set this variable to something like:
  '((\"^Subject:.*gnus\\|^Newsgroups:.*gnus\" \"gnus-stuff\")
    (\"^Subject:.*vm\\|^Xref:.*vm\" \"vm-stuff\"))
 
-This variable is an alist where the where the key is the match and the
-value is a list of possible files to save in if the match is non-nil.
+This variable is an alist where the key is the match and the
+value is a list of possible files to save in if the match is
+non-nil.
 
 If the match is a string, it is used as a regexp match on the
 article.  If the match is a symbol, that symbol will be funcalled
-from the buffer of the article to be saved with the newsgroup as the
-parameter.  If it is a list, it will be evaled in the same buffer.
+from the buffer of the article to be saved with the newsgroup as
+the parameter.  If it is a list, it will be evaled in the same
+buffer.
 
-If this form or function returns a string, this string will be used as
-a possible file name; and if it returns a non-nil list, that list will
-be used as possible file names."
+If this form or function returns a string, this string will be
+used as a possible file name; and if it returns a non-nil list,
+that list will be used as possible file names."
   :group 'gnus-article-saving
   :type '(repeat (choice (list :value (fun) function)
                         (cons :value ("" "") regexp (repeat string))
index 976c2c1..03cbdd8 100644 (file)
@@ -1315,6 +1315,10 @@ addition to the set values for the group."
   (unless gnus-group-is-exiting-without-update-p
     (gnus-message 6 "Exiting summary buffer and applying spam rules")
 
+    ;; before we begin, remove any article limits
+    (ignore-errors
+      (universal-argument (gnus-summary-pop-limit)))
+
     ;; first of all, unregister any articles that are no longer ham or spam
     ;; we have to iterate over the processors, or else we'll be too slow
     (dolist (classification (spam-classifications))