+2006-05-04 Daiki Ueno <ueno@unixuser.org>
+
+ * mime-pgp.el (mime-view-application/pgp): Allow to verify
+ signed-and-encrypted messages.
+
2006-04-30 Daiki Ueno <ueno@unixuser.org>
* mime-pgp.el: Require 'epa.
(epg-verify-string
context
(buffer-substring (match-beginning 0)(point-max)))
- (message "%s"
- (epg-verify-result-to-string
- (epg-context-result-for context 'verify)))
(goto-char (point-min))
(delete-region
(point-min)
'raw-text))
(delete-region (point-min)(point-max))
(insert plain)
- (setq representation-type 'binary)))
+ (setq representation-type 'binary)
+ ))
(setq major-mode 'mime-show-message-mode)
(save-window-excursion
(mime-view-buffer nil preview-buffer mother
nil representation-type)
(make-local-variable 'mime-view-temp-message-buffer)
(setq mime-view-temp-message-buffer message-buf))
- (set-window-buffer p-win preview-buffer)))
+ (set-window-buffer p-win preview-buffer)
+ (if (and context
+ (epg-context-result-for context 'verify))
+ (message "%s"
+ (epg-verify-result-to-string
+ (epg-context-result-for context 'verify))))))
(defun mime-verify-application/*-signature (entity situation)