+2008-02-10 Daiki Ueno <ueno@unixuser.org>
+
+ * wl-mime.el (wl-mime-pgp-decrypt-region-with-epg): Don't use
+ optional 3rd argument of epg-context-set-progress-callback; it was
+ temporarily removed in the Emacs trunk due to copyright problem.
+ (wl-mime-pgp-verify-region-with-epg): Ditto.
+
2008-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
* wl-demo.el (wl-demo-copyright-notice): Add 2008.
message is not displayed yet.
(wl-summary-prev-page): Ditto.
-2002-03-11 J\e.A\eNir\eNtme Marant <jerome.marant@free.fr>
+2002-03-11 J\e,Ai\e(Br\e,At\e(Bme Marant <jerome.marant@free.fr>
* wl-folder.el (wl-folder-mode-menu-spec): Fixed typo.
(wl-draft-add-references)
(if wl-draft-add-in-reply-to
(wl-draft-add-in-reply-to)))
- (wl-highlight-headers 'for-draft)) ; highlight when added References:
+ (wl-highlight-headers-for-draft)) ; highlight when added References:
(when wl-highlight-body-too
(wl-highlight-body-region beg (point-max)))))
(when wl-draft-write-file-function
(add-hook 'local-write-file-hooks wl-draft-write-file-function))
(wl-draft-overload-functions)
- (wl-highlight-headers 'for-draft)
+ (wl-highlight-headers-for-draft)
(wl-draft-save)
(clear-visited-file-modtime)))
(setq wl-draft-parent-folder ""))
(when wl-draft-write-file-function
(add-hook 'local-write-file-hooks wl-draft-write-file-function))
- (wl-highlight-headers 'for-draft)
+ (wl-highlight-headers-for-draft)
(goto-char body-top)
(run-hooks 'wl-draft-reedit-hook)
(goto-char (point-max))
t)
(setq headers (cdr headers))))
;; highlight headers (from wl-draft in wl-draft.el)
- (wl-highlight-headers 'for-draft)
+ (wl-highlight-headers-for-draft)
;; insert body
(if (wl-string-match-assoc "body" wl-user-agent-headers-and-body-alist
'ignore-case)
(elmo-with-progress-display (epg-decript nil reporter)
"Decrypting"
(epg-context-set-progress-callback context
- #'wl-epg-progress-callback
- reporter)
+ (cons #'wl-epg-progress-callback
+ reporter))
(insert (prog1
(decode-coding-string
(epg-decrypt-string
(elmo-with-progress-display (epg-verify nil reporter)
"Verifying"
(epg-context-set-progress-callback context
- #'wl-epg-progress-callback
- reporter)
+ (cons #'wl-epg-progress-callback
+ reporter))
(epg-verify-string
context
(encode-coding-string
(elmo-message-visible-field-list wl-message-visible-field-list)
(elmo-message-sorted-field-list wl-message-sort-field-list))
(elmo-mime-insert-header entity situation)
+ (goto-char (point-min))
+ (delete-matching-lines "^$")
(wl-highlight-headers)))
(defun wl-mime-decrypt-application/pgp-encrypted (entity situation)