+2002-03-25 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/gnus-vers.el (gnus-revision-number): Increment to 01.
+
+ * lisp/message.el (message-save-drafts, message-check-8bit,
+ message-send-news, message-send-mail, message-send): Replace
+ `insert-buffer' with `insert-buffer-substring'.
+ * lisp/gnus-art.el (gnus-article-mime-edit-article-setup,
+ gnus-article-edit-exit, article-verify-x-pgp-sig): Ditto.
+
2002-03-20 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-sum.el (gnus-summary-make-menu-bar): Don't provide
mml2015-use
(mml2015-clear-verify-function))
(with-temp-buffer
- (insert-buffer gnus-original-article-buffer)
+ (insert-buffer-substring gnus-original-article-buffer)
(setq items (split-string sig))
(message-narrow-to-head)
(let ((inhibit-point-motion-hooks t)
(window-start (window-start)))
(erase-buffer)
(if (gnus-buffer-live-p gnus-original-article-buffer)
- (insert-buffer gnus-original-article-buffer))
+ (insert-buffer-substring gnus-original-article-buffer))
(let ((winconf gnus-prev-winconf))
(gnus-article-mode)
(set-window-configuration winconf)
'gnus-article-mime-edit-exit
gnus-article-edit-mode-map)
(erase-buffer)
- (insert-buffer gnus-original-article-buffer)
+ (insert-buffer-substring gnus-original-article-buffer)
(let ((ofn (symbol-function 'mime-edit-decode-single-part-in-buffer)))
(fset 'mime-edit-decode-single-part-in-buffer
(lambda (&rest args)
(require 'product)
(provide 'gnus-vers)
-(defconst gnus-revision-number "00"
+(defconst gnus-revision-number "01"
"Revision number for this version of gnus.")
;; Product information of this gnus.
;; ;; Avoid copying text props (except hard newlines).
;; T-gnus change: copy all text props from the editing buffer
;; into the encoding buffer.
- (insert-buffer message-edit-buffer)
+ (insert-buffer-substring message-edit-buffer)
(funcall message-encode-function)
(while (and success
(setq elem (pop alist)))
;; ;; Avoid copying text props (except hard newlines).
;; T-gnus change: copy all text props from the editing buffer
;; into the encoding buffer.
- (insert-buffer message-encoding-buffer)
+ (insert-buffer-substring message-encoding-buffer)
;; Remove some headers.
(save-restriction
(message-narrow-to-headers)
(set-buffer tembuf)
(buffer-disable-undo)
(erase-buffer)
- (insert-buffer message-encoding-buffer)
+ (insert-buffer-substring message-encoding-buffer)
;; Remove some headers.
(save-restriction
(message-narrow-to-headers)
(erase-buffer)
(goto-char (point-min))
(set-buffer-multibyte nil)
- (insert-buffer message-encoding-buffer)
+ (insert-buffer-substring message-encoding-buffer)
(goto-char (point-min))
(if (re-search-forward "[^\x00-\x7f]" nil t)
(y-or-n-p
(let ((reply-headers message-reply-headers)
(buffer (current-buffer)))
(with-temp-file buffer-file-name
- (insert-buffer buffer)
+ (insert-buffer-substring buffer)
(setq message-reply-headers reply-headers)
(message-generate-headers '((optional . In-Reply-To)))
(let ((mime-header-encode-method-alist