+2006-03-26 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> (tiny change)
+
+ * message.el (message-resend): Bind message-generate-hashcash to
+ to nil.
+
+2006-03-26 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> (tiny change)
+
+ * hashcash.el (hashcash-already-paid-p): Bind case-fold-search
+ when searching for already-paid recipients.
+
2006-03-27 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for
(save-excursion
(save-restriction
(message-narrow-to-headers-or-head)
- (let ((token (message-fetch-field "x-hashcash")))
+ (let ((token (message-fetch-field "x-hashcash"))
+ (case-fold-search t))
(and (stringp token)
(string-match (regexp-quote recipient) token))))))
(set-buffer (get-buffer-create " *message resend*"))
(erase-buffer))
(let ((message-this-is-mail t)
+ message-generate-hashcash
message-setup-hook)
(message-setup `((To . ,address))))
;; Insert our usual headers.
;; Send it.
(let ((message-encoding-buffer (current-buffer))
(message-edit-buffer (current-buffer))
- message-required-mail-headers)
+ message-required-mail-headers
+ message-generate-hashcash)
(message-send-mail))
(kill-buffer (current-buffer)))
(message "Resending message to %s...done" address)))