(wl-fetch-confirm-threshold): Ditto.
* wl-summary.el (wl-summary-confirm-appends): Removed.
(wl-summary-sync-update): Don't refer
`wl-summary-update-confirm-threshold' (It is now abolished).
* wl-message.el (wl-message-display-internal): Don't refer
`wl-fetch-confirm-threshold' (It is now abolished).
* elmo.el (elmo-folder-confirm-appends): Changed message.
(elmo-folder-confirm-appends): Ditto.
* elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
`with-temp-buffer'.
(According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
+2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo.el (elmo-folder-confirm-appends): Changed message.
+ (elmo-folder-confirm-appends): Ditto.
+
+ * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
+ `with-temp-buffer'.
+ (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
+
2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
* elmo.el (elmo-folder-confirm-appends): Check whether the value
(error "WARNING: not delete: %s (method undefined)" type)))))
(defun elmo-archive-exec-msgs-subr1 (prog args msgs)
- (let ((buf (get-buffer-create " *ELMO ARCHIVE exec*")))
- (set-buffer buf)
+ (with-temp-buffer
(insert (mapconcat 'concat msgs "\n")) ;string
- (unwind-protect
- (= 0
- (apply 'call-process-region (point-min) (point-max)
- prog nil nil nil args))
- (kill-buffer buf))))
+ (= 0 (apply 'call-process-region (point-min) (point-max)
+ prog nil nil nil args))))
(defun elmo-archive-exec-msgs-subr2 (prog args msgs arc-length)
(let ((max-len (- elmo-archive-cmdstr-max-length arc-length))
in (string-to-int in))
(if (< len in)
(throw 'end len))
- (if (y-or-n-p (format "%d messages are disappeared. OK? "
+ (if (y-or-n-p (format "%d messages are not appeared. OK? "
(max (- len in) 0)))
(throw 'end in))))
(nthcdr (max (- len in) 0) appends))
+2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-vars.el (wl-summary-update-confirm-threshold): Abolished.
+ (wl-fetch-confirm-threshold): Ditto.
+
+ * wl-summary.el (wl-summary-confirm-appends): Removed.
+ (wl-summary-sync-update): Don't refer
+ `wl-summary-update-confirm-threshold' (It is now abolished).
+
+ * wl-message.el (wl-message-display-internal): Don't refer
+ `wl-fetch-confirm-threshold' (It is now abolished).
+
2001-12-07 Katsumi Yamaoka <yamaoka@jpl.org>
* wl-demo.el (wl-logo-xpm): Use Xmas logo temporally.
(defun wl-message-display-internal (folder number flag
&optional force-reload unread)
- (let ((elmo-message-fetch-threshold wl-fetch-confirm-threshold)
- (default-mime-charset wl-mime-charset))
+ (let ((default-mime-charset wl-mime-charset))
(setq wl-message-buffer-all-header-flag (eq flag 'all-header))
(prog1
(if (eq flag 'as-is)
(setq diffs (cdr diffs)))
(if (interactive-p) (message mes)))))
-(defun wl-summary-confirm-appends (appends)
- (let ((len (length appends))
- in)
- (if (and wl-summary-update-confirm-threshold
- (> len wl-summary-update-confirm-threshold))
- (if (y-or-n-p (format "Too many messages(%d). Continue? " len))
- appends
- (setq in wl-summary-update-confirm-threshold)
- (catch 'end
- (while t
- (setq in (read-from-minibuffer "Update number: "
- (int-to-string in))
- in (string-to-int in))
- (if (< len in)
- (throw 'end len))
- (if (y-or-n-p (format "%d messages are disappeared. OK? "
- (max (- len in) 0)))
- (throw 'end in))))
- (nthcdr (max (- len in) 0) appends))
- appends)))
-
(defun wl-summary-sync-update (&optional unset-cursor sync-all no-check)
"Update the summary view to the newest folder status."
(interactive)
(elmo-mime-charset wl-summary-buffer-mime-charset)
(inhibit-read-only t)
(buffer-read-only nil)
- (elmo-folder-update-threshold wl-summary-update-confirm-threshold)
gc-message
overview number-alist mark-alist
curp num i new-msgdb
:type 'string
:group 'wl-summary)
-(defcustom wl-summary-update-confirm-threshold 500
- "*Confirm updating summary if message number is larger than this value.
-If nil, all the message will be updated without confirmation."
- :type '(choice (const :tag "Never confirm" nil)
- integer)
- :group 'wl-summary)
-
;; Important folders
(defcustom wl-default-folder "%inbox"
"*Default folder used in `wl-summary-goto-folder'."
:type 'boolean
:group 'wl)
-(defcustom wl-fetch-confirm-threshold 30000
- "*Confirm fetching if message size is larger than this value."
- :type 'integer
- :group 'wl-pref
- :group 'wl-setting)
-
(defcustom wl-prefetch-confirm t
"*Confirm prefetching if message size is larger than `wl-prefetch-threshold'."
:type 'boolean