1 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
4 (elmo-spam-bsfilter-max-messages-per-process): New use option.
5 (elmo-spam-bsfilter-debug): Fix a group.
6 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
8 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
9 (elsp-bsfilter-list-spam-files): New function.
10 (elmo-spam-list-spam-messages): Define.
11 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
12 (elmo-spam-bsfilter-register-messages): New function.
13 (elmo-spam-register-spam-messages): Define.
14 (elmo-spam-register-good-messages): Ditto.
16 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
18 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
21 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
23 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
24 hash table to test whether a location is exists.
26 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
28 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
29 even if some error occurred.
31 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
32 meaningless unwind-protect.
34 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
35 start-number correctly.
36 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
37 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
39 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
41 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
42 (elmo-folder-initialize): Use it.
43 (elmo-global-flag-replace-referrer): New function.
45 * elmo.el (toplevel): Added autoload setting for
46 `elmo-global-flag-replace-referrer'.
47 (elmo-folder-rename): Rewrite the last change use
48 `elmo-global-flag-replace-referrer'.
50 * elmo-pipe.el (elmo-folder-rename): Call
51 `elmo-global-flag-replace-referrer'.
53 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
55 * elmo.el (elmo-folder-rename): Set meta data for global flags
58 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
60 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
62 (elmo-folder-close): Ditto.
63 (elmo-filter-folder-number-list-loaded-p): New function.
64 (elmo-filter-folder-number-list): Check whether loaded or not.
65 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
66 of `elmo-filter-folder-number-list-internal'.
67 (elmo-folder-delete-messages): Ditto.
68 (elmo-folder-length): Check whether number-list is loaded or not.
70 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
72 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
73 field `real field' into each element of list.
74 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
75 (elmo-msgdb-message-entity-field): Ditto.
76 (modb-entity-ml-info-real-fields): New function.
78 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
80 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
81 `elmo-msgdb-extra-fields'.
83 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
85 * elmo-util.el (elmo-passwd-alist-load): Move point to min
88 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
90 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
91 (elmo-global-flags-initialize): Ditto.
93 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
95 * elmo-archive.el (toplevel): Don't require emu, std11
98 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
101 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
103 * elmo.el (elmo-folder-confirm-appends): Display folder name.
105 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
107 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
110 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
112 * elmo-maildir.el (elmo-maildir-list-location): Reduce
113 `elmo-get-last-modification-time' call.
115 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
117 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
119 (elmo-maildir-set-mark): Ditto.
120 (elmo-maildir-delete-mark): Ditto.
122 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
124 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
125 optional argument `separators'.
127 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
129 * elmo.el (cache-changed): Abolish.
130 (status-changed): New signal.
131 (elmo-message-killed-p): New generic function and define for
133 (elmo-folder-recover-messages): Ditto.
134 (elmo-message-set-cached): Emit signal `status-changed' instead of
136 (elmo-message-status): New macro.
137 (elmo-message-status-folder): Ditto.
138 (elmo-message-status-number): Ditto.
139 (elmo-message-status-set-flags): Ditto.
140 (elmo-message-status-set-killed): Ditto.
141 (elmo-message-status-flags): New function.
142 (elmo-message-status-cached-p): Ditto.
143 (elmo-message-status-killed-p): Ditto.
145 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
146 `status-changed' instead of `cache-changed'.
147 (elmo-folder-recover-messages): Define.
148 (elmo-message-killed-p): Ditto.
150 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
151 `status-changed' instead of `cache-changed'.
153 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
154 (elmo-message-killed-p): Define.
155 (elmo-folder-recover-messages): Ditto.
157 * elmo-version.el (elmo-version): Up to 2.15.3.
159 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
161 * elmo-signal.el (elmo-signal-bindings): Use cons to append
163 (elmo-define-signal-handler): Add docstring.
164 (elmo-define-signal-filter): Ditto.
166 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
168 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
170 * elmo-util.el (elmo-flatten): Don't use recursive call.
172 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
174 (elmo-folder-message-make-temp-files): Use `number-to-string'
175 instead of `int-to-string'.
177 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
179 * elmo-search.el (elmo-folder-delete-messages): Define.
181 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
183 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
185 (elmo-mailing-list-count-spec-list): Ditto.
187 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
190 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
192 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
195 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
197 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
198 (elmo-mailing-list-count-spec-list): Ditto.
200 * elmo-util.el (elmo-map-until-success): New function.
201 (elmo-string-match-substring): Ditto.
202 (elmo-find-list-match-value): Ditto.
204 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
206 (modb-entity-extract-ml-info-from-subject): Ditto.
207 (modb-entity-extract-ml-info-from-return-path): Ditto.
208 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
209 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
210 (modb-entity-extract-ml-info-from-mailman): Ditto.
211 (modb-entity-extract-mailing-list-info-functions): Ditto.
212 (modb-entity-extract-mailing-list-info): Rewrite with
213 `elmo-find-list-match-value'.
215 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
217 * elmo-net.el (elmo-network-session-retry-count): New user option.
218 (elmo-network-session-buffer-name): New internal function.
219 (elmo-network-session-buffer-create): Ditto.
220 (elmo-network-open-session): Retry open network session
221 `elmo-network-session-retry-count' times.
223 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
225 * elmo-util.el (elmo-list-filter): Rewritten.
227 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
229 * elmo-util.el (elmo-string-member): Allow symbol element in list.
231 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
233 * elmo-search.el (elmo-make-search-engine): Use prefix
234 `elmo-search-' for require symbol instead of `else-'.
235 (elmo-search-engine-extprog): New class.
236 (elmo-search-engine-do-search): Remove nil from argument
237 list. Added argument pattern to evaluate element as function.
238 (elmo-search-engine-local-file): Derived from
239 `elmo-search-engine-extprog'.
240 (elmo-search-engine-create-message-entity): Check existance of file.
241 (elmo-search-engine-fetch-message): Ditto.
242 (elmo-search-namazu-index): Follow the API change.
243 (elmo-search-grep-target): Ditto.
245 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
247 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
248 characters of working buffer.
250 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
251 Does not bind `default-mime-charset'.
252 (elmo-msgdb-create-message-entity-from-buffer): Removed
253 unnecessary local bind.
255 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
257 (modb-entity-extract-mailing-list-info-functions): Added it.
259 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
261 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
262 when number and message-id are non-nil.
264 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
266 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
267 conditional steatment.
268 (elmo-pop3-auth-apop): Likewise.
269 (elmo-network-authenticate-session): Likewise.
271 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
273 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
274 symbol `fill-column'.
275 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
278 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
279 (elmo-decoded-field-body): Ditto.
281 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
283 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
284 `tokens' to `params'.
286 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
288 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
291 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
293 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
296 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
298 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
299 Set default value as nil.
300 (toplevel): Register search engines by
301 `elmo-search-register-engine' if there are not defined.
303 * elmo.el (autoload): Added autoload setting for
304 `elmo-search-register-engine'.
306 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
308 * elmo.el (toplevel): `[' is redefined as the prefix of the search
309 folder instead of nmz folder.
310 (elmo-nmz-default-index-path): Added obsolete variable setting.
311 (elmo-nmz-index-alias-alist): Ditto.
312 (elmo-nmz-use-drive-letter): Ditto.
314 * elmo-search.el (elmo-search-register-engine): New function.
316 * elmo-nmz.el: Removed.
318 * elmo-version.el (elmo-version): Up to 2.15.2.
320 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
322 * elmo-search.el: New file.
324 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
326 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
327 condition `larger' and `smaller'.
329 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
331 * elmo-util.el (elmo-safe-filename): Rewrite to replace
332 `"' (double quote) into "_Q_".
334 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
336 * elmo-net.el (elmo-net-quote-chars): Abolish.
337 (elmo-net-format-quoted): Ditto.
339 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
341 * elmo.el (elmo-get-folder-function): New variable.
342 (elmo-get-folder): New function.
343 (elmo-folder-rename): Call `elmo-make-folder' with specified
346 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
348 (elmo-split-subr): Ditto.
350 * elmo-multi.el (elmo-folder-initialize): Ditto.
352 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
354 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
355 (elmo-flag-get-folder): Ditto.
357 * elmo-filter.el (elmo-folder-initialize): Ditto.
359 * elmo-access.el (elmo-folder-initialize): Ditto.
360 (elmo-access-folder-update-children): Ditto.
362 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
363 (elmo-dop-queue-flush): Ditto.
364 (elmo-folder-append-buffer-dop-delayed): Ditto.
365 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
368 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
369 instead of `elmo-make-folder'.
370 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
371 destination folder instead of send `elmo-folder-rename-internal'.
373 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
374 slot of subfolder instead of create it.
376 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
378 * elmo-util.el (elmo-collect-separators): New function.
379 (elmo-collect-separators-internal): Ditto.
380 (elmo-collect-trail-separators): Ditto.
381 (elmo-parse-separated-tokens): Ditto.
382 (elmo-parse-separated-tokens-internal): Ditto.
383 (elmo-quote-syntactical-element): Ditto.
385 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
386 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
388 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
389 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
390 (elmo-nntp-folder-list-subfolders): Quote a user name.
392 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
393 (elmo-net-parse-network): Abolish.
394 (elmo-net-folder-set-parameters): New function.
395 (elmo-folder-initialize): Follow the above change.
397 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
398 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
399 (elmo-folder-list-subfolders): Use
400 `elmo-quote-syntactical-element' instead of
401 `elmo-net-format-quoted' to quote mailbox and user name.
403 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
405 * elmo-util.el (elmo-token-valid-p): New function.
406 (elmo-parse-token): Add optional argument `requirement'.
407 (elmo-parse-prefixed-element): Likewise.
409 * elmo-net.el (elmo-net-quote-chars): Renamed from
410 `elmo-net-quote-chars-regexp'.
411 (elmo-net-format-quoted): Add optional argument `extra-chars'.
413 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
414 by info document. Check token `uidl' is started an alphabet.
416 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
417 by info document. Check token `user' is started an alphabet.
419 * elmo-imap4.el (elmo-folder-initialize): Ditto.
420 (elmo-folder-list-subfolders): Quote user.
422 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
424 * elmo-util.el (elmo-quoted-specials-list): New constant.
425 (elmo-quoted-token): New function.
427 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
428 (elmo-net-format-quoted): New function.
429 (elmo-net-parse-network): Ditto.
430 (elmo-folder-initialize): Use it.
432 * elmo-nntp.el (elmo-folder-initialize): Use
433 `elmo-net-parse-network' to parse network specification instead of
434 `elmo-folder-initialize#elmo-net'.
436 * elmo-pop3.el (elmo-folder-initialize): Ditto.
438 * elmo-imap4.el (elmo-folder-initialize): Ditto.
439 (elmo-folder-list-subfolders): Quote folder name by
440 `elmo-net-format-quoted'.
442 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
444 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
445 (elmo-folder-search): Use it.
447 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
449 * modb-standard.el (modb-standard-loaded-message-id): Use
450 `elmo-msgdb-message-entity-field'.
452 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
454 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
457 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
459 * elmo-util.el (elmo-set-auto-coding): New function.
460 (elmo-object-load): Use it.
462 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
464 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
465 (elmo-time<): Define as alias of `elmo-time-less-p'.
466 (elmo-time-to-datevec): New function.
468 * elmo-date.el (elmo-time-to-days): New function.
470 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
472 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
475 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
477 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
480 * elmo-util.el (elmo-map-recursive): New function.
482 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
483 (modb-entity-encode-string-recursive): Ditto.
485 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
487 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
488 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
489 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
490 compare sequence number when last modified time is nil.
492 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
494 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
496 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
498 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
500 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
501 modification time of the file.
503 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
505 * elmo-util.el (elmo-condition-optimize): Discriminated against
506 preserved fields, extra fields and the other weight.
508 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
510 * modb-entity.el (initialize-instance): Define.
511 (modb-entity-handler-mime-charset): New internal function.
512 (modb-standard-entity-set-field): Use it.
513 (elmo-msgdb-message-entity-field): Ditto.
514 (elmo-msgdb-message-entity-field): Ditto.
516 * modb.el (elmo-msgdb-match-condition): Rewrite with
517 `elmo-condition-match'.
518 (elmo-msgdb-match-condition-primitive): New function.
520 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
521 arguments `flags' and `numbers'.
522 (elmo-msgdb-match-condition-primitive): Abolished (merged to
523 `elmo-msgdb-message-match-condition').
524 (modb-buffer-entity-handler): New class.
526 * elmo.el (elmo-folder-search): Optimize condition to use
527 `elmo-condition-optimize'.
528 (elmo-message-buffer-match-condition): New function.
529 (elmo-message-match-condition): Use
530 `elmo-message-buffer-match-condition' instead of
531 `elmo-buffer-field-condition-match'.
533 * elmo-util.el (elmo-condition-match): New function.
534 (elmo-condition-optimize): Ditto.
535 (elmo-buffer-field-primitive-condition-match): Abolish.
536 (elmo-buffer-field-condition-match): Ditto.
538 * elmo-archive.el (elmo-archive-field-condition-match): Use
539 `elmo-message-buffer-match-condition' instead of
540 `elmo-buffer-field-condition-match'.
542 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
544 * elmo-flag.el (elmo-global-flags-initialize): Check the
545 existence of the flag directory.
547 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
549 * elmo-access.el (elmo-folder-initialize): Call
550 `elmo-multi-connect-signals'.
552 * elmo-pipe.el (elmo-folder-close): Define.
554 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
557 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
560 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
563 * elmo-multi.el (elmo-message-entity): Don't use return value of
564 `elmo-message-entity-set-number'.
566 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
568 * modb.el (modb-generic): Added slot `mime-charset'.
570 * modb-standard.el (modb-standard): Added slot `overview-handler'.
571 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
572 and `modb-entity-handler-dump-parameters'.
573 (modb-standard-default-entity-handler): Abolish.
574 (elmo-msgdb-message-entity-handler): Save created handler by
577 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
578 (modb-entity-handler-list-parameters): New method.
579 (modb-entity-handler-equal-p): New function.
580 (modb-entity-handler-dump-parameters): Ditto.
581 (modb-entity-parse-address-string): Encode return value.
582 (modb-entity-make-address-string): Decode argument value.
583 (modb-entity-decode-string-recursive): New function.
584 (modb-entity-encode-string-recursive): Ditto.
585 (modb-standard-entity-normalizer): Set to encode field value.
586 (modb-standard-entity-specializer): Follow the above change.
587 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
588 mime-charset of handler.
589 (elmo-msgdb-message-entity-field): Ditto.
590 (elmo-msgdb-copy-message-entity): Fixed reference to internal
592 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
594 * elmo.el (elmo-folder): Added slot `mime-charset'.
595 (elmo-make-folder): Added argument `mime-charset'.
596 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
599 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
600 (elmo-make-msgdb): Likewise.
602 * elmo-internal.el (elmo-internal-folder-initialize): Call
603 `luna-make-entity' with :mime-charset parameter.
605 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
607 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
608 encoded words in `from' and `subject' field.
610 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
612 * modb.el (elmo-msgdb-message-field): Add argument `type'.
613 (elmo-msgdb-match-condition): Get handler from entity instead of
616 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
617 (modb-standard-load-entity): Treat new file format.
618 (modb-standard-save-entity-1): Save as new file format.
619 (modb-standard-save-entity): Split messages into section here.
620 (elmo-msgdb-message-field): Follow the API change.
621 (modb-standard-default-entity-handler): New internal variable.
622 (elmo-msgdb-message-entity-handler): Define.
624 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
626 (modb-entity-field-extractor-alist): New user option.
627 (elmo-msgdb-message-entity-field): Removed argument `decode' and
628 added argument `type'.
629 (elmo-msgdb-copy-message-entity): Add optional argument
631 (modb-set-field-converter): New function.
632 (modb-convert-field-value): Ditto.
633 (modb-entity-string-decoder): Ditto.
634 (modb-entity-string-encoder): Ditto.
635 (modb-entity-parse-date-string): Ditto.
636 (modb-entity-make-date-string): Ditto.
637 (modb-entity-mime-decoder): Ditto.
638 (modb-entity-mime-encoder): Ditto.
639 (modb-entity-address-list-decoder): Ditto.
640 (modb-entity-address-list-encoder): Ditto.
641 (modb-entity-parse-address-string): Ditto.
642 (modb-entity-make-address-string): Ditto.
643 (modb-entity-create-field-indices): Ditto.
644 (modb-legacy-entity-field-slots): New constant.
645 (modb-legacy-entity-field-indices): Ditto.
646 (modb-legacy-entity-normalizer): New variable.
647 (modb-legacy-entity-specializer): Ditto.
648 (modb-legacy-entity-field-index): New macro.
649 (modb-legacy-entity-set-field): New function.
650 (modb-legacy-make-message-entity): Rewrite.
651 (elmo-msgdb-create-message-entity-from-buffer): Use
652 `elmo-msgdb-get-references-from-buffer'. Use
653 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
654 Use `modb-legacy-entity-set-field' instead of
655 `elmo-msgdb-message-entity-set-field'.
656 (elmo-msgdb-message-entity-field): Rewrite.
657 (elmo-msgdb-message-entity-set-field): Ditto.
658 (elmo-msgdb-copy-message-entity): Make new entity by
659 `make-handler' if it specified.
660 (elmo-msgdb-message-match-condition): Define a method of
661 `modb-entity-handler' and follow the API change.
662 (modb-standard-entity-handler): New class.
663 (modb-entity-extract-ml-info-from-x-sequence): New function.
664 (modb-entity-extract-ml-info-from-subject): Ditto.
665 (modb-entity-extract-ml-info-from-return-path): Ditto.
666 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
667 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
668 (modb-entity-extract-mailing-list-info): Ditto.
669 (modb-entity-extract-mailing-list-info-functions): New variable.
671 * elmo.el (elmo-message-field): Add optional argument `type'.
673 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
674 from `modb-entity.el'.
676 * elmo-util.el (elmo-object-load): Decode by coding-system from
677 `set-auto-coding-function'.
678 (elmo-object-save): Use `detect-mime-charset-region' and add
679 coding cookie if encode.
680 (elmo-msgdb-get-references-from-buffer): New function.
681 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
683 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
685 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
686 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
687 instead of `shimbun-make-header' and follow the API change.
688 (elmo-shimbun-update-overview): Follow the API change.
689 (elmo-map-folder-list-message-locations): Ditto.
691 * elmo-pipe.el (elmo-message-field): Ditto.
693 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
696 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
698 * elmo-multi.el (elmo-message-field): Ditto.
700 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
701 (elmo-msgdb-sort-by-date): Ditto.
702 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
703 `elmo-message-entity-field'.
704 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
706 (elmo-msgdb-overview-entity-get-from): Ditto.
707 (elmo-msgdb-overview-entity-get-subject): Ditto.
708 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
709 (elmo-msgdb-overview-entity-get-date): Ditto.
710 (elmo-msgdb-overview-entity-get-to): Ditto.
711 (elmo-msgdb-overview-entity-get-cc): Ditto.
713 * elmo-mime.el (elmo-message-mime-entity): Ditto.
714 (elmo-mime-collect-message/partial-pieces): Ditto.
716 * elmo-filter.el (elmo-message-field): Ditto.
718 * elmo-date.el (elmo-datevec-to-time): New function.
719 (elmo-time-parse-date-string): Ditto.
720 (elmo-time-make-date-string): Ditto.
723 * elmo-version.el (elmo-version): Up to 2.15.1.
725 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
727 * elmo-flag.el (elmo-global-flags-initialize): Don't include
728 member of elmo-local-flags.
730 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
732 * elmo-version.el (elmo-version): Up to 2.15.0.
734 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
736 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
737 `ignore-msgdb' is non-nil.
739 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
741 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
742 (elmo-condition-in-msgdb-p): Ditto.
743 (elmo-file-field-primitive-condition-match): Ditto.
744 (elmo-file-field-condition-match): Ditto.
746 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
748 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
750 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
752 (elmo-global-flags-initialize): New function.
754 * elmo.el (toplevel): Added autoload setting for
755 `elmo-global-flags-initialize'.
757 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
759 * elmo.el (message-number-changed): Define new signal.
760 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
761 message-number-changed signal.
762 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
763 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
764 Respect `elmo-pack-number-check-strict'.
766 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
768 * elmo-signal.el (elmo-connect-signal): Document.
769 (elmo-emit-signal): Ditto.
770 (elmo-emit-signal): It should pass source argument to filter and
771 handler, not slot-source.
773 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
775 * modb.el (elmo-msgdb-update-entity): New API and define generic
778 * modb-standard.el (elmo-msgdb-update-entity): Define.
780 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
781 API and define generic implement.
783 * elmo.el (update-overview): New singnal.
785 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
786 `elmo-msgdb-update-entity' and emit signal `update-overview'.
787 (elmo-message-entity-parent): Define.
789 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
792 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
794 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
796 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
798 * elmo.el (elmo-folder-synchronize): Sort the return value of
801 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
804 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
806 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
807 `default-enable-multibyte-characters'.
808 (elmo-object-load): Use `with-temp-buffer' instead of
810 (elmo-object-save): Ditto.
811 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
813 (elmo-decoded-field-body): Ditto.
815 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
817 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
818 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
820 * elmo-version.el (elmo-version): Up to 2.13.3.
822 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
824 * elmo-util.el (elmo-list-diff): Fix the last change.
825 Reverse order of result lists.
827 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
829 * modb-standard.el (elmo-msgdb-set-flag): Use
830 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
831 (elmo-msgdb-unset-flag): Ditto.
833 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
836 * elmo-util.el (elmo-list-diff): Rewrite.
837 (elmo-list-diff-nonsortable): New function.
839 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
841 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
842 `elmo-multibypte-buffer-name'. All referers are updated.
844 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
846 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
847 (elmo-mime-entity-fragment-p): New function.
848 (mime-elmo-buffer-entity): Added slot `reassembled'.
849 (elmo-message-mime-entity): Added 4th argument `reassemble'.
850 (elmo-message-mime-entity-internal): New function (renamed from
851 `elmo-message-mime-entity').
852 (elmo-mime-inherit-field-list-from-enclosed): New constant.
853 (elmo-mime-make-reassembled-mime-entity): New function.
854 (elmo-message-reassembled-mime-entity): Ditto.
855 (elmo-mime-collect-message/partial-pieces): Ditto.
857 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
859 * elmo.el (elmo-message-fetch-string): Disable multibyte.
861 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
862 (elmo-with-enable-multibyte): New macro.
864 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
866 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
868 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
870 (elmo-filter-connect-signals): Follow the above change.
872 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
874 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
876 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
877 that only the first flag is used.
879 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
881 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
884 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
886 * elmo-signal.el: New file.
888 * elmo.el (toplevel): Require elmo-signal.
889 (flag-changing, flag-changed, cache-changed): New signal.
890 (elmo-folder): Remove slog `handlers'.
891 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
892 `elmo-folder-notify-event'.
893 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
894 (elmo-folder-unset-flag): Ditto.
895 (elmo-event-handler): Abolish.
896 (elmo-event-handler-flag-changed): Ditto.
897 (elmo-event-handler-cache-changed): Ditto.
898 (elmo-folder-add-handler): Ditto.
899 (elmo-folder-remove-handler): Ditto.
900 (elmo-folder-notify-event): Ditto.
902 * elmo-pipe.el (toplevel): Require elmo-signal.
903 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
904 (elmo-pipe-connect-signals): New function.
905 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
906 (elmo-folder-set-flag): Ditto.
907 (elmo-folder-unset-flag): Ditto.
908 (elmo-message-set-cached): Ditto.
910 * elmo-multi.el (toplevel): Require elmo-signal.
911 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
912 (elmo-multi-connect-signals): New function.
913 (elmo-multi-map-numbers): Ditto.
914 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
915 (elmo-message-fetch): Ditto.
916 (elmo-folder-set-flag): Ditto.
917 (elmo-folder-unset-flag): Ditto.
919 * elmo-filter.el (toplevel): Require elmo-signal.
920 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
921 (elmo-filter-connect-signals): New function.
922 (elmo-filter-add-flag-count): Ditto.
923 (elmo-message-fetch): Does not call
924 `elmo-filter-folder-countup-message-flags' and
925 `elmo-folder-notify-event'.
926 (elmo-message-set-cached): Ditto.
927 (elmo-folder-set-flag): Ditto.
928 (elmo-folder-unset-flag): Ditto.
930 * elmo-version.el (elmo-version): Up to 2.13.2.
932 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
934 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
937 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
939 * elmo-filter.el (elmo-message-set-cached): Call
940 `elmo-folder-notify-event' with event `cache-changed'.
942 * elmo-multi.el (elmo-message-set-cached): Ditto.
944 * elmo-pipe.el (elmo-message-set-cached): Ditto.
946 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
948 * elmo.el (elmo-folder-encache): Abolish.
950 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
952 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
953 (elmo-folder-next-message-number-dop): Return appropriate negative
956 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
958 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
959 clearing pending operations.
960 (elmo-folder-next-message-number-dop): Return appropriate negative
963 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
965 * elmo.el (toplevel): Added autoload setting for `md5'.
966 (elmo-msgdb-path-encode-threshold): New user option.
967 (elmo-folder-msgdb-path): Encode msgdb path if its length is
968 longer than `elmo-msgdb-path-encode-threshold'.
970 * elmo-flag.el (elmo-global-mark-migrate): Use
971 `elmo-folder-expand-msgdb-path' instead of
972 `elmo-folder-msgdb-path'.
974 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
976 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
977 element of the difference is nil.
979 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
981 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
982 to the check logic of file systems which are weak in colon character.
984 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
986 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
988 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
990 * elmo-maildir.el (elmo-maildir-move-file): New function.
991 (elmo-folder-append-buffer): Use it.
992 (elmo-folder-append-messages): Ditto.
993 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
995 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
996 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
998 * elmo-maildir.el (elmo-maildir-separator): New user option.
999 (elmo-maildir-adjust-separator): New macro.
1000 (elmo-maildir-list-location): Use it.
1001 (elmo-maildir-update-current): Ditto.
1002 (elmo-maildir-set-mark): Ditto.
1003 (elmo-maildir-delete-mark): Ditto.
1004 (These changes are based on Hiroya Murata's patch [wl: 13437])
1006 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1008 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1010 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1012 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1013 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1014 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1016 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1018 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1019 Use `with-temp-buffer'.
1021 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1023 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1025 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1026 `wl-read-search-condition').
1027 (elmo-read-search-condition-internal): Likewise.
1029 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1030 (elmo-flag-valid-p): New function.
1031 (elmo-folder-initialize): Check flag name is valid.
1033 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1035 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1036 delimiter to obtain root mailbox itself.
1038 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1040 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1043 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1045 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1048 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1050 * elmo-shimbun.el (toplevel): Require cl at compile.
1052 * elmo-nntp.el (toplevel): Ditto.
1054 * elmo-nmz.el (toplevel): Ditto.
1056 * elmo-multi.el (toplevel): Ditto.
1058 * elmo-file.el (toplevel): Ditto.
1060 * elmo-dop.el (toplevel): Ditto.
1062 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1064 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1066 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1069 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1070 size of elmo-message-fetch-internal is 0 byte.
1072 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1074 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1076 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1078 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1081 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1083 * elmo-maildir.el (elmo-map-message-fetch): Call
1084 `elmo-map-folder-set-flag'.
1086 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1087 (elmo-message-fetch): Merge from
1088 `elmo-message-fetch-with-cache-process'.
1090 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1091 (elmo-message-fetch): Define.
1093 * elmo-nntp.el (elmo-message-fetch): Renamed from
1094 `elmo-message-fetch-with-cache-process'.
1096 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1097 (elmo-message-fetch): Define.
1099 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1102 * elmo-shimbun.el (shimbun-mua-search-id): Use
1103 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1104 (elmo-shimbun-folder-shimbun-header): Ditto.
1105 (elmo-shimbun-get-headers): Ditto.
1106 (elmo-shimbun-update-overview): Ditto.
1108 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1110 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1111 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1113 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1115 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1117 (elmo-message-fetch-string): Fixed argument.
1119 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1121 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1122 exchange order of arguments `section' and `unread'.
1123 (elmo-message-encache): Follow the API change.
1124 (elmo-message-match-condition): Ditto.
1125 (elmo-generic-folder-append-messages): Ditto.
1126 (elmo-message-fetch-string): New function.
1128 * elmo-split.el (elmo-split-subr): Ditto.
1130 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1132 * elmo-pipe.el (elmo-message-fetch): Ditto.
1134 * elmo-multi.el (elmo-message-fetch): Ditto.
1136 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1138 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1140 * elmo-filter.el (elmo-message-fetch): Ditto.
1142 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1144 * elmo-imap4.el (mime-imap-location-section-body): Use
1145 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1146 follow the API change.
1148 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1150 * elmo-access.el: New file.
1152 * elmo-null.el: Ditto.
1154 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1156 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1158 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1159 (elmo-network-session): New attribute `last-accessed'.
1160 (elmo-network-get-session): Discard network cache if elapsed time
1161 since last-accessed is larger than elmo-network-session-idle-timeout.
1163 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1165 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1166 and added `number', `require-entireness'.
1167 (elmo-find-fetch-strategy): Rewrite.
1168 (elmo-message-fetch): Unset `unread' flag when argument unread is
1171 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1173 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1174 (elmo-message-fetch): Notify event `flag-changed'.
1176 * elmo-pipe.el: Likewise.
1178 * elmo-mime.el (elmo-mime-entity): New class.
1179 (elmo-mime-entity-display-p): New generic function.
1180 (elmo-mime-entity-display): Ditto.
1181 (elmo-mime-entity-display-as-is): Ditto.
1182 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1184 (elmo-make-mime-message-location): Removed.
1185 (elmo-mime-message-display): Ditto.
1186 (elmo-mime-display-as-is): Ditto.
1187 (elmo-message-mime-entity): New function.
1189 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1191 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1193 (elmo-message-fetch): Re-count flagged message number and notify
1194 event `flag-changed'.
1196 * elmo-version.el (elmo-version): Up to 2.13.1.
1198 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1200 * elmo-filter.el (elmo-message-field): Define.
1201 (elmo-message-set-field): Ditto.
1203 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1205 * elmo.el (elmo-message-set-cached): Call
1206 `elmo-folder-notify-event' with cache-changed.
1207 (elmo-event-handler-cache-changed): New generic function.
1209 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1211 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1212 instead of elmo-add-name-to-file.
1213 (elmo-folder-append-messages): Ditto.
1215 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1217 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1219 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1221 * elmo-version.el (elmo-version): Up to 2.13.0.
1223 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1226 * modb-standard.el (modb-standard-economize-entity-size): Changed
1227 default value to `t'.
1229 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1232 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1233 after parsing greeting string.
1235 2004-11-23 Daishi Kato <daishi@axlight.com>
1237 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1239 (elmo-spam-spamoracle-call): Use it.
1241 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1243 * elmo.el (elmo-message-accessible-p): Message in dop spool
1246 2004-11-23 Daishi Kato <daishi@axlight.com>
1248 * elsp-spamoracle.el: New file.
1250 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1252 * elmo.el (elmo-message-flags-for-append): New function.
1253 (elmo-generic-folder-append-messages): Use it.
1255 * elmo-split.el (elmo-split-subr): Ditto.
1257 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1258 `flags' and use elmo-folder-append-buffer instead of
1259 write-region-as-binary.
1260 (elmo-dop-filter-pending-messages): New function.
1261 (elmo-folder-append-buffer-dop): Call
1262 elmo-dop-spool-folder-append-buffer with `flag'.
1263 (elmo-folder-set-flag-dop): Filter messages by
1264 elmo-dop-filter-pending-messages.
1265 (elmo-folder-unset-flag-dop): Ditto.
1266 (elmo-folder-append-buffer-dop-delayed): Use
1267 elmo-message-flags-for-append to get flags of the message and
1270 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1272 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1274 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1276 * elmo.el (elmo-folder): Added handlers slot.
1277 (elmo-event-handler): New class.
1278 (elmo-event-handler-flag-changed): New API.
1279 (elmo-folder-add-handler): New function.
1280 (elmo-folder-remove-handler): Ditto.
1281 (elmo-folder-notify-event): Ditto.
1282 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1284 (elmo-folder-unset-flag): Ditto.
1286 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1287 (elmo-folder-unset-flag): Ditto.
1289 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1290 (elmo-folder-unset-flag): Ditto.
1292 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1293 (elmo-folder-unset-flag): Ditto.
1295 * elmo-version.el (elmo-version): Up to 2.11.33.
1297 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1299 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1301 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1303 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1305 * elmo-flag.el (elmo-folder-unset-flag): Define.
1306 (elmo-global-flag-detach): Do process when the flag is not target
1309 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1311 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1313 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1315 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1317 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1319 (elmo-folder-delete-messages): Detach messages before delete
1320 messages from target folder.
1321 (elmo-folder-detach-messages): Set updated number-list to slot.
1323 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1325 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1327 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1329 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1331 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1333 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1335 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1337 (elmo-folder-delete-messages): Define.
1338 (elmo-folder-move-messages): Don't call
1339 `elmo-folder-detach-messages'.
1340 (elmo-folder-synchronize): Rewrite.
1341 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1343 * elmo-util.el (elmo-last): New function.
1344 (elmo-set-list): Ditto.
1345 (elmo-number-set-delete-list): Ditto.
1346 (elmo-number-set-delete): Ditto.
1348 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1350 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1351 `elmo-folder-delete-messages' and don't delete location map.
1352 (elmo-folder-detach-messages): Define.
1354 * elmo-imap4.el (elmo-folder-delete): Use
1355 `elmo-folder-delete-messages-internal' instead of
1356 `elmo-folder-delete-messages'.
1358 * elmo-filter.el (elmo-folder-delete-messages): Call
1359 `elmo-folder-detach-messages'.
1360 (elmo-folder-detach-messages): Don't call
1361 `elmo-folder-detach-messages' for target folder.
1363 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1364 message deletion is succeeded.
1366 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1368 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1369 from `elmo-folder-delete-messages'.
1371 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1373 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1375 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1377 * elmo-version.el (elmo-version): Up to 2.11.32.
1379 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1381 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1382 (elmo-global-flag-list): Added obsolete variable setting.
1384 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1386 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1387 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1388 `elmo-mime-display-header-analysis' is nil.
1390 * elmo-flag.el (elmo-global-flags): Renamed from
1391 `elmo-global-flag-list' (All other related portions are changed).
1392 (elmo-local-flags): New variable.
1393 (elmo-local-flag-p): New function.
1394 (elmo-global-flag-set-internal): Cause an error when flag is not
1397 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1399 * elmo-util.el (elmo-concat-path): Treat empty path.
1401 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1403 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1405 (elmo-split-address-match): Ditto.
1406 (elmo-split-equal): Ditto.
1407 (elmo-split-match): Ditto.
1409 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1411 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1412 (elmo-generic-folder-append-messages): If src message exists but
1413 has no flag, pass (read) for the FLAG argument of
1414 `elmo-folder-append-buffer'. Otherwise, pass nil.
1416 * elmo-split.el (elmo-split-subr): Likewise.
1418 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1420 * elmo-multi.el (elmo-message-flags): Ditto.
1422 * elmo-filter.el (elmo-message-flags): Ditto.
1424 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1425 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1426 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1428 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1430 * elmo-split.el (elmo-split-rule): Update comment.
1431 (elmo-split-address-equal): Allow 2nd argument to be a list.
1432 (elmo-split-address-match): Ditto.
1433 (elmo-split-equal): Ditto.
1434 (elmo-split-match): Ditto.
1436 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1438 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1439 (elmo-folder-append-msgdb): Don't treat `read'.
1440 (elmo-message-flags): Don't return `read'.
1442 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1443 (elmo-folder-unset-read-delayed): Ditto.
1445 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1447 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1449 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1452 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1454 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1457 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1459 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1461 (elmo-msgdb-save): Bind inhibit-quit.
1462 (modb-standard-message-entity): Ditto.
1464 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1466 * elmo-database.el: No need to require elmo-msgdb.
1468 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1470 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1471 instead of `elmo-list-subdirectories'.
1473 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1475 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1477 (elmo-folder-exists-p): "[" is empty.
1478 (elmo-folder-list-subfolders): Define.
1479 (elmo-folder-have-subfolder-p): Ditto.
1481 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1483 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1485 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1487 * elmo-filter.el (elmo-folder-local-p): Define.
1489 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1491 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1492 when entity is garbaged.
1493 (modb-standard-save-entity-1): Don't modify the original entity.
1495 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1497 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1499 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1501 * elmo.el (elmo-strict-folder-diff): Use
1502 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1504 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1506 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1507 (elmo-msgdb-message-number): Ditto.
1508 (elmo-msgdb-message-field): Ditto.
1510 * modb-standard.el (modb-standard-economize-entity-size): New user
1512 (modb-standard-loaded-message-id): New inline function.
1513 (modb-standard-load-entity): Use it.
1514 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1515 throw message-id string away.
1516 (elmo-msgdb-flag-available-p): Define.
1517 (elmo-msgdb-message-number): Ditto.
1518 (elmo-msgdb-message-field): Ditto.
1520 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1521 (suppoted -> supported).
1522 (modb-legacy-supported-flag-p): Ditto.
1523 (elmo-msgdb-set-flag): Ditto.
1524 (elmo-msgdb-unset-flag): Ditto.
1525 (elmo-msgdb-flag-available-p): Define.
1527 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1528 is `t', treat it as legacy entity.
1530 * elmo.el (elmo-message-flag-available-p): New generic function.
1531 (elmo-message-number): Ditto.
1532 (elmo-message-field): Use `elmo-msgdb-message-field'.
1534 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1536 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1537 (elmo-message-number): Ditto.
1539 * elmo-multi.el (elmo-message-number): Define.
1540 (elmo-message-flag-available-p): Ditto.
1542 * elmo-filter.el (elmo-message-flag-available-p): Define.
1543 (elmo-message-number): Ditto.
1545 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1546 (elmo-folder-initialize): Load `max-number'.
1547 (elmo-folder-commit): Save it.
1548 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1549 (elmo-global-flag-set-internal): Set up max-number slot.
1551 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1553 * elmo-version.el (elmo-version): Up to 2.11.31.
1555 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1557 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1558 unibyte string of the current buffer for the argument of `md5'
1559 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1561 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1563 * modb-legacy.el (modb-legacy-flag-list): New constant.
1564 (modb-legacy-suppoted-flag-p): New internal function.
1565 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1566 (elmo-msgdb-unset-flag): Ditto.
1568 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1570 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1572 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1575 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1577 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1578 (follow the API change).
1580 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1582 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1584 * modb-standard.el (modb-standard-digest-flags): Abolish.
1585 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1587 * elmo-vars.el (elmo-digest-flags): New variable.
1588 (elmo-preserved-flags): Moved from elmo-flag.el.
1590 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1591 (elmo-imap4-flag-to-imap-criteria): Ditto.
1592 (elmo-imap4-folder-list-flagged): Use it.
1594 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1596 * elmo.el (elmo-folder-count-flags): Changed return value.
1598 * elmo-flag.el (elmo-preserved-flags): New variable.
1599 (elmo-get-global-flags): Use it.
1601 * modb-standard.el (modb-standard-digest-flags): New variable.
1602 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1603 Changed behavior of `any'.
1605 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1606 which are defined the Internet draft
1607 (draft-melnikov-imap-keywords-03.txt).
1608 (elmo-imap4-flags-to-imap): New function.
1609 (elmo-folder-append-buffer): Use it.
1611 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1614 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1615 avoid the bug of Emacs 21.3.
1617 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1619 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1620 function find-coding-system does not exist.
1622 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1624 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1627 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1629 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1632 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1634 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1635 (elmo-network-close-session): Follow the changes in
1636 `elmo-pop3-read-response'.
1637 (elmo-pop3-auth-user): Ditto.
1638 (elmo-pop3-auth-apop): Ditto.
1639 (elmo-network-initialize-session): Ditto.
1640 (elmo-network-authenticate-session): Ditto.
1641 (elmo-network-setup-session): Ditto.
1642 (elmo-folder-status): Ditto.
1643 (elmo-message-fetch-plugged): Ditto.
1644 (elmo-pop3-delete-msg): Ditto.
1646 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1648 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1651 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1653 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1655 (elmo-bind-directory): Ditto.
1657 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1659 * elmo.el (elmo-folder-append-messages): Note on return value.
1660 * elmo-archive.el (elmo-folder-append-messages): Don't return
1661 message numbers which could not be appended.
1663 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1665 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1667 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1669 * elmo-version.el (elmo-version): Up to 2.11.30.
1671 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1673 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1676 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1678 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1679 (elmo-multi-split-numbers): Add elmo-folder object into each
1680 element of return value at first.
1681 (elmo-folder-delete-messages): Follow the above change.
1682 (elmo-folder-detach-messages): Ditto.
1684 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1685 number which is synchronized in target folder.
1687 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1689 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1690 Change default value to symbol `all'.
1691 (elmo-map-message-fetch): Change condition to update overview
1694 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1696 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1697 behavior to update overview.
1698 (elmo-shimbun-update-overview-folder-list): Note it.
1700 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1702 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1705 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1707 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1708 buffer-disable-undo, it is unnecessary.
1709 (elmo-spam-register-good-messages): Ditto.
1711 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1714 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1716 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1718 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1719 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1720 elmo-set-buffer-multibyte.
1721 (elmo-object-load): Ditto.
1722 (elmo-save-buffer): Ditto.
1723 (elmo-delete-char): Ditto.
1724 (elmo-file-field-primitive-condition-match): Ditto.
1725 (elmo-mime-string): Ditto.
1727 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1728 (elmo-archive-field-condition-match): Ditto.
1730 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1732 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1734 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1735 (elmo-nntp-msgdb-create-message): Ditto.
1737 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1739 * elmo.el (elmo-message-match-condition): Ditto.
1740 (elmo-message-match-condition): Ditto.
1742 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1745 * elmo-version.el (elmo-version): Up to 2.11.29.
1747 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1748 (elsp-header): New backend.
1750 * elmo-util.el (elmo-decoded-field-body): New function.
1752 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1754 * elmo-version.el (elmo-version): Up to 2.11.28.
1756 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1758 * elmo-filter.el: Rewrite.
1760 * elmo-version.el (elmo-version): Up to 2.11.27.
1762 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1764 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1765 msgdb path for the localdir folder with absolute path.
1767 * utf7.el: Synch up with latest gnus/utf7.el;
1768 Modified for latest Emacs.
1770 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1772 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1773 shimbun backend couldn't open.
1775 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1777 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1778 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1779 when a destination folder is a filter folder.
1781 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1783 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1784 (elmo-generic-folder-append-messages): Call elmo-message-flags
1785 with argument `msgid'.
1787 * elmo-split.el (elmo-split-subr): Ditto.
1789 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1791 * elmo-multi.el (elmo-message-flags): Ditto.
1793 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1795 * elmo.el (elmo-folder): Add new slot `flag-table'.
1796 (elmo-folder-flag-table): New API.
1797 (elmo-folder-close-flag-table): Ditto.
1798 (elmo-folder-preserve-flags): New function.
1799 (elmo-generic-folder-append-messages): Use
1800 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1801 Flag of a non-registered message, it sets to nil.
1802 Does not set flag to flag-table.
1804 * elmo-maildir.el (elmo-folder-append-buffer): Use
1805 `elmo-folder-preserve-flags'.
1806 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1807 `elmo-folder-close-flag-table'.
1809 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1810 (elmo-archive-folder-append-buffer): Use
1811 `elmo-folder-preserve-flags'.
1813 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1815 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1817 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1818 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1819 `elmo-folder-close-flag-table'.
1821 * elmo-version.el (elmo-version): Up to 2.11.26.
1823 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1825 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1827 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1828 md5's 4th and 5th argument (non-existent in flim one).
1830 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1832 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1833 message, It sets to nil.
1835 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1837 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1840 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1842 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1844 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1846 * elmo-util.el (elmo-uniq-sorted-list): New function.
1847 (elmo-make-number-list): Ditto.
1848 (elmo-number-set-to-number-list): Use elmo-make-number-list
1849 and don't use nreverse.
1851 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1853 * elmo-version.el (elmo-version): Up to 2.11.25.
1855 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1857 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1858 field not exists in message, Use md5 message digest of header.
1860 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1862 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1863 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1864 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1865 * elmo-split.el (elmo-split-subr): Check return value of
1866 elmo-folder-append-buffer.
1868 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1869 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1871 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1874 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1876 * elmo-split.el (elmo-split-subr): Append message with flag.
1878 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1879 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1880 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1882 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1884 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1885 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1886 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1888 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1890 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1891 with a function call of `process-buffer'. All callers are updated.
1892 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1893 Remove redundant `set-buffer' in a while loop.
1895 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1897 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1900 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1902 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1903 elsp-spamfilter-register-buffer-internal with current buffer.
1904 (elmo-spam-register-spam-buffer): Ditto.
1905 (elmo-spam-register-good-buffer): Ditto.
1907 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1909 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1910 if it is not contained in the response(A workaround for courier-imap).
1912 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1914 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1917 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1919 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1922 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1924 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1927 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1929 (elmo-msgdb-message-match-condition): Follow the change above.
1931 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1933 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1936 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1938 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1940 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1942 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1944 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1946 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1949 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1951 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1953 (elmo-file-command-argument): Undo last change for cygwin.
1954 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1956 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1958 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1960 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1961 value returned from elmo-file-find is nil.
1963 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1965 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1968 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1969 instead of insert-file-contents-as-binary.
1970 (elmo-message-set-field): New generic function.
1972 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1973 behavior change on `split-string'.
1975 * elmo-file.el (elmo-file-find): New function.
1976 (elmo-file-command): New user option.
1977 (elmo-file-command-argument): Ditto.
1978 (elmo-file-fetch-max-size): Ditto.
1979 (elmo-file-detect-format): New function.
1980 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1981 Use elmo-file-detect-format.
1982 (elmo-map-folder-list-message-locations): Don't treat directories.
1984 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1986 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1987 (elmo-passwd-alist-clear): Shred password before clear.
1988 (elmo-remove-passwd): Remove all mached pair.
1990 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1992 * elmo.el (elmo-folder-synchronize): Fix description of the return
1995 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1997 * elmo.el (elmo-message-fetch-bodystructure): New method.
1998 (elmo-message-fetch-bodystructure): Define default.
2000 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2001 elmo-message-fetch-bodystructure.
2002 (elmo-message-fetch-bodystructure): Define.
2004 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2006 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2008 * elmo-filter.el (elmo-message-folder): Define.
2010 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2012 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2013 elmo-delete-cr-buffer.
2015 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2017 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2019 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2021 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2022 type seems to be a text.
2024 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2026 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2027 (elmo-spam-register-good-buffer): Ditto.
2028 (elmo-spam-spamassassin-register-messages): Ditto.
2030 * elmo-util.el (elmo-string-member-ignore-case): Define with
2033 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2035 * elmo.el (elmo-folder-type): Undo last change.
2037 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2039 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2042 * elmo-file.el: New file.
2044 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2046 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2048 (elmo-spam-spamassassin-register-messages): New inline function.
2049 (elmo-spam-register-spam-messages): Define.
2050 (elmo-spam-register-good-messages): Ditto.
2052 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2055 * elmo.el (toplevel): Added autoload setting for
2056 `elmo-get-global-flags'.
2057 (elmo-message-has-global-flag-p): New function.
2058 (elmo-message-set-global-flags): Ditto.
2059 (elmo-folder-type): Improvement for name: format.
2061 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2062 availability of keyword flags.
2063 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2064 (elmo-folder-list-flagged-plugged): Renamed from
2065 elmo-folder-list-flagged-unplugged.
2066 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2067 accept any flag as keyword flag.
2068 (elmo-folder-set-flag-plugged): Accept keyword flags.
2069 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2071 * elmo-flag.el (elmo-get-global-flags): New function.
2073 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2076 * elmo-version.el (elmo-version): Up to 2.11.24.
2078 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2080 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2081 elmo-multiple-field-body instead of std11-field-body to check all
2084 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2086 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2089 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2091 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2092 unintern is unbound.
2094 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2096 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2097 Protect from infinite loop.
2099 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2101 * elsp-bogofilter.el
2102 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2103 (elmo-spam-bogofilter-register-messages): New internal function.
2104 (elmo-spam-register-spam-messages): Define.
2105 (elmo-spam-register-good-messages): Ditto.
2107 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2109 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2110 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2111 (elmo-spam-bogofilter-call): Fixed the last change.
2112 (elmo-spam-bogofilter-arguments): Ditto.
2114 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2115 Follow the options change of latest bogofilter.
2117 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2118 (elmo-spam-bogofilter-good-switch): Ditto.
2119 (elmo-spam-bogofilter-arguments-alist): New user option.
2120 (elmo-spam-bogofilter-debug): Ditto.
2121 (elmo-spam-bogofilter-call): Renamed from
2122 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2123 is non-nil, insert output in buffer for debug.
2124 (elmo-spam-bogofilter-arguments): New macro.
2125 (elmo-spam-buffer-spam-p): Use it.
2126 (elsp-bogofilter-register-buffer): Ditto.
2128 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2130 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2133 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2135 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2137 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2138 (elmo-spam-bsfilter-program): Set default value as full path for
2140 (elmo-spam-bsfilter-debug): New user option.
2141 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2142 non-nil, insert output in buffer for debug. Fix treating of
2145 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2147 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2148 `elmo-maildir-flag-specs' element instead of one.
2149 (elmo-map-folder-unset-flag): Ditto.
2150 (Reported by Ken Makimura <macky@astem.or.jp>)
2152 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2153 (elmo-folder-unset-flag-plugged): Ditto.
2155 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2157 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2158 to `reads' slot only if `in-msgdb' is nil.
2160 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2162 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2163 and complement argument list.
2165 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2167 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2168 instead of elmo-folder-list-flagged.
2170 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2172 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2174 * elsp-bsfilter.el: New file.
2176 * elmo-pipe.el (elmo-folder-list-unreads,
2177 elmo-folder-list-answereds,
2178 elmo-folder-list-importants,
2179 elmo-folder-flag-as-important,
2180 elmo-folder-unflag-important,
2181 elmo-folder-flag-as-read,
2182 elmo-folder-unflag-read,
2183 elmo-folder-flag-as-answered,
2184 elmo-folder-unflag-answered): Remove.
2185 (elmo-folder-set-flag): Define.
2186 (elmo-folder-unset-flag): Ditto.
2188 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2189 (elmo-folder-set-flag): Define.
2190 (elmo-folder-unset-flag): Ditto.
2191 (elmo-folder-list-unreads): Remove.
2192 (elmo-folder-list-flagged): Define.
2194 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2195 (elmo-folder-list-unreads,
2196 elmo-folder-list-importants,
2197 elmo-folder-list-answereds,
2198 elmo-folder-list-unreads-plugged,
2199 elmo-folder-list-importants-plugged,
2200 elmo-folder-list-answereds-plugged): Remove.
2201 (elmo-folder-list-flagged-plugged): New method.
2202 (elmo-folder-unflag-important,
2203 elmo-folder-flag-as-important,
2204 elmo-folder-unflag-read,
2205 elmo-folder-flag-as-read,
2206 elmo-folder-unflag-answered,
2207 elmo-folder-flag-as-answered,
2208 elmo-folder-flag-as-read-unplugged,
2209 elmo-folder-unflag-read-unplugged,
2210 elmo-folder-flag-as-important-unplugged,
2211 elmo-folder-unflag-important-unplugged,
2212 elmo-folder-flag-as-answered-unplugged,
2213 elmo-folder-unflag-answered-unplugged): Remove.
2214 (elmo-folder-set-flag): Define.
2215 (elmo-folder-unset-flag): Ditto.
2216 (elmo-folder-set-flag-unplugged): Ditto.
2217 (elmo-folder-unset-flag-unplugged): Ditto.
2219 * elmo-multi.el (elmo-folder-list-unreads,
2220 elmo-folder-list-answereds,
2221 elmo-folder-list-importants,
2222 elmo-folder-flag-as-important,
2223 elmo-folder-unflag-important,
2224 elmo-folder-flag-as-read,
2225 elmo-folder-unflag-read,
2226 elmo-folder-flag-as-answered,
2227 elmo-folder-unflag-answered): Remove.
2228 (elmo-folder-set-flag): Define.
2229 (elmo-folder-unset-flag): Ditto.
2231 * elmo-map.el (elmo-map-folder-unflag-important,
2232 elmo-map-folder-flag-as-important,
2233 elmo-map-folder-unflag-read,
2234 elmo-map-folder-flag-as-read,
2235 elmo-map-folder-unflag-answered,
2236 elmo-map-folder-flag-as-answered): Remove.
2237 (elmo-map-folder-set-flag): New method.
2238 (elmo-map-folder-unset-flag): Ditto.
2239 (elmo-map-folder-list-unreads,
2240 elmo-map-folder-list-importants,
2241 elmo-map-folder-list-answereds): Remove.
2242 (elmo-folder-list-flagged-internal): Define.
2243 (elmo-map-folder-list-flagged): New method.
2245 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2246 (elmo-map-folder-list-unreads,
2247 elmo-map-folder-list-importants,
2248 elmo-map-folder-list-flagged): Remove.
2249 (elmo-map-folder-list-flagged): Define.
2250 (elmo-map-folder-flag-as-important,
2251 elmo-map-folder-unflag-important,
2252 elmo-map-folder-flag-as-read,
2253 elmo-map-folder-unflag-read,
2254 elmo-map-folder-flag-as-answered,
2255 elmo-map-folder-unflag-answered): Remove.
2256 (elmo-maildir-set-mark-messages): New internal function.
2257 (elmo-map-folder-set-flag): Define.
2258 (elmo-map-folder-unset-flag): Ditto.
2260 * elmo.el (toplevel): Added autoload setting for
2261 `elmo-folder-list-global-flag-messages'.
2262 (elmo-folder-list-unreads,
2263 elmo-folder-list-importants,
2264 elmo-folder-list-answereds): Remove.
2265 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2266 Return a list whitch merged with messages have global flag.
2267 (elmo-folder-list-flagged-internal): New method.
2268 (elmo-folder-unflag-important,
2269 elmo-folder-flag-as-important,
2270 elmo-folder-unflag-read,
2271 elmo-folder-flag-as-read,
2272 elmo-folder-unflag-answered,
2273 elmo-folder-flag-as-answered): Remove.
2274 (elmo-folder-set-flag): New method.
2275 (elmo-folder-unset-flag): Ditto.
2276 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2277 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2279 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2280 (elmo-folder-list-unreads-plugged,
2281 elmo-folder-list-importants-plugged,
2282 elmo-folder-list-answereds-plugged,
2283 elmo-folder-list-flagged-unplugged,
2284 elmo-folder-unflag-important-plugged,
2285 elmo-folder-flag-as-important-plugged,
2286 elmo-folder-unflag-read-plugged,
2287 elmo-folder-flag-as-read-plugged,
2288 elmo-folder-unflag-answered-plugged,
2289 elmo-folder-flag-as-answered-plugged): Remove.
2290 (elmo-folder-set-flag-plugged,
2291 elmo-folder-unset-flag-plugged): Define.
2293 * elmo-flag.el (elmo-folder-initialize): Register to
2294 `elmo-global-flag-list' if flag is not global.
2295 (elmo-folder-append-messages): Set flag to source messages.
2297 * elmo-filter.el (elmo-filter-folder-list-unreads,
2298 elmo-folder-list-unreads,
2299 elmo-filter-folder-list-importants,
2300 elmo-folder-list-importants,
2301 elmo-folder-flag-as-read,
2302 elmo-folder-unflag-read,
2303 elmo-folder-flag-as-important,
2304 elmo-folder-unflag-important,
2305 elmo-folder-flag-as-answered,
2306 elmo-folder-unflag-answered): Remove.
2307 (elmo-folder-set-flag): Define.
2308 (elmo-folder-unset-flag): Ditto.
2310 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2311 elmo-folder-unflag-read-dop,
2312 elmo-folder-flag-as-important-dop,
2313 elmo-folder-unflag-important-dop,
2314 elmo-folder-flag-as-answered-dop,
2315 elmo-folder-unflag-answered-dop): Remove.
2316 (elmo-folder-set-flag-dop,
2317 elmo-folder-unset-flag-dop,
2318 elmo-folder-set-important-delayed,
2319 elmo-folder-unset-important-delayed,
2320 elmo-folder-set-read-delayed,
2321 elmo-folder-unset-read-delayed,
2322 elmo-folder-set-answered-delayed,
2323 elmo-folder-unset-answered-delayed): New function.
2324 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2325 (elmo-dop-queue-method-name-alist): Ditto.
2327 * elmo-version.el (elmo-version): Up to 2.11.23.
2329 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2331 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2333 * elsp-sa.el: New file.
2335 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2337 * modb-standard.el (modb-standard-message-entity): New function.
2338 (elmo-msgdb-message-entity): Use it.
2340 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2342 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2343 behavior when one-level is nil.
2345 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2347 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2349 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2351 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2353 (elmo-generic-folder-diff): Ditto.
2355 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2356 (elmo-folder-update-number): Ditto.
2358 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2359 (elmo-folder-next-message-number-dop): Ditto.
2361 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2363 * elmo-filter.el (elmo-folder-msgdb-create): Use
2364 `elmo-message-entity' and `elmo-message-flags' instead of
2365 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2367 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2369 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2372 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2374 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2376 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2378 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2380 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2382 * elmo-version.el (elmo-version): Up to 2.11.22.
2384 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2386 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2388 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2390 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2391 if the message dose not exist.
2393 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2395 * elmo-version.el (elmo-version): Up to 2.11.21.
2397 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2399 * modb-standard.el (toplevel): Don't require mime.
2401 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2403 * elsp-bogofilter.el (toplevel): Don't require path-util.
2404 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2405 (elmo-spam-bogofilter-header): Abolish.
2406 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2407 (elmo-spam-bogofilter-args): New user option.
2408 (elsp-bogofilter-call-bogofilter): New internal function.
2409 (elmo-spam-buffer-spam-p): Use it.
2410 (elsp-bogofilter-register-buffer): Renamed from
2411 `elmo-spam-bogofilter-register-buffer';
2412 Use `elsp-bogofilter-call-bogofilter'.
2413 (elmo-spam-register-spam-buffer): Follow the change above.
2414 (elmo-spam-register-good-buffer): Ditto.
2416 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2418 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2419 message-id is nil do nothing.
2421 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2423 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2425 (elmo-imap4-session): Removed use-flag slot.
2426 (elmo-imap4-session-select-mailbox): Undo last change.
2427 (elmo-folder-use-flag-p): Use
2428 elmo-imap4-disuse-server-flag-mailbox-regexp.
2430 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2432 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2433 (elmo-imap4-session-select-mailbox): Set it up.
2434 (elmo-folder-use-flag-p): Return value of use-flag slot.
2436 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2438 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2440 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2442 * modb-entity.el (elmo-message-entity-handler): Likewise.
2444 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2446 * elmo.el (toplevel): Remove setting of autoloding for
2447 elmo-global-flag-initialize.
2448 (elmo-init): Don't call elmo-global-flag-initialize.
2449 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2451 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2452 (elmo-global-mark-migrate): Don't call it.
2453 (elmo-global-mark-upgrade): Ditto.
2455 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2457 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2458 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2460 * elmo-vars.el (elmo-init-hook): New user option.
2462 * elmo.el (elmo-init): Run the elmo-init-hook.
2464 * elmo-flag.el (elmo-global-mark-migrate): New function.
2466 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2468 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2469 Undo last change (move to elmo-msgdb-unset-flag).
2470 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2473 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2475 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2477 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2478 (elmo-msgdb-unset-flag): Ditto.
2480 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2482 * elmo-split.el (elmo-split): Return split message count.
2484 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2486 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2489 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2491 * elmo.el (elmo-folder-unflag-important): Call
2492 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2495 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2497 (elmo-global-flag-detach): Delete the message from flag folder, if
2498 `delete-if-none' is a symbol `always'.
2500 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2502 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2503 `elmo-spam-spamfilter-decode-buffer'.
2504 (elsp-spamfilter-register-buffer-internal): New internal function.
2505 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2506 (elmo-spam-register-spam-buffer): Ditto.
2507 (elmo-spam-register-good-buffer): Ditto.
2509 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2511 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2512 (elmo-spam-register-spam-buffer): Follow the API change.
2513 (elmo-spam-register-good-buffer): Ditto.
2515 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2516 (elmo-split-spam-p): Added argument plist; Call
2517 `elmo-spam-buffer-spam-p' with new argument register.
2519 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2521 (elmo-spam-message-spam-p): Ditto.
2522 (elmo-spam-register-spam-buffer): Added optional argument
2524 (elmo-spam-register-good-buffer): Ditto.
2525 (elmo-spam-register-spam-messages): Ditto.
2526 (elmo-spam-register-good-messages): Ditto.
2528 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2530 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2531 register into good corpus.
2532 (elmo-spam-register-good-buffer): Fixed to register into bad
2535 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2537 * elmo-version.el (elmo-version): Up to 2.11.20.
2539 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2542 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2543 flag without depending on \Recent flag.
2545 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2547 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2548 (elmo-spam-modified-p): Defined.
2549 (elmo-spam-save-status): Set `modified' slot to nil.
2550 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2551 (elmo-spam-register-good-buffer): Ditto.
2553 * elmo-spam.el (elmo-spam-modified-p): New API.
2555 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2557 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2558 duplicate definition.
2560 * elmo-util.el (elmo-unfold-field-body): New function.
2561 (elmo-msgdb-get-message-id-from-buffer): Use it.
2563 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2564 Fixed the last change; Use elmo-unfold-field-body.
2566 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2568 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2571 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2573 * elmo-spam.el (elmo-spam-save-status): New API.
2575 * elsp-spamfilter.el: New file.
2577 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2579 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2581 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2583 * elmo-split.el (elmo-split-spam-p): New function.
2585 * elmo-spam.el: New file.
2587 * elsp-bogofilter.el: Ditto.
2589 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2591 * elmo.el (elmo-folder-next-message-number): New API.
2592 (elmo-folder-next-message-number): Define.
2593 (elmo-message-field): Don't check folder length.
2595 * elmo-net.el (elmo-folder-next-message-number): Define.
2596 (elmo-folder-next-message-number-unplugged): Define.
2598 * elmo-map.el (elmo-folder-next-message-number): Define.
2599 (elmo-folder-delete-messages): Clear hash value.
2601 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2603 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2604 (elmo-folder-delete-messages-dop-delayed): Always return t.
2606 * elmo-version.el (elmo-version): Up to 2.11.19.
2608 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2610 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2613 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2614 identical cons cell into the mark-alist and the hash table.
2616 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2618 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2619 elmo-folder-list-messages with argument `visible-only' as t.
2621 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2622 (elmo-folder-msgdb-create): Check the target folder.
2624 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2626 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2627 `permanentflag' instead of `flags'.
2628 (elmo-folder-open): Ditto.
2629 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2630 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2631 (elmo-folder-use-flag-p): Always return t.
2632 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2633 `permanentflags' does not exist.
2634 (elmo-folder-open): Ditto.
2636 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2638 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2640 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2642 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2643 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2645 (elmo-folder-open): Ditto.
2646 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2647 slot of the session includes the flag.
2648 (elmo-imap4-session-flag-available-p): New function.
2649 (elmo-imap4-folder-list-flagged): Ditto.
2650 (elmo-folder-list-unreads-plugged): Use it.
2651 (elmo-folder-list-importants-plugged): Ditto.
2652 (elmo-folder-list-answereds-plugged): Ditto.
2653 (elmo-imap4-search-internal-primitive): Ditto.
2654 (elmo-imap4-folder-list-any-plugged,
2655 elmo-imap4-folder-list-digest-plugged): Abolish.
2657 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2660 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2662 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2664 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2666 * elmo-util.el (elmo-get-hash-val): Simplify.
2667 (elmo-set-hash-val): Rewrite.
2669 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2671 * elmo.el (elmo-folder-list-messages): Append killed messages into
2672 result if `visible-only' is nil and `in-msgdb' is non-nil.
2674 * elmo-util.el (elmo-uniq-list): Added optional argument
2677 * modb.el (elmo-msgdb-flag-count): New API.
2679 * modb-standard.el (modb-standard): Added slot flag-count.
2680 (modb-standard-countup-flags): New function.
2681 (modb-standard-load-flag): Call it.
2682 (elmo-msgdb-append): Ditto.
2683 (elmo-msgdb-clear): Clear slot flag-count.
2684 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2685 (elmo-msgdb-unset-flag): Treat `all' flag and call
2686 modb-standard-countup-flags.
2687 (elmo-msgdb-flag-count): Define.
2688 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2689 (elmo-msgdb-delete-messages): Ditto.
2691 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2692 (elmo-msgdb-flag-count): Define.
2694 * elmo.el (elmo-folder-list-messages): Undo last change.
2695 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2696 (elmo-folder-kill-messages): Unset all flags to numbers.
2698 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2699 elmo-folder-kill-messages.
2701 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2702 (elmo-nntp-folder-delete-messages): Abolish.
2704 * elmo-version.el (elmo-version): Up to 2.11.18.
2706 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2708 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2709 (elmo-folder-kill-messages-range): New function.
2710 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2711 instead of elmo-folder-kill-messages-before.
2713 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2715 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2716 elmo-imap4-current-msgdb to decide entity handler.
2718 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2720 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2722 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2724 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2725 (elmo-msgdb-overview-entity-set-number,
2726 elmo-msgdb-overview-entity-get-references,
2727 elmo-msgdb-overview-entity-set-references,
2728 elmo-msgdb-overview-entity-get-from-no-decode,
2729 elmo-msgdb-overview-entity-get-from,
2730 elmo-msgdb-overview-entity-set-from,
2731 elmo-msgdb-overview-entity-get-subject,
2732 elmo-msgdb-overview-entity-get-subject-no-decode,
2733 elmo-msgdb-overview-entity-set-subject,
2734 elmo-msgdb-overview-entity-get-date,
2735 elmo-msgdb-overview-entity-set-date,
2736 elmo-msgdb-overview-entity-get-to,
2737 elmo-msgdb-overview-entity-get-cc,
2738 elmo-msgdb-overview-entity-get-size,
2739 elmo-msgdb-overview-entity-set-size,
2740 elmo-msgdb-overview-entity-get-extra,
2741 elmo-msgdb-overview-entity-set-extra,
2742 elmo-msgdb-overview-entity-get-extra-field,
2743 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2744 (elmo-msgdb-make-index): Use
2745 `elmo-msgdb-overview-entity-get-number-internal'.
2746 (elmo-msgdb-clear-index): Ditto.
2747 (elmo-msgdb-append-entity): Ditto;
2748 Use `elmo-msgdb-overview-entity-get-id-internal'.
2750 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2751 elmo-msgdb-overview-entity-set-number,
2752 elmo-msgdb-overview-entity-get-references,
2753 elmo-msgdb-overview-entity-set-references,
2754 elmo-msgdb-overview-entity-get-from-no-decode,
2755 elmo-msgdb-overview-entity-get-from,
2756 elmo-msgdb-overview-entity-set-from,
2757 elmo-msgdb-overview-entity-get-subject,
2758 elmo-msgdb-overview-entity-get-subject-no-decode,
2759 elmo-msgdb-overview-entity-set-subject,
2760 elmo-msgdb-overview-entity-get-date,
2761 elmo-msgdb-overview-entity-set-date,
2762 elmo-msgdb-overview-entity-get-to,
2763 elmo-msgdb-overview-entity-get-cc,
2764 elmo-msgdb-overview-entity-get-size,
2765 elmo-msgdb-overview-entity-set-size,
2766 elmo-msgdb-overview-entity-get-extra,
2767 elmo-msgdb-overview-entity-set-extra,
2768 elmo-msgdb-overview-entity-get-extra-field,
2769 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2770 and rewrote for backward compatibility.
2772 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2774 * elmo.el (elmo-message-entity-number,
2775 elmo-message-entity-set-number,
2776 elmo-message-entity-field,
2777 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2779 * elmo-msgdb.el (elmo-message-entity-number,
2780 elmo-message-entity-set-number,
2781 elmo-message-entity-field,
2782 elmo-message-entity-set-field): Moved from elmo.el.
2784 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2786 * elmo.el (toplevel): Changed definition orders.
2788 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2790 * modb.el (elmo-msgdb-search): New API .
2791 (elmo-msgdb-match-condition): Ditto.
2793 * modb-standard.el (elmo-msgdb-search): Define.
2795 * modb-legacy.el (elmo-msgdb-search): Ditto.
2797 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2798 from elmo-msgdb-match-condition-internal.
2800 * elmo.el (elmo-folder-search-fast): Abolish.
2801 (elmo-folder-search): Use elmo-msgdb-search and
2802 elmo-with-progress-display.
2804 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2807 * elmo.el (elmo-folder): Remove slot message-modified and
2809 (elmo-folder-set-message-modified): Abolish.
2810 (elmo-generic-folder-commit): Follow the change above.
2811 (elmo-folder-synchronize): Ditto.
2813 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2815 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2817 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2819 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2821 * modb-standard.el (modb-standard-make-message-entity,
2822 elmo-msgdb-make-message-entity,
2823 elmo-msgdb-create-message-entity-from-buffer,
2824 elmo-msgdb-message-entity-number,
2825 elmo-msgdb-message-entity-set-number,
2826 elmo-msgdb-message-entity-field,
2827 elmo-msgdb-message-entity-set-field,
2828 elmo-msgdb-copy-message-entity,
2829 elmo-msgdb-match-condition-internal): Remove.
2831 * modb-entity.el: New file (again).
2833 * modb.el (toplevel): Require modb-entity.
2834 (elmo-msgdb-message-entity-handler): New method.
2836 * modb-standard.el (modb-standard-entity-id): Use
2837 elmo-message-entity-handler.
2838 (modb-standard-load-entity): Ditto.
2839 (elmo-msgdb-append-entity): Ditto.
2840 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2842 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2843 elmo-msgdb-decoded-cache-hashtb,
2844 (modb-legacy-make-message-entity,
2845 elmo-msgdb-make-message-entity,
2846 elmo-msgdb-create-message-entity-from-buffer,
2847 elmo-msgdb-message-entity-number,
2848 elmo-msgdb-message-entity-set-number,
2849 elmo-msgdb-message-entity-field,
2850 elmo-msgdb-message-entity-set-field,
2851 elmo-msgdb-copy-message-entity,
2852 elmo-msgdb-match-condition-internal,
2853 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2855 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2856 (elmo-message-entity-set-number): Ditto.
2857 (elmo-message-entity-field): Ditto.
2858 (elmo-message-entity-set-field): Ditto.
2860 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2862 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2864 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2866 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2867 (elmo-nntp-msgdb-create-message): Ditto.
2869 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2870 (elmo-folder-msgdb-create): Add unread flag.
2872 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2874 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2876 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2878 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2880 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2881 elmo-msgdb-messge-entity-handler.
2882 * elmo-version.el (elmo-version): Up to 2.11.17.
2884 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2886 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2889 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2891 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2893 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2894 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2895 (elmo-msgdb-flag-table): Ditto.
2896 (elmo-msgdb-sort-by-date): Ditto.
2898 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2900 * modb-standard.el (toplevel): Require mime.
2901 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2902 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2903 elmo-msgdb-message-entity-number.
2904 (elmo-msgdb-append-entity): Ditto.
2905 (elmo-msgdb-create-message-entity-from-file): Remove.
2906 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2907 corresponds to the entity.
2908 (elmo-msgdb-message-entity-number): Do nothing currently.
2909 (elmo-msgdb-message-entity-field): Ditto.
2910 (elmo-msgdb-message-entity-set-field): Ditto.
2911 (elmo-msgdb-copy-message-entity): Ditto.
2912 (elmo-msgdb-match-condition-internal): Ditto.
2914 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2916 (elmo-msgdb-create-message-entity-from-file): Remove.
2918 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2920 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2922 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2924 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2926 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2927 (elmo-msgdb-message-entity-field): Ditto.
2928 (elmo-msgdb-message-entity-number): Ditto.
2930 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2932 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2933 Fixed how to set extra field into entity.
2934 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2937 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2938 Fixed how to set extra field into entity.
2939 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2942 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2944 * modb.el (elmo-message-entity-db): New function.
2945 (elmo-msgdb-make-message-entity): New API.
2946 (elmo-msgdb-message-entity-number): Ditto.
2947 (elmo-msgdb-message-entity-set-number): Ditto.
2948 (elmo-msgdb-message-entity-field): Ditto.
2949 (elmo-msgdb-message-entity-set-field): Ditto.
2950 (elmo-msgdb-copy-message-entity): Ditto.
2951 (elmo-msgdb-create-message-entity-from-file): Ditto.
2952 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2953 (elmo-msgdb-match-condition-internal): Ditto.
2955 * modb-standard.el (modb-legacy): Require modb-legacy.
2956 (modb-standard-make-message-entity): New inline function.
2957 (elmo-msgdb-make-message-entity): Define.
2958 (elmo-msgdb-create-message-entity-from-file): Ditto.
2959 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2960 (elmo-msgdb-message-entity-field): Ditto.
2961 (elmo-msgdb-message-entity-set-field): Ditto.
2962 (elmo-msgdb-copy-message-entity): Ditto.
2963 (elmo-msgdb-match-condition-internal): Ditto.
2965 * modb-legacy.el: Don't require modb-entity.
2966 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2967 (elmo-msgdb-match-condition-primitive): Ditto.
2968 (elmo-msgdb-get-decoded-cache): Ditto.
2969 (elmo-msgdb-overview-entity-get-id): Ditto.
2970 (elmo-msgdb-overview-entity-get-number): Ditto.
2971 (elmo-msgdb-overview-entity-set-number): Ditto.
2972 (elmo-msgdb-overview-entity-get-references): Ditto.
2973 (elmo-msgdb-overview-entity-set-references): Ditto.
2974 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2975 (elmo-msgdb-overview-entity-get-from): Ditto.
2976 (elmo-msgdb-overview-entity-set-from): Ditto.
2977 (elmo-msgdb-overview-entity-get-subject): Ditto.
2978 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2979 (elmo-msgdb-overview-entity-set-subject): Ditto.
2980 (elmo-msgdb-overview-entity-get-date): Ditto.
2981 (elmo-msgdb-overview-entity-set-date): Ditto.
2982 (elmo-msgdb-overview-entity-get-to): Ditto.
2983 (elmo-msgdb-overview-entity-get-cc): Ditto.
2984 (elmo-msgdb-overview-entity-get-size): Ditto.
2985 (elmo-msgdb-overview-entity-set-size): Ditto.
2986 (elmo-msgdb-overview-entity-get-extra): Ditto.
2987 (elmo-msgdb-overview-entity-set-extra): Ditto.
2988 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2989 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2990 (elmo-msgdb-number-load): Ditto.
2991 (elmo-msgdb-overview-load): Ditto.
2992 (elmo-msgdb-mark-load): Ditto.
2993 (elmo-msgdb-number-save): Ditto.
2994 (elmo-msgdb-mark-save): Ditto.
2995 (elmo-msgdb-overview-save): Ditto.
2996 (modb-legacy-make-message-entity): New inline function.
2997 (elmo-msgdb-insert-file-header): Ditto.
2998 (elmo-msgdb-make-message-entity): Define.
2999 (elmo-msgdb-create-message-entity-from-file): Ditto.
3000 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3001 (elmo-msgdb-message-entity-number): Ditto.
3002 (elmo-msgdb-message-entity-set-number): Ditto.
3003 (elmo-msgdb-message-entity-field): Ditto.
3004 (elmo-msgdb-message-entity-set-field): Ditto.
3005 (elmo-msgdb-copy-message-entity): Ditto.
3006 (elmo-msgdb-match-condition-internal): Ditto.
3008 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3009 (elmo-message-copy-entity): Rewrite.
3010 (elmo-message-entity-number): Ditto.
3011 (elmo-message-entity-set-number): Ditto.
3012 (elmo-message-entity-field): Use elmo-message-entity-db.
3013 (elmo-message-entity-set-field): Ditto.
3014 (elmo-message-field): Rewrite.
3016 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3018 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3020 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3021 elmo-message-entity-field.
3022 (elmo-shimbun-folder-shimbun-header): Ditto.
3023 (elmo-shimbun-entity-to-header): Ditto.
3024 (elmo-folder-msgdb-create): Ditto.
3025 (elmo-shimbun-msgdb-create-entity): Ditto;
3026 Use elmo-msgdb-create-message-entity-from-buffer.
3027 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3028 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3030 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3031 elmo-msgdb-create-message-entity-from-file and
3032 elmo-message-entity-field.
3034 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3035 elmo-message-entity-number.
3036 (elmo-pop3-msgdb-create-message): Use
3037 elmo-msgdb-create-message-entity-from-buffer,
3038 elmo-message-entity-set-field, elmo-message-entity-number and
3039 elmo-message-entity-set-number.
3041 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3042 the API change in elmo-msgdb-make-message-entity.
3043 (elmo-nntp-msgdb-create-message): Use
3044 elmo-msgdb-create-message-entity-from-buffer.
3046 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3047 elmo-message-entity-field and
3048 elmo-msgdb-create-message-entity-from-file.
3050 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3051 (elmo-msgdb-get-field): Abolish.
3052 (elmo-msgdb-get-number): Rewrite.
3053 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3054 (elmo-msgdb-flag-table): Ditto.
3055 (elmo-msgdb-get-last-message-id,
3056 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3057 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3058 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3059 (elmo-msgdb-create-overview-from-buffer,
3060 elmo-msgdb-overview-get-parent-entity): Abolish.
3062 * elmo-mime.el (elmo-mime-display-as-is): Use
3063 elmo-message-entity-field.
3065 * elmo-map.el (elmo-folder-pack-numbers): Use
3066 elmo-message-entity-set-number.
3068 * elmo-maildir.el (elmo-folder-msgdb-create):
3069 elmo-msgdb-create-message-entity-from-file instead of
3070 elmo-msgdb-create-overview-entity-from-file.
3072 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3074 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3075 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3077 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3078 elmo-messge-entity-field and elmo-message-entity-number.
3079 (elmo-imap4-fetch-callback-1): Call
3080 elmo-msgdb-create-message-entity-from-buffer instead of
3081 elmo-msgdb-create-overview-from-buffer.
3082 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3083 (elmo-find-fetch-strategy): Likewise.
3085 * elmo-flag.el (elmo-folder-msgdb-create): Call
3086 elmo-localdir-msgdb-create-entity with argument msgdb.
3088 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3089 and elmo-message-entity-set-number.
3091 * elmo-cache.el (elmo-folder-msgdb-create): Use
3092 elmo-message-entity-field.
3093 (elmo-folder-msgdb-create): Call
3094 elmo-msgdb-create-message-entity-from-file instead of
3095 elmo-msgdb-create-overview-entity-from-file.
3097 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3098 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3099 instead of elmo-msgdb-create-overview-from-buffer.
3100 (elmo-archive-msgdb-create-entity): Ditto.
3101 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3102 elmo-message-entity-field.
3103 (elmo-archive-parse-mmdf): Ditto.
3105 * modb-entity.el: Removed.
3107 * elmo-version.el (elmo-version): Up to 2.11.16.
3109 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3111 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3113 (elmo-folder-flag-as-answered): Ditto.
3115 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3117 * modb-standard.el: New file.
3119 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3120 elmo-msgdb-convert-type is `sync'.
3122 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3123 (elmo-msgdb-convert-type): New user option.
3125 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3126 (elmo-load-msgdb): Auto detect saved type.
3128 * elmo-version.el (elmo-version): Up to 2.11.15.
3130 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3132 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3134 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3135 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3136 with argument `delete-if-none' when dst-folder is 'null.
3138 * elmo-flag.el (elmo-folder-append-messages): Defined.
3139 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3141 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3143 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3145 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3147 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3148 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3149 (elmo-folder-commit): Ditto.
3151 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3153 * elmo-flag.el: New file.
3155 * elmo-mark.el: Removed.
3157 * modb-legacy.el (modb-legacy-new-mark,
3158 modb-legacy-unread-uncached-mark,
3159 modb-legacy-unread-cached-mark,
3160 modb-legacy-read-uncached-mark,
3161 modb-legacy-answered-cached-mark,
3162 modb-legacy-answered-uncached-mark,
3163 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3164 All other related portions are changed.
3166 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3167 (elmo-folder-list-messages-with-global-mark): Abolish.
3168 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3169 (elmo-folder-flag-as-important): Ditto.
3170 (elmo-folder-unflag-read): Ditto.
3171 (elmo-folder-flag-as-read): Ditto.
3172 (elmo-folder-unflag-answered): Ditto.
3173 (elmo-folder-flag-as-answered): Ditto.
3174 (elmo-message-encache): Return the cache path.
3175 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3176 (elmo-message-set-flag): Transitional implementation.
3177 (elmo-message-unset-flag): Ditto.
3178 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3179 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3180 (elmo-init): Call elmo-global-flag-initialize.
3181 (toplevel): Added autoload settings for elmo-flag.
3183 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3185 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3186 (elmo-file-cache-delete): Don't treat global-mark.
3188 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3190 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3192 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3193 `elmo-global-flags-set'.
3195 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3197 (elmo-folder-unflag-read): Ditto.
3198 (elmo-folder-unflag-important): Ditto.
3199 (elmo-folder-flag-as-important): Ditto.
3200 (elmo-folder-unflag-answered): Ditto.
3201 (elmo-folder-flag-as-answered): Ditto.
3203 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3204 `elmo-global-flags-set'.
3205 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3207 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3209 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3211 (elmo-folder-flag-as-important): Ditto.
3212 (elmo-folder-unflag-important): Ditto.
3213 (elmo-folder-flag-as-important): Ditto.
3214 (elmo-folder-unflag-read): Ditto.
3215 (elmo-folder-flag-as-read): Ditto.
3216 (elmo-folder-unflag-answered): Ditto.
3217 (elmo-folder-flag-as-answered): Ditto.
3219 * elmo-multi.el (elmo-folder-list-importants): Don't call
3220 elmo-folder-list-messages-with-global-mark.
3221 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3222 (elmo-folder-unflag-important): Ditto.
3223 (elmo-folder-flag-as-read): Ditto.
3224 (elmo-folder-unflag-read): Ditto.
3225 (elmo-folder-flag-as-answered): Ditto.
3226 (elmo-folder-unflag-answered): Ditto.
3228 * elmo-msgdb.el (elmo-msgdb-new-mark,
3229 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3230 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3231 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3232 (Moved to modb-legacy.el).
3233 (elmo-flag-table-get): Treat important flag too.
3235 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3237 (elmo-map-folder-flag-as-important): Ditto.
3238 (elmo-map-folder-unflag-read): Ditto.
3239 (elmo-map-folder-flag-as-read): Ditto.
3240 (elmo-map-folder-unflag-answered): Ditto.
3241 (elmo-map-folder-flag-as-answered): Ditto.
3242 (elmo-folder-unflag-important): Ditto.
3243 (elmo-folder-flag-as-important): Ditto.
3244 (elmo-folder-unflag-read): Ditto.
3245 (elmo-folder-flag-as-read): Ditto.
3246 (elmo-folder-unflag-answered): Ditto.
3247 (elmo-folder-flag-as-answered): Ditto.
3249 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3250 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3252 (elmo-map-folder-unflag-important): Ditto.
3253 (elmo-map-folder-flag-as-read): Ditto.
3254 (elmo-map-folder-unflag-read): Ditto.
3255 (elmo-map-folder-flag-as-answered): Ditto.
3256 (elmo-map-folder-unflag-answered): Ditto.
3258 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3259 `elmo-global-flags-set'.
3260 (elmo-global-flags-set): Added autoload setting.
3262 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3265 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3266 `elmo-msgdb-global-mark-set'.
3267 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3268 Call `elmo-global-flags-set'.
3269 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3271 (elmo-folder-flag-as-important-plugged): Ditto.
3272 (elmo-folder-unflag-read-plugged): Ditto.
3273 (elmo-folder-flag-as-read-plugged): Ditto.
3274 (elmo-folder-unflag-answered-plugged): Ditto.
3275 (elmo-folder-flag-as-answered-plugged): Ditto.
3276 (elmo-global-flags-set): Added autoload setting.
3278 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3280 (elmo-folder-unflag-read): Ditto.
3281 (elmo-folder-flag-as-important): Ditto.
3282 (elmo-folder-unflag-important): Ditto.
3283 (elmo-folder-flag-as-answered): Ditto.
3284 (elmo-folder-unflag-answered): Ditto.
3286 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3287 change of `mark'->`flag'.
3288 (elmo-dop-queue-method-name-alist): Ditto.
3289 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3290 (elmo-folder-unflag-read-dop): Ditto.
3291 (elmo-folder-flag-as-important-dop): Ditto.
3292 (elmo-folder-unflag-important-dop): Ditto.
3293 (elmo-folder-flag-as-answered-dop): Ditto.
3294 (elmo-folder-unflag-answered-dop): Ditto.
3296 * elmo-cache.el (elmo-folder-msgdb-create): Call
3297 `elmo-global-flags-set'.
3299 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3300 Call `elmo-global-flags-set'.
3301 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3302 elmo-archive-parse-mmdf with argument `folder'.
3303 (elmo-archive-parse-mmdf): Added argument `folder';
3304 Call `elmo-global-flags-set'.
3306 * elmo-version.el (elmo-version): Up to 2.11.14.
3308 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3310 * modb.el (elmo-msgdb-length): Define.
3312 * elmo.el (elmo-make-folder): Fixed.
3313 (elmo-generic-folder-append-messages): Follow the API change.
3315 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3318 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3320 * modb.el: New file.
3322 * modb-entity.el: Ditto.
3324 * modb-legacy.el: Ditto.
3326 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3327 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3328 of `elmo-msgdb-overview-get-entity'.
3329 (elmo-msgdb-get-field): Ditto.
3330 (elmo-msgdb-merge): Moved to `elmo.el'.
3331 (elmo-msgdb-length): Removed; redefine as modb method.
3332 (elmo-msgdb-change-mark): Abolish.
3333 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3334 (elmo-msgdb-match-condition): Don't use mark.
3335 (elmo-msgdb-overview-get-entity): Abolish.
3336 Split modb part into `modb*.el'.
3338 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3340 * elmo-shimbun.el (shimbun-mua-search-id): Use
3341 `elmo-msgdb-message-entity' instead of
3342 `elmo-msgdb-overview-get-entity'.
3343 (elmo-shimbun-folder-shimbun-header): Ditto.
3344 (elmo-shimbun-get-headers): Ditto.
3345 (elmo-shimbun-update-overview): Ditto.
3347 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3349 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3351 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3352 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3354 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3355 `elmo-msgdb-mark-to-flags'.
3357 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3358 `elmo-msgdb-set-path'.
3360 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3362 * elmo-version.el (elmo-version): Up to 2.11.13.
3364 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3366 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3369 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3371 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3374 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3376 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3377 instead of `elmo-msgdb-get-cached'.
3378 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3380 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3381 (elmo-msgdb-set-cached): Ditto.
3382 (elmo-msgdb-set-flag): Rewrite.
3383 (elmo-msgdb-unset-flag): Ditto.
3385 * elmo-msgdb.el: Rewrite with luna.
3387 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3388 (elmo-folder-msgdb): Follow the change above.
3389 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3390 (elmo-folder-unmark-important): Follow the API change.
3391 (elmo-folder-mark-as-important): Ditto.
3392 (elmo-folder-unmark-read): Ditto.
3393 (elmo-folder-mark-as-read): Ditto.
3394 (elmo-folder-unmark-answered): Ditto.
3395 (elmo-folder-mark-as-answered): Ditto.
3396 (elmo-folder-clear): Likewise.
3398 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3399 instead of `elmo-msgdb-load' (renamed).
3401 * elmo-version.el (elmo-version): Up to 2.11.12.
3403 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3405 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3407 (elmo-message-mark): Abolish.
3408 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3409 instead of `elmo-msgdb-change-mark'.
3411 * elmo-pipe.el (elmo-message-mark): Abolish.
3413 * elmo-multi.el (elmo-message-mark): Ditto.
3415 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3416 (elmo-msgdb-unread-uncached-mark): Ditto.
3417 (elmo-msgdb-unread-cached-mark): Ditto.
3418 (elmo-msgdb-read-uncached-mark): Ditto.
3419 (elmo-msgdb-answered-cached-mark): Ditto.
3420 (elmo-msgdb-answered-uncached-mark): Ditto.
3421 (elmo-msgdb-important-mark): Ditto.
3422 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3424 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3426 (elmo-flag-table-load): Changed flag to list of flag.
3427 (elmo-flag-table-set): If flags is nil, set read flag.
3428 (elmo-flag-table-get): Return derived flags from global mark,
3429 cache status and saved flags.
3430 (elmo-msgdb-flag-table): Follow the change above.
3431 (elmo-msgdb-out-of-date-messages): New function.
3433 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3435 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3437 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3439 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3440 (elmo-nntp-msgdb-create-message): Ditto.
3442 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3444 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3446 (elmo-folder-msgdb-create): Follow the API change.
3448 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3449 (elmo-folder-append-messages): Ditto.
3451 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3452 (elmo-folder-append-buffer): Ditto.
3454 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3456 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3458 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3459 (elmo-archive-parse-mmdf): Ditto.
3461 * elmo-version.el (elmo-version): Up to 2.11.11.
3463 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3465 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3468 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3470 * elmo-pipe.el (elmo-message-flags): Defined.
3472 * elmo-multi.el (elmo-message-flags): Ditto.
3474 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3476 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3477 `elmo-msgdb-delete-msgs'.
3479 * elmo.el (elmo-folder-count-flags): Don't use
3480 `elmo-msgdb-get-mark-alist'.
3481 (elmo-folder-detach-messages): Follow the API change.
3483 * elmo.el (elmo-folder-list-messages): Append killed messages into
3484 result if `visible-only' is nil.
3486 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3488 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3489 (elmo-folder-update-number): Likewise.
3491 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3492 (elmo-pop3-sort-msgdb-by-original-number): Use
3493 `elmo-msgdb-sort-entities'.
3495 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3496 (elmo-msgdb-sort-by-date): Use it.
3497 (elmo-msgdb-overview-sort-by-date): Abolish.
3499 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3501 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3502 (elmo-msgdb-flags): New function.
3503 (elmo-msgdb-merge): Use elmo-msgdb-append.
3505 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3508 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3510 * elmo-dop.el (elmo-folder-status-dop): Use
3511 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3513 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3515 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3517 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3519 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3521 * elmo-util.el (elmo-with-progress-display): New macro.
3523 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3525 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3527 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3528 `elmo-folder-list-message-entities' instead of
3529 `elmo-msgdb-get-overview'.
3530 (elmo-map-folder-list-message-locations): Ditto.
3532 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3533 methods instead of treat directly).
3534 (elmo-msgdb-clear): Ditto.
3535 (elmo-msgdb-delete-msgs): Ditto.
3536 (elmo-msgdb-sort-by-date): Ditto.
3538 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3540 (elmo-nntp-folder-msgdb-create): Follow the API change.
3542 * elmo-version.el (elmo-version): Up to 2.11.10.
3544 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3546 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3547 (elmo-msgdb-flags-to-mark): Ditto.
3548 (elmo-msgdb-append-entity): Ditto.
3550 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3551 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3552 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3553 (elmo-archive-parse-mmdf): Ditto.
3555 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3557 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3559 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3561 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3563 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3565 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3567 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3569 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3571 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3572 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3575 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3576 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3577 instead of directly construction.
3578 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3579 instead of construct msgdb.
3581 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3582 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3583 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3584 instead of construct msgdb.
3586 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3588 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3589 when field is from or subject.
3591 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3593 * elmo-multi.el (elmo-message-entity-parent): Define.
3594 (elmo-folder-search): Rewrite.
3596 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3598 * elmo-multi.el (elmo-message-cached-p): Define.
3600 * elmo.el (elmo-message-cached-p): New method.
3601 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3602 (elmo-message-flags): New method.
3603 (elmo-message-flagged-p): New function.
3605 * elmo-version.el (elmo-version): Up to 2.11.9.
3607 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3609 * elmo-version.el (elmo-version): Up to 2.11.8.
3611 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3613 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3615 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3617 * elmo.el (elmo-folder-detach-messages): Undo last change.
3619 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3621 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3623 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3624 only when src folder type is pop3.
3626 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3628 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3629 elmo-msgdb-overview-entity-get-number instead of
3630 elmo-message-entity-number.
3632 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3634 * elmo-version.el (elmo-version): Up to 2.11.7.
3636 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3638 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3641 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3642 (elmo-msgdb-merge): New function.
3643 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3644 (elmo-msgdb-make-index): Rewrite.
3646 * elmo-version.el (elmo-version): Up to 2.11.6.
3648 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3649 use it as a the path for loading message entities.
3651 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3653 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3655 * elmo-filter.el (elmo-folder-set-message-modified): Set
3656 message-modified slot of itself if it does not require target msgdb.
3658 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3659 if folder length is zero.
3660 (elmo-mime-display-as-is): Ditto.
3662 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3664 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3666 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3668 * elmo.el (elmo-folder-set-message-modified): New method.
3669 (elmo-generic-folder-commit): Use it.
3670 (elmo-folder-synchronize): Ditto.
3672 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3673 (elmo-folder-commit): Remove duplicate definition.
3675 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3677 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3679 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3681 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3682 (elmo-strict-folder-diff): Ditto.
3683 (elmo-folder-set-info-max-by-numdb): Simplify.
3685 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3686 elmo-msgdb-list-messages.
3688 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3689 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3691 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3693 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3694 visible-only is non-nil.
3695 (elmo-folder-confirm-appends): Changed message.
3696 (elmo-folder-synchronize): Added argument disable-killed.
3698 * elmo-multi.el (elmo-folder-synchronize): Added argument
3701 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3703 * elmo-version.el (elmo-version): Up to 2.11.5.
3705 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3708 * elmo-util.el (elmo-list-filter): Simplify.
3710 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3711 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3712 (elmo-generic-folder-diff): Abolish argument.
3713 (elmo-msgdb-load): Don't use number-alist.
3715 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3717 * elmo-pipe.el (elmo-folder-diff): Ditto.
3719 * elmo-nmz.el (elmo-folder-diff): Ditto.
3721 * elmo-net.el (elmo-folder-diff): Ditto.
3723 * elmo-maildir.el (elmo-folder-diff): Ditto.
3725 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3727 * elmo-multi.el (elmo-folder-diff): Ditto
3728 (elmo-multi-folder-diff): Rewrite.
3730 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3732 * elmo-pipe.el (elmo-folder-msgdb): Define.
3734 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3736 * elmo.el (elmo-message-set-cached): Define as a method.
3738 * elmo-pipe.el (elmo-message-set-cached): Define.
3739 (elmo-find-fetch-strategy): Ditto.
3741 * elmo-multi.el (elmo-message-set-cached): Define.
3742 (elmo-find-fetch-strategy): Rewrite.
3744 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3746 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3748 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3750 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3751 instead of number-alist.
3753 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3754 mark nor message-id when msgdb of source folder is not loaded.
3756 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3758 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3760 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3762 * elmo.el (elmo-folder-length): Don't require msgdb.
3764 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3766 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3767 (elmo-message-field): Ditto.
3769 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3770 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3772 (elmo-map-folder-list-answereds): Define.
3773 (elmo-maildir-list-location): Treat 'R' info.
3774 (elmo-folder-msgdb-create): Treat flag-table.
3775 (elmo-folder-append-messages): Save flag-table.
3777 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3779 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3780 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3782 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3784 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3786 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3787 'read when mark is null.
3789 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3791 * elmo-version.el (elmo-version): Up to 2.11.4.
3793 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3795 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3796 (elmo-folder-mark-as-answered): Ditto.
3798 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3800 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3801 (elmo-pop3-get-session): Make msgdb directory after session.
3802 (elmo-folder-exists-p): Check exactly at the first time even when the
3803 elmo-pop3-exists-exactly is nil.
3805 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3806 (elmo-folder-list-messages): Define instead of
3807 elmo-folder-list-messages-internal.
3808 (elmo-folder-check): Check destination folder.
3809 (elmo-folder-synchronize): Drain the pipe.
3811 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3812 when msgdb is not loaded.
3814 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3816 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3817 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3820 * elmo.el (elmo-folder-kill-messages-before): New function.
3821 (elmo-folder-kill-messages): Ditto.
3822 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3824 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3825 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3826 killed not by synchronize (e.g. scoring).
3828 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3830 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3832 (elmo-folder-search): Follow the change above.
3834 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3835 into the candidates of search field.
3837 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3839 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3840 (elmo-msgdb-unset-flag): Ditto.
3842 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3844 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3846 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3847 (elmo-folder-commit): Define.
3848 (elmo-folder-synchronize): Ditto.
3849 (elmo-folder-list-flagged): Ditto.
3850 (elmo-folder-commit): Ditto.
3851 (elmo-folder-length): Ditto.
3852 (elmo-folder-count-flags): Ditto.
3853 (elmo-message-mark): Ditto.
3854 (elmo-message-field): Ditto.
3855 (elmo-message-entity): Ditto.
3856 (elmo-message-folder): Ditto.
3858 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3860 * elmo.el (elmo-message-field): Define as a method.
3862 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3863 (elmo-message-field): Define.
3865 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3866 (elmo-folder-list-importants): Ditto.
3867 (elmo-folder-list-answereds): Ditto.
3869 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3871 (elmo-folder-mark-as-read): Ditto.
3872 (elmo-folder-unmark-read): Ditto.
3873 (elmo-folder-mark-as-answered): Ditto.
3874 (elmo-folder-unmark-answered): Ditto.
3875 (elmo-folder-list-flagged): Define.
3876 (elmo-folder-commit): Ditto.
3877 (elmo-folder-length): Ditto.
3878 (elmo-folder-count-flags): Ditto.
3880 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3882 * elmo.el (elmo-folder-detach-messages): New method.
3883 (elmo-folder-move-messages): Use it.
3884 (elmo-folder-synchronize): Ditto.
3886 * elmo-multi.el (elmo-folder-detach-messages): Define.
3888 * elmo.el (elmo-message-copy-entity): New function.
3889 (elmo-message-entity-set-number): Ditto.
3890 (elmo-message-mark): Define as method.
3892 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3893 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3894 (elmo-message-entity): Fixed last change.
3895 (elmo-message-mark): Define.
3896 (elmo-folder-msgdb-create): Abolish.
3897 (elmo-multi-folder-append-msgdb): Ditto.
3898 (elmo-multi-folder-diff): Fixed.
3899 (elmo-multi-split-number-alist): Removed.
3900 (elmo-multi-split-mark-alist): Removed.
3901 (elmo-folder-list-messages): Define.
3902 (elmo-folder-list-messages-internal): Removed.
3904 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3905 local file messages.
3906 (elmo-folder-msgdb-create): Fixed read mark.
3908 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3910 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3913 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3915 * elmo.el (elmo-folder-list-message-entities): Define as inline
3917 (elmo-folder-messages): Abolish.
3919 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3921 (elmo-folder-synchronize): Define.
3922 (elmo-message-entity): Define.
3924 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3926 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3927 elmo-imap4-session-select-mailbox.
3929 * elmo.el (elmo-folder-move-messages): Don't display any message.
3931 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3933 (elmo-imap4-session-check): Don't wait CHECK response.
3934 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3936 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3938 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3940 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3942 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3944 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3947 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3948 (elmo-folder-list-message-entities): Added argument in-msgdb and
3950 (elmo-folder-synchronize): Define as a method.
3952 * elmo-nntp.el (elmo-folder-initialize): Don't use
3953 elmo-nntp-default-user if zero-length username is specified
3956 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3958 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3959 server name in case with username.
3960 (XXX: this is ad-hoc fix against username includes "@", it
3961 should be solved fundamentally)
3963 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3965 * elmo-nntp.el (elmo-nntp-debug): New function.
3966 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3967 (elmo-network-authenticate-session): Hide auth-info from the log.
3969 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3970 user name if it is equal to elmo-nntp-default-user.
3972 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3974 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3975 instead of shimbun-server-internal;
3976 Use shimbun-current-group instead of shimbun-current-group-internal.
3977 (elmo-folder-plugged-p): Use shimbun-server instead of
3978 shimbun-server-internal.
3979 (elmo-folder-set-plugged): Ditto.
3980 (elmo-net-port-info): Ditto.
3981 (elmo-folder-check): Ditto.
3982 (elmo-folder-expand-msgdb-path): Ditto.
3983 (elmo-folder-list-subfolders): Ditto.
3985 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3987 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3988 Convert field-name to lower case.
3989 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3991 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3993 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3994 `message' and `error' take format string.
3996 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3998 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4000 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4002 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4003 recursive call (can't byte compile on emacs 20.7).
4005 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4007 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4008 (elmo-folder-list-message-entities): New API.
4009 (elmo-message-entity): Ditto.
4010 (elmo-message-entity-parent): Ditto.
4011 (elmo-folder-do-each-message-entity): Ditto.
4012 (elmo-message-entity-number): Ditto.
4013 (elmo-message-entity-field): Ditto.
4014 (elmo-message-entity-set-field): Ditto.
4015 (elmo-folder-count-flags): Ditto.
4016 (elmo-folder-length): Ditto.
4018 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4021 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4022 (elmo-msgdb-count-marks): Abolish.
4023 (elmo-msgdb-make-entity): Ditto.
4024 (elmo-msgdb-do-each-entity): Ditto.
4025 (elmo-msgdb-message-entity): New inline function.
4026 (elmo-msgdb-message-entity-field): Ditto.
4027 (elmo-msgdb-message-entity-set-field): Ditto.
4028 (elmo-msgdb-make-message-entity): New function.
4030 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4032 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4033 to flag. (All other related portions are changed.)
4034 (elmo-folder-msgdb-create): Likewise.
4035 (elmo-generic-folder-append-messages): Use flag-table instead of
4037 (elmo-folder-move-messages): Removed redundant process.
4038 (elmo-folder-synchronize): Likewise.
4040 * elmo-msgdb.el (elmo-flag-table-get): New function.
4041 (elmo-flag-table-save): Fixed.
4042 (elmo-msgdb-length): New inline function.
4043 (elmo-msgdb-flag-table): New function.
4044 (elmo-msgdb-mark): Add optional argument new.
4045 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4046 (elmo-msgdb-seen-list): Ditto.
4047 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4050 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4052 * elmo.el (elmo-message-set-mark): Abolish.
4053 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4054 (All related portions are changed.)
4056 * elmo-msgdb.el (toplevel): Added comment.
4057 (elmo-load-msgdb): Added 4th element `path'.
4058 (elmo-msgdb-append): Follow the change above.
4059 (elmo-msgdb-clear): Ditto.
4060 (elmo-msgdb-delete-msgs): Ditto.
4061 (elmo-msgdb-get-path): New inline function.
4062 (elmo-msgdb-set-path): Ditto.
4063 (elmo-flag-table-filename): New variable.
4064 (elmo-flag-table-load): New function.
4065 (elmo-flag-table-set): Ditto.
4066 (elmo-flag-table-save): Ditto.
4067 (elmo-msgdb-get-field-value): Abolish.
4068 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4070 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4072 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4073 the folder has been deleted successfully.
4074 * elmo-imap4.el (elmo-folder-delete): Ditto.
4075 * elmo-archive.el (elmo-folder-delete): Ditto.
4076 * elmo-localdir.el (elmo-folder-delete): Ditto.
4077 * elmo-maildir.el (elmo-folder-delete): Ditto.
4079 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4081 * elmo-util.el (elmo-string-member-ignore-case): New function.
4082 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4083 (elmo-imap4-fetch-callback-1-subr): Likewise.
4085 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4087 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4088 the case of the name attribute "\Noselect".
4090 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4092 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4094 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4095 flist, is not always a member of onum-alist.
4097 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4099 * elmo-version.el (elmo-version): Up to 2.11.3.
4101 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4103 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4104 copied from localdir's one.
4106 * elmo-pipe.el (elmo-folder-rename): New method, rename
4107 destination folder with leaving source folder as it is.
4109 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4111 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4114 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4116 * elmo-version.el (elmo-version): Up to 2.11.2.
4118 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4120 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4121 shimbun-open in case of "@".
4122 (elmo-folder-open-internal): Cope with shimbun = nil case.
4123 (elmo-folder-plugged-p): Ditto.
4124 (elmo-folder-list-subfolders): Make list for "@/" group.
4126 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4128 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4129 mailbox (e.g. for %~/something).
4131 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4133 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4134 Replace nested conditional with guard clauses.
4136 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4138 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4141 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4144 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4146 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4147 Replace nested conditional with guard clauses.
4149 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4151 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4152 (elmo-passwd-alist-save): Ditto.
4153 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4155 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4157 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4158 dir-name only if it is absolute path.
4159 (TODO: distinguish +/something and +something)
4161 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4163 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4164 path for "+~/something".
4166 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4168 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4169 as non-directory, cause error before rename-file.
4170 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4171 apropriately, mimic localdir's one.
4172 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4174 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4176 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4178 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4180 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4182 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4184 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4185 is included in the global-mark or not.
4187 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4189 * utf7.el (toplevel): Avoid error when the function
4190 find-coding-system does not exist.
4192 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4194 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4195 cache even if the folder is plugged.
4196 (elmo-nntp-search-primitive): Do nothing when body search is
4197 invoked (although it is not used by the change above).
4198 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4200 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4202 * elmo-version.el (elmo-version): Up to 2.11.1.
4204 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4206 * elmo-archive.el: Specify charset.
4208 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4210 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4211 process buffer lives or not.
4213 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4214 while flushing queues (It causes infinite loop).
4216 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4218 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4220 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4222 * utf7.el (toplevel): Check the ucs features dynamically.
4223 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4225 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4226 folder is creatabe or not if it already exists.
4228 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4230 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4232 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4234 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4235 (elmo-imap4-read-response): Take care of garbage response.
4237 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4239 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4240 just return nil instead of error.
4242 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4244 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4245 search-key is "body".
4247 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4249 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4250 of elmo-string-matched-assoc to use match-data.
4251 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4253 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4255 * elmo-split.el (elmo-split->): New function.
4256 (elmo-split-<): Ditto.
4258 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4260 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4261 workaround for invalid message-id.
4263 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4265 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4266 return normal pop3 session or pop3 biff session.
4268 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4270 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4271 info part to the cur files when the new files already have it.
4272 (Adviced by Jared Rhine <jared@wordzoo.com>)
4274 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4276 * elmo-split.el (elmo-split-default-action): New variable.
4277 (elmo-split-subr): Use it if all other conditions are passed.
4278 Extend `fname' and rename it as `action'. (implemented
4279 Teranishi-san's idea in [wl:10800])
4281 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4283 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4284 * elmo-util.el: Ditto.
4286 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4288 * elmo.el (elmo-message-accessible-p): Renamed from
4289 elmo-message-cached-p and rewritten.
4291 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4293 * elmo.el (elmo-folder-list-flagged): New generic function.
4294 (elmo-folder-list-importants): New implementation.
4295 (elmo-folder-list-answereds): Ditto.
4296 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4298 (elmo-message-cached-p): New function.
4299 (elmo-message-set-flag): Ditto (no content).
4300 (elmo-message-unset-flag): Ditto.
4301 (elmo-folder-list-messages-mark-match): Abolish.
4303 * elmo-util.el (elmo-regexp-opt): New function.
4305 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4306 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4308 (elmo-msgdb-list-flagged): New function.
4310 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4311 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4314 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4316 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4318 * elmo-version.el (elmo-version): Up to 2.11.0.
4320 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4322 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4323 `elmo-file-cache-exists-p'; use proper mark that depends on
4325 (elmo-msgdb-unset-flag): Ditto.
4326 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4328 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4329 with 4th argument `use-cache'.
4331 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4333 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4334 (elmo-folder-mark-as-important): Ditto.
4335 (elmo-folder-unmark-read): Ditto.
4336 (elmo-folder-mark-as-read): Ditto.
4337 (elmo-folder-unmark-answered): Ditto.
4338 (elmo-folder-mark-as-answered): Ditto.
4340 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4342 (elmo-msgdb-mark): Likewise.
4343 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4344 (elmo-msgdb-unset-flag): Likewise.
4346 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4348 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4350 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4353 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4355 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4356 set spool-length to 0.
4358 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4360 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4361 (elmo-dop-queue-flush): Fixed last change.
4363 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4365 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4366 if require-msgdb slot is nil.
4367 (elmo-folder-list-importants): Likewise.
4369 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4371 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4374 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4375 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4378 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4380 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4382 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4384 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4386 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4388 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4390 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4391 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4393 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4395 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4396 the problem reported by Sean Rima [wl-en:180].
4398 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4400 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4402 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4404 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4406 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4408 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4410 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4412 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4414 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4416 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4419 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4421 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4422 (elmo-folder-mark-as-read): Follow the API change.
4423 (elmo-message-set-cached): New function.
4425 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4427 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4429 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4430 (elmo-folder-mark-as-important): Ditto.
4431 (elmo-folder-unmark-read): Ditto.
4432 (elmo-folder-mark-as-read): Ditto.
4433 (elmo-folder-unmark-answered): Ditto.
4434 (elmo-folder-mark-as-answered): Ditto.
4436 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4437 (elmo-folder-unmark-important): Ditto.
4438 (elmo-folder-mark-as-read): Ditto.
4439 (elmo-folder-unmark-read): Ditto.
4440 (elmo-folder-mark-as-answered): Ditto.
4441 (elmo-folder-unmark-answered): Ditto.
4443 * elmo-mark.el (toplevel): Removed some mark method definitions.
4445 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4446 (elmo-map-folder-mark-as-answered): Ditto.
4447 (elmo-folder-unmark-important): Add :before qualifier.
4448 (elmo-folder-mark-as-important): Ditto.
4449 (elmo-folder-unmark-read): Ditto.
4450 (elmo-folder-mark-as-read): Ditto.
4451 (elmo-folder-unmark-answered): Define.
4452 (elmo-folder-mark-as-answered): Ditto.
4454 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4455 (elmo-map-folder-unmark-answered): Ditto.
4457 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4459 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4460 (elmo-folder-mark-as-important): Ditto.
4461 (elmo-folder-unmark-read): Ditto.
4462 (elmo-folder-mark-as-read): Ditto.
4463 (elmo-folder-unmark-answered): Ditto.
4464 (elmo-folder-mark-as-answered): Ditto.
4466 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4467 `mark'; evaluate mark condition.
4468 (elmo-msgdb-match-condition-internal): New function.
4469 (elmo-msgdb-match-condition): Call it; changed argument.
4471 * elmo.el (elmo-folder-search): Follow the API change on
4472 `elmo-msgdb-match-condition'.
4474 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4476 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4477 original mark is non-nil.
4479 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4481 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4482 (elmo-map-folder-list-answereds): New method.
4483 (elmo-folder-list-unreads): Add :around qualifier.
4484 (elmo-folder-list-importants): Ditto.
4485 (elmo-folder-list-answereds): Ditto.
4487 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4489 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4491 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4492 method if msgdb is not required.
4493 (elmo-filter-folder-list-importants): Don't treat global-mark.
4495 * elmo.el (elmo-folder-list-importants): Ditto.
4497 * elmo-net.el (elmo-folder-list-importants): Ditto.
4499 * elmo-map.el (elmo-folder-list-importants): Ditto.
4501 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4503 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4504 (elmo-imap4-folder-list-any-plugged): New function.
4505 (elmo-imap4-search-internal-primitive): Use it.
4507 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4508 only when require-msgdb slot is non-nil.
4509 (elmo-folder-close): Clear target folder's msgdb.
4511 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4513 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4514 (elmo-pop3-msgdb-create-by-header): Ditto.
4515 (elmo-pop3-msgdb-create-message): Ditto.
4517 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4519 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4521 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4523 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4524 (elmo-folder-msgdb-create): Ditto.
4525 (elmo-nntp-folder-msgdb-create): Ditto.
4526 (elmo-nntp-msgdb-create-by-header): Ditto.
4527 (elmo-nntp-msgdb-create-message): Ditto.
4528 (elmo-folder-list-unreads): Define.
4530 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4531 (elmo-folder-append-messages): Ditto.
4532 (elmo-folder-list-unreads): Define.
4533 (elmo-folder-list-importants): Ditto.
4534 (elmo-folder-list-answereds): Ditto.
4536 * elmo-net.el (elmo-folder-list-unreads): Define.
4537 (elmo-folder-list-importants): Ditto.
4538 (elmo-folder-list-answereds): Ditto.
4539 (elmo-folder-list-answereds-plugged): Ditto.
4540 (elmo-folder-msgdb-create): Follow the API change.
4541 (elmo-folder-msgdb-create-unplugged): Ditto.
4542 (elmo-folder-unmark-answered): Define.
4543 (elmo-folder-mark-as-answered-unplugged): Ditto.
4544 (elmo-folder-unmark-answered-unplugged): Ditto.
4546 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4547 (elmo-msgdb-unread-uncached-mark): Ditto.
4548 (elmo-msgdb-unread-cached-mark): Ditto.
4549 (elmo-msgdb-read-uncached-mark): Ditto.
4550 (elmo-msgdb-answered-cached-mark): Ditto.
4551 (elmo-msgdb-answered-uncached-mark): Ditto.
4552 (elmo-msgdb-important-mark): Ditto.
4553 (elmo-msgdb-set-mark): Rewrite.
4554 (elmo-msgdb-count-marks): Rewrite.
4555 (elmo-msgdb-mark-alist-set): Abolish.
4556 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4557 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4559 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4560 (elmo-folder-close): Define.
4561 (elmo-folder-msgdb-create): Follow the API change.
4562 (elmo-folder-list-unreads): Rewrite.
4563 (elmo-folder-mark-as-important): Ditto.
4564 (elmo-folder-unmark-important): Ditto.
4565 (elmo-folder-mark-as-read): Ditto.
4566 (elmo-folder-unmark-read): Ditto.
4567 (elmo-folder-mark-as-answered): Define.
4568 (elmo-folder-unmark-answered): Ditto.
4570 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4571 (elmo-folder-append-messages): Ditto.
4573 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4575 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4576 (elmo-folder-list-importants): Ditto.
4578 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4579 (elmo-folder-append-messages): Ditto.
4581 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4583 (elmo-folder-msgdb-create-plugged): Ditto.
4584 (elmo-folder-append-messages): Ditto.
4585 (elmo-folder-list-answereds-plugged): Define.
4586 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4587 (elmo-folder-unmark-answered-plugged): Define.
4588 (elmo-folder-mark-as-answered-plugged): Ditto.
4589 (elmo-folder-search-requires-msgdb-p): Ditto.
4591 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4592 (elmo-folder-initialize): Set it.
4593 (elmo-folder-msgdb): Define.
4594 (elmo-folder-check): Call elmo-folder-synchronize.
4595 (elmo-folder-close): Define.
4596 (elmo-folder-commit): Ditto.
4597 (elmo-folder-msgdb-create): Rewrite.
4598 (elmo-folder-list-unreads): Ditto.
4599 (elmo-folder-list-importants): Ditto.
4600 (elmo-folder-mark-as-read): Ditto.
4601 (elmo-folder-unmark-read): Ditto.
4602 (elmo-folder-mark-as-important): Ditto.
4603 (elmo-folder-unmark-important): Ditto.
4604 (elmo-folder-mark-as-answered): Define.
4605 (elmo-folder-unmark-answered): Ditto.
4607 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4608 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4609 (elmo-dop-queue-method-name-alist): Likewise.
4610 (elmo-folder-mark-as-answered-dop): New inline function.
4611 (elmo-folder-unmark-answered-dop): Ditto.
4612 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4614 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4615 (elmo-folder-msgdb-create): Ditto.
4616 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4617 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4618 (elmo-archive-parse-mmdf): Ditto.
4620 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4621 (elmo-folder-list-unreads-internal): Ditto.
4623 * elmo.el (elmo-folder-msgdb): Define as generic function.
4624 (elmo-folder-list-messages): Added argument `in-msgdb'.
4625 (elmo-folder-list-unreads): Define as generic function.
4626 (elmo-folder-list-importants): Ditto.
4627 (elmo-folder-list-answereds): Ditto.
4628 (elmo-folder-list-messages-with-global-mark): New function.
4629 (elmo-folder-msgdb-create): Removed mark arguments.
4630 (elmo-folder-unmark-answered): New generic function.
4631 (elmo-folder-mark-as-answered): Ditto.
4632 (elmo-folder-append-messages): Removed argunment `unread-marks'
4633 (elmo-folder-list-unreads-internal): Abolish.
4634 (elmo-folder-list-importants-internal): Ditto.
4635 (elmo-folder-search-requires-msgdb-p): New generic function.
4636 (elmo-folder-search-requires-msgdb-p-internal): New function.
4637 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4639 (elmo-folder-search-fast): Added key 'mark'.
4640 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4641 instead of unread-marks argument.
4642 (elmo-folder-move-messages): Removed argunment `unread-marks'
4643 (elmo-folder-unmark-important): Define.
4644 (elmo-folder-mark-as-important): Ditto.
4645 (elmo-folder-unmark-read): Ditto.
4646 (elmo-folder-mark-as-read): Ditto.
4647 (elmo-folder-unmark-answered): Ditto.
4648 (elmo-folder-mark-as-answered): Ditto.
4649 (elmo-folder-replace-marks): Abolish.
4650 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4652 (elmo-folder-synchronize): Removed mark arguments;
4653 return crosspost only number.
4655 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4657 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4658 Remove redundunt connectivity check.
4660 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4662 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4663 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4665 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4667 * pldap.el (ldap-decode-string): Return string as-is if
4668 `ldap-coding-system' is nil.
4669 (ldap-encode-string): Ditto.
4670 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4671 (ldap-default-host): Fixed docstring.
4673 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4675 * elmo-util.el (elmo-warning): Define as a macro which uses
4676 `display-warning' if it is defined as a function.
4678 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4679 (elmo-split-equal): Use it.
4680 (elmo-split-match): Ditto.
4681 (elmo-split-message-entity): New buffer-local variable.
4682 (elmo-split-subr): Set it.
4684 * elmo-version.el (elmo-version): Up to 2.9.15.
4686 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4688 * elmo-imap4.el (elmo-network-initialize-session):
4689 Check capability after starttls.
4691 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4693 * elmo-util.el (elmo-list-delete): Added optional argument
4696 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4698 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4700 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4702 * elmo-imap4.el (elmo-folder-initialize): Don't use
4703 elmo-imap4-default-mailbox.
4705 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4707 * elmo-split.el (toplevel): Use `product-provide'.
4708 (elmo-split): Checkdoc.
4710 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4712 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4713 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4714 the function `elmo-imap4-debug-1'.
4716 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4718 * elmo-split.el (elmo-split): Moved to run hooks and to show
4719 message from elmo-split-subr.
4720 (elmo-split-subr): Follow the change above.
4722 * elmo-split.el (elmo-split-subr): New function (renamed from
4724 (elmo-split): Changed to call elmo-split-subr by element of
4726 (elmo-split-folder): Changed customization type to choice.
4728 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4730 * elmo-split.el (elmo-split-and): Fixed condition.
4732 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4734 * elmo-split.el: New file.
4735 (elmo-split): Fixed logic.
4736 Display "Test:" instead of "Folder:" when reharsal.
4738 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4741 * elmo-version.el (elmo-version): Up to 2.9.14.
4743 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4746 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4748 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4749 message with no message-id field.
4751 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4753 * elmo-version.el (elmo-version): Up to 2.9.13.
4755 * elmo-dop.el (elmo-folder-status-dop): Fix.
4757 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4759 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4761 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4762 changing default value of default-mime-charset.
4763 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4765 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4767 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4768 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4769 instead of elmo-dop-queue-method-name-alist to check merging queue.
4770 (elmo-folder-delete-messages-dop): Delete from queue if negative
4772 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4773 file is already removed.
4775 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4777 * elmo-vars.el: Bind colon keywords for old Emacsen.
4779 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4781 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4782 against non-exsisting charset.
4784 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4786 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4787 Use eword-decode-and-unfold-unstructured-field-body.
4789 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4790 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4791 exists to decode raw subject string.
4792 (toplevel): Require 'mime.
4794 * elmo-version.el (elmo-version): Up to 2.9.12.
4796 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4798 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4799 (elmo-msgdb-set-mark): Ditto.
4801 * elmo-version.el (elmo-version): Up to 2.9.11.
4803 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4805 * elmo-util.el (elmo-delete-match-files): New function.
4807 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4808 instead of elmo-delete-directory.
4810 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4811 elmo-hash-minimun-size as 63.
4813 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4814 elmo-diff-unread is nil.
4816 * elmo-imap4.el (elmo-folder-open): Fix.
4818 * elmo.el (elmo-message-mark): Rewrite.
4819 (elmo-message-field): Ditto.
4820 (elmo-message-set-mark): Ditto.
4821 (elmo-folder-replace-marks): New function.
4822 (elmo-generic-folder-append-msgdb): Removed third argument for
4824 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4825 (elmo-msgdb-load): New implementation.
4827 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4829 * elmo-util.el (elmo-list-insert): New implementation.
4831 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4832 argument for elmo-msgdb-append.
4835 * elmo-msgdb.el (elmo-load-msgdb): New function.
4836 (elmo-make-msgdb): Ditto.
4837 (elmo-msgdb-get-index): New inline function.
4838 (elmo-msgdb-set-index): Ditto.
4839 (elmo-msgdb-get-entity-hashtb): Ditto.
4840 (elmo-msgdb-get-mark-hashtb): Ditto.
4841 (elmo-msgdb-get-mark): Ditto.
4842 (elmo-msgdb-set-mark): Ditto.
4843 (elmo-msgdb-count-marks): Ditto.
4844 (elmo-msgdb-get-number): Ditto.
4845 (elmo-msgdb-get-field): Ditto.
4846 (elmo-msgdb-seen-list): Ditto.
4847 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4848 (elmo-msgdb-delete-msgs): Follow the changes above.
4849 (elmo-msgdb-overview-get-entity): Ditto.
4850 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4851 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4853 (elmo-msgdb-make-index): Likewise.
4854 (elmo-msgdb-append): Removed third argument.
4855 (elmo-msgdb-clear): Clear index as nil.
4856 (elmo-folder-set-info-hashtb): Removed.
4857 (elmo-folder-set-info-max-by-numdb): Ditto.
4858 (elmo-folder-info-make-hashtb): Ditto.
4860 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4862 * elmo-map.el (elmo-folder-pack-number): Ditto.
4864 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4866 * elmo-version.el (elmo-version): Up to 2.9.10.
4868 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4870 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4872 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4874 * elmo-utils.el (elmo-make-directory): Add option.
4875 Default file mode is 700.
4877 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4879 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4881 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4883 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4886 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4889 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4891 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4892 (elmo-shimbun-folder-entity-hash): New function.
4893 (elmo-shimbun-folder-shimbun-header): Ditto.
4894 (elmo-shimbun-entity-to-header): Ditto.
4895 (elmo-shimbun-msgdb-to-headers): Removed.
4896 (elmo-shimbun-folder-setup): Ditto.
4897 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4899 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4900 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4901 Removed useless local bind.
4902 (elmo-folder-open-internal): Don't call
4903 `elmo-shimbun-folder-setup'.
4904 (elmo-folder-close-internal): Clear entity-hash slot.
4905 (elmo-folder-clear): Ditto.
4906 (elmo-shimbun-msgdb-create-entity): Use
4907 `elmo-shimbun-folder-shimbun-header'.
4908 (elmo-map-message-fetch): Ditto.
4909 (elmo-shimbun-update-overview): Use overview entity instead of
4910 shimbun header to lookup id by references.
4911 (elmo-map-folder-list-message-locations): Use not only headers but
4912 also overviews to list locations.
4914 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4916 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4919 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4921 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4923 * elmo-util.el (elmo-read-search-condition-internal): Give default
4926 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4928 * elmo-util.el (elmo-condition-parse-search-value): Accept
4929 YYYY-MM-DD format to search.
4930 * elmo-date.el (elmo-date-get-datevec): Likewise.
4932 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4934 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4937 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4939 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4942 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4944 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4945 case from `elmo-folder-exists-p'.
4946 (elmo-folder-exists-p): Removed.
4947 (elmo-folder-creatable-p) Ditto.
4949 * elmo-net.el (elmo-folder-create): Defined.
4950 (elmo-folder-create-unplugged): New function.
4951 (elmo-folder-exists-p): Changed default value to nil from t.
4953 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4954 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4956 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4957 `elmo-create-folder-dop' and append queue
4958 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4959 (elmo-folder-create-dop-delayed): New function.
4961 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4963 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4965 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4966 (elmo-folder-writable-p) : Ditto.
4968 * elmo-version.el (elmo-version): Up to 2.9.9.
4970 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4972 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4973 `elmo-message-use-cache-p' returns nil.
4974 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4975 (ignore cache file and refer the substance in local folders)
4977 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4979 * elmo-version.el (elmo-version): Up to 2.9.8.
4981 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4983 * elmo-version.el (elmo-version): Up to 2.9.7.
4985 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4987 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4989 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4991 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4993 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4995 (elmo-map-folder-list-message-locations): Reverse location list.
4997 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4999 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5001 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5003 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5005 (elmo-nntp-folder-list-subfolders): Follow the change above.
5007 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5009 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5010 name if authentication type is specified.
5012 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5014 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5016 (elmo-default-nntp-stream-type): Ditto.
5017 (elmo-default-pop3-stream-type): Ditto.
5019 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5021 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5023 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5025 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5027 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5029 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5030 (elmo-maildir-folder-path): Ditto.
5031 (elmo-maildir-list): Ditto (abolished).
5033 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5035 * elmo-version.el (elmo-version): Up to 2.9.6.
5037 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5039 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5040 (elmo-maildir-folder-path): Ditto.
5041 (elmo-msgdb-directory): Ditto.
5042 (elmo-passwd-life-time): Ditto.
5043 (elmo-msgdb-extra-fields): Ditto.
5044 (elmo-enable-disconnected-operation): Ditto.
5046 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5048 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5050 (elmo-pop3-default-authenticate-type): Ditto.
5052 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5054 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5056 (elmo-pop3-default-authenticate-type): Ditto.
5058 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5060 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5061 mailbox to new-folder.
5063 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5065 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5066 less than new, set new as unread.
5068 * elmo-util.el (elmo-string): Don't put text-property if nil.
5070 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5072 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5073 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5075 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5077 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5078 is nil on `completing-read'.
5080 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5082 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5084 (elmo-imap4-parse-namespace-subr): Ditto.
5085 (elmo-folder-list-subfolders): Append a delimiter when the specified
5086 folder path is a root with namespace and does not end with delimiter.
5088 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5090 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5093 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5095 * elmo-util.el (elmo-save-buffer): The first argument of message
5096 is a format control string.
5098 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5100 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5101 `elmo-folder-diff').
5102 (elmo-diff-unread): Likewise.
5104 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5106 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5107 is t on `completing-read'.
5109 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5111 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5112 method of target folder with self mark-alist if MARK-ALIST is nil.
5114 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5116 * elmo-version.el (elmo-version): Up to 2.9.5.
5118 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5120 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5121 (elmo-dop-merge-funcs): Remove.
5123 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5125 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5126 Return t if PATH is directory, too.
5127 Use `dolist' instead of while loop.
5129 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5131 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5134 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5136 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5138 (elmo-folder-list-messages-unplugged): Return t if
5139 elmo-enable-disconnected-operation is nil.
5141 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5142 `elmo-folder-list-messages-internal'.
5144 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5146 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5147 Change to looking-at `[23][0-9]+'.
5148 (elmo-network-initialize-session): Use 'error-msg'
5149 * elmo-net.el (elmo-network-open-session): Set unplugged
5150 if elmo-network-initialize-session returns 'elmo-open-err.
5152 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5154 * elmo-version.el (elmo-version): Up to 2.9.4.
5156 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5158 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5159 `elmo-folder-list-messages-internal'.
5161 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5163 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5164 (elmo-message-match-condition): New method.
5165 (elmo-folder-search-fast): New inline function.
5166 (elmo-msgdb-search): Removed.
5168 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5169 target folder if it is unplugged.
5170 (elmo-folder-list-messages-internal): Return t if target folder is
5171 unplugged and itself is persistent; In this case, use list be
5174 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5175 (elmo-msgdb-search-internal-primitive): Ditto.
5176 (elmo-msgdb-match-condition): New function.
5177 (elmo-msgdb-match-condition-primitive): Ditto.
5179 * elmo-util.el (elmo-filter-condition-p): New macro.
5181 * elmo-cache.el (elmo-folder-search): Removed.
5183 * elmo-localdir.el (elmo-folder-search): Ditto.
5185 * elmo-maildir.el (elmo-folder-search): Ditto.
5187 * elmo-mark.el (elmo-folder-search): Ditto.
5189 * elmo-nmz.el (elmo-folder-search): Ditto.
5191 * elmo-sendlog.el (elmo-folder-search): Ditto.
5193 * elmo-shimbun.el (elmo-folder-search): Ditto.
5195 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5196 if folder is unplugged.
5198 * elmo-nntp.el (elmo-folder-search): Likewise.
5199 (elmo-nntp-search-internal): New function.
5201 * elmo-version.el (elmo-version): Up to 2.9.3.
5203 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5205 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5207 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5209 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5211 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5213 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5215 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5217 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5218 (elmo-map-folder-list-message-locations): Do drive letter conversion
5219 on Windows environment.
5220 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5221 (elmo-map-message-fetch): Ditto.
5223 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5225 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5226 (elmo-network-initialize-session): Ditto.
5228 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5230 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5232 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5234 * elmo-util.el (elmo-progress-clear): Ditto.
5236 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5237 `DD-Mon-YYYY' type date.
5239 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5241 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5242 `elmo-date-make-sortable-string' instead of
5243 `timezone-make-date-sortable'.
5245 * elmo-date.el (elmo-date-make-sortable-string): Use
5246 `timezone-make-time-string'.
5248 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5250 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5252 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5253 `since'; Fix timezone.
5255 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5257 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5259 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5261 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5263 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5265 * elmo.el (elmo-generic-folder-append-messages): Make
5266 fetch-strategy with `use-cache' as 'maybe. Check return value of
5267 `elmo-message-fetch'.
5268 (elmo-message-fetch): Return return value of
5269 `elmo-message-fetch-with-cache-process'.
5270 (elmo-message-fetch-with-cache-process): Return non-nil if
5271 fetching was succeed. Load cache when fetching was failed and
5272 fetch-strategy-use-cache is 'maybe.
5274 * elmo-util.el (elmo-file-cache-load): New function.
5276 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5279 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5280 non-nil if fetching was succeed.
5282 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5284 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5286 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5287 (elmo-message-fetch-with-cache-process): Likwise.
5289 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5291 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5293 * elmo-version.el (elmo-version): Up to 2.9.2.
5295 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5297 * elmo.el (elmo-folder-delete): Delete msgdb path.
5299 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5301 * elmo-maildir.el (elmo-folder-delete): Ditto.
5303 * elmo-localdir.el (elmo-folder-delete): Ditto.
5305 * elmo-imap4.el (elmo-folder-delete): Ditto.
5307 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5309 * elmo.el (luna-define-class): Added `biff' slot.
5311 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5312 (elmo-pop3-debug-inhibit-logging): Abolished.
5313 (elmo-network-close-session): Eliminated needless let.
5314 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5315 (elmo-pop3-send-command): Added `no-log' argument.
5316 (elmo-pop3-process-filter): Use `with-current-buffer'.
5317 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5319 (elmo-pop3-auth-apop): Likewise.
5320 (elmo-network-authenticate-session): Likewise.
5322 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5325 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5326 string to determine protocol.
5327 (elmo-network-session-name-prefix): Abolished.
5328 (elmo-network-session-cache-key): Follow the change above.
5329 (elmo-network-open-session): Ditto.
5331 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5332 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5334 * elmo-version.el (elmo-version): Up to 2.9.1.
5336 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5337 unmatch condition checking.
5339 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5342 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5344 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5346 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5348 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5349 test for while loop to execute at least one SEARCH command.
5351 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5353 * elmo-version.el (elmo-version): Up to 2.9.0.
5355 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5357 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5358 (elmo-archive-folder-path): Define.
5359 (elmo-folder-initialize): Setup `dir-name' slot.
5360 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5361 Use `dir-name' as prefix of each subfolders.
5362 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5364 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5366 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5367 (elmo-pipe-folder-list-target-messages): New internal function.
5368 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5370 (elmo-pipe-folder-copied-list-load): New function.
5371 (elmo-pipe-folder-copied-list-save): Ditto.
5372 (elmo-folder-open-internal): Follow the change above.
5373 (elmo-folder-status): Fixed for copy.
5375 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5377 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5379 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5381 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5382 elmo-copy-file instead of elmo-add-name-to-file.
5384 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5386 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5389 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5390 of accept-process-output as 1.
5391 (elmo-pop3-read-contents): Ditto.
5392 (elmo-pop3-read-body): Ditto.
5394 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5396 * elmo-version.el (product-version-as-string): Remove define.
5398 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5400 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5401 (elmo-imap4-copy-messages): Chop number set using
5402 `elmo-imap4-number-set-chop-length'.
5403 (elmo-imap4-set-flag): Ditto.
5404 (elmo-imap4-search-internal-primitive): Ditto.
5406 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5408 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5409 `elmo-folder-make-temp-dir'
5411 * elmo-vars.el (elmo-cache-directory): New variable.
5412 (elmo-cache-dir): Abolished.
5413 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5415 * elmo-version.el (elmo-version): Up to 2.7.7.
5417 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5419 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5420 defcustom; Set default value as t.
5422 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5424 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5425 (ldap-search-program-arguments): Changed default value.
5426 (ldap-search-basic): Accept exit status 4.
5427 (ldap/field-body): Parse options.
5428 (ldap/collect-field): Ditto.
5429 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5431 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5432 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5433 (elmo-imap4-accept-ok): Ditto.
5434 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5435 'notify-bye, only BYE error is reported.
5436 (elmo-folder-exists-p-plugged): Set no-error argument of
5437 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5439 * elmo.el (elmo-imap4-bye-error): Changed message.
5441 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5442 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5443 queues (It causes infinite loop).
5445 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5447 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5448 (RECENT UNSEEN MESSAGES) extension.
5450 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5452 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5453 Check number of overview fields.
5455 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5457 * elmo.el (elmo-folder-confirm-appends): Changed message.
5458 (elmo-folder-confirm-appends): Ditto.
5460 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5462 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5464 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5466 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5467 of elmo-folder-update-threshold is nil, which can be set by
5468 wl-summary-update-confirm-threshold.
5470 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5472 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5473 (elmo-nmz-index-alias-alist): Ditto.
5474 (elmo-map-folder-list-message-locations): Follow the change above.
5476 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5478 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5480 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5482 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5484 * elmo-util.el (elmo-read): Ditto.
5485 (elmo-display-error): Ditto.
5487 * elmo-vars.el (elmo-date-match): Ditto.
5489 * pldap.el (ldap-coding-system): Ditto.
5491 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5492 `elmo-inhibit-number-mapping' as nil.
5494 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5496 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5497 space delimiter for list response.
5499 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5501 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5503 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5505 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5506 (elmo-map-message-fetch): Fix.
5507 * elmo-map.el (elmo-folder-status): Fix for killed.
5509 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5511 * elmo-sendlog.el: New file.
5512 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5514 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5516 * acap.el (acap-logging-out): New buffer local variable.
5517 (acap-close): Set it.
5518 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5521 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5523 * acap.el (acap-response-bye-p): New function.
5524 (acap-response-bye-message): Ditto.
5525 (acap-wait-for-response): If bye response is received, cause an error.
5526 (acap-parse-response): Make bye response when 'Bye' is received.
5528 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5530 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5532 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5534 * elmo-util.el (elmo-copy-file): Added argument
5535 `ok-if-already-exists'.
5536 (elmo-copy-file): Fixed typo.
5538 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5540 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5542 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5544 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5546 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5548 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5551 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5553 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5554 (elmo-folder-initialize): Fix for `copy'.
5555 (elmo-pipe-drain): Ditto.
5556 (elmo-folder-open-internal): Ditto.
5557 (elmo-folder-newsgroups): Fix.
5559 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5561 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5564 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5565 recent value is returned from imap folder.
5567 * elmo.el (elmo-folder-newsgroups): New generic function.
5569 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5570 (elmo-folder-initialize): Set it.
5571 (elmo-folder-expand-msgdb-path): Use it.
5572 (elmo-folder-newsgroups): Define.
5574 * elmo-filter.el (elmo-folder-newsgroups): Define.
5576 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5578 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5580 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5582 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5584 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5586 (elmo-shimbun-header-extra-field): New inline function.
5587 (elmo-shimbun-header-set-extra-field): Ditto.
5588 (elmo-shimbun-folder-header-hash-setup): Ditto.
5589 (elmo-shimbun-update-overview): Ditto.
5590 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5591 (elmo-shimbun-folder-setup): Use
5592 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5593 (elmo-shimbun-get-headers): Ditto.
5594 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5595 Insert `X-Shimbun-Id:' header if extra field is set.
5596 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5597 field's value instead of `shimbun-header-id'.
5599 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5601 (elmo-msgdb-overview-entity-set-date): Ditto.
5602 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5604 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5606 * mmimap.el (mmimap-entity-section): Changed body node number from
5609 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5611 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5612 `elmo-folder-delete-messages'.
5614 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5615 (elmo-folder-initialize): Changed to expand alias into index path.
5617 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5618 `elmo-mime-insert-header-from-buffer' with 6th arg
5621 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5623 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5625 * elmo.el (elmo-diff-new): New inline function.
5626 (elmo-diff-unread): Ditto.
5627 (elmo-diff-all): Ditto.
5629 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5630 value from responseb.
5631 (elmo-imap4-folder-diff-plugged): Ditto.
5632 (elmo-imap4-server-diff-async): Added recent argument.
5633 (elmo-server-diff-async): Ditto.
5634 (elmo-imap4-folder-diff-plugged): Ditto.
5636 * elmo-version.el (elmo-version): Up to 2.7.6.
5638 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5640 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5643 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5645 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5647 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5649 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5651 * elmo-multi.el (elmo-folder-initialize): Ditto.
5653 * elmo-util.el (elmo-parse-token): New function.
5654 (elmo-parse-prefixed-element): Ditto.
5656 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5658 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5660 (elmo-imap4-accept-ok): Ditto.
5662 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5664 * mmimap.el (mime-imap-entity-header-string): Don't check first
5665 element of node-id is `0' (Follow last change).
5667 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5669 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5670 assigned irregular node-id to nested multipart section.
5671 (initialize-instance): Followed above change.
5673 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5675 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5676 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5677 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5678 `elmo-shimbun-get-headers');
5679 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5680 visible article on summary exists in headers).
5681 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5683 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5685 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5688 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5690 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5692 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5694 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5695 header separator into loop condition.
5697 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5699 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5700 Return duplicate folder if it has subfolder.
5702 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5704 * elmo.el (elmo-make-folder): Add folder name error check.
5706 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5707 (elmo-nntp-encode-group-string): New inline function.
5708 (elmo-nntp-decode-group-string): Ditto.
5709 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5710 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5711 Use `not' instead of `null';
5712 Use elmo-nntp-decode-group-string.
5714 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5716 * elmo-version.el (elmo-version): Up to 2.7.5.
5718 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5720 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5721 Hide progress gauge if `elmo-folder-move-messages' exits
5724 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5726 * elmo-imap4.el (elmo-folder-initialize): Use
5727 `elmo-imap4-encode-folder-string' for folder name.
5729 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5731 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5734 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5736 * elmo-util.el (elmo-progress-counter-alist): New internal
5738 (elmo-progress-counter-value): New macro.
5739 (elmo-progress-counter-all-value): Ditto.
5740 (elmo-progress-counter-format): Ditto.
5741 (elmo-progress-counter-set-value): Ditto.
5742 (elmo-progress-set): New function.
5743 (elmo-progress-clear): Ditto.
5744 (elmo-progress-notify): Ditto.
5746 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5749 * elmo.el (elmo-generic-folder-append-messages): Call
5750 `elmo-progress-notify'.
5751 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5753 * elmo-archive.el (elmo-folder-append-messages): Call
5754 `elmo-progress-notify'.
5756 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5758 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5760 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5762 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5764 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5766 (elmo-message-encache-dop): Added argument `read'.
5768 * elmo-shimbun.el (elmo-message-encache): Ditto.
5770 * elmo-net.el (elmo-message-encache): Ditto.
5772 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5773 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5774 elmo-imap4-seen-messages.
5775 (elmo-folder-msgdb-create-plugged): Initialize
5776 elmo-imap4-seen-messages;
5777 Set seen mark on elmo-imap4-seen-messages.
5779 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5781 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5782 elmo-folder-append-buffer.
5783 (elmo-folder-encache): Added optional argument `read'.
5784 (elmo-message-encache): Ditto.
5786 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5788 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5790 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5791 if append buffer content succeds.
5793 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5795 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5796 elmo-display-progress.
5798 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5799 Set 4th argument of mime-display-message.
5800 (elmo-mime-display-as-is): Ditto.
5802 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5804 * elmo-nmz.el (toplevel): Require 'mime-edit.
5805 (elmo-nmz-content-type-alist): Abolished.
5806 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5807 content is not a message.
5808 (elmo-map-message-fetch): Changed behavior exept for message content;
5809 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5810 content-type, Add From: and Subject: field.
5812 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5814 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5815 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5818 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5820 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5821 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5823 * elmo-archive.el (elmo-folder-writable-p): Defined.
5825 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5827 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5829 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5831 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5833 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5835 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5837 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5839 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5841 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5843 * elmo-util.el (elmo-address-quote-specials): New function;
5844 Renamed from `wl-address-quote-specials'.
5846 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5848 * elmo-version.el (elmo-version): Up to 2.7.4.
5850 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5852 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5854 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5856 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5857 both compile-time and run-time to avoid byte-compile warning.
5859 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5861 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5863 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5865 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5867 (elmo-mime-display-as-is-internal): Use it.
5869 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5870 if `read-passwd' is not defined.
5872 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5874 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5876 (elmo-folder-status): Call `elmo-folder-open-internal';
5877 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5878 (elmo-folder-close-internal): Set location-alist as nil.
5879 (elmo-folder-clear): Define.
5880 (elmo-folder-check): Don't set location-alist as nil.
5882 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5884 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5886 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5887 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5889 * mmimap.el (mime-imap-entity::requested): New slot.
5890 (mime-imap-location-fetch-entity-p): New generic function.
5891 (mime-decode-parameters): Define using `defun-maybe'.
5892 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5893 content-type structure.
5894 (mime-entity-body): Return empty body if
5895 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5897 * elmo.el (elmo-message-displaying): New variable.
5899 * elmo-mime.el (elmo-mime-message-display): Bind
5900 elmo-message-displaying as t.
5902 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5904 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5906 * acap.el (acap-open): erase buffer before starting network process.
5907 (acap-store): Rewrite.
5909 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5911 * elmo-imap4.el (elmo-imap4-default-mailbox,
5912 elmo-imap4-default-server
5913 elmo-imap4-default-authenticate-type,
5914 elmo-imap4-default-user,
5915 elmo-imap4-default-port,
5916 elmo-imap4-default-stream-type,
5917 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5919 * elmo-pop3.el (elmo-pop3-default-user,
5920 elmo-pop3-default-server,
5921 elmo-pop3-default-authenticate-type,
5922 elmo-pop3-default-port,
5923 elmo-pop3-default-stream-type,
5924 elmo-pop3-stream-type-alist): Ditto.
5926 * elmo-nntp.el (elmo-nntp-default-server,
5927 elmo-nntp-default-user,
5928 elmo-nntp-default-port,
5929 elmo-nntp-default-stream-type,
5930 elmo-nntp-stream-type-alist): Ditto.
5932 * elmo-vars.el: Follow changes above.
5933 (elmo-setting): New custom group; added 'elmo-setting group to
5936 * elmo-version.el (elmo-version): Up to 2.7.3.
5938 * acap.el (acap-parse-response): Don't delete process when BYE
5939 response (It causes hang-up on slow network environment).
5940 (toplevel): Added comment.
5942 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5944 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5946 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5948 (acap-parse-return-metadata): Ditto.
5951 (toplevel): Fixed typo.
5953 * acap.el: New file.
5954 (acap-network-stream-open): Show "Connecting..." message.
5955 (acap-parse-response): Fixed problem for BYE untagged response.
5956 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5957 (toplevel): Added tiny comments.
5959 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5961 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5962 space delimiter for uidl response.
5964 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5966 * elmo-vars.el (elmo-use-semi): Eliminated.
5968 * elmo-util.el (elmo-string-assoc-all): New function.
5970 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5972 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5973 property 'mime-preview-situation for `mime-preview-quit'.
5975 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5977 * elmo.el (elmo-message-fetch-with-cache-process): Call
5978 elmo-message-fetch-internal instead of causing an error when fetch
5979 strategy is 'entire but only 'section cache is available.
5981 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5983 * elmo-version.el (elmo-version): Up to 2.7.2.
5985 * elmo.el (elmo-generic-folder-append-messages): Make
5986 fetch-strategy with `use-cache'.
5988 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5989 (elmo-dop-queue-method-name): New macro.
5991 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5993 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5994 unbalanced parenthesis.
5996 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5998 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6000 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6002 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6003 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6005 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6007 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6010 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6012 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6013 (elmo-message-use-cache-p): Define.
6014 (elmo-folder-msgdb-create): Treat cache.
6016 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6018 * elmo-nntp.el (elmo-network-initialize-session): Call
6019 `elmo-nntp-send-mode-reader'.
6020 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6022 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6024 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6026 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6029 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6030 for `elmo-plugged-p'.
6031 (elmo-open-network-stream): Fixed stream-type argument.
6033 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6035 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6036 unknown archive type is specified.
6038 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6040 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6042 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6043 while loading msgdb.
6045 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6046 (elmo-folder-open-internal): Rewrite.
6048 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6050 * elmo-mime.el (elmo-mime-display-as-is-internal):
6051 Adjust buffer-multibyte status.
6053 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6055 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6056 of elmo-condition-find-key.
6058 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6059 (elmo-condition-in-msgdb-p): Ditto.
6060 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6063 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6065 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6067 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6069 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6070 label for elmo-display-progress.
6072 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6074 * elmo.el (elmo-folder-clear): New method.
6075 (elmo-folder-clear): Define.
6076 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6078 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6079 (elmo-folder-clear): Define.
6081 * elmo-map.el (elmo-folder-clear): Define.
6083 * elmo-version.el (elmo-version): Up to 2.7.1.
6085 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6087 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6090 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6092 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6093 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6095 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6097 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6099 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6102 * elmo-imap4.el (elmo-folder-initialize): Use
6103 elmo-get-network-stream-type.
6105 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6107 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6109 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6111 * elmo.el (elmo-message-encache): Set unread argument for
6114 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6116 * elmo.el (elmo-net-port-info): New method.
6118 * elmo-shimbun.el (elmo-net-port-info): Define.
6119 (elmo-message-encache): Ditto.
6121 * elmo-net.el (elmo-net-port-info): Define as method.
6123 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6124 unplugged status when elmo-enable-disconnected-operation is t.
6126 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6127 of spool folder before checking new number.
6129 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6131 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6132 (elmo-network-setup-session): Ditto.
6133 (elmo-message-fetch-plugged): Ditto.
6134 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6135 (elmo-network-initialize-session): Ditto.
6136 (elmo-pop3-read-response): Abolish 3rd argument.
6137 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6138 (elmo-pop3-read-contents): Ditto.
6139 (elmo-pop3-read-body): Ditto.
6140 (elmo-folder-status): Call elmo-folder-close.
6141 (elmo-pop3-lock): Abolish.
6142 (elmo-pop3-unlock): Ditto.
6143 (elmo-pop3-locked-p): Ditto.
6144 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6146 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6148 * elmo-version.el (elmo-version): Up to 2.7.0.
6150 * elmo-pop3.el (elmo-pop3-debug): New variable.
6151 (elmo-pop3-debug-inhibit-logging): Ditto.
6152 (elmo-pop3-debug): New function.
6153 (elmo-pop3-send-command): Call elmo-pop3-debug.
6154 (elmo-pop3-read-response): Added keep-lock optional argument;
6155 Don't unlock if keep-lock is non-nil.
6156 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6157 (elmo-network-authenticate-session): Bind
6158 elmo-pop3-debug-inhibit-logging as t.
6159 (elmo-network-setup-session): Call elmo-pop3-read-response with
6161 (elmo-pop3-read-msg): Ditto.
6162 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6163 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6164 (elmo-network-initialize-session): Call elmo-pop3-lock.
6165 (elmo-folder-close-internal): Don't clear location-alist slot.
6166 (elmo-folder-check): Clear location-alist slot.
6168 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6170 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6171 (elmo-pop3-send-command): Call elmo-pop3-lock.
6172 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6173 (elmo-pop3-read-contents): Ditto.
6174 (elmo-pop3-lock): New function.
6175 (elmo-pop3-unlock): Ditto.
6176 (elmo-pop3-locked-p): Ditto.
6177 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6180 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6182 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6184 * elmo-util.el (elmo-file-field-primitive-condition-match):
6185 New inline function (Don't fetch file content if "first" or "last").
6186 (elmo-file-field-condition-match): Use
6187 elmo-file-field-primitive-condition-match.
6189 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6192 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6193 (elmo-message-fetch-plugged): Fixed.
6195 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6197 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6199 * elmo.el (elmo-folder-move-messages): Bind
6200 elmo-inhibit-display-retrieval-progress as t while moving messages.
6202 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6204 (elmo-inhibit-display-retrieval-progress): Ditto.
6206 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6207 for retrieval progress;
6208 Don't display progress when total buffer size is smaller than
6209 elmo-display-retrieval-progress-threshold.
6210 (elmo-message-fetch-plugged): Don't display progress when
6211 elmo-inhibit-display-retrieval-progress is non-nil.
6213 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6214 for retrieval progress;
6215 Don't display progress when literal size is smaller than
6216 elmo-display-retrieval-progress-threshold.
6217 (elmo-imap4-message-fetch): Don't display progress when
6218 elmo-inhibit-display-retrieval-progress is non-nil.
6220 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6222 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6223 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6224 (elmo-imap4-message-fetch): Likewise.
6226 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6227 (elmo-shimbun-index-range-alist): Ditto.
6228 (elmo-shimbun-use-entire-index): Abolish.
6229 (shimbun-mua-use-entire-index): Ditto.
6230 (elmo-shimbun-folder): Added new slot `range'.
6231 (elmo-folder-initialize): Setup slot `range'.
6233 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6235 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6236 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6237 (elmo-shimbun-get-headers): Use return value of
6238 `shimbun-article-expiration-days'.
6239 (elmo-folder-close-internal): Clean up last-check slot.
6241 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6242 (elmo-pop3-total-size): New variable.
6243 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6245 * elmo.el (elmo-folder-reserve-status-p): New method.
6247 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6248 (elmo-shimbun-use-entire-index): New user option.
6249 (shimbun-elmo-mua): New class.
6250 (shimbun-mua-search-id): Define.
6251 (shimbun-mua-use-entire-index): Ditto.
6252 (elmo-shimbun-folder:last-check): New slot.
6253 (elmo-shimbun-headers-cache-header-list): Abolish.
6254 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6255 (elmo-shimbun-headers-cache-header-hash): Ditto.
6256 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6257 (elmo-shimbun-headers-cache-last-check): Ditto.
6258 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6259 (elmo-shimbun-headers-check-p): Rewrite.
6260 (elmo-shimbun-msgdb-to-headers): New function.
6261 (elmo-shimbun-get-headers): Rewrite.
6262 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6263 (elmo-folder-open-internal): Get headers only if
6264 `elmo-shimbun-headers-check-p' is non-nil.
6265 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6267 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6268 (elmo-quit): Removed.
6270 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6272 (elmo-msgdb-overview-entity-set-extra): Ditto.
6273 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6275 * elmo-map.el (elmo-folder-status): Don't call
6276 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6279 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6281 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6282 of `elmo-msgdb-search-internal-primitive' when condition's car is
6285 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6287 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6289 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6291 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6292 call `elmo-pipe-drain'.
6294 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6296 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6297 typo. (elmo-cache-folder -> elmo-mark-folder)
6299 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6301 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6302 `elmo-message-fetch'.
6304 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6306 * elmo-net.el (elmo-message-encache): Fixed typo.
6307 (elmo-message-fetch-unplugged): Changed call
6308 `elmo-message-fetch-internal' without argument `outbuf'.
6310 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6312 * elmo.el (elmo-message-encache): Define as generic function.
6313 (elmo-message-fetch-field): New generic function.
6314 (elmo-message-fetch-with-cache-process): Cause an error when
6315 fetch strategy is 'entire but only 'section cache is available.
6316 (toplevel): Fixed nmz folder definition.
6318 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6319 (elmo-msgdb-resume-list-filename): Ditto.
6320 (elmo-queue-filename): Ditto.
6321 (elmo-enable-disconnected-operation): Changed default value to t.
6323 * elmo-util.el (elmo-cache-path-section-p): New function.
6324 (elmo-file-cache-get): Use it.
6325 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6326 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6327 (elmo-dop-queue-save): Ditto.
6329 * elmo-net.el (elmo-folder-status-unplugged): Call
6330 elmo-folder-status-dop.
6331 (elmo-folder-list-messages-unplugged): Implemented.
6332 (elmo-folder-delete-messages-unplugged): Define.
6333 (elmo-folder-msgdb-create): Define.
6334 (elmo-folder-msgdb-create-unplugged): Define.
6335 (elmo-folder-mark-as-read-unplugged): Ditto.
6336 (elmo-folder-unmark-read-unplugged): Ditto.
6337 (elmo-folder-mark-as-important-unplugged): Ditto.
6338 (elmo-folder-unmark-important-unplugged): Ditto.
6339 (elmo-message-encache): Ditto.
6341 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6342 (elmo-dop-queue-save): Ditto.
6344 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6345 `elmo-folder-msgdb-create'.
6346 (elmo-folder-append-buffer): Implemented unplugged operation.
6347 (elmo-folder-append-messages): Call parent method in unplugged status.
6348 (elmo-message-fetch-unplugged): Removed definition.
6349 (elmo-message-fetch-field): Implemented.
6351 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6352 (elmo-dop-folder): Removed variable definition.
6353 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6354 (elmo-dop-queue-flush): Implemented.
6355 (elmo-dop-queue-merge): Removed definition (TODO).
6356 (elmo-dop-spool-folder): New function.
6357 (elmo-dop-spool-folder-append-buffer): Ditto.
6358 (elmo-dop-spool-folder-list-messages): Ditto.
6359 (elmo-dop-list-deleting-messages): Ditto.
6360 (elmo-folder-append-buffer-dop): Ditto.
6361 (elmo-folder-delete-messages-dop): Ditto.
6362 (elmo-message-encache-dop): New inline function.
6363 (elmo-create-folder-dop): Ditto.
6364 (elmo-folder-mark-as-read-dop): Ditto.
6365 (elmo-folder-unmark-read-dop): Ditto.
6366 (elmo-folder-mark-as-important-dop): Ditto.
6367 (elmo-folder-unmark-important-dop): Ditto.
6368 (elmo-folder-status-dop): Fixed.
6369 (elmo-folder-append-buffer-dop-delayed): New function.
6370 (elmo-folder-delete-messages-dop-delayed): Ditto.
6371 (elmo-dop-msgdb): Ditto.
6373 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6375 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6377 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6379 * elmo.el (elmo-folder-move-messages): Fixed problem when
6380 `dst-folder' is 'null.
6382 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6384 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6385 instead of current mark.
6387 * elmo-multi.el (elmo-folder-list-importants-internal): No
6388 operation if importants is not list.
6390 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6391 Return t if importants is not list.
6393 * elmo-map.el (elmo-map-folder-list-importants): Define.
6394 (elmo-folder-list-importants-internal): Check return value of
6395 `elmo-map-folder-list-importants-internal'.
6397 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6399 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6401 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6403 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6405 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6407 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6408 (Patch is provided by <kita@coe.nttdata.co.jp>).
6410 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6412 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6415 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6417 * elmo.el (elmo-message-fetch): Define.
6418 (elmo-message-fetch-with-cache-process): New generic method.
6419 (elmo-message-fetch-internal): New generic method.
6420 (elmo-folder-synchronize):
6422 * elmo-archive.el (elmo-message-fetch-internal): Define.
6423 (elmo-message-fetch): Eliminated.
6425 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6426 (elmo-message-fetch): Eliminated.
6428 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6430 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6432 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6433 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6435 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6436 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6438 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6440 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6442 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6444 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6445 (elmo-message-fetch-unplugged): New generic method.
6446 (elmo-message-fetch-internal): Remove cache process (Renamed from
6447 `elmo-message-fetch').
6449 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6450 (elmo-message-fetch): Eliminated.
6451 (elmo-message-fetch-unplugged): Ditto.
6453 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6455 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6457 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6458 of `to-be-deleted' from number-alist to number-list.
6460 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6462 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6463 (elmo-folder-mark-as-important): Ditto.
6465 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6467 * elmo.el (elmo-folder): Added process-duplicates slot.
6469 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6470 (elmo-folder-unmark-read): Ditto.
6471 (elmo-folder-unmark-important): Ditto.
6472 (elmo-folder-mark-as-important): Ditto.
6474 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6475 duplicated message processing.
6477 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6479 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6481 * elmo-util.el (elmo-list-subdirectories-1): New function.
6482 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6483 (elmo-mapcar-list-of-list): New function.
6485 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6486 `elmo-mapcar-list-of-list' instead of `mapcar'.
6488 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6490 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6491 `elmo-have-link-count'. Return the fully qualified folder name.
6493 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6495 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6496 (elmo-shimbun-headers-cache): New internal variable.
6497 (elmo-shimbun-headers-cache-header-list): New inline function.
6498 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6499 (elmo-shimbun-headers-cache-header-hash): Ditto.
6500 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6501 (elmo-shimbun-headers-cache-last-check): Ditto.
6502 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6503 (elmo-shimbun-lapse-seconds): Ditto.
6504 (elmo-shimbun-headers-cache-check-p): Ditto.
6505 (elmo-shimbun-get-headers): New function.
6506 (elmo-folder-open-internal): Call it.
6507 (elmo-quit): Define (Clear headers-cache).
6509 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6511 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6513 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6514 (elmo-msgdb-flist-save): Ditto.
6516 * elmo-shimbun.el (elmo-folder-list-subfolders):
6517 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6518 (elmo-folder-exists-p): Ditto.
6520 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6521 argument for `shimbun-header-insert'.
6523 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6525 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6528 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6529 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6531 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6533 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6534 (elmo-folder-plugged-p): Define.
6535 (elmo-folder-set-plugged): Ditto.
6536 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6537 (elmo-folder-list-messages-internal): Return t if unplugged.
6538 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6540 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6541 when elmo-folder-list-messages-internal method of children returns t.
6543 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6545 (elmo-folder-open-internal): Don't update if unplugged status.
6547 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6549 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6552 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6554 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6556 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6559 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6561 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6563 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6564 (elmo-folder-open-internal): Set up headers slot.
6565 (elmo-folder-check): Call elmo-folder-close-internal and
6566 elmo-folder-open-internal.
6567 (elmo-folder-close-internal): Clean up headers slot.
6569 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6571 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6572 exactly folder list.
6573 (elmo-folder-append-messages): Fixed append archive with prefix.
6575 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6576 make temp files with start-number.
6578 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6580 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6582 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6583 argument `visible-only'.
6584 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6587 * elmo-pop3.el (elmo-folder-open-internal): Check
6588 `elmo-inhibit-number-mapping' is non-nil.
6590 * elmo-pipe.el (elmo-folder-status): Fixed.
6592 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6594 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6596 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6597 (elmo-folder-open-internal): Setup `header-hash' slot.
6598 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6600 (elmo-map-message-fetch): Ditto.
6602 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6604 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6605 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6606 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6607 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6609 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6611 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6613 * sb-airs.el: Added footer.
6615 * shimbun.el (shimbun-article): Define as luna-method.
6617 * sb-tcup.el: New file.
6619 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6620 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6622 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6624 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6625 (shimbun-get-headers): Ditto.
6627 * elmo.el: Moved obsolete variable definitions from
6628 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6630 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6633 * shimbun.el: New file.
6635 * elmo-shimbun.el: New file.
6637 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6638 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6639 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6640 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6642 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6644 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6647 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6649 * elmo.el (elmo-folder-msgdb): Define as macro.
6650 (elmo-folder-open): Added argument `load-msgdb'.
6651 (elmo-generic-folder-open): Ditto.
6652 (elmo-folder-encache): New function.
6654 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6656 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6658 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6659 Eliminated argument FOLDER and added argument MSGDB.
6660 (elmo-dop-queue-load): Moved from elmo-dop.el.
6661 (elmo-dop-queue-save): Ditto.
6663 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6665 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6667 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6668 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6669 (elmo-filter-folder-list-importants-internal): Ditto.
6671 * elmo-map.el (elmo-folder-pack-number): Ditto.
6673 * elmo-mime.el (elmo-mime-message-display): Ditto.
6675 * elmo.el (elmo-generic-folder-commit): Ditto.
6676 (elmo-folder-list-unreads): Ditto.
6677 (elmo-folder-list-importants): Ditto.
6678 (elmo-generic-folder-commit): Ditto.
6679 (elmo-message-set-mark): Ditto.
6680 (elmo-generic-folder-append-msgdb): Ditto.
6681 (elmo-folder-synchronize): Ditto.
6682 (elmo-folder-messages): Ditto.
6683 (elmo-init): Call elmo-dop-queue-load.
6684 (elmo-folder-list-messages): Ditto.
6686 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6687 (elmo-nntp-folder-process-crosspost): Ditto.
6688 (elmo-folder-list-unreads-internal): Ditto.
6690 * elmo-dop.el: Removed old functions.
6692 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6694 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6695 `folder' to `msgdb'.
6697 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6699 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6700 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6702 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6705 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6707 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6710 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6711 (mmimap-parse-parameters-from-list): Define as alias for
6712 `mime-decode-parameter-plist' if it is defined as function.
6713 (mmimap-make-mime-entity): Added argument `number'.
6714 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6716 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6718 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6720 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6722 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6724 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6726 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6728 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6729 when elmo-imap4-default-authenticate-type is nil.
6730 (elmo-folder-list-subfolders): Ditto
6731 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6732 (elmo-imap4-fetch-callback-1-subr): Renamed from
6733 `elmo-imap4-fetch-callback-1' and define as inline function.
6734 (elmo-imap4-fetch-callback-1):
6735 Renamed from `elmo-imap4-fetch-callback'.
6736 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6738 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6739 msgdb path (To keep compatibility with main trunk).
6741 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6743 * elmo-util.el (elmo-make-file-cache): Moved position of
6746 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6747 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6748 instead of `elmo-pop3-inhibit-uidl'.
6749 (elmo-folder-exists-p): Ditto.
6750 (elmo-pop3-folder-list-messages): Ditto.
6752 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6753 instead of `elmo-pop3-inhibit-uidl'.
6754 (elmo-folder-status): Ditto.
6756 * elmo-dop.el (elmo-dop-folder): New variable.
6757 (elmo-dop-lock-message): Eliminated.
6758 (elmo-dop-unlock-message): Ditto.
6759 (elmo-dop-lock-list-load): Ditto.
6760 (elmo-dop-lock-list-save): Ditto.
6761 (elmo-dop-delete-folder): Ditto.
6762 (elmo-dop-rename-folder): Ditto.
6764 * elmo.el: Removed incomplete commentary.
6766 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6768 * elmo.el (toplevel): Require 'elmo-version first;
6769 for little `recursive-load-depth' settings.
6770 Fix "ends here" comment.
6772 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6774 * elmo-util.el (toplevel): Require 'poem;
6775 Some functions are moved from elmo-cache.el.
6777 * elmo-net.el (toplevel): Require 'elmo-cache.
6779 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6781 * elmo.el (toplevel): Ditto.
6783 * elmo-cache.el: Rewrite with luna;
6784 Some functions are moved to elmo-util.el.
6786 * elmo-internal.el (elmo-internal-folder-list): New variable.
6787 (elmo-internal-folder-initialize): Rewrite.
6788 (elmo-folder-list-subfolders): Ditto.
6790 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6791 (elmo-cache-collect-sub-directories): Ditto.
6793 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6795 * elmo-version.el (elmo-version): Up to 2.5.8.
6797 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6799 * elmo-util.el (elmo-list-insert): New function.
6801 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6803 * elmo.el (elmo-init): New function.
6804 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6806 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6807 (Renamed from `elmo-localdir-header-chop-length').
6809 * elmo-pop3.el (elmo-pop3-use-cache,
6810 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6812 * elmo-nntp.el (elmo-message-fetch): Define.
6813 (elmo-message-fetch-unplugged): Ditto.
6814 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6815 (elmo-nntp-use-cache): Ditto.
6816 (elmo-nntp-max-number-precedes-list-active): Ditto.
6818 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6820 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6821 `elmo-msgdb-insert-file-header'.
6822 Use `elmo-msgdb-file-header-chop-length'.
6824 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6827 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6828 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6829 `elmo-msgdb-insert-file-header'.
6831 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6833 Define obsolete variables with `elmo-define-obsolete-variable',
6835 * elmo-util.el (elmo-warning-buffer-name): New constant.
6836 (elmo-warning): New function.
6837 (elmo-obsolete-variable-alist): New variable.
6838 (elmo-obsolete-variable-show-warnings): New variable.
6839 (elmo-define-obsolete-variable): New function.
6840 (elmo-resque-obsolete-variable): Ditto.
6841 (elmo-resque-obsolete-variables): Ditto.
6843 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6845 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6848 * elmo-pop3.el, elmo-nntp.el: Use custom.
6850 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6852 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6853 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6855 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6857 * Luna-fy Kenichi OKADA's following changes.
6858 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6860 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6862 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6864 * elmo-util.el (elmo-display-progress): Prefer
6865 `progress-feedback-with-label' to `lprogress-display'.
6867 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6869 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6871 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6873 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6874 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6875 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6876 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6877 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6878 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6879 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6880 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6881 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6882 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6883 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6884 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6885 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6887 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6889 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6890 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6892 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6894 * elmo.el (elmo-folder-process-crosspost): New generic method.
6895 (elmo-folder-writable-p): Ditto.
6896 (elmo-folder-message-appendable-p): Eliminated.
6897 (elmo-generic-folder-append-msgdb): Rewrite.
6898 (elmo-newsgroups-hashtb): New internal variable.
6899 (elmo-crosspost-message-set): Eliminated.
6900 (elmo-crosspost-message-delete): Ditto.
6901 (elmo-setup-subscribed-newsgroups): New function.
6902 (elmo-crosspost-message-alist-modified): New internal variable.
6903 (elmo-crosspost-message-alist-load): New function (Renamed from
6904 `wl-crosspost-alist-load').
6905 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6906 `wl-crosspost-alist-save').
6908 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6910 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6912 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6913 elmo-newsgroups-hashtb).
6914 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6915 `elmo-nntp-folder-update-crosspost-message-alist'.
6916 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6917 `elmo-nntp-groups-hashtb'.
6918 (elmo-nntp-make-groups-hashtb): Eliminated.
6919 (elmo-nntp-parse-newsgroups): New function (Renamed from
6920 `wl-parse-newsgroups').
6921 (elmo-folder-creatable-p, elmo-folder-writable-p,
6922 elmo-folder-close-internal, elmo-folder-mark-as-read,
6923 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6925 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6927 * elmo-net.el (elmo-message-fetch): Check buffer size.
6929 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6931 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6933 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6934 before `close' command.
6936 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6937 `mark-alist' (All other related portions are changed).
6939 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6941 * elmo-util.el (elmo-create-hash-size): Eliminated.
6942 (elmo-make-hash) Make a hash with `one less than a power of two'
6945 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6946 (elmo-hash-maximum-size): Changed value.
6948 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6950 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6951 (elmo-mime-message-display-as-is): Ditto.
6953 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6955 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6956 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6958 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6960 * elmo-mark.el: New file.
6962 * elmo-internal.el: Rewrite (Almost empty).
6964 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6966 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6967 (mime-imap-entity-header-string): Ditto.
6968 (mmimap-entity-section): Rewrite.
6970 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6972 * elmo-nmz.el: New file.
6974 * elmo-pipe.el: Rewrite with luna.
6976 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6978 * elmo-archive.el: Rewrite with luna.
6980 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6981 (elmo-folder-list-importants-internal): Ditto.
6983 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6985 * elmo-archive.el (elmo-archive-version): Abolish.
6986 (toplevel) Removed `boso' comment.
6988 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6990 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6991 elmo-msgdb-add-msgs-to-seen-list-subr;
6992 Changed argument seen-marks to unread-marks.
6994 * elmo-nntp.el: Rewrite with luna.
6996 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6998 * elmo-filter.el: Rewrite with luna.
7000 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7002 * elmo-pop3.el: Rewrite with luna.
7004 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7006 * elmo-multi.el: Rewrite with luna.
7008 * elmo-vars.el (elmo-use-killed-list): Abolish.
7009 All other related portions are changed.
7010 (elmo-filename-replace-string-alist): Renamed from
7011 elmo-msgid-replace-string-alist.
7013 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7015 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7017 * elmo-map.el: New file.
7018 * elmo-maildir.el: Rewrite with luna.
7020 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7022 * elmo.el: Changed meaning of `elmo-folder-commit'.
7023 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7025 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7027 * elmo.el (elmo-folder-append-buffer): New function.
7028 (Renamed from `elmo-append-msg')
7030 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7032 * elmo-mime.el: New file.
7034 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7036 * elmo-cache.el: Rewrite.
7038 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7040 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7042 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7044 * elmo-vars.el (elmo): New group.
7045 (elmo-strict-diff-folder-regexp): New variable.
7047 * elmo-util.el (elmo-call-func): Abolish.
7048 (elmo-folder-get-type): Ditto.
7049 (elmo-*-get-spec): Ditto.
7050 (elmo-*-spec-*): Ditto.
7051 (elmo-imap4-identical-name-space-p): Ditto.
7052 (elmo-folder-identical-system-p): Ditto.
7053 (elmo-folder-direct-copy-alist): Ditto.
7054 (elmo-folder-direct-copy-p): Ditto.
7056 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7057 (elmo-folder-initialize): Define.
7058 (elmo-folder-get-primitive-list): Ditto.
7060 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7061 (elmo-folder-initialize): Define.
7062 Renamed `elmo-network-session-host-internal' to
7063 `elmo-network-session-server-internal'.
7065 * elmo-multi.el (elmo-multi-folder): New luna class.
7066 (elmo-folder-initialize): Define.
7067 (elmo-folder-get-primitive-list): Ditto.
7068 (elmo-folder-contains-type): Ditto.
7069 (elmo-message-use-cache-p): Ditto.
7071 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7072 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7074 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7075 (elmo-folder-initialize): Define.
7077 * elmo-filter.el (elmo-filter-folder): New luna class.
7078 (elmo-folder-initialize): Define.
7079 (elmo-folder-get-primitive-list): Ditto.
7080 (elmo-folder-contains-type): Ditto.
7082 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7084 * elmo-imap4.el: Rewrite with luna.
7086 * mmimap.el: New file.
7088 * mmelmo.el, mmelmo-imap4.el: Removed.
7090 * elmo-net.el: Ditto.
7092 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7093 (elmo-folder-initialize): Define.
7095 * elmo-archive.el (elmo-archive-folder): New luna class.
7096 (elmo-folder-initialize): Define.
7098 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7099 `elmo-folder-msgdb-path'.
7100 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7103 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7105 * elmo.el: New file.
7107 * elmo2.el: Renamed to elmo.el.
7110 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7112 * elmo-cache.el (elmo-cache-expire-by-size): Count
7113 a disk usage for a cache file entry in KB even when
7114 its kind is a directory.
7116 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7118 * elmo-version.el (elmo-version): Up to 2.5.7.
7120 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7122 * elmo-version.el (elmo-version): Up to 2.5.6.
7124 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7126 * elmo-version.el (elmo-version): Up to 2.5.5.
7128 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7130 * elmo-imap4.el (elmo-network-authenticate-session):
7131 Fixed a logic for response checking.
7133 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7135 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7136 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7137 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7140 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7141 for `starttls-open-stream' and `starttls-negotiate'.
7143 * elmo-nntp.el: Remove autoload settings for
7144 `starttls-open-stream' and `starttls-negotiate'.
7146 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7147 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7148 `luna-define-class' with `eval-and-compile'.
7150 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7152 * elmo-util.el (elmo-read-search-condition-internal):
7153 Require an element of table for searching field.
7155 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7157 * elmo-version.el (elmo-version): Up to 2.5.4.
7159 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7161 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7163 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7165 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7167 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7169 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7172 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7174 * elmo-imap4.el (elmo-imap4-delete-folder):
7175 Send "close" before "delete" (Use commented out line).
7176 (elmo-imap4-rename-folder): Ditto.
7178 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7179 folder string itself.
7180 (elmo-dop-list-deleted): New function.
7181 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7184 * elmo-util.el (elmo-string-rassoc-all): New function.
7186 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7188 * elmo-version.el (elmo-version): Up to 2.5.3.
7190 * elmo-net.el (elmo-network-get-session): Changed logic for
7191 checking process status.
7193 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7195 Changed logic for checking process status.
7197 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7199 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7201 (elmo-network-setup-session): Set UIDL hash size according to
7202 the length of list response.
7203 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7204 according to the length of list response;
7205 Return the length of list response.
7206 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7208 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7210 * elmo-imap4.el (toplevel): Require 'ssl.
7211 Add autoload 'starttls.
7212 * elmo-pop3.el (toplevel): Ditto.
7213 * elmo-nntp.el (toplevel): Ditto.
7215 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7217 * elmo-imap4.el (toplevel): defun at compile time.
7218 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7219 sasl-next-step, sasl-step-data, sasl-step-set-data.
7220 * elmo-pop3.el (toplevel): Ditto.
7222 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7224 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7226 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7228 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7230 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7231 and `elmo-pop-auth-apop'.
7233 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7235 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7237 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7239 * elmo-pop3.el (elmo-network-authenticate-session): Split
7240 encoded response value.
7242 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7244 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7245 `elmo-pop3-force-login'.
7246 Redefine `sasl-mechanisms'.
7247 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7249 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7251 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7252 Delete `elmo-imap4-authenticator-alist'.
7253 (elmo-imap4-auth-cram-md5): Delete.
7254 (elmo-imap4-auth-digest-md5): Delete.
7256 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7258 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7259 (elmo-pop3-auth-scram-md5): Ditto.
7260 (elmo-pop3-auth-cram-md5): Ditto.
7262 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7264 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7265 Delete `elmo-pop3-authenticator-alist'.
7267 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7269 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7271 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7273 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7275 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7277 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7279 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7280 Fixed problem when `elmo-pop3-use-uidl' is nil.
7281 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7283 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7285 * elmo-version.el (elmo-version): Up to 2.5.2.
7287 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7289 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7291 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7292 (elmo-pop3-msgdb-create-as-numlist): Use it.
7294 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7295 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7297 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7298 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7300 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7302 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7303 when elmo-mark-as-read is called with second argument nil.
7305 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7307 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7308 Moved to elmo-util.el.
7310 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7311 Moved from elmo-pipe.el
7313 * elmo-archive.el (elmo-archive-call-process): Enclose with
7316 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7317 "RFC822" (because RFC822.PEEK is obsolete).
7318 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7320 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7322 * elmo-archive.el (elmo-archive-call-process): Don't check for
7323 the exit status when Nemacs is running.
7325 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7327 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7330 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7331 (elmo-pop3-get-spec): Set default of auth to 'user.
7333 * elmo-imap4.el (elmo-imap4-session-check):
7334 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7335 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7336 (elmo-imap4-auth-login): New function; Revival.
7337 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7338 `elmo-imap4-auth-login'.
7340 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7342 * elmo2.el (toplevel): Move `product-provide' declare.
7343 * mmelmo.el (toplevel): Ditto.
7345 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7347 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7349 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7351 * elmo-util.el (elmo-folder-get-store-type): New function.
7352 (elmo-folder-direct-copy-p): Use it.
7354 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7356 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7357 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7358 and result of `elmo-imap4-use-flag-p'.
7359 (elmo-imap4-fetch-callback-1): Set mark according to
7360 the result of `elmo-imap4-use-flag-p'.
7362 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7364 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7365 (elmo-generic-list-folder-unread): Ditto.
7366 (elmo-folder-get-info): Ditto.
7367 (elmo-folder-set-info-max-by-numdb): Ditto.
7368 (elmo-folder-get-info-max): Ditto.
7369 (elmo-folder-get-info-length): Ditto.
7370 (elmo-folder-get-info-unread): Ditto.
7371 (elmo-folder-info-make-hashtb): Ditto.
7373 * elmo2.el: Removed above functions.
7375 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7377 * elmo-imap4.el (toplevel): Require 'ssl.
7378 Add autoload 'starttls.
7379 * elmo-pop3.el (toplevel): Ditto.
7380 * elmo-nntp.el (toplevel): Ditto.
7382 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7384 * elmo-imap4.el (toplevel): defun at compile time.
7385 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7386 sasl-next-step, sasl-step-data, sasl-step-set-data.
7387 * elmo-pop3.el (toplevel): Ditto.
7389 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7391 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7393 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7395 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7397 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7398 and `elmo-pop-auth-apop'.
7400 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7402 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7404 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7406 * elmo-pop3.el (elmo-network-authenticate-session): Split
7407 encoded response value.
7409 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7411 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7412 `elmo-pop3-force-login'.
7413 Redefine `sasl-mechanisms'.
7414 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7416 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7418 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7419 Delete `elmo-imap4-authenticator-alist'.
7420 (elmo-imap4-auth-cram-md5): Delete.
7421 (elmo-imap4-auth-digest-md5): Delete.
7423 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7425 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7426 (elmo-pop3-auth-scram-md5): Ditto.
7427 (elmo-pop3-auth-cram-md5): Ditto.
7429 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7431 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7432 Delete `elmo-pop3-authenticator-alist'.
7434 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7436 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7438 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7441 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7443 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7445 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7447 * elmo-nntp.el (elmo-nntp-get-folders-info):
7448 Fixed problem when '\' character is contained in user-id.
7449 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7452 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7454 * elmo-imap4.el (elmo-imap4-delete-folder):
7455 Send "close" before "delete" (Use commented out line).
7456 (elmo-imap4-rename-folder): Ditto.
7458 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7459 folder string itself.
7460 (elmo-dop-list-deleted): New function.
7461 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7464 * elmo-util.el (elmo-string-rassoc-all): New function.
7466 * elmo-version.el (elmo-version): Up to 2.5.1.
7468 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7470 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7472 * elmo-internal.el (elmo-internal-search): Fix last change.
7474 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7476 * elmo-internal.el (elmo-internal-search): Rewrite.
7477 (Fixed problem which is pointed out by Akihiro MOTOKI
7478 <motoki@da.jp.nec.com>)
7480 * elmo-version.el (elmo-version): Up to 2.5.0.
7482 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7484 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7486 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7488 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7489 non-nil, make hierarchy.
7491 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7493 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7494 `elmo-pop3-use-uidl' must be bound to nil.
7495 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7497 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7499 * elmo-util.el (elmo-copy-file): Don't cause an error after
7500 `add-name-to-file' failed.
7502 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7503 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7505 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7507 * elmo-version.el (elmo-version): Up to 2.3.93.
7509 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7511 * elmo-util.el (elmo-flatten): New function.
7513 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7515 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7517 * elmo-cache.el (toplevel): Ditto.
7518 * elmo-database.el (toplevel): Ditto.
7519 * elmo-date.el (toplevel): Ditto.
7520 * elmo-dop.el (toplevel): Ditto.
7521 * elmo-filter.el (toplevel): Ditto.
7522 * elmo-imap4.el (toplevel): Ditto.
7523 * elmo-internal.el (toplevel): Ditto.
7524 * elmo-localdir.el (toplevel): Ditto.
7525 * elmo-localnews.el (toplevel): Ditto.
7526 * elmo-maildir.el (toplevel): Ditto.
7527 * elmo-msgdb.el (toplevel): Ditto.
7528 * elmo-multi.el (toplevel): Ditto.
7529 * elmo-net.el (toplevel): Ditto.
7530 * elmo-nntp.el (toplevel): Ditto.
7531 * elmo-pipe.el (toplevel): Ditto.
7532 * elmo-pop3.el (toplevel): Ditto.
7533 * elmo-util.el (toplevel): Ditto.
7534 * elmo-vars.el (toplevel): Ditto.
7535 * elmo2.el (toplevel): Ditto.
7536 * mmelmo-imap4.el (toplevel): Ditto.
7537 * mmelmo.el (toplevel): Ditto.
7539 * elmo-version.el (elmo-version): Move to top.
7541 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7542 * elmo-imap4.el (toplevel): Ditto.
7543 * elmo-localdir.el (toplevel): Ditto.
7544 * elmo-msgdb.el (toplevel): Ditto.
7545 * elmo-nntp.el (toplevel): Ditto.
7546 * elmo-pop3.el (toplevel): Ditto.
7547 * elmo-version.el (toplevel): Ditto.
7549 * elmo-localnews.el (toplevel): Added Keyword header.
7551 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7553 * elmo-version.el (product-version-as-string): Defined using
7557 * elmo-localdir.el (toplevel): Updated copyright notice.
7558 * elmo-version.el (toplevel): Ditto.
7559 * elmo-msgdb.el (toplevel): Ditto.
7560 * elmo-imap4.el (toplevel): Ditto.
7561 * elmo-nntp.el (toplevel): Ditto.
7562 * elmo-pop3.el (toplevel): Ditto.
7564 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7566 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7569 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7570 parameter value (It sometimes contains raw kanji).
7572 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7574 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7575 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7577 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7579 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7581 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7583 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7584 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7586 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7588 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7589 value if selecting folder succceeded.
7590 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7592 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7594 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7597 * elmo-util.el (elmo-string-matched-member): New function.
7599 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7601 * elmo-util.el (elmo-unintern): New macro.
7602 (elmo-number-set-member): Fixed docstring.
7604 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7607 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7609 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7610 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7612 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7614 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7617 Return non-nil if selecting folder succeeded.
7618 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7620 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7622 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7623 `file-name-completion' returns t.
7624 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7625 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7626 directory if it does not exist.
7627 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7630 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7632 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7633 enclosure (It's harmful in unplugged status).
7635 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7637 * mmelmo-1.el: Removed.
7639 * mmelmo-2.el: Ditto.
7641 * mmelmo-imap4-1.el: Ditto.
7643 * mmelmo-imap4-2.el: Ditto.
7645 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7647 * mmelmo.el: Merged mmelmo-2.el.
7649 * elmo-version.el (elmo-version): Up to 2.3.92.
7651 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7653 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7654 elmo-update-number): Remove last period in "...done." message.
7655 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7657 * elmo-cache.el (elmo-cache-expire-by-size,
7658 elmo-cache-get-sorted-cache-file-list,
7659 elmo-cache-msgdb-create-as-numlist): Ditto.
7660 * elmo-dop.el (elmo-dop-save-pending-messages,
7661 (elmo-dop-flush-pending-append-operations): Ditto.
7662 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7663 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7664 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7665 (elmo-localdir-pack-number): Ditto.
7666 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7667 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7668 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7669 mime-write-entity-content): Ditto.
7670 * pldap.el (ldap-search-basic): Ditto.
7672 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7674 * elmo-version.el (elmo-version): Up to 2.3.91.
7676 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7677 Only when filter is 'last'.
7679 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7680 (elmo-condition-parse-search-value): Use it.
7681 (elmo-read-search-condition-internal): Quote value only when
7684 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7686 * elmo2.el (elmo-generic-folder-diff): Fix.
7688 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7690 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7691 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7692 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7693 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7694 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7695 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7697 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7699 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7702 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7704 * elmo-version.el (elmo-version): Up to 2.3.90.
7706 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7707 (elmo-imap4-list-folder-important): Ditto.
7709 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7711 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7713 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7715 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7717 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7719 * elmo-nntp.el (elmo-network-initialize-session):
7720 Add starttls negotiation.
7722 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7724 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7726 (elmo-network-setup-session): Define.
7727 Call `elmo-nntp-send-mode-reader' when session opened.
7729 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7731 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7733 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7735 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7736 an invalid SPACE character ahead of `SEARCH' command. Move
7737 a valid SPACE character following `SEARCH' from conditional
7738 `format' arguments to control-strings.
7740 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7742 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7745 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7747 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7749 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7750 `w32-get-true-file-link-count' as t.
7752 * elmo-imap4.el (elmo-imap4-read): Abolished.
7753 (Renamed to `elmo-read' and moved to elmo-util.el)
7754 All other related portions are changed.
7756 * elmo-util.el (elmo-read): New function.
7757 (elmo-condition-parse-search-value): Use it.
7759 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7761 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7763 * elmo-nntp.el (elmo-nntp-session): Define.
7764 (elmo-nntp-setting): Abolished.
7765 All other related portions are changed.
7766 (elmo-nntp-get-server-command): Changed argument.
7767 (elmo-nntp-set-server-command): Ditto.
7768 (elmo-nntp-xover-p): Ditto.
7769 (elmo-nntp-set-xover): Ditto.
7770 (elmo-nntp-listgroup-p): Ditto.
7771 (elmo-nntp-set-listgroup): Ditto.
7772 (elmo-nntp-list-active-p): Ditto.
7773 (elmo-nntp-set-list-active): Ditto.
7774 (elmo-nntp-xhdr-p): Ditto.
7775 (elmo-nntp-set-xhdr): Ditto.
7776 (elmo-nntp-flush-connection): Abolished.
7777 (elmo-nntp-get-connection): Abolished.
7778 (elmo-nntp-get-session): New function.
7779 (elmo-network-initialize-session): Defined.
7780 (elmo-network-authenticate-session): Ditto.
7781 (elmo-nntp-send-mode-reader): Changed argument.
7782 (elmo-nntp-send-command): Changed argument.
7783 All other related portions are changed.
7784 (elmo-nntp-read-response): Ditto.
7785 (elmo-nntp-read-raw-response): Ditto.
7786 (elmo-nntp-read-contents): Ditto.
7787 (elmo-nntp-read-body): Ditto.
7788 (elmo-nntp-goto-folder): Abolished.
7789 (elmo-nntp-select-group): New function.
7790 All other related portions are changed.
7791 (This function substitutes `elmo-nntp-goto-folder')
7792 (elmo-nntp-msgdb-create-by-header): Rewrite.
7793 (elmo-nntp-get-overview): Eliminated.
7794 (elmo-nntp-get-message): Ditto.
7795 (elmo-nntp-open-connection) Abolished.
7796 (elmo-nntp-read-msg): Rewrite.
7797 (elmo-nntp-post): Ditto.
7798 (elmo-nntp-send-data): Abolished.
7799 (elmo-nntp-send-buffer): New function.
7800 (elmo-nntp-send-data-line): Define as inline function.
7801 (elmo-nntp-get-folders-info-prepare): Use session as key.
7802 (elmo-nntp-groups-read-response): Changed argument.
7803 (elmo-nntp-retrieve-headers): Ditto.
7804 (elmo-nntp-msgdb-create-message): Ditto.
7806 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7807 when searching by 'since' or 'before'.
7809 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7811 * elmo-version.el (toplevel): Use product-version-as-string for set
7812 verstion-string, if defined.
7814 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7816 * elmo-util.el: Doc fixes.
7818 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7820 * elmo-archive.el (toplevel): Use product-provide.
7821 * elmo-cache.el (toplevel): Ditto.
7822 * elmo-database.el (toplevel): Ditto.
7823 * elmo-date.el (toplevel): Ditto.
7824 * elmo-dop.el (toplevel): Ditto.
7825 * elmo-filter.el (toplevel): Ditto.
7826 * elmo-imap4.el (toplevel): Ditto.
7827 * elmo-internal.el (toplevel): Ditto.
7828 * elmo-localdir.el (toplevel): Ditto.
7829 * elmo-localnews.el (toplevel): Ditto.
7830 * elmo-maildir.el (toplevel): Ditto.
7831 * elmo-msgdb.el (toplevel): Ditto.
7832 * elmo-multi.el (toplevel): Ditto.
7833 * elmo-net.el (toplevel): Ditto.
7834 * elmo-nntp.el (toplevel): Ditto.
7835 * elmo-pipe.el (toplevel): Ditto.
7836 * elmo-pop3.el (toplevel): Ditto.
7837 * elmo-util.el (toplevel): Ditto.
7838 * elmo-vars.el (toplevel): Ditto.
7839 * elmo2.el (toplevel): Ditto.
7840 * mmelmo-1.el (toplevel): Ditto.
7841 * mmelmo-2.el (toplevel): Ditto.
7842 * mmelmo-imap4-1.el (toplevel): Ditto.
7843 * mmelmo-imap4-2.el (toplevel): Ditto.
7844 * mmelmo-imap4.el (toplevel): Ditto.
7845 * mmelmo.el (toplevel): Ditto.
7847 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7849 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7850 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7852 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7854 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7856 (elmo-multi-split-number-alist): Ditto.
7858 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7860 * elmo-version.el: New file. Use product.el.
7861 * elmo2.el: Add (require 'elmo-version).
7862 * elmo-vars.el (elmo-appname, elmo-version): Move to
7865 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7867 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7868 `elmo-msgdb-expand-path'.
7869 (elmo-msgdb-load): Ditto.
7870 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7871 (elmo-generic-list-folder-unread): Rewrite.
7872 (elmo-generic-list-folder-important): Changed argument.
7873 (elmo-list-folder-unread): Ditto.
7874 (elmo-list-folder-important): Ditto.
7875 (elmo-folder-diff): Rewrite.
7876 (elmo-generic-folder-diff): New function.
7877 (elmo-multi-get-number-alist-list): Abolished
7878 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7879 (elmo-multi-folder-diff): Moved to elmo-multi.el
7880 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7882 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7883 `elmo-msgdb-expand-path'.
7884 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7885 (elmo-pop3-read-msg): Ditto.
7886 (elmo-pop3-delete-msgs): Ditto.
7887 (elmo-pop3-folder-diff): New alias.
7889 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7890 `elmo-msgdb-expand-path'.
7891 (elmo-pipe-list-folder-unread): Changed arguments.
7892 (elmo-pipe-list-folder-important): Ditto.
7893 (elmo-pipe-folder-diff): New alias.
7895 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7896 `elmo-msgdb-expand-path'.
7897 (elmo-nntp-max-of-folder): Ditto.
7898 (elmo-nntp-msgdb-create): Ditto.
7899 (elmo-nntp-delete-msgs): Ditto.
7900 (elmo-nntp-folder-diff): New alias.
7902 * elmo-multi.el (elmo-multi-folder-diff): New function.
7903 (elmo-multi-split-mark-alist): Ditto.
7904 (elmo-multi-split-number-alist): Ditto.
7905 (elmo-multi-mark-alist-list): Abolished (Renamed to
7906 elmo-multi-split-mark-alist).
7907 (elmo-multi-list-folder-unread): Rewrite.
7908 (elmo-multi-list-folder-important): Ditto.
7909 (elmo-multi-list-folder): Set `spec' as 1st argument for
7910 `elmo-msgdb-expand-path'.
7911 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7912 instead of `elmo-multi-get-number-alist-list'.
7914 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7915 If 1st argument is not string, treat as spec.
7916 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7917 `elmo-msgdb-expand-path'.
7918 (elmo-msgdb-flist-load): Ditto.
7919 (elmo-msgdb-flist-save): Ditto.
7920 (elmo-msgdb-delete-path): Ditto.
7921 (elmo-msgdb-rename-path): Ditto.
7923 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7924 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7925 (elmo-maildir-delete-mark-msgs): Ditto.
7926 (elmo-maildir-msgdb-create): Ditto.
7927 (elmo-maildir-read-msg): Ditto.
7928 (elmo-maildir-delete-msgs): Ditto.
7929 (elmo-maildir-list-folder-subr): Ditto.
7930 (elmo-maildir-search): Ditto.
7931 (elmo-maildir-get-msg-filename): Ditto.
7932 (elmo-maildir-pack-number): Ditto.
7933 (elmo-maildir-folder-diff): New alias.
7935 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7937 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7938 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7939 (elmo-localdir-folder-diff): New alias.
7941 * elmo-internal.el (elmo-internal-list-folder-subr):
7942 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943 (elmo-internal-list-folder-by-location): Ditto.
7944 (elmo-internal-msgdb-create): Ditto.
7945 (elmo-internal-delete-msgs): Ditto.
7946 (elmo-internal-read-msg): Ditto.
7947 (elmo-internal-folder-diff): New alias.
7949 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7950 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7951 `elmo-msgdb-expand-path'.
7952 (elmo-imap4-list-folder-unread): Changed arguments.
7953 (elmo-imap4-list-folder-important): Ditto.
7955 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7956 (elmo-filter-list-folder-important): Ditto.
7957 (elmo-filter-folder-diff): New function.
7959 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7961 * elmo-cache.el (elmo-cache-list-folder):
7962 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7963 (elmo-cache-copy-msgs): Ditto.
7964 (elmo-cache-folder-diff): New alias.
7966 * elmo-archive.el (elmo-archive-list-folder-subr):
7967 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7968 (elmo-archive-get-archive-name): Ditto.
7969 (elmo-archive-create-file): Ditto.
7970 (elmo-archive-append-msg): Ditto.
7971 (elmo-archive-copy-msgs): Ditto.
7972 (elmo-archive-copy-msgs-froms): Ditto.
7973 (elmo-archive-get-msg-filename): Ditto.
7974 (elmo-archive-folder-diff): New alias.
7976 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7978 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7979 (elmo-pop3-stream-type-alist): New variable.
7980 (elmo-nntp-stream-type-alist): New variable.
7982 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7983 (elmo-kill-buffer): Ditto.
7984 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7985 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7986 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7987 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7988 (elmo-imap4-get-spec): Take into account
7989 `elmo-imap4-stream-type-alist'.
7991 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7993 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7994 (elmo-nntp-list-folders-get-cache): Ditto.
7996 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7998 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7999 character before 'uid'.
8001 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8003 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8005 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8007 * elmo-util.el (elmo-number-set-member): New function.
8008 (elmo-number-set-append-list): Ditto.
8009 (elmo-number-set-append): Ditto.
8011 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8012 Use `elmo-number-set-member'.
8013 (elmo-living-messages): Ditto.
8014 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8015 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8017 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8018 (elmo-imap4-add-to-cont-list): Abolished.
8019 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8020 instead of elmo-imap4-add-to-cont-list.
8022 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8023 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8025 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8027 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8029 * elmo-util.el (elmo-condition-parse-search-value):
8032 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8034 * elmo-util.el (elmo-condition-find-key-internal): New function.
8035 (elmo-condition-find-key): Ditto.
8037 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8038 (elmo-msgdb-search-internal): Ditto.
8039 (elmo-msgdb-search): Ditto.
8041 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8043 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8044 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8046 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8047 (elmo-nntp-search-primitive): Fixed problem when condition is
8050 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8052 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8053 (elmo-nntp-xhdr-p): New macro.
8054 (elmo-nntp-set-xhdr): Ditto.
8055 (elmo-nntp-parse-xhdr-response): New function.
8056 (elmo-nntp-retrieve-field): Ditto.
8057 (elmo-nntp-search-primitive): Ditto.
8058 (elmo-nntp-search): Implemented.
8060 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8062 * elmo-archive.el (elmo-archive-search): Set all number list to
8063 `elmo-archive-field-condition-match'
8065 * elmo-localdir.el (elmo-localdir-search): Likewise.
8067 * elmo-maildir.el (elmo-maildir-search): Likewise.
8069 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8071 * elmo-msgdb.el (elmo-living-messages): New function.
8072 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8073 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8074 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8075 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8076 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8077 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8078 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8079 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8080 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8081 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8082 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8084 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8086 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8088 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8090 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8092 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8093 arguments for `SEARCH' command.
8094 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8095 All other related portions are changed.
8097 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8099 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8100 (elmo-list-folder-unread): Rewrite.
8101 (elmo-list-folder-important): Ditto.
8103 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8104 (elmo-condition-parse-error): New inline function.
8105 (elmo-read-search-condition): New function.
8106 (elmo-read-search-condition-internal): Ditto.
8107 (elmo-parse-search-condition): Rewrite.
8108 (elmo-condition-parse): New function.
8109 (elmo-condition-parse-or-expr): Ditto.
8110 (elmo-condition-parse-and-expr): Ditto.
8111 (elmo-condition-parse-primitive): Ditto.
8112 (elmo-condition-parse-search-value): Ditto.
8113 (elmo-buffer-field-primitive-condition-match): Ditto.
8114 (elmo-buffer-field-condition-match): Rewrite.
8115 (elmo-file-field-condition-match): Ditto.
8117 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8118 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8120 * elmo-internal.el (elmo-internal-search): Set `number' and
8121 `number-list' argument of `elmo-file-field-condition-match'.
8123 * elmo-maildir.el (elmo-maildir-search): Ditto.
8125 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8126 `msgdb' as argument instead of `mark-alist'.
8127 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8130 * elmo-multi.el: Likewise.
8132 * elmo-pipe.el: Likewise.
8134 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8135 (elmo-imap4-search-internal): Rewrite.
8136 (elmo-imap4-search): Ditto.
8138 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8139 (elmo-filter-list-folder-unread): Ditto.
8140 (elmo-filter-list-folder-important): Ditto.
8141 (elmo-filter-search): Rewrite.
8143 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8144 `number-list' argument of `elmo-file-field-condition-match'.
8145 (elmo-cache-search): Ditto.
8147 * elmo-localdir.el: Likewise.
8149 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8150 number-list and pass it to `elmo-buffer-field-condition-match'.
8151 (elmo-archive-field-condition-match): Pass `number-list' to
8152 `elmo-archive-field-condition-match'
8154 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8156 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8159 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8160 (elmo-folder-diff-async-callback-data): Ditto.
8161 (elmo-folder-diff-async): New function.
8163 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8164 (elmo-network-session-cache-key): Use it as a prefix of the session
8166 (elmo-network-open-session): Ditto.
8168 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8169 (elmo-imap4-status-callback-data): Ditto.
8170 (elmo-imap4-server-diff-async-callback): New variable.
8171 (elmo-imap4-server-diff-async-callback-data): Ditto.
8172 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8173 `elmo-imap4-status-callback-data'.
8174 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8175 `elmo-imap4-status-callback-data' as nil.
8176 (elmo-imap4-server-diff): Ditto.
8177 (elmo-imap4-server-diff-async-callback-1): New function.
8178 (elmo-imap4-server-diff-async): Ditto.
8179 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8181 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8183 * elmo-util.el (elmo-list-delete): Doc fix.
8184 (elmo-delete-lists): Abolish.
8185 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8186 instead of `elmo-delete-lists'.
8188 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8190 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8193 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8195 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8196 `elmo-imap4-literal-subr'.
8197 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8198 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8200 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8202 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8203 (elmo-archive-list-folder): Fix.
8204 (elmo-archive-max-of-folder): Fix.
8206 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8208 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8209 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8210 (elmo-localdir-append-msg): Ditto.
8211 (elmo-localdir-list-folder): Fix for `nonsort'.
8212 (elmo-localdir-list-folder-subr): Fix for `killed'.
8213 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8214 (elmo-maildir-list-folder-subr): Ditto.
8215 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8216 (elmo-archive-list-folder-subr): Ditto.
8217 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8218 (elmo-internal-list-folder-subr): Ditto.
8220 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8222 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8224 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8226 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8228 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8230 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8231 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8233 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8235 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8236 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8238 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8240 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8242 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8243 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8244 before STORE command.
8246 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8248 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8250 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8251 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8253 (elmo-imap4-list-folders): Removed unused local variable.
8254 (elmo-network-initialize-session): Ditto.
8255 (elmo-imap4-delete-msg-by-id): Ditto.
8256 (elmo-imap4-parse-fetch): Ditto.
8257 (elmo-imap4-copy-msgs): Ditto.
8258 Use `dst-spec' instead of `dst-folder'.
8259 (elmo-network-authenticate-session): Check authenticate type `plain'.
8261 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8263 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8265 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8266 `elmo-imap4-response-value'.
8267 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8269 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8271 * elmo-imap4.el (elmo-imap4-send-command):
8272 Cause elmo-imap4-bye-error when current response is BYE.
8273 (elmo-imap4-arrival-filter): Changed greeting response value.
8275 * elmo2.el (elmo-imap4-bye-error): Define.
8277 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8278 (elmo-imap4-server-diff): Ditto.
8279 (elmo-imap4-response-bye-p): New macro.
8280 (elmo-imap4-response-error-text): Get text from BYE response.
8281 (elmo-imap4-read-response): Return if BYE response.
8282 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8283 (elmo-imap4-folder-exists-p): Ditto.
8284 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8285 (elmo-imap4-parse-bye): New function.
8286 (elmo-imap4-parse-response): Remove needless let.
8287 Call `elmo-imap4-parse-bye'.
8289 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8291 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8292 the mailbox does not exist.
8293 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8295 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8297 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8299 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8301 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8303 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8304 (elmo-network-initialize-session-buffer): Defined.
8306 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8308 (mmelmo-imap4-get-mime-entity): Rewrite.
8310 * elmo2.el (elmo-error): Capitalize error message.
8312 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8313 (elmo-network-session-buffer): New macro.
8314 (elmo-network-open-session): Use it.
8316 * elmo-imap4.el: Rewrite.
8318 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8320 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8322 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8324 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8325 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8326 (elmo-imap4-create-msgdb-from-overview-string): Use
8327 `elmo-msgdb-create-overview-from-buffer'.
8329 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8331 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8332 (elmo-imap4-default-hierarchy-delimiter): New variable.
8333 (elmo-imap4-list-folders): Use it.
8335 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8337 * elmo-net.el (elmo-network-open-session): Add user and
8338 stream-type for process-buffer name.
8340 * elmo-pop3.el (elmo-network-initialize-session): Call
8341 buffer-disable-undo.
8343 * elmo-imap4.el (elmo-network-initialize-session):
8344 Set current-buffer as an argument for `buffer-disable-undo'.
8346 * elmo-pop3.el (elmo-network-close-session): Don't use
8349 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8350 Set default as 'user.
8352 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8354 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8355 and `elmo-imap4-flush-connection'.
8357 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8358 (elmo-pop3-get-spec): Assume auth as symbol.
8359 (elmo-open-network-stream): Moved to `elmo-net'.
8361 * elmo-pop3.el (toplevel): Require 'elmo-net.
8362 Define `sasl-cram-md5' to silence byte compilier.
8363 (elmo-pop3-connection-cache) Abolished.
8364 (elmo-pop3-authenticator-alist) New variable.
8365 (elmo-pop3-session): Define.
8366 (elmo-pop3-connection-get-process): Abolished.
8367 (elmo-pop3-connection-get-buffer): Ditto.
8368 (elmo-pop3-close-connection): Ditto.
8369 (elmo-pop3-flush-connection): Ditto.
8370 (elmo-pop3-get-connection): Ditto.
8371 (elmo-pop3-get-session): New function.
8372 (Replacement for `elmo-pop3-get-connection').
8373 All other related modules are changed.
8374 (elmo-network-close-session): Define.
8375 (elmo-pop3-send-command): Abolished argument `buffer'.
8376 All other related modules are changed.
8377 (elmo-pop3-read-response): Likewise.
8378 (elmo-pop3-open-connection): Abolished.
8379 (elmo-pop3-auth-user): New function.
8380 (elmo-pop3-auth-apop): Ditto.
8381 (elmo-pop3-auth-cram-md5): Ditto.
8382 (elmo-pop3-auth-scram-md5): Ditto.
8383 (elmo-pop3-auth-digest-md5): Ditto.
8384 (elmo-network-initialize-session): Define.
8385 (elmo-network-authenticate-session): Ditto.
8386 (elmo-network-setup-session): Ditto.
8388 * elmo-imap4.el (toplevel): Require 'elmo-net.
8389 (elmo-imap4-session): Define.
8390 (elmo-imap4-connection-cache): Abolished.
8391 (elmo-imap4-password-key): Ditto.
8392 (elmo-imap4-flush-connection): Ditto.
8393 (elmo-imap4-get-connection): Ditto.
8394 All other related modules are changed.
8395 (elmo-imap4-get-session): New function
8396 (Replacement for `elmo-imap4-get-connection').
8397 (elmo-imap4-read-response): Abolished argument `buffer'.
8398 All other related modules are changed.
8399 (elmo-imap4-send-command): Likewise.
8400 (elmo-imap4-select-folder): Abolished.
8401 All other related modules are changed.
8402 (elmo-imap4-select-mailbox): New function.
8403 (Replacement for `elmo-imap4-select-folder').
8404 (elmo-imap4-auth-login): Simplify.
8405 (Assume current buffer as process buffer)
8406 (elmo-imap4-auth-cram-md5): Ditto.
8407 (elmo-imap4-auth-digest-md5): Ditto.
8408 (elmo-imap4-login): Ditto.
8409 (elmo-imap4-open-connection): Abolished.
8410 (elmo-imap4-open-connection-1): Abolished.
8411 (elmo-network-initialize-sessoin): Define.
8412 (elmo-network-authenticate-session): Ditto.
8413 (elmo-network-setup-session): Ditto.
8415 * elmo-net.el: New module.
8417 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8419 * elmo-util.el (elmo-define-error): New function.
8421 * elmo2.el (elmo-error): Define.
8422 (elmo-open-error): Define.
8423 (elmo-authenticate-error): Define.
8425 * elmo-imap4.el (elmo-imap4-error): Abolish.
8426 (elmo-imap4-error-type): Abolish.
8427 (elmo-imap4-error-process): Abolish.
8428 (elmo-imap4-error-message): Abolish
8429 (elmo-imap4-list-folders): Don't quote lambda.
8430 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8431 (elmo-imap4-parse-namespace): Ditto.
8432 (elmo-imap4-open-connection): Rewrite.
8433 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8434 (elmo-imap4-get-connection): Abolish local variable `result'.
8436 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8438 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8439 wrong-type-argument error when auth is nil.
8441 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8443 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8444 (elmo-default-nntp-stream-type): Ditto.
8445 (elmo-default-pop3-stream-type): Ditto.
8446 (elmo-network-stream-type-alist): Ditto.
8447 (elmo-default-imap4-ssl): Abolished.
8448 (elmo-default-nntp-ssl): Ditto.
8449 (elmo-default-pop3-ssl): Ditto.
8451 * elmo-util.el: (toplevel): Removed needless requires.
8452 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8453 (elmo-open-network-stream): Open network stream according to
8454 the value of `elmo-network-stream-type-alist'.
8455 (elmo-get-network-stream-type): New function.
8456 (elmo-network-stream-type-spec-string): New macro.
8457 (elmo-network-stream-type-symbol): Ditto.
8458 (elmo-network-stream-type-function): Ditto.
8460 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8461 network-stream-type. All other related portions are changed.
8462 (elmo-pop3-open-connection): Ditto.
8464 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8465 network-stream-type. All other related portions are changed.
8467 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8468 network-stream-type.All other related portions are changed.
8469 (elmo-imap4-error): New macro.
8470 (elmo-imap4-error-type): Ditto.
8471 (elmo-imap4-error-process): Ditto.
8472 (elmo-imap4-error-message): Ditto.
8473 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8474 (elmo-imap4-auth-cram-md5): Ditto.
8475 (elmo-imap4-auth-digest-md5): Ditto.
8476 (elmo-imap4-login): Ditto.
8477 (elmo-imap4-open-connection): Remove password entry if authentication
8479 (elmo-imap4-user-at-host): Abolished.
8480 (elmo-imap4-password-key): New buffer local variable.
8481 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8482 using protocol, port, auth and stream-type.
8484 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8486 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8488 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8490 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8492 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8493 (elmo-imap4-authenticator-alist): New variable.
8494 (elmo-imap4-open-connection-1): Rename from
8495 elmo-imap4-open-connection.
8496 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8497 only wraps elmo-imap4-open-connection-1.
8498 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8500 (elmo-imap4-auth-login): New function.
8501 (elmo-imap4-auth-cram-md5): New function.
8502 (elmo-imap4-auth-digest-md5): New function.
8503 (elmo-imap4-login): New function.
8505 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8507 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8510 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8512 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8514 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8516 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8518 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8520 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8521 for server responses, quote `*' regardless of where it appears.
8523 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8525 * elmo-maildir.el (elmo-maildir-commit): New alias.
8527 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8529 * elmo-util.el (elmo-display-progress):
8530 Use `progress-feedback-with-label'.
8532 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8534 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8535 (elmo-imap4-non-atom-char-regex): Ditto.
8536 (elmo-imap4-non-text-char-regex): Ditto.
8537 (elmo-imap4-literal-threshold): Ditto.
8538 (elmo-imap4-atom-p): New function.
8539 (elmo-imap4-quotable-p): Ditto.
8540 (elmo-imap4-nil): Ditto.
8541 (elmo-imap4-atom): Ditto.
8542 (elmo-imap4-quoted): Ditto.
8543 (elmo-imap4-literal-subr): Ditto.
8544 (elmo-imap4-literal): Ditto.
8545 (elmo-imap4-buffer-literal): Ditto.
8546 (elmo-imap4-string-subr): Ditto.
8547 (elmo-imap4-string): Ditto.
8548 (elmo-imap4-buffer-string): Ditto.
8549 (elmo-imap4-astring-subr): Ditto.
8550 (elmo-imap4-astring): Ditto.
8551 (elmo-imap4-buffer-astring): Ditto.
8552 (elmo-imap4-nstring): Ditto.
8553 (elmo-imap4-buffer-nstring): Ditto.
8554 (elmo-imap4-mailbox): New alias.
8555 (elmo-imap4-field-body): Ditto.
8556 (elmo-imap4-userid): Ditto.
8557 (elmo-imap4-password): Ditto.
8558 (elmo-imap4-format-quoted): New function.
8559 (elmo-imap4-send-command): Rewritten. Accept a list of command
8560 arguments and handle "atom", "quoted" and "literal" string here.
8561 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8562 `elmo-imap4-send-command'.
8563 (elmo-imap4-folder-exists-p): Likewise.
8564 (elmo-imap4-create-folder): Likewise.
8565 (elmo-imap4-delete-folder): Likewise.
8566 (elmo-imap4-rename-folder): Likewise.
8567 (elmo-imap4-max-of-folder): Likewise.
8568 (elmo-imap4-check-validity): Likewise.
8569 (elmo-imap4-sync-validity): Likewise.
8570 (elmo-imap4-server-diff): Likewise.
8571 (elmo-imap4-select-folder): Likewise.
8572 (elmo-imap4-copy-msgs): Likewise.
8573 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8574 (elmo-imap4-mark-set-on-msgs): Likewise.
8575 (elmo-imap4-read-part): Likewise.
8576 (elmo-imap4-read-msg): Likewise.
8577 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8578 `elmo-imap4-password' for `elmo-imap4-send-command'.
8579 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8580 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8581 `elmo-imap4-buffer-literal'.
8582 (elmo-imap4-append-msg): Likewise.
8584 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8585 `delete' for removing dead connection from the connection cache.
8586 Move deletion of the process buffer after that.
8587 (elmo-imap4-list): Change `defsubst' to `defun'.
8588 (elmo-imap4-commit): Make error message verbose.
8589 (elmo-imap4-search): Ditto.
8590 (elmo-imap4-list): Ditto.
8591 (elmo-imap4-select-folder): Ditto.
8592 (elmo-imap4-copy-msgs): Ditto.
8593 (elmo-imap4-delete-msg-by-id): Ditto.
8594 (elmo-imap4-append-msg-by-id): Ditto.
8595 (elmo-imap4-append-msg): Ditto.
8597 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8599 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8600 when dired is used on XEmacs.
8602 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8604 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8605 instead of `append'.
8606 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8607 `elmo-plugged-p' directly.
8608 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8609 of `elmo-plugged-p' directly.
8611 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8612 Eliminate unused variable. Use `memq' for checking a process status.
8613 Use `cons' instead of `append' for updating the connection cache.
8614 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8615 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8617 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8619 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8620 `elmo-imap4-read-point' exactly.
8622 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8623 the local variable `folder' to `mailbox'.
8624 Rename the argument `fld' to `folder'.
8626 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8628 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8629 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8631 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8633 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8634 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8635 (elmo-pop3-uidl-number-hash): Ditto.
8636 (elmo-pop3-size-hash): Ditto.
8637 (elmo-pop3-uidl-done): Ditto.
8638 (elmo-pop3-list-done): Ditto.
8639 (elmo-pop3-connection-get-process): New defmacro.
8640 (elmo-pop3-connection-get-buffer): Ditto.
8641 (elmo-pop3-close-connection): Delete buffer and process.
8642 (elmo-pop3-flush-connection): Don't delete buffer and process.
8643 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8644 Setup UIDL and size hash.
8645 (elmo-pop3-send-command-no-erase): Deleted
8646 (elmo-pop3-send-command): Added optional argument `no-erase'.
8647 (elmo-pop3-parse-uidl-response): New function.
8648 (elmo-pop3-parse-list-response): Set size hash.
8649 (elmo-pop3-list-location): New function.
8650 (elmo-pop3-list-by-uidl-subr): Ditto.
8651 (elmo-pop3-list-by-list): Ditto.
8652 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8653 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8654 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8655 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8656 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8658 (elmo-pop3-uidl-to-number): New function.
8659 (elmo-pop3-number-to-uidl): Ditto.
8660 (elmo-pop3-number-to-size): Ditto.
8661 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8662 Set number by use of uidl.
8663 (elmo-pop3-msgdb-create-message): Likewise.
8664 Set size, loc-alist in msgdb.
8665 (elmo-pop3-read-msg): Set number by use of uidl.
8666 Added optional argument `msgdb'.
8667 (elmo-pop3-delete-msg): Ditto.
8668 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8669 (elmo-pop3-commit): Close connection.
8671 * elmo-pipe.el (elmo-pipe-max-of-folder):
8672 Bind `elmo-pop3-use-uidl' as nil.
8673 (elmo-pipe-drain): Ditto.
8676 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8677 (elmo-msgdb-overview-entity-set-size): New defsubst.
8679 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8681 * elmo-vars.el (elmo-use-killed-list): New variable
8682 (Renamed from `elmo-nntp-use-killed-list').
8683 (elmo-nntp-use-killed-list): Eliminated.
8685 * elmo-msgdb.el (elmo-msgdb-expand-path):
8686 Changed expanding msgdb path for elmo-multi.
8688 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8689 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8690 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8691 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8692 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8693 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8694 (toplevel): Deleted time-stamp line.
8696 * elmo2.el (elmo-clear-killed ): Defined as function
8697 (Abolished defining as a backend function).
8698 All other related modules are changed.
8700 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8702 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8704 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8706 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8708 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8710 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8712 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8714 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8715 asynchronous folder check.
8717 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8719 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8720 `elmo-nntp-use-killed-list'.
8721 (elmo-nntp-list-folder): Use killed list.
8722 (elmo-nntp-max-of-folder): Ditto.
8723 (elmo-nntp-msgdb-create): Set killed list.
8725 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8727 * elmo2.el (elmo-clear-killed): New backend function.
8728 All other related modules are changed.
8730 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8732 * elmo-util.el (elmo-imap4-spec-folder): Use
8733 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8734 All callers changed.
8736 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8738 * mmelmo-2.el (initialize-instance):
8739 Use `mime-buffer-entity-buffer-internal' instead of
8740 `mime-entity-buffer'.
8742 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8743 (mime-entity-body): Implemented.
8744 (mime-goto-header-start-point): Deleted.
8745 (mime-goto-body-end-point): Ditto.
8746 (mime-entity-point-min): Ditto.
8747 (mime-entity-point-max): Ditto.
8748 (mime-entity-children): Ditto.
8749 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8750 instead of `mime-entity-buffer'.
8751 (mime-entity-header-buffer): Ditto.
8752 (mime-entity-body-buffer): Ditto.
8753 (mime-write-entity-content): Ditto.
8755 * pldap.el (ldap-static-if): New macro.
8756 (toplevel): Use it instead of `static-if'.
8758 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8760 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8761 included in `attrs' argument.
8763 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8765 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8767 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8768 (ldap-ldif-safe-init-char-regexp): Ditto.
8769 (ldap-ldif-safe-string-regexp): Ditto.
8770 (ldap/ldif-safe-string-p): New macro.
8771 (ldap/ldif-insert-field): Ditto.
8772 (ldap-modify): Use it.
8774 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8775 (ldap-decode-attribute): Decode only when `attr' is consp.
8776 (ldap-delete): Bind `ret'.
8777 (toplevel): Require 'cl at compile time.
8778 Removed (require 'poe) and (require 'std11).
8779 (pldap-version): Eliminated.
8780 (ldap-search-basic): Removed auth and dn binding.
8781 (ldap-ldif-field-name-regexp): New constant.
8782 (ldap-ldif-field-head-regexp): Ditto.
8783 (ldap-ldif-next-field-head-regexp): Ditto.
8784 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8785 (ldap/field-end): New function.
8786 (ldap/field-body): Use it.
8787 (ldap/collect-field): Ditto.
8788 (ldap-search-basic): Use `ldap/field-body'.
8790 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8792 * pldap.el (ldap-default-attribute-encoder): New user option.
8793 (ldap/field-body): Decode base64 string.
8794 (ldap/collect-field): Ditto.
8795 (ldap-encode-attribute): New function.
8796 (ldap-add-entries): Use it.
8797 (ldap-modify-entries): Ditto.
8798 (ldap-search-entries): Enclosed decoding function with
8799 `with-temp-buffer' and set as unibyte.
8800 (ldap-search-basic): Set process buffer as unibyte.
8802 * elmo-util.el (elmo-folder-identical-system-p):
8803 Eliminated name space checking.
8805 * pldap.el: New module.
8806 toplevel: Changed condition to detect built-in ldap feature.
8807 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8808 (ldap-add): Added error handling.
8809 (ldap-modify): Ditto.
8810 (ldap-delete): Ditto.
8812 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8814 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8815 Initialize local variables with `let'. Inline a temporary
8816 variable for the progress percentage. Sort `setq' to reduce
8817 function call in the while-loop.
8819 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8820 into the conditional branch.
8822 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8824 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8825 Move a conditional out of the while-loop.
8827 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8829 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8830 elmo-msgdb-overview-get-entity-by-number.
8831 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8834 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8836 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8837 the local variable for a packed number self descriptively.
8839 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8841 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8842 * elmo-localdir.el (elmo-localdir-pack-number): Use
8843 `elmo-msgdb-overview-get-entity' instead of
8844 `elmo-msgdb-overview-get-entity-by-number'.
8845 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8846 (elmo-msgdb-search-overview-entity): Removed.
8847 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8848 by message-id or number.
8849 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8850 instead of `elmo-msgdb-overview-get-entity-by-number'.
8852 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8854 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8855 non-nil, use hash table for overview.
8856 (elmo-hash-maximum-size): New variable.
8857 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8858 (elmo-msgdb-make-overview-hashtb): New function.
8859 (elmo-msgdb-clear-overview-hashtb): New function.
8860 (elmo-clear-hash-val): New macro.
8861 All other related modules are changed.
8863 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8865 * elmo2.el (elmo-move-msgs): If there's other message with
8866 same message-id, don't use cache.
8868 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8870 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8871 number is already packed.
8873 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8875 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8877 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8879 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8880 All other related modules are changed.
8882 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8884 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8885 of refiling failure on Maildir.
8887 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8889 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8890 decoded mime-charset with cache.
8891 (elmo-msgdb-overview-entity-get-from): Ditto.
8892 (elmo-msgdb-overview-entity-get-subject): Ditto.
8893 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8895 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8897 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8898 (elmo-remove-passwd): Fill password with 0 before erase.
8899 * elmo-vars.el (elmo-passwd-life-time): New variable.
8902 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8904 * elmo-cache.el (elmo-buffer-cache-add):
8905 Set message cache buffer as unibyte.
8907 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8909 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8912 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8914 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8915 when display is finished.
8916 (elmo-nntp-msgdb-create): Ditto.
8917 (elmo-nntp-groups-read-response): Ditto.
8918 (elmo-nntp-retrieve-headers): Ditto.
8919 (elmo-nntp-msgdb-create-message): Ditto.
8920 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8921 (elmo-pop3-msgdb-create-message): Ditto.
8923 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8925 * elmo-maildir.el (elmo-maildir-msgdb-create):
8926 Use `elmo-msgdb-sort-by-date'.
8928 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8930 * elmo2.el (elmo-read-msg-no-cache):
8931 Eliminated arguments after `outbuf'.
8932 Don't use cache even if it exists.
8933 (elmo-read-msg): Don't pass arguments after `outbuf' to
8934 `elmo-read-msg-no-cache'.
8936 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8938 * elmo-archive.el (elmo-archive-list-folders):
8939 Use `file-name-directory' if base folder does not exist.
8941 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8943 * elmo-archive.el (elmo-archive-list-folders): Don't use
8944 `file-name-directory'.
8946 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8948 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8949 If `force' is non-nil, try flushing all operation queues.
8951 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8953 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8956 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8958 * elmo-util.el (elmo-display-progress): Fixed.
8960 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8962 * elmo-util.el (elmo-display-progress): New function.
8963 All other related modules are changed.