teranisi [Thu, 6 Nov 2003 14:15:47 +0000 (14:15 +0000)]
* elmo-vars.el (elmo-init-hook): New user option.
* elmo.el (elmo-init): Run the elmo-init-hook.
* elmo-flag.el (elmo-global-mark-migrate): New function.
hmurata [Thu, 6 Nov 2003 10:13:49 +0000 (10:13 +0000)]
* modb-standard.el (elmo-msgdb-set-flag): Simplify;
Undo last change (move to elmo-msgdb-unset-flag).
(elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
flag is unset.
teranisi [Wed, 5 Nov 2003 13:27:09 +0000 (13:27 +0000)]
Updated.
teranisi [Wed, 5 Nov 2003 13:26:51 +0000 (13:26 +0000)]
* wl-vars.el (wl-summary-new-cached-mark): Changed default value to "?".
teranisi [Wed, 5 Nov 2003 13:26:24 +0000 (13:26 +0000)]
2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
* modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
read flag is set.
(elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
(elmo-msgdb-unset-flag): Ditto.
2003-11-05 Andreas Fuchs <asf@boinkor.net>
* elmo-split.el (elmo-split): Return split message count.
hmurata [Wed, 5 Nov 2003 05:17:01 +0000 (05:17 +0000)]
* wl-vars.el (wl-summary-new-uncached-mark): Renamed from
wl-summary-new-mark.
(wl-summary-new-cached-mark): New user option.
(wl-summary-score-marks): Follow the change above.
(wl-summary-auto-refile-skip-marks): Ditto.
(wl-summary-incorporate-marks): Ditto.
(wl-summary-expire-reserve-marks): Ditto.
* wl-spam.el (wl-spam-auto-check-marks): Ditto.
* wl-summary.el (wl-summary-detect-mark-position): Ditto.
(wl-summary-persistent-mark-string): Distinguished between cached
and uncached mark when the message is new.
* elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
is nil.
hmurata [Wed, 5 Nov 2003 00:02:16 +0000 (00:02 +0000)]
Update doc-string.
hmurata [Mon, 3 Nov 2003 09:43:41 +0000 (09:43 +0000)]
* elmo.el (elmo-folder-unflag-important): Call
`elmo-global-flag-detach' with 4th argument delete-if-none that is
a symbol `always'.
* elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
before unset flag.
(elmo-global-flag-detach): Delete the message from flag folder, if
`delete-if-none' is a symbol `always'.
hmurata [Sun, 2 Nov 2003 16:14:37 +0000 (16:14 +0000)]
* wl-spam.el (wl-spam-domain): Renamed from
`wl-spam-folder-guess-domain'.
(wl-summary-exec-action-spam): Register as spam if domain of the
source folder is good.
(wl-summary-exec-action-refile-with-register): Register message if
domain of the source folder is not undecided.
* elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
`elmo-spam-spamfilter-decode-buffer'.
(elsp-spamfilter-register-buffer-internal): New internal function.
(elmo-spam-buffer-spam-p): Use it; Follow the API change.
(elmo-spam-register-spam-buffer): Ditto.
(elmo-spam-register-good-buffer): Ditto.
* elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
change.
(elmo-spam-bogofilter-register-buffer): Added argument `restore'.
(elmo-spam-register-spam-buffer): Follow the API change.
(elmo-spam-register-good-buffer): Ditto.
* elmo-split.el (toplevel): Require elmo-spam when copmile.
(elmo-split-spam-p): Added argument plist; Call
`elmo-spam-buffer-spam-p' with new argument register.
* elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
`register'.
(elmo-spam-message-spam-p): Ditto.
(elmo-spam-register-spam-buffer): Added optional argument
`restore'.
(elmo-spam-register-good-buffer): Ditto.
(elmo-spam-register-spam-messages): Ditto.
(elmo-spam-register-good-messages): Ditto.
hmurata [Fri, 31 Oct 2003 17:40:07 +0000 (17:40 +0000)]
(wl-summary-insert-thread): Fixed the logic to
detect thread loop.
hmurata [Mon, 27 Oct 2003 11:47:19 +0000 (11:47 +0000)]
* elmo-spam.el: Update.
hmurata [Mon, 27 Oct 2003 09:40:04 +0000 (09:40 +0000)]
* elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
register into good corpus.
(elmo-spam-register-good-buffer): Fixed to register into bad
corpus.
hmurata [Mon, 27 Oct 2003 05:02:13 +0000 (05:02 +0000)]
* wl-spam.el (wl-spam-setup): Modify wl-summary-reserve-mark-list
and wl-summary-skip-mark-list.
* en/dot.wl: Don't use setf.
* ja/dot.wl: Ditto.
hmurata [Sun, 26 Oct 2003 12:30:22 +0000 (12:30 +0000)]
* wl-spam.el (wl-summary-exec-action-spam): Fixed.
hmurata [Sun, 26 Oct 2003 12:00:54 +0000 (12:00 +0000)]
* wl-vars.el (wl-summary-mark-action-list): Fixed type spec.
* wl-spam.el (toplevel): Require wl-highlight.
(wl-spam-auto-check-policy-alist): Abolish.
(wl-spam-auto-check-folder-regexp-list): New user option.
(wl-spam-auto-check-marks): Ditto.
(wl-spam-mark-action-list): Ditto.
(wl-highlight-summary-spam-face): New face.
(wl-spam-auto-check-message-p): New function.
(wl-spam-map-spam-messages): Fixed message.
(wl-spam-register-spam-messages): Ditto.
(wl-spam-register-good-messages): Ditto.
(wl-summary-spam-map): Add and remove keybind.
(wl-summary-target-mark-spam): Abolish.
(wl-summary-refile-spam): Ditto.
(wl-summary-test-spam): New function.
(wl-summary-mark-spam): Ditto.
(wl-summary-auto-check-spam): Follow the above change.
(wl-summary-exec-action-spam): New function.
(wl-summary-exec-action-refile-with-register): Fixed message.
(wl-message-check-spam): New function.
(wl-spam-setup): Ditto.
(toplevel): Call it if this file is loaded interactivity.
hmurata [Sun, 26 Oct 2003 11:58:18 +0000 (11:58 +0000)]
Version number is increased to 2.11.20.
hmurata [Sun, 26 Oct 2003 01:46:22 +0000 (01:46 +0000)]
* elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
change.
hmurata [Sun, 26 Oct 2003 01:39:07 +0000 (01:39 +0000)]
(elmo-imap4-fetch-callback-1-subr): Determine new
flag without depending on \Recent flag.
hmurata [Sat, 25 Oct 2003 14:35:44 +0000 (14:35 +0000)]
* wl-spam.el (wl-spam-save-status): Call elmo-spam-save-status
when new optional argument `force' is non nil or modified.
* elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
(elmo-spam-modified-p): Defined.
(elmo-spam-save-status): Set `modified' slot to nil.
(elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
(elmo-spam-register-good-buffer): Ditto.
* elmo-spam.el (elmo-spam-modified-p): New API.
okazaki [Thu, 23 Oct 2003 10:02:26 +0000 (10:02 +0000)]
Sync with the revision 1.52 of samples/ja/dot.wl.
hmurata [Thu, 23 Oct 2003 08:03:47 +0000 (08:03 +0000)]
* elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
duplicate definition.
* elmo-util.el (elmo-unfold-field-body): New function.
(elmo-msgdb-get-message-id-from-buffer): Use it.
* modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
Fixed the last change; Use elmo-unfold-field-body.
hmurata [Wed, 22 Oct 2003 01:44:27 +0000 (01:44 +0000)]
(elmo-msgdb-create-message-entity-from-buffer):
Unfold date value.
hmurata [Tue, 21 Oct 2003 03:00:47 +0000 (03:00 +0000)]
* wl.el (toplevel): Require wl-spam when compile.
(wl-save-status): Call wl-spam-save-status.
* wl-spam.el (wl-spam-register-spam-messages): New function.
(wl-spam-register-good-messages): Ditto.
(wl-spam-save-status): Ditto.
(wl-summary-mode-map): Bind
wl-summary-target-mark-register-as-spam to "ms" and
wl-summary-target-mark-register-as-good to "mn".
(wl-summary-register-as-spam): Abolish optional argument; Use
wl-spam-register-spam-messages.
(wl-summary-register-as-spam-all): Use
wl-spam-register-spam-messages.
(wl-summary-register-as-good): Abolish optional argument; Use
wl-spam-register-good-messages.
(wl-summary-register-as-good-all): Use
wl-spam-register-good-messages.
(wl-summary-target-mark-register-as-spam): New funtion.
(wl-summary-target-mark-register-as-good): Ditto.
* elmo-spam.el (elmo-spam-save-status): New API.
* elsp-spamfilter.el: New file.
* WL-ELS (ELMO-MODULES): Added elsp-spamfilter only if spamfilter
is installed.
kaoru [Tue, 21 Oct 2003 00:07:59 +0000 (00:07 +0000)]
* elmo-split.el (toplevel): Add `elmo-spam-processor' args.
hmurata [Mon, 20 Oct 2003 12:34:37 +0000 (12:34 +0000)]
* wl-spam.el: New file.
* elmo-split.el (elmo-split-spam-p): New function.
* elmo-spam.el: New file.
* elsp-bogofilter.el: Ditto.
* WL-ELS (WL-MODULES): Added wl-spam.
(ELMO-MODULES): Added elmo-spam and elsp-bogofilter.
hmurata [Mon, 20 Oct 2003 08:39:17 +0000 (08:39 +0000)]
* wl-refile.el (wl-refile-guess): Added second argument `functions'.
* wl-action.el (wl-auto-refile-guess-functions): New variable.
(wl-summary-auto-refile): Call wl-refile-guess with
wl-auto-refile-guess-functions instead of wl-refile-guess-by-rule.
hmurata [Fri, 17 Oct 2003 02:57:18 +0000 (02:57 +0000)]
* wl-summary.el (wl-summary-pack-number): Call wl-summary-rescan
with disable-thread argument non-nil.
hmurata [Thu, 16 Oct 2003 14:36:12 +0000 (14:36 +0000)]
(wl-summary-rescan): Added optional argument
disable-thread.
(wl-summary-sync): Call wl-summary-rescan with argument
disable-thread.
(wl-summary-input-range): Added new range `rescan-thread'.
teranisi [Thu, 16 Oct 2003 12:43:54 +0000 (12:43 +0000)]
* wl-util.el (wl-get-assoc-list-value): Fixed last change.
hmurata [Thu, 16 Oct 2003 07:54:28 +0000 (07:54 +0000)]
* wl-summary.el (wl-thread-saved-entity-hashtb-internal): New
internal variable.
(wl-summary-rescan): Saved wl-thread-entity-hashtb; Bind
wl-summary-search-parent-by-subject-regexp and
wl-summary-divide-thread-when-subject-changed as nil.
(wl-summary-insert-sequential): If entity is nil, nothing to do.
(wl-summary-insert-thread): Search parent entity from
wl-thread-saved-entity-hashtb-internal; Fixed logic to detect
thread loop.
teranisi [Wed, 15 Oct 2003 12:34:33 +0000 (12:34 +0000)]
* wl.el (wl-check-environment): Don't check wl-draft-folder is file.
* wl-vars.el (wl-folder-sync-range-alist): Changed default value.
* wl-util.el (wl-require-update-all-folder-p): New function.
(wl-get-assoc-list-value): Added `function' to match directive.
(wl-collect-draft): Rewrite.
* wl-summary.el (wl-summary-sync-update): Clear faces
when both wl-summary-lazy-highlight and wl-summary-lazy-update-mark
are non-nil.
(wl-summary-get-sync-range): Call wl-get-assoc-list-value with match
argument as function.
(wl-summary-input-range): Ditto.
* wl-folder.el (wl-draft-get-folder): New function.
(wl-folder-get-elmo-folder): Consider draft folder.
* wl-draft.el (wl-draft-buf-name, wl-draft-buffer-file-name): Abolish.
(wl-draft-buffer-message-number): New buffer local variable.
(wl-draft-folder-internal): New internal variable.
(wl-draft-delete): Rewrite.
(wl-draft-save): Ditto.
(wl-draft-create-buffer): Use wl-draft-get-folder instead of
wl-folder-get-elmo-folder.
(wl-draft-config-info-operation): Ditto.
(wl-jump-to-draft-folder): Ditto.
(wl-draft-prepare-edit): Set up auto-save-file-name-transforms.
(wl-draft-reedit): Rewrite.
* im-wl.el (wl-draft-send-with-imput-async): Follow the changes
in draft (Not tested).
* elmo.el (elmo-folder-next-message-number): New API.
(elmo-folder-next-message-number): Define.
(elmo-message-field): Don't check folder length.
* elmo-net.el (elmo-folder-next-message-number): Define.
(elmo-folder-next-message-number-unplugged): Define.
* elmo-map.el (elmo-folder-next-message-number): Define.
(elmo-folder-delete-messages): Clear hash value.
* elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
* elmo-dop.el (elmo-folder-next-message-number-dop): New function.
(elmo-folder-delete-messages-dop-delayed): Always return t.
teranisi [Wed, 15 Oct 2003 12:33:19 +0000 (12:33 +0000)]
* elmo-version.el (elmo-version): Up to 2.11.19.
hmurata [Wed, 15 Oct 2003 12:18:23 +0000 (12:18 +0000)]
* modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
change.
hmurata [Wed, 15 Oct 2003 02:20:20 +0000 (02:20 +0000)]
* modb-legacy.el (elmo-msgdb-append-entity): Registered an
identical cons cell into the mark-alist and the hash table.
yoichi [Mon, 13 Oct 2003 11:23:53 +0000 (11:23 +0000)]
Remove abolished mirror sites, thanks for the services!
yoichi [Mon, 13 Oct 2003 07:44:43 +0000 (07:44 +0000)]
Comment out outdated mirrors.
okazaki [Thu, 9 Oct 2003 13:21:54 +0000 (13:21 +0000)]
Update.
okazaki [Thu, 9 Oct 2003 13:21:38 +0000 (13:21 +0000)]
(wl-summary-search-by-subject): Remove unused local variable.
hmurata [Thu, 9 Oct 2003 10:33:14 +0000 (10:33 +0000)]
* wl-summary.el (wl-summary-prefetch-msg): Bind wl-message-entity;
Use ignore-errors instead of unwind-protect.
teranisi [Wed, 8 Oct 2003 13:25:51 +0000 (13:25 +0000)]
* elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
elmo-folder-list-messages with argument `visible-only' as t.
teranisi [Wed, 8 Oct 2003 13:02:04 +0000 (13:02 +0000)]
* elmo-filter.el (elmo-folder-msgdb-create): Check the target folder.
teranisi [Wed, 8 Oct 2003 12:43:18 +0000 (12:43 +0000)]
* elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
teranisi [Tue, 7 Oct 2003 04:42:32 +0000 (04:42 +0000)]
* elmo-imap4.el (elmo-imap4-session-select-mailbox): Use value of `flags' if
`permanentflags' does not exist.
(elmo-folder-open): Ditto.
teranisi [Tue, 7 Oct 2003 04:13:57 +0000 (04:13 +0000)]
* elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
(elmo-folder-use-flag-p): Always return t.
teranisi [Tue, 7 Oct 2003 03:54:06 +0000 (03:54 +0000)]
* elmo-imap4.el (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
teranisi [Tue, 7 Oct 2003 03:25:38 +0000 (03:25 +0000)]
* elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
`permanentflag' instead of `flags'.
(elmo-folder-open): Ditto.
teranisi [Mon, 6 Oct 2003 15:05:12 +0000 (15:05 +0000)]
* modb-legacy.el (elmo-msgdb-message-entity): Return nil when key is nil.
* modb-standard.el (elmo-msgdb-message-entity): Ditto.
teranisi [Mon, 6 Oct 2003 05:35:23 +0000 (05:35 +0000)]
* elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
(elmo-imap4-session-select-mailbox): Set it according to the SELECT response.
(elmo-folder-open): Ditto.
(elmo-imap4-set-flag): Send store flag command only when the `flags'
slot of the session includes the flag.
(elmo-imap4-session-flag-available-p): New function.
(elmo-imap4-folder-list-flagged): Ditto.
(elmo-folder-list-unreads-plugged): Use it.
(elmo-folder-list-importants-plugged): Ditto.
(elmo-folder-list-answereds-plugged): Ditto.
(elmo-imap4-search-internal-primitive): Ditto.
(elmo-imap4-folder-list-any-plugged,
elmo-imap4-folder-list-digest-plugged): Abolish.
teranisi [Mon, 6 Oct 2003 01:38:09 +0000 (01:38 +0000)]
* elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
if numbers is nil.
yoichi [Sun, 5 Oct 2003 18:22:03 +0000 (18:22 +0000)]
Require emu for char-list-to-string
teranisi [Sun, 5 Oct 2003 12:09:31 +0000 (12:09 +0000)]
* elmo-util.el (elmo-get-hash-val): Simplify.
(elmo-set-hash-val): Rewrite.
okazaki [Fri, 3 Oct 2003 13:35:31 +0000 (13:35 +0000)]
Update.
okazaki [Fri, 3 Oct 2003 13:34:40 +0000 (13:34 +0000)]
* wl-thread.el (wl-thread-delete-message): Rewrite the procedure for updating
`wl-thread-entity-list'.
okazaki [Thu, 2 Oct 2003 14:32:19 +0000 (14:32 +0000)]
Update.
okazaki [Thu, 2 Oct 2003 14:32:02 +0000 (14:32 +0000)]
(wl-thread-delete-message): Omit redundant nil parameter from calling
`wl-thread-entity-get-older-brothers' and `wl-thread-entity-get-younger-brothers'.
Replace nested `append' with a single one.
hmurata [Thu, 2 Oct 2003 13:19:34 +0000 (13:19 +0000)]
* wl-summary.el (wl-summary-mode): Don't use the return value of
`make-local-hook'.
okazaki [Thu, 2 Oct 2003 10:45:12 +0000 (10:45 +0000)]
Update.
okazaki [Thu, 2 Oct 2003 10:44:31 +0000 (10:44 +0000)]
(wl-thread-entity-get-older-brothers): Use `let' instead of `let*'.
(wl-thread-delete-message): Likewise. Split and narrow the scope of
local variables.
hmurata [Wed, 1 Oct 2003 14:19:24 +0000 (14:19 +0000)]
(wl-summary-buffer-window-scroll-functions):
Renamed from wl-summary-window-scroll-functions.
(wl-summary-window-scroll-functions): Don't set to variable.
(wl-summary-display-top): Use run-hooks.
(wl-summary-display-bottom): Ditto.
(wl-summary-toggle-disp-msg): Ditto.
(wl-summary-mode): Set wl-summary-buffer-window-scroll-functions;
Use it instead of wl-summary-window-scroll-functions.
(wl-summary-goto-folder-subr): Don't call
wl-summary-window-scroll-functions, use
wl-summary-buffer-window-scroll-functions instead.
hmurata [Tue, 30 Sep 2003 11:57:19 +0000 (11:57 +0000)]
* wl-summary.el (wl-summary-mode): Use make-local-hook instead of
make-local-variable.
teranisi [Mon, 29 Sep 2003 12:53:16 +0000 (12:53 +0000)]
(wl-summary-update-mark-and-highlight-window): Call set-buffer-modified-p.
(wl-summary-display-top): Call wl-summary-window-scroll-functions.
(wl-summary-display-bottom): Ditto.
(wl-summary-toggle-disp-msg): Ditto.
hmurata [Mon, 29 Sep 2003 11:33:19 +0000 (11:33 +0000)]
* wl-score.el (wl-score-ov-entity-get): Treat extra field.
hmurata [Mon, 29 Sep 2003 07:50:18 +0000 (07:50 +0000)]
* wl-summary.el (wl-summary-prefetch-msg): Fixed.
(wl-summary-forward): Use elmo-message-entity-field instead of
elmo-message-field.
hmurata [Mon, 29 Sep 2003 04:48:29 +0000 (04:48 +0000)]
* wl-summary.el (wl-summary-update-mark-and-highlight-window): Fixed.
hmurata [Sun, 28 Sep 2003 15:40:05 +0000 (15:40 +0000)]
* wl-summary.el (wl-summary-window-scroll-functions): No use
`append'.
teranisi [Sun, 28 Sep 2003 15:17:51 +0000 (15:17 +0000)]
* wl-summary.el (wl-summary-update-mark-and-highlight-window): New function.
(wl-summary-window-scroll-functions): Call it when both
wl-summary-lazy-highlight and wl-summary-lazy-update-mark are non-nil.
(wl-summary-temp-mark): Added optional argument number.
(wl-summary-message-mark): Added optional argument flag.
(wl-summary-persistent-mark): Added optional argument number and flag.
(wl-summary-update-persistent-mark): Ditto.
(wl-summary-update-status-marks): Set "r" for interactive spec.
* wl-highlight.el (wl-highlight-summary-current-line): Added optional
argument number and flag.
* wl-action.el (wl-summary-registered-temp-mark):
Do nothing when wl-summary-buffer-temp-mark-list is nil.
hmurata [Sun, 28 Sep 2003 08:21:37 +0000 (08:21 +0000)]
* wl-summary.el (wl-summary-buffer-unsync-mark-number-list): New
internal variable (buffer local).
(wl-summary-window-scroll-functions): New function.
(wl-summary-mode): Use it insteaf of wl-summary-lazy-highlight.
(wl-summary-rescan): Set wl-summary-buffer-unsync-mark-number-list
as nil.
(wl-summary-update-status-marks): Added arguments beg, end and
check.
(wl-summary-update-mark-window): Use function.
(wl-summary-sync-update): Follow the change above.
(wl-summary-switch-to-clone-buffer): Copy
wl-summary-buffer-unsync-mark-number-list.
(wl-summary-goto-folder-subr): Set
wl-summary-buffer-unsync-mark-number-list and
use wl-summary-window-scroll-functions insteaf of
wl-summary-lazy-highlight.
* wl-vars.el (wl-summary-lazy-update-mark): New user option.
hmurata [Sat, 27 Sep 2003 16:13:22 +0000 (16:13 +0000)]
* elmo.el (elmo-folder-list-messages): Append killed messages into
result if `visible-only' is nil and `in-msgdb' is non-nil.
* elmo-util.el (elmo-uniq-list): Added optional argument
`delete-function'.
hmurata [Sat, 27 Sep 2003 14:30:22 +0000 (14:30 +0000)]
* wl-summary.el (wl-summary-sync-update): Undo last chagne.
hmurata [Sat, 27 Sep 2003 11:53:23 +0000 (11:53 +0000)]
* wl-summary.el (wl-summary-update-persistent-mark): Call
wl-summary-set-message-modified.
hmurata [Sat, 27 Sep 2003 10:39:30 +0000 (10:39 +0000)]
* wl-summary.el (wl-summary-sync-update): Don't call
wl-summary-update-status-marks.
* modb.el (elmo-msgdb-flag-count): New API.
* modb-standard.el (modb-standard): Added slot flag-count.
(modb-standard-countup-flags): New function.
(modb-standard-load-flag): Call it.
(elmo-msgdb-append): Ditto.
(elmo-msgdb-clear): Clear slot flag-count.
(elmo-msgdb-set-flag): Call modb-standard-countup-flags.
(elmo-msgdb-unset-flag): Treat `all' flag and call
modb-standard-countup-flags.
(elmo-msgdb-flag-count): Define.
(elmo-msgdb-append-entity): Call modb-standard-countup-flags.
(elmo-msgdb-delete-messages): Ditto.
* modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
(elmo-msgdb-flag-count): Define.
* elmo.el (elmo-folder-list-messages): Undo last change.
(elmo-folder-count-flags): Use elmo-msgdb-flag-count.
(elmo-folder-kill-messages): Unset all flags to numbers.
* elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
elmo-folder-kill-messages.
* elmo-nntp.el (elmo-folder-delete-messages): Ditto.
(elmo-nntp-folder-delete-messages): Abolish.
hmurata [Sat, 27 Sep 2003 10:20:38 +0000 (10:20 +0000)]
Version number is increased to 2.11.18.
hmurata [Fri, 26 Sep 2003 18:40:43 +0000 (18:40 +0000)]
* elmo.el (elmo-folder-kill-messages-before): Abolish.
(elmo-folder-kill-messages-range): New function.
(elmo-folder-synchronize): Use elmo-folder-kill-messages-range
instead of elmo-folder-kill-messages-before.
teranisi [Fri, 26 Sep 2003 15:53:31 +0000 (15:53 +0000)]
* wl-message.el (wl-message-prev-page): Use save-selected-window.
(wl-message-next-page): Ditto.
teranisi [Fri, 26 Sep 2003 15:46:44 +0000 (15:46 +0000)]
* elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
elmo-imap4-current-msgdb to decide entity handler.
okazaki [Fri, 26 Sep 2003 14:03:18 +0000 (14:03 +0000)]
Update.
okazaki [Fri, 26 Sep 2003 14:03:02 +0000 (14:03 +0000)]
(wl-summary-collect-numbers-region): Remove unused
local variable. Change the order of a collected list into the
same as the specified range. Remove nil from a collected list.
hmurata [Fri, 26 Sep 2003 09:03:09 +0000 (09:03 +0000)]
* wl-summary.el (wl-summary-insert-headers): Set visible-only
argument for elmo-folder-list-messages.
teranisi [Thu, 25 Sep 2003 14:29:48 +0000 (14:29 +0000)]
* elmo-dop.el (elmo-dop-msgdb): Rewrite.
* modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
inline function.
(elmo-msgdb-overview-entity-get-number-internal): Ditto.
(elmo-msgdb-overview-entity-set-number,
elmo-msgdb-overview-entity-get-references,
elmo-msgdb-overview-entity-set-references,
elmo-msgdb-overview-entity-get-from-no-decode,
elmo-msgdb-overview-entity-get-from,
elmo-msgdb-overview-entity-set-from,
elmo-msgdb-overview-entity-get-subject,
elmo-msgdb-overview-entity-get-subject-no-decode,
elmo-msgdb-overview-entity-set-subject,
elmo-msgdb-overview-entity-get-date,
elmo-msgdb-overview-entity-set-date,
elmo-msgdb-overview-entity-get-to,
elmo-msgdb-overview-entity-get-cc,
elmo-msgdb-overview-entity-get-size,
elmo-msgdb-overview-entity-set-size,
elmo-msgdb-overview-entity-get-extra,
elmo-msgdb-overview-entity-set-extra,
elmo-msgdb-overview-entity-get-extra-field,
elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
(elmo-msgdb-make-index): Use
`elmo-msgdb-overview-entity-get-number-internal'.
(elmo-msgdb-clear-index): Ditto.
(elmo-msgdb-append-entity): Ditto;
Use `elmo-msgdb-overview-entity-get-id-internal'.
* elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
elmo-msgdb-overview-entity-set-number,
elmo-msgdb-overview-entity-get-references,
elmo-msgdb-overview-entity-set-references,
elmo-msgdb-overview-entity-get-from-no-decode,
elmo-msgdb-overview-entity-get-from,
elmo-msgdb-overview-entity-set-from,
elmo-msgdb-overview-entity-get-subject,
elmo-msgdb-overview-entity-get-subject-no-decode,
elmo-msgdb-overview-entity-set-subject,
elmo-msgdb-overview-entity-get-date,
elmo-msgdb-overview-entity-set-date,
elmo-msgdb-overview-entity-get-to,
elmo-msgdb-overview-entity-get-cc,
elmo-msgdb-overview-entity-get-size,
elmo-msgdb-overview-entity-set-size,
elmo-msgdb-overview-entity-get-extra,
elmo-msgdb-overview-entity-set-extra,
elmo-msgdb-overview-entity-get-extra-field,
elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
and rewrote for backward compatibility.
hmurata [Wed, 24 Sep 2003 11:57:12 +0000 (11:57 +0000)]
* wl-score.el (wl-summary-score-update-all-lines): Follow the API
change (wl-summary-count-unreads return a list instead of a cons
cell).
hmurata [Wed, 24 Sep 2003 05:02:56 +0000 (05:02 +0000)]
* elmo.el (elmo-message-entity-number,
elmo-message-entity-set-number,
elmo-message-entity-field,
elmo-message-entity-set-field): Moved to elmo-msgdb.el.
* elmo-msgdb.el (elmo-message-entity-number,
elmo-message-entity-set-number,
elmo-message-entity-field,
elmo-message-entity-set-field): Moved from elmo.el.
teranisi [Wed, 24 Sep 2003 03:56:01 +0000 (03:56 +0000)]
* elmo.el (toplevel): Changed definition orders.
okazaki [Wed, 24 Sep 2003 03:22:25 +0000 (03:22 +0000)]
Update.
okazaki [Wed, 24 Sep 2003 03:22:08 +0000 (03:22 +0000)]
* wl-summary.el (wl-summary-delete-messages-on-buffer): Use
`wl-summary-folder-info-update'.
hmurata [Tue, 23 Sep 2003 12:23:33 +0000 (12:23 +0000)]
* modb.el (elmo-msgdb-search): New API .
(elmo-msgdb-match-condition): Ditto.
* modb-standard.el (elmo-msgdb-search): Define.
* modb-legacy.el (elmo-msgdb-search): Ditto.
* modb-entity.el (elmo-msgdb-message-match-condition): Renamed
from elmo-msgdb-match-condition-internal.
* elmo.el (elmo-folder-search-fast): Abolish.
(elmo-folder-search): Use elmo-msgdb-search and
elmo-with-progress-display.
* elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
as msgdb API.
hmurata [Tue, 23 Sep 2003 05:23:49 +0000 (05:23 +0000)]
* wl-summary.el (wl-summary-set-message-modified): No use
elmo-folder-set-message-modified and wl-summary-set-mark-modified.
(wl-summary-set-mark-modified): Abolish.
(wl-summary-mark-modified-p): Ditto.
(wl-summary-save-view): Follow the change above.
* wl-expire.el (wl-summary-expire): Likewise.
* elmo.el (luna-define-class): Remove slot message-modified and
flag-modified.
(elmo-folder-set-message-modified): Abolish.
(elmo-generic-folder-commit): Follow the change above.
(elmo-folder-synchronize): Ditto.
* elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
* elmo-multi.el (elmo-folder-set-message-modified): Ditto.
* elmo-filter.el (elmo-folder-set-message-modified): Ditto.
hmurata [Tue, 23 Sep 2003 02:22:36 +0000 (02:22 +0000)]
* wl-addrbook.el (wl-summary-addrbook-from): Use
elmo-message-entity-field.
teranisi [Mon, 22 Sep 2003 14:55:05 +0000 (14:55 +0000)]
* modb-standard.el (modb-standard-make-message-entity,
elmo-msgdb-make-message-entity,
elmo-msgdb-create-message-entity-from-buffer,
elmo-msgdb-message-entity-number,
elmo-msgdb-message-entity-set-number,
elmo-msgdb-message-entity-field,
elmo-msgdb-message-entity-set-field,
elmo-msgdb-copy-message-entity,
elmo-msgdb-match-condition-internal): Remove.
teranisi [Mon, 22 Sep 2003 14:44:25 +0000 (14:44 +0000)]
* wl-summary.el (wl-summary-detect-mark-position): Use
modb-entity-handler.
(wl-summary-save-view-cache): Don't cause an error when dir is nil.
* modb-entity.el: New file (again).
* modb.el (toplevel): Require modb-entity.
(elmo-msgdb-message-entity-handler): New method.
* modb-standard.el (modb-standard-entity-id): Use
elmo-message-entity-handler.
(modb-standard-load-entity): Ditto.
(elmo-msgdb-append-entity): Ditto.
(elmo-msgdb-create-message-entity-from-buffer): Ditto.
* modb-legacy.el (elmo-msgdb-get-decoded-cache,
elmo-msgdb-decoded-cache-hashtb,
(modb-legacy-make-message-entity,
elmo-msgdb-make-message-entity,
elmo-msgdb-create-message-entity-from-buffer,
elmo-msgdb-message-entity-number,
elmo-msgdb-message-entity-set-number,
elmo-msgdb-message-entity-field,
elmo-msgdb-message-entity-set-field,
elmo-msgdb-copy-message-entity,
elmo-msgdb-match-condition-internal,
elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
* elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
(elmo-message-entity-set-number): Ditto.
(elmo-message-entity-field): Ditto.
(elmo-message-entity-set-field): Ditto.
* elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
* elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
* elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
* elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
(elmo-nntp-msgdb-create-message): Ditto.
* elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
(elmo-folder-msgdb-create): Add unread flag.
* elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
* elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
* elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
* elmo-cache.el (elmo-folder-msgdb-create): Ditto.
* elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
elmo-msgdb-messge-entity-handler.
* elmo-version.el (elmo-version): Up to 2.11.17.
* WL-ELS (ELMO-MODULES): Added modb-entity (again).
teranisi [Mon, 22 Sep 2003 14:25:02 +0000 (14:25 +0000)]
* Version number is increased to 2.11.17.
hmurata [Mon, 22 Sep 2003 04:37:13 +0000 (04:37 +0000)]
* elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
change.
teranisi [Mon, 22 Sep 2003 03:33:41 +0000 (03:33 +0000)]
* elmo.el (elmo-message-field): Use elmo-message-entity-field.
* elmo-msgdb.el (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
teranisi [Mon, 22 Sep 2003 03:26:53 +0000 (03:26 +0000)]
* elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
(elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
(elmo-msgdb-flag-table): Ditto.
teranisi [Mon, 22 Sep 2003 02:42:12 +0000 (02:42 +0000)]
* modb.el (elmo-msgdb-create-message-entity-from-file): Define.
* modb-standard.el (toplevel): Require mime.
(modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
(modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
elmo-msgdb-message-entity-number.
(elmo-msgdb-append-entity): Ditto.
(elmo-msgdb-create-message-entity-from-file): Remove.
(elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
corresponds to the entity.
(elmo-msgdb-message-entity-number): Do nothing currently.
(elmo-msgdb-message-entity-field): Ditto.
(elmo-msgdb-message-entity-set-field): Ditto.
(elmo-msgdb-copy-message-entity): Ditto.
(elmo-msgdb-match-condition-internal): Ditto.
* modb-legacy.el (elmo-msgdb-insert-file-header): Moved to elmo-util.el.
(elmo-msgdb-create-message-entity-from-file): Remove.
* elmo-util.el (elmo-msgdb-insert-file-header): Moved from modb-legacy.el.
(elmo-multiple-field-body): Moved from elmo-util.el.
* elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
teranisi [Sun, 21 Sep 2003 15:16:31 +0000 (15:16 +0000)]
* wl-summary.el (wl-summary-prefetch-msg): Fixed last change.
teranisi [Sun, 21 Sep 2003 15:12:55 +0000 (15:12 +0000)]
* wl-summary.el (wl-summary-overview-entity-compare-by-from): Decode
entity field value.
(wl-summary-prefetch-msg): Ditto.
(wl-summary-print-message-with-ps-print): Ditto.
teranisi [Sun, 21 Sep 2003 15:10:17 +0000 (15:10 +0000)]
* wl-summary.el (wl-summary-line-from): Decode.
teranisi [Sun, 21 Sep 2003 14:57:10 +0000 (14:57 +0000)]
* wl-summary.el (wl-summary-line-subject): Decode.
teranisi [Sun, 21 Sep 2003 14:49:46 +0000 (14:49 +0000)]
* wl-summary.el (wl-summary-detect-mark-position): Use generic msgdb
for dummy entity.
(wl-summary-insert-thread): Use elmo-message-entity-field.
(wl-summary-update-thread): Use elmo-message-entity-field and
elmo-message-entity-number.
(wl-summary-line-number): Use elmo-message-entity-number.
(wl-summary-line-size): Use elmo-message-entity-field.
(wl-summary-line-subject): Ditto.
(wl-summary-line-from): Ditto.
(wl-summary-line-attached): Ditto.
(wl-summary-create-line): Ditto.
(wl-summary-create-line): Use elmo-message-entity-number.
(wl-summary-print-message-with-ps-print): Use
elmo-message-entity-field.
* modb.el (elmo-msgdb-make-message-entity): Define simple one.
(elmo-msgdb-message-entity-field): Ditto.
(elmo-msgdb-message-entity-number): Ditto.
hmurata [Sun, 21 Sep 2003 13:23:08 +0000 (13:23 +0000)]
* modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
Fixed how to set extra field into entity.
(elmo-msgdb-message-entity-set-field): Fixed mistake string for
symbol.
* modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
Fixed how to set extra field into entity.
(elmo-msgdb-message-entity-set-field): Fixed mistake string for
symbol.