`mark-as-read'if unplugged.
* wl-summary.el (wl-summary-refile-subr): Fix.
* elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
(elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
+2000-10-10 Kenichi OKADA <okada@opaopa.org>
+
+ * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
+ (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
+
2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
(elmo-imap4-get-spec): Take into account
`elmo-imap4-stream-type-alist'.
-2000-10-06 Kenichi OKADA <okada@opaopa.org>
+2000-10-06 Kenichi OKADA <okada@opaopa.org>
* elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
(elmo-nntp-list-folders-get-cache): Ditto.
(elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
(elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
-2000-09-15 Kenichi OKADA <okada@opaopa.org>
+2000-09-15 Kenichi OKADA <okada@opaopa.org>
* elmo-archive.el (elmo-archive-list-folder-subr): Fix.
(elmo-archive-list-folder): Fix.
(elmo-archive-max-of-folder): Fix.
-2000-09-15 Kenichi OKADA <okada@opaopa.org>
+2000-09-15 Kenichi OKADA <okada@opaopa.org>
* elmo-localdir.el (elmo-localdir-copy-msgs): Use
`elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
(elmo-imap4-error-message): Abolish
(elmo-imap4-list-folders): Don't quote lambda.
(elmo-imap4-create-msgdb-from-overview-string): Ditto.
- (elmo-imap4-parse-namespace): Ditto.
+ (elmo-imap4-parse-namespace): Ditto.
(elmo-imap4-open-connection): Rewrite.
(elmo-imap4-open-connection-1): Simplified (authenticate only).
(elmo-imap4-get-connection): Abolish local variable `result'.
(elmo-imap4-auth-digest-md5): New function.
(elmo-imap4-login): New function.
-2000-08-12 Kenichi OKADA <okada@opaopa.org>
+2000-08-12 Kenichi OKADA <okada@opaopa.org>
* elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
function `error'.
-2000-08-12 Kenichi OKADA <okada@opaopa.org>
+2000-08-12 Kenichi OKADA <okada@opaopa.org>
* elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
* elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
for server responses, quote `*' regardless of where it appears.
-2000-08-03 Kenichi OKADA <okada@opaopa.org>
+2000-08-03 Kenichi OKADA <okada@opaopa.org>
* elmo-maildir.el (elmo-maildir-commit): New alias.
-2000-08-03 Kenichi OKADA <okada@opaopa.org>
+2000-08-03 Kenichi OKADA <okada@opaopa.org>
* elmo-util.el (elmo-display-progress):
Use `progress-feedback-with-label'.
the local variable `folder' to `mailbox'.
Rename the argument `fld' to `folder'.
-2000-07-20 Kenichi OKADA <okada@opaopa.org>
+2000-07-20 Kenichi OKADA <okada@opaopa.org>
* elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
* elmo-imap4.el (elmo-imap4-commit): Ditto.
(elmo-msgdb-overview-entity-get-subject): Ditto.
* elmo-vars.el (elmo-use-decoded-cache): New variable.
-2000-05-10 Kenichi OKADA <okada@opaopa.org>
+2000-05-10 Kenichi OKADA <okada@opaopa.org>
* elmo-utils.el (elmo-get-passwd): Set timeout of password.
(elmo-remove-passwd): Fill password with 0 before erase.
matched)
(if (eq (elmo-folder-get-type folder) 'imap4)
(progn
- (while append-list
- (if (setq matched (car (rassoc (car append-list) number-alist)))
- (setq msgs (delete matched msgs)))
- (setq append-list (cdr append-list)))
+;; (while append-list
+;; (if (setq matched (car (rassoc (car append-list) number-alist)))
+;; (setq msgs (delete matched msgs)))
+;; (setq append-list (cdr append-list)))
(if msgs
(elmo-dop-queue-append folder func-name msgs)))
;; maildir... XXX hard coding.....
(when resume
;; Resume msgdb changed by elmo-dop-msgdb-create.
(let* ((resumed-list (elmo-dop-append-list-load folder t))
- (number-alist (elmo-msgdb-number-load
+ (number-alist (elmo-msgdb-number-load
(elmo-msgdb-expand-path folder)))
(appendings append-list)
pair dels)
(setq appendings (cdr appendings)))
(elmo-dop-append-list-save folder resumed-list t)))
(while appendings
- (setq failure nil)
- (setq file-string (elmo-get-file-string ; message string
- (elmo-cache-get-path
- (car appendings))))
- (when file-string
- (condition-case ()
- (elmo-append-msg folder file-string (car appendings))
- (quit (setq failure t))
- (error (setq failure t)))
- (setq i (+ 1 i))
- (message (format "Appending queued messages...%d" i))
- (if failure
- (elmo-append-msg elmo-lost+found-folder
- file-string (car appendings))))
- (elmo-dop-unlock-message (car appendings))
- (setq appendings (cdr appendings)))
+ (let* ((seen-list (elmo-msgdb-seen-load
+ (elmo-msgdb-expand-path folder))))
+ (setq failure nil)
+ (setq file-string (elmo-get-file-string ; message string
+ (elmo-cache-get-path
+ (car appendings))))
+ (when file-string
+ (condition-case ()
+ (elmo-append-msg folder file-string (car appendings) nil
+ (not (member (car appendings) seen-list)))
+ (quit (setq failure t))
+ (error (setq failure t)))
+ (setq i (+ 1 i))
+ (message (format "Appending queued messages...%d" i))
+ (if failure
+ (elmo-append-msg elmo-lost+found-folder
+ file-string (car appendings) nil
+ (not (member (car appendings) seen-list)))))
+ (elmo-dop-unlock-message (car appendings))
+ (setq appendings (cdr appendings))))
;; All pending append operation is flushed.
(elmo-dop-append-list-save folder nil)
(elmo-commit folder)
+2000-10-10 Kenichi OKADA <okada@opaopa.org>
+
+ * wl-summary.el (wl-summary-sync-force-update): Append queue
+ `mark-as-read'if unplugged.
+
+2000-10-09 Kenichi OKADA <okada@opaopa.org>
+
+ * wl-summary.el (wl-summary-refile-subr): Fix.
+
2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
* wl-version.el: New file. Use product.el.
* wl-score.el (toplevel): Remove (provide 'elmo-msgdb). And add
(require 'elmo-msgdb) for inline function.
-2000-10-06 Kenichi OKADA <okada@opaopa.org>
+2000-10-06 Kenichi OKADA <okada@opaopa.org>
* wl-vars.el (wl-draft-queue-save-variables): Add variables.
-2000-10-06 Kenichi OKADA <okada@opaopa.org>
+2000-10-06 Kenichi OKADA <okada@opaopa.org>
* wl-score.el (wl-score-headers): Fix for the confusing macro
`elmo-kill-buffer'.
* wl-draft.el (wl-draft-reply): Fixed problem when to or cc
contains invalid address syntax.
-2000-07-26 Kenichi OKADA <okada@opaopa.org>
+2000-07-26 Kenichi OKADA <okada@opaopa.org>
* wl-folder.el (wl-folder-check-entity-async): Use
`elmo-nntp-spec-hostname'.
* wl-refile.el (wl-refile-learn): Move hit element to the top of
`wl-refile-alist'.
-2000-07-26 Kenichi OKADA <okada@opaopa.org>
+2000-07-26 Kenichi OKADA <okada@opaopa.org>
* wl-draft.el (wl-draft): Added argument `content-transfer-encoding'.
(wl-draft-edit-string): Ditto.
* wl-draft.el (wl-draft-reply): Fixed problem when mail-followup-to
contains an address which is not included in original to or cc.
-2000-07-19 Kenichi OKADA <okada@opaopa.org>
+2000-07-19 Kenichi OKADA <okada@opaopa.org>
* wl-summary.el (wl-summary-target-mark-uudecode): Error when
begin-line does not exist.
(Append numbers confirmed as disappeared to the killed list.)
(wl-summary-confirm-appends): Don't display negative number.
-2000-07-07 Kenichi OKADA <okada@opaopa.org>
+2000-07-07 Kenichi OKADA <okada@opaopa.org>
* wl-summary.el (TopLevel): Define-maybe `ps-print-preprint'.
* wl-demo.el (wl-demo): Don't use `eval'.
-2000-07-07 Kenichi OKADA <okada@opaopa.org>
+2000-07-07 Kenichi OKADA <okada@opaopa.org>
* wl-summary.el (wl-summary-buffer-thread-modified):
New buffer-local variable.
don't hide scroll bars under FSF Emacsen because it may incur an
undesirable redrawing.
-2000-07-04 Kenichi OKADA <okada@opaopa.org>
+2000-07-04 Kenichi OKADA <okada@opaopa.org>
* wl-draft.el (wl-draft-edit-string): Call
`wl-draft-reedit-hook' instead of `wl-mail-setup-hook'.
(defun wl-summary-sync-force-update (&optional unset-cursor)
(interactive)
(let ((msgdb-dir (elmo-msgdb-expand-path wl-summary-buffer-folder-name))
+ (type (elmo-folder-get-type wl-summary-buffer-folder-name))
ret-val seen-list)
(unwind-protect
(progn
(setq seen-list (elmo-msgdb-seen-load msgdb-dir)))
(setq ret-val (wl-summary-sync-update3 seen-list unset-cursor))
(if wl-summary-buffer-persistent
- (elmo-msgdb-seen-save msgdb-dir nil)))
+ (progn
+ (if (and (eq type 'imap4)
+ (not (elmo-folder-plugged-p
+ wl-summary-buffer-folder-name)))
+ (let* ((msgdb wl-summary-buffer-msgdb)
+ (number-alist (elmo-msgdb-get-number-alist msgdb)))
+ (elmo-mark-as-read wl-summary-buffer-folder-name
+ (mapcar
+ (lambda (msgid)
+ (car (rassoc msgid number-alist)))
+ seen-list) msgdb)))
+ (elmo-msgdb-seen-save msgdb-dir nil))))
(set-buffer (current-buffer)))
(if (interactive-p)
(message "%s" ret-val))
(if (string= folder wl-summary-buffer-folder-name)
(error "Same folder"))
(if (and
- (not (elmo-folder-plugged-p folder))
+ (not (elmo-folder-plugged-p wl-summary-buffer-folder-name))
(or (null msgid)
(not (elmo-cache-exists-p msgid))))
(error "Unplugged (no cache or msgid)"))