1 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
4 cleanup-forms [wl:14027].
6 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-flag.el (elmo-global-flag-set-internal): Use
9 `elmo-copy-file' by priority when the message is a file.
11 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
13 * elmo.el: Fix typo: disptch -> dispatch.
15 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
17 * elmo.el (elmo-file-tag): New class.
18 (elmo-append-messages-disptch-table): New constant.
19 (elmo-folder-type-p): New function.
20 (elmo-folder-append-messages): Redefine as function.
22 * elmo-null.el (elmo-folder-append-messages): Renamed from
23 `elmo-folder-append-messages'.
25 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
26 (elmo-folder-append-messages-*-maildir): Renamed from
27 `elmo-folder-append-messages'.
29 * elmo-localdir.el (elmo-localdir-folder): Inherit
31 (elmo-folder-append-messages-*-localdir): Renamed from
32 `elmo-folder-append-messages'.
34 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
35 from `elmo-folder-append-messages'.
37 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
38 `elmo-folder-append-messages'.
40 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
42 (elmo-folder-append-messages-*-filter): Ditto.
44 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
46 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
47 (elmo-folder-append-messages-*-pipe): Renamed from
48 `elmo-folder-append-messages'.
50 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
52 * elmo-file.el (elmo-file-folder): Ditto.
54 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
56 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
57 from `elmo-folder-append-messages'
59 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
61 * elmo-map.el (elmo-location-map-setup): Change an argument
62 `locations' to optional.
63 (elmo-location-map-clear): Abolish.
64 (elmo-folder-clear): Follow the API change.
66 * elmo-pop3.el (elmo-folder-clear): Ditto.
68 * elmo-pop3.el (toplevel): Require elmo-map.
69 (elmo-pop3-folder): Inherit elmo-location-map and abolish
70 location-alist slot (All other related portions are changed).
71 (elmo-pop3-folder-use-uidl): New function.
72 (elmo-folder-msgdb-create): Don't sort message entities.
73 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
74 (elmo-pop3-number-to-size): Convert return value to number.
75 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
78 * elmo-map.el: Use `location-map' as a variable name for instance
80 (elmo-location-map-setup): Return location alist.
81 (elmo-location-map-update): Ditto.
83 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
85 * elmo-map.el (elmo-location-map): New class; split location and
86 number mapping from elmo-map-folder (All other related portions
89 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
92 * elmo-version.el (elmo-version): Up to 2.15.4.
94 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
96 * elmo-vars.el (elmo-use-hardlink): New user option.
98 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
101 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
103 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
104 instead of `*-internal'. Use `elmo-with-progress-display'.
106 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
108 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
109 `elmo-spam-process-messages-as-mbox'.
111 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
113 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
115 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
116 argument BUFFER of `call-process'.
118 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
120 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
122 (elsp-bsfilter-list-spam-files): Ditto.
124 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
126 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
127 (elmo-spam-bsfilter-max-messages-per-process): New use option.
128 (elmo-spam-bsfilter-debug): Fix a group.
129 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
131 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
132 (elsp-bsfilter-list-spam-files): New function.
133 (elmo-spam-list-spam-messages): Define.
134 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
135 (elmo-spam-bsfilter-register-messages): New function.
136 (elmo-spam-register-spam-messages): Define.
137 (elmo-spam-register-good-messages): Ditto.
139 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
141 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
144 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
146 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
147 hash table to test whether a location is exists.
149 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
151 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
152 even if some error occurred.
154 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
155 meaningless unwind-protect.
157 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
158 start-number correctly.
159 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
160 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
162 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
164 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
165 (elmo-folder-initialize): Use it.
166 (elmo-global-flag-replace-referrer): New function.
168 * elmo.el (toplevel): Added autoload setting for
169 `elmo-global-flag-replace-referrer'.
170 (elmo-folder-rename): Rewrite the last change use
171 `elmo-global-flag-replace-referrer'.
173 * elmo-pipe.el (elmo-folder-rename): Call
174 `elmo-global-flag-replace-referrer'.
176 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
178 * elmo.el (elmo-folder-rename): Set meta data for global flags
181 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
183 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
185 (elmo-folder-close): Ditto.
186 (elmo-filter-folder-number-list-loaded-p): New function.
187 (elmo-filter-folder-number-list): Check whether loaded or not.
188 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
189 of `elmo-filter-folder-number-list-internal'.
190 (elmo-folder-delete-messages): Ditto.
191 (elmo-folder-length): Check whether number-list is loaded or not.
193 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
195 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
196 field `real field' into each element of list.
197 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
198 (elmo-msgdb-message-entity-field): Ditto.
199 (modb-entity-ml-info-real-fields): New function.
201 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
203 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
204 `elmo-msgdb-extra-fields'.
206 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
208 * elmo-util.el (elmo-passwd-alist-load): Move point to min
209 position before read.
211 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
213 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
214 (elmo-global-flags-initialize): Ditto.
216 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
218 * elmo-archive.el (toplevel): Don't require emu, std11
221 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
224 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
226 * elmo.el (elmo-folder-confirm-appends): Display folder name.
228 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
230 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
233 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
235 * elmo-maildir.el (elmo-maildir-list-location): Reduce
236 `elmo-get-last-modification-time' call.
238 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
240 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
242 (elmo-maildir-set-mark): Ditto.
243 (elmo-maildir-delete-mark): Ditto.
245 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
247 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
248 optional argument `separators'.
250 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
252 * elmo.el (cache-changed): Abolish.
253 (status-changed): New signal.
254 (elmo-message-killed-p): New generic function and define for
256 (elmo-folder-recover-messages): Ditto.
257 (elmo-message-set-cached): Emit signal `status-changed' instead of
259 (elmo-message-status): New macro.
260 (elmo-message-status-folder): Ditto.
261 (elmo-message-status-number): Ditto.
262 (elmo-message-status-set-flags): Ditto.
263 (elmo-message-status-set-killed): Ditto.
264 (elmo-message-status-flags): New function.
265 (elmo-message-status-cached-p): Ditto.
266 (elmo-message-status-killed-p): Ditto.
268 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
269 `status-changed' instead of `cache-changed'.
270 (elmo-folder-recover-messages): Define.
271 (elmo-message-killed-p): Ditto.
273 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
274 `status-changed' instead of `cache-changed'.
276 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
277 (elmo-message-killed-p): Define.
278 (elmo-folder-recover-messages): Ditto.
280 * elmo-version.el (elmo-version): Up to 2.15.3.
282 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
284 * elmo-signal.el (elmo-signal-bindings): Use cons to append
286 (elmo-define-signal-handler): Add docstring.
287 (elmo-define-signal-filter): Ditto.
289 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
291 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
293 * elmo-util.el (elmo-flatten): Don't use recursive call.
295 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
297 (elmo-folder-message-make-temp-files): Use `number-to-string'
298 instead of `int-to-string'.
300 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
302 * elmo-search.el (elmo-folder-delete-messages): Define.
304 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
306 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
308 (elmo-mailing-list-count-spec-list): Ditto.
310 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
313 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
315 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
318 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
320 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
321 (elmo-mailing-list-count-spec-list): Ditto.
323 * elmo-util.el (elmo-map-until-success): New function.
324 (elmo-string-match-substring): Ditto.
325 (elmo-find-list-match-value): Ditto.
327 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
329 (modb-entity-extract-ml-info-from-subject): Ditto.
330 (modb-entity-extract-ml-info-from-return-path): Ditto.
331 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
332 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
333 (modb-entity-extract-ml-info-from-mailman): Ditto.
334 (modb-entity-extract-mailing-list-info-functions): Ditto.
335 (modb-entity-extract-mailing-list-info): Rewrite with
336 `elmo-find-list-match-value'.
338 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
340 * elmo-net.el (elmo-network-session-retry-count): New user option.
341 (elmo-network-session-buffer-name): New internal function.
342 (elmo-network-session-buffer-create): Ditto.
343 (elmo-network-open-session): Retry open network session
344 `elmo-network-session-retry-count' times.
346 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
348 * elmo-util.el (elmo-list-filter): Rewritten.
350 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
352 * elmo-util.el (elmo-string-member): Allow symbol element in list.
354 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
356 * elmo-search.el (elmo-make-search-engine): Use prefix
357 `elmo-search-' for require symbol instead of `else-'.
358 (elmo-search-engine-extprog): New class.
359 (elmo-search-engine-do-search): Remove nil from argument
360 list. Added argument pattern to evaluate element as function.
361 (elmo-search-engine-local-file): Derived from
362 `elmo-search-engine-extprog'.
363 (elmo-search-engine-create-message-entity): Check existance of file.
364 (elmo-search-engine-fetch-message): Ditto.
365 (elmo-search-namazu-index): Follow the API change.
366 (elmo-search-grep-target): Ditto.
368 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
370 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
371 characters of working buffer.
373 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
374 Does not bind `default-mime-charset'.
375 (elmo-msgdb-create-message-entity-from-buffer): Removed
376 unnecessary local bind.
378 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
380 (modb-entity-extract-mailing-list-info-functions): Added it.
382 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
384 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
385 when number and message-id are non-nil.
387 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
389 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
390 conditional steatment.
391 (elmo-pop3-auth-apop): Likewise.
392 (elmo-network-authenticate-session): Likewise.
394 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
396 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
397 symbol `fill-column'.
398 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
401 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
402 (elmo-decoded-field-body): Ditto.
404 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
406 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
407 `tokens' to `params'.
409 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
411 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
414 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
416 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
419 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
421 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
422 Set default value as nil.
423 (toplevel): Register search engines by
424 `elmo-search-register-engine' if there are not defined.
426 * elmo.el (autoload): Added autoload setting for
427 `elmo-search-register-engine'.
429 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
431 * elmo.el (toplevel): `[' is redefined as the prefix of the search
432 folder instead of nmz folder.
433 (elmo-nmz-default-index-path): Added obsolete variable setting.
434 (elmo-nmz-index-alias-alist): Ditto.
435 (elmo-nmz-use-drive-letter): Ditto.
437 * elmo-search.el (elmo-search-register-engine): New function.
439 * elmo-nmz.el: Removed.
441 * elmo-version.el (elmo-version): Up to 2.15.2.
443 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
445 * elmo-search.el: New file.
447 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
449 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
450 condition `larger' and `smaller'.
452 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
454 * elmo-util.el (elmo-safe-filename): Rewrite to replace
455 `"' (double quote) into "_Q_".
457 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * elmo-net.el (elmo-net-quote-chars): Abolish.
460 (elmo-net-format-quoted): Ditto.
462 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
464 * elmo.el (elmo-get-folder-function): New variable.
465 (elmo-get-folder): New function.
466 (elmo-folder-rename): Call `elmo-make-folder' with specified
469 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
471 (elmo-split-subr): Ditto.
473 * elmo-multi.el (elmo-folder-initialize): Ditto.
475 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
477 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
478 (elmo-flag-get-folder): Ditto.
480 * elmo-filter.el (elmo-folder-initialize): Ditto.
482 * elmo-access.el (elmo-folder-initialize): Ditto.
483 (elmo-access-folder-update-children): Ditto.
485 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
486 (elmo-dop-queue-flush): Ditto.
487 (elmo-folder-append-buffer-dop-delayed): Ditto.
488 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
491 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
492 instead of `elmo-make-folder'.
493 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
494 destination folder instead of send `elmo-folder-rename-internal'.
496 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
497 slot of subfolder instead of create it.
499 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
501 * elmo-util.el (elmo-collect-separators): New function.
502 (elmo-collect-separators-internal): Ditto.
503 (elmo-collect-trail-separators): Ditto.
504 (elmo-parse-separated-tokens): Ditto.
505 (elmo-parse-separated-tokens-internal): Ditto.
506 (elmo-quote-syntactical-element): Ditto.
508 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
509 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
511 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
512 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
513 (elmo-nntp-folder-list-subfolders): Quote a user name.
515 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
516 (elmo-net-parse-network): Abolish.
517 (elmo-net-folder-set-parameters): New function.
518 (elmo-folder-initialize): Follow the above change.
520 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
521 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
522 (elmo-folder-list-subfolders): Use
523 `elmo-quote-syntactical-element' instead of
524 `elmo-net-format-quoted' to quote mailbox and user name.
526 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
528 * elmo-util.el (elmo-token-valid-p): New function.
529 (elmo-parse-token): Add optional argument `requirement'.
530 (elmo-parse-prefixed-element): Likewise.
532 * elmo-net.el (elmo-net-quote-chars): Renamed from
533 `elmo-net-quote-chars-regexp'.
534 (elmo-net-format-quoted): Add optional argument `extra-chars'.
536 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
537 by info document. Check token `uidl' is started an alphabet.
539 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
540 by info document. Check token `user' is started an alphabet.
542 * elmo-imap4.el (elmo-folder-initialize): Ditto.
543 (elmo-folder-list-subfolders): Quote user.
545 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
547 * elmo-util.el (elmo-quoted-specials-list): New constant.
548 (elmo-quoted-token): New function.
550 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
551 (elmo-net-format-quoted): New function.
552 (elmo-net-parse-network): Ditto.
553 (elmo-folder-initialize): Use it.
555 * elmo-nntp.el (elmo-folder-initialize): Use
556 `elmo-net-parse-network' to parse network specification instead of
557 `elmo-folder-initialize#elmo-net'.
559 * elmo-pop3.el (elmo-folder-initialize): Ditto.
561 * elmo-imap4.el (elmo-folder-initialize): Ditto.
562 (elmo-folder-list-subfolders): Quote folder name by
563 `elmo-net-format-quoted'.
565 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
567 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
568 (elmo-folder-search): Use it.
570 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
572 * modb-standard.el (modb-standard-loaded-message-id): Use
573 `elmo-msgdb-message-entity-field'.
575 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
577 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
580 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
582 * elmo-util.el (elmo-set-auto-coding): New function.
583 (elmo-object-load): Use it.
585 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
587 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
588 (elmo-time<): Define as alias of `elmo-time-less-p'.
589 (elmo-time-to-datevec): New function.
591 * elmo-date.el (elmo-time-to-days): New function.
593 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
595 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
598 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
600 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
603 * elmo-util.el (elmo-map-recursive): New function.
605 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
606 (modb-entity-encode-string-recursive): Ditto.
608 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
610 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
611 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
612 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
613 compare sequence number when last modified time is nil.
615 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
617 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
619 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
621 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
623 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
624 modification time of the file.
626 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
628 * elmo-util.el (elmo-condition-optimize): Discriminated against
629 preserved fields, extra fields and the other weight.
631 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
633 * modb-entity.el (initialize-instance): Define.
634 (modb-entity-handler-mime-charset): New internal function.
635 (modb-standard-entity-set-field): Use it.
636 (elmo-msgdb-message-entity-field): Ditto.
637 (elmo-msgdb-message-entity-field): Ditto.
639 * modb.el (elmo-msgdb-match-condition): Rewrite with
640 `elmo-condition-match'.
641 (elmo-msgdb-match-condition-primitive): New function.
643 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
644 arguments `flags' and `numbers'.
645 (elmo-msgdb-match-condition-primitive): Abolished (merged to
646 `elmo-msgdb-message-match-condition').
647 (modb-buffer-entity-handler): New class.
649 * elmo.el (elmo-folder-search): Optimize condition to use
650 `elmo-condition-optimize'.
651 (elmo-message-buffer-match-condition): New function.
652 (elmo-message-match-condition): Use
653 `elmo-message-buffer-match-condition' instead of
654 `elmo-buffer-field-condition-match'.
656 * elmo-util.el (elmo-condition-match): New function.
657 (elmo-condition-optimize): Ditto.
658 (elmo-buffer-field-primitive-condition-match): Abolish.
659 (elmo-buffer-field-condition-match): Ditto.
661 * elmo-archive.el (elmo-archive-field-condition-match): Use
662 `elmo-message-buffer-match-condition' instead of
663 `elmo-buffer-field-condition-match'.
665 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
667 * elmo-flag.el (elmo-global-flags-initialize): Check the
668 existence of the flag directory.
670 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
672 * elmo-access.el (elmo-folder-initialize): Call
673 `elmo-multi-connect-signals'.
675 * elmo-pipe.el (elmo-folder-close): Define.
677 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
680 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
683 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
686 * elmo-multi.el (elmo-message-entity): Don't use return value of
687 `elmo-message-entity-set-number'.
689 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
691 * modb.el (modb-generic): Added slot `mime-charset'.
693 * modb-standard.el (modb-standard): Added slot `overview-handler'.
694 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
695 and `modb-entity-handler-dump-parameters'.
696 (modb-standard-default-entity-handler): Abolish.
697 (elmo-msgdb-message-entity-handler): Save created handler by
700 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
701 (modb-entity-handler-list-parameters): New method.
702 (modb-entity-handler-equal-p): New function.
703 (modb-entity-handler-dump-parameters): Ditto.
704 (modb-entity-parse-address-string): Encode return value.
705 (modb-entity-make-address-string): Decode argument value.
706 (modb-entity-decode-string-recursive): New function.
707 (modb-entity-encode-string-recursive): Ditto.
708 (modb-standard-entity-normalizer): Set to encode field value.
709 (modb-standard-entity-specializer): Follow the above change.
710 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
711 mime-charset of handler.
712 (elmo-msgdb-message-entity-field): Ditto.
713 (elmo-msgdb-copy-message-entity): Fixed reference to internal
715 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
717 * elmo.el (elmo-folder): Added slot `mime-charset'.
718 (elmo-make-folder): Added argument `mime-charset'.
719 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
722 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
723 (elmo-make-msgdb): Likewise.
725 * elmo-internal.el (elmo-internal-folder-initialize): Call
726 `luna-make-entity' with :mime-charset parameter.
728 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
730 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
731 encoded words in `from' and `subject' field.
733 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
735 * modb.el (elmo-msgdb-message-field): Add argument `type'.
736 (elmo-msgdb-match-condition): Get handler from entity instead of
739 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
740 (modb-standard-load-entity): Treat new file format.
741 (modb-standard-save-entity-1): Save as new file format.
742 (modb-standard-save-entity): Split messages into section here.
743 (elmo-msgdb-message-field): Follow the API change.
744 (modb-standard-default-entity-handler): New internal variable.
745 (elmo-msgdb-message-entity-handler): Define.
747 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
749 (modb-entity-field-extractor-alist): New user option.
750 (elmo-msgdb-message-entity-field): Removed argument `decode' and
751 added argument `type'.
752 (elmo-msgdb-copy-message-entity): Add optional argument
754 (modb-set-field-converter): New function.
755 (modb-convert-field-value): Ditto.
756 (modb-entity-string-decoder): Ditto.
757 (modb-entity-string-encoder): Ditto.
758 (modb-entity-parse-date-string): Ditto.
759 (modb-entity-make-date-string): Ditto.
760 (modb-entity-mime-decoder): Ditto.
761 (modb-entity-mime-encoder): Ditto.
762 (modb-entity-address-list-decoder): Ditto.
763 (modb-entity-address-list-encoder): Ditto.
764 (modb-entity-parse-address-string): Ditto.
765 (modb-entity-make-address-string): Ditto.
766 (modb-entity-create-field-indices): Ditto.
767 (modb-legacy-entity-field-slots): New constant.
768 (modb-legacy-entity-field-indices): Ditto.
769 (modb-legacy-entity-normalizer): New variable.
770 (modb-legacy-entity-specializer): Ditto.
771 (modb-legacy-entity-field-index): New macro.
772 (modb-legacy-entity-set-field): New function.
773 (modb-legacy-make-message-entity): Rewrite.
774 (elmo-msgdb-create-message-entity-from-buffer): Use
775 `elmo-msgdb-get-references-from-buffer'. Use
776 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
777 Use `modb-legacy-entity-set-field' instead of
778 `elmo-msgdb-message-entity-set-field'.
779 (elmo-msgdb-message-entity-field): Rewrite.
780 (elmo-msgdb-message-entity-set-field): Ditto.
781 (elmo-msgdb-copy-message-entity): Make new entity by
782 `make-handler' if it specified.
783 (elmo-msgdb-message-match-condition): Define a method of
784 `modb-entity-handler' and follow the API change.
785 (modb-standard-entity-handler): New class.
786 (modb-entity-extract-ml-info-from-x-sequence): New function.
787 (modb-entity-extract-ml-info-from-subject): Ditto.
788 (modb-entity-extract-ml-info-from-return-path): Ditto.
789 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
790 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
791 (modb-entity-extract-mailing-list-info): Ditto.
792 (modb-entity-extract-mailing-list-info-functions): New variable.
794 * elmo.el (elmo-message-field): Add optional argument `type'.
796 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
797 from `modb-entity.el'.
799 * elmo-util.el (elmo-object-load): Decode by coding-system from
800 `set-auto-coding-function'.
801 (elmo-object-save): Use `detect-mime-charset-region' and add
802 coding cookie if encode.
803 (elmo-msgdb-get-references-from-buffer): New function.
804 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
806 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
808 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
809 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
810 instead of `shimbun-make-header' and follow the API change.
811 (elmo-shimbun-update-overview): Follow the API change.
812 (elmo-map-folder-list-message-locations): Ditto.
814 * elmo-pipe.el (elmo-message-field): Ditto.
816 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
819 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
821 * elmo-multi.el (elmo-message-field): Ditto.
823 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
824 (elmo-msgdb-sort-by-date): Ditto.
825 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
826 `elmo-message-entity-field'.
827 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
829 (elmo-msgdb-overview-entity-get-from): Ditto.
830 (elmo-msgdb-overview-entity-get-subject): Ditto.
831 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
832 (elmo-msgdb-overview-entity-get-date): Ditto.
833 (elmo-msgdb-overview-entity-get-to): Ditto.
834 (elmo-msgdb-overview-entity-get-cc): Ditto.
836 * elmo-mime.el (elmo-message-mime-entity): Ditto.
837 (elmo-mime-collect-message/partial-pieces): Ditto.
839 * elmo-filter.el (elmo-message-field): Ditto.
841 * elmo-date.el (elmo-datevec-to-time): New function.
842 (elmo-time-parse-date-string): Ditto.
843 (elmo-time-make-date-string): Ditto.
846 * elmo-version.el (elmo-version): Up to 2.15.1.
848 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
850 * elmo-flag.el (elmo-global-flags-initialize): Don't include
851 member of elmo-local-flags.
853 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
855 * elmo-version.el (elmo-version): Up to 2.15.0.
857 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
859 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
860 `ignore-msgdb' is non-nil.
862 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
864 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
865 (elmo-condition-in-msgdb-p): Ditto.
866 (elmo-file-field-primitive-condition-match): Ditto.
867 (elmo-file-field-condition-match): Ditto.
869 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
871 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
873 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
875 (elmo-global-flags-initialize): New function.
877 * elmo.el (toplevel): Added autoload setting for
878 `elmo-global-flags-initialize'.
880 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
882 * elmo.el (message-number-changed): Define new signal.
883 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
884 message-number-changed signal.
885 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
886 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
887 Respect `elmo-pack-number-check-strict'.
889 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
891 * elmo-signal.el (elmo-connect-signal): Document.
892 (elmo-emit-signal): Ditto.
893 (elmo-emit-signal): It should pass source argument to filter and
894 handler, not slot-source.
896 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
898 * modb.el (elmo-msgdb-update-entity): New API and define generic
901 * modb-standard.el (elmo-msgdb-update-entity): Define.
903 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
904 API and define generic implement.
906 * elmo.el (update-overview): New singnal.
908 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
909 `elmo-msgdb-update-entity' and emit signal `update-overview'.
910 (elmo-message-entity-parent): Define.
912 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
915 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
917 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
919 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
921 * elmo.el (elmo-folder-synchronize): Sort the return value of
924 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
927 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
929 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
930 `default-enable-multibyte-characters'.
931 (elmo-object-load): Use `with-temp-buffer' instead of
933 (elmo-object-save): Ditto.
934 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
936 (elmo-decoded-field-body): Ditto.
938 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
940 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
941 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
943 * elmo-version.el (elmo-version): Up to 2.13.3.
945 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
947 * elmo-util.el (elmo-list-diff): Fix the last change.
948 Reverse order of result lists.
950 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
952 * modb-standard.el (elmo-msgdb-set-flag): Use
953 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
954 (elmo-msgdb-unset-flag): Ditto.
956 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
959 * elmo-util.el (elmo-list-diff): Rewrite.
960 (elmo-list-diff-nonsortable): New function.
962 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
964 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
965 `elmo-multibypte-buffer-name'. All referers are updated.
967 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
969 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
970 (elmo-mime-entity-fragment-p): New function.
971 (mime-elmo-buffer-entity): Added slot `reassembled'.
972 (elmo-message-mime-entity): Added 4th argument `reassemble'.
973 (elmo-message-mime-entity-internal): New function (renamed from
974 `elmo-message-mime-entity').
975 (elmo-mime-inherit-field-list-from-enclosed): New constant.
976 (elmo-mime-make-reassembled-mime-entity): New function.
977 (elmo-message-reassembled-mime-entity): Ditto.
978 (elmo-mime-collect-message/partial-pieces): Ditto.
980 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
982 * elmo.el (elmo-message-fetch-string): Disable multibyte.
984 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
985 (elmo-with-enable-multibyte): New macro.
987 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
989 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
991 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
993 (elmo-filter-connect-signals): Follow the above change.
995 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
997 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
999 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1000 that only the first flag is used.
1002 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1004 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1007 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1009 * elmo-signal.el: New file.
1011 * elmo.el (toplevel): Require elmo-signal.
1012 (flag-changing, flag-changed, cache-changed): New signal.
1013 (elmo-folder): Remove slog `handlers'.
1014 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1015 `elmo-folder-notify-event'.
1016 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1017 (elmo-folder-unset-flag): Ditto.
1018 (elmo-event-handler): Abolish.
1019 (elmo-event-handler-flag-changed): Ditto.
1020 (elmo-event-handler-cache-changed): Ditto.
1021 (elmo-folder-add-handler): Ditto.
1022 (elmo-folder-remove-handler): Ditto.
1023 (elmo-folder-notify-event): Ditto.
1025 * elmo-pipe.el (toplevel): Require elmo-signal.
1026 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1027 (elmo-pipe-connect-signals): New function.
1028 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1029 (elmo-folder-set-flag): Ditto.
1030 (elmo-folder-unset-flag): Ditto.
1031 (elmo-message-set-cached): Ditto.
1033 * elmo-multi.el (toplevel): Require elmo-signal.
1034 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1035 (elmo-multi-connect-signals): New function.
1036 (elmo-multi-map-numbers): Ditto.
1037 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1038 (elmo-message-fetch): Ditto.
1039 (elmo-folder-set-flag): Ditto.
1040 (elmo-folder-unset-flag): Ditto.
1042 * elmo-filter.el (toplevel): Require elmo-signal.
1043 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1044 (elmo-filter-connect-signals): New function.
1045 (elmo-filter-add-flag-count): Ditto.
1046 (elmo-message-fetch): Does not call
1047 `elmo-filter-folder-countup-message-flags' and
1048 `elmo-folder-notify-event'.
1049 (elmo-message-set-cached): Ditto.
1050 (elmo-folder-set-flag): Ditto.
1051 (elmo-folder-unset-flag): Ditto.
1053 * elmo-version.el (elmo-version): Up to 2.13.2.
1055 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1057 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1060 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1062 * elmo-filter.el (elmo-message-set-cached): Call
1063 `elmo-folder-notify-event' with event `cache-changed'.
1065 * elmo-multi.el (elmo-message-set-cached): Ditto.
1067 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1069 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1071 * elmo.el (elmo-folder-encache): Abolish.
1073 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1075 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1076 (elmo-folder-next-message-number-dop): Return appropriate negative
1079 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1081 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1082 clearing pending operations.
1083 (elmo-folder-next-message-number-dop): Return appropriate negative
1086 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1088 * elmo.el (toplevel): Added autoload setting for `md5'.
1089 (elmo-msgdb-path-encode-threshold): New user option.
1090 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1091 longer than `elmo-msgdb-path-encode-threshold'.
1093 * elmo-flag.el (elmo-global-mark-migrate): Use
1094 `elmo-folder-expand-msgdb-path' instead of
1095 `elmo-folder-msgdb-path'.
1097 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1099 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1100 element of the difference is nil.
1102 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1104 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1105 to the check logic of file systems which are weak in colon character.
1107 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1109 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1111 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1113 * elmo-maildir.el (elmo-maildir-move-file): New function.
1114 (elmo-folder-append-buffer): Use it.
1115 (elmo-folder-append-messages): Ditto.
1116 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1118 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1119 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1121 * elmo-maildir.el (elmo-maildir-separator): New user option.
1122 (elmo-maildir-adjust-separator): New macro.
1123 (elmo-maildir-list-location): Use it.
1124 (elmo-maildir-update-current): Ditto.
1125 (elmo-maildir-set-mark): Ditto.
1126 (elmo-maildir-delete-mark): Ditto.
1127 (These changes are based on Hiroya Murata's patch [wl: 13437])
1129 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1131 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1133 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1135 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1136 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1137 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1139 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1141 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1142 Use `with-temp-buffer'.
1144 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1146 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1148 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1149 `wl-read-search-condition').
1150 (elmo-read-search-condition-internal): Likewise.
1152 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1153 (elmo-flag-valid-p): New function.
1154 (elmo-folder-initialize): Check flag name is valid.
1156 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1158 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1159 delimiter to obtain root mailbox itself.
1161 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1163 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1166 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1168 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1171 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1173 * elmo-shimbun.el (toplevel): Require cl at compile.
1175 * elmo-nntp.el (toplevel): Ditto.
1177 * elmo-nmz.el (toplevel): Ditto.
1179 * elmo-multi.el (toplevel): Ditto.
1181 * elmo-file.el (toplevel): Ditto.
1183 * elmo-dop.el (toplevel): Ditto.
1185 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1187 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1189 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1192 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1193 size of elmo-message-fetch-internal is 0 byte.
1195 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1197 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1199 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1201 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1204 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1206 * elmo-maildir.el (elmo-map-message-fetch): Call
1207 `elmo-map-folder-set-flag'.
1209 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1210 (elmo-message-fetch): Merge from
1211 `elmo-message-fetch-with-cache-process'.
1213 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1214 (elmo-message-fetch): Define.
1216 * elmo-nntp.el (elmo-message-fetch): Renamed from
1217 `elmo-message-fetch-with-cache-process'.
1219 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1220 (elmo-message-fetch): Define.
1222 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1225 * elmo-shimbun.el (shimbun-mua-search-id): Use
1226 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1227 (elmo-shimbun-folder-shimbun-header): Ditto.
1228 (elmo-shimbun-get-headers): Ditto.
1229 (elmo-shimbun-update-overview): Ditto.
1231 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1233 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1234 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1236 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1238 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1240 (elmo-message-fetch-string): Fixed argument.
1242 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1244 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1245 exchange order of arguments `section' and `unread'.
1246 (elmo-message-encache): Follow the API change.
1247 (elmo-message-match-condition): Ditto.
1248 (elmo-generic-folder-append-messages): Ditto.
1249 (elmo-message-fetch-string): New function.
1251 * elmo-split.el (elmo-split-subr): Ditto.
1253 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1255 * elmo-pipe.el (elmo-message-fetch): Ditto.
1257 * elmo-multi.el (elmo-message-fetch): Ditto.
1259 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1261 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1263 * elmo-filter.el (elmo-message-fetch): Ditto.
1265 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1267 * elmo-imap4.el (mime-imap-location-section-body): Use
1268 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1269 follow the API change.
1271 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1273 * elmo-access.el: New file.
1275 * elmo-null.el: Ditto.
1277 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1279 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1281 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1282 (elmo-network-session): New attribute `last-accessed'.
1283 (elmo-network-get-session): Discard network cache if elapsed time
1284 since last-accessed is larger than elmo-network-session-idle-timeout.
1286 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1288 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1289 and added `number', `require-entireness'.
1290 (elmo-find-fetch-strategy): Rewrite.
1291 (elmo-message-fetch): Unset `unread' flag when argument unread is
1294 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1296 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1297 (elmo-message-fetch): Notify event `flag-changed'.
1299 * elmo-pipe.el: Likewise.
1301 * elmo-mime.el (elmo-mime-entity): New class.
1302 (elmo-mime-entity-display-p): New generic function.
1303 (elmo-mime-entity-display): Ditto.
1304 (elmo-mime-entity-display-as-is): Ditto.
1305 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1307 (elmo-make-mime-message-location): Removed.
1308 (elmo-mime-message-display): Ditto.
1309 (elmo-mime-display-as-is): Ditto.
1310 (elmo-message-mime-entity): New function.
1312 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1314 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1316 (elmo-message-fetch): Re-count flagged message number and notify
1317 event `flag-changed'.
1319 * elmo-version.el (elmo-version): Up to 2.13.1.
1321 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1323 * elmo-filter.el (elmo-message-field): Define.
1324 (elmo-message-set-field): Ditto.
1326 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1328 * elmo.el (elmo-message-set-cached): Call
1329 `elmo-folder-notify-event' with cache-changed.
1330 (elmo-event-handler-cache-changed): New generic function.
1332 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1334 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1335 instead of elmo-add-name-to-file.
1336 (elmo-folder-append-messages): Ditto.
1338 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1340 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1342 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1344 * elmo-version.el (elmo-version): Up to 2.13.0.
1346 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1349 * modb-standard.el (modb-standard-economize-entity-size): Changed
1350 default value to `t'.
1352 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1355 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1356 after parsing greeting string.
1358 2004-11-23 Daishi Kato <daishi@axlight.com>
1360 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1362 (elmo-spam-spamoracle-call): Use it.
1364 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1366 * elmo.el (elmo-message-accessible-p): Message in dop spool
1369 2004-11-23 Daishi Kato <daishi@axlight.com>
1371 * elsp-spamoracle.el: New file.
1373 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1375 * elmo.el (elmo-message-flags-for-append): New function.
1376 (elmo-generic-folder-append-messages): Use it.
1378 * elmo-split.el (elmo-split-subr): Ditto.
1380 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1381 `flags' and use elmo-folder-append-buffer instead of
1382 write-region-as-binary.
1383 (elmo-dop-filter-pending-messages): New function.
1384 (elmo-folder-append-buffer-dop): Call
1385 elmo-dop-spool-folder-append-buffer with `flag'.
1386 (elmo-folder-set-flag-dop): Filter messages by
1387 elmo-dop-filter-pending-messages.
1388 (elmo-folder-unset-flag-dop): Ditto.
1389 (elmo-folder-append-buffer-dop-delayed): Use
1390 elmo-message-flags-for-append to get flags of the message and
1393 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1395 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1397 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1399 * elmo.el (elmo-folder): Added handlers slot.
1400 (elmo-event-handler): New class.
1401 (elmo-event-handler-flag-changed): New API.
1402 (elmo-folder-add-handler): New function.
1403 (elmo-folder-remove-handler): Ditto.
1404 (elmo-folder-notify-event): Ditto.
1405 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1407 (elmo-folder-unset-flag): Ditto.
1409 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1410 (elmo-folder-unset-flag): Ditto.
1412 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1413 (elmo-folder-unset-flag): Ditto.
1415 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1416 (elmo-folder-unset-flag): Ditto.
1418 * elmo-version.el (elmo-version): Up to 2.11.33.
1420 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1422 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1424 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1426 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1428 * elmo-flag.el (elmo-folder-unset-flag): Define.
1429 (elmo-global-flag-detach): Do process when the flag is not target
1432 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1434 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1436 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1438 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1440 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1442 (elmo-folder-delete-messages): Detach messages before delete
1443 messages from target folder.
1444 (elmo-folder-detach-messages): Set updated number-list to slot.
1446 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1448 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1450 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1452 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1454 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1456 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1458 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1460 (elmo-folder-delete-messages): Define.
1461 (elmo-folder-move-messages): Don't call
1462 `elmo-folder-detach-messages'.
1463 (elmo-folder-synchronize): Rewrite.
1464 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1466 * elmo-util.el (elmo-last): New function.
1467 (elmo-set-list): Ditto.
1468 (elmo-number-set-delete-list): Ditto.
1469 (elmo-number-set-delete): Ditto.
1471 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1473 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1474 `elmo-folder-delete-messages' and don't delete location map.
1475 (elmo-folder-detach-messages): Define.
1477 * elmo-imap4.el (elmo-folder-delete): Use
1478 `elmo-folder-delete-messages-internal' instead of
1479 `elmo-folder-delete-messages'.
1481 * elmo-filter.el (elmo-folder-delete-messages): Call
1482 `elmo-folder-detach-messages'.
1483 (elmo-folder-detach-messages): Don't call
1484 `elmo-folder-detach-messages' for target folder.
1486 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1487 message deletion is succeeded.
1489 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1491 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1492 from `elmo-folder-delete-messages'.
1494 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1496 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1498 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1500 * elmo-version.el (elmo-version): Up to 2.11.32.
1502 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1504 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1505 (elmo-global-flag-list): Added obsolete variable setting.
1507 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1509 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1510 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1511 `elmo-mime-display-header-analysis' is nil.
1513 * elmo-flag.el (elmo-global-flags): Renamed from
1514 `elmo-global-flag-list' (All other related portions are changed).
1515 (elmo-local-flags): New variable.
1516 (elmo-local-flag-p): New function.
1517 (elmo-global-flag-set-internal): Cause an error when flag is not
1520 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1522 * elmo-util.el (elmo-concat-path): Treat empty path.
1524 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1526 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1528 (elmo-split-address-match): Ditto.
1529 (elmo-split-equal): Ditto.
1530 (elmo-split-match): Ditto.
1532 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1534 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1535 (elmo-generic-folder-append-messages): If src message exists but
1536 has no flag, pass (read) for the FLAG argument of
1537 `elmo-folder-append-buffer'. Otherwise, pass nil.
1539 * elmo-split.el (elmo-split-subr): Likewise.
1541 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1543 * elmo-multi.el (elmo-message-flags): Ditto.
1545 * elmo-filter.el (elmo-message-flags): Ditto.
1547 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1548 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1549 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1551 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1553 * elmo-split.el (elmo-split-rule): Update comment.
1554 (elmo-split-address-equal): Allow 2nd argument to be a list.
1555 (elmo-split-address-match): Ditto.
1556 (elmo-split-equal): Ditto.
1557 (elmo-split-match): Ditto.
1559 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1561 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1562 (elmo-folder-append-msgdb): Don't treat `read'.
1563 (elmo-message-flags): Don't return `read'.
1565 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1566 (elmo-folder-unset-read-delayed): Ditto.
1568 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1570 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1572 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1575 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1577 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1580 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1582 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1584 (elmo-msgdb-save): Bind inhibit-quit.
1585 (modb-standard-message-entity): Ditto.
1587 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1589 * elmo-database.el: No need to require elmo-msgdb.
1591 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1593 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1594 instead of `elmo-list-subdirectories'.
1596 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1598 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1600 (elmo-folder-exists-p): "[" is empty.
1601 (elmo-folder-list-subfolders): Define.
1602 (elmo-folder-have-subfolder-p): Ditto.
1604 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1606 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1608 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1610 * elmo-filter.el (elmo-folder-local-p): Define.
1612 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1614 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1615 when entity is garbaged.
1616 (modb-standard-save-entity-1): Don't modify the original entity.
1618 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1620 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1622 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1624 * elmo.el (elmo-strict-folder-diff): Use
1625 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1627 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1629 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1630 (elmo-msgdb-message-number): Ditto.
1631 (elmo-msgdb-message-field): Ditto.
1633 * modb-standard.el (modb-standard-economize-entity-size): New user
1635 (modb-standard-loaded-message-id): New inline function.
1636 (modb-standard-load-entity): Use it.
1637 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1638 throw message-id string away.
1639 (elmo-msgdb-flag-available-p): Define.
1640 (elmo-msgdb-message-number): Ditto.
1641 (elmo-msgdb-message-field): Ditto.
1643 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1644 (suppoted -> supported).
1645 (modb-legacy-supported-flag-p): Ditto.
1646 (elmo-msgdb-set-flag): Ditto.
1647 (elmo-msgdb-unset-flag): Ditto.
1648 (elmo-msgdb-flag-available-p): Define.
1650 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1651 is `t', treat it as legacy entity.
1653 * elmo.el (elmo-message-flag-available-p): New generic function.
1654 (elmo-message-number): Ditto.
1655 (elmo-message-field): Use `elmo-msgdb-message-field'.
1657 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1659 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1660 (elmo-message-number): Ditto.
1662 * elmo-multi.el (elmo-message-number): Define.
1663 (elmo-message-flag-available-p): Ditto.
1665 * elmo-filter.el (elmo-message-flag-available-p): Define.
1666 (elmo-message-number): Ditto.
1668 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1669 (elmo-folder-initialize): Load `max-number'.
1670 (elmo-folder-commit): Save it.
1671 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1672 (elmo-global-flag-set-internal): Set up max-number slot.
1674 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1676 * elmo-version.el (elmo-version): Up to 2.11.31.
1678 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1680 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1681 unibyte string of the current buffer for the argument of `md5'
1682 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1684 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1686 * modb-legacy.el (modb-legacy-flag-list): New constant.
1687 (modb-legacy-suppoted-flag-p): New internal function.
1688 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1689 (elmo-msgdb-unset-flag): Ditto.
1691 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1693 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1695 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1698 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1700 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1701 (follow the API change).
1703 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1705 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1707 * modb-standard.el (modb-standard-digest-flags): Abolish.
1708 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1710 * elmo-vars.el (elmo-digest-flags): New variable.
1711 (elmo-preserved-flags): Moved from elmo-flag.el.
1713 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1714 (elmo-imap4-flag-to-imap-criteria): Ditto.
1715 (elmo-imap4-folder-list-flagged): Use it.
1717 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1719 * elmo.el (elmo-folder-count-flags): Changed return value.
1721 * elmo-flag.el (elmo-preserved-flags): New variable.
1722 (elmo-get-global-flags): Use it.
1724 * modb-standard.el (modb-standard-digest-flags): New variable.
1725 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1726 Changed behavior of `any'.
1728 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1729 which are defined the Internet draft
1730 (draft-melnikov-imap-keywords-03.txt).
1731 (elmo-imap4-flags-to-imap): New function.
1732 (elmo-folder-append-buffer): Use it.
1734 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1737 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1738 avoid the bug of Emacs 21.3.
1740 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1742 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1743 function find-coding-system does not exist.
1745 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1747 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1750 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1752 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1755 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1757 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1758 (elmo-network-close-session): Follow the changes in
1759 `elmo-pop3-read-response'.
1760 (elmo-pop3-auth-user): Ditto.
1761 (elmo-pop3-auth-apop): Ditto.
1762 (elmo-network-initialize-session): Ditto.
1763 (elmo-network-authenticate-session): Ditto.
1764 (elmo-network-setup-session): Ditto.
1765 (elmo-folder-status): Ditto.
1766 (elmo-message-fetch-plugged): Ditto.
1767 (elmo-pop3-delete-msg): Ditto.
1769 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1771 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1774 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1776 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1778 (elmo-bind-directory): Ditto.
1780 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1782 * elmo.el (elmo-folder-append-messages): Note on return value.
1783 * elmo-archive.el (elmo-folder-append-messages): Don't return
1784 message numbers which could not be appended.
1786 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1788 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1790 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1792 * elmo-version.el (elmo-version): Up to 2.11.30.
1794 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1796 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1799 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1801 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1802 (elmo-multi-split-numbers): Add elmo-folder object into each
1803 element of return value at first.
1804 (elmo-folder-delete-messages): Follow the above change.
1805 (elmo-folder-detach-messages): Ditto.
1807 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1808 number which is synchronized in target folder.
1810 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1812 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1813 Change default value to symbol `all'.
1814 (elmo-map-message-fetch): Change condition to update overview
1817 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1819 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1820 behavior to update overview.
1821 (elmo-shimbun-update-overview-folder-list): Note it.
1823 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1825 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1828 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1830 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1831 buffer-disable-undo, it is unnecessary.
1832 (elmo-spam-register-good-messages): Ditto.
1834 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1837 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1839 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1841 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1842 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1843 elmo-set-buffer-multibyte.
1844 (elmo-object-load): Ditto.
1845 (elmo-save-buffer): Ditto.
1846 (elmo-delete-char): Ditto.
1847 (elmo-file-field-primitive-condition-match): Ditto.
1848 (elmo-mime-string): Ditto.
1850 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1851 (elmo-archive-field-condition-match): Ditto.
1853 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1855 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1857 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1858 (elmo-nntp-msgdb-create-message): Ditto.
1860 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1862 * elmo.el (elmo-message-match-condition): Ditto.
1863 (elmo-message-match-condition): Ditto.
1865 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1868 * elmo-version.el (elmo-version): Up to 2.11.29.
1870 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1871 (elsp-header): New backend.
1873 * elmo-util.el (elmo-decoded-field-body): New function.
1875 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * elmo-version.el (elmo-version): Up to 2.11.28.
1879 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1881 * elmo-filter.el: Rewrite.
1883 * elmo-version.el (elmo-version): Up to 2.11.27.
1885 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1887 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1888 msgdb path for the localdir folder with absolute path.
1890 * utf7.el: Synch up with latest gnus/utf7.el;
1891 Modified for latest Emacs.
1893 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1895 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1896 shimbun backend couldn't open.
1898 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1900 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1901 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1902 when a destination folder is a filter folder.
1904 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1906 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1907 (elmo-generic-folder-append-messages): Call elmo-message-flags
1908 with argument `msgid'.
1910 * elmo-split.el (elmo-split-subr): Ditto.
1912 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1914 * elmo-multi.el (elmo-message-flags): Ditto.
1916 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1918 * elmo.el (elmo-folder): Add new slot `flag-table'.
1919 (elmo-folder-flag-table): New API.
1920 (elmo-folder-close-flag-table): Ditto.
1921 (elmo-folder-preserve-flags): New function.
1922 (elmo-generic-folder-append-messages): Use
1923 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1924 Flag of a non-registered message, it sets to nil.
1925 Does not set flag to flag-table.
1927 * elmo-maildir.el (elmo-folder-append-buffer): Use
1928 `elmo-folder-preserve-flags'.
1929 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1930 `elmo-folder-close-flag-table'.
1932 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1933 (elmo-archive-folder-append-buffer): Use
1934 `elmo-folder-preserve-flags'.
1936 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1938 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1940 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1941 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1942 `elmo-folder-close-flag-table'.
1944 * elmo-version.el (elmo-version): Up to 2.11.26.
1946 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1948 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1950 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1951 md5's 4th and 5th argument (non-existent in flim one).
1953 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1955 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1956 message, It sets to nil.
1958 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1960 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1963 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1965 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1967 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1969 * elmo-util.el (elmo-uniq-sorted-list): New function.
1970 (elmo-make-number-list): Ditto.
1971 (elmo-number-set-to-number-list): Use elmo-make-number-list
1972 and don't use nreverse.
1974 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1976 * elmo-version.el (elmo-version): Up to 2.11.25.
1978 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1980 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1981 field not exists in message, Use md5 message digest of header.
1983 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1985 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1986 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1987 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1988 * elmo-split.el (elmo-split-subr): Check return value of
1989 elmo-folder-append-buffer.
1991 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1992 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1994 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1997 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1999 * elmo-split.el (elmo-split-subr): Append message with flag.
2001 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2002 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2003 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2005 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2007 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2008 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2009 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2011 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2013 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2014 with a function call of `process-buffer'. All callers are updated.
2015 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2016 Remove redundant `set-buffer' in a while loop.
2018 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2020 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2023 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2025 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2026 elsp-spamfilter-register-buffer-internal with current buffer.
2027 (elmo-spam-register-spam-buffer): Ditto.
2028 (elmo-spam-register-good-buffer): Ditto.
2030 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2032 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2033 if it is not contained in the response(A workaround for courier-imap).
2035 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2037 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2040 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2042 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2045 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2047 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2050 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2052 (elmo-msgdb-message-match-condition): Follow the change above.
2054 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2056 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2059 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2061 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2063 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2065 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2067 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2069 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2072 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2074 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2076 (elmo-file-command-argument): Undo last change for cygwin.
2077 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2079 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2081 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2083 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2084 value returned from elmo-file-find is nil.
2086 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2088 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2091 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2092 instead of insert-file-contents-as-binary.
2093 (elmo-message-set-field): New generic function.
2095 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2096 behavior change on `split-string'.
2098 * elmo-file.el (elmo-file-find): New function.
2099 (elmo-file-command): New user option.
2100 (elmo-file-command-argument): Ditto.
2101 (elmo-file-fetch-max-size): Ditto.
2102 (elmo-file-detect-format): New function.
2103 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2104 Use elmo-file-detect-format.
2105 (elmo-map-folder-list-message-locations): Don't treat directories.
2107 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2109 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2110 (elmo-passwd-alist-clear): Shred password before clear.
2111 (elmo-remove-passwd): Remove all mached pair.
2113 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2115 * elmo.el (elmo-folder-synchronize): Fix description of the return
2118 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2120 * elmo.el (elmo-message-fetch-bodystructure): New method.
2121 (elmo-message-fetch-bodystructure): Define default.
2123 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2124 elmo-message-fetch-bodystructure.
2125 (elmo-message-fetch-bodystructure): Define.
2127 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2129 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2131 * elmo-filter.el (elmo-message-folder): Define.
2133 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2135 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2136 elmo-delete-cr-buffer.
2138 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2140 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2142 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2144 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2145 type seems to be a text.
2147 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2149 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2150 (elmo-spam-register-good-buffer): Ditto.
2151 (elmo-spam-spamassassin-register-messages): Ditto.
2153 * elmo-util.el (elmo-string-member-ignore-case): Define with
2156 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2158 * elmo.el (elmo-folder-type): Undo last change.
2160 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2162 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2165 * elmo-file.el: New file.
2167 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2169 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2171 (elmo-spam-spamassassin-register-messages): New inline function.
2172 (elmo-spam-register-spam-messages): Define.
2173 (elmo-spam-register-good-messages): Ditto.
2175 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2178 * elmo.el (toplevel): Added autoload setting for
2179 `elmo-get-global-flags'.
2180 (elmo-message-has-global-flag-p): New function.
2181 (elmo-message-set-global-flags): Ditto.
2182 (elmo-folder-type): Improvement for name: format.
2184 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2185 availability of keyword flags.
2186 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2187 (elmo-folder-list-flagged-plugged): Renamed from
2188 elmo-folder-list-flagged-unplugged.
2189 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2190 accept any flag as keyword flag.
2191 (elmo-folder-set-flag-plugged): Accept keyword flags.
2192 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2194 * elmo-flag.el (elmo-get-global-flags): New function.
2196 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2199 * elmo-version.el (elmo-version): Up to 2.11.24.
2201 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2203 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2204 elmo-multiple-field-body instead of std11-field-body to check all
2207 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2209 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2212 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2214 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2215 unintern is unbound.
2217 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2219 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2220 Protect from infinite loop.
2222 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2224 * elsp-bogofilter.el
2225 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2226 (elmo-spam-bogofilter-register-messages): New internal function.
2227 (elmo-spam-register-spam-messages): Define.
2228 (elmo-spam-register-good-messages): Ditto.
2230 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2232 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2233 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2234 (elmo-spam-bogofilter-call): Fixed the last change.
2235 (elmo-spam-bogofilter-arguments): Ditto.
2237 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2238 Follow the options change of latest bogofilter.
2240 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2241 (elmo-spam-bogofilter-good-switch): Ditto.
2242 (elmo-spam-bogofilter-arguments-alist): New user option.
2243 (elmo-spam-bogofilter-debug): Ditto.
2244 (elmo-spam-bogofilter-call): Renamed from
2245 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2246 is non-nil, insert output in buffer for debug.
2247 (elmo-spam-bogofilter-arguments): New macro.
2248 (elmo-spam-buffer-spam-p): Use it.
2249 (elsp-bogofilter-register-buffer): Ditto.
2251 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2253 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2256 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2258 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2260 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2261 (elmo-spam-bsfilter-program): Set default value as full path for
2263 (elmo-spam-bsfilter-debug): New user option.
2264 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2265 non-nil, insert output in buffer for debug. Fix treating of
2268 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2270 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2271 `elmo-maildir-flag-specs' element instead of one.
2272 (elmo-map-folder-unset-flag): Ditto.
2273 (Reported by Ken Makimura <macky@astem.or.jp>)
2275 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2276 (elmo-folder-unset-flag-plugged): Ditto.
2278 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2280 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2281 to `reads' slot only if `in-msgdb' is nil.
2283 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2285 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2286 and complement argument list.
2288 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2290 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2291 instead of elmo-folder-list-flagged.
2293 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2295 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2297 * elsp-bsfilter.el: New file.
2299 * elmo-pipe.el (elmo-folder-list-unreads,
2300 elmo-folder-list-answereds,
2301 elmo-folder-list-importants,
2302 elmo-folder-flag-as-important,
2303 elmo-folder-unflag-important,
2304 elmo-folder-flag-as-read,
2305 elmo-folder-unflag-read,
2306 elmo-folder-flag-as-answered,
2307 elmo-folder-unflag-answered): Remove.
2308 (elmo-folder-set-flag): Define.
2309 (elmo-folder-unset-flag): Ditto.
2311 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2312 (elmo-folder-set-flag): Define.
2313 (elmo-folder-unset-flag): Ditto.
2314 (elmo-folder-list-unreads): Remove.
2315 (elmo-folder-list-flagged): Define.
2317 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2318 (elmo-folder-list-unreads,
2319 elmo-folder-list-importants,
2320 elmo-folder-list-answereds,
2321 elmo-folder-list-unreads-plugged,
2322 elmo-folder-list-importants-plugged,
2323 elmo-folder-list-answereds-plugged): Remove.
2324 (elmo-folder-list-flagged-plugged): New method.
2325 (elmo-folder-unflag-important,
2326 elmo-folder-flag-as-important,
2327 elmo-folder-unflag-read,
2328 elmo-folder-flag-as-read,
2329 elmo-folder-unflag-answered,
2330 elmo-folder-flag-as-answered,
2331 elmo-folder-flag-as-read-unplugged,
2332 elmo-folder-unflag-read-unplugged,
2333 elmo-folder-flag-as-important-unplugged,
2334 elmo-folder-unflag-important-unplugged,
2335 elmo-folder-flag-as-answered-unplugged,
2336 elmo-folder-unflag-answered-unplugged): Remove.
2337 (elmo-folder-set-flag): Define.
2338 (elmo-folder-unset-flag): Ditto.
2339 (elmo-folder-set-flag-unplugged): Ditto.
2340 (elmo-folder-unset-flag-unplugged): Ditto.
2342 * elmo-multi.el (elmo-folder-list-unreads,
2343 elmo-folder-list-answereds,
2344 elmo-folder-list-importants,
2345 elmo-folder-flag-as-important,
2346 elmo-folder-unflag-important,
2347 elmo-folder-flag-as-read,
2348 elmo-folder-unflag-read,
2349 elmo-folder-flag-as-answered,
2350 elmo-folder-unflag-answered): Remove.
2351 (elmo-folder-set-flag): Define.
2352 (elmo-folder-unset-flag): Ditto.
2354 * elmo-map.el (elmo-map-folder-unflag-important,
2355 elmo-map-folder-flag-as-important,
2356 elmo-map-folder-unflag-read,
2357 elmo-map-folder-flag-as-read,
2358 elmo-map-folder-unflag-answered,
2359 elmo-map-folder-flag-as-answered): Remove.
2360 (elmo-map-folder-set-flag): New method.
2361 (elmo-map-folder-unset-flag): Ditto.
2362 (elmo-map-folder-list-unreads,
2363 elmo-map-folder-list-importants,
2364 elmo-map-folder-list-answereds): Remove.
2365 (elmo-folder-list-flagged-internal): Define.
2366 (elmo-map-folder-list-flagged): New method.
2368 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2369 (elmo-map-folder-list-unreads,
2370 elmo-map-folder-list-importants,
2371 elmo-map-folder-list-flagged): Remove.
2372 (elmo-map-folder-list-flagged): Define.
2373 (elmo-map-folder-flag-as-important,
2374 elmo-map-folder-unflag-important,
2375 elmo-map-folder-flag-as-read,
2376 elmo-map-folder-unflag-read,
2377 elmo-map-folder-flag-as-answered,
2378 elmo-map-folder-unflag-answered): Remove.
2379 (elmo-maildir-set-mark-messages): New internal function.
2380 (elmo-map-folder-set-flag): Define.
2381 (elmo-map-folder-unset-flag): Ditto.
2383 * elmo.el (toplevel): Added autoload setting for
2384 `elmo-folder-list-global-flag-messages'.
2385 (elmo-folder-list-unreads,
2386 elmo-folder-list-importants,
2387 elmo-folder-list-answereds): Remove.
2388 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2389 Return a list whitch merged with messages have global flag.
2390 (elmo-folder-list-flagged-internal): New method.
2391 (elmo-folder-unflag-important,
2392 elmo-folder-flag-as-important,
2393 elmo-folder-unflag-read,
2394 elmo-folder-flag-as-read,
2395 elmo-folder-unflag-answered,
2396 elmo-folder-flag-as-answered): Remove.
2397 (elmo-folder-set-flag): New method.
2398 (elmo-folder-unset-flag): Ditto.
2399 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2400 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2402 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2403 (elmo-folder-list-unreads-plugged,
2404 elmo-folder-list-importants-plugged,
2405 elmo-folder-list-answereds-plugged,
2406 elmo-folder-list-flagged-unplugged,
2407 elmo-folder-unflag-important-plugged,
2408 elmo-folder-flag-as-important-plugged,
2409 elmo-folder-unflag-read-plugged,
2410 elmo-folder-flag-as-read-plugged,
2411 elmo-folder-unflag-answered-plugged,
2412 elmo-folder-flag-as-answered-plugged): Remove.
2413 (elmo-folder-set-flag-plugged,
2414 elmo-folder-unset-flag-plugged): Define.
2416 * elmo-flag.el (elmo-folder-initialize): Register to
2417 `elmo-global-flag-list' if flag is not global.
2418 (elmo-folder-append-messages): Set flag to source messages.
2420 * elmo-filter.el (elmo-filter-folder-list-unreads,
2421 elmo-folder-list-unreads,
2422 elmo-filter-folder-list-importants,
2423 elmo-folder-list-importants,
2424 elmo-folder-flag-as-read,
2425 elmo-folder-unflag-read,
2426 elmo-folder-flag-as-important,
2427 elmo-folder-unflag-important,
2428 elmo-folder-flag-as-answered,
2429 elmo-folder-unflag-answered): Remove.
2430 (elmo-folder-set-flag): Define.
2431 (elmo-folder-unset-flag): Ditto.
2433 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2434 elmo-folder-unflag-read-dop,
2435 elmo-folder-flag-as-important-dop,
2436 elmo-folder-unflag-important-dop,
2437 elmo-folder-flag-as-answered-dop,
2438 elmo-folder-unflag-answered-dop): Remove.
2439 (elmo-folder-set-flag-dop,
2440 elmo-folder-unset-flag-dop,
2441 elmo-folder-set-important-delayed,
2442 elmo-folder-unset-important-delayed,
2443 elmo-folder-set-read-delayed,
2444 elmo-folder-unset-read-delayed,
2445 elmo-folder-set-answered-delayed,
2446 elmo-folder-unset-answered-delayed): New function.
2447 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2448 (elmo-dop-queue-method-name-alist): Ditto.
2450 * elmo-version.el (elmo-version): Up to 2.11.23.
2452 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2454 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2456 * elsp-sa.el: New file.
2458 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2460 * modb-standard.el (modb-standard-message-entity): New function.
2461 (elmo-msgdb-message-entity): Use it.
2463 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2465 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2466 behavior when one-level is nil.
2468 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2470 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2472 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2474 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2476 (elmo-generic-folder-diff): Ditto.
2478 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2479 (elmo-folder-update-number): Ditto.
2481 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2482 (elmo-folder-next-message-number-dop): Ditto.
2484 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2486 * elmo-filter.el (elmo-folder-msgdb-create): Use
2487 `elmo-message-entity' and `elmo-message-flags' instead of
2488 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2490 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2492 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2495 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2497 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2499 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2501 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2503 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2505 * elmo-version.el (elmo-version): Up to 2.11.22.
2507 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2509 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2511 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2513 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2514 if the message dose not exist.
2516 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2518 * elmo-version.el (elmo-version): Up to 2.11.21.
2520 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2522 * modb-standard.el (toplevel): Don't require mime.
2524 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2526 * elsp-bogofilter.el (toplevel): Don't require path-util.
2527 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2528 (elmo-spam-bogofilter-header): Abolish.
2529 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2530 (elmo-spam-bogofilter-args): New user option.
2531 (elsp-bogofilter-call-bogofilter): New internal function.
2532 (elmo-spam-buffer-spam-p): Use it.
2533 (elsp-bogofilter-register-buffer): Renamed from
2534 `elmo-spam-bogofilter-register-buffer';
2535 Use `elsp-bogofilter-call-bogofilter'.
2536 (elmo-spam-register-spam-buffer): Follow the change above.
2537 (elmo-spam-register-good-buffer): Ditto.
2539 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2541 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2542 message-id is nil do nothing.
2544 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2546 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2548 (elmo-imap4-session): Removed use-flag slot.
2549 (elmo-imap4-session-select-mailbox): Undo last change.
2550 (elmo-folder-use-flag-p): Use
2551 elmo-imap4-disuse-server-flag-mailbox-regexp.
2553 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2555 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2556 (elmo-imap4-session-select-mailbox): Set it up.
2557 (elmo-folder-use-flag-p): Return value of use-flag slot.
2559 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2561 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2563 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2565 * modb-entity.el (elmo-message-entity-handler): Likewise.
2567 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2569 * elmo.el (toplevel): Remove setting of autoloding for
2570 elmo-global-flag-initialize.
2571 (elmo-init): Don't call elmo-global-flag-initialize.
2572 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2574 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2575 (elmo-global-mark-migrate): Don't call it.
2576 (elmo-global-mark-upgrade): Ditto.
2578 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2580 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2581 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2583 * elmo-vars.el (elmo-init-hook): New user option.
2585 * elmo.el (elmo-init): Run the elmo-init-hook.
2587 * elmo-flag.el (elmo-global-mark-migrate): New function.
2589 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2591 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2592 Undo last change (move to elmo-msgdb-unset-flag).
2593 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2596 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2598 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2600 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2601 (elmo-msgdb-unset-flag): Ditto.
2603 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2605 * elmo-split.el (elmo-split): Return split message count.
2607 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2609 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2612 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2614 * elmo.el (elmo-folder-unflag-important): Call
2615 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2618 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2620 (elmo-global-flag-detach): Delete the message from flag folder, if
2621 `delete-if-none' is a symbol `always'.
2623 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2625 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2626 `elmo-spam-spamfilter-decode-buffer'.
2627 (elsp-spamfilter-register-buffer-internal): New internal function.
2628 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2629 (elmo-spam-register-spam-buffer): Ditto.
2630 (elmo-spam-register-good-buffer): Ditto.
2632 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2634 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2635 (elmo-spam-register-spam-buffer): Follow the API change.
2636 (elmo-spam-register-good-buffer): Ditto.
2638 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2639 (elmo-split-spam-p): Added argument plist; Call
2640 `elmo-spam-buffer-spam-p' with new argument register.
2642 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2644 (elmo-spam-message-spam-p): Ditto.
2645 (elmo-spam-register-spam-buffer): Added optional argument
2647 (elmo-spam-register-good-buffer): Ditto.
2648 (elmo-spam-register-spam-messages): Ditto.
2649 (elmo-spam-register-good-messages): Ditto.
2651 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2653 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2654 register into good corpus.
2655 (elmo-spam-register-good-buffer): Fixed to register into bad
2658 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2660 * elmo-version.el (elmo-version): Up to 2.11.20.
2662 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2665 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2666 flag without depending on \Recent flag.
2668 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2670 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2671 (elmo-spam-modified-p): Defined.
2672 (elmo-spam-save-status): Set `modified' slot to nil.
2673 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2674 (elmo-spam-register-good-buffer): Ditto.
2676 * elmo-spam.el (elmo-spam-modified-p): New API.
2678 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2680 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2681 duplicate definition.
2683 * elmo-util.el (elmo-unfold-field-body): New function.
2684 (elmo-msgdb-get-message-id-from-buffer): Use it.
2686 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2687 Fixed the last change; Use elmo-unfold-field-body.
2689 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2691 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2694 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2696 * elmo-spam.el (elmo-spam-save-status): New API.
2698 * elsp-spamfilter.el: New file.
2700 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2702 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2704 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2706 * elmo-split.el (elmo-split-spam-p): New function.
2708 * elmo-spam.el: New file.
2710 * elsp-bogofilter.el: Ditto.
2712 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2714 * elmo.el (elmo-folder-next-message-number): New API.
2715 (elmo-folder-next-message-number): Define.
2716 (elmo-message-field): Don't check folder length.
2718 * elmo-net.el (elmo-folder-next-message-number): Define.
2719 (elmo-folder-next-message-number-unplugged): Define.
2721 * elmo-map.el (elmo-folder-next-message-number): Define.
2722 (elmo-folder-delete-messages): Clear hash value.
2724 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2726 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2727 (elmo-folder-delete-messages-dop-delayed): Always return t.
2729 * elmo-version.el (elmo-version): Up to 2.11.19.
2731 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2733 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2736 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2737 identical cons cell into the mark-alist and the hash table.
2739 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2741 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2742 elmo-folder-list-messages with argument `visible-only' as t.
2744 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2745 (elmo-folder-msgdb-create): Check the target folder.
2747 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2749 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2750 `permanentflag' instead of `flags'.
2751 (elmo-folder-open): Ditto.
2752 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2753 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2754 (elmo-folder-use-flag-p): Always return t.
2755 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2756 `permanentflags' does not exist.
2757 (elmo-folder-open): Ditto.
2759 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2761 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2763 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2765 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2766 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2768 (elmo-folder-open): Ditto.
2769 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2770 slot of the session includes the flag.
2771 (elmo-imap4-session-flag-available-p): New function.
2772 (elmo-imap4-folder-list-flagged): Ditto.
2773 (elmo-folder-list-unreads-plugged): Use it.
2774 (elmo-folder-list-importants-plugged): Ditto.
2775 (elmo-folder-list-answereds-plugged): Ditto.
2776 (elmo-imap4-search-internal-primitive): Ditto.
2777 (elmo-imap4-folder-list-any-plugged,
2778 elmo-imap4-folder-list-digest-plugged): Abolish.
2780 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2783 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2785 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2787 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2789 * elmo-util.el (elmo-get-hash-val): Simplify.
2790 (elmo-set-hash-val): Rewrite.
2792 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2794 * elmo.el (elmo-folder-list-messages): Append killed messages into
2795 result if `visible-only' is nil and `in-msgdb' is non-nil.
2797 * elmo-util.el (elmo-uniq-list): Added optional argument
2800 * modb.el (elmo-msgdb-flag-count): New API.
2802 * modb-standard.el (modb-standard): Added slot flag-count.
2803 (modb-standard-countup-flags): New function.
2804 (modb-standard-load-flag): Call it.
2805 (elmo-msgdb-append): Ditto.
2806 (elmo-msgdb-clear): Clear slot flag-count.
2807 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2808 (elmo-msgdb-unset-flag): Treat `all' flag and call
2809 modb-standard-countup-flags.
2810 (elmo-msgdb-flag-count): Define.
2811 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2812 (elmo-msgdb-delete-messages): Ditto.
2814 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2815 (elmo-msgdb-flag-count): Define.
2817 * elmo.el (elmo-folder-list-messages): Undo last change.
2818 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2819 (elmo-folder-kill-messages): Unset all flags to numbers.
2821 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2822 elmo-folder-kill-messages.
2824 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2825 (elmo-nntp-folder-delete-messages): Abolish.
2827 * elmo-version.el (elmo-version): Up to 2.11.18.
2829 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2831 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2832 (elmo-folder-kill-messages-range): New function.
2833 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2834 instead of elmo-folder-kill-messages-before.
2836 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2838 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2839 elmo-imap4-current-msgdb to decide entity handler.
2841 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2843 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2845 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2847 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2848 (elmo-msgdb-overview-entity-set-number,
2849 elmo-msgdb-overview-entity-get-references,
2850 elmo-msgdb-overview-entity-set-references,
2851 elmo-msgdb-overview-entity-get-from-no-decode,
2852 elmo-msgdb-overview-entity-get-from,
2853 elmo-msgdb-overview-entity-set-from,
2854 elmo-msgdb-overview-entity-get-subject,
2855 elmo-msgdb-overview-entity-get-subject-no-decode,
2856 elmo-msgdb-overview-entity-set-subject,
2857 elmo-msgdb-overview-entity-get-date,
2858 elmo-msgdb-overview-entity-set-date,
2859 elmo-msgdb-overview-entity-get-to,
2860 elmo-msgdb-overview-entity-get-cc,
2861 elmo-msgdb-overview-entity-get-size,
2862 elmo-msgdb-overview-entity-set-size,
2863 elmo-msgdb-overview-entity-get-extra,
2864 elmo-msgdb-overview-entity-set-extra,
2865 elmo-msgdb-overview-entity-get-extra-field,
2866 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2867 (elmo-msgdb-make-index): Use
2868 `elmo-msgdb-overview-entity-get-number-internal'.
2869 (elmo-msgdb-clear-index): Ditto.
2870 (elmo-msgdb-append-entity): Ditto;
2871 Use `elmo-msgdb-overview-entity-get-id-internal'.
2873 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2874 elmo-msgdb-overview-entity-set-number,
2875 elmo-msgdb-overview-entity-get-references,
2876 elmo-msgdb-overview-entity-set-references,
2877 elmo-msgdb-overview-entity-get-from-no-decode,
2878 elmo-msgdb-overview-entity-get-from,
2879 elmo-msgdb-overview-entity-set-from,
2880 elmo-msgdb-overview-entity-get-subject,
2881 elmo-msgdb-overview-entity-get-subject-no-decode,
2882 elmo-msgdb-overview-entity-set-subject,
2883 elmo-msgdb-overview-entity-get-date,
2884 elmo-msgdb-overview-entity-set-date,
2885 elmo-msgdb-overview-entity-get-to,
2886 elmo-msgdb-overview-entity-get-cc,
2887 elmo-msgdb-overview-entity-get-size,
2888 elmo-msgdb-overview-entity-set-size,
2889 elmo-msgdb-overview-entity-get-extra,
2890 elmo-msgdb-overview-entity-set-extra,
2891 elmo-msgdb-overview-entity-get-extra-field,
2892 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2893 and rewrote for backward compatibility.
2895 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2897 * elmo.el (elmo-message-entity-number,
2898 elmo-message-entity-set-number,
2899 elmo-message-entity-field,
2900 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2902 * elmo-msgdb.el (elmo-message-entity-number,
2903 elmo-message-entity-set-number,
2904 elmo-message-entity-field,
2905 elmo-message-entity-set-field): Moved from elmo.el.
2907 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2909 * elmo.el (toplevel): Changed definition orders.
2911 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2913 * modb.el (elmo-msgdb-search): New API .
2914 (elmo-msgdb-match-condition): Ditto.
2916 * modb-standard.el (elmo-msgdb-search): Define.
2918 * modb-legacy.el (elmo-msgdb-search): Ditto.
2920 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2921 from elmo-msgdb-match-condition-internal.
2923 * elmo.el (elmo-folder-search-fast): Abolish.
2924 (elmo-folder-search): Use elmo-msgdb-search and
2925 elmo-with-progress-display.
2927 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2930 * elmo.el (elmo-folder): Remove slot message-modified and
2932 (elmo-folder-set-message-modified): Abolish.
2933 (elmo-generic-folder-commit): Follow the change above.
2934 (elmo-folder-synchronize): Ditto.
2936 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2938 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2940 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2942 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2944 * modb-standard.el (modb-standard-make-message-entity,
2945 elmo-msgdb-make-message-entity,
2946 elmo-msgdb-create-message-entity-from-buffer,
2947 elmo-msgdb-message-entity-number,
2948 elmo-msgdb-message-entity-set-number,
2949 elmo-msgdb-message-entity-field,
2950 elmo-msgdb-message-entity-set-field,
2951 elmo-msgdb-copy-message-entity,
2952 elmo-msgdb-match-condition-internal): Remove.
2954 * modb-entity.el: New file (again).
2956 * modb.el (toplevel): Require modb-entity.
2957 (elmo-msgdb-message-entity-handler): New method.
2959 * modb-standard.el (modb-standard-entity-id): Use
2960 elmo-message-entity-handler.
2961 (modb-standard-load-entity): Ditto.
2962 (elmo-msgdb-append-entity): Ditto.
2963 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2965 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2966 elmo-msgdb-decoded-cache-hashtb,
2967 (modb-legacy-make-message-entity,
2968 elmo-msgdb-make-message-entity,
2969 elmo-msgdb-create-message-entity-from-buffer,
2970 elmo-msgdb-message-entity-number,
2971 elmo-msgdb-message-entity-set-number,
2972 elmo-msgdb-message-entity-field,
2973 elmo-msgdb-message-entity-set-field,
2974 elmo-msgdb-copy-message-entity,
2975 elmo-msgdb-match-condition-internal,
2976 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2978 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2979 (elmo-message-entity-set-number): Ditto.
2980 (elmo-message-entity-field): Ditto.
2981 (elmo-message-entity-set-field): Ditto.
2983 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2985 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2987 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2989 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2990 (elmo-nntp-msgdb-create-message): Ditto.
2992 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2993 (elmo-folder-msgdb-create): Add unread flag.
2995 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2997 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2999 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3001 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3003 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3004 elmo-msgdb-messge-entity-handler.
3005 * elmo-version.el (elmo-version): Up to 2.11.17.
3007 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3009 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3012 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3014 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3016 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3017 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3018 (elmo-msgdb-flag-table): Ditto.
3019 (elmo-msgdb-sort-by-date): Ditto.
3021 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3023 * modb-standard.el (toplevel): Require mime.
3024 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3025 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3026 elmo-msgdb-message-entity-number.
3027 (elmo-msgdb-append-entity): Ditto.
3028 (elmo-msgdb-create-message-entity-from-file): Remove.
3029 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3030 corresponds to the entity.
3031 (elmo-msgdb-message-entity-number): Do nothing currently.
3032 (elmo-msgdb-message-entity-field): Ditto.
3033 (elmo-msgdb-message-entity-set-field): Ditto.
3034 (elmo-msgdb-copy-message-entity): Ditto.
3035 (elmo-msgdb-match-condition-internal): Ditto.
3037 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3039 (elmo-msgdb-create-message-entity-from-file): Remove.
3041 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3043 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3045 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3047 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3049 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3050 (elmo-msgdb-message-entity-field): Ditto.
3051 (elmo-msgdb-message-entity-number): Ditto.
3053 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3055 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3056 Fixed how to set extra field into entity.
3057 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3060 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3061 Fixed how to set extra field into entity.
3062 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3065 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3067 * modb.el (elmo-message-entity-db): New function.
3068 (elmo-msgdb-make-message-entity): New API.
3069 (elmo-msgdb-message-entity-number): Ditto.
3070 (elmo-msgdb-message-entity-set-number): Ditto.
3071 (elmo-msgdb-message-entity-field): Ditto.
3072 (elmo-msgdb-message-entity-set-field): Ditto.
3073 (elmo-msgdb-copy-message-entity): Ditto.
3074 (elmo-msgdb-create-message-entity-from-file): Ditto.
3075 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3076 (elmo-msgdb-match-condition-internal): Ditto.
3078 * modb-standard.el (modb-legacy): Require modb-legacy.
3079 (modb-standard-make-message-entity): New inline function.
3080 (elmo-msgdb-make-message-entity): Define.
3081 (elmo-msgdb-create-message-entity-from-file): Ditto.
3082 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3083 (elmo-msgdb-message-entity-field): Ditto.
3084 (elmo-msgdb-message-entity-set-field): Ditto.
3085 (elmo-msgdb-copy-message-entity): Ditto.
3086 (elmo-msgdb-match-condition-internal): Ditto.
3088 * modb-legacy.el: Don't require modb-entity.
3089 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3090 (elmo-msgdb-match-condition-primitive): Ditto.
3091 (elmo-msgdb-get-decoded-cache): Ditto.
3092 (elmo-msgdb-overview-entity-get-id): Ditto.
3093 (elmo-msgdb-overview-entity-get-number): Ditto.
3094 (elmo-msgdb-overview-entity-set-number): Ditto.
3095 (elmo-msgdb-overview-entity-get-references): Ditto.
3096 (elmo-msgdb-overview-entity-set-references): Ditto.
3097 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3098 (elmo-msgdb-overview-entity-get-from): Ditto.
3099 (elmo-msgdb-overview-entity-set-from): Ditto.
3100 (elmo-msgdb-overview-entity-get-subject): Ditto.
3101 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3102 (elmo-msgdb-overview-entity-set-subject): Ditto.
3103 (elmo-msgdb-overview-entity-get-date): Ditto.
3104 (elmo-msgdb-overview-entity-set-date): Ditto.
3105 (elmo-msgdb-overview-entity-get-to): Ditto.
3106 (elmo-msgdb-overview-entity-get-cc): Ditto.
3107 (elmo-msgdb-overview-entity-get-size): Ditto.
3108 (elmo-msgdb-overview-entity-set-size): Ditto.
3109 (elmo-msgdb-overview-entity-get-extra): Ditto.
3110 (elmo-msgdb-overview-entity-set-extra): Ditto.
3111 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3112 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3113 (elmo-msgdb-number-load): Ditto.
3114 (elmo-msgdb-overview-load): Ditto.
3115 (elmo-msgdb-mark-load): Ditto.
3116 (elmo-msgdb-number-save): Ditto.
3117 (elmo-msgdb-mark-save): Ditto.
3118 (elmo-msgdb-overview-save): Ditto.
3119 (modb-legacy-make-message-entity): New inline function.
3120 (elmo-msgdb-insert-file-header): Ditto.
3121 (elmo-msgdb-make-message-entity): Define.
3122 (elmo-msgdb-create-message-entity-from-file): Ditto.
3123 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3124 (elmo-msgdb-message-entity-number): Ditto.
3125 (elmo-msgdb-message-entity-set-number): Ditto.
3126 (elmo-msgdb-message-entity-field): Ditto.
3127 (elmo-msgdb-message-entity-set-field): Ditto.
3128 (elmo-msgdb-copy-message-entity): Ditto.
3129 (elmo-msgdb-match-condition-internal): Ditto.
3131 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3132 (elmo-message-copy-entity): Rewrite.
3133 (elmo-message-entity-number): Ditto.
3134 (elmo-message-entity-set-number): Ditto.
3135 (elmo-message-entity-field): Use elmo-message-entity-db.
3136 (elmo-message-entity-set-field): Ditto.
3137 (elmo-message-field): Rewrite.
3139 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3141 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3143 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3144 elmo-message-entity-field.
3145 (elmo-shimbun-folder-shimbun-header): Ditto.
3146 (elmo-shimbun-entity-to-header): Ditto.
3147 (elmo-folder-msgdb-create): Ditto.
3148 (elmo-shimbun-msgdb-create-entity): Ditto;
3149 Use elmo-msgdb-create-message-entity-from-buffer.
3150 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3151 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3153 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3154 elmo-msgdb-create-message-entity-from-file and
3155 elmo-message-entity-field.
3157 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3158 elmo-message-entity-number.
3159 (elmo-pop3-msgdb-create-message): Use
3160 elmo-msgdb-create-message-entity-from-buffer,
3161 elmo-message-entity-set-field, elmo-message-entity-number and
3162 elmo-message-entity-set-number.
3164 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3165 the API change in elmo-msgdb-make-message-entity.
3166 (elmo-nntp-msgdb-create-message): Use
3167 elmo-msgdb-create-message-entity-from-buffer.
3169 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3170 elmo-message-entity-field and
3171 elmo-msgdb-create-message-entity-from-file.
3173 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3174 (elmo-msgdb-get-field): Abolish.
3175 (elmo-msgdb-get-number): Rewrite.
3176 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3177 (elmo-msgdb-flag-table): Ditto.
3178 (elmo-msgdb-get-last-message-id,
3179 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3180 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3181 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3182 (elmo-msgdb-create-overview-from-buffer,
3183 elmo-msgdb-overview-get-parent-entity): Abolish.
3185 * elmo-mime.el (elmo-mime-display-as-is): Use
3186 elmo-message-entity-field.
3188 * elmo-map.el (elmo-folder-pack-numbers): Use
3189 elmo-message-entity-set-number.
3191 * elmo-maildir.el (elmo-folder-msgdb-create):
3192 elmo-msgdb-create-message-entity-from-file instead of
3193 elmo-msgdb-create-overview-entity-from-file.
3195 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3197 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3198 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3200 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3201 elmo-messge-entity-field and elmo-message-entity-number.
3202 (elmo-imap4-fetch-callback-1): Call
3203 elmo-msgdb-create-message-entity-from-buffer instead of
3204 elmo-msgdb-create-overview-from-buffer.
3205 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3206 (elmo-find-fetch-strategy): Likewise.
3208 * elmo-flag.el (elmo-folder-msgdb-create): Call
3209 elmo-localdir-msgdb-create-entity with argument msgdb.
3211 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3212 and elmo-message-entity-set-number.
3214 * elmo-cache.el (elmo-folder-msgdb-create): Use
3215 elmo-message-entity-field.
3216 (elmo-folder-msgdb-create): Call
3217 elmo-msgdb-create-message-entity-from-file instead of
3218 elmo-msgdb-create-overview-entity-from-file.
3220 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3221 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3222 instead of elmo-msgdb-create-overview-from-buffer.
3223 (elmo-archive-msgdb-create-entity): Ditto.
3224 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3225 elmo-message-entity-field.
3226 (elmo-archive-parse-mmdf): Ditto.
3228 * modb-entity.el: Removed.
3230 * elmo-version.el (elmo-version): Up to 2.11.16.
3232 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3234 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3236 (elmo-folder-flag-as-answered): Ditto.
3238 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3240 * modb-standard.el: New file.
3242 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3243 elmo-msgdb-convert-type is `sync'.
3245 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3246 (elmo-msgdb-convert-type): New user option.
3248 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3249 (elmo-load-msgdb): Auto detect saved type.
3251 * elmo-version.el (elmo-version): Up to 2.11.15.
3253 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3255 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3257 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3258 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3259 with argument `delete-if-none' when dst-folder is 'null.
3261 * elmo-flag.el (elmo-folder-append-messages): Defined.
3262 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3264 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3266 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3268 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3270 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3271 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3272 (elmo-folder-commit): Ditto.
3274 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3276 * elmo-flag.el: New file.
3278 * elmo-mark.el: Removed.
3280 * modb-legacy.el (modb-legacy-new-mark,
3281 modb-legacy-unread-uncached-mark,
3282 modb-legacy-unread-cached-mark,
3283 modb-legacy-read-uncached-mark,
3284 modb-legacy-answered-cached-mark,
3285 modb-legacy-answered-uncached-mark,
3286 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3287 All other related portions are changed.
3289 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3290 (elmo-folder-list-messages-with-global-mark): Abolish.
3291 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3292 (elmo-folder-flag-as-important): Ditto.
3293 (elmo-folder-unflag-read): Ditto.
3294 (elmo-folder-flag-as-read): Ditto.
3295 (elmo-folder-unflag-answered): Ditto.
3296 (elmo-folder-flag-as-answered): Ditto.
3297 (elmo-message-encache): Return the cache path.
3298 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3299 (elmo-message-set-flag): Transitional implementation.
3300 (elmo-message-unset-flag): Ditto.
3301 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3302 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3303 (elmo-init): Call elmo-global-flag-initialize.
3304 (toplevel): Added autoload settings for elmo-flag.
3306 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3308 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3309 (elmo-file-cache-delete): Don't treat global-mark.
3311 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3313 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3315 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3316 `elmo-global-flags-set'.
3318 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3320 (elmo-folder-unflag-read): Ditto.
3321 (elmo-folder-unflag-important): Ditto.
3322 (elmo-folder-flag-as-important): Ditto.
3323 (elmo-folder-unflag-answered): Ditto.
3324 (elmo-folder-flag-as-answered): Ditto.
3326 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3327 `elmo-global-flags-set'.
3328 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3330 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3332 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3334 (elmo-folder-flag-as-important): Ditto.
3335 (elmo-folder-unflag-important): Ditto.
3336 (elmo-folder-flag-as-important): Ditto.
3337 (elmo-folder-unflag-read): Ditto.
3338 (elmo-folder-flag-as-read): Ditto.
3339 (elmo-folder-unflag-answered): Ditto.
3340 (elmo-folder-flag-as-answered): Ditto.
3342 * elmo-multi.el (elmo-folder-list-importants): Don't call
3343 elmo-folder-list-messages-with-global-mark.
3344 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3345 (elmo-folder-unflag-important): Ditto.
3346 (elmo-folder-flag-as-read): Ditto.
3347 (elmo-folder-unflag-read): Ditto.
3348 (elmo-folder-flag-as-answered): Ditto.
3349 (elmo-folder-unflag-answered): Ditto.
3351 * elmo-msgdb.el (elmo-msgdb-new-mark,
3352 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3353 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3354 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3355 (Moved to modb-legacy.el).
3356 (elmo-flag-table-get): Treat important flag too.
3358 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3360 (elmo-map-folder-flag-as-important): Ditto.
3361 (elmo-map-folder-unflag-read): Ditto.
3362 (elmo-map-folder-flag-as-read): Ditto.
3363 (elmo-map-folder-unflag-answered): Ditto.
3364 (elmo-map-folder-flag-as-answered): Ditto.
3365 (elmo-folder-unflag-important): Ditto.
3366 (elmo-folder-flag-as-important): Ditto.
3367 (elmo-folder-unflag-read): Ditto.
3368 (elmo-folder-flag-as-read): Ditto.
3369 (elmo-folder-unflag-answered): Ditto.
3370 (elmo-folder-flag-as-answered): Ditto.
3372 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3373 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3375 (elmo-map-folder-unflag-important): Ditto.
3376 (elmo-map-folder-flag-as-read): Ditto.
3377 (elmo-map-folder-unflag-read): Ditto.
3378 (elmo-map-folder-flag-as-answered): Ditto.
3379 (elmo-map-folder-unflag-answered): Ditto.
3381 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3382 `elmo-global-flags-set'.
3383 (elmo-global-flags-set): Added autoload setting.
3385 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3388 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3389 `elmo-msgdb-global-mark-set'.
3390 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3391 Call `elmo-global-flags-set'.
3392 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3394 (elmo-folder-flag-as-important-plugged): Ditto.
3395 (elmo-folder-unflag-read-plugged): Ditto.
3396 (elmo-folder-flag-as-read-plugged): Ditto.
3397 (elmo-folder-unflag-answered-plugged): Ditto.
3398 (elmo-folder-flag-as-answered-plugged): Ditto.
3399 (elmo-global-flags-set): Added autoload setting.
3401 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3403 (elmo-folder-unflag-read): Ditto.
3404 (elmo-folder-flag-as-important): Ditto.
3405 (elmo-folder-unflag-important): Ditto.
3406 (elmo-folder-flag-as-answered): Ditto.
3407 (elmo-folder-unflag-answered): Ditto.
3409 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3410 change of `mark'->`flag'.
3411 (elmo-dop-queue-method-name-alist): Ditto.
3412 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3413 (elmo-folder-unflag-read-dop): Ditto.
3414 (elmo-folder-flag-as-important-dop): Ditto.
3415 (elmo-folder-unflag-important-dop): Ditto.
3416 (elmo-folder-flag-as-answered-dop): Ditto.
3417 (elmo-folder-unflag-answered-dop): Ditto.
3419 * elmo-cache.el (elmo-folder-msgdb-create): Call
3420 `elmo-global-flags-set'.
3422 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3423 Call `elmo-global-flags-set'.
3424 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3425 elmo-archive-parse-mmdf with argument `folder'.
3426 (elmo-archive-parse-mmdf): Added argument `folder';
3427 Call `elmo-global-flags-set'.
3429 * elmo-version.el (elmo-version): Up to 2.11.14.
3431 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3433 * modb.el (elmo-msgdb-length): Define.
3435 * elmo.el (elmo-make-folder): Fixed.
3436 (elmo-generic-folder-append-messages): Follow the API change.
3438 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3441 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3443 * modb.el: New file.
3445 * modb-entity.el: Ditto.
3447 * modb-legacy.el: Ditto.
3449 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3450 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3451 of `elmo-msgdb-overview-get-entity'.
3452 (elmo-msgdb-get-field): Ditto.
3453 (elmo-msgdb-merge): Moved to `elmo.el'.
3454 (elmo-msgdb-length): Removed; redefine as modb method.
3455 (elmo-msgdb-change-mark): Abolish.
3456 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3457 (elmo-msgdb-match-condition): Don't use mark.
3458 (elmo-msgdb-overview-get-entity): Abolish.
3459 Split modb part into `modb*.el'.
3461 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3463 * elmo-shimbun.el (shimbun-mua-search-id): Use
3464 `elmo-msgdb-message-entity' instead of
3465 `elmo-msgdb-overview-get-entity'.
3466 (elmo-shimbun-folder-shimbun-header): Ditto.
3467 (elmo-shimbun-get-headers): Ditto.
3468 (elmo-shimbun-update-overview): Ditto.
3470 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3472 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3474 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3475 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3477 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3478 `elmo-msgdb-mark-to-flags'.
3480 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3481 `elmo-msgdb-set-path'.
3483 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3485 * elmo-version.el (elmo-version): Up to 2.11.13.
3487 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3489 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3492 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3494 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3497 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3499 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3500 instead of `elmo-msgdb-get-cached'.
3501 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3503 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3504 (elmo-msgdb-set-cached): Ditto.
3505 (elmo-msgdb-set-flag): Rewrite.
3506 (elmo-msgdb-unset-flag): Ditto.
3508 * elmo-msgdb.el: Rewrite with luna.
3510 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3511 (elmo-folder-msgdb): Follow the change above.
3512 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3513 (elmo-folder-unmark-important): Follow the API change.
3514 (elmo-folder-mark-as-important): Ditto.
3515 (elmo-folder-unmark-read): Ditto.
3516 (elmo-folder-mark-as-read): Ditto.
3517 (elmo-folder-unmark-answered): Ditto.
3518 (elmo-folder-mark-as-answered): Ditto.
3519 (elmo-folder-clear): Likewise.
3521 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3522 instead of `elmo-msgdb-load' (renamed).
3524 * elmo-version.el (elmo-version): Up to 2.11.12.
3526 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3528 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3530 (elmo-message-mark): Abolish.
3531 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3532 instead of `elmo-msgdb-change-mark'.
3534 * elmo-pipe.el (elmo-message-mark): Abolish.
3536 * elmo-multi.el (elmo-message-mark): Ditto.
3538 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3539 (elmo-msgdb-unread-uncached-mark): Ditto.
3540 (elmo-msgdb-unread-cached-mark): Ditto.
3541 (elmo-msgdb-read-uncached-mark): Ditto.
3542 (elmo-msgdb-answered-cached-mark): Ditto.
3543 (elmo-msgdb-answered-uncached-mark): Ditto.
3544 (elmo-msgdb-important-mark): Ditto.
3545 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3547 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3549 (elmo-flag-table-load): Changed flag to list of flag.
3550 (elmo-flag-table-set): If flags is nil, set read flag.
3551 (elmo-flag-table-get): Return derived flags from global mark,
3552 cache status and saved flags.
3553 (elmo-msgdb-flag-table): Follow the change above.
3554 (elmo-msgdb-out-of-date-messages): New function.
3556 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3558 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3560 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3562 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3563 (elmo-nntp-msgdb-create-message): Ditto.
3565 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3567 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3569 (elmo-folder-msgdb-create): Follow the API change.
3571 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3572 (elmo-folder-append-messages): Ditto.
3574 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3575 (elmo-folder-append-buffer): Ditto.
3577 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3579 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3581 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3582 (elmo-archive-parse-mmdf): Ditto.
3584 * elmo-version.el (elmo-version): Up to 2.11.11.
3586 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3588 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3591 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3593 * elmo-pipe.el (elmo-message-flags): Defined.
3595 * elmo-multi.el (elmo-message-flags): Ditto.
3597 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3599 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3600 `elmo-msgdb-delete-msgs'.
3602 * elmo.el (elmo-folder-count-flags): Don't use
3603 `elmo-msgdb-get-mark-alist'.
3604 (elmo-folder-detach-messages): Follow the API change.
3606 * elmo.el (elmo-folder-list-messages): Append killed messages into
3607 result if `visible-only' is nil.
3609 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3611 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3612 (elmo-folder-update-number): Likewise.
3614 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3615 (elmo-pop3-sort-msgdb-by-original-number): Use
3616 `elmo-msgdb-sort-entities'.
3618 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3619 (elmo-msgdb-sort-by-date): Use it.
3620 (elmo-msgdb-overview-sort-by-date): Abolish.
3622 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3624 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3625 (elmo-msgdb-flags): New function.
3626 (elmo-msgdb-merge): Use elmo-msgdb-append.
3628 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3631 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3633 * elmo-dop.el (elmo-folder-status-dop): Use
3634 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3636 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3638 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3640 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3642 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3644 * elmo-util.el (elmo-with-progress-display): New macro.
3646 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3648 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3650 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3651 `elmo-folder-list-message-entities' instead of
3652 `elmo-msgdb-get-overview'.
3653 (elmo-map-folder-list-message-locations): Ditto.
3655 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3656 methods instead of treat directly).
3657 (elmo-msgdb-clear): Ditto.
3658 (elmo-msgdb-delete-msgs): Ditto.
3659 (elmo-msgdb-sort-by-date): Ditto.
3661 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3663 (elmo-nntp-folder-msgdb-create): Follow the API change.
3665 * elmo-version.el (elmo-version): Up to 2.11.10.
3667 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3669 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3670 (elmo-msgdb-flags-to-mark): Ditto.
3671 (elmo-msgdb-append-entity): Ditto.
3673 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3674 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3675 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3676 (elmo-archive-parse-mmdf): Ditto.
3678 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3680 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3682 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3684 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3686 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3688 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3690 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3692 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3694 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3695 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3698 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3699 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3700 instead of directly construction.
3701 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3702 instead of construct msgdb.
3704 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3705 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3706 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3707 instead of construct msgdb.
3709 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3711 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3712 when field is from or subject.
3714 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3716 * elmo-multi.el (elmo-message-entity-parent): Define.
3717 (elmo-folder-search): Rewrite.
3719 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3721 * elmo-multi.el (elmo-message-cached-p): Define.
3723 * elmo.el (elmo-message-cached-p): New method.
3724 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3725 (elmo-message-flags): New method.
3726 (elmo-message-flagged-p): New function.
3728 * elmo-version.el (elmo-version): Up to 2.11.9.
3730 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3732 * elmo-version.el (elmo-version): Up to 2.11.8.
3734 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3736 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3738 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3740 * elmo.el (elmo-folder-detach-messages): Undo last change.
3742 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3744 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3746 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3747 only when src folder type is pop3.
3749 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3751 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3752 elmo-msgdb-overview-entity-get-number instead of
3753 elmo-message-entity-number.
3755 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3757 * elmo-version.el (elmo-version): Up to 2.11.7.
3759 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3761 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3764 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3765 (elmo-msgdb-merge): New function.
3766 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3767 (elmo-msgdb-make-index): Rewrite.
3769 * elmo-version.el (elmo-version): Up to 2.11.6.
3771 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3772 use it as a the path for loading message entities.
3774 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3776 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3778 * elmo-filter.el (elmo-folder-set-message-modified): Set
3779 message-modified slot of itself if it does not require target msgdb.
3781 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3782 if folder length is zero.
3783 (elmo-mime-display-as-is): Ditto.
3785 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3787 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3789 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3791 * elmo.el (elmo-folder-set-message-modified): New method.
3792 (elmo-generic-folder-commit): Use it.
3793 (elmo-folder-synchronize): Ditto.
3795 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3796 (elmo-folder-commit): Remove duplicate definition.
3798 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3800 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3802 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3804 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3805 (elmo-strict-folder-diff): Ditto.
3806 (elmo-folder-set-info-max-by-numdb): Simplify.
3808 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3809 elmo-msgdb-list-messages.
3811 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3812 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3814 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3816 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3817 visible-only is non-nil.
3818 (elmo-folder-confirm-appends): Changed message.
3819 (elmo-folder-synchronize): Added argument disable-killed.
3821 * elmo-multi.el (elmo-folder-synchronize): Added argument
3824 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3826 * elmo-version.el (elmo-version): Up to 2.11.5.
3828 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3831 * elmo-util.el (elmo-list-filter): Simplify.
3833 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3834 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3835 (elmo-generic-folder-diff): Abolish argument.
3836 (elmo-msgdb-load): Don't use number-alist.
3838 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3840 * elmo-pipe.el (elmo-folder-diff): Ditto.
3842 * elmo-nmz.el (elmo-folder-diff): Ditto.
3844 * elmo-net.el (elmo-folder-diff): Ditto.
3846 * elmo-maildir.el (elmo-folder-diff): Ditto.
3848 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3850 * elmo-multi.el (elmo-folder-diff): Ditto
3851 (elmo-multi-folder-diff): Rewrite.
3853 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3855 * elmo-pipe.el (elmo-folder-msgdb): Define.
3857 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3859 * elmo.el (elmo-message-set-cached): Define as a method.
3861 * elmo-pipe.el (elmo-message-set-cached): Define.
3862 (elmo-find-fetch-strategy): Ditto.
3864 * elmo-multi.el (elmo-message-set-cached): Define.
3865 (elmo-find-fetch-strategy): Rewrite.
3867 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3869 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3871 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3873 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3874 instead of number-alist.
3876 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3877 mark nor message-id when msgdb of source folder is not loaded.
3879 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3881 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3883 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3885 * elmo.el (elmo-folder-length): Don't require msgdb.
3887 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3889 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3890 (elmo-message-field): Ditto.
3892 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3893 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3895 (elmo-map-folder-list-answereds): Define.
3896 (elmo-maildir-list-location): Treat 'R' info.
3897 (elmo-folder-msgdb-create): Treat flag-table.
3898 (elmo-folder-append-messages): Save flag-table.
3900 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3902 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3903 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3905 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3907 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3909 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3910 'read when mark is null.
3912 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3914 * elmo-version.el (elmo-version): Up to 2.11.4.
3916 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3918 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3919 (elmo-folder-mark-as-answered): Ditto.
3921 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3923 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3924 (elmo-pop3-get-session): Make msgdb directory after session.
3925 (elmo-folder-exists-p): Check exactly at the first time even when the
3926 elmo-pop3-exists-exactly is nil.
3928 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3929 (elmo-folder-list-messages): Define instead of
3930 elmo-folder-list-messages-internal.
3931 (elmo-folder-check): Check destination folder.
3932 (elmo-folder-synchronize): Drain the pipe.
3934 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3935 when msgdb is not loaded.
3937 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3939 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3940 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3943 * elmo.el (elmo-folder-kill-messages-before): New function.
3944 (elmo-folder-kill-messages): Ditto.
3945 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3947 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3948 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3949 killed not by synchronize (e.g. scoring).
3951 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3953 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3955 (elmo-folder-search): Follow the change above.
3957 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3958 into the candidates of search field.
3960 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3962 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3963 (elmo-msgdb-unset-flag): Ditto.
3965 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3967 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3969 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3970 (elmo-folder-commit): Define.
3971 (elmo-folder-synchronize): Ditto.
3972 (elmo-folder-list-flagged): Ditto.
3973 (elmo-folder-commit): Ditto.
3974 (elmo-folder-length): Ditto.
3975 (elmo-folder-count-flags): Ditto.
3976 (elmo-message-mark): Ditto.
3977 (elmo-message-field): Ditto.
3978 (elmo-message-entity): Ditto.
3979 (elmo-message-folder): Ditto.
3981 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3983 * elmo.el (elmo-message-field): Define as a method.
3985 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3986 (elmo-message-field): Define.
3988 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3989 (elmo-folder-list-importants): Ditto.
3990 (elmo-folder-list-answereds): Ditto.
3992 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3994 (elmo-folder-mark-as-read): Ditto.
3995 (elmo-folder-unmark-read): Ditto.
3996 (elmo-folder-mark-as-answered): Ditto.
3997 (elmo-folder-unmark-answered): Ditto.
3998 (elmo-folder-list-flagged): Define.
3999 (elmo-folder-commit): Ditto.
4000 (elmo-folder-length): Ditto.
4001 (elmo-folder-count-flags): Ditto.
4003 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4005 * elmo.el (elmo-folder-detach-messages): New method.
4006 (elmo-folder-move-messages): Use it.
4007 (elmo-folder-synchronize): Ditto.
4009 * elmo-multi.el (elmo-folder-detach-messages): Define.
4011 * elmo.el (elmo-message-copy-entity): New function.
4012 (elmo-message-entity-set-number): Ditto.
4013 (elmo-message-mark): Define as method.
4015 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4016 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4017 (elmo-message-entity): Fixed last change.
4018 (elmo-message-mark): Define.
4019 (elmo-folder-msgdb-create): Abolish.
4020 (elmo-multi-folder-append-msgdb): Ditto.
4021 (elmo-multi-folder-diff): Fixed.
4022 (elmo-multi-split-number-alist): Removed.
4023 (elmo-multi-split-mark-alist): Removed.
4024 (elmo-folder-list-messages): Define.
4025 (elmo-folder-list-messages-internal): Removed.
4027 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4028 local file messages.
4029 (elmo-folder-msgdb-create): Fixed read mark.
4031 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4033 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4036 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4038 * elmo.el (elmo-folder-list-message-entities): Define as inline
4040 (elmo-folder-messages): Abolish.
4042 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4044 (elmo-folder-synchronize): Define.
4045 (elmo-message-entity): Define.
4047 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4049 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4050 elmo-imap4-session-select-mailbox.
4052 * elmo.el (elmo-folder-move-messages): Don't display any message.
4054 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4056 (elmo-imap4-session-check): Don't wait CHECK response.
4057 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4059 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4061 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4063 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4065 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4067 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4070 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4071 (elmo-folder-list-message-entities): Added argument in-msgdb and
4073 (elmo-folder-synchronize): Define as a method.
4075 * elmo-nntp.el (elmo-folder-initialize): Don't use
4076 elmo-nntp-default-user if zero-length username is specified
4079 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4081 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4082 server name in case with username.
4083 (XXX: this is ad-hoc fix against username includes "@", it
4084 should be solved fundamentally)
4086 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4088 * elmo-nntp.el (elmo-nntp-debug): New function.
4089 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4090 (elmo-network-authenticate-session): Hide auth-info from the log.
4092 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4093 user name if it is equal to elmo-nntp-default-user.
4095 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4097 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4098 instead of shimbun-server-internal;
4099 Use shimbun-current-group instead of shimbun-current-group-internal.
4100 (elmo-folder-plugged-p): Use shimbun-server instead of
4101 shimbun-server-internal.
4102 (elmo-folder-set-plugged): Ditto.
4103 (elmo-net-port-info): Ditto.
4104 (elmo-folder-check): Ditto.
4105 (elmo-folder-expand-msgdb-path): Ditto.
4106 (elmo-folder-list-subfolders): Ditto.
4108 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4110 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4111 Convert field-name to lower case.
4112 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4114 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4116 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4117 `message' and `error' take format string.
4119 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4121 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4123 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4125 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4126 recursive call (can't byte compile on emacs 20.7).
4128 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4130 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4131 (elmo-folder-list-message-entities): New API.
4132 (elmo-message-entity): Ditto.
4133 (elmo-message-entity-parent): Ditto.
4134 (elmo-folder-do-each-message-entity): Ditto.
4135 (elmo-message-entity-number): Ditto.
4136 (elmo-message-entity-field): Ditto.
4137 (elmo-message-entity-set-field): Ditto.
4138 (elmo-folder-count-flags): Ditto.
4139 (elmo-folder-length): Ditto.
4141 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4144 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4145 (elmo-msgdb-count-marks): Abolish.
4146 (elmo-msgdb-make-entity): Ditto.
4147 (elmo-msgdb-do-each-entity): Ditto.
4148 (elmo-msgdb-message-entity): New inline function.
4149 (elmo-msgdb-message-entity-field): Ditto.
4150 (elmo-msgdb-message-entity-set-field): Ditto.
4151 (elmo-msgdb-make-message-entity): New function.
4153 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4155 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4156 to flag. (All other related portions are changed.)
4157 (elmo-folder-msgdb-create): Likewise.
4158 (elmo-generic-folder-append-messages): Use flag-table instead of
4160 (elmo-folder-move-messages): Removed redundant process.
4161 (elmo-folder-synchronize): Likewise.
4163 * elmo-msgdb.el (elmo-flag-table-get): New function.
4164 (elmo-flag-table-save): Fixed.
4165 (elmo-msgdb-length): New inline function.
4166 (elmo-msgdb-flag-table): New function.
4167 (elmo-msgdb-mark): Add optional argument new.
4168 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4169 (elmo-msgdb-seen-list): Ditto.
4170 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4173 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4175 * elmo.el (elmo-message-set-mark): Abolish.
4176 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4177 (All related portions are changed.)
4179 * elmo-msgdb.el (toplevel): Added comment.
4180 (elmo-load-msgdb): Added 4th element `path'.
4181 (elmo-msgdb-append): Follow the change above.
4182 (elmo-msgdb-clear): Ditto.
4183 (elmo-msgdb-delete-msgs): Ditto.
4184 (elmo-msgdb-get-path): New inline function.
4185 (elmo-msgdb-set-path): Ditto.
4186 (elmo-flag-table-filename): New variable.
4187 (elmo-flag-table-load): New function.
4188 (elmo-flag-table-set): Ditto.
4189 (elmo-flag-table-save): Ditto.
4190 (elmo-msgdb-get-field-value): Abolish.
4191 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4193 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4195 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4196 the folder has been deleted successfully.
4197 * elmo-imap4.el (elmo-folder-delete): Ditto.
4198 * elmo-archive.el (elmo-folder-delete): Ditto.
4199 * elmo-localdir.el (elmo-folder-delete): Ditto.
4200 * elmo-maildir.el (elmo-folder-delete): Ditto.
4202 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4204 * elmo-util.el (elmo-string-member-ignore-case): New function.
4205 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4206 (elmo-imap4-fetch-callback-1-subr): Likewise.
4208 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4210 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4211 the case of the name attribute "\Noselect".
4213 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4215 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4217 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4218 flist, is not always a member of onum-alist.
4220 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4222 * elmo-version.el (elmo-version): Up to 2.11.3.
4224 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4226 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4227 copied from localdir's one.
4229 * elmo-pipe.el (elmo-folder-rename): New method, rename
4230 destination folder with leaving source folder as it is.
4232 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4234 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4237 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4239 * elmo-version.el (elmo-version): Up to 2.11.2.
4241 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4243 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4244 shimbun-open in case of "@".
4245 (elmo-folder-open-internal): Cope with shimbun = nil case.
4246 (elmo-folder-plugged-p): Ditto.
4247 (elmo-folder-list-subfolders): Make list for "@/" group.
4249 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4251 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4252 mailbox (e.g. for %~/something).
4254 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4256 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4257 Replace nested conditional with guard clauses.
4259 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4261 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4264 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4267 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4269 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4270 Replace nested conditional with guard clauses.
4272 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4274 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4275 (elmo-passwd-alist-save): Ditto.
4276 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4278 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4280 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4281 dir-name only if it is absolute path.
4282 (TODO: distinguish +/something and +something)
4284 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4286 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4287 path for "+~/something".
4289 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4291 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4292 as non-directory, cause error before rename-file.
4293 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4294 apropriately, mimic localdir's one.
4295 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4297 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4299 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4301 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4303 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4305 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4307 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4308 is included in the global-mark or not.
4310 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4312 * utf7.el (toplevel): Avoid error when the function
4313 find-coding-system does not exist.
4315 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4317 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4318 cache even if the folder is plugged.
4319 (elmo-nntp-search-primitive): Do nothing when body search is
4320 invoked (although it is not used by the change above).
4321 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4323 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4325 * elmo-version.el (elmo-version): Up to 2.11.1.
4327 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4329 * elmo-archive.el: Specify charset.
4331 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4333 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4334 process buffer lives or not.
4336 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4337 while flushing queues (It causes infinite loop).
4339 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4341 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4343 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4345 * utf7.el (toplevel): Check the ucs features dynamically.
4346 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4348 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4349 folder is creatabe or not if it already exists.
4351 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4353 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4355 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4357 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4358 (elmo-imap4-read-response): Take care of garbage response.
4360 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4362 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4363 just return nil instead of error.
4365 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4367 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4368 search-key is "body".
4370 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4372 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4373 of elmo-string-matched-assoc to use match-data.
4374 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4376 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4378 * elmo-split.el (elmo-split->): New function.
4379 (elmo-split-<): Ditto.
4381 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4383 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4384 workaround for invalid message-id.
4386 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4388 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4389 return normal pop3 session or pop3 biff session.
4391 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4393 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4394 info part to the cur files when the new files already have it.
4395 (Adviced by Jared Rhine <jared@wordzoo.com>)
4397 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4399 * elmo-split.el (elmo-split-default-action): New variable.
4400 (elmo-split-subr): Use it if all other conditions are passed.
4401 Extend `fname' and rename it as `action'. (implemented
4402 Teranishi-san's idea in [wl:10800])
4404 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4406 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4407 * elmo-util.el: Ditto.
4409 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4411 * elmo.el (elmo-message-accessible-p): Renamed from
4412 elmo-message-cached-p and rewritten.
4414 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4416 * elmo.el (elmo-folder-list-flagged): New generic function.
4417 (elmo-folder-list-importants): New implementation.
4418 (elmo-folder-list-answereds): Ditto.
4419 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4421 (elmo-message-cached-p): New function.
4422 (elmo-message-set-flag): Ditto (no content).
4423 (elmo-message-unset-flag): Ditto.
4424 (elmo-folder-list-messages-mark-match): Abolish.
4426 * elmo-util.el (elmo-regexp-opt): New function.
4428 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4429 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4431 (elmo-msgdb-list-flagged): New function.
4433 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4434 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4437 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4439 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4441 * elmo-version.el (elmo-version): Up to 2.11.0.
4443 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4445 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4446 `elmo-file-cache-exists-p'; use proper mark that depends on
4448 (elmo-msgdb-unset-flag): Ditto.
4449 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4451 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4452 with 4th argument `use-cache'.
4454 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4456 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4457 (elmo-folder-mark-as-important): Ditto.
4458 (elmo-folder-unmark-read): Ditto.
4459 (elmo-folder-mark-as-read): Ditto.
4460 (elmo-folder-unmark-answered): Ditto.
4461 (elmo-folder-mark-as-answered): Ditto.
4463 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4465 (elmo-msgdb-mark): Likewise.
4466 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4467 (elmo-msgdb-unset-flag): Likewise.
4469 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4471 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4473 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4476 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4478 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4479 set spool-length to 0.
4481 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4483 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4484 (elmo-dop-queue-flush): Fixed last change.
4486 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4488 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4489 if require-msgdb slot is nil.
4490 (elmo-folder-list-importants): Likewise.
4492 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4494 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4497 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4498 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4501 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4503 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4505 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4507 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4509 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4511 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4513 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4514 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4516 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4518 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4519 the problem reported by Sean Rima [wl-en:180].
4521 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4523 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4525 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4527 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4529 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4531 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4533 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4535 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4537 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4539 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4542 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4544 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4545 (elmo-folder-mark-as-read): Follow the API change.
4546 (elmo-message-set-cached): New function.
4548 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4550 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4552 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4553 (elmo-folder-mark-as-important): Ditto.
4554 (elmo-folder-unmark-read): Ditto.
4555 (elmo-folder-mark-as-read): Ditto.
4556 (elmo-folder-unmark-answered): Ditto.
4557 (elmo-folder-mark-as-answered): Ditto.
4559 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4560 (elmo-folder-unmark-important): Ditto.
4561 (elmo-folder-mark-as-read): Ditto.
4562 (elmo-folder-unmark-read): Ditto.
4563 (elmo-folder-mark-as-answered): Ditto.
4564 (elmo-folder-unmark-answered): Ditto.
4566 * elmo-mark.el (toplevel): Removed some mark method definitions.
4568 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4569 (elmo-map-folder-mark-as-answered): Ditto.
4570 (elmo-folder-unmark-important): Add :before qualifier.
4571 (elmo-folder-mark-as-important): Ditto.
4572 (elmo-folder-unmark-read): Ditto.
4573 (elmo-folder-mark-as-read): Ditto.
4574 (elmo-folder-unmark-answered): Define.
4575 (elmo-folder-mark-as-answered): Ditto.
4577 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4578 (elmo-map-folder-unmark-answered): Ditto.
4580 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4582 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4583 (elmo-folder-mark-as-important): Ditto.
4584 (elmo-folder-unmark-read): Ditto.
4585 (elmo-folder-mark-as-read): Ditto.
4586 (elmo-folder-unmark-answered): Ditto.
4587 (elmo-folder-mark-as-answered): Ditto.
4589 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4590 `mark'; evaluate mark condition.
4591 (elmo-msgdb-match-condition-internal): New function.
4592 (elmo-msgdb-match-condition): Call it; changed argument.
4594 * elmo.el (elmo-folder-search): Follow the API change on
4595 `elmo-msgdb-match-condition'.
4597 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4599 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4600 original mark is non-nil.
4602 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4604 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4605 (elmo-map-folder-list-answereds): New method.
4606 (elmo-folder-list-unreads): Add :around qualifier.
4607 (elmo-folder-list-importants): Ditto.
4608 (elmo-folder-list-answereds): Ditto.
4610 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4612 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4614 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4615 method if msgdb is not required.
4616 (elmo-filter-folder-list-importants): Don't treat global-mark.
4618 * elmo.el (elmo-folder-list-importants): Ditto.
4620 * elmo-net.el (elmo-folder-list-importants): Ditto.
4622 * elmo-map.el (elmo-folder-list-importants): Ditto.
4624 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4626 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4627 (elmo-imap4-folder-list-any-plugged): New function.
4628 (elmo-imap4-search-internal-primitive): Use it.
4630 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4631 only when require-msgdb slot is non-nil.
4632 (elmo-folder-close): Clear target folder's msgdb.
4634 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4636 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4637 (elmo-pop3-msgdb-create-by-header): Ditto.
4638 (elmo-pop3-msgdb-create-message): Ditto.
4640 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4642 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4644 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4646 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4647 (elmo-folder-msgdb-create): Ditto.
4648 (elmo-nntp-folder-msgdb-create): Ditto.
4649 (elmo-nntp-msgdb-create-by-header): Ditto.
4650 (elmo-nntp-msgdb-create-message): Ditto.
4651 (elmo-folder-list-unreads): Define.
4653 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4654 (elmo-folder-append-messages): Ditto.
4655 (elmo-folder-list-unreads): Define.
4656 (elmo-folder-list-importants): Ditto.
4657 (elmo-folder-list-answereds): Ditto.
4659 * elmo-net.el (elmo-folder-list-unreads): Define.
4660 (elmo-folder-list-importants): Ditto.
4661 (elmo-folder-list-answereds): Ditto.
4662 (elmo-folder-list-answereds-plugged): Ditto.
4663 (elmo-folder-msgdb-create): Follow the API change.
4664 (elmo-folder-msgdb-create-unplugged): Ditto.
4665 (elmo-folder-unmark-answered): Define.
4666 (elmo-folder-mark-as-answered-unplugged): Ditto.
4667 (elmo-folder-unmark-answered-unplugged): Ditto.
4669 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4670 (elmo-msgdb-unread-uncached-mark): Ditto.
4671 (elmo-msgdb-unread-cached-mark): Ditto.
4672 (elmo-msgdb-read-uncached-mark): Ditto.
4673 (elmo-msgdb-answered-cached-mark): Ditto.
4674 (elmo-msgdb-answered-uncached-mark): Ditto.
4675 (elmo-msgdb-important-mark): Ditto.
4676 (elmo-msgdb-set-mark): Rewrite.
4677 (elmo-msgdb-count-marks): Rewrite.
4678 (elmo-msgdb-mark-alist-set): Abolish.
4679 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4680 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4682 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4683 (elmo-folder-close): Define.
4684 (elmo-folder-msgdb-create): Follow the API change.
4685 (elmo-folder-list-unreads): Rewrite.
4686 (elmo-folder-mark-as-important): Ditto.
4687 (elmo-folder-unmark-important): Ditto.
4688 (elmo-folder-mark-as-read): Ditto.
4689 (elmo-folder-unmark-read): Ditto.
4690 (elmo-folder-mark-as-answered): Define.
4691 (elmo-folder-unmark-answered): Ditto.
4693 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4694 (elmo-folder-append-messages): Ditto.
4696 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4698 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4699 (elmo-folder-list-importants): Ditto.
4701 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4702 (elmo-folder-append-messages): Ditto.
4704 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4706 (elmo-folder-msgdb-create-plugged): Ditto.
4707 (elmo-folder-append-messages): Ditto.
4708 (elmo-folder-list-answereds-plugged): Define.
4709 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4710 (elmo-folder-unmark-answered-plugged): Define.
4711 (elmo-folder-mark-as-answered-plugged): Ditto.
4712 (elmo-folder-search-requires-msgdb-p): Ditto.
4714 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4715 (elmo-folder-initialize): Set it.
4716 (elmo-folder-msgdb): Define.
4717 (elmo-folder-check): Call elmo-folder-synchronize.
4718 (elmo-folder-close): Define.
4719 (elmo-folder-commit): Ditto.
4720 (elmo-folder-msgdb-create): Rewrite.
4721 (elmo-folder-list-unreads): Ditto.
4722 (elmo-folder-list-importants): Ditto.
4723 (elmo-folder-mark-as-read): Ditto.
4724 (elmo-folder-unmark-read): Ditto.
4725 (elmo-folder-mark-as-important): Ditto.
4726 (elmo-folder-unmark-important): Ditto.
4727 (elmo-folder-mark-as-answered): Define.
4728 (elmo-folder-unmark-answered): Ditto.
4730 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4731 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4732 (elmo-dop-queue-method-name-alist): Likewise.
4733 (elmo-folder-mark-as-answered-dop): New inline function.
4734 (elmo-folder-unmark-answered-dop): Ditto.
4735 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4737 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4738 (elmo-folder-msgdb-create): Ditto.
4739 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4740 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4741 (elmo-archive-parse-mmdf): Ditto.
4743 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4744 (elmo-folder-list-unreads-internal): Ditto.
4746 * elmo.el (elmo-folder-msgdb): Define as generic function.
4747 (elmo-folder-list-messages): Added argument `in-msgdb'.
4748 (elmo-folder-list-unreads): Define as generic function.
4749 (elmo-folder-list-importants): Ditto.
4750 (elmo-folder-list-answereds): Ditto.
4751 (elmo-folder-list-messages-with-global-mark): New function.
4752 (elmo-folder-msgdb-create): Removed mark arguments.
4753 (elmo-folder-unmark-answered): New generic function.
4754 (elmo-folder-mark-as-answered): Ditto.
4755 (elmo-folder-append-messages): Removed argunment `unread-marks'
4756 (elmo-folder-list-unreads-internal): Abolish.
4757 (elmo-folder-list-importants-internal): Ditto.
4758 (elmo-folder-search-requires-msgdb-p): New generic function.
4759 (elmo-folder-search-requires-msgdb-p-internal): New function.
4760 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4762 (elmo-folder-search-fast): Added key 'mark'.
4763 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4764 instead of unread-marks argument.
4765 (elmo-folder-move-messages): Removed argunment `unread-marks'
4766 (elmo-folder-unmark-important): Define.
4767 (elmo-folder-mark-as-important): Ditto.
4768 (elmo-folder-unmark-read): Ditto.
4769 (elmo-folder-mark-as-read): Ditto.
4770 (elmo-folder-unmark-answered): Ditto.
4771 (elmo-folder-mark-as-answered): Ditto.
4772 (elmo-folder-replace-marks): Abolish.
4773 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4775 (elmo-folder-synchronize): Removed mark arguments;
4776 return crosspost only number.
4778 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4780 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4781 Remove redundunt connectivity check.
4783 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4785 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4786 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4788 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4790 * pldap.el (ldap-decode-string): Return string as-is if
4791 `ldap-coding-system' is nil.
4792 (ldap-encode-string): Ditto.
4793 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4794 (ldap-default-host): Fixed docstring.
4796 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4798 * elmo-util.el (elmo-warning): Define as a macro which uses
4799 `display-warning' if it is defined as a function.
4801 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4802 (elmo-split-equal): Use it.
4803 (elmo-split-match): Ditto.
4804 (elmo-split-message-entity): New buffer-local variable.
4805 (elmo-split-subr): Set it.
4807 * elmo-version.el (elmo-version): Up to 2.9.15.
4809 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4811 * elmo-imap4.el (elmo-network-initialize-session):
4812 Check capability after starttls.
4814 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4816 * elmo-util.el (elmo-list-delete): Added optional argument
4819 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4821 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4823 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4825 * elmo-imap4.el (elmo-folder-initialize): Don't use
4826 elmo-imap4-default-mailbox.
4828 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4830 * elmo-split.el (toplevel): Use `product-provide'.
4831 (elmo-split): Checkdoc.
4833 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4835 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4836 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4837 the function `elmo-imap4-debug-1'.
4839 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4841 * elmo-split.el (elmo-split): Moved to run hooks and to show
4842 message from elmo-split-subr.
4843 (elmo-split-subr): Follow the change above.
4845 * elmo-split.el (elmo-split-subr): New function (renamed from
4847 (elmo-split): Changed to call elmo-split-subr by element of
4849 (elmo-split-folder): Changed customization type to choice.
4851 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4853 * elmo-split.el (elmo-split-and): Fixed condition.
4855 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4857 * elmo-split.el: New file.
4858 (elmo-split): Fixed logic.
4859 Display "Test:" instead of "Folder:" when reharsal.
4861 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4864 * elmo-version.el (elmo-version): Up to 2.9.14.
4866 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4869 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4871 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4872 message with no message-id field.
4874 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4876 * elmo-version.el (elmo-version): Up to 2.9.13.
4878 * elmo-dop.el (elmo-folder-status-dop): Fix.
4880 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4882 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4884 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4885 changing default value of default-mime-charset.
4886 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4888 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4890 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4891 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4892 instead of elmo-dop-queue-method-name-alist to check merging queue.
4893 (elmo-folder-delete-messages-dop): Delete from queue if negative
4895 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4896 file is already removed.
4898 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4900 * elmo-vars.el: Bind colon keywords for old Emacsen.
4902 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4904 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4905 against non-exsisting charset.
4907 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4909 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4910 Use eword-decode-and-unfold-unstructured-field-body.
4912 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4913 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4914 exists to decode raw subject string.
4915 (toplevel): Require 'mime.
4917 * elmo-version.el (elmo-version): Up to 2.9.12.
4919 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4921 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4922 (elmo-msgdb-set-mark): Ditto.
4924 * elmo-version.el (elmo-version): Up to 2.9.11.
4926 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4928 * elmo-util.el (elmo-delete-match-files): New function.
4930 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4931 instead of elmo-delete-directory.
4933 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4934 elmo-hash-minimun-size as 63.
4936 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4937 elmo-diff-unread is nil.
4939 * elmo-imap4.el (elmo-folder-open): Fix.
4941 * elmo.el (elmo-message-mark): Rewrite.
4942 (elmo-message-field): Ditto.
4943 (elmo-message-set-mark): Ditto.
4944 (elmo-folder-replace-marks): New function.
4945 (elmo-generic-folder-append-msgdb): Removed third argument for
4947 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4948 (elmo-msgdb-load): New implementation.
4950 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4952 * elmo-util.el (elmo-list-insert): New implementation.
4954 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4955 argument for elmo-msgdb-append.
4958 * elmo-msgdb.el (elmo-load-msgdb): New function.
4959 (elmo-make-msgdb): Ditto.
4960 (elmo-msgdb-get-index): New inline function.
4961 (elmo-msgdb-set-index): Ditto.
4962 (elmo-msgdb-get-entity-hashtb): Ditto.
4963 (elmo-msgdb-get-mark-hashtb): Ditto.
4964 (elmo-msgdb-get-mark): Ditto.
4965 (elmo-msgdb-set-mark): Ditto.
4966 (elmo-msgdb-count-marks): Ditto.
4967 (elmo-msgdb-get-number): Ditto.
4968 (elmo-msgdb-get-field): Ditto.
4969 (elmo-msgdb-seen-list): Ditto.
4970 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4971 (elmo-msgdb-delete-msgs): Follow the changes above.
4972 (elmo-msgdb-overview-get-entity): Ditto.
4973 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4974 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4976 (elmo-msgdb-make-index): Likewise.
4977 (elmo-msgdb-append): Removed third argument.
4978 (elmo-msgdb-clear): Clear index as nil.
4979 (elmo-folder-set-info-hashtb): Removed.
4980 (elmo-folder-set-info-max-by-numdb): Ditto.
4981 (elmo-folder-info-make-hashtb): Ditto.
4983 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4985 * elmo-map.el (elmo-folder-pack-number): Ditto.
4987 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4989 * elmo-version.el (elmo-version): Up to 2.9.10.
4991 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4993 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4995 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4997 * elmo-utils.el (elmo-make-directory): Add option.
4998 Default file mode is 700.
5000 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5002 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5004 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5006 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5009 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5012 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5014 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5015 (elmo-shimbun-folder-entity-hash): New function.
5016 (elmo-shimbun-folder-shimbun-header): Ditto.
5017 (elmo-shimbun-entity-to-header): Ditto.
5018 (elmo-shimbun-msgdb-to-headers): Removed.
5019 (elmo-shimbun-folder-setup): Ditto.
5020 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5022 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5023 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5024 Removed useless local bind.
5025 (elmo-folder-open-internal): Don't call
5026 `elmo-shimbun-folder-setup'.
5027 (elmo-folder-close-internal): Clear entity-hash slot.
5028 (elmo-folder-clear): Ditto.
5029 (elmo-shimbun-msgdb-create-entity): Use
5030 `elmo-shimbun-folder-shimbun-header'.
5031 (elmo-map-message-fetch): Ditto.
5032 (elmo-shimbun-update-overview): Use overview entity instead of
5033 shimbun header to lookup id by references.
5034 (elmo-map-folder-list-message-locations): Use not only headers but
5035 also overviews to list locations.
5037 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5039 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5042 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5044 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5046 * elmo-util.el (elmo-read-search-condition-internal): Give default
5049 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5051 * elmo-util.el (elmo-condition-parse-search-value): Accept
5052 YYYY-MM-DD format to search.
5053 * elmo-date.el (elmo-date-get-datevec): Likewise.
5055 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5057 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5060 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5062 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5065 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5067 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5068 case from `elmo-folder-exists-p'.
5069 (elmo-folder-exists-p): Removed.
5070 (elmo-folder-creatable-p) Ditto.
5072 * elmo-net.el (elmo-folder-create): Defined.
5073 (elmo-folder-create-unplugged): New function.
5074 (elmo-folder-exists-p): Changed default value to nil from t.
5076 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5077 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5079 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5080 `elmo-create-folder-dop' and append queue
5081 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5082 (elmo-folder-create-dop-delayed): New function.
5084 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5086 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5088 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5089 (elmo-folder-writable-p) : Ditto.
5091 * elmo-version.el (elmo-version): Up to 2.9.9.
5093 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5095 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5096 `elmo-message-use-cache-p' returns nil.
5097 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5098 (ignore cache file and refer the substance in local folders)
5100 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5102 * elmo-version.el (elmo-version): Up to 2.9.8.
5104 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5106 * elmo-version.el (elmo-version): Up to 2.9.7.
5108 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5110 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5112 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5114 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5116 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5118 (elmo-map-folder-list-message-locations): Reverse location list.
5120 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5122 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5124 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5126 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5128 (elmo-nntp-folder-list-subfolders): Follow the change above.
5130 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5132 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5133 name if authentication type is specified.
5135 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5137 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5139 (elmo-default-nntp-stream-type): Ditto.
5140 (elmo-default-pop3-stream-type): Ditto.
5142 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5144 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5146 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5148 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5150 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5152 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5153 (elmo-maildir-folder-path): Ditto.
5154 (elmo-maildir-list): Ditto (abolished).
5156 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5158 * elmo-version.el (elmo-version): Up to 2.9.6.
5160 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5162 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5163 (elmo-maildir-folder-path): Ditto.
5164 (elmo-msgdb-directory): Ditto.
5165 (elmo-passwd-life-time): Ditto.
5166 (elmo-msgdb-extra-fields): Ditto.
5167 (elmo-enable-disconnected-operation): Ditto.
5169 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5171 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5173 (elmo-pop3-default-authenticate-type): Ditto.
5175 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5177 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5179 (elmo-pop3-default-authenticate-type): Ditto.
5181 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5183 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5184 mailbox to new-folder.
5186 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5188 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5189 less than new, set new as unread.
5191 * elmo-util.el (elmo-string): Don't put text-property if nil.
5193 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5195 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5196 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5198 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5200 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5201 is nil on `completing-read'.
5203 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5205 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5207 (elmo-imap4-parse-namespace-subr): Ditto.
5208 (elmo-folder-list-subfolders): Append a delimiter when the specified
5209 folder path is a root with namespace and does not end with delimiter.
5211 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5213 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5216 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5218 * elmo-util.el (elmo-save-buffer): The first argument of message
5219 is a format control string.
5221 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5223 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5224 `elmo-folder-diff').
5225 (elmo-diff-unread): Likewise.
5227 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5229 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5230 is t on `completing-read'.
5232 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5234 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5235 method of target folder with self mark-alist if MARK-ALIST is nil.
5237 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5239 * elmo-version.el (elmo-version): Up to 2.9.5.
5241 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5243 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5244 (elmo-dop-merge-funcs): Remove.
5246 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5248 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5249 Return t if PATH is directory, too.
5250 Use `dolist' instead of while loop.
5252 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5254 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5257 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5259 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5261 (elmo-folder-list-messages-unplugged): Return t if
5262 elmo-enable-disconnected-operation is nil.
5264 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5265 `elmo-folder-list-messages-internal'.
5267 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5269 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5270 Change to looking-at `[23][0-9]+'.
5271 (elmo-network-initialize-session): Use 'error-msg'
5272 * elmo-net.el (elmo-network-open-session): Set unplugged
5273 if elmo-network-initialize-session returns 'elmo-open-err.
5275 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5277 * elmo-version.el (elmo-version): Up to 2.9.4.
5279 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5281 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5282 `elmo-folder-list-messages-internal'.
5284 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5286 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5287 (elmo-message-match-condition): New method.
5288 (elmo-folder-search-fast): New inline function.
5289 (elmo-msgdb-search): Removed.
5291 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5292 target folder if it is unplugged.
5293 (elmo-folder-list-messages-internal): Return t if target folder is
5294 unplugged and itself is persistent; In this case, use list be
5297 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5298 (elmo-msgdb-search-internal-primitive): Ditto.
5299 (elmo-msgdb-match-condition): New function.
5300 (elmo-msgdb-match-condition-primitive): Ditto.
5302 * elmo-util.el (elmo-filter-condition-p): New macro.
5304 * elmo-cache.el (elmo-folder-search): Removed.
5306 * elmo-localdir.el (elmo-folder-search): Ditto.
5308 * elmo-maildir.el (elmo-folder-search): Ditto.
5310 * elmo-mark.el (elmo-folder-search): Ditto.
5312 * elmo-nmz.el (elmo-folder-search): Ditto.
5314 * elmo-sendlog.el (elmo-folder-search): Ditto.
5316 * elmo-shimbun.el (elmo-folder-search): Ditto.
5318 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5319 if folder is unplugged.
5321 * elmo-nntp.el (elmo-folder-search): Likewise.
5322 (elmo-nntp-search-internal): New function.
5324 * elmo-version.el (elmo-version): Up to 2.9.3.
5326 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5328 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5330 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5332 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5334 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5336 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5338 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5340 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5341 (elmo-map-folder-list-message-locations): Do drive letter conversion
5342 on Windows environment.
5343 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5344 (elmo-map-message-fetch): Ditto.
5346 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5348 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5349 (elmo-network-initialize-session): Ditto.
5351 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5353 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5355 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5357 * elmo-util.el (elmo-progress-clear): Ditto.
5359 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5360 `DD-Mon-YYYY' type date.
5362 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5364 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5365 `elmo-date-make-sortable-string' instead of
5366 `timezone-make-date-sortable'.
5368 * elmo-date.el (elmo-date-make-sortable-string): Use
5369 `timezone-make-time-string'.
5371 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5373 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5375 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5376 `since'; Fix timezone.
5378 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5380 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5382 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5384 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5386 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5388 * elmo.el (elmo-generic-folder-append-messages): Make
5389 fetch-strategy with `use-cache' as 'maybe. Check return value of
5390 `elmo-message-fetch'.
5391 (elmo-message-fetch): Return return value of
5392 `elmo-message-fetch-with-cache-process'.
5393 (elmo-message-fetch-with-cache-process): Return non-nil if
5394 fetching was succeed. Load cache when fetching was failed and
5395 fetch-strategy-use-cache is 'maybe.
5397 * elmo-util.el (elmo-file-cache-load): New function.
5399 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5402 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5403 non-nil if fetching was succeed.
5405 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5407 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5409 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5410 (elmo-message-fetch-with-cache-process): Likwise.
5412 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5414 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5416 * elmo-version.el (elmo-version): Up to 2.9.2.
5418 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5420 * elmo.el (elmo-folder-delete): Delete msgdb path.
5422 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5424 * elmo-maildir.el (elmo-folder-delete): Ditto.
5426 * elmo-localdir.el (elmo-folder-delete): Ditto.
5428 * elmo-imap4.el (elmo-folder-delete): Ditto.
5430 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5432 * elmo.el (luna-define-class): Added `biff' slot.
5434 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5435 (elmo-pop3-debug-inhibit-logging): Abolished.
5436 (elmo-network-close-session): Eliminated needless let.
5437 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5438 (elmo-pop3-send-command): Added `no-log' argument.
5439 (elmo-pop3-process-filter): Use `with-current-buffer'.
5440 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5442 (elmo-pop3-auth-apop): Likewise.
5443 (elmo-network-authenticate-session): Likewise.
5445 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5448 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5449 string to determine protocol.
5450 (elmo-network-session-name-prefix): Abolished.
5451 (elmo-network-session-cache-key): Follow the change above.
5452 (elmo-network-open-session): Ditto.
5454 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5455 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5457 * elmo-version.el (elmo-version): Up to 2.9.1.
5459 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5460 unmatch condition checking.
5462 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5465 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5467 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5469 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5471 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5472 test for while loop to execute at least one SEARCH command.
5474 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5476 * elmo-version.el (elmo-version): Up to 2.9.0.
5478 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5480 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5481 (elmo-archive-folder-path): Define.
5482 (elmo-folder-initialize): Setup `dir-name' slot.
5483 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5484 Use `dir-name' as prefix of each subfolders.
5485 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5487 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5489 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5490 (elmo-pipe-folder-list-target-messages): New internal function.
5491 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5493 (elmo-pipe-folder-copied-list-load): New function.
5494 (elmo-pipe-folder-copied-list-save): Ditto.
5495 (elmo-folder-open-internal): Follow the change above.
5496 (elmo-folder-status): Fixed for copy.
5498 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5500 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5502 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5504 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5505 elmo-copy-file instead of elmo-add-name-to-file.
5507 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5509 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5512 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5513 of accept-process-output as 1.
5514 (elmo-pop3-read-contents): Ditto.
5515 (elmo-pop3-read-body): Ditto.
5517 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5519 * elmo-version.el (product-version-as-string): Remove define.
5521 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5523 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5524 (elmo-imap4-copy-messages): Chop number set using
5525 `elmo-imap4-number-set-chop-length'.
5526 (elmo-imap4-set-flag): Ditto.
5527 (elmo-imap4-search-internal-primitive): Ditto.
5529 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5531 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5532 `elmo-folder-make-temp-dir'
5534 * elmo-vars.el (elmo-cache-directory): New variable.
5535 (elmo-cache-dir): Abolished.
5536 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5538 * elmo-version.el (elmo-version): Up to 2.7.7.
5540 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5542 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5543 defcustom; Set default value as t.
5545 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5547 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5548 (ldap-search-program-arguments): Changed default value.
5549 (ldap-search-basic): Accept exit status 4.
5550 (ldap/field-body): Parse options.
5551 (ldap/collect-field): Ditto.
5552 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5554 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5555 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5556 (elmo-imap4-accept-ok): Ditto.
5557 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5558 'notify-bye, only BYE error is reported.
5559 (elmo-folder-exists-p-plugged): Set no-error argument of
5560 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5562 * elmo.el (elmo-imap4-bye-error): Changed message.
5564 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5565 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5566 queues (It causes infinite loop).
5568 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5570 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5571 (RECENT UNSEEN MESSAGES) extension.
5573 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5575 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5576 Check number of overview fields.
5578 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5580 * elmo.el (elmo-folder-confirm-appends): Changed message.
5581 (elmo-folder-confirm-appends): Ditto.
5583 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5585 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5587 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5589 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5590 of elmo-folder-update-threshold is nil, which can be set by
5591 wl-summary-update-confirm-threshold.
5593 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5595 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5596 (elmo-nmz-index-alias-alist): Ditto.
5597 (elmo-map-folder-list-message-locations): Follow the change above.
5599 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5601 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5603 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5605 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5607 * elmo-util.el (elmo-read): Ditto.
5608 (elmo-display-error): Ditto.
5610 * elmo-vars.el (elmo-date-match): Ditto.
5612 * pldap.el (ldap-coding-system): Ditto.
5614 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5615 `elmo-inhibit-number-mapping' as nil.
5617 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5619 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5620 space delimiter for list response.
5622 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5624 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5626 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5628 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5629 (elmo-map-message-fetch): Fix.
5630 * elmo-map.el (elmo-folder-status): Fix for killed.
5632 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5634 * elmo-sendlog.el: New file.
5635 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5637 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5639 * acap.el (acap-logging-out): New buffer local variable.
5640 (acap-close): Set it.
5641 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5644 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5646 * acap.el (acap-response-bye-p): New function.
5647 (acap-response-bye-message): Ditto.
5648 (acap-wait-for-response): If bye response is received, cause an error.
5649 (acap-parse-response): Make bye response when 'Bye' is received.
5651 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5653 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5655 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5657 * elmo-util.el (elmo-copy-file): Added argument
5658 `ok-if-already-exists'.
5659 (elmo-copy-file): Fixed typo.
5661 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5663 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5665 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5667 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5669 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5671 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5674 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5676 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5677 (elmo-folder-initialize): Fix for `copy'.
5678 (elmo-pipe-drain): Ditto.
5679 (elmo-folder-open-internal): Ditto.
5680 (elmo-folder-newsgroups): Fix.
5682 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5684 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5687 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5688 recent value is returned from imap folder.
5690 * elmo.el (elmo-folder-newsgroups): New generic function.
5692 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5693 (elmo-folder-initialize): Set it.
5694 (elmo-folder-expand-msgdb-path): Use it.
5695 (elmo-folder-newsgroups): Define.
5697 * elmo-filter.el (elmo-folder-newsgroups): Define.
5699 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5701 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5703 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5705 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5707 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5709 (elmo-shimbun-header-extra-field): New inline function.
5710 (elmo-shimbun-header-set-extra-field): Ditto.
5711 (elmo-shimbun-folder-header-hash-setup): Ditto.
5712 (elmo-shimbun-update-overview): Ditto.
5713 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5714 (elmo-shimbun-folder-setup): Use
5715 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5716 (elmo-shimbun-get-headers): Ditto.
5717 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5718 Insert `X-Shimbun-Id:' header if extra field is set.
5719 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5720 field's value instead of `shimbun-header-id'.
5722 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5724 (elmo-msgdb-overview-entity-set-date): Ditto.
5725 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5727 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5729 * mmimap.el (mmimap-entity-section): Changed body node number from
5732 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5734 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5735 `elmo-folder-delete-messages'.
5737 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5738 (elmo-folder-initialize): Changed to expand alias into index path.
5740 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5741 `elmo-mime-insert-header-from-buffer' with 6th arg
5744 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5746 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5748 * elmo.el (elmo-diff-new): New inline function.
5749 (elmo-diff-unread): Ditto.
5750 (elmo-diff-all): Ditto.
5752 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5753 value from responseb.
5754 (elmo-imap4-folder-diff-plugged): Ditto.
5755 (elmo-imap4-server-diff-async): Added recent argument.
5756 (elmo-server-diff-async): Ditto.
5757 (elmo-imap4-folder-diff-plugged): Ditto.
5759 * elmo-version.el (elmo-version): Up to 2.7.6.
5761 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5763 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5766 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5768 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5770 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5772 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5774 * elmo-multi.el (elmo-folder-initialize): Ditto.
5776 * elmo-util.el (elmo-parse-token): New function.
5777 (elmo-parse-prefixed-element): Ditto.
5779 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5781 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5783 (elmo-imap4-accept-ok): Ditto.
5785 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5787 * mmimap.el (mime-imap-entity-header-string): Don't check first
5788 element of node-id is `0' (Follow last change).
5790 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5792 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5793 assigned irregular node-id to nested multipart section.
5794 (initialize-instance): Followed above change.
5796 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5798 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5799 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5800 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5801 `elmo-shimbun-get-headers');
5802 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5803 visible article on summary exists in headers).
5804 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5806 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5808 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5811 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5813 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5815 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5817 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5818 header separator into loop condition.
5820 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5822 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5823 Return duplicate folder if it has subfolder.
5825 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5827 * elmo.el (elmo-make-folder): Add folder name error check.
5829 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5830 (elmo-nntp-encode-group-string): New inline function.
5831 (elmo-nntp-decode-group-string): Ditto.
5832 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5833 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5834 Use `not' instead of `null';
5835 Use elmo-nntp-decode-group-string.
5837 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5839 * elmo-version.el (elmo-version): Up to 2.7.5.
5841 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5843 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5844 Hide progress gauge if `elmo-folder-move-messages' exits
5847 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5849 * elmo-imap4.el (elmo-folder-initialize): Use
5850 `elmo-imap4-encode-folder-string' for folder name.
5852 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5854 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5857 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5859 * elmo-util.el (elmo-progress-counter-alist): New internal
5861 (elmo-progress-counter-value): New macro.
5862 (elmo-progress-counter-all-value): Ditto.
5863 (elmo-progress-counter-format): Ditto.
5864 (elmo-progress-counter-set-value): Ditto.
5865 (elmo-progress-set): New function.
5866 (elmo-progress-clear): Ditto.
5867 (elmo-progress-notify): Ditto.
5869 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5872 * elmo.el (elmo-generic-folder-append-messages): Call
5873 `elmo-progress-notify'.
5874 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5876 * elmo-archive.el (elmo-folder-append-messages): Call
5877 `elmo-progress-notify'.
5879 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5881 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5883 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5885 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5887 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5889 (elmo-message-encache-dop): Added argument `read'.
5891 * elmo-shimbun.el (elmo-message-encache): Ditto.
5893 * elmo-net.el (elmo-message-encache): Ditto.
5895 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5896 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5897 elmo-imap4-seen-messages.
5898 (elmo-folder-msgdb-create-plugged): Initialize
5899 elmo-imap4-seen-messages;
5900 Set seen mark on elmo-imap4-seen-messages.
5902 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5904 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5905 elmo-folder-append-buffer.
5906 (elmo-folder-encache): Added optional argument `read'.
5907 (elmo-message-encache): Ditto.
5909 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5911 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5913 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5914 if append buffer content succeds.
5916 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5918 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5919 elmo-display-progress.
5921 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5922 Set 4th argument of mime-display-message.
5923 (elmo-mime-display-as-is): Ditto.
5925 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5927 * elmo-nmz.el (toplevel): Require 'mime-edit.
5928 (elmo-nmz-content-type-alist): Abolished.
5929 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5930 content is not a message.
5931 (elmo-map-message-fetch): Changed behavior exept for message content;
5932 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5933 content-type, Add From: and Subject: field.
5935 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5937 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5938 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5941 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5943 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5944 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5946 * elmo-archive.el (elmo-folder-writable-p): Defined.
5948 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5950 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5952 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5954 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5956 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5958 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5960 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5962 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5964 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5966 * elmo-util.el (elmo-address-quote-specials): New function;
5967 Renamed from `wl-address-quote-specials'.
5969 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5971 * elmo-version.el (elmo-version): Up to 2.7.4.
5973 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5975 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5977 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5979 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5980 both compile-time and run-time to avoid byte-compile warning.
5982 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5984 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5986 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5988 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5990 (elmo-mime-display-as-is-internal): Use it.
5992 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5993 if `read-passwd' is not defined.
5995 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5997 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5999 (elmo-folder-status): Call `elmo-folder-open-internal';
6000 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6001 (elmo-folder-close-internal): Set location-alist as nil.
6002 (elmo-folder-clear): Define.
6003 (elmo-folder-check): Don't set location-alist as nil.
6005 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6007 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6009 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6010 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6012 * mmimap.el (mime-imap-entity::requested): New slot.
6013 (mime-imap-location-fetch-entity-p): New generic function.
6014 (mime-decode-parameters): Define using `defun-maybe'.
6015 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6016 content-type structure.
6017 (mime-entity-body): Return empty body if
6018 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6020 * elmo.el (elmo-message-displaying): New variable.
6022 * elmo-mime.el (elmo-mime-message-display): Bind
6023 elmo-message-displaying as t.
6025 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6027 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6029 * acap.el (acap-open): erase buffer before starting network process.
6030 (acap-store): Rewrite.
6032 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6034 * elmo-imap4.el (elmo-imap4-default-mailbox,
6035 elmo-imap4-default-server
6036 elmo-imap4-default-authenticate-type,
6037 elmo-imap4-default-user,
6038 elmo-imap4-default-port,
6039 elmo-imap4-default-stream-type,
6040 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6042 * elmo-pop3.el (elmo-pop3-default-user,
6043 elmo-pop3-default-server,
6044 elmo-pop3-default-authenticate-type,
6045 elmo-pop3-default-port,
6046 elmo-pop3-default-stream-type,
6047 elmo-pop3-stream-type-alist): Ditto.
6049 * elmo-nntp.el (elmo-nntp-default-server,
6050 elmo-nntp-default-user,
6051 elmo-nntp-default-port,
6052 elmo-nntp-default-stream-type,
6053 elmo-nntp-stream-type-alist): Ditto.
6055 * elmo-vars.el: Follow changes above.
6056 (elmo-setting): New custom group; added 'elmo-setting group to
6059 * elmo-version.el (elmo-version): Up to 2.7.3.
6061 * acap.el (acap-parse-response): Don't delete process when BYE
6062 response (It causes hang-up on slow network environment).
6063 (toplevel): Added comment.
6065 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6067 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6069 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6071 (acap-parse-return-metadata): Ditto.
6074 (toplevel): Fixed typo.
6076 * acap.el: New file.
6077 (acap-network-stream-open): Show "Connecting..." message.
6078 (acap-parse-response): Fixed problem for BYE untagged response.
6079 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6080 (toplevel): Added tiny comments.
6082 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6084 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6085 space delimiter for uidl response.
6087 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6089 * elmo-vars.el (elmo-use-semi): Eliminated.
6091 * elmo-util.el (elmo-string-assoc-all): New function.
6093 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6095 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6096 property 'mime-preview-situation for `mime-preview-quit'.
6098 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6100 * elmo.el (elmo-message-fetch-with-cache-process): Call
6101 elmo-message-fetch-internal instead of causing an error when fetch
6102 strategy is 'entire but only 'section cache is available.
6104 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6106 * elmo-version.el (elmo-version): Up to 2.7.2.
6108 * elmo.el (elmo-generic-folder-append-messages): Make
6109 fetch-strategy with `use-cache'.
6111 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6112 (elmo-dop-queue-method-name): New macro.
6114 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6116 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6117 unbalanced parenthesis.
6119 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6121 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6123 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6125 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6126 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6128 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6130 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6133 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6135 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6136 (elmo-message-use-cache-p): Define.
6137 (elmo-folder-msgdb-create): Treat cache.
6139 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6141 * elmo-nntp.el (elmo-network-initialize-session): Call
6142 `elmo-nntp-send-mode-reader'.
6143 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6145 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6147 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6149 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6152 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6153 for `elmo-plugged-p'.
6154 (elmo-open-network-stream): Fixed stream-type argument.
6156 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6158 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6159 unknown archive type is specified.
6161 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6163 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6165 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6166 while loading msgdb.
6168 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6169 (elmo-folder-open-internal): Rewrite.
6171 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6173 * elmo-mime.el (elmo-mime-display-as-is-internal):
6174 Adjust buffer-multibyte status.
6176 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6178 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6179 of elmo-condition-find-key.
6181 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6182 (elmo-condition-in-msgdb-p): Ditto.
6183 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6186 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6188 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6190 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6192 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6193 label for elmo-display-progress.
6195 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6197 * elmo.el (elmo-folder-clear): New method.
6198 (elmo-folder-clear): Define.
6199 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6201 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6202 (elmo-folder-clear): Define.
6204 * elmo-map.el (elmo-folder-clear): Define.
6206 * elmo-version.el (elmo-version): Up to 2.7.1.
6208 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6210 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6213 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6215 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6216 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6218 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6220 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6222 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6225 * elmo-imap4.el (elmo-folder-initialize): Use
6226 elmo-get-network-stream-type.
6228 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6230 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6232 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6234 * elmo.el (elmo-message-encache): Set unread argument for
6237 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6239 * elmo.el (elmo-net-port-info): New method.
6241 * elmo-shimbun.el (elmo-net-port-info): Define.
6242 (elmo-message-encache): Ditto.
6244 * elmo-net.el (elmo-net-port-info): Define as method.
6246 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6247 unplugged status when elmo-enable-disconnected-operation is t.
6249 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6250 of spool folder before checking new number.
6252 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6254 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6255 (elmo-network-setup-session): Ditto.
6256 (elmo-message-fetch-plugged): Ditto.
6257 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6258 (elmo-network-initialize-session): Ditto.
6259 (elmo-pop3-read-response): Abolish 3rd argument.
6260 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6261 (elmo-pop3-read-contents): Ditto.
6262 (elmo-pop3-read-body): Ditto.
6263 (elmo-folder-status): Call elmo-folder-close.
6264 (elmo-pop3-lock): Abolish.
6265 (elmo-pop3-unlock): Ditto.
6266 (elmo-pop3-locked-p): Ditto.
6267 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6269 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6271 * elmo-version.el (elmo-version): Up to 2.7.0.
6273 * elmo-pop3.el (elmo-pop3-debug): New variable.
6274 (elmo-pop3-debug-inhibit-logging): Ditto.
6275 (elmo-pop3-debug): New function.
6276 (elmo-pop3-send-command): Call elmo-pop3-debug.
6277 (elmo-pop3-read-response): Added keep-lock optional argument;
6278 Don't unlock if keep-lock is non-nil.
6279 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6280 (elmo-network-authenticate-session): Bind
6281 elmo-pop3-debug-inhibit-logging as t.
6282 (elmo-network-setup-session): Call elmo-pop3-read-response with
6284 (elmo-pop3-read-msg): Ditto.
6285 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6286 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6287 (elmo-network-initialize-session): Call elmo-pop3-lock.
6288 (elmo-folder-close-internal): Don't clear location-alist slot.
6289 (elmo-folder-check): Clear location-alist slot.
6291 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6293 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6294 (elmo-pop3-send-command): Call elmo-pop3-lock.
6295 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6296 (elmo-pop3-read-contents): Ditto.
6297 (elmo-pop3-lock): New function.
6298 (elmo-pop3-unlock): Ditto.
6299 (elmo-pop3-locked-p): Ditto.
6300 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6303 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6305 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6307 * elmo-util.el (elmo-file-field-primitive-condition-match):
6308 New inline function (Don't fetch file content if "first" or "last").
6309 (elmo-file-field-condition-match): Use
6310 elmo-file-field-primitive-condition-match.
6312 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6315 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6316 (elmo-message-fetch-plugged): Fixed.
6318 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6320 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6322 * elmo.el (elmo-folder-move-messages): Bind
6323 elmo-inhibit-display-retrieval-progress as t while moving messages.
6325 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6327 (elmo-inhibit-display-retrieval-progress): Ditto.
6329 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6330 for retrieval progress;
6331 Don't display progress when total buffer size is smaller than
6332 elmo-display-retrieval-progress-threshold.
6333 (elmo-message-fetch-plugged): Don't display progress when
6334 elmo-inhibit-display-retrieval-progress is non-nil.
6336 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6337 for retrieval progress;
6338 Don't display progress when literal size is smaller than
6339 elmo-display-retrieval-progress-threshold.
6340 (elmo-imap4-message-fetch): Don't display progress when
6341 elmo-inhibit-display-retrieval-progress is non-nil.
6343 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6345 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6346 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6347 (elmo-imap4-message-fetch): Likewise.
6349 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6350 (elmo-shimbun-index-range-alist): Ditto.
6351 (elmo-shimbun-use-entire-index): Abolish.
6352 (shimbun-mua-use-entire-index): Ditto.
6353 (elmo-shimbun-folder): Added new slot `range'.
6354 (elmo-folder-initialize): Setup slot `range'.
6356 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6358 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6359 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6360 (elmo-shimbun-get-headers): Use return value of
6361 `shimbun-article-expiration-days'.
6362 (elmo-folder-close-internal): Clean up last-check slot.
6364 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6365 (elmo-pop3-total-size): New variable.
6366 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6368 * elmo.el (elmo-folder-reserve-status-p): New method.
6370 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6371 (elmo-shimbun-use-entire-index): New user option.
6372 (shimbun-elmo-mua): New class.
6373 (shimbun-mua-search-id): Define.
6374 (shimbun-mua-use-entire-index): Ditto.
6375 (elmo-shimbun-folder:last-check): New slot.
6376 (elmo-shimbun-headers-cache-header-list): Abolish.
6377 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6378 (elmo-shimbun-headers-cache-header-hash): Ditto.
6379 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6380 (elmo-shimbun-headers-cache-last-check): Ditto.
6381 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6382 (elmo-shimbun-headers-check-p): Rewrite.
6383 (elmo-shimbun-msgdb-to-headers): New function.
6384 (elmo-shimbun-get-headers): Rewrite.
6385 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6386 (elmo-folder-open-internal): Get headers only if
6387 `elmo-shimbun-headers-check-p' is non-nil.
6388 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6390 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6391 (elmo-quit): Removed.
6393 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6395 (elmo-msgdb-overview-entity-set-extra): Ditto.
6396 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6398 * elmo-map.el (elmo-folder-status): Don't call
6399 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6402 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6404 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6405 of `elmo-msgdb-search-internal-primitive' when condition's car is
6408 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6410 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6412 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6414 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6415 call `elmo-pipe-drain'.
6417 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6419 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6420 typo. (elmo-cache-folder -> elmo-mark-folder)
6422 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6424 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6425 `elmo-message-fetch'.
6427 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6429 * elmo-net.el (elmo-message-encache): Fixed typo.
6430 (elmo-message-fetch-unplugged): Changed call
6431 `elmo-message-fetch-internal' without argument `outbuf'.
6433 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6435 * elmo.el (elmo-message-encache): Define as generic function.
6436 (elmo-message-fetch-field): New generic function.
6437 (elmo-message-fetch-with-cache-process): Cause an error when
6438 fetch strategy is 'entire but only 'section cache is available.
6439 (toplevel): Fixed nmz folder definition.
6441 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6442 (elmo-msgdb-resume-list-filename): Ditto.
6443 (elmo-queue-filename): Ditto.
6444 (elmo-enable-disconnected-operation): Changed default value to t.
6446 * elmo-util.el (elmo-cache-path-section-p): New function.
6447 (elmo-file-cache-get): Use it.
6448 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6449 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6450 (elmo-dop-queue-save): Ditto.
6452 * elmo-net.el (elmo-folder-status-unplugged): Call
6453 elmo-folder-status-dop.
6454 (elmo-folder-list-messages-unplugged): Implemented.
6455 (elmo-folder-delete-messages-unplugged): Define.
6456 (elmo-folder-msgdb-create): Define.
6457 (elmo-folder-msgdb-create-unplugged): Define.
6458 (elmo-folder-mark-as-read-unplugged): Ditto.
6459 (elmo-folder-unmark-read-unplugged): Ditto.
6460 (elmo-folder-mark-as-important-unplugged): Ditto.
6461 (elmo-folder-unmark-important-unplugged): Ditto.
6462 (elmo-message-encache): Ditto.
6464 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6465 (elmo-dop-queue-save): Ditto.
6467 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6468 `elmo-folder-msgdb-create'.
6469 (elmo-folder-append-buffer): Implemented unplugged operation.
6470 (elmo-folder-append-messages): Call parent method in unplugged status.
6471 (elmo-message-fetch-unplugged): Removed definition.
6472 (elmo-message-fetch-field): Implemented.
6474 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6475 (elmo-dop-folder): Removed variable definition.
6476 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6477 (elmo-dop-queue-flush): Implemented.
6478 (elmo-dop-queue-merge): Removed definition (TODO).
6479 (elmo-dop-spool-folder): New function.
6480 (elmo-dop-spool-folder-append-buffer): Ditto.
6481 (elmo-dop-spool-folder-list-messages): Ditto.
6482 (elmo-dop-list-deleting-messages): Ditto.
6483 (elmo-folder-append-buffer-dop): Ditto.
6484 (elmo-folder-delete-messages-dop): Ditto.
6485 (elmo-message-encache-dop): New inline function.
6486 (elmo-create-folder-dop): Ditto.
6487 (elmo-folder-mark-as-read-dop): Ditto.
6488 (elmo-folder-unmark-read-dop): Ditto.
6489 (elmo-folder-mark-as-important-dop): Ditto.
6490 (elmo-folder-unmark-important-dop): Ditto.
6491 (elmo-folder-status-dop): Fixed.
6492 (elmo-folder-append-buffer-dop-delayed): New function.
6493 (elmo-folder-delete-messages-dop-delayed): Ditto.
6494 (elmo-dop-msgdb): Ditto.
6496 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6498 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6500 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6502 * elmo.el (elmo-folder-move-messages): Fixed problem when
6503 `dst-folder' is 'null.
6505 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6507 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6508 instead of current mark.
6510 * elmo-multi.el (elmo-folder-list-importants-internal): No
6511 operation if importants is not list.
6513 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6514 Return t if importants is not list.
6516 * elmo-map.el (elmo-map-folder-list-importants): Define.
6517 (elmo-folder-list-importants-internal): Check return value of
6518 `elmo-map-folder-list-importants-internal'.
6520 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6522 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6524 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6526 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6528 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6530 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6531 (Patch is provided by <kita@coe.nttdata.co.jp>).
6533 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6535 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6538 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6540 * elmo.el (elmo-message-fetch): Define.
6541 (elmo-message-fetch-with-cache-process): New generic method.
6542 (elmo-message-fetch-internal): New generic method.
6543 (elmo-folder-synchronize):
6545 * elmo-archive.el (elmo-message-fetch-internal): Define.
6546 (elmo-message-fetch): Eliminated.
6548 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6549 (elmo-message-fetch): Eliminated.
6551 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6553 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6555 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6556 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6558 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6559 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6561 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6563 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6565 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6567 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6568 (elmo-message-fetch-unplugged): New generic method.
6569 (elmo-message-fetch-internal): Remove cache process (Renamed from
6570 `elmo-message-fetch').
6572 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6573 (elmo-message-fetch): Eliminated.
6574 (elmo-message-fetch-unplugged): Ditto.
6576 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6578 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6580 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6581 of `to-be-deleted' from number-alist to number-list.
6583 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6585 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6586 (elmo-folder-mark-as-important): Ditto.
6588 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6590 * elmo.el (elmo-folder): Added process-duplicates slot.
6592 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6593 (elmo-folder-unmark-read): Ditto.
6594 (elmo-folder-unmark-important): Ditto.
6595 (elmo-folder-mark-as-important): Ditto.
6597 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6598 duplicated message processing.
6600 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6602 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6604 * elmo-util.el (elmo-list-subdirectories-1): New function.
6605 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6606 (elmo-mapcar-list-of-list): New function.
6608 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6609 `elmo-mapcar-list-of-list' instead of `mapcar'.
6611 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6613 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6614 `elmo-have-link-count'. Return the fully qualified folder name.
6616 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6618 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6619 (elmo-shimbun-headers-cache): New internal variable.
6620 (elmo-shimbun-headers-cache-header-list): New inline function.
6621 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6622 (elmo-shimbun-headers-cache-header-hash): Ditto.
6623 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6624 (elmo-shimbun-headers-cache-last-check): Ditto.
6625 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6626 (elmo-shimbun-lapse-seconds): Ditto.
6627 (elmo-shimbun-headers-cache-check-p): Ditto.
6628 (elmo-shimbun-get-headers): New function.
6629 (elmo-folder-open-internal): Call it.
6630 (elmo-quit): Define (Clear headers-cache).
6632 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6634 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6636 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6637 (elmo-msgdb-flist-save): Ditto.
6639 * elmo-shimbun.el (elmo-folder-list-subfolders):
6640 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6641 (elmo-folder-exists-p): Ditto.
6643 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6644 argument for `shimbun-header-insert'.
6646 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6648 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6651 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6652 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6654 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6656 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6657 (elmo-folder-plugged-p): Define.
6658 (elmo-folder-set-plugged): Ditto.
6659 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6660 (elmo-folder-list-messages-internal): Return t if unplugged.
6661 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6663 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6664 when elmo-folder-list-messages-internal method of children returns t.
6666 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6668 (elmo-folder-open-internal): Don't update if unplugged status.
6670 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6672 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6675 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6677 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6679 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6682 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6684 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6686 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6687 (elmo-folder-open-internal): Set up headers slot.
6688 (elmo-folder-check): Call elmo-folder-close-internal and
6689 elmo-folder-open-internal.
6690 (elmo-folder-close-internal): Clean up headers slot.
6692 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6694 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6695 exactly folder list.
6696 (elmo-folder-append-messages): Fixed append archive with prefix.
6698 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6699 make temp files with start-number.
6701 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6703 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6705 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6706 argument `visible-only'.
6707 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6710 * elmo-pop3.el (elmo-folder-open-internal): Check
6711 `elmo-inhibit-number-mapping' is non-nil.
6713 * elmo-pipe.el (elmo-folder-status): Fixed.
6715 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6717 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6719 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6720 (elmo-folder-open-internal): Setup `header-hash' slot.
6721 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6723 (elmo-map-message-fetch): Ditto.
6725 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6727 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6728 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6729 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6730 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6732 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6734 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6736 * sb-airs.el: Added footer.
6738 * shimbun.el (shimbun-article): Define as luna-method.
6740 * sb-tcup.el: New file.
6742 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6743 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6745 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6747 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6748 (shimbun-get-headers): Ditto.
6750 * elmo.el: Moved obsolete variable definitions from
6751 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6753 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6756 * shimbun.el: New file.
6758 * elmo-shimbun.el: New file.
6760 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6761 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6762 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6763 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6765 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6767 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6770 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6772 * elmo.el (elmo-folder-msgdb): Define as macro.
6773 (elmo-folder-open): Added argument `load-msgdb'.
6774 (elmo-generic-folder-open): Ditto.
6775 (elmo-folder-encache): New function.
6777 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6779 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6781 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6782 Eliminated argument FOLDER and added argument MSGDB.
6783 (elmo-dop-queue-load): Moved from elmo-dop.el.
6784 (elmo-dop-queue-save): Ditto.
6786 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6788 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6790 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6791 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6792 (elmo-filter-folder-list-importants-internal): Ditto.
6794 * elmo-map.el (elmo-folder-pack-number): Ditto.
6796 * elmo-mime.el (elmo-mime-message-display): Ditto.
6798 * elmo.el (elmo-generic-folder-commit): Ditto.
6799 (elmo-folder-list-unreads): Ditto.
6800 (elmo-folder-list-importants): Ditto.
6801 (elmo-generic-folder-commit): Ditto.
6802 (elmo-message-set-mark): Ditto.
6803 (elmo-generic-folder-append-msgdb): Ditto.
6804 (elmo-folder-synchronize): Ditto.
6805 (elmo-folder-messages): Ditto.
6806 (elmo-init): Call elmo-dop-queue-load.
6807 (elmo-folder-list-messages): Ditto.
6809 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6810 (elmo-nntp-folder-process-crosspost): Ditto.
6811 (elmo-folder-list-unreads-internal): Ditto.
6813 * elmo-dop.el: Removed old functions.
6815 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6817 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6818 `folder' to `msgdb'.
6820 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6822 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6823 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6825 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6828 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6830 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6833 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6834 (mmimap-parse-parameters-from-list): Define as alias for
6835 `mime-decode-parameter-plist' if it is defined as function.
6836 (mmimap-make-mime-entity): Added argument `number'.
6837 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6839 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6841 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6843 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6845 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6847 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6849 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6851 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6852 when elmo-imap4-default-authenticate-type is nil.
6853 (elmo-folder-list-subfolders): Ditto
6854 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6855 (elmo-imap4-fetch-callback-1-subr): Renamed from
6856 `elmo-imap4-fetch-callback-1' and define as inline function.
6857 (elmo-imap4-fetch-callback-1):
6858 Renamed from `elmo-imap4-fetch-callback'.
6859 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6861 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6862 msgdb path (To keep compatibility with main trunk).
6864 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6866 * elmo-util.el (elmo-make-file-cache): Moved position of
6869 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6870 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6871 instead of `elmo-pop3-inhibit-uidl'.
6872 (elmo-folder-exists-p): Ditto.
6873 (elmo-pop3-folder-list-messages): Ditto.
6875 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6876 instead of `elmo-pop3-inhibit-uidl'.
6877 (elmo-folder-status): Ditto.
6879 * elmo-dop.el (elmo-dop-folder): New variable.
6880 (elmo-dop-lock-message): Eliminated.
6881 (elmo-dop-unlock-message): Ditto.
6882 (elmo-dop-lock-list-load): Ditto.
6883 (elmo-dop-lock-list-save): Ditto.
6884 (elmo-dop-delete-folder): Ditto.
6885 (elmo-dop-rename-folder): Ditto.
6887 * elmo.el: Removed incomplete commentary.
6889 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6891 * elmo.el (toplevel): Require 'elmo-version first;
6892 for little `recursive-load-depth' settings.
6893 Fix "ends here" comment.
6895 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6897 * elmo-util.el (toplevel): Require 'poem;
6898 Some functions are moved from elmo-cache.el.
6900 * elmo-net.el (toplevel): Require 'elmo-cache.
6902 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6904 * elmo.el (toplevel): Ditto.
6906 * elmo-cache.el: Rewrite with luna;
6907 Some functions are moved to elmo-util.el.
6909 * elmo-internal.el (elmo-internal-folder-list): New variable.
6910 (elmo-internal-folder-initialize): Rewrite.
6911 (elmo-folder-list-subfolders): Ditto.
6913 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6914 (elmo-cache-collect-sub-directories): Ditto.
6916 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6918 * elmo-version.el (elmo-version): Up to 2.5.8.
6920 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6922 * elmo-util.el (elmo-list-insert): New function.
6924 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6926 * elmo.el (elmo-init): New function.
6927 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6929 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6930 (Renamed from `elmo-localdir-header-chop-length').
6932 * elmo-pop3.el (elmo-pop3-use-cache,
6933 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6935 * elmo-nntp.el (elmo-message-fetch): Define.
6936 (elmo-message-fetch-unplugged): Ditto.
6937 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6938 (elmo-nntp-use-cache): Ditto.
6939 (elmo-nntp-max-number-precedes-list-active): Ditto.
6941 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6943 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6944 `elmo-msgdb-insert-file-header'.
6945 Use `elmo-msgdb-file-header-chop-length'.
6947 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6950 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6951 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6952 `elmo-msgdb-insert-file-header'.
6954 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6956 Define obsolete variables with `elmo-define-obsolete-variable',
6958 * elmo-util.el (elmo-warning-buffer-name): New constant.
6959 (elmo-warning): New function.
6960 (elmo-obsolete-variable-alist): New variable.
6961 (elmo-obsolete-variable-show-warnings): New variable.
6962 (elmo-define-obsolete-variable): New function.
6963 (elmo-resque-obsolete-variable): Ditto.
6964 (elmo-resque-obsolete-variables): Ditto.
6966 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6968 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6971 * elmo-pop3.el, elmo-nntp.el: Use custom.
6973 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6975 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6976 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6978 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6980 * Luna-fy Kenichi OKADA's following changes.
6981 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6983 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6985 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6987 * elmo-util.el (elmo-display-progress): Prefer
6988 `progress-feedback-with-label' to `lprogress-display'.
6990 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6992 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6994 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6996 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6997 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6998 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6999 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7000 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7001 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7002 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7003 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7004 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7005 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7006 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7007 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7008 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7010 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7012 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7013 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7015 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7017 * elmo.el (elmo-folder-process-crosspost): New generic method.
7018 (elmo-folder-writable-p): Ditto.
7019 (elmo-folder-message-appendable-p): Eliminated.
7020 (elmo-generic-folder-append-msgdb): Rewrite.
7021 (elmo-newsgroups-hashtb): New internal variable.
7022 (elmo-crosspost-message-set): Eliminated.
7023 (elmo-crosspost-message-delete): Ditto.
7024 (elmo-setup-subscribed-newsgroups): New function.
7025 (elmo-crosspost-message-alist-modified): New internal variable.
7026 (elmo-crosspost-message-alist-load): New function (Renamed from
7027 `wl-crosspost-alist-load').
7028 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7029 `wl-crosspost-alist-save').
7031 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7033 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7035 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7036 elmo-newsgroups-hashtb).
7037 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7038 `elmo-nntp-folder-update-crosspost-message-alist'.
7039 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7040 `elmo-nntp-groups-hashtb'.
7041 (elmo-nntp-make-groups-hashtb): Eliminated.
7042 (elmo-nntp-parse-newsgroups): New function (Renamed from
7043 `wl-parse-newsgroups').
7044 (elmo-folder-creatable-p, elmo-folder-writable-p,
7045 elmo-folder-close-internal, elmo-folder-mark-as-read,
7046 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7048 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7050 * elmo-net.el (elmo-message-fetch): Check buffer size.
7052 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7054 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7056 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7057 before `close' command.
7059 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7060 `mark-alist' (All other related portions are changed).
7062 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7064 * elmo-util.el (elmo-create-hash-size): Eliminated.
7065 (elmo-make-hash) Make a hash with `one less than a power of two'
7068 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7069 (elmo-hash-maximum-size): Changed value.
7071 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7073 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7074 (elmo-mime-message-display-as-is): Ditto.
7076 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7078 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7079 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7081 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7083 * elmo-mark.el: New file.
7085 * elmo-internal.el: Rewrite (Almost empty).
7087 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7089 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7090 (mime-imap-entity-header-string): Ditto.
7091 (mmimap-entity-section): Rewrite.
7093 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7095 * elmo-nmz.el: New file.
7097 * elmo-pipe.el: Rewrite with luna.
7099 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7101 * elmo-archive.el: Rewrite with luna.
7103 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7104 (elmo-folder-list-importants-internal): Ditto.
7106 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7108 * elmo-archive.el (elmo-archive-version): Abolish.
7109 (toplevel) Removed `boso' comment.
7111 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7113 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7114 elmo-msgdb-add-msgs-to-seen-list-subr;
7115 Changed argument seen-marks to unread-marks.
7117 * elmo-nntp.el: Rewrite with luna.
7119 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7121 * elmo-filter.el: Rewrite with luna.
7123 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7125 * elmo-pop3.el: Rewrite with luna.
7127 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7129 * elmo-multi.el: Rewrite with luna.
7131 * elmo-vars.el (elmo-use-killed-list): Abolish.
7132 All other related portions are changed.
7133 (elmo-filename-replace-string-alist): Renamed from
7134 elmo-msgid-replace-string-alist.
7136 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7138 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7140 * elmo-map.el: New file.
7141 * elmo-maildir.el: Rewrite with luna.
7143 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7145 * elmo.el: Changed meaning of `elmo-folder-commit'.
7146 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7148 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7150 * elmo.el (elmo-folder-append-buffer): New function.
7151 (Renamed from `elmo-append-msg')
7153 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7155 * elmo-mime.el: New file.
7157 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7159 * elmo-cache.el: Rewrite.
7161 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7163 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7165 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7167 * elmo-vars.el (elmo): New group.
7168 (elmo-strict-diff-folder-regexp): New variable.
7170 * elmo-util.el (elmo-call-func): Abolish.
7171 (elmo-folder-get-type): Ditto.
7172 (elmo-*-get-spec): Ditto.
7173 (elmo-*-spec-*): Ditto.
7174 (elmo-imap4-identical-name-space-p): Ditto.
7175 (elmo-folder-identical-system-p): Ditto.
7176 (elmo-folder-direct-copy-alist): Ditto.
7177 (elmo-folder-direct-copy-p): Ditto.
7179 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7180 (elmo-folder-initialize): Define.
7181 (elmo-folder-get-primitive-list): Ditto.
7183 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7184 (elmo-folder-initialize): Define.
7185 Renamed `elmo-network-session-host-internal' to
7186 `elmo-network-session-server-internal'.
7188 * elmo-multi.el (elmo-multi-folder): New luna class.
7189 (elmo-folder-initialize): Define.
7190 (elmo-folder-get-primitive-list): Ditto.
7191 (elmo-folder-contains-type): Ditto.
7192 (elmo-message-use-cache-p): Ditto.
7194 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7195 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7197 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7198 (elmo-folder-initialize): Define.
7200 * elmo-filter.el (elmo-filter-folder): New luna class.
7201 (elmo-folder-initialize): Define.
7202 (elmo-folder-get-primitive-list): Ditto.
7203 (elmo-folder-contains-type): Ditto.
7205 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7207 * elmo-imap4.el: Rewrite with luna.
7209 * mmimap.el: New file.
7211 * mmelmo.el, mmelmo-imap4.el: Removed.
7213 * elmo-net.el: Ditto.
7215 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7216 (elmo-folder-initialize): Define.
7218 * elmo-archive.el (elmo-archive-folder): New luna class.
7219 (elmo-folder-initialize): Define.
7221 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7222 `elmo-folder-msgdb-path'.
7223 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7226 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7228 * elmo.el: New file.
7230 * elmo2.el: Renamed to elmo.el.
7233 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7235 * elmo-cache.el (elmo-cache-expire-by-size): Count
7236 a disk usage for a cache file entry in KB even when
7237 its kind is a directory.
7239 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7241 * elmo-version.el (elmo-version): Up to 2.5.7.
7243 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7245 * elmo-version.el (elmo-version): Up to 2.5.6.
7247 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7249 * elmo-version.el (elmo-version): Up to 2.5.5.
7251 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7253 * elmo-imap4.el (elmo-network-authenticate-session):
7254 Fixed a logic for response checking.
7256 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7258 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7259 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7260 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7263 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7264 for `starttls-open-stream' and `starttls-negotiate'.
7266 * elmo-nntp.el: Remove autoload settings for
7267 `starttls-open-stream' and `starttls-negotiate'.
7269 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7270 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7271 `luna-define-class' with `eval-and-compile'.
7273 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7275 * elmo-util.el (elmo-read-search-condition-internal):
7276 Require an element of table for searching field.
7278 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7280 * elmo-version.el (elmo-version): Up to 2.5.4.
7282 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7284 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7286 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7288 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7290 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7292 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7295 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7297 * elmo-imap4.el (elmo-imap4-delete-folder):
7298 Send "close" before "delete" (Use commented out line).
7299 (elmo-imap4-rename-folder): Ditto.
7301 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7302 folder string itself.
7303 (elmo-dop-list-deleted): New function.
7304 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7307 * elmo-util.el (elmo-string-rassoc-all): New function.
7309 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7311 * elmo-version.el (elmo-version): Up to 2.5.3.
7313 * elmo-net.el (elmo-network-get-session): Changed logic for
7314 checking process status.
7316 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7318 Changed logic for checking process status.
7320 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7322 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7324 (elmo-network-setup-session): Set UIDL hash size according to
7325 the length of list response.
7326 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7327 according to the length of list response;
7328 Return the length of list response.
7329 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7331 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7333 * elmo-imap4.el (toplevel): Require 'ssl.
7334 Add autoload 'starttls.
7335 * elmo-pop3.el (toplevel): Ditto.
7336 * elmo-nntp.el (toplevel): Ditto.
7338 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7340 * elmo-imap4.el (toplevel): defun at compile time.
7341 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7342 sasl-next-step, sasl-step-data, sasl-step-set-data.
7343 * elmo-pop3.el (toplevel): Ditto.
7345 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7347 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7349 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7351 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7353 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7354 and `elmo-pop-auth-apop'.
7356 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7358 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7360 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7362 * elmo-pop3.el (elmo-network-authenticate-session): Split
7363 encoded response value.
7365 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7367 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7368 `elmo-pop3-force-login'.
7369 Redefine `sasl-mechanisms'.
7370 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7372 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7374 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7375 Delete `elmo-imap4-authenticator-alist'.
7376 (elmo-imap4-auth-cram-md5): Delete.
7377 (elmo-imap4-auth-digest-md5): Delete.
7379 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7381 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7382 (elmo-pop3-auth-scram-md5): Ditto.
7383 (elmo-pop3-auth-cram-md5): Ditto.
7385 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7387 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7388 Delete `elmo-pop3-authenticator-alist'.
7390 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7392 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7394 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7396 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7398 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7400 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7402 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7403 Fixed problem when `elmo-pop3-use-uidl' is nil.
7404 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7406 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7408 * elmo-version.el (elmo-version): Up to 2.5.2.
7410 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7412 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7414 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7415 (elmo-pop3-msgdb-create-as-numlist): Use it.
7417 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7418 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7420 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7421 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7423 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7425 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7426 when elmo-mark-as-read is called with second argument nil.
7428 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7430 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7431 Moved to elmo-util.el.
7433 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7434 Moved from elmo-pipe.el
7436 * elmo-archive.el (elmo-archive-call-process): Enclose with
7439 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7440 "RFC822" (because RFC822.PEEK is obsolete).
7441 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7443 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7445 * elmo-archive.el (elmo-archive-call-process): Don't check for
7446 the exit status when Nemacs is running.
7448 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7450 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7453 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7454 (elmo-pop3-get-spec): Set default of auth to 'user.
7456 * elmo-imap4.el (elmo-imap4-session-check):
7457 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7458 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7459 (elmo-imap4-auth-login): New function; Revival.
7460 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7461 `elmo-imap4-auth-login'.
7463 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7465 * elmo2.el (toplevel): Move `product-provide' declare.
7466 * mmelmo.el (toplevel): Ditto.
7468 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7470 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7472 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7474 * elmo-util.el (elmo-folder-get-store-type): New function.
7475 (elmo-folder-direct-copy-p): Use it.
7477 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7479 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7480 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7481 and result of `elmo-imap4-use-flag-p'.
7482 (elmo-imap4-fetch-callback-1): Set mark according to
7483 the result of `elmo-imap4-use-flag-p'.
7485 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7487 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7488 (elmo-generic-list-folder-unread): Ditto.
7489 (elmo-folder-get-info): Ditto.
7490 (elmo-folder-set-info-max-by-numdb): Ditto.
7491 (elmo-folder-get-info-max): Ditto.
7492 (elmo-folder-get-info-length): Ditto.
7493 (elmo-folder-get-info-unread): Ditto.
7494 (elmo-folder-info-make-hashtb): Ditto.
7496 * elmo2.el: Removed above functions.
7498 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7500 * elmo-imap4.el (toplevel): Require 'ssl.
7501 Add autoload 'starttls.
7502 * elmo-pop3.el (toplevel): Ditto.
7503 * elmo-nntp.el (toplevel): Ditto.
7505 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7507 * elmo-imap4.el (toplevel): defun at compile time.
7508 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7509 sasl-next-step, sasl-step-data, sasl-step-set-data.
7510 * elmo-pop3.el (toplevel): Ditto.
7512 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7514 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7516 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7518 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7520 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7521 and `elmo-pop-auth-apop'.
7523 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7525 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7527 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7529 * elmo-pop3.el (elmo-network-authenticate-session): Split
7530 encoded response value.
7532 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7534 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7535 `elmo-pop3-force-login'.
7536 Redefine `sasl-mechanisms'.
7537 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7539 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7541 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7542 Delete `elmo-imap4-authenticator-alist'.
7543 (elmo-imap4-auth-cram-md5): Delete.
7544 (elmo-imap4-auth-digest-md5): Delete.
7546 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7548 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7549 (elmo-pop3-auth-scram-md5): Ditto.
7550 (elmo-pop3-auth-cram-md5): Ditto.
7552 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7554 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7555 Delete `elmo-pop3-authenticator-alist'.
7557 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7559 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7561 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7564 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7566 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7568 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7570 * elmo-nntp.el (elmo-nntp-get-folders-info):
7571 Fixed problem when '\' character is contained in user-id.
7572 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7575 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7577 * elmo-imap4.el (elmo-imap4-delete-folder):
7578 Send "close" before "delete" (Use commented out line).
7579 (elmo-imap4-rename-folder): Ditto.
7581 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7582 folder string itself.
7583 (elmo-dop-list-deleted): New function.
7584 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7587 * elmo-util.el (elmo-string-rassoc-all): New function.
7589 * elmo-version.el (elmo-version): Up to 2.5.1.
7591 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7593 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7595 * elmo-internal.el (elmo-internal-search): Fix last change.
7597 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7599 * elmo-internal.el (elmo-internal-search): Rewrite.
7600 (Fixed problem which is pointed out by Akihiro MOTOKI
7601 <motoki@da.jp.nec.com>)
7603 * elmo-version.el (elmo-version): Up to 2.5.0.
7605 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7607 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7609 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7611 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7612 non-nil, make hierarchy.
7614 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7616 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7617 `elmo-pop3-use-uidl' must be bound to nil.
7618 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7620 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7622 * elmo-util.el (elmo-copy-file): Don't cause an error after
7623 `add-name-to-file' failed.
7625 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7626 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7628 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7630 * elmo-version.el (elmo-version): Up to 2.3.93.
7632 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7634 * elmo-util.el (elmo-flatten): New function.
7636 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7638 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7640 * elmo-cache.el (toplevel): Ditto.
7641 * elmo-database.el (toplevel): Ditto.
7642 * elmo-date.el (toplevel): Ditto.
7643 * elmo-dop.el (toplevel): Ditto.
7644 * elmo-filter.el (toplevel): Ditto.
7645 * elmo-imap4.el (toplevel): Ditto.
7646 * elmo-internal.el (toplevel): Ditto.
7647 * elmo-localdir.el (toplevel): Ditto.
7648 * elmo-localnews.el (toplevel): Ditto.
7649 * elmo-maildir.el (toplevel): Ditto.
7650 * elmo-msgdb.el (toplevel): Ditto.
7651 * elmo-multi.el (toplevel): Ditto.
7652 * elmo-net.el (toplevel): Ditto.
7653 * elmo-nntp.el (toplevel): Ditto.
7654 * elmo-pipe.el (toplevel): Ditto.
7655 * elmo-pop3.el (toplevel): Ditto.
7656 * elmo-util.el (toplevel): Ditto.
7657 * elmo-vars.el (toplevel): Ditto.
7658 * elmo2.el (toplevel): Ditto.
7659 * mmelmo-imap4.el (toplevel): Ditto.
7660 * mmelmo.el (toplevel): Ditto.
7662 * elmo-version.el (elmo-version): Move to top.
7664 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7665 * elmo-imap4.el (toplevel): Ditto.
7666 * elmo-localdir.el (toplevel): Ditto.
7667 * elmo-msgdb.el (toplevel): Ditto.
7668 * elmo-nntp.el (toplevel): Ditto.
7669 * elmo-pop3.el (toplevel): Ditto.
7670 * elmo-version.el (toplevel): Ditto.
7672 * elmo-localnews.el (toplevel): Added Keyword header.
7674 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7676 * elmo-version.el (product-version-as-string): Defined using
7680 * elmo-localdir.el (toplevel): Updated copyright notice.
7681 * elmo-version.el (toplevel): Ditto.
7682 * elmo-msgdb.el (toplevel): Ditto.
7683 * elmo-imap4.el (toplevel): Ditto.
7684 * elmo-nntp.el (toplevel): Ditto.
7685 * elmo-pop3.el (toplevel): Ditto.
7687 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7689 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7692 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7693 parameter value (It sometimes contains raw kanji).
7695 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7697 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7698 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7700 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7702 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7704 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7706 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7707 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7709 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7711 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7712 value if selecting folder succceeded.
7713 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7715 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7717 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7720 * elmo-util.el (elmo-string-matched-member): New function.
7722 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7724 * elmo-util.el (elmo-unintern): New macro.
7725 (elmo-number-set-member): Fixed docstring.
7727 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7730 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7732 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7733 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7735 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7737 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7740 Return non-nil if selecting folder succeeded.
7741 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7743 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7745 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7746 `file-name-completion' returns t.
7747 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7748 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7749 directory if it does not exist.
7750 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7753 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7755 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7756 enclosure (It's harmful in unplugged status).
7758 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7760 * mmelmo-1.el: Removed.
7762 * mmelmo-2.el: Ditto.
7764 * mmelmo-imap4-1.el: Ditto.
7766 * mmelmo-imap4-2.el: Ditto.
7768 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7770 * mmelmo.el: Merged mmelmo-2.el.
7772 * elmo-version.el (elmo-version): Up to 2.3.92.
7774 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7776 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7777 elmo-update-number): Remove last period in "...done." message.
7778 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7780 * elmo-cache.el (elmo-cache-expire-by-size,
7781 elmo-cache-get-sorted-cache-file-list,
7782 elmo-cache-msgdb-create-as-numlist): Ditto.
7783 * elmo-dop.el (elmo-dop-save-pending-messages,
7784 (elmo-dop-flush-pending-append-operations): Ditto.
7785 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7786 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7787 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7788 (elmo-localdir-pack-number): Ditto.
7789 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7790 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7791 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7792 mime-write-entity-content): Ditto.
7793 * pldap.el (ldap-search-basic): Ditto.
7795 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7797 * elmo-version.el (elmo-version): Up to 2.3.91.
7799 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7800 Only when filter is 'last'.
7802 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7803 (elmo-condition-parse-search-value): Use it.
7804 (elmo-read-search-condition-internal): Quote value only when
7807 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7809 * elmo2.el (elmo-generic-folder-diff): Fix.
7811 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7813 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7814 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7815 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7816 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7817 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7818 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7820 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7822 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7825 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7827 * elmo-version.el (elmo-version): Up to 2.3.90.
7829 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7830 (elmo-imap4-list-folder-important): Ditto.
7832 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7834 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7836 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7838 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7840 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7842 * elmo-nntp.el (elmo-network-initialize-session):
7843 Add starttls negotiation.
7845 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7847 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7849 (elmo-network-setup-session): Define.
7850 Call `elmo-nntp-send-mode-reader' when session opened.
7852 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7854 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7856 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7858 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7859 an invalid SPACE character ahead of `SEARCH' command. Move
7860 a valid SPACE character following `SEARCH' from conditional
7861 `format' arguments to control-strings.
7863 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7865 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7868 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7870 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7872 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7873 `w32-get-true-file-link-count' as t.
7875 * elmo-imap4.el (elmo-imap4-read): Abolished.
7876 (Renamed to `elmo-read' and moved to elmo-util.el)
7877 All other related portions are changed.
7879 * elmo-util.el (elmo-read): New function.
7880 (elmo-condition-parse-search-value): Use it.
7882 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7884 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7886 * elmo-nntp.el (elmo-nntp-session): Define.
7887 (elmo-nntp-setting): Abolished.
7888 All other related portions are changed.
7889 (elmo-nntp-get-server-command): Changed argument.
7890 (elmo-nntp-set-server-command): Ditto.
7891 (elmo-nntp-xover-p): Ditto.
7892 (elmo-nntp-set-xover): Ditto.
7893 (elmo-nntp-listgroup-p): Ditto.
7894 (elmo-nntp-set-listgroup): Ditto.
7895 (elmo-nntp-list-active-p): Ditto.
7896 (elmo-nntp-set-list-active): Ditto.
7897 (elmo-nntp-xhdr-p): Ditto.
7898 (elmo-nntp-set-xhdr): Ditto.
7899 (elmo-nntp-flush-connection): Abolished.
7900 (elmo-nntp-get-connection): Abolished.
7901 (elmo-nntp-get-session): New function.
7902 (elmo-network-initialize-session): Defined.
7903 (elmo-network-authenticate-session): Ditto.
7904 (elmo-nntp-send-mode-reader): Changed argument.
7905 (elmo-nntp-send-command): Changed argument.
7906 All other related portions are changed.
7907 (elmo-nntp-read-response): Ditto.
7908 (elmo-nntp-read-raw-response): Ditto.
7909 (elmo-nntp-read-contents): Ditto.
7910 (elmo-nntp-read-body): Ditto.
7911 (elmo-nntp-goto-folder): Abolished.
7912 (elmo-nntp-select-group): New function.
7913 All other related portions are changed.
7914 (This function substitutes `elmo-nntp-goto-folder')
7915 (elmo-nntp-msgdb-create-by-header): Rewrite.
7916 (elmo-nntp-get-overview): Eliminated.
7917 (elmo-nntp-get-message): Ditto.
7918 (elmo-nntp-open-connection) Abolished.
7919 (elmo-nntp-read-msg): Rewrite.
7920 (elmo-nntp-post): Ditto.
7921 (elmo-nntp-send-data): Abolished.
7922 (elmo-nntp-send-buffer): New function.
7923 (elmo-nntp-send-data-line): Define as inline function.
7924 (elmo-nntp-get-folders-info-prepare): Use session as key.
7925 (elmo-nntp-groups-read-response): Changed argument.
7926 (elmo-nntp-retrieve-headers): Ditto.
7927 (elmo-nntp-msgdb-create-message): Ditto.
7929 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7930 when searching by 'since' or 'before'.
7932 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7934 * elmo-version.el (toplevel): Use product-version-as-string for set
7935 verstion-string, if defined.
7937 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7939 * elmo-util.el: Doc fixes.
7941 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7943 * elmo-archive.el (toplevel): Use product-provide.
7944 * elmo-cache.el (toplevel): Ditto.
7945 * elmo-database.el (toplevel): Ditto.
7946 * elmo-date.el (toplevel): Ditto.
7947 * elmo-dop.el (toplevel): Ditto.
7948 * elmo-filter.el (toplevel): Ditto.
7949 * elmo-imap4.el (toplevel): Ditto.
7950 * elmo-internal.el (toplevel): Ditto.
7951 * elmo-localdir.el (toplevel): Ditto.
7952 * elmo-localnews.el (toplevel): Ditto.
7953 * elmo-maildir.el (toplevel): Ditto.
7954 * elmo-msgdb.el (toplevel): Ditto.
7955 * elmo-multi.el (toplevel): Ditto.
7956 * elmo-net.el (toplevel): Ditto.
7957 * elmo-nntp.el (toplevel): Ditto.
7958 * elmo-pipe.el (toplevel): Ditto.
7959 * elmo-pop3.el (toplevel): Ditto.
7960 * elmo-util.el (toplevel): Ditto.
7961 * elmo-vars.el (toplevel): Ditto.
7962 * elmo2.el (toplevel): Ditto.
7963 * mmelmo-1.el (toplevel): Ditto.
7964 * mmelmo-2.el (toplevel): Ditto.
7965 * mmelmo-imap4-1.el (toplevel): Ditto.
7966 * mmelmo-imap4-2.el (toplevel): Ditto.
7967 * mmelmo-imap4.el (toplevel): Ditto.
7968 * mmelmo.el (toplevel): Ditto.
7970 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7972 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7973 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7975 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7977 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7979 (elmo-multi-split-number-alist): Ditto.
7981 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7983 * elmo-version.el: New file. Use product.el.
7984 * elmo2.el: Add (require 'elmo-version).
7985 * elmo-vars.el (elmo-appname, elmo-version): Move to
7988 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7990 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7991 `elmo-msgdb-expand-path'.
7992 (elmo-msgdb-load): Ditto.
7993 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7994 (elmo-generic-list-folder-unread): Rewrite.
7995 (elmo-generic-list-folder-important): Changed argument.
7996 (elmo-list-folder-unread): Ditto.
7997 (elmo-list-folder-important): Ditto.
7998 (elmo-folder-diff): Rewrite.
7999 (elmo-generic-folder-diff): New function.
8000 (elmo-multi-get-number-alist-list): Abolished
8001 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8002 (elmo-multi-folder-diff): Moved to elmo-multi.el
8003 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8005 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8006 `elmo-msgdb-expand-path'.
8007 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8008 (elmo-pop3-read-msg): Ditto.
8009 (elmo-pop3-delete-msgs): Ditto.
8010 (elmo-pop3-folder-diff): New alias.
8012 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8013 `elmo-msgdb-expand-path'.
8014 (elmo-pipe-list-folder-unread): Changed arguments.
8015 (elmo-pipe-list-folder-important): Ditto.
8016 (elmo-pipe-folder-diff): New alias.
8018 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8019 `elmo-msgdb-expand-path'.
8020 (elmo-nntp-max-of-folder): Ditto.
8021 (elmo-nntp-msgdb-create): Ditto.
8022 (elmo-nntp-delete-msgs): Ditto.
8023 (elmo-nntp-folder-diff): New alias.
8025 * elmo-multi.el (elmo-multi-folder-diff): New function.
8026 (elmo-multi-split-mark-alist): Ditto.
8027 (elmo-multi-split-number-alist): Ditto.
8028 (elmo-multi-mark-alist-list): Abolished (Renamed to
8029 elmo-multi-split-mark-alist).
8030 (elmo-multi-list-folder-unread): Rewrite.
8031 (elmo-multi-list-folder-important): Ditto.
8032 (elmo-multi-list-folder): Set `spec' as 1st argument for
8033 `elmo-msgdb-expand-path'.
8034 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8035 instead of `elmo-multi-get-number-alist-list'.
8037 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8038 If 1st argument is not string, treat as spec.
8039 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8040 `elmo-msgdb-expand-path'.
8041 (elmo-msgdb-flist-load): Ditto.
8042 (elmo-msgdb-flist-save): Ditto.
8043 (elmo-msgdb-delete-path): Ditto.
8044 (elmo-msgdb-rename-path): Ditto.
8046 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8047 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8048 (elmo-maildir-delete-mark-msgs): Ditto.
8049 (elmo-maildir-msgdb-create): Ditto.
8050 (elmo-maildir-read-msg): Ditto.
8051 (elmo-maildir-delete-msgs): Ditto.
8052 (elmo-maildir-list-folder-subr): Ditto.
8053 (elmo-maildir-search): Ditto.
8054 (elmo-maildir-get-msg-filename): Ditto.
8055 (elmo-maildir-pack-number): Ditto.
8056 (elmo-maildir-folder-diff): New alias.
8058 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8060 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8061 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8062 (elmo-localdir-folder-diff): New alias.
8064 * elmo-internal.el (elmo-internal-list-folder-subr):
8065 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8066 (elmo-internal-list-folder-by-location): Ditto.
8067 (elmo-internal-msgdb-create): Ditto.
8068 (elmo-internal-delete-msgs): Ditto.
8069 (elmo-internal-read-msg): Ditto.
8070 (elmo-internal-folder-diff): New alias.
8072 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8073 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8074 `elmo-msgdb-expand-path'.
8075 (elmo-imap4-list-folder-unread): Changed arguments.
8076 (elmo-imap4-list-folder-important): Ditto.
8078 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8079 (elmo-filter-list-folder-important): Ditto.
8080 (elmo-filter-folder-diff): New function.
8082 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8084 * elmo-cache.el (elmo-cache-list-folder):
8085 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8086 (elmo-cache-copy-msgs): Ditto.
8087 (elmo-cache-folder-diff): New alias.
8089 * elmo-archive.el (elmo-archive-list-folder-subr):
8090 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8091 (elmo-archive-get-archive-name): Ditto.
8092 (elmo-archive-create-file): Ditto.
8093 (elmo-archive-append-msg): Ditto.
8094 (elmo-archive-copy-msgs): Ditto.
8095 (elmo-archive-copy-msgs-froms): Ditto.
8096 (elmo-archive-get-msg-filename): Ditto.
8097 (elmo-archive-folder-diff): New alias.
8099 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8101 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8102 (elmo-pop3-stream-type-alist): New variable.
8103 (elmo-nntp-stream-type-alist): New variable.
8105 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8106 (elmo-kill-buffer): Ditto.
8107 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8108 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8109 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8110 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8111 (elmo-imap4-get-spec): Take into account
8112 `elmo-imap4-stream-type-alist'.
8114 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8116 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8117 (elmo-nntp-list-folders-get-cache): Ditto.
8119 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8121 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8122 character before 'uid'.
8124 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8126 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8128 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8130 * elmo-util.el (elmo-number-set-member): New function.
8131 (elmo-number-set-append-list): Ditto.
8132 (elmo-number-set-append): Ditto.
8134 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8135 Use `elmo-number-set-member'.
8136 (elmo-living-messages): Ditto.
8137 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8138 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8140 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8141 (elmo-imap4-add-to-cont-list): Abolished.
8142 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8143 instead of elmo-imap4-add-to-cont-list.
8145 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8146 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8148 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8150 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8152 * elmo-util.el (elmo-condition-parse-search-value):
8155 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8157 * elmo-util.el (elmo-condition-find-key-internal): New function.
8158 (elmo-condition-find-key): Ditto.
8160 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8161 (elmo-msgdb-search-internal): Ditto.
8162 (elmo-msgdb-search): Ditto.
8164 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8166 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8167 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8169 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8170 (elmo-nntp-search-primitive): Fixed problem when condition is
8173 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8175 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8176 (elmo-nntp-xhdr-p): New macro.
8177 (elmo-nntp-set-xhdr): Ditto.
8178 (elmo-nntp-parse-xhdr-response): New function.
8179 (elmo-nntp-retrieve-field): Ditto.
8180 (elmo-nntp-search-primitive): Ditto.
8181 (elmo-nntp-search): Implemented.
8183 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8185 * elmo-archive.el (elmo-archive-search): Set all number list to
8186 `elmo-archive-field-condition-match'
8188 * elmo-localdir.el (elmo-localdir-search): Likewise.
8190 * elmo-maildir.el (elmo-maildir-search): Likewise.
8192 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8194 * elmo-msgdb.el (elmo-living-messages): New function.
8195 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8196 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8197 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8198 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8199 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8200 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8201 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8202 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8203 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8204 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8205 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8207 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8209 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8211 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8213 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8215 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8216 arguments for `SEARCH' command.
8217 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8218 All other related portions are changed.
8220 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8222 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8223 (elmo-list-folder-unread): Rewrite.
8224 (elmo-list-folder-important): Ditto.
8226 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8227 (elmo-condition-parse-error): New inline function.
8228 (elmo-read-search-condition): New function.
8229 (elmo-read-search-condition-internal): Ditto.
8230 (elmo-parse-search-condition): Rewrite.
8231 (elmo-condition-parse): New function.
8232 (elmo-condition-parse-or-expr): Ditto.
8233 (elmo-condition-parse-and-expr): Ditto.
8234 (elmo-condition-parse-primitive): Ditto.
8235 (elmo-condition-parse-search-value): Ditto.
8236 (elmo-buffer-field-primitive-condition-match): Ditto.
8237 (elmo-buffer-field-condition-match): Rewrite.
8238 (elmo-file-field-condition-match): Ditto.
8240 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8241 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8243 * elmo-internal.el (elmo-internal-search): Set `number' and
8244 `number-list' argument of `elmo-file-field-condition-match'.
8246 * elmo-maildir.el (elmo-maildir-search): Ditto.
8248 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8249 `msgdb' as argument instead of `mark-alist'.
8250 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8253 * elmo-multi.el: Likewise.
8255 * elmo-pipe.el: Likewise.
8257 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8258 (elmo-imap4-search-internal): Rewrite.
8259 (elmo-imap4-search): Ditto.
8261 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8262 (elmo-filter-list-folder-unread): Ditto.
8263 (elmo-filter-list-folder-important): Ditto.
8264 (elmo-filter-search): Rewrite.
8266 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8267 `number-list' argument of `elmo-file-field-condition-match'.
8268 (elmo-cache-search): Ditto.
8270 * elmo-localdir.el: Likewise.
8272 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8273 number-list and pass it to `elmo-buffer-field-condition-match'.
8274 (elmo-archive-field-condition-match): Pass `number-list' to
8275 `elmo-archive-field-condition-match'
8277 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8279 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8282 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8283 (elmo-folder-diff-async-callback-data): Ditto.
8284 (elmo-folder-diff-async): New function.
8286 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8287 (elmo-network-session-cache-key): Use it as a prefix of the session
8289 (elmo-network-open-session): Ditto.
8291 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8292 (elmo-imap4-status-callback-data): Ditto.
8293 (elmo-imap4-server-diff-async-callback): New variable.
8294 (elmo-imap4-server-diff-async-callback-data): Ditto.
8295 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8296 `elmo-imap4-status-callback-data'.
8297 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8298 `elmo-imap4-status-callback-data' as nil.
8299 (elmo-imap4-server-diff): Ditto.
8300 (elmo-imap4-server-diff-async-callback-1): New function.
8301 (elmo-imap4-server-diff-async): Ditto.
8302 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8304 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8306 * elmo-util.el (elmo-list-delete): Doc fix.
8307 (elmo-delete-lists): Abolish.
8308 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8309 instead of `elmo-delete-lists'.
8311 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8313 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8316 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8318 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8319 `elmo-imap4-literal-subr'.
8320 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8321 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8323 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8325 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8326 (elmo-archive-list-folder): Fix.
8327 (elmo-archive-max-of-folder): Fix.
8329 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8331 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8332 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8333 (elmo-localdir-append-msg): Ditto.
8334 (elmo-localdir-list-folder): Fix for `nonsort'.
8335 (elmo-localdir-list-folder-subr): Fix for `killed'.
8336 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8337 (elmo-maildir-list-folder-subr): Ditto.
8338 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8339 (elmo-archive-list-folder-subr): Ditto.
8340 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8341 (elmo-internal-list-folder-subr): Ditto.
8343 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8345 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8347 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8349 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8351 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8353 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8354 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8356 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8358 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8359 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8361 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8363 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8365 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8366 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8367 before STORE command.
8369 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8371 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8373 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8374 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8376 (elmo-imap4-list-folders): Removed unused local variable.
8377 (elmo-network-initialize-session): Ditto.
8378 (elmo-imap4-delete-msg-by-id): Ditto.
8379 (elmo-imap4-parse-fetch): Ditto.
8380 (elmo-imap4-copy-msgs): Ditto.
8381 Use `dst-spec' instead of `dst-folder'.
8382 (elmo-network-authenticate-session): Check authenticate type `plain'.
8384 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8386 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8388 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8389 `elmo-imap4-response-value'.
8390 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8392 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8394 * elmo-imap4.el (elmo-imap4-send-command):
8395 Cause elmo-imap4-bye-error when current response is BYE.
8396 (elmo-imap4-arrival-filter): Changed greeting response value.
8398 * elmo2.el (elmo-imap4-bye-error): Define.
8400 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8401 (elmo-imap4-server-diff): Ditto.
8402 (elmo-imap4-response-bye-p): New macro.
8403 (elmo-imap4-response-error-text): Get text from BYE response.
8404 (elmo-imap4-read-response): Return if BYE response.
8405 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8406 (elmo-imap4-folder-exists-p): Ditto.
8407 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8408 (elmo-imap4-parse-bye): New function.
8409 (elmo-imap4-parse-response): Remove needless let.
8410 Call `elmo-imap4-parse-bye'.
8412 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8414 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8415 the mailbox does not exist.
8416 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8418 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8420 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8422 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8424 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8426 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8427 (elmo-network-initialize-session-buffer): Defined.
8429 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8431 (mmelmo-imap4-get-mime-entity): Rewrite.
8433 * elmo2.el (elmo-error): Capitalize error message.
8435 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8436 (elmo-network-session-buffer): New macro.
8437 (elmo-network-open-session): Use it.
8439 * elmo-imap4.el: Rewrite.
8441 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8443 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8445 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8447 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8448 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8449 (elmo-imap4-create-msgdb-from-overview-string): Use
8450 `elmo-msgdb-create-overview-from-buffer'.
8452 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8454 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8455 (elmo-imap4-default-hierarchy-delimiter): New variable.
8456 (elmo-imap4-list-folders): Use it.
8458 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8460 * elmo-net.el (elmo-network-open-session): Add user and
8461 stream-type for process-buffer name.
8463 * elmo-pop3.el (elmo-network-initialize-session): Call
8464 buffer-disable-undo.
8466 * elmo-imap4.el (elmo-network-initialize-session):
8467 Set current-buffer as an argument for `buffer-disable-undo'.
8469 * elmo-pop3.el (elmo-network-close-session): Don't use
8472 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8473 Set default as 'user.
8475 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8477 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8478 and `elmo-imap4-flush-connection'.
8480 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8481 (elmo-pop3-get-spec): Assume auth as symbol.
8482 (elmo-open-network-stream): Moved to `elmo-net'.
8484 * elmo-pop3.el (toplevel): Require 'elmo-net.
8485 Define `sasl-cram-md5' to silence byte compilier.
8486 (elmo-pop3-connection-cache) Abolished.
8487 (elmo-pop3-authenticator-alist) New variable.
8488 (elmo-pop3-session): Define.
8489 (elmo-pop3-connection-get-process): Abolished.
8490 (elmo-pop3-connection-get-buffer): Ditto.
8491 (elmo-pop3-close-connection): Ditto.
8492 (elmo-pop3-flush-connection): Ditto.
8493 (elmo-pop3-get-connection): Ditto.
8494 (elmo-pop3-get-session): New function.
8495 (Replacement for `elmo-pop3-get-connection').
8496 All other related modules are changed.
8497 (elmo-network-close-session): Define.
8498 (elmo-pop3-send-command): Abolished argument `buffer'.
8499 All other related modules are changed.
8500 (elmo-pop3-read-response): Likewise.
8501 (elmo-pop3-open-connection): Abolished.
8502 (elmo-pop3-auth-user): New function.
8503 (elmo-pop3-auth-apop): Ditto.
8504 (elmo-pop3-auth-cram-md5): Ditto.
8505 (elmo-pop3-auth-scram-md5): Ditto.
8506 (elmo-pop3-auth-digest-md5): Ditto.
8507 (elmo-network-initialize-session): Define.
8508 (elmo-network-authenticate-session): Ditto.
8509 (elmo-network-setup-session): Ditto.
8511 * elmo-imap4.el (toplevel): Require 'elmo-net.
8512 (elmo-imap4-session): Define.
8513 (elmo-imap4-connection-cache): Abolished.
8514 (elmo-imap4-password-key): Ditto.
8515 (elmo-imap4-flush-connection): Ditto.
8516 (elmo-imap4-get-connection): Ditto.
8517 All other related modules are changed.
8518 (elmo-imap4-get-session): New function
8519 (Replacement for `elmo-imap4-get-connection').
8520 (elmo-imap4-read-response): Abolished argument `buffer'.
8521 All other related modules are changed.
8522 (elmo-imap4-send-command): Likewise.
8523 (elmo-imap4-select-folder): Abolished.
8524 All other related modules are changed.
8525 (elmo-imap4-select-mailbox): New function.
8526 (Replacement for `elmo-imap4-select-folder').
8527 (elmo-imap4-auth-login): Simplify.
8528 (Assume current buffer as process buffer)
8529 (elmo-imap4-auth-cram-md5): Ditto.
8530 (elmo-imap4-auth-digest-md5): Ditto.
8531 (elmo-imap4-login): Ditto.
8532 (elmo-imap4-open-connection): Abolished.
8533 (elmo-imap4-open-connection-1): Abolished.
8534 (elmo-network-initialize-sessoin): Define.
8535 (elmo-network-authenticate-session): Ditto.
8536 (elmo-network-setup-session): Ditto.
8538 * elmo-net.el: New module.
8540 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8542 * elmo-util.el (elmo-define-error): New function.
8544 * elmo2.el (elmo-error): Define.
8545 (elmo-open-error): Define.
8546 (elmo-authenticate-error): Define.
8548 * elmo-imap4.el (elmo-imap4-error): Abolish.
8549 (elmo-imap4-error-type): Abolish.
8550 (elmo-imap4-error-process): Abolish.
8551 (elmo-imap4-error-message): Abolish
8552 (elmo-imap4-list-folders): Don't quote lambda.
8553 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8554 (elmo-imap4-parse-namespace): Ditto.
8555 (elmo-imap4-open-connection): Rewrite.
8556 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8557 (elmo-imap4-get-connection): Abolish local variable `result'.
8559 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8561 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8562 wrong-type-argument error when auth is nil.
8564 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8566 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8567 (elmo-default-nntp-stream-type): Ditto.
8568 (elmo-default-pop3-stream-type): Ditto.
8569 (elmo-network-stream-type-alist): Ditto.
8570 (elmo-default-imap4-ssl): Abolished.
8571 (elmo-default-nntp-ssl): Ditto.
8572 (elmo-default-pop3-ssl): Ditto.
8574 * elmo-util.el: (toplevel): Removed needless requires.
8575 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8576 (elmo-open-network-stream): Open network stream according to
8577 the value of `elmo-network-stream-type-alist'.
8578 (elmo-get-network-stream-type): New function.
8579 (elmo-network-stream-type-spec-string): New macro.
8580 (elmo-network-stream-type-symbol): Ditto.
8581 (elmo-network-stream-type-function): Ditto.
8583 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8584 network-stream-type. All other related portions are changed.
8585 (elmo-pop3-open-connection): Ditto.
8587 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8588 network-stream-type. All other related portions are changed.
8590 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8591 network-stream-type.All other related portions are changed.
8592 (elmo-imap4-error): New macro.
8593 (elmo-imap4-error-type): Ditto.
8594 (elmo-imap4-error-process): Ditto.
8595 (elmo-imap4-error-message): Ditto.
8596 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8597 (elmo-imap4-auth-cram-md5): Ditto.
8598 (elmo-imap4-auth-digest-md5): Ditto.
8599 (elmo-imap4-login): Ditto.
8600 (elmo-imap4-open-connection): Remove password entry if authentication
8602 (elmo-imap4-user-at-host): Abolished.
8603 (elmo-imap4-password-key): New buffer local variable.
8604 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8605 using protocol, port, auth and stream-type.
8607 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8609 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8611 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8613 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8615 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8616 (elmo-imap4-authenticator-alist): New variable.
8617 (elmo-imap4-open-connection-1): Rename from
8618 elmo-imap4-open-connection.
8619 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8620 only wraps elmo-imap4-open-connection-1.
8621 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8623 (elmo-imap4-auth-login): New function.
8624 (elmo-imap4-auth-cram-md5): New function.
8625 (elmo-imap4-auth-digest-md5): New function.
8626 (elmo-imap4-login): New function.
8628 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8630 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8633 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8635 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8637 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8639 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8641 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8643 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8644 for server responses, quote `*' regardless of where it appears.
8646 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8648 * elmo-maildir.el (elmo-maildir-commit): New alias.
8650 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8652 * elmo-util.el (elmo-display-progress):
8653 Use `progress-feedback-with-label'.
8655 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8657 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8658 (elmo-imap4-non-atom-char-regex): Ditto.
8659 (elmo-imap4-non-text-char-regex): Ditto.
8660 (elmo-imap4-literal-threshold): Ditto.
8661 (elmo-imap4-atom-p): New function.
8662 (elmo-imap4-quotable-p): Ditto.
8663 (elmo-imap4-nil): Ditto.
8664 (elmo-imap4-atom): Ditto.
8665 (elmo-imap4-quoted): Ditto.
8666 (elmo-imap4-literal-subr): Ditto.
8667 (elmo-imap4-literal): Ditto.
8668 (elmo-imap4-buffer-literal): Ditto.
8669 (elmo-imap4-string-subr): Ditto.
8670 (elmo-imap4-string): Ditto.
8671 (elmo-imap4-buffer-string): Ditto.
8672 (elmo-imap4-astring-subr): Ditto.
8673 (elmo-imap4-astring): Ditto.
8674 (elmo-imap4-buffer-astring): Ditto.
8675 (elmo-imap4-nstring): Ditto.
8676 (elmo-imap4-buffer-nstring): Ditto.
8677 (elmo-imap4-mailbox): New alias.
8678 (elmo-imap4-field-body): Ditto.
8679 (elmo-imap4-userid): Ditto.
8680 (elmo-imap4-password): Ditto.
8681 (elmo-imap4-format-quoted): New function.
8682 (elmo-imap4-send-command): Rewritten. Accept a list of command
8683 arguments and handle "atom", "quoted" and "literal" string here.
8684 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8685 `elmo-imap4-send-command'.
8686 (elmo-imap4-folder-exists-p): Likewise.
8687 (elmo-imap4-create-folder): Likewise.
8688 (elmo-imap4-delete-folder): Likewise.
8689 (elmo-imap4-rename-folder): Likewise.
8690 (elmo-imap4-max-of-folder): Likewise.
8691 (elmo-imap4-check-validity): Likewise.
8692 (elmo-imap4-sync-validity): Likewise.
8693 (elmo-imap4-server-diff): Likewise.
8694 (elmo-imap4-select-folder): Likewise.
8695 (elmo-imap4-copy-msgs): Likewise.
8696 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8697 (elmo-imap4-mark-set-on-msgs): Likewise.
8698 (elmo-imap4-read-part): Likewise.
8699 (elmo-imap4-read-msg): Likewise.
8700 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8701 `elmo-imap4-password' for `elmo-imap4-send-command'.
8702 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8703 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8704 `elmo-imap4-buffer-literal'.
8705 (elmo-imap4-append-msg): Likewise.
8707 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8708 `delete' for removing dead connection from the connection cache.
8709 Move deletion of the process buffer after that.
8710 (elmo-imap4-list): Change `defsubst' to `defun'.
8711 (elmo-imap4-commit): Make error message verbose.
8712 (elmo-imap4-search): Ditto.
8713 (elmo-imap4-list): Ditto.
8714 (elmo-imap4-select-folder): Ditto.
8715 (elmo-imap4-copy-msgs): Ditto.
8716 (elmo-imap4-delete-msg-by-id): Ditto.
8717 (elmo-imap4-append-msg-by-id): Ditto.
8718 (elmo-imap4-append-msg): Ditto.
8720 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8722 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8723 when dired is used on XEmacs.
8725 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8727 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8728 instead of `append'.
8729 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8730 `elmo-plugged-p' directly.
8731 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8732 of `elmo-plugged-p' directly.
8734 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8735 Eliminate unused variable. Use `memq' for checking a process status.
8736 Use `cons' instead of `append' for updating the connection cache.
8737 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8738 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8740 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8742 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8743 `elmo-imap4-read-point' exactly.
8745 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8746 the local variable `folder' to `mailbox'.
8747 Rename the argument `fld' to `folder'.
8749 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8751 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8752 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8754 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8756 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8757 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8758 (elmo-pop3-uidl-number-hash): Ditto.
8759 (elmo-pop3-size-hash): Ditto.
8760 (elmo-pop3-uidl-done): Ditto.
8761 (elmo-pop3-list-done): Ditto.
8762 (elmo-pop3-connection-get-process): New defmacro.
8763 (elmo-pop3-connection-get-buffer): Ditto.
8764 (elmo-pop3-close-connection): Delete buffer and process.
8765 (elmo-pop3-flush-connection): Don't delete buffer and process.
8766 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8767 Setup UIDL and size hash.
8768 (elmo-pop3-send-command-no-erase): Deleted
8769 (elmo-pop3-send-command): Added optional argument `no-erase'.
8770 (elmo-pop3-parse-uidl-response): New function.
8771 (elmo-pop3-parse-list-response): Set size hash.
8772 (elmo-pop3-list-location): New function.
8773 (elmo-pop3-list-by-uidl-subr): Ditto.
8774 (elmo-pop3-list-by-list): Ditto.
8775 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8776 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8777 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8778 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8779 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8781 (elmo-pop3-uidl-to-number): New function.
8782 (elmo-pop3-number-to-uidl): Ditto.
8783 (elmo-pop3-number-to-size): Ditto.
8784 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8785 Set number by use of uidl.
8786 (elmo-pop3-msgdb-create-message): Likewise.
8787 Set size, loc-alist in msgdb.
8788 (elmo-pop3-read-msg): Set number by use of uidl.
8789 Added optional argument `msgdb'.
8790 (elmo-pop3-delete-msg): Ditto.
8791 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8792 (elmo-pop3-commit): Close connection.
8794 * elmo-pipe.el (elmo-pipe-max-of-folder):
8795 Bind `elmo-pop3-use-uidl' as nil.
8796 (elmo-pipe-drain): Ditto.
8799 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8800 (elmo-msgdb-overview-entity-set-size): New defsubst.
8802 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8804 * elmo-vars.el (elmo-use-killed-list): New variable
8805 (Renamed from `elmo-nntp-use-killed-list').
8806 (elmo-nntp-use-killed-list): Eliminated.
8808 * elmo-msgdb.el (elmo-msgdb-expand-path):
8809 Changed expanding msgdb path for elmo-multi.
8811 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8812 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8813 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8814 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8815 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8816 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8817 (toplevel): Deleted time-stamp line.
8819 * elmo2.el (elmo-clear-killed ): Defined as function
8820 (Abolished defining as a backend function).
8821 All other related modules are changed.
8823 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8825 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8827 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8829 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8831 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8833 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8835 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8837 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8838 asynchronous folder check.
8840 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8842 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8843 `elmo-nntp-use-killed-list'.
8844 (elmo-nntp-list-folder): Use killed list.
8845 (elmo-nntp-max-of-folder): Ditto.
8846 (elmo-nntp-msgdb-create): Set killed list.
8848 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8850 * elmo2.el (elmo-clear-killed): New backend function.
8851 All other related modules are changed.
8853 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8855 * elmo-util.el (elmo-imap4-spec-folder): Use
8856 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8857 All callers changed.
8859 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8861 * mmelmo-2.el (initialize-instance):
8862 Use `mime-buffer-entity-buffer-internal' instead of
8863 `mime-entity-buffer'.
8865 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8866 (mime-entity-body): Implemented.
8867 (mime-goto-header-start-point): Deleted.
8868 (mime-goto-body-end-point): Ditto.
8869 (mime-entity-point-min): Ditto.
8870 (mime-entity-point-max): Ditto.
8871 (mime-entity-children): Ditto.
8872 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8873 instead of `mime-entity-buffer'.
8874 (mime-entity-header-buffer): Ditto.
8875 (mime-entity-body-buffer): Ditto.
8876 (mime-write-entity-content): Ditto.
8878 * pldap.el (ldap-static-if): New macro.
8879 (toplevel): Use it instead of `static-if'.
8881 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8883 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8884 included in `attrs' argument.
8886 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8888 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8890 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8891 (ldap-ldif-safe-init-char-regexp): Ditto.
8892 (ldap-ldif-safe-string-regexp): Ditto.
8893 (ldap/ldif-safe-string-p): New macro.
8894 (ldap/ldif-insert-field): Ditto.
8895 (ldap-modify): Use it.
8897 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8898 (ldap-decode-attribute): Decode only when `attr' is consp.
8899 (ldap-delete): Bind `ret'.
8900 (toplevel): Require 'cl at compile time.
8901 Removed (require 'poe) and (require 'std11).
8902 (pldap-version): Eliminated.
8903 (ldap-search-basic): Removed auth and dn binding.
8904 (ldap-ldif-field-name-regexp): New constant.
8905 (ldap-ldif-field-head-regexp): Ditto.
8906 (ldap-ldif-next-field-head-regexp): Ditto.
8907 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8908 (ldap/field-end): New function.
8909 (ldap/field-body): Use it.
8910 (ldap/collect-field): Ditto.
8911 (ldap-search-basic): Use `ldap/field-body'.
8913 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8915 * pldap.el (ldap-default-attribute-encoder): New user option.
8916 (ldap/field-body): Decode base64 string.
8917 (ldap/collect-field): Ditto.
8918 (ldap-encode-attribute): New function.
8919 (ldap-add-entries): Use it.
8920 (ldap-modify-entries): Ditto.
8921 (ldap-search-entries): Enclosed decoding function with
8922 `with-temp-buffer' and set as unibyte.
8923 (ldap-search-basic): Set process buffer as unibyte.
8925 * elmo-util.el (elmo-folder-identical-system-p):
8926 Eliminated name space checking.
8928 * pldap.el: New module.
8929 toplevel: Changed condition to detect built-in ldap feature.
8930 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8931 (ldap-add): Added error handling.
8932 (ldap-modify): Ditto.
8933 (ldap-delete): Ditto.
8935 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8937 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8938 Initialize local variables with `let'. Inline a temporary
8939 variable for the progress percentage. Sort `setq' to reduce
8940 function call in the while-loop.
8942 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8943 into the conditional branch.
8945 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8947 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8948 Move a conditional out of the while-loop.
8950 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8952 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8953 elmo-msgdb-overview-get-entity-by-number.
8954 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8957 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8959 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8960 the local variable for a packed number self descriptively.
8962 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8964 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8965 * elmo-localdir.el (elmo-localdir-pack-number): Use
8966 `elmo-msgdb-overview-get-entity' instead of
8967 `elmo-msgdb-overview-get-entity-by-number'.
8968 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8969 (elmo-msgdb-search-overview-entity): Removed.
8970 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8971 by message-id or number.
8972 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8973 instead of `elmo-msgdb-overview-get-entity-by-number'.
8975 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8977 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8978 non-nil, use hash table for overview.
8979 (elmo-hash-maximum-size): New variable.
8980 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8981 (elmo-msgdb-make-overview-hashtb): New function.
8982 (elmo-msgdb-clear-overview-hashtb): New function.
8983 (elmo-clear-hash-val): New macro.
8984 All other related modules are changed.
8986 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8988 * elmo2.el (elmo-move-msgs): If there's other message with
8989 same message-id, don't use cache.
8991 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8993 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8994 number is already packed.
8996 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8998 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9000 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9002 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9003 All other related modules are changed.
9005 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9007 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9008 of refiling failure on Maildir.
9010 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9012 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9013 decoded mime-charset with cache.
9014 (elmo-msgdb-overview-entity-get-from): Ditto.
9015 (elmo-msgdb-overview-entity-get-subject): Ditto.
9016 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9018 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9020 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9021 (elmo-remove-passwd): Fill password with 0 before erase.
9022 * elmo-vars.el (elmo-passwd-life-time): New variable.
9025 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9027 * elmo-cache.el (elmo-buffer-cache-add):
9028 Set message cache buffer as unibyte.
9030 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9032 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9035 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9037 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9038 when display is finished.
9039 (elmo-nntp-msgdb-create): Ditto.
9040 (elmo-nntp-groups-read-response): Ditto.
9041 (elmo-nntp-retrieve-headers): Ditto.
9042 (elmo-nntp-msgdb-create-message): Ditto.
9043 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9044 (elmo-pop3-msgdb-create-message): Ditto.
9046 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9048 * elmo-maildir.el (elmo-maildir-msgdb-create):
9049 Use `elmo-msgdb-sort-by-date'.
9051 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9053 * elmo2.el (elmo-read-msg-no-cache):
9054 Eliminated arguments after `outbuf'.
9055 Don't use cache even if it exists.
9056 (elmo-read-msg): Don't pass arguments after `outbuf' to
9057 `elmo-read-msg-no-cache'.
9059 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9061 * elmo-archive.el (elmo-archive-list-folders):
9062 Use `file-name-directory' if base folder does not exist.
9064 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9066 * elmo-archive.el (elmo-archive-list-folders): Don't use
9067 `file-name-directory'.
9069 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9071 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9072 If `force' is non-nil, try flushing all operation queues.
9074 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9076 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9079 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9081 * elmo-util.el (elmo-display-progress): Fixed.
9083 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9085 * elmo-util.el (elmo-display-progress): New function.
9086 All other related modules are changed.