lisp/ChangeLog addition:
authorJosh Huber <huber@alum.wpi.edu>
Mon, 13 May 2002 15:29:09 +0000 (15:29 +0000)
committerJosh Huber <huber@alum.wpi.edu>
Mon, 13 May 2002 15:29:09 +0000 (15:29 +0000)
2002-05-13  Josh Huber  <huber@alum.wpi.edu>

* mml.el (mml-generate-mime-1): Fix mml generation for signed only
messages. From Hans de Graaff <hans@degraaff.org>.
* nnml.el (nnml-request-accept-article): Pass in the group name to
nnmail-cache-insert, since it's available.

lisp/ChangeLog
lisp/mml.el
lisp/nnml.el

index ee1e5e4..c71e0c8 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-13  Josh Huber  <huber@alum.wpi.edu>
+
+       * mml.el (mml-generate-mime-1): Fix mml generation for signed only
+       messages. From Hans de Graaff <hans@degraaff.org>.
+       * nnml.el (nnml-request-accept-article): Pass in the group name to
+       nnmail-cache-insert, since it's available.
+
 2002-05-10  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * nndoc.el (nndoc-mime-digest-type-p): Set proper file-end.
index c86a820..d180138 100644 (file)
@@ -540,7 +540,7 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
              (message-options-set 'message-sender sender))
          (if (setq recipients (cdr (assq 'recipients cont)))
              (message-options-set 'message-recipients recipients))
-         (let ((style (mml-signencrypt-style (first encrypt-item))))
+         (let ((style (mml-signencrypt-style (first (or sign-item encrypt-item)))))
            ;; check if: we're both signing & encrypting, both methods
            ;; are the same (why would they be different?!), and that
            ;; the signencrypt style allows for combined operation.
index 76ca820..935fa10 100644 (file)
@@ -369,7 +369,7 @@ marks file will be regenerated properly by Gnus.")
   (nnmail-check-syntax)
   (let (result)
     (when nnmail-cache-accepted-message-ids
-      (nnmail-cache-insert (nnmail-fetch-field "message-id")))
+      (nnmail-cache-insert (nnmail-fetch-field "message-id") group))
     (if (stringp group)
        (and
         (nnmail-activate 'nnml)