+2004-10-18 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * gnus-util.el (gnus-split-references): accept a nil references
+ string and go on blissfully
+
+ * gnus-registry.el (gnus-registry-split-fancy-with-parent): catch
+ cases where the references string is non-nil but has no references
+
+ * encrypt.el: add autoload tags
+
+ * spam.el (spam-resolve-registrations-routine): remove article
+ from unregistration list too. Reported by David Hanak
+ <dhanak@isis.vanderbilt.edu>
+
2004-10-18 Reiner Steib <Reiner.Steib@gmx.de>
* gnus-art.el (gnus-copy-article-ignored-headers): Default to
2004-10-15 Teodor Zlatanov <tzz@lifelogs.com>
+ * encrypt.el: add autoload cookies
+
* spam.el (spam-backend-article-list-property)
(spam-backend-get-article-todo-list)
(spam-backend-put-article-todo-list, )
(defvar encrypt-temp-prefix "encrypt"
"Prefix for temporary filenames")
+;;;###autoload
(defun encrypt-find-model (filename)
"Given a filename, find a encrypt-file-alist entry"
(dolist (entry encrypt-file-alist)
(string-match match filename))
(return model)))))
+;;;###autoload
(defun encrypt-insert-file-contents (file &optional model)
"Decrypt FILE into the current buffer."
(interactive "fFile to insert: ")
nnmail-split-fancy-with-parent-ignore-groups
(list nnmail-split-fancy-with-parent-ignore-groups)))
references res)
- (if refstr
+ ;; the references string must be valid and parse to valid references
+ (if (and refstr (gnus-extract-references refstr))
(progn
(setq references (nreverse (gnus-extract-references refstr)))
(mapcar (lambda (x)
(defun gnus-split-references (references)
"Return a list of Message-IDs in REFERENCES."
(let ((beg 0)
+ (references (or references ""))
ids)
(while (string-match "<[^<]+[^< \t]" references beg)
(push (substring references (match-beginning 0) (setq beg (match-end 0)))
t)
;; eliminate duplicates
- (dolist (article ulist)
- (when (assq article rlist)
+ (dolist (article (copy-sequence ulist))
+ (when (memq article rlist)
(incf delcount)
- (setq rlist (delq article rlist))))
+ (setq rlist (delq article rlist))
+ (setq ulist (delq article ulist))))
(unless (zerop delcount)
(gnus-message