2001-10-19 Katsumi Yamaoka <yamaoka@jpl.org>
+ * lisp/message.el (message-resend, message-send): Undo.
+
+2001-10-19 Katsumi Yamaoka <yamaoka@jpl.org>
+
* lisp/message.el (message-resend): Bind
`inhibit-field-text-motion' to t while resending a mail.
2001-10-19 Per Abrahamsen <abraham@dina.kvl.dk>
+ * message.el (message-do-auto-fill): New version that does not
+ rely on text properties, by Simon Josefsson <jas@extundo.com>.
+ (message-setup-1): Removed the `message-field' property.
+
+ * gnus-draft.el (gnus-draft-edit-message): Removed the
+ `message-field' property.
+
+2001-10-19 Per Abrahamsen <abraham@dina.kvl.dk>
+
* gnus-draft.el (gnus-draft-edit-message): Change `field' to
`message-field'. The `field' property has a special significance in
Emacs 21.
+
* message.el (message-send, message-setup-1): Ditto.
2001-10-18 Simon Josefsson <jas@extundo.com>
(save-excursion
(save-restriction
(message-narrow-to-headers)
- (message-remove-header "date")
- (put-text-property (point-min) (point-max) 'message-field 'header)))
+ (message-remove-header "date")))
(message-save-drafts)
(let ((gnus-verbose-backends nil))
(gnus-request-expire-articles (list article) group t))
(defun message-do-auto-fill ()
"Like `do-auto-fill', but don't fill in message header."
- (unless (text-property-any (gnus-point-at-bol) (point)
- 'message-field 'header)
+ (when (> (point) (save-excursion (rfc822-goto-eoh)))
(do-auto-fill)))
(defun message-insert-signature (&optional force)
(set-buffer message-encoding-buffer)
(erase-buffer)
;; ;; Avoid copying text props.
- ;; T-gnus change: copy all text props, except for `field', from
- ;; the editing buffer into the encoding buffer. `field' is the
- ;; special text property on Emacs 21, see NEWS for details.
+ ;; T-gnus change: copy all text props from the editing buffer
+ ;; into the encoding buffer.
(insert-buffer message-edit-buffer)
- (put-text-property (point-min) (point-max) 'field nil)
(funcall message-encode-function)
(while (and success
(setq elem (pop alist)))
(set-buffer-modified-p nil)
(setq buffer-undo-list nil)
(run-hooks 'message-setup-hook)
- (save-restriction
- (message-narrow-to-headers)
- (put-text-property (point-min) (point-max) 'field 'header))
(message-position-point)
(undo-boundary))
;; Send it.
(let ((message-encoding-buffer (current-buffer))
(message-edit-buffer (current-buffer))
- message-required-mail-headers
- (inhibit-field-text-motion t))
+ message-required-mail-headers)
(message-send-mail))
(kill-buffer (current-buffer)))
(message "Resending message to %s...done" address)))