Synch with Oort Gnus.
authoryamaoka <yamaoka>
Tue, 3 Sep 2002 14:59:18 +0000 (14:59 +0000)
committeryamaoka <yamaoka>
Tue, 3 Sep 2002 14:59:18 +0000 (14:59 +0000)
lisp/ChangeLog
lisp/gnus-msg.el
lisp/mml.el

index a1bd2ba..5a03ddf 100644 (file)
@@ -1,3 +1,10 @@
+2002-09-03  Josh Huber <huber@alum.wpi.edu>
+
+       * gnus-msg.el (gnus-summary-handle-replysign): Change the order we
+       check for signed and encrypted parts.
+       * mml.el (mml-parse-1): Correct small typo which preventing
+       setting recipients in a secure tag.
+
 2002-09-03  Katsumi Yamaoka <yamaoka@jpl.org>
 
        * mm-util.el (mm-coding-system-priorities): Default to a list of
index cdac772..8411a41 100644 (file)
@@ -1178,13 +1178,13 @@ If VERY-WIDE, make a very wide reply."
        (set-buffer gnus-article-buffer)
        (setq signed (memq 'signed gnus-article-wash-types))
        (setq encrypted (memq 'encrypted gnus-article-wash-types)))
-      (cond ((and gnus-message-replysign signed)
-            (mml-secure-message mml-default-sign-method 'sign))
-           ((and gnus-message-replyencrypt encrypted)
+      (cond ((and gnus-message-replyencrypt encrypted)
             (mml-secure-message mml-default-encrypt-method
                                 (if gnus-message-replysignencrypted
                                     'signencrypt
-                                  'encrypt)))))))
+                                  'encrypt)))
+           ((and gnus-message-replysign signed)
+            (mml-secure-message mml-default-sign-method 'sign))))))
 
 (defun gnus-summary-reply-with-original (n &optional wide)
   "Start composing a reply mail to the current message.
index 99d4115..d97ec34 100644 (file)
@@ -173,7 +173,7 @@ one charsets.")
                 (setq tags (list "sign" method "encrypt" method))))
          (eval `(mml-insert-tag ,secure-mode
                                 ,@tags
-                                ,(if recipients 'recipients)
+                                ,(if recipients "recipients")
                                 ,recipients))
          ;; restart the parse
          (goto-char location)))