`elmo-delete-cr-buffer'.
* elmo-localdir.el (elmo-message-fetch-internal): Use
`insert-file-contents-as-raw-text' instead of
`insert-file-contents-as-binary'.
* elmo-maildir.el (elmo-map-message-fetch): Ditto.
+2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-util.el (elmo-msgdb-insert-file-header): Call
+ `elmo-delete-cr-buffer'.
+
+ * elmo-localdir.el (elmo-message-fetch-internal): Use
+ `insert-file-contents-as-raw-text' instead of
+ `insert-file-contents-as-binary'.
+
+ * elmo-maildir.el (elmo-map-message-fetch): Ditto.
+
2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-imap4.el (elmo-network-initialize-session): Check to
(luna-define-method elmo-message-fetch-internal ((folder elmo-localdir-folder)
number strategy
&optional section unread)
- (when (file-exists-p (elmo-message-file-name folder number))
- (insert-file-contents-as-binary
- (elmo-message-file-name folder number))))
+ (let ((filename (elmo-message-file-name folder number)))
+ (when (file-exists-p filename)
+ (insert-file-contents-as-raw-text filename))))
(luna-define-method elmo-folder-list-messages-internal
((folder elmo-localdir-folder) &optional nohide)
&optional section unseen)
(let ((file (elmo-maildir-message-file-name folder location)))
(when (file-exists-p file)
- (insert-file-contents-as-binary file)
+ (insert-file-contents-as-raw-text file)
(unless unseen
(elmo-map-folder-set-flag folder (list location) 'read))
t)))
file nil beg
(incf beg elmo-msgdb-file-header-chop-length))))
(prog1 (not (search-forward "\n\n" nil t))
- (goto-char (point-max))))))))
+ (goto-char (point-max)))))
+ (elmo-delete-cr-buffer))))
;;
;; overview handling