1 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
4 even if some error occurred.
6 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
7 meaningless unwind-protect.
9 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
10 start-number correctly.
11 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
12 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
14 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
16 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
17 (elmo-folder-initialize): Use it.
18 (elmo-global-flag-replace-referrer): New function.
20 * elmo.el (toplevel): Added autoload setting for
21 `elmo-global-flag-replace-referrer'.
22 (elmo-folder-rename): Rewrite the last change use
23 `elmo-global-flag-replace-referrer'.
25 * elmo-pipe.el (elmo-folder-rename): Call
26 `elmo-global-flag-replace-referrer'.
28 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
30 * elmo.el (elmo-folder-rename): Set meta data for global flags
33 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
35 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
37 (elmo-folder-close): Ditto.
38 (elmo-filter-folder-number-list-loaded-p): New function.
39 (elmo-filter-folder-number-list): Check whether loaded or not.
40 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
41 of `elmo-filter-folder-number-list-internal'.
42 (elmo-folder-delete-messages): Ditto.
43 (elmo-folder-length): Check whether number-list is loaded or not.
45 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
47 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
48 field `real field' into each element of list.
49 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
50 (elmo-msgdb-message-entity-field): Ditto.
51 (modb-entity-ml-info-real-fields): New function.
53 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
55 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
56 `elmo-msgdb-extra-fields'.
58 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
60 * elmo-util.el (elmo-passwd-alist-load): Move point to min
63 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
65 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
66 (elmo-global-flags-initialize): Ditto.
68 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
70 * elmo-archive.el (toplevel): Don't require emu, std11
73 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
76 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
78 * elmo.el (elmo-folder-confirm-appends): Display folder name.
80 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
82 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
85 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
87 * elmo-maildir.el (elmo-maildir-list-location): Reduce
88 `elmo-get-last-modification-time' call.
90 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
92 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
94 (elmo-maildir-set-mark): Ditto.
95 (elmo-maildir-delete-mark): Ditto.
97 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
99 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
100 optional argument `separators'.
102 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
104 * elmo.el (cache-changed): Abolish.
105 (status-changed): New signal.
106 (elmo-message-killed-p): New generic function and define for
108 (elmo-folder-recover-messages): Ditto.
109 (elmo-message-set-cached): Emit signal `status-changed' instead of
111 (elmo-message-status): New macro.
112 (elmo-message-status-folder): Ditto.
113 (elmo-message-status-number): Ditto.
114 (elmo-message-status-set-flags): Ditto.
115 (elmo-message-status-set-killed): Ditto.
116 (elmo-message-status-flags): New function.
117 (elmo-message-status-cached-p): Ditto.
118 (elmo-message-status-killed-p): Ditto.
120 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
121 `status-changed' instead of `cache-changed'.
122 (elmo-folder-recover-messages): Define.
123 (elmo-message-killed-p): Ditto.
125 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
126 `status-changed' instead of `cache-changed'.
128 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
129 (elmo-message-killed-p): Define.
130 (elmo-folder-recover-messages): Ditto.
132 * elmo-version.el (elmo-version): Up to 2.15.3.
134 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
136 * elmo-signal.el (elmo-signal-bindings): Use cons to append
138 (elmo-define-signal-handler): Add docstring.
139 (elmo-define-signal-filter): Ditto.
141 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
143 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
145 * elmo-util.el (elmo-flatten): Don't use recursive call.
147 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
149 (elmo-folder-message-make-temp-files): Use `number-to-string'
150 instead of `int-to-string'.
152 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
154 * elmo-search.el (elmo-folder-delete-messages): Define.
156 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
158 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
160 (elmo-mailing-list-count-spec-list): Ditto.
162 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
165 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
167 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
170 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
172 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
173 (elmo-mailing-list-count-spec-list): Ditto.
175 * elmo-util.el (elmo-map-until-success): New function.
176 (elmo-string-match-substring): Ditto.
177 (elmo-find-list-match-value): Ditto.
179 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
181 (modb-entity-extract-ml-info-from-subject): Ditto.
182 (modb-entity-extract-ml-info-from-return-path): Ditto.
183 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
184 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
185 (modb-entity-extract-ml-info-from-mailman): Ditto.
186 (modb-entity-extract-mailing-list-info-functions): Ditto.
187 (modb-entity-extract-mailing-list-info): Rewrite with
188 `elmo-find-list-match-value'.
190 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
192 * elmo-net.el (elmo-network-session-retry-count): New user option.
193 (elmo-network-session-buffer-name): New internal function.
194 (elmo-network-session-buffer-create): Ditto.
195 (elmo-network-open-session): Retry open network session
196 `elmo-network-session-retry-count' times.
198 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
200 * elmo-util.el (elmo-list-filter): Rewritten.
202 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
204 * elmo-util.el (elmo-string-member): Allow symbol element in list.
206 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
208 * elmo-search.el (elmo-make-search-engine): Use prefix
209 `elmo-search-' for require symbol instead of `else-'.
210 (elmo-search-engine-extprog): New class.
211 (elmo-search-engine-do-search): Remove nil from argument
212 list. Added argument pattern to evaluate element as function.
213 (elmo-search-engine-local-file): Derived from
214 `elmo-search-engine-extprog'.
215 (elmo-search-engine-create-message-entity): Check existance of file.
216 (elmo-search-engine-fetch-message): Ditto.
217 (elmo-search-namazu-index): Follow the API change.
218 (elmo-search-grep-target): Ditto.
220 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
222 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
223 characters of working buffer.
225 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
226 Does not bind `default-mime-charset'.
227 (elmo-msgdb-create-message-entity-from-buffer): Removed
228 unnecessary local bind.
230 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
232 (modb-entity-extract-mailing-list-info-functions): Added it.
234 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
236 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
237 when number and message-id are non-nil.
239 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
241 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
242 conditional steatment.
243 (elmo-pop3-auth-apop): Likewise.
244 (elmo-network-authenticate-session): Likewise.
246 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
248 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
249 symbol `fill-column'.
250 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
253 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
254 (elmo-decoded-field-body): Ditto.
256 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
258 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
259 `tokens' to `params'.
261 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
263 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
266 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
268 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
271 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
273 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
274 Set default value as nil.
275 (toplevel): Register search engines by
276 `elmo-search-register-engine' if there are not defined.
278 * elmo.el (autoload): Added autoload setting for
279 `elmo-search-register-engine'.
281 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
283 * elmo.el (toplevel): `[' is redefined as the prefix of the search
284 folder instead of nmz folder.
285 (elmo-nmz-default-index-path): Added obsolete variable setting.
286 (elmo-nmz-index-alias-alist): Ditto.
287 (elmo-nmz-use-drive-letter): Ditto.
289 * elmo-search.el (elmo-search-register-engine): New function.
291 * elmo-nmz.el: Removed.
293 * elmo-version.el (elmo-version): Up to 2.15.2.
295 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
297 * elmo-search.el: New file.
299 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
301 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
302 condition `larger' and `smaller'.
304 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
306 * elmo-util.el (elmo-safe-filename): Rewrite to replace
307 `"' (double quote) into "_Q_".
309 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
311 * elmo-net.el (elmo-net-quote-chars): Abolish.
312 (elmo-net-format-quoted): Ditto.
314 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
316 * elmo.el (elmo-get-folder-function): New variable.
317 (elmo-get-folder): New function.
318 (elmo-folder-rename): Call `elmo-make-folder' with specified
321 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
323 (elmo-split-subr): Ditto.
325 * elmo-multi.el (elmo-folder-initialize): Ditto.
327 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
329 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
330 (elmo-flag-get-folder): Ditto.
332 * elmo-filter.el (elmo-folder-initialize): Ditto.
334 * elmo-access.el (elmo-folder-initialize): Ditto.
335 (elmo-access-folder-update-children): Ditto.
337 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
338 (elmo-dop-queue-flush): Ditto.
339 (elmo-folder-append-buffer-dop-delayed): Ditto.
340 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
343 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
344 instead of `elmo-make-folder'.
345 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
346 destination folder instead of send `elmo-folder-rename-internal'.
348 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
349 slot of subfolder instead of create it.
351 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
353 * elmo-util.el (elmo-collect-separators): New function.
354 (elmo-collect-separators-internal): Ditto.
355 (elmo-collect-trail-separators): Ditto.
356 (elmo-parse-separated-tokens): Ditto.
357 (elmo-parse-separated-tokens-internal): Ditto.
358 (elmo-quote-syntactical-element): Ditto.
360 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
361 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
363 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
364 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
365 (elmo-nntp-folder-list-subfolders): Quote a user name.
367 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
368 (elmo-net-parse-network): Abolish.
369 (elmo-net-folder-set-parameters): New function.
370 (elmo-folder-initialize): Follow the above change.
372 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
373 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
374 (elmo-folder-list-subfolders): Use
375 `elmo-quote-syntactical-element' instead of
376 `elmo-net-format-quoted' to quote mailbox and user name.
378 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
380 * elmo-util.el (elmo-token-valid-p): New function.
381 (elmo-parse-token): Add optional argument `requirement'.
382 (elmo-parse-prefixed-element): Likewise.
384 * elmo-net.el (elmo-net-quote-chars): Renamed from
385 `elmo-net-quote-chars-regexp'.
386 (elmo-net-format-quoted): Add optional argument `extra-chars'.
388 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
389 by info document. Check token `uidl' is started an alphabet.
391 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
392 by info document. Check token `user' is started an alphabet.
394 * elmo-imap4.el (elmo-folder-initialize): Ditto.
395 (elmo-folder-list-subfolders): Quote user.
397 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
399 * elmo-util.el (elmo-quoted-specials-list): New constant.
400 (elmo-quoted-token): New function.
402 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
403 (elmo-net-format-quoted): New function.
404 (elmo-net-parse-network): Ditto.
405 (elmo-folder-initialize): Use it.
407 * elmo-nntp.el (elmo-folder-initialize): Use
408 `elmo-net-parse-network' to parse network specification instead of
409 `elmo-folder-initialize#elmo-net'.
411 * elmo-pop3.el (elmo-folder-initialize): Ditto.
413 * elmo-imap4.el (elmo-folder-initialize): Ditto.
414 (elmo-folder-list-subfolders): Quote folder name by
415 `elmo-net-format-quoted'.
417 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
419 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
420 (elmo-folder-search): Use it.
422 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
424 * modb-standard.el (modb-standard-loaded-message-id): Use
425 `elmo-msgdb-message-entity-field'.
427 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
429 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
432 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
434 * elmo-util.el (elmo-set-auto-coding): New function.
435 (elmo-object-load): Use it.
437 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
439 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
440 (elmo-time<): Define as alias of `elmo-time-less-p'.
441 (elmo-time-to-datevec): New function.
443 * elmo-date.el (elmo-time-to-days): New function.
445 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
447 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
450 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
452 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
455 * elmo-util.el (elmo-map-recursive): New function.
457 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
458 (modb-entity-encode-string-recursive): Ditto.
460 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
462 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
463 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
464 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
465 compare sequence number when last modified time is nil.
467 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
469 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
471 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
473 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
475 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
476 modification time of the file.
478 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
480 * elmo-util.el (elmo-condition-optimize): Discriminated against
481 preserved fields, extra fields and the other weight.
483 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
485 * modb-entity.el (initialize-instance): Define.
486 (modb-entity-handler-mime-charset): New internal function.
487 (modb-standard-entity-set-field): Use it.
488 (elmo-msgdb-message-entity-field): Ditto.
489 (elmo-msgdb-message-entity-field): Ditto.
491 * modb.el (elmo-msgdb-match-condition): Rewrite with
492 `elmo-condition-match'.
493 (elmo-msgdb-match-condition-primitive): New function.
495 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
496 arguments `flags' and `numbers'.
497 (elmo-msgdb-match-condition-primitive): Abolished (merged to
498 `elmo-msgdb-message-match-condition').
499 (modb-buffer-entity-handler): New class.
501 * elmo.el (elmo-folder-search): Optimize condition to use
502 `elmo-condition-optimize'.
503 (elmo-message-buffer-match-condition): New function.
504 (elmo-message-match-condition): Use
505 `elmo-message-buffer-match-condition' instead of
506 `elmo-buffer-field-condition-match'.
508 * elmo-util.el (elmo-condition-match): New function.
509 (elmo-condition-optimize): Ditto.
510 (elmo-buffer-field-primitive-condition-match): Abolish.
511 (elmo-buffer-field-condition-match): Ditto.
513 * elmo-archive.el (elmo-archive-field-condition-match): Use
514 `elmo-message-buffer-match-condition' instead of
515 `elmo-buffer-field-condition-match'.
517 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
519 * elmo-flag.el (elmo-global-flags-initialize): Check the
520 existence of the flag directory.
522 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
524 * elmo-access.el (elmo-folder-initialize): Call
525 `elmo-multi-connect-signals'.
527 * elmo-pipe.el (elmo-folder-close): Define.
529 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
532 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
535 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
538 * elmo-multi.el (elmo-message-entity): Don't use return value of
539 `elmo-message-entity-set-number'.
541 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
543 * modb.el (modb-generic): Added slot `mime-charset'.
545 * modb-standard.el (modb-standard): Added slot `overview-handler'.
546 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
547 and `modb-entity-handler-dump-parameters'.
548 (modb-standard-default-entity-handler): Abolish.
549 (elmo-msgdb-message-entity-handler): Save created handler by
552 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
553 (modb-entity-handler-list-parameters): New method.
554 (modb-entity-handler-equal-p): New function.
555 (modb-entity-handler-dump-parameters): Ditto.
556 (modb-entity-parse-address-string): Encode return value.
557 (modb-entity-make-address-string): Decode argument value.
558 (modb-entity-decode-string-recursive): New function.
559 (modb-entity-encode-string-recursive): Ditto.
560 (modb-standard-entity-normalizer): Set to encode field value.
561 (modb-standard-entity-specializer): Follow the above change.
562 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
563 mime-charset of handler.
564 (elmo-msgdb-message-entity-field): Ditto.
565 (elmo-msgdb-copy-message-entity): Fixed reference to internal
567 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
569 * elmo.el (elmo-folder): Added slot `mime-charset'.
570 (elmo-make-folder): Added argument `mime-charset'.
571 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
574 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
575 (elmo-make-msgdb): Likewise.
577 * elmo-internal.el (elmo-internal-folder-initialize): Call
578 `luna-make-entity' with :mime-charset parameter.
580 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
582 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
583 encoded words in `from' and `subject' field.
585 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
587 * modb.el (elmo-msgdb-message-field): Add argument `type'.
588 (elmo-msgdb-match-condition): Get handler from entity instead of
591 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
592 (modb-standard-load-entity): Treat new file format.
593 (modb-standard-save-entity-1): Save as new file format.
594 (modb-standard-save-entity): Split messages into section here.
595 (elmo-msgdb-message-field): Follow the API change.
596 (modb-standard-default-entity-handler): New internal variable.
597 (elmo-msgdb-message-entity-handler): Define.
599 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
601 (modb-entity-field-extractor-alist): New user option.
602 (elmo-msgdb-message-entity-field): Removed argument `decode' and
603 added argument `type'.
604 (elmo-msgdb-copy-message-entity): Add optional argument
606 (modb-set-field-converter): New function.
607 (modb-convert-field-value): Ditto.
608 (modb-entity-string-decoder): Ditto.
609 (modb-entity-string-encoder): Ditto.
610 (modb-entity-parse-date-string): Ditto.
611 (modb-entity-make-date-string): Ditto.
612 (modb-entity-mime-decoder): Ditto.
613 (modb-entity-mime-encoder): Ditto.
614 (modb-entity-address-list-decoder): Ditto.
615 (modb-entity-address-list-encoder): Ditto.
616 (modb-entity-parse-address-string): Ditto.
617 (modb-entity-make-address-string): Ditto.
618 (modb-entity-create-field-indices): Ditto.
619 (modb-legacy-entity-field-slots): New constant.
620 (modb-legacy-entity-field-indices): Ditto.
621 (modb-legacy-entity-normalizer): New variable.
622 (modb-legacy-entity-specializer): Ditto.
623 (modb-legacy-entity-field-index): New macro.
624 (modb-legacy-entity-set-field): New function.
625 (modb-legacy-make-message-entity): Rewrite.
626 (elmo-msgdb-create-message-entity-from-buffer): Use
627 `elmo-msgdb-get-references-from-buffer'. Use
628 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
629 Use `modb-legacy-entity-set-field' instead of
630 `elmo-msgdb-message-entity-set-field'.
631 (elmo-msgdb-message-entity-field): Rewrite.
632 (elmo-msgdb-message-entity-set-field): Ditto.
633 (elmo-msgdb-copy-message-entity): Make new entity by
634 `make-handler' if it specified.
635 (elmo-msgdb-message-match-condition): Define a method of
636 `modb-entity-handler' and follow the API change.
637 (modb-standard-entity-handler): New class.
638 (modb-entity-extract-ml-info-from-x-sequence): New function.
639 (modb-entity-extract-ml-info-from-subject): Ditto.
640 (modb-entity-extract-ml-info-from-return-path): Ditto.
641 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
642 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
643 (modb-entity-extract-mailing-list-info): Ditto.
644 (modb-entity-extract-mailing-list-info-functions): New variable.
646 * elmo.el (elmo-message-field): Add optional argument `type'.
648 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
649 from `modb-entity.el'.
651 * elmo-util.el (elmo-object-load): Decode by coding-system from
652 `set-auto-coding-function'.
653 (elmo-object-save): Use `detect-mime-charset-region' and add
654 coding cookie if encode.
655 (elmo-msgdb-get-references-from-buffer): New function.
656 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
658 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
660 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
661 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
662 instead of `shimbun-make-header' and follow the API change.
663 (elmo-shimbun-update-overview): Follow the API change.
664 (elmo-map-folder-list-message-locations): Ditto.
666 * elmo-pipe.el (elmo-message-field): Ditto.
668 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
671 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
673 * elmo-multi.el (elmo-message-field): Ditto.
675 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
676 (elmo-msgdb-sort-by-date): Ditto.
677 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
678 `elmo-message-entity-field'.
679 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
681 (elmo-msgdb-overview-entity-get-from): Ditto.
682 (elmo-msgdb-overview-entity-get-subject): Ditto.
683 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
684 (elmo-msgdb-overview-entity-get-date): Ditto.
685 (elmo-msgdb-overview-entity-get-to): Ditto.
686 (elmo-msgdb-overview-entity-get-cc): Ditto.
688 * elmo-mime.el (elmo-message-mime-entity): Ditto.
689 (elmo-mime-collect-message/partial-pieces): Ditto.
691 * elmo-filter.el (elmo-message-field): Ditto.
693 * elmo-date.el (elmo-datevec-to-time): New function.
694 (elmo-time-parse-date-string): Ditto.
695 (elmo-time-make-date-string): Ditto.
698 * elmo-version.el (elmo-version): Up to 2.15.1.
700 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
702 * elmo-flag.el (elmo-global-flags-initialize): Don't include
703 member of elmo-local-flags.
705 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
707 * elmo-version.el (elmo-version): Up to 2.15.0.
709 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
711 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
712 `ignore-msgdb' is non-nil.
714 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
716 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
717 (elmo-condition-in-msgdb-p): Ditto.
718 (elmo-file-field-primitive-condition-match): Ditto.
719 (elmo-file-field-condition-match): Ditto.
721 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
723 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
725 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
727 (elmo-global-flags-initialize): New function.
729 * elmo.el (toplevel): Added autoload setting for
730 `elmo-global-flags-initialize'.
732 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
734 * elmo.el (message-number-changed): Define new signal.
735 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
736 message-number-changed signal.
737 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
738 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
739 Respect `elmo-pack-number-check-strict'.
741 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
743 * elmo-signal.el (elmo-connect-signal): Document.
744 (elmo-emit-signal): Ditto.
745 (elmo-emit-signal): It should pass source argument to filter and
746 handler, not slot-source.
748 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
750 * modb.el (elmo-msgdb-update-entity): New API and define generic
753 * modb-standard.el (elmo-msgdb-update-entity): Define.
755 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
756 API and define generic implement.
758 * elmo.el (update-overview): New singnal.
760 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
761 `elmo-msgdb-update-entity' and emit signal `update-overview'.
762 (elmo-message-entity-parent): Define.
764 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
767 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
769 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
771 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
773 * elmo.el (elmo-folder-synchronize): Sort the return value of
776 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
779 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
781 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
782 `default-enable-multibyte-characters'.
783 (elmo-object-load): Use `with-temp-buffer' instead of
785 (elmo-object-save): Ditto.
786 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
788 (elmo-decoded-field-body): Ditto.
790 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
792 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
793 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
795 * elmo-version.el (elmo-version): Up to 2.13.3.
797 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
799 * elmo-util.el (elmo-list-diff): Fix the last change.
800 Reverse order of result lists.
802 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
804 * modb-standard.el (elmo-msgdb-set-flag): Use
805 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
806 (elmo-msgdb-unset-flag): Ditto.
808 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
811 * elmo-util.el (elmo-list-diff): Rewrite.
812 (elmo-list-diff-nonsortable): New function.
814 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
816 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
817 `elmo-multibypte-buffer-name'. All referers are updated.
819 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
821 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
822 (elmo-mime-entity-fragment-p): New function.
823 (mime-elmo-buffer-entity): Added slot `reassembled'.
824 (elmo-message-mime-entity): Added 4th argument `reassemble'.
825 (elmo-message-mime-entity-internal): New function (renamed from
826 `elmo-message-mime-entity').
827 (elmo-mime-inherit-field-list-from-enclosed): New constant.
828 (elmo-mime-make-reassembled-mime-entity): New function.
829 (elmo-message-reassembled-mime-entity): Ditto.
830 (elmo-mime-collect-message/partial-pieces): Ditto.
832 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
834 * elmo.el (elmo-message-fetch-string): Disable multibyte.
836 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
837 (elmo-with-enable-multibyte): New macro.
839 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
841 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
843 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
845 (elmo-filter-connect-signals): Follow the above change.
847 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
849 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
851 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
852 that only the first flag is used.
854 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
856 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
859 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
861 * elmo-signal.el: New file.
863 * elmo.el (toplevel): Require elmo-signal.
864 (flag-changing, flag-changed, cache-changed): New signal.
865 (elmo-folder): Remove slog `handlers'.
866 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
867 `elmo-folder-notify-event'.
868 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
869 (elmo-folder-unset-flag): Ditto.
870 (elmo-event-handler): Abolish.
871 (elmo-event-handler-flag-changed): Ditto.
872 (elmo-event-handler-cache-changed): Ditto.
873 (elmo-folder-add-handler): Ditto.
874 (elmo-folder-remove-handler): Ditto.
875 (elmo-folder-notify-event): Ditto.
877 * elmo-pipe.el (toplevel): Require elmo-signal.
878 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
879 (elmo-pipe-connect-signals): New function.
880 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
881 (elmo-folder-set-flag): Ditto.
882 (elmo-folder-unset-flag): Ditto.
883 (elmo-message-set-cached): Ditto.
885 * elmo-multi.el (toplevel): Require elmo-signal.
886 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
887 (elmo-multi-connect-signals): New function.
888 (elmo-multi-map-numbers): Ditto.
889 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
890 (elmo-message-fetch): Ditto.
891 (elmo-folder-set-flag): Ditto.
892 (elmo-folder-unset-flag): Ditto.
894 * elmo-filter.el (toplevel): Require elmo-signal.
895 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
896 (elmo-filter-connect-signals): New function.
897 (elmo-filter-add-flag-count): Ditto.
898 (elmo-message-fetch): Does not call
899 `elmo-filter-folder-countup-message-flags' and
900 `elmo-folder-notify-event'.
901 (elmo-message-set-cached): Ditto.
902 (elmo-folder-set-flag): Ditto.
903 (elmo-folder-unset-flag): Ditto.
905 * elmo-version.el (elmo-version): Up to 2.13.2.
907 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
909 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
912 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
914 * elmo-filter.el (elmo-message-set-cached): Call
915 `elmo-folder-notify-event' with event `cache-changed'.
917 * elmo-multi.el (elmo-message-set-cached): Ditto.
919 * elmo-pipe.el (elmo-message-set-cached): Ditto.
921 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
923 * elmo.el (elmo-folder-encache): Abolish.
925 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
927 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
928 (elmo-folder-next-message-number-dop): Return appropriate negative
931 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
933 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
934 clearing pending operations.
935 (elmo-folder-next-message-number-dop): Return appropriate negative
938 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
940 * elmo.el (toplevel): Added autoload setting for `md5'.
941 (elmo-msgdb-path-encode-threshold): New user option.
942 (elmo-folder-msgdb-path): Encode msgdb path if its length is
943 longer than `elmo-msgdb-path-encode-threshold'.
945 * elmo-flag.el (elmo-global-mark-migrate): Use
946 `elmo-folder-expand-msgdb-path' instead of
947 `elmo-folder-msgdb-path'.
949 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
951 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
952 element of the difference is nil.
954 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
956 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
957 to the check logic of file systems which are weak in colon character.
959 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
961 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
963 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
965 * elmo-maildir.el (elmo-maildir-move-file): New function.
966 (elmo-folder-append-buffer): Use it.
967 (elmo-folder-append-messages): Ditto.
968 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
970 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
971 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
973 * elmo-maildir.el (elmo-maildir-separator): New user option.
974 (elmo-maildir-adjust-separator): New macro.
975 (elmo-maildir-list-location): Use it.
976 (elmo-maildir-update-current): Ditto.
977 (elmo-maildir-set-mark): Ditto.
978 (elmo-maildir-delete-mark): Ditto.
979 (These changes are based on Hiroya Murata's patch [wl: 13437])
981 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
983 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
985 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
987 * elmo-flag.el (elmo-flag-valid-p): Simplify.
988 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
989 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
991 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
993 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
994 Use `with-temp-buffer'.
996 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
998 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1000 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1001 `wl-read-search-condition').
1002 (elmo-read-search-condition-internal): Likewise.
1004 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1005 (elmo-flag-valid-p): New function.
1006 (elmo-folder-initialize): Check flag name is valid.
1008 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1010 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1011 delimiter to obtain root mailbox itself.
1013 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1015 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1018 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1020 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1023 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1025 * elmo-shimbun.el (toplevel): Require cl at compile.
1027 * elmo-nntp.el (toplevel): Ditto.
1029 * elmo-nmz.el (toplevel): Ditto.
1031 * elmo-multi.el (toplevel): Ditto.
1033 * elmo-file.el (toplevel): Ditto.
1035 * elmo-dop.el (toplevel): Ditto.
1037 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1039 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1041 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1044 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1045 size of elmo-message-fetch-internal is 0 byte.
1047 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1049 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1051 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1053 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1056 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1058 * elmo-maildir.el (elmo-map-message-fetch): Call
1059 `elmo-map-folder-set-flag'.
1061 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1062 (elmo-message-fetch): Merge from
1063 `elmo-message-fetch-with-cache-process'.
1065 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1066 (elmo-message-fetch): Define.
1068 * elmo-nntp.el (elmo-message-fetch): Renamed from
1069 `elmo-message-fetch-with-cache-process'.
1071 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1072 (elmo-message-fetch): Define.
1074 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1077 * elmo-shimbun.el (shimbun-mua-search-id): Use
1078 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1079 (elmo-shimbun-folder-shimbun-header): Ditto.
1080 (elmo-shimbun-get-headers): Ditto.
1081 (elmo-shimbun-update-overview): Ditto.
1083 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1085 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1086 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1088 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1090 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1092 (elmo-message-fetch-string): Fixed argument.
1094 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1096 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1097 exchange order of arguments `section' and `unread'.
1098 (elmo-message-encache): Follow the API change.
1099 (elmo-message-match-condition): Ditto.
1100 (elmo-generic-folder-append-messages): Ditto.
1101 (elmo-message-fetch-string): New function.
1103 * elmo-split.el (elmo-split-subr): Ditto.
1105 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1107 * elmo-pipe.el (elmo-message-fetch): Ditto.
1109 * elmo-multi.el (elmo-message-fetch): Ditto.
1111 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1113 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1115 * elmo-filter.el (elmo-message-fetch): Ditto.
1117 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1119 * elmo-imap4.el (mime-imap-location-section-body): Use
1120 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1121 follow the API change.
1123 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1125 * elmo-access.el: New file.
1127 * elmo-null.el: Ditto.
1129 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1131 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1133 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1134 (elmo-network-session): New attribute `last-accessed'.
1135 (elmo-network-get-session): Discard network cache if elapsed time
1136 since last-accessed is larger than elmo-network-session-idle-timeout.
1138 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1140 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1141 and added `number', `require-entireness'.
1142 (elmo-find-fetch-strategy): Rewrite.
1143 (elmo-message-fetch): Unset `unread' flag when argument unread is
1146 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1148 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1149 (elmo-message-fetch): Notify event `flag-changed'.
1151 * elmo-pipe.el: Likewise.
1153 * elmo-mime.el (elmo-mime-entity): New class.
1154 (elmo-mime-entity-display-p): New generic function.
1155 (elmo-mime-entity-display): Ditto.
1156 (elmo-mime-entity-display-as-is): Ditto.
1157 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1159 (elmo-make-mime-message-location): Removed.
1160 (elmo-mime-message-display): Ditto.
1161 (elmo-mime-display-as-is): Ditto.
1162 (elmo-message-mime-entity): New function.
1164 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1166 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1168 (elmo-message-fetch): Re-count flagged message number and notify
1169 event `flag-changed'.
1171 * elmo-version.el (elmo-version): Up to 2.13.1.
1173 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1175 * elmo-filter.el (elmo-message-field): Define.
1176 (elmo-message-set-field): Ditto.
1178 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1180 * elmo.el (elmo-message-set-cached): Call
1181 `elmo-folder-notify-event' with cache-changed.
1182 (elmo-event-handler-cache-changed): New generic function.
1184 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1186 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1187 instead of elmo-add-name-to-file.
1188 (elmo-folder-append-messages): Ditto.
1190 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1192 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1194 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1196 * elmo-version.el (elmo-version): Up to 2.13.0.
1198 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1201 * modb-standard.el (modb-standard-economize-entity-size): Changed
1202 default value to `t'.
1204 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1207 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1208 after parsing greeting string.
1210 2004-11-23 Daishi Kato <daishi@axlight.com>
1212 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1214 (elmo-spam-spamoracle-call): Use it.
1216 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1218 * elmo.el (elmo-message-accessible-p): Message in dop spool
1221 2004-11-23 Daishi Kato <daishi@axlight.com>
1223 * elsp-spamoracle.el: New file.
1225 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1227 * elmo.el (elmo-message-flags-for-append): New function.
1228 (elmo-generic-folder-append-messages): Use it.
1230 * elmo-split.el (elmo-split-subr): Ditto.
1232 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1233 `flags' and use elmo-folder-append-buffer instead of
1234 write-region-as-binary.
1235 (elmo-dop-filter-pending-messages): New function.
1236 (elmo-folder-append-buffer-dop): Call
1237 elmo-dop-spool-folder-append-buffer with `flag'.
1238 (elmo-folder-set-flag-dop): Filter messages by
1239 elmo-dop-filter-pending-messages.
1240 (elmo-folder-unset-flag-dop): Ditto.
1241 (elmo-folder-append-buffer-dop-delayed): Use
1242 elmo-message-flags-for-append to get flags of the message and
1245 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1247 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1249 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1251 * elmo.el (elmo-folder): Added handlers slot.
1252 (elmo-event-handler): New class.
1253 (elmo-event-handler-flag-changed): New API.
1254 (elmo-folder-add-handler): New function.
1255 (elmo-folder-remove-handler): Ditto.
1256 (elmo-folder-notify-event): Ditto.
1257 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1259 (elmo-folder-unset-flag): Ditto.
1261 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1262 (elmo-folder-unset-flag): Ditto.
1264 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1265 (elmo-folder-unset-flag): Ditto.
1267 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1268 (elmo-folder-unset-flag): Ditto.
1270 * elmo-version.el (elmo-version): Up to 2.11.33.
1272 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1274 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1276 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1278 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1280 * elmo-flag.el (elmo-folder-unset-flag): Define.
1281 (elmo-global-flag-detach): Do process when the flag is not target
1284 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1286 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1288 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1290 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1292 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1294 (elmo-folder-delete-messages): Detach messages before delete
1295 messages from target folder.
1296 (elmo-folder-detach-messages): Set updated number-list to slot.
1298 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1300 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1302 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1304 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1306 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1308 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1310 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1312 (elmo-folder-delete-messages): Define.
1313 (elmo-folder-move-messages): Don't call
1314 `elmo-folder-detach-messages'.
1315 (elmo-folder-synchronize): Rewrite.
1316 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1318 * elmo-util.el (elmo-last): New function.
1319 (elmo-set-list): Ditto.
1320 (elmo-number-set-delete-list): Ditto.
1321 (elmo-number-set-delete): Ditto.
1323 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1325 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1326 `elmo-folder-delete-messages' and don't delete location map.
1327 (elmo-folder-detach-messages): Define.
1329 * elmo-imap4.el (elmo-folder-delete): Use
1330 `elmo-folder-delete-messages-internal' instead of
1331 `elmo-folder-delete-messages'.
1333 * elmo-filter.el (elmo-folder-delete-messages): Call
1334 `elmo-folder-detach-messages'.
1335 (elmo-folder-detach-messages): Don't call
1336 `elmo-folder-detach-messages' for target folder.
1338 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1339 message deletion is succeeded.
1341 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1343 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1344 from `elmo-folder-delete-messages'.
1346 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1348 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1350 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1352 * elmo-version.el (elmo-version): Up to 2.11.32.
1354 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1356 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1357 (elmo-global-flag-list): Added obsolete variable setting.
1359 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1361 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1362 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1363 `elmo-mime-display-header-analysis' is nil.
1365 * elmo-flag.el (elmo-global-flags): Renamed from
1366 `elmo-global-flag-list' (All other related portions are changed).
1367 (elmo-local-flags): New variable.
1368 (elmo-local-flag-p): New function.
1369 (elmo-global-flag-set-internal): Cause an error when flag is not
1372 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1374 * elmo-util.el (elmo-concat-path): Treat empty path.
1376 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1378 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1380 (elmo-split-address-match): Ditto.
1381 (elmo-split-equal): Ditto.
1382 (elmo-split-match): Ditto.
1384 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1386 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1387 (elmo-generic-folder-append-messages): If src message exists but
1388 has no flag, pass (read) for the FLAG argument of
1389 `elmo-folder-append-buffer'. Otherwise, pass nil.
1391 * elmo-split.el (elmo-split-subr): Likewise.
1393 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1395 * elmo-multi.el (elmo-message-flags): Ditto.
1397 * elmo-filter.el (elmo-message-flags): Ditto.
1399 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1400 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1401 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1403 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1405 * elmo-split.el (elmo-split-rule): Update comment.
1406 (elmo-split-address-equal): Allow 2nd argument to be a list.
1407 (elmo-split-address-match): Ditto.
1408 (elmo-split-equal): Ditto.
1409 (elmo-split-match): Ditto.
1411 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1413 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1414 (elmo-folder-append-msgdb): Don't treat `read'.
1415 (elmo-message-flags): Don't return `read'.
1417 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1418 (elmo-folder-unset-read-delayed): Ditto.
1420 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1422 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1424 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1427 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1429 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1432 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1434 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1436 (elmo-msgdb-save): Bind inhibit-quit.
1437 (modb-standard-message-entity): Ditto.
1439 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1441 * elmo-database.el: No need to require elmo-msgdb.
1443 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1445 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1446 instead of `elmo-list-subdirectories'.
1448 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1450 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1452 (elmo-folder-exists-p): "[" is empty.
1453 (elmo-folder-list-subfolders): Define.
1454 (elmo-folder-have-subfolder-p): Ditto.
1456 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1458 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1460 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1462 * elmo-filter.el (elmo-folder-local-p): Define.
1464 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1466 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1467 when entity is garbaged.
1468 (modb-standard-save-entity-1): Don't modify the original entity.
1470 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1472 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1474 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1476 * elmo.el (elmo-strict-folder-diff): Use
1477 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1479 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1481 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1482 (elmo-msgdb-message-number): Ditto.
1483 (elmo-msgdb-message-field): Ditto.
1485 * modb-standard.el (modb-standard-economize-entity-size): New user
1487 (modb-standard-loaded-message-id): New inline function.
1488 (modb-standard-load-entity): Use it.
1489 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1490 throw message-id string away.
1491 (elmo-msgdb-flag-available-p): Define.
1492 (elmo-msgdb-message-number): Ditto.
1493 (elmo-msgdb-message-field): Ditto.
1495 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1496 (suppoted -> supported).
1497 (modb-legacy-supported-flag-p): Ditto.
1498 (elmo-msgdb-set-flag): Ditto.
1499 (elmo-msgdb-unset-flag): Ditto.
1500 (elmo-msgdb-flag-available-p): Define.
1502 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1503 is `t', treat it as legacy entity.
1505 * elmo.el (elmo-message-flag-available-p): New generic function.
1506 (elmo-message-number): Ditto.
1507 (elmo-message-field): Use `elmo-msgdb-message-field'.
1509 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1511 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1512 (elmo-message-number): Ditto.
1514 * elmo-multi.el (elmo-message-number): Define.
1515 (elmo-message-flag-available-p): Ditto.
1517 * elmo-filter.el (elmo-message-flag-available-p): Define.
1518 (elmo-message-number): Ditto.
1520 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1521 (elmo-folder-initialize): Load `max-number'.
1522 (elmo-folder-commit): Save it.
1523 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1524 (elmo-global-flag-set-internal): Set up max-number slot.
1526 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1528 * elmo-version.el (elmo-version): Up to 2.11.31.
1530 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1532 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1533 unibyte string of the current buffer for the argument of `md5'
1534 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1536 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1538 * modb-legacy.el (modb-legacy-flag-list): New constant.
1539 (modb-legacy-suppoted-flag-p): New internal function.
1540 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1541 (elmo-msgdb-unset-flag): Ditto.
1543 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1545 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1547 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1550 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1552 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1553 (follow the API change).
1555 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1557 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1559 * modb-standard.el (modb-standard-digest-flags): Abolish.
1560 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1562 * elmo-vars.el (elmo-digest-flags): New variable.
1563 (elmo-preserved-flags): Moved from elmo-flag.el.
1565 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1566 (elmo-imap4-flag-to-imap-criteria): Ditto.
1567 (elmo-imap4-folder-list-flagged): Use it.
1569 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1571 * elmo.el (elmo-folder-count-flags): Changed return value.
1573 * elmo-flag.el (elmo-preserved-flags): New variable.
1574 (elmo-get-global-flags): Use it.
1576 * modb-standard.el (modb-standard-digest-flags): New variable.
1577 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1578 Changed behavior of `any'.
1580 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1581 which are defined the Internet draft
1582 (draft-melnikov-imap-keywords-03.txt).
1583 (elmo-imap4-flags-to-imap): New function.
1584 (elmo-folder-append-buffer): Use it.
1586 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1589 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1590 avoid the bug of Emacs 21.3.
1592 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1594 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1595 function find-coding-system does not exist.
1597 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1599 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1602 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1604 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1607 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1609 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1610 (elmo-network-close-session): Follow the changes in
1611 `elmo-pop3-read-response'.
1612 (elmo-pop3-auth-user): Ditto.
1613 (elmo-pop3-auth-apop): Ditto.
1614 (elmo-network-initialize-session): Ditto.
1615 (elmo-network-authenticate-session): Ditto.
1616 (elmo-network-setup-session): Ditto.
1617 (elmo-folder-status): Ditto.
1618 (elmo-message-fetch-plugged): Ditto.
1619 (elmo-pop3-delete-msg): Ditto.
1621 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1623 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1626 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1628 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1630 (elmo-bind-directory): Ditto.
1632 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1634 * elmo.el (elmo-folder-append-messages): Note on return value.
1635 * elmo-archive.el (elmo-folder-append-messages): Don't return
1636 message numbers which could not be appended.
1638 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1640 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1642 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1644 * elmo-version.el (elmo-version): Up to 2.11.30.
1646 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1648 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1651 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1653 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1654 (elmo-multi-split-numbers): Add elmo-folder object into each
1655 element of return value at first.
1656 (elmo-folder-delete-messages): Follow the above change.
1657 (elmo-folder-detach-messages): Ditto.
1659 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1660 number which is synchronized in target folder.
1662 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1664 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1665 Change default value to symbol `all'.
1666 (elmo-map-message-fetch): Change condition to update overview
1669 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1671 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1672 behavior to update overview.
1673 (elmo-shimbun-update-overview-folder-list): Note it.
1675 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1677 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1680 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1682 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1683 buffer-disable-undo, it is unnecessary.
1684 (elmo-spam-register-good-messages): Ditto.
1686 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1689 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1691 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1693 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1694 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1695 elmo-set-buffer-multibyte.
1696 (elmo-object-load): Ditto.
1697 (elmo-save-buffer): Ditto.
1698 (elmo-delete-char): Ditto.
1699 (elmo-file-field-primitive-condition-match): Ditto.
1700 (elmo-mime-string): Ditto.
1702 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1703 (elmo-archive-field-condition-match): Ditto.
1705 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1707 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1709 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1710 (elmo-nntp-msgdb-create-message): Ditto.
1712 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1714 * elmo.el (elmo-message-match-condition): Ditto.
1715 (elmo-message-match-condition): Ditto.
1717 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1720 * elmo-version.el (elmo-version): Up to 2.11.29.
1722 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1723 (elsp-header): New backend.
1725 * elmo-util.el (elmo-decoded-field-body): New function.
1727 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1729 * elmo-version.el (elmo-version): Up to 2.11.28.
1731 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1733 * elmo-filter.el: Rewrite.
1735 * elmo-version.el (elmo-version): Up to 2.11.27.
1737 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1739 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1740 msgdb path for the localdir folder with absolute path.
1742 * utf7.el: Synch up with latest gnus/utf7.el;
1743 Modified for latest Emacs.
1745 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1747 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1748 shimbun backend couldn't open.
1750 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1752 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1753 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1754 when a destination folder is a filter folder.
1756 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1758 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1759 (elmo-generic-folder-append-messages): Call elmo-message-flags
1760 with argument `msgid'.
1762 * elmo-split.el (elmo-split-subr): Ditto.
1764 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1766 * elmo-multi.el (elmo-message-flags): Ditto.
1768 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1770 * elmo.el (elmo-folder): Add new slot `flag-table'.
1771 (elmo-folder-flag-table): New API.
1772 (elmo-folder-close-flag-table): Ditto.
1773 (elmo-folder-preserve-flags): New function.
1774 (elmo-generic-folder-append-messages): Use
1775 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1776 Flag of a non-registered message, it sets to nil.
1777 Does not set flag to flag-table.
1779 * elmo-maildir.el (elmo-folder-append-buffer): Use
1780 `elmo-folder-preserve-flags'.
1781 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1782 `elmo-folder-close-flag-table'.
1784 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1785 (elmo-archive-folder-append-buffer): Use
1786 `elmo-folder-preserve-flags'.
1788 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1790 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1792 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1793 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1794 `elmo-folder-close-flag-table'.
1796 * elmo-version.el (elmo-version): Up to 2.11.26.
1798 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1800 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1802 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1803 md5's 4th and 5th argument (non-existent in flim one).
1805 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1807 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1808 message, It sets to nil.
1810 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1812 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1815 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1817 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1819 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1821 * elmo-util.el (elmo-uniq-sorted-list): New function.
1822 (elmo-make-number-list): Ditto.
1823 (elmo-number-set-to-number-list): Use elmo-make-number-list
1824 and don't use nreverse.
1826 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1828 * elmo-version.el (elmo-version): Up to 2.11.25.
1830 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1832 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1833 field not exists in message, Use md5 message digest of header.
1835 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1837 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1838 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1839 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1840 * elmo-split.el (elmo-split-subr): Check return value of
1841 elmo-folder-append-buffer.
1843 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1844 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1846 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1849 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1851 * elmo-split.el (elmo-split-subr): Append message with flag.
1853 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1854 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1855 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1857 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1859 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1860 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1861 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1863 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1865 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1866 with a function call of `process-buffer'. All callers are updated.
1867 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1868 Remove redundant `set-buffer' in a while loop.
1870 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1872 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1875 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1878 elsp-spamfilter-register-buffer-internal with current buffer.
1879 (elmo-spam-register-spam-buffer): Ditto.
1880 (elmo-spam-register-good-buffer): Ditto.
1882 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1884 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1885 if it is not contained in the response(A workaround for courier-imap).
1887 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1889 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1892 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1894 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1897 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1899 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1902 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1904 (elmo-msgdb-message-match-condition): Follow the change above.
1906 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1908 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1911 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1913 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1915 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1917 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1919 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1921 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1924 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1926 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1928 (elmo-file-command-argument): Undo last change for cygwin.
1929 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1931 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1933 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1935 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1936 value returned from elmo-file-find is nil.
1938 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1940 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1943 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1944 instead of insert-file-contents-as-binary.
1945 (elmo-message-set-field): New generic function.
1947 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1948 behavior change on `split-string'.
1950 * elmo-file.el (elmo-file-find): New function.
1951 (elmo-file-command): New user option.
1952 (elmo-file-command-argument): Ditto.
1953 (elmo-file-fetch-max-size): Ditto.
1954 (elmo-file-detect-format): New function.
1955 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1956 Use elmo-file-detect-format.
1957 (elmo-map-folder-list-message-locations): Don't treat directories.
1959 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1961 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1962 (elmo-passwd-alist-clear): Shred password before clear.
1963 (elmo-remove-passwd): Remove all mached pair.
1965 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1967 * elmo.el (elmo-folder-synchronize): Fix description of the return
1970 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1972 * elmo.el (elmo-message-fetch-bodystructure): New method.
1973 (elmo-message-fetch-bodystructure): Define default.
1975 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1976 elmo-message-fetch-bodystructure.
1977 (elmo-message-fetch-bodystructure): Define.
1979 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1981 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1983 * elmo-filter.el (elmo-message-folder): Define.
1985 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1987 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1988 elmo-delete-cr-buffer.
1990 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1992 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1994 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1996 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1997 type seems to be a text.
1999 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2001 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2002 (elmo-spam-register-good-buffer): Ditto.
2003 (elmo-spam-spamassassin-register-messages): Ditto.
2005 * elmo-util.el (elmo-string-member-ignore-case): Define with
2008 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2010 * elmo.el (elmo-folder-type): Undo last change.
2012 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2014 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2017 * elmo-file.el: New file.
2019 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2021 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2023 (elmo-spam-spamassassin-register-messages): New inline function.
2024 (elmo-spam-register-spam-messages): Define.
2025 (elmo-spam-register-good-messages): Ditto.
2027 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2030 * elmo.el (toplevel): Added autoload setting for
2031 `elmo-get-global-flags'.
2032 (elmo-message-has-global-flag-p): New function.
2033 (elmo-message-set-global-flags): Ditto.
2034 (elmo-folder-type): Improvement for name: format.
2036 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2037 availability of keyword flags.
2038 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2039 (elmo-folder-list-flagged-plugged): Renamed from
2040 elmo-folder-list-flagged-unplugged.
2041 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2042 accept any flag as keyword flag.
2043 (elmo-folder-set-flag-plugged): Accept keyword flags.
2044 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2046 * elmo-flag.el (elmo-get-global-flags): New function.
2048 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2051 * elmo-version.el (elmo-version): Up to 2.11.24.
2053 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2055 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2056 elmo-multiple-field-body instead of std11-field-body to check all
2059 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2061 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2064 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2066 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2067 unintern is unbound.
2069 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2071 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2072 Protect from infinite loop.
2074 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2076 * elsp-bogofilter.el
2077 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2078 (elmo-spam-bogofilter-register-messages): New internal function.
2079 (elmo-spam-register-spam-messages): Define.
2080 (elmo-spam-register-good-messages): Ditto.
2082 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2084 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2085 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2086 (elmo-spam-bogofilter-call): Fixed the last change.
2087 (elmo-spam-bogofilter-arguments): Ditto.
2089 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2090 Follow the options change of latest bogofilter.
2092 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2093 (elmo-spam-bogofilter-good-switch): Ditto.
2094 (elmo-spam-bogofilter-arguments-alist): New user option.
2095 (elmo-spam-bogofilter-debug): Ditto.
2096 (elmo-spam-bogofilter-call): Renamed from
2097 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2098 is non-nil, insert output in buffer for debug.
2099 (elmo-spam-bogofilter-arguments): New macro.
2100 (elmo-spam-buffer-spam-p): Use it.
2101 (elsp-bogofilter-register-buffer): Ditto.
2103 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2105 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2108 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2110 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2112 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2113 (elmo-spam-bsfilter-program): Set default value as full path for
2115 (elmo-spam-bsfilter-debug): New user option.
2116 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2117 non-nil, insert output in buffer for debug. Fix treating of
2120 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2122 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2123 `elmo-maildir-flag-specs' element instead of one.
2124 (elmo-map-folder-unset-flag): Ditto.
2125 (Reported by Ken Makimura <macky@astem.or.jp>)
2127 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2128 (elmo-folder-unset-flag-plugged): Ditto.
2130 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2132 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2133 to `reads' slot only if `in-msgdb' is nil.
2135 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2137 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2138 and complement argument list.
2140 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2142 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2143 instead of elmo-folder-list-flagged.
2145 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2147 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2149 * elsp-bsfilter.el: New file.
2151 * elmo-pipe.el (elmo-folder-list-unreads,
2152 elmo-folder-list-answereds,
2153 elmo-folder-list-importants,
2154 elmo-folder-flag-as-important,
2155 elmo-folder-unflag-important,
2156 elmo-folder-flag-as-read,
2157 elmo-folder-unflag-read,
2158 elmo-folder-flag-as-answered,
2159 elmo-folder-unflag-answered): Remove.
2160 (elmo-folder-set-flag): Define.
2161 (elmo-folder-unset-flag): Ditto.
2163 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2164 (elmo-folder-set-flag): Define.
2165 (elmo-folder-unset-flag): Ditto.
2166 (elmo-folder-list-unreads): Remove.
2167 (elmo-folder-list-flagged): Define.
2169 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2170 (elmo-folder-list-unreads,
2171 elmo-folder-list-importants,
2172 elmo-folder-list-answereds,
2173 elmo-folder-list-unreads-plugged,
2174 elmo-folder-list-importants-plugged,
2175 elmo-folder-list-answereds-plugged): Remove.
2176 (elmo-folder-list-flagged-plugged): New method.
2177 (elmo-folder-unflag-important,
2178 elmo-folder-flag-as-important,
2179 elmo-folder-unflag-read,
2180 elmo-folder-flag-as-read,
2181 elmo-folder-unflag-answered,
2182 elmo-folder-flag-as-answered,
2183 elmo-folder-flag-as-read-unplugged,
2184 elmo-folder-unflag-read-unplugged,
2185 elmo-folder-flag-as-important-unplugged,
2186 elmo-folder-unflag-important-unplugged,
2187 elmo-folder-flag-as-answered-unplugged,
2188 elmo-folder-unflag-answered-unplugged): Remove.
2189 (elmo-folder-set-flag): Define.
2190 (elmo-folder-unset-flag): Ditto.
2191 (elmo-folder-set-flag-unplugged): Ditto.
2192 (elmo-folder-unset-flag-unplugged): Ditto.
2194 * elmo-multi.el (elmo-folder-list-unreads,
2195 elmo-folder-list-answereds,
2196 elmo-folder-list-importants,
2197 elmo-folder-flag-as-important,
2198 elmo-folder-unflag-important,
2199 elmo-folder-flag-as-read,
2200 elmo-folder-unflag-read,
2201 elmo-folder-flag-as-answered,
2202 elmo-folder-unflag-answered): Remove.
2203 (elmo-folder-set-flag): Define.
2204 (elmo-folder-unset-flag): Ditto.
2206 * elmo-map.el (elmo-map-folder-unflag-important,
2207 elmo-map-folder-flag-as-important,
2208 elmo-map-folder-unflag-read,
2209 elmo-map-folder-flag-as-read,
2210 elmo-map-folder-unflag-answered,
2211 elmo-map-folder-flag-as-answered): Remove.
2212 (elmo-map-folder-set-flag): New method.
2213 (elmo-map-folder-unset-flag): Ditto.
2214 (elmo-map-folder-list-unreads,
2215 elmo-map-folder-list-importants,
2216 elmo-map-folder-list-answereds): Remove.
2217 (elmo-folder-list-flagged-internal): Define.
2218 (elmo-map-folder-list-flagged): New method.
2220 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2221 (elmo-map-folder-list-unreads,
2222 elmo-map-folder-list-importants,
2223 elmo-map-folder-list-flagged): Remove.
2224 (elmo-map-folder-list-flagged): Define.
2225 (elmo-map-folder-flag-as-important,
2226 elmo-map-folder-unflag-important,
2227 elmo-map-folder-flag-as-read,
2228 elmo-map-folder-unflag-read,
2229 elmo-map-folder-flag-as-answered,
2230 elmo-map-folder-unflag-answered): Remove.
2231 (elmo-maildir-set-mark-messages): New internal function.
2232 (elmo-map-folder-set-flag): Define.
2233 (elmo-map-folder-unset-flag): Ditto.
2235 * elmo.el (toplevel): Added autoload setting for
2236 `elmo-folder-list-global-flag-messages'.
2237 (elmo-folder-list-unreads,
2238 elmo-folder-list-importants,
2239 elmo-folder-list-answereds): Remove.
2240 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2241 Return a list whitch merged with messages have global flag.
2242 (elmo-folder-list-flagged-internal): New method.
2243 (elmo-folder-unflag-important,
2244 elmo-folder-flag-as-important,
2245 elmo-folder-unflag-read,
2246 elmo-folder-flag-as-read,
2247 elmo-folder-unflag-answered,
2248 elmo-folder-flag-as-answered): Remove.
2249 (elmo-folder-set-flag): New method.
2250 (elmo-folder-unset-flag): Ditto.
2251 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2252 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2254 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2255 (elmo-folder-list-unreads-plugged,
2256 elmo-folder-list-importants-plugged,
2257 elmo-folder-list-answereds-plugged,
2258 elmo-folder-list-flagged-unplugged,
2259 elmo-folder-unflag-important-plugged,
2260 elmo-folder-flag-as-important-plugged,
2261 elmo-folder-unflag-read-plugged,
2262 elmo-folder-flag-as-read-plugged,
2263 elmo-folder-unflag-answered-plugged,
2264 elmo-folder-flag-as-answered-plugged): Remove.
2265 (elmo-folder-set-flag-plugged,
2266 elmo-folder-unset-flag-plugged): Define.
2268 * elmo-flag.el (elmo-folder-initialize): Register to
2269 `elmo-global-flag-list' if flag is not global.
2270 (elmo-folder-append-messages): Set flag to source messages.
2272 * elmo-filter.el (elmo-filter-folder-list-unreads,
2273 elmo-folder-list-unreads,
2274 elmo-filter-folder-list-importants,
2275 elmo-folder-list-importants,
2276 elmo-folder-flag-as-read,
2277 elmo-folder-unflag-read,
2278 elmo-folder-flag-as-important,
2279 elmo-folder-unflag-important,
2280 elmo-folder-flag-as-answered,
2281 elmo-folder-unflag-answered): Remove.
2282 (elmo-folder-set-flag): Define.
2283 (elmo-folder-unset-flag): Ditto.
2285 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2286 elmo-folder-unflag-read-dop,
2287 elmo-folder-flag-as-important-dop,
2288 elmo-folder-unflag-important-dop,
2289 elmo-folder-flag-as-answered-dop,
2290 elmo-folder-unflag-answered-dop): Remove.
2291 (elmo-folder-set-flag-dop,
2292 elmo-folder-unset-flag-dop,
2293 elmo-folder-set-important-delayed,
2294 elmo-folder-unset-important-delayed,
2295 elmo-folder-set-read-delayed,
2296 elmo-folder-unset-read-delayed,
2297 elmo-folder-set-answered-delayed,
2298 elmo-folder-unset-answered-delayed): New function.
2299 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2300 (elmo-dop-queue-method-name-alist): Ditto.
2302 * elmo-version.el (elmo-version): Up to 2.11.23.
2304 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2306 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2308 * elsp-sa.el: New file.
2310 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2312 * modb-standard.el (modb-standard-message-entity): New function.
2313 (elmo-msgdb-message-entity): Use it.
2315 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2317 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2318 behavior when one-level is nil.
2320 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2322 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2324 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2326 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2328 (elmo-generic-folder-diff): Ditto.
2330 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2331 (elmo-folder-update-number): Ditto.
2333 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2334 (elmo-folder-next-message-number-dop): Ditto.
2336 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2338 * elmo-filter.el (elmo-folder-msgdb-create): Use
2339 `elmo-message-entity' and `elmo-message-flags' instead of
2340 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2342 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2344 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2347 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2349 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2351 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2353 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2355 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2357 * elmo-version.el (elmo-version): Up to 2.11.22.
2359 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2361 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2363 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2365 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2366 if the message dose not exist.
2368 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2370 * elmo-version.el (elmo-version): Up to 2.11.21.
2372 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2374 * modb-standard.el (toplevel): Don't require mime.
2376 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2378 * elsp-bogofilter.el (toplevel): Don't require path-util.
2379 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2380 (elmo-spam-bogofilter-header): Abolish.
2381 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2382 (elmo-spam-bogofilter-args): New user option.
2383 (elsp-bogofilter-call-bogofilter): New internal function.
2384 (elmo-spam-buffer-spam-p): Use it.
2385 (elsp-bogofilter-register-buffer): Renamed from
2386 `elmo-spam-bogofilter-register-buffer';
2387 Use `elsp-bogofilter-call-bogofilter'.
2388 (elmo-spam-register-spam-buffer): Follow the change above.
2389 (elmo-spam-register-good-buffer): Ditto.
2391 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2393 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2394 message-id is nil do nothing.
2396 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2398 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2400 (elmo-imap4-session): Removed use-flag slot.
2401 (elmo-imap4-session-select-mailbox): Undo last change.
2402 (elmo-folder-use-flag-p): Use
2403 elmo-imap4-disuse-server-flag-mailbox-regexp.
2405 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2407 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2408 (elmo-imap4-session-select-mailbox): Set it up.
2409 (elmo-folder-use-flag-p): Return value of use-flag slot.
2411 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2413 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2415 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2417 * modb-entity.el (elmo-message-entity-handler): Likewise.
2419 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2421 * elmo.el (toplevel): Remove setting of autoloding for
2422 elmo-global-flag-initialize.
2423 (elmo-init): Don't call elmo-global-flag-initialize.
2424 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2426 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2427 (elmo-global-mark-migrate): Don't call it.
2428 (elmo-global-mark-upgrade): Ditto.
2430 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2432 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2433 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2435 * elmo-vars.el (elmo-init-hook): New user option.
2437 * elmo.el (elmo-init): Run the elmo-init-hook.
2439 * elmo-flag.el (elmo-global-mark-migrate): New function.
2441 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2443 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2444 Undo last change (move to elmo-msgdb-unset-flag).
2445 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2448 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2450 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2452 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2453 (elmo-msgdb-unset-flag): Ditto.
2455 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2457 * elmo-split.el (elmo-split): Return split message count.
2459 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2461 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2464 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2466 * elmo.el (elmo-folder-unflag-important): Call
2467 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2470 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2472 (elmo-global-flag-detach): Delete the message from flag folder, if
2473 `delete-if-none' is a symbol `always'.
2475 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2477 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2478 `elmo-spam-spamfilter-decode-buffer'.
2479 (elsp-spamfilter-register-buffer-internal): New internal function.
2480 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2481 (elmo-spam-register-spam-buffer): Ditto.
2482 (elmo-spam-register-good-buffer): Ditto.
2484 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2486 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2487 (elmo-spam-register-spam-buffer): Follow the API change.
2488 (elmo-spam-register-good-buffer): Ditto.
2490 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2491 (elmo-split-spam-p): Added argument plist; Call
2492 `elmo-spam-buffer-spam-p' with new argument register.
2494 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2496 (elmo-spam-message-spam-p): Ditto.
2497 (elmo-spam-register-spam-buffer): Added optional argument
2499 (elmo-spam-register-good-buffer): Ditto.
2500 (elmo-spam-register-spam-messages): Ditto.
2501 (elmo-spam-register-good-messages): Ditto.
2503 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2505 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2506 register into good corpus.
2507 (elmo-spam-register-good-buffer): Fixed to register into bad
2510 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2512 * elmo-version.el (elmo-version): Up to 2.11.20.
2514 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2517 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2518 flag without depending on \Recent flag.
2520 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2522 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2523 (elmo-spam-modified-p): Defined.
2524 (elmo-spam-save-status): Set `modified' slot to nil.
2525 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2526 (elmo-spam-register-good-buffer): Ditto.
2528 * elmo-spam.el (elmo-spam-modified-p): New API.
2530 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2532 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2533 duplicate definition.
2535 * elmo-util.el (elmo-unfold-field-body): New function.
2536 (elmo-msgdb-get-message-id-from-buffer): Use it.
2538 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2539 Fixed the last change; Use elmo-unfold-field-body.
2541 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2543 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2546 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2548 * elmo-spam.el (elmo-spam-save-status): New API.
2550 * elsp-spamfilter.el: New file.
2552 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2554 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2556 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2558 * elmo-split.el (elmo-split-spam-p): New function.
2560 * elmo-spam.el: New file.
2562 * elsp-bogofilter.el: Ditto.
2564 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2566 * elmo.el (elmo-folder-next-message-number): New API.
2567 (elmo-folder-next-message-number): Define.
2568 (elmo-message-field): Don't check folder length.
2570 * elmo-net.el (elmo-folder-next-message-number): Define.
2571 (elmo-folder-next-message-number-unplugged): Define.
2573 * elmo-map.el (elmo-folder-next-message-number): Define.
2574 (elmo-folder-delete-messages): Clear hash value.
2576 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2578 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2579 (elmo-folder-delete-messages-dop-delayed): Always return t.
2581 * elmo-version.el (elmo-version): Up to 2.11.19.
2583 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2585 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2588 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2589 identical cons cell into the mark-alist and the hash table.
2591 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2593 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2594 elmo-folder-list-messages with argument `visible-only' as t.
2596 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2597 (elmo-folder-msgdb-create): Check the target folder.
2599 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2601 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2602 `permanentflag' instead of `flags'.
2603 (elmo-folder-open): Ditto.
2604 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2605 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2606 (elmo-folder-use-flag-p): Always return t.
2607 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2608 `permanentflags' does not exist.
2609 (elmo-folder-open): Ditto.
2611 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2613 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2615 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2617 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2618 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2620 (elmo-folder-open): Ditto.
2621 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2622 slot of the session includes the flag.
2623 (elmo-imap4-session-flag-available-p): New function.
2624 (elmo-imap4-folder-list-flagged): Ditto.
2625 (elmo-folder-list-unreads-plugged): Use it.
2626 (elmo-folder-list-importants-plugged): Ditto.
2627 (elmo-folder-list-answereds-plugged): Ditto.
2628 (elmo-imap4-search-internal-primitive): Ditto.
2629 (elmo-imap4-folder-list-any-plugged,
2630 elmo-imap4-folder-list-digest-plugged): Abolish.
2632 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2635 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2637 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2639 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2641 * elmo-util.el (elmo-get-hash-val): Simplify.
2642 (elmo-set-hash-val): Rewrite.
2644 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2646 * elmo.el (elmo-folder-list-messages): Append killed messages into
2647 result if `visible-only' is nil and `in-msgdb' is non-nil.
2649 * elmo-util.el (elmo-uniq-list): Added optional argument
2652 * modb.el (elmo-msgdb-flag-count): New API.
2654 * modb-standard.el (modb-standard): Added slot flag-count.
2655 (modb-standard-countup-flags): New function.
2656 (modb-standard-load-flag): Call it.
2657 (elmo-msgdb-append): Ditto.
2658 (elmo-msgdb-clear): Clear slot flag-count.
2659 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2660 (elmo-msgdb-unset-flag): Treat `all' flag and call
2661 modb-standard-countup-flags.
2662 (elmo-msgdb-flag-count): Define.
2663 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2664 (elmo-msgdb-delete-messages): Ditto.
2666 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2667 (elmo-msgdb-flag-count): Define.
2669 * elmo.el (elmo-folder-list-messages): Undo last change.
2670 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2671 (elmo-folder-kill-messages): Unset all flags to numbers.
2673 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2674 elmo-folder-kill-messages.
2676 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2677 (elmo-nntp-folder-delete-messages): Abolish.
2679 * elmo-version.el (elmo-version): Up to 2.11.18.
2681 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2683 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2684 (elmo-folder-kill-messages-range): New function.
2685 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2686 instead of elmo-folder-kill-messages-before.
2688 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2690 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2691 elmo-imap4-current-msgdb to decide entity handler.
2693 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2695 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2697 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2699 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2700 (elmo-msgdb-overview-entity-set-number,
2701 elmo-msgdb-overview-entity-get-references,
2702 elmo-msgdb-overview-entity-set-references,
2703 elmo-msgdb-overview-entity-get-from-no-decode,
2704 elmo-msgdb-overview-entity-get-from,
2705 elmo-msgdb-overview-entity-set-from,
2706 elmo-msgdb-overview-entity-get-subject,
2707 elmo-msgdb-overview-entity-get-subject-no-decode,
2708 elmo-msgdb-overview-entity-set-subject,
2709 elmo-msgdb-overview-entity-get-date,
2710 elmo-msgdb-overview-entity-set-date,
2711 elmo-msgdb-overview-entity-get-to,
2712 elmo-msgdb-overview-entity-get-cc,
2713 elmo-msgdb-overview-entity-get-size,
2714 elmo-msgdb-overview-entity-set-size,
2715 elmo-msgdb-overview-entity-get-extra,
2716 elmo-msgdb-overview-entity-set-extra,
2717 elmo-msgdb-overview-entity-get-extra-field,
2718 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2719 (elmo-msgdb-make-index): Use
2720 `elmo-msgdb-overview-entity-get-number-internal'.
2721 (elmo-msgdb-clear-index): Ditto.
2722 (elmo-msgdb-append-entity): Ditto;
2723 Use `elmo-msgdb-overview-entity-get-id-internal'.
2725 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2726 elmo-msgdb-overview-entity-set-number,
2727 elmo-msgdb-overview-entity-get-references,
2728 elmo-msgdb-overview-entity-set-references,
2729 elmo-msgdb-overview-entity-get-from-no-decode,
2730 elmo-msgdb-overview-entity-get-from,
2731 elmo-msgdb-overview-entity-set-from,
2732 elmo-msgdb-overview-entity-get-subject,
2733 elmo-msgdb-overview-entity-get-subject-no-decode,
2734 elmo-msgdb-overview-entity-set-subject,
2735 elmo-msgdb-overview-entity-get-date,
2736 elmo-msgdb-overview-entity-set-date,
2737 elmo-msgdb-overview-entity-get-to,
2738 elmo-msgdb-overview-entity-get-cc,
2739 elmo-msgdb-overview-entity-get-size,
2740 elmo-msgdb-overview-entity-set-size,
2741 elmo-msgdb-overview-entity-get-extra,
2742 elmo-msgdb-overview-entity-set-extra,
2743 elmo-msgdb-overview-entity-get-extra-field,
2744 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2745 and rewrote for backward compatibility.
2747 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2749 * elmo.el (elmo-message-entity-number,
2750 elmo-message-entity-set-number,
2751 elmo-message-entity-field,
2752 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2754 * elmo-msgdb.el (elmo-message-entity-number,
2755 elmo-message-entity-set-number,
2756 elmo-message-entity-field,
2757 elmo-message-entity-set-field): Moved from elmo.el.
2759 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2761 * elmo.el (toplevel): Changed definition orders.
2763 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2765 * modb.el (elmo-msgdb-search): New API .
2766 (elmo-msgdb-match-condition): Ditto.
2768 * modb-standard.el (elmo-msgdb-search): Define.
2770 * modb-legacy.el (elmo-msgdb-search): Ditto.
2772 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2773 from elmo-msgdb-match-condition-internal.
2775 * elmo.el (elmo-folder-search-fast): Abolish.
2776 (elmo-folder-search): Use elmo-msgdb-search and
2777 elmo-with-progress-display.
2779 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2782 * elmo.el (elmo-folder): Remove slot message-modified and
2784 (elmo-folder-set-message-modified): Abolish.
2785 (elmo-generic-folder-commit): Follow the change above.
2786 (elmo-folder-synchronize): Ditto.
2788 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2790 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2792 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2794 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2796 * modb-standard.el (modb-standard-make-message-entity,
2797 elmo-msgdb-make-message-entity,
2798 elmo-msgdb-create-message-entity-from-buffer,
2799 elmo-msgdb-message-entity-number,
2800 elmo-msgdb-message-entity-set-number,
2801 elmo-msgdb-message-entity-field,
2802 elmo-msgdb-message-entity-set-field,
2803 elmo-msgdb-copy-message-entity,
2804 elmo-msgdb-match-condition-internal): Remove.
2806 * modb-entity.el: New file (again).
2808 * modb.el (toplevel): Require modb-entity.
2809 (elmo-msgdb-message-entity-handler): New method.
2811 * modb-standard.el (modb-standard-entity-id): Use
2812 elmo-message-entity-handler.
2813 (modb-standard-load-entity): Ditto.
2814 (elmo-msgdb-append-entity): Ditto.
2815 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2817 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2818 elmo-msgdb-decoded-cache-hashtb,
2819 (modb-legacy-make-message-entity,
2820 elmo-msgdb-make-message-entity,
2821 elmo-msgdb-create-message-entity-from-buffer,
2822 elmo-msgdb-message-entity-number,
2823 elmo-msgdb-message-entity-set-number,
2824 elmo-msgdb-message-entity-field,
2825 elmo-msgdb-message-entity-set-field,
2826 elmo-msgdb-copy-message-entity,
2827 elmo-msgdb-match-condition-internal,
2828 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2830 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2831 (elmo-message-entity-set-number): Ditto.
2832 (elmo-message-entity-field): Ditto.
2833 (elmo-message-entity-set-field): Ditto.
2835 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2837 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2839 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2841 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2842 (elmo-nntp-msgdb-create-message): Ditto.
2844 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2845 (elmo-folder-msgdb-create): Add unread flag.
2847 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2849 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2851 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2853 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2855 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2856 elmo-msgdb-messge-entity-handler.
2857 * elmo-version.el (elmo-version): Up to 2.11.17.
2859 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2861 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2864 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2866 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2868 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2869 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2870 (elmo-msgdb-flag-table): Ditto.
2871 (elmo-msgdb-sort-by-date): Ditto.
2873 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2875 * modb-standard.el (toplevel): Require mime.
2876 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2877 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2878 elmo-msgdb-message-entity-number.
2879 (elmo-msgdb-append-entity): Ditto.
2880 (elmo-msgdb-create-message-entity-from-file): Remove.
2881 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2882 corresponds to the entity.
2883 (elmo-msgdb-message-entity-number): Do nothing currently.
2884 (elmo-msgdb-message-entity-field): Ditto.
2885 (elmo-msgdb-message-entity-set-field): Ditto.
2886 (elmo-msgdb-copy-message-entity): Ditto.
2887 (elmo-msgdb-match-condition-internal): Ditto.
2889 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2891 (elmo-msgdb-create-message-entity-from-file): Remove.
2893 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2895 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2897 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2899 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2901 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2902 (elmo-msgdb-message-entity-field): Ditto.
2903 (elmo-msgdb-message-entity-number): Ditto.
2905 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2907 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2908 Fixed how to set extra field into entity.
2909 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2912 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2913 Fixed how to set extra field into entity.
2914 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2917 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2919 * modb.el (elmo-message-entity-db): New function.
2920 (elmo-msgdb-make-message-entity): New API.
2921 (elmo-msgdb-message-entity-number): Ditto.
2922 (elmo-msgdb-message-entity-set-number): Ditto.
2923 (elmo-msgdb-message-entity-field): Ditto.
2924 (elmo-msgdb-message-entity-set-field): Ditto.
2925 (elmo-msgdb-copy-message-entity): Ditto.
2926 (elmo-msgdb-create-message-entity-from-file): Ditto.
2927 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2928 (elmo-msgdb-match-condition-internal): Ditto.
2930 * modb-standard.el (modb-legacy): Require modb-legacy.
2931 (modb-standard-make-message-entity): New inline function.
2932 (elmo-msgdb-make-message-entity): Define.
2933 (elmo-msgdb-create-message-entity-from-file): Ditto.
2934 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2935 (elmo-msgdb-message-entity-field): Ditto.
2936 (elmo-msgdb-message-entity-set-field): Ditto.
2937 (elmo-msgdb-copy-message-entity): Ditto.
2938 (elmo-msgdb-match-condition-internal): Ditto.
2940 * modb-legacy.el: Don't require modb-entity.
2941 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2942 (elmo-msgdb-match-condition-primitive): Ditto.
2943 (elmo-msgdb-get-decoded-cache): Ditto.
2944 (elmo-msgdb-overview-entity-get-id): Ditto.
2945 (elmo-msgdb-overview-entity-get-number): Ditto.
2946 (elmo-msgdb-overview-entity-set-number): Ditto.
2947 (elmo-msgdb-overview-entity-get-references): Ditto.
2948 (elmo-msgdb-overview-entity-set-references): Ditto.
2949 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2950 (elmo-msgdb-overview-entity-get-from): Ditto.
2951 (elmo-msgdb-overview-entity-set-from): Ditto.
2952 (elmo-msgdb-overview-entity-get-subject): Ditto.
2953 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2954 (elmo-msgdb-overview-entity-set-subject): Ditto.
2955 (elmo-msgdb-overview-entity-get-date): Ditto.
2956 (elmo-msgdb-overview-entity-set-date): Ditto.
2957 (elmo-msgdb-overview-entity-get-to): Ditto.
2958 (elmo-msgdb-overview-entity-get-cc): Ditto.
2959 (elmo-msgdb-overview-entity-get-size): Ditto.
2960 (elmo-msgdb-overview-entity-set-size): Ditto.
2961 (elmo-msgdb-overview-entity-get-extra): Ditto.
2962 (elmo-msgdb-overview-entity-set-extra): Ditto.
2963 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2964 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2965 (elmo-msgdb-number-load): Ditto.
2966 (elmo-msgdb-overview-load): Ditto.
2967 (elmo-msgdb-mark-load): Ditto.
2968 (elmo-msgdb-number-save): Ditto.
2969 (elmo-msgdb-mark-save): Ditto.
2970 (elmo-msgdb-overview-save): Ditto.
2971 (modb-legacy-make-message-entity): New inline function.
2972 (elmo-msgdb-insert-file-header): Ditto.
2973 (elmo-msgdb-make-message-entity): Define.
2974 (elmo-msgdb-create-message-entity-from-file): Ditto.
2975 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2976 (elmo-msgdb-message-entity-number): Ditto.
2977 (elmo-msgdb-message-entity-set-number): Ditto.
2978 (elmo-msgdb-message-entity-field): Ditto.
2979 (elmo-msgdb-message-entity-set-field): Ditto.
2980 (elmo-msgdb-copy-message-entity): Ditto.
2981 (elmo-msgdb-match-condition-internal): Ditto.
2983 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2984 (elmo-message-copy-entity): Rewrite.
2985 (elmo-message-entity-number): Ditto.
2986 (elmo-message-entity-set-number): Ditto.
2987 (elmo-message-entity-field): Use elmo-message-entity-db.
2988 (elmo-message-entity-set-field): Ditto.
2989 (elmo-message-field): Rewrite.
2991 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2993 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2995 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2996 elmo-message-entity-field.
2997 (elmo-shimbun-folder-shimbun-header): Ditto.
2998 (elmo-shimbun-entity-to-header): Ditto.
2999 (elmo-folder-msgdb-create): Ditto.
3000 (elmo-shimbun-msgdb-create-entity): Ditto;
3001 Use elmo-msgdb-create-message-entity-from-buffer.
3002 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3003 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3005 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3006 elmo-msgdb-create-message-entity-from-file and
3007 elmo-message-entity-field.
3009 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3010 elmo-message-entity-number.
3011 (elmo-pop3-msgdb-create-message): Use
3012 elmo-msgdb-create-message-entity-from-buffer,
3013 elmo-message-entity-set-field, elmo-message-entity-number and
3014 elmo-message-entity-set-number.
3016 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3017 the API change in elmo-msgdb-make-message-entity.
3018 (elmo-nntp-msgdb-create-message): Use
3019 elmo-msgdb-create-message-entity-from-buffer.
3021 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3022 elmo-message-entity-field and
3023 elmo-msgdb-create-message-entity-from-file.
3025 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3026 (elmo-msgdb-get-field): Abolish.
3027 (elmo-msgdb-get-number): Rewrite.
3028 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3029 (elmo-msgdb-flag-table): Ditto.
3030 (elmo-msgdb-get-last-message-id,
3031 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3032 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3033 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3034 (elmo-msgdb-create-overview-from-buffer,
3035 elmo-msgdb-overview-get-parent-entity): Abolish.
3037 * elmo-mime.el (elmo-mime-display-as-is): Use
3038 elmo-message-entity-field.
3040 * elmo-map.el (elmo-folder-pack-numbers): Use
3041 elmo-message-entity-set-number.
3043 * elmo-maildir.el (elmo-folder-msgdb-create):
3044 elmo-msgdb-create-message-entity-from-file instead of
3045 elmo-msgdb-create-overview-entity-from-file.
3047 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3049 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3050 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3052 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3053 elmo-messge-entity-field and elmo-message-entity-number.
3054 (elmo-imap4-fetch-callback-1): Call
3055 elmo-msgdb-create-message-entity-from-buffer instead of
3056 elmo-msgdb-create-overview-from-buffer.
3057 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3058 (elmo-find-fetch-strategy): Likewise.
3060 * elmo-flag.el (elmo-folder-msgdb-create): Call
3061 elmo-localdir-msgdb-create-entity with argument msgdb.
3063 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3064 and elmo-message-entity-set-number.
3066 * elmo-cache.el (elmo-folder-msgdb-create): Use
3067 elmo-message-entity-field.
3068 (elmo-folder-msgdb-create): Call
3069 elmo-msgdb-create-message-entity-from-file instead of
3070 elmo-msgdb-create-overview-entity-from-file.
3072 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3073 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3074 instead of elmo-msgdb-create-overview-from-buffer.
3075 (elmo-archive-msgdb-create-entity): Ditto.
3076 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3077 elmo-message-entity-field.
3078 (elmo-archive-parse-mmdf): Ditto.
3080 * modb-entity.el: Removed.
3082 * elmo-version.el (elmo-version): Up to 2.11.16.
3084 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3086 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3088 (elmo-folder-flag-as-answered): Ditto.
3090 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3092 * modb-standard.el: New file.
3094 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3095 elmo-msgdb-convert-type is `sync'.
3097 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3098 (elmo-msgdb-convert-type): New user option.
3100 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3101 (elmo-load-msgdb): Auto detect saved type.
3103 * elmo-version.el (elmo-version): Up to 2.11.15.
3105 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3107 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3109 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3110 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3111 with argument `delete-if-none' when dst-folder is 'null.
3113 * elmo-flag.el (elmo-folder-append-messages): Defined.
3114 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3116 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3118 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3120 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3122 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3123 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3124 (elmo-folder-commit): Ditto.
3126 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3128 * elmo-flag.el: New file.
3130 * elmo-mark.el: Removed.
3132 * modb-legacy.el (modb-legacy-new-mark,
3133 modb-legacy-unread-uncached-mark,
3134 modb-legacy-unread-cached-mark,
3135 modb-legacy-read-uncached-mark,
3136 modb-legacy-answered-cached-mark,
3137 modb-legacy-answered-uncached-mark,
3138 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3139 All other related portions are changed.
3141 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3142 (elmo-folder-list-messages-with-global-mark): Abolish.
3143 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3144 (elmo-folder-flag-as-important): Ditto.
3145 (elmo-folder-unflag-read): Ditto.
3146 (elmo-folder-flag-as-read): Ditto.
3147 (elmo-folder-unflag-answered): Ditto.
3148 (elmo-folder-flag-as-answered): Ditto.
3149 (elmo-message-encache): Return the cache path.
3150 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3151 (elmo-message-set-flag): Transitional implementation.
3152 (elmo-message-unset-flag): Ditto.
3153 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3154 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3155 (elmo-init): Call elmo-global-flag-initialize.
3156 (toplevel): Added autoload settings for elmo-flag.
3158 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3160 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3161 (elmo-file-cache-delete): Don't treat global-mark.
3163 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3165 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3167 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3168 `elmo-global-flags-set'.
3170 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3172 (elmo-folder-unflag-read): Ditto.
3173 (elmo-folder-unflag-important): Ditto.
3174 (elmo-folder-flag-as-important): Ditto.
3175 (elmo-folder-unflag-answered): Ditto.
3176 (elmo-folder-flag-as-answered): Ditto.
3178 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3179 `elmo-global-flags-set'.
3180 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3182 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3184 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3186 (elmo-folder-flag-as-important): Ditto.
3187 (elmo-folder-unflag-important): Ditto.
3188 (elmo-folder-flag-as-important): Ditto.
3189 (elmo-folder-unflag-read): Ditto.
3190 (elmo-folder-flag-as-read): Ditto.
3191 (elmo-folder-unflag-answered): Ditto.
3192 (elmo-folder-flag-as-answered): Ditto.
3194 * elmo-multi.el (elmo-folder-list-importants): Don't call
3195 elmo-folder-list-messages-with-global-mark.
3196 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3197 (elmo-folder-unflag-important): Ditto.
3198 (elmo-folder-flag-as-read): Ditto.
3199 (elmo-folder-unflag-read): Ditto.
3200 (elmo-folder-flag-as-answered): Ditto.
3201 (elmo-folder-unflag-answered): Ditto.
3203 * elmo-msgdb.el (elmo-msgdb-new-mark,
3204 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3205 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3206 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3207 (Moved to modb-legacy.el).
3208 (elmo-flag-table-get): Treat important flag too.
3210 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3212 (elmo-map-folder-flag-as-important): Ditto.
3213 (elmo-map-folder-unflag-read): Ditto.
3214 (elmo-map-folder-flag-as-read): Ditto.
3215 (elmo-map-folder-unflag-answered): Ditto.
3216 (elmo-map-folder-flag-as-answered): Ditto.
3217 (elmo-folder-unflag-important): Ditto.
3218 (elmo-folder-flag-as-important): Ditto.
3219 (elmo-folder-unflag-read): Ditto.
3220 (elmo-folder-flag-as-read): Ditto.
3221 (elmo-folder-unflag-answered): Ditto.
3222 (elmo-folder-flag-as-answered): Ditto.
3224 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3225 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3227 (elmo-map-folder-unflag-important): Ditto.
3228 (elmo-map-folder-flag-as-read): Ditto.
3229 (elmo-map-folder-unflag-read): Ditto.
3230 (elmo-map-folder-flag-as-answered): Ditto.
3231 (elmo-map-folder-unflag-answered): Ditto.
3233 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3234 `elmo-global-flags-set'.
3235 (elmo-global-flags-set): Added autoload setting.
3237 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3240 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3241 `elmo-msgdb-global-mark-set'.
3242 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3243 Call `elmo-global-flags-set'.
3244 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3246 (elmo-folder-flag-as-important-plugged): Ditto.
3247 (elmo-folder-unflag-read-plugged): Ditto.
3248 (elmo-folder-flag-as-read-plugged): Ditto.
3249 (elmo-folder-unflag-answered-plugged): Ditto.
3250 (elmo-folder-flag-as-answered-plugged): Ditto.
3251 (elmo-global-flags-set): Added autoload setting.
3253 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3255 (elmo-folder-unflag-read): Ditto.
3256 (elmo-folder-flag-as-important): Ditto.
3257 (elmo-folder-unflag-important): Ditto.
3258 (elmo-folder-flag-as-answered): Ditto.
3259 (elmo-folder-unflag-answered): Ditto.
3261 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3262 change of `mark'->`flag'.
3263 (elmo-dop-queue-method-name-alist): Ditto.
3264 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3265 (elmo-folder-unflag-read-dop): Ditto.
3266 (elmo-folder-flag-as-important-dop): Ditto.
3267 (elmo-folder-unflag-important-dop): Ditto.
3268 (elmo-folder-flag-as-answered-dop): Ditto.
3269 (elmo-folder-unflag-answered-dop): Ditto.
3271 * elmo-cache.el (elmo-folder-msgdb-create): Call
3272 `elmo-global-flags-set'.
3274 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3275 Call `elmo-global-flags-set'.
3276 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3277 elmo-archive-parse-mmdf with argument `folder'.
3278 (elmo-archive-parse-mmdf): Added argument `folder';
3279 Call `elmo-global-flags-set'.
3281 * elmo-version.el (elmo-version): Up to 2.11.14.
3283 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3285 * modb.el (elmo-msgdb-length): Define.
3287 * elmo.el (elmo-make-folder): Fixed.
3288 (elmo-generic-folder-append-messages): Follow the API change.
3290 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3293 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3295 * modb.el: New file.
3297 * modb-entity.el: Ditto.
3299 * modb-legacy.el: Ditto.
3301 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3302 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3303 of `elmo-msgdb-overview-get-entity'.
3304 (elmo-msgdb-get-field): Ditto.
3305 (elmo-msgdb-merge): Moved to `elmo.el'.
3306 (elmo-msgdb-length): Removed; redefine as modb method.
3307 (elmo-msgdb-change-mark): Abolish.
3308 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3309 (elmo-msgdb-match-condition): Don't use mark.
3310 (elmo-msgdb-overview-get-entity): Abolish.
3311 Split modb part into `modb*.el'.
3313 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3315 * elmo-shimbun.el (shimbun-mua-search-id): Use
3316 `elmo-msgdb-message-entity' instead of
3317 `elmo-msgdb-overview-get-entity'.
3318 (elmo-shimbun-folder-shimbun-header): Ditto.
3319 (elmo-shimbun-get-headers): Ditto.
3320 (elmo-shimbun-update-overview): Ditto.
3322 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3324 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3326 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3327 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3329 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3330 `elmo-msgdb-mark-to-flags'.
3332 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3333 `elmo-msgdb-set-path'.
3335 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3337 * elmo-version.el (elmo-version): Up to 2.11.13.
3339 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3341 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3344 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3346 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3349 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3351 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3352 instead of `elmo-msgdb-get-cached'.
3353 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3355 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3356 (elmo-msgdb-set-cached): Ditto.
3357 (elmo-msgdb-set-flag): Rewrite.
3358 (elmo-msgdb-unset-flag): Ditto.
3360 * elmo-msgdb.el: Rewrite with luna.
3362 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3363 (elmo-folder-msgdb): Follow the change above.
3364 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3365 (elmo-folder-unmark-important): Follow the API change.
3366 (elmo-folder-mark-as-important): Ditto.
3367 (elmo-folder-unmark-read): Ditto.
3368 (elmo-folder-mark-as-read): Ditto.
3369 (elmo-folder-unmark-answered): Ditto.
3370 (elmo-folder-mark-as-answered): Ditto.
3371 (elmo-folder-clear): Likewise.
3373 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3374 instead of `elmo-msgdb-load' (renamed).
3376 * elmo-version.el (elmo-version): Up to 2.11.12.
3378 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3380 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3382 (elmo-message-mark): Abolish.
3383 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3384 instead of `elmo-msgdb-change-mark'.
3386 * elmo-pipe.el (elmo-message-mark): Abolish.
3388 * elmo-multi.el (elmo-message-mark): Ditto.
3390 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3391 (elmo-msgdb-unread-uncached-mark): Ditto.
3392 (elmo-msgdb-unread-cached-mark): Ditto.
3393 (elmo-msgdb-read-uncached-mark): Ditto.
3394 (elmo-msgdb-answered-cached-mark): Ditto.
3395 (elmo-msgdb-answered-uncached-mark): Ditto.
3396 (elmo-msgdb-important-mark): Ditto.
3397 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3399 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3401 (elmo-flag-table-load): Changed flag to list of flag.
3402 (elmo-flag-table-set): If flags is nil, set read flag.
3403 (elmo-flag-table-get): Return derived flags from global mark,
3404 cache status and saved flags.
3405 (elmo-msgdb-flag-table): Follow the change above.
3406 (elmo-msgdb-out-of-date-messages): New function.
3408 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3410 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3412 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3414 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3415 (elmo-nntp-msgdb-create-message): Ditto.
3417 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3419 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3421 (elmo-folder-msgdb-create): Follow the API change.
3423 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3424 (elmo-folder-append-messages): Ditto.
3426 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3427 (elmo-folder-append-buffer): Ditto.
3429 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3431 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3433 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3434 (elmo-archive-parse-mmdf): Ditto.
3436 * elmo-version.el (elmo-version): Up to 2.11.11.
3438 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3440 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3443 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3445 * elmo-pipe.el (elmo-message-flags): Defined.
3447 * elmo-multi.el (elmo-message-flags): Ditto.
3449 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3451 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3452 `elmo-msgdb-delete-msgs'.
3454 * elmo.el (elmo-folder-count-flags): Don't use
3455 `elmo-msgdb-get-mark-alist'.
3456 (elmo-folder-detach-messages): Follow the API change.
3458 * elmo.el (elmo-folder-list-messages): Append killed messages into
3459 result if `visible-only' is nil.
3461 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3463 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3464 (elmo-folder-update-number): Likewise.
3466 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3467 (elmo-pop3-sort-msgdb-by-original-number): Use
3468 `elmo-msgdb-sort-entities'.
3470 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3471 (elmo-msgdb-sort-by-date): Use it.
3472 (elmo-msgdb-overview-sort-by-date): Abolish.
3474 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3476 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3477 (elmo-msgdb-flags): New function.
3478 (elmo-msgdb-merge): Use elmo-msgdb-append.
3480 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3483 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3485 * elmo-dop.el (elmo-folder-status-dop): Use
3486 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3488 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3490 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3492 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3494 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3496 * elmo-util.el (elmo-with-progress-display): New macro.
3498 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3500 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3502 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3503 `elmo-folder-list-message-entities' instead of
3504 `elmo-msgdb-get-overview'.
3505 (elmo-map-folder-list-message-locations): Ditto.
3507 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3508 methods instead of treat directly).
3509 (elmo-msgdb-clear): Ditto.
3510 (elmo-msgdb-delete-msgs): Ditto.
3511 (elmo-msgdb-sort-by-date): Ditto.
3513 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3515 (elmo-nntp-folder-msgdb-create): Follow the API change.
3517 * elmo-version.el (elmo-version): Up to 2.11.10.
3519 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3521 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3522 (elmo-msgdb-flags-to-mark): Ditto.
3523 (elmo-msgdb-append-entity): Ditto.
3525 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3526 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3527 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3528 (elmo-archive-parse-mmdf): Ditto.
3530 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3532 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3534 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3536 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3538 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3540 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3542 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3544 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3546 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3547 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3550 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3551 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3552 instead of directly construction.
3553 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3554 instead of construct msgdb.
3556 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3557 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3558 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3559 instead of construct msgdb.
3561 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3563 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3564 when field is from or subject.
3566 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3568 * elmo-multi.el (elmo-message-entity-parent): Define.
3569 (elmo-folder-search): Rewrite.
3571 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3573 * elmo-multi.el (elmo-message-cached-p): Define.
3575 * elmo.el (elmo-message-cached-p): New method.
3576 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3577 (elmo-message-flags): New method.
3578 (elmo-message-flagged-p): New function.
3580 * elmo-version.el (elmo-version): Up to 2.11.9.
3582 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3584 * elmo-version.el (elmo-version): Up to 2.11.8.
3586 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3588 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3590 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3592 * elmo.el (elmo-folder-detach-messages): Undo last change.
3594 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3596 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3598 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3599 only when src folder type is pop3.
3601 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3603 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3604 elmo-msgdb-overview-entity-get-number instead of
3605 elmo-message-entity-number.
3607 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3609 * elmo-version.el (elmo-version): Up to 2.11.7.
3611 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3613 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3616 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3617 (elmo-msgdb-merge): New function.
3618 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3619 (elmo-msgdb-make-index): Rewrite.
3621 * elmo-version.el (elmo-version): Up to 2.11.6.
3623 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3624 use it as a the path for loading message entities.
3626 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3628 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3630 * elmo-filter.el (elmo-folder-set-message-modified): Set
3631 message-modified slot of itself if it does not require target msgdb.
3633 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3634 if folder length is zero.
3635 (elmo-mime-display-as-is): Ditto.
3637 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3639 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3641 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3643 * elmo.el (elmo-folder-set-message-modified): New method.
3644 (elmo-generic-folder-commit): Use it.
3645 (elmo-folder-synchronize): Ditto.
3647 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3648 (elmo-folder-commit): Remove duplicate definition.
3650 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3652 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3654 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3656 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3657 (elmo-strict-folder-diff): Ditto.
3658 (elmo-folder-set-info-max-by-numdb): Simplify.
3660 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3661 elmo-msgdb-list-messages.
3663 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3664 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3666 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3668 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3669 visible-only is non-nil.
3670 (elmo-folder-confirm-appends): Changed message.
3671 (elmo-folder-synchronize): Added argument disable-killed.
3673 * elmo-multi.el (elmo-folder-synchronize): Added argument
3676 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3678 * elmo-version.el (elmo-version): Up to 2.11.5.
3680 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3683 * elmo-util.el (elmo-list-filter): Simplify.
3685 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3686 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3687 (elmo-generic-folder-diff): Abolish argument.
3688 (elmo-msgdb-load): Don't use number-alist.
3690 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3692 * elmo-pipe.el (elmo-folder-diff): Ditto.
3694 * elmo-nmz.el (elmo-folder-diff): Ditto.
3696 * elmo-net.el (elmo-folder-diff): Ditto.
3698 * elmo-maildir.el (elmo-folder-diff): Ditto.
3700 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3702 * elmo-multi.el (elmo-folder-diff): Ditto
3703 (elmo-multi-folder-diff): Rewrite.
3705 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3707 * elmo-pipe.el (elmo-folder-msgdb): Define.
3709 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3711 * elmo.el (elmo-message-set-cached): Define as a method.
3713 * elmo-pipe.el (elmo-message-set-cached): Define.
3714 (elmo-find-fetch-strategy): Ditto.
3716 * elmo-multi.el (elmo-message-set-cached): Define.
3717 (elmo-find-fetch-strategy): Rewrite.
3719 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3721 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3723 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3725 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3726 instead of number-alist.
3728 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3729 mark nor message-id when msgdb of source folder is not loaded.
3731 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3733 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3735 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3737 * elmo.el (elmo-folder-length): Don't require msgdb.
3739 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3741 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3742 (elmo-message-field): Ditto.
3744 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3745 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3747 (elmo-map-folder-list-answereds): Define.
3748 (elmo-maildir-list-location): Treat 'R' info.
3749 (elmo-folder-msgdb-create): Treat flag-table.
3750 (elmo-folder-append-messages): Save flag-table.
3752 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3754 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3755 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3757 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3759 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3761 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3762 'read when mark is null.
3764 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3766 * elmo-version.el (elmo-version): Up to 2.11.4.
3768 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3770 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3771 (elmo-folder-mark-as-answered): Ditto.
3773 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3775 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3776 (elmo-pop3-get-session): Make msgdb directory after session.
3777 (elmo-folder-exists-p): Check exactly at the first time even when the
3778 elmo-pop3-exists-exactly is nil.
3780 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3781 (elmo-folder-list-messages): Define instead of
3782 elmo-folder-list-messages-internal.
3783 (elmo-folder-check): Check destination folder.
3784 (elmo-folder-synchronize): Drain the pipe.
3786 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3787 when msgdb is not loaded.
3789 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3791 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3792 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3795 * elmo.el (elmo-folder-kill-messages-before): New function.
3796 (elmo-folder-kill-messages): Ditto.
3797 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3799 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3800 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3801 killed not by synchronize (e.g. scoring).
3803 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3805 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3807 (elmo-folder-search): Follow the change above.
3809 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3810 into the candidates of search field.
3812 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3814 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3815 (elmo-msgdb-unset-flag): Ditto.
3817 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3819 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3821 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3822 (elmo-folder-commit): Define.
3823 (elmo-folder-synchronize): Ditto.
3824 (elmo-folder-list-flagged): Ditto.
3825 (elmo-folder-commit): Ditto.
3826 (elmo-folder-length): Ditto.
3827 (elmo-folder-count-flags): Ditto.
3828 (elmo-message-mark): Ditto.
3829 (elmo-message-field): Ditto.
3830 (elmo-message-entity): Ditto.
3831 (elmo-message-folder): Ditto.
3833 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3835 * elmo.el (elmo-message-field): Define as a method.
3837 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3838 (elmo-message-field): Define.
3840 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3841 (elmo-folder-list-importants): Ditto.
3842 (elmo-folder-list-answereds): Ditto.
3844 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3846 (elmo-folder-mark-as-read): Ditto.
3847 (elmo-folder-unmark-read): Ditto.
3848 (elmo-folder-mark-as-answered): Ditto.
3849 (elmo-folder-unmark-answered): Ditto.
3850 (elmo-folder-list-flagged): Define.
3851 (elmo-folder-commit): Ditto.
3852 (elmo-folder-length): Ditto.
3853 (elmo-folder-count-flags): Ditto.
3855 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3857 * elmo.el (elmo-folder-detach-messages): New method.
3858 (elmo-folder-move-messages): Use it.
3859 (elmo-folder-synchronize): Ditto.
3861 * elmo-multi.el (elmo-folder-detach-messages): Define.
3863 * elmo.el (elmo-message-copy-entity): New function.
3864 (elmo-message-entity-set-number): Ditto.
3865 (elmo-message-mark): Define as method.
3867 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3868 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3869 (elmo-message-entity): Fixed last change.
3870 (elmo-message-mark): Define.
3871 (elmo-folder-msgdb-create): Abolish.
3872 (elmo-multi-folder-append-msgdb): Ditto.
3873 (elmo-multi-folder-diff): Fixed.
3874 (elmo-multi-split-number-alist): Removed.
3875 (elmo-multi-split-mark-alist): Removed.
3876 (elmo-folder-list-messages): Define.
3877 (elmo-folder-list-messages-internal): Removed.
3879 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3880 local file messages.
3881 (elmo-folder-msgdb-create): Fixed read mark.
3883 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3885 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3888 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3890 * elmo.el (elmo-folder-list-message-entities): Define as inline
3892 (elmo-folder-messages): Abolish.
3894 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3896 (elmo-folder-synchronize): Define.
3897 (elmo-message-entity): Define.
3899 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3901 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3902 elmo-imap4-session-select-mailbox.
3904 * elmo.el (elmo-folder-move-messages): Don't display any message.
3906 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3908 (elmo-imap4-session-check): Don't wait CHECK response.
3909 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3911 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3913 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3915 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3917 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3919 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3922 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3923 (elmo-folder-list-message-entities): Added argument in-msgdb and
3925 (elmo-folder-synchronize): Define as a method.
3927 * elmo-nntp.el (elmo-folder-initialize): Don't use
3928 elmo-nntp-default-user if zero-length username is specified
3931 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3933 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3934 server name in case with username.
3935 (XXX: this is ad-hoc fix against username includes "@", it
3936 should be solved fundamentally)
3938 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3940 * elmo-nntp.el (elmo-nntp-debug): New function.
3941 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3942 (elmo-network-authenticate-session): Hide auth-info from the log.
3944 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3945 user name if it is equal to elmo-nntp-default-user.
3947 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3949 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3950 instead of shimbun-server-internal;
3951 Use shimbun-current-group instead of shimbun-current-group-internal.
3952 (elmo-folder-plugged-p): Use shimbun-server instead of
3953 shimbun-server-internal.
3954 (elmo-folder-set-plugged): Ditto.
3955 (elmo-net-port-info): Ditto.
3956 (elmo-folder-check): Ditto.
3957 (elmo-folder-expand-msgdb-path): Ditto.
3958 (elmo-folder-list-subfolders): Ditto.
3960 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3962 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3963 Convert field-name to lower case.
3964 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3966 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3968 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3969 `message' and `error' take format string.
3971 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3973 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3975 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3977 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3978 recursive call (can't byte compile on emacs 20.7).
3980 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3982 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3983 (elmo-folder-list-message-entities): New API.
3984 (elmo-message-entity): Ditto.
3985 (elmo-message-entity-parent): Ditto.
3986 (elmo-folder-do-each-message-entity): Ditto.
3987 (elmo-message-entity-number): Ditto.
3988 (elmo-message-entity-field): Ditto.
3989 (elmo-message-entity-set-field): Ditto.
3990 (elmo-folder-count-flags): Ditto.
3991 (elmo-folder-length): Ditto.
3993 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3996 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3997 (elmo-msgdb-count-marks): Abolish.
3998 (elmo-msgdb-make-entity): Ditto.
3999 (elmo-msgdb-do-each-entity): Ditto.
4000 (elmo-msgdb-message-entity): New inline function.
4001 (elmo-msgdb-message-entity-field): Ditto.
4002 (elmo-msgdb-message-entity-set-field): Ditto.
4003 (elmo-msgdb-make-message-entity): New function.
4005 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4007 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4008 to flag. (All other related portions are changed.)
4009 (elmo-folder-msgdb-create): Likewise.
4010 (elmo-generic-folder-append-messages): Use flag-table instead of
4012 (elmo-folder-move-messages): Removed redundant process.
4013 (elmo-folder-synchronize): Likewise.
4015 * elmo-msgdb.el (elmo-flag-table-get): New function.
4016 (elmo-flag-table-save): Fixed.
4017 (elmo-msgdb-length): New inline function.
4018 (elmo-msgdb-flag-table): New function.
4019 (elmo-msgdb-mark): Add optional argument new.
4020 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4021 (elmo-msgdb-seen-list): Ditto.
4022 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4025 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4027 * elmo.el (elmo-message-set-mark): Abolish.
4028 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4029 (All related portions are changed.)
4031 * elmo-msgdb.el (toplevel): Added comment.
4032 (elmo-load-msgdb): Added 4th element `path'.
4033 (elmo-msgdb-append): Follow the change above.
4034 (elmo-msgdb-clear): Ditto.
4035 (elmo-msgdb-delete-msgs): Ditto.
4036 (elmo-msgdb-get-path): New inline function.
4037 (elmo-msgdb-set-path): Ditto.
4038 (elmo-flag-table-filename): New variable.
4039 (elmo-flag-table-load): New function.
4040 (elmo-flag-table-set): Ditto.
4041 (elmo-flag-table-save): Ditto.
4042 (elmo-msgdb-get-field-value): Abolish.
4043 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4045 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4047 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4048 the folder has been deleted successfully.
4049 * elmo-imap4.el (elmo-folder-delete): Ditto.
4050 * elmo-archive.el (elmo-folder-delete): Ditto.
4051 * elmo-localdir.el (elmo-folder-delete): Ditto.
4052 * elmo-maildir.el (elmo-folder-delete): Ditto.
4054 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4056 * elmo-util.el (elmo-string-member-ignore-case): New function.
4057 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4058 (elmo-imap4-fetch-callback-1-subr): Likewise.
4060 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4062 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4063 the case of the name attribute "\Noselect".
4065 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4067 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4069 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4070 flist, is not always a member of onum-alist.
4072 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4074 * elmo-version.el (elmo-version): Up to 2.11.3.
4076 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4078 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4079 copied from localdir's one.
4081 * elmo-pipe.el (elmo-folder-rename): New method, rename
4082 destination folder with leaving source folder as it is.
4084 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4086 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4089 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4091 * elmo-version.el (elmo-version): Up to 2.11.2.
4093 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4095 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4096 shimbun-open in case of "@".
4097 (elmo-folder-open-internal): Cope with shimbun = nil case.
4098 (elmo-folder-plugged-p): Ditto.
4099 (elmo-folder-list-subfolders): Make list for "@/" group.
4101 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4103 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4104 mailbox (e.g. for %~/something).
4106 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4108 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4109 Replace nested conditional with guard clauses.
4111 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4113 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4116 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4119 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4121 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4122 Replace nested conditional with guard clauses.
4124 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4126 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4127 (elmo-passwd-alist-save): Ditto.
4128 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4130 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4132 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4133 dir-name only if it is absolute path.
4134 (TODO: distinguish +/something and +something)
4136 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4138 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4139 path for "+~/something".
4141 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4143 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4144 as non-directory, cause error before rename-file.
4145 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4146 apropriately, mimic localdir's one.
4147 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4149 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4151 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4153 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4155 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4157 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4159 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4160 is included in the global-mark or not.
4162 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4164 * utf7.el (toplevel): Avoid error when the function
4165 find-coding-system does not exist.
4167 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4169 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4170 cache even if the folder is plugged.
4171 (elmo-nntp-search-primitive): Do nothing when body search is
4172 invoked (although it is not used by the change above).
4173 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4175 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4177 * elmo-version.el (elmo-version): Up to 2.11.1.
4179 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4181 * elmo-archive.el: Specify charset.
4183 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4185 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4186 process buffer lives or not.
4188 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4189 while flushing queues (It causes infinite loop).
4191 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4193 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4195 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4197 * utf7.el (toplevel): Check the ucs features dynamically.
4198 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4200 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4201 folder is creatabe or not if it already exists.
4203 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4205 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4207 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4209 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4210 (elmo-imap4-read-response): Take care of garbage response.
4212 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4214 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4215 just return nil instead of error.
4217 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4219 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4220 search-key is "body".
4222 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4224 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4225 of elmo-string-matched-assoc to use match-data.
4226 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4228 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4230 * elmo-split.el (elmo-split->): New function.
4231 (elmo-split-<): Ditto.
4233 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4235 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4236 workaround for invalid message-id.
4238 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4240 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4241 return normal pop3 session or pop3 biff session.
4243 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4245 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4246 info part to the cur files when the new files already have it.
4247 (Adviced by Jared Rhine <jared@wordzoo.com>)
4249 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4251 * elmo-split.el (elmo-split-default-action): New variable.
4252 (elmo-split-subr): Use it if all other conditions are passed.
4253 Extend `fname' and rename it as `action'. (implemented
4254 Teranishi-san's idea in [wl:10800])
4256 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4258 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4259 * elmo-util.el: Ditto.
4261 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4263 * elmo.el (elmo-message-accessible-p): Renamed from
4264 elmo-message-cached-p and rewritten.
4266 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4268 * elmo.el (elmo-folder-list-flagged): New generic function.
4269 (elmo-folder-list-importants): New implementation.
4270 (elmo-folder-list-answereds): Ditto.
4271 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4273 (elmo-message-cached-p): New function.
4274 (elmo-message-set-flag): Ditto (no content).
4275 (elmo-message-unset-flag): Ditto.
4276 (elmo-folder-list-messages-mark-match): Abolish.
4278 * elmo-util.el (elmo-regexp-opt): New function.
4280 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4281 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4283 (elmo-msgdb-list-flagged): New function.
4285 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4286 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4289 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4291 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4293 * elmo-version.el (elmo-version): Up to 2.11.0.
4295 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4297 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4298 `elmo-file-cache-exists-p'; use proper mark that depends on
4300 (elmo-msgdb-unset-flag): Ditto.
4301 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4303 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4304 with 4th argument `use-cache'.
4306 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4308 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4309 (elmo-folder-mark-as-important): Ditto.
4310 (elmo-folder-unmark-read): Ditto.
4311 (elmo-folder-mark-as-read): Ditto.
4312 (elmo-folder-unmark-answered): Ditto.
4313 (elmo-folder-mark-as-answered): Ditto.
4315 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4317 (elmo-msgdb-mark): Likewise.
4318 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4319 (elmo-msgdb-unset-flag): Likewise.
4321 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4323 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4325 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4328 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4330 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4331 set spool-length to 0.
4333 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4335 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4336 (elmo-dop-queue-flush): Fixed last change.
4338 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4340 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4341 if require-msgdb slot is nil.
4342 (elmo-folder-list-importants): Likewise.
4344 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4346 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4349 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4350 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4353 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4355 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4357 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4359 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4361 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4363 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4365 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4366 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4368 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4370 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4371 the problem reported by Sean Rima [wl-en:180].
4373 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4375 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4377 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4379 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4381 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4383 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4385 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4387 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4389 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4391 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4394 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4396 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4397 (elmo-folder-mark-as-read): Follow the API change.
4398 (elmo-message-set-cached): New function.
4400 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4402 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4404 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4405 (elmo-folder-mark-as-important): Ditto.
4406 (elmo-folder-unmark-read): Ditto.
4407 (elmo-folder-mark-as-read): Ditto.
4408 (elmo-folder-unmark-answered): Ditto.
4409 (elmo-folder-mark-as-answered): Ditto.
4411 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4412 (elmo-folder-unmark-important): Ditto.
4413 (elmo-folder-mark-as-read): Ditto.
4414 (elmo-folder-unmark-read): Ditto.
4415 (elmo-folder-mark-as-answered): Ditto.
4416 (elmo-folder-unmark-answered): Ditto.
4418 * elmo-mark.el (toplevel): Removed some mark method definitions.
4420 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4421 (elmo-map-folder-mark-as-answered): Ditto.
4422 (elmo-folder-unmark-important): Add :before qualifier.
4423 (elmo-folder-mark-as-important): Ditto.
4424 (elmo-folder-unmark-read): Ditto.
4425 (elmo-folder-mark-as-read): Ditto.
4426 (elmo-folder-unmark-answered): Define.
4427 (elmo-folder-mark-as-answered): Ditto.
4429 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4430 (elmo-map-folder-unmark-answered): Ditto.
4432 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4434 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4435 (elmo-folder-mark-as-important): Ditto.
4436 (elmo-folder-unmark-read): Ditto.
4437 (elmo-folder-mark-as-read): Ditto.
4438 (elmo-folder-unmark-answered): Ditto.
4439 (elmo-folder-mark-as-answered): Ditto.
4441 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4442 `mark'; evaluate mark condition.
4443 (elmo-msgdb-match-condition-internal): New function.
4444 (elmo-msgdb-match-condition): Call it; changed argument.
4446 * elmo.el (elmo-folder-search): Follow the API change on
4447 `elmo-msgdb-match-condition'.
4449 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4451 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4452 original mark is non-nil.
4454 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4456 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4457 (elmo-map-folder-list-answereds): New method.
4458 (elmo-folder-list-unreads): Add :around qualifier.
4459 (elmo-folder-list-importants): Ditto.
4460 (elmo-folder-list-answereds): Ditto.
4462 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4464 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4466 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4467 method if msgdb is not required.
4468 (elmo-filter-folder-list-importants): Don't treat global-mark.
4470 * elmo.el (elmo-folder-list-importants): Ditto.
4472 * elmo-net.el (elmo-folder-list-importants): Ditto.
4474 * elmo-map.el (elmo-folder-list-importants): Ditto.
4476 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4478 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4479 (elmo-imap4-folder-list-any-plugged): New function.
4480 (elmo-imap4-search-internal-primitive): Use it.
4482 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4483 only when require-msgdb slot is non-nil.
4484 (elmo-folder-close): Clear target folder's msgdb.
4486 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4488 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4489 (elmo-pop3-msgdb-create-by-header): Ditto.
4490 (elmo-pop3-msgdb-create-message): Ditto.
4492 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4494 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4496 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4498 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4499 (elmo-folder-msgdb-create): Ditto.
4500 (elmo-nntp-folder-msgdb-create): Ditto.
4501 (elmo-nntp-msgdb-create-by-header): Ditto.
4502 (elmo-nntp-msgdb-create-message): Ditto.
4503 (elmo-folder-list-unreads): Define.
4505 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4506 (elmo-folder-append-messages): Ditto.
4507 (elmo-folder-list-unreads): Define.
4508 (elmo-folder-list-importants): Ditto.
4509 (elmo-folder-list-answereds): Ditto.
4511 * elmo-net.el (elmo-folder-list-unreads): Define.
4512 (elmo-folder-list-importants): Ditto.
4513 (elmo-folder-list-answereds): Ditto.
4514 (elmo-folder-list-answereds-plugged): Ditto.
4515 (elmo-folder-msgdb-create): Follow the API change.
4516 (elmo-folder-msgdb-create-unplugged): Ditto.
4517 (elmo-folder-unmark-answered): Define.
4518 (elmo-folder-mark-as-answered-unplugged): Ditto.
4519 (elmo-folder-unmark-answered-unplugged): Ditto.
4521 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4522 (elmo-msgdb-unread-uncached-mark): Ditto.
4523 (elmo-msgdb-unread-cached-mark): Ditto.
4524 (elmo-msgdb-read-uncached-mark): Ditto.
4525 (elmo-msgdb-answered-cached-mark): Ditto.
4526 (elmo-msgdb-answered-uncached-mark): Ditto.
4527 (elmo-msgdb-important-mark): Ditto.
4528 (elmo-msgdb-set-mark): Rewrite.
4529 (elmo-msgdb-count-marks): Rewrite.
4530 (elmo-msgdb-mark-alist-set): Abolish.
4531 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4532 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4534 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4535 (elmo-folder-close): Define.
4536 (elmo-folder-msgdb-create): Follow the API change.
4537 (elmo-folder-list-unreads): Rewrite.
4538 (elmo-folder-mark-as-important): Ditto.
4539 (elmo-folder-unmark-important): Ditto.
4540 (elmo-folder-mark-as-read): Ditto.
4541 (elmo-folder-unmark-read): Ditto.
4542 (elmo-folder-mark-as-answered): Define.
4543 (elmo-folder-unmark-answered): Ditto.
4545 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4546 (elmo-folder-append-messages): Ditto.
4548 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4550 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4551 (elmo-folder-list-importants): Ditto.
4553 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4554 (elmo-folder-append-messages): Ditto.
4556 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4558 (elmo-folder-msgdb-create-plugged): Ditto.
4559 (elmo-folder-append-messages): Ditto.
4560 (elmo-folder-list-answereds-plugged): Define.
4561 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4562 (elmo-folder-unmark-answered-plugged): Define.
4563 (elmo-folder-mark-as-answered-plugged): Ditto.
4564 (elmo-folder-search-requires-msgdb-p): Ditto.
4566 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4567 (elmo-folder-initialize): Set it.
4568 (elmo-folder-msgdb): Define.
4569 (elmo-folder-check): Call elmo-folder-synchronize.
4570 (elmo-folder-close): Define.
4571 (elmo-folder-commit): Ditto.
4572 (elmo-folder-msgdb-create): Rewrite.
4573 (elmo-folder-list-unreads): Ditto.
4574 (elmo-folder-list-importants): Ditto.
4575 (elmo-folder-mark-as-read): Ditto.
4576 (elmo-folder-unmark-read): Ditto.
4577 (elmo-folder-mark-as-important): Ditto.
4578 (elmo-folder-unmark-important): Ditto.
4579 (elmo-folder-mark-as-answered): Define.
4580 (elmo-folder-unmark-answered): Ditto.
4582 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4583 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4584 (elmo-dop-queue-method-name-alist): Likewise.
4585 (elmo-folder-mark-as-answered-dop): New inline function.
4586 (elmo-folder-unmark-answered-dop): Ditto.
4587 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4589 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4590 (elmo-folder-msgdb-create): Ditto.
4591 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4592 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4593 (elmo-archive-parse-mmdf): Ditto.
4595 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4596 (elmo-folder-list-unreads-internal): Ditto.
4598 * elmo.el (elmo-folder-msgdb): Define as generic function.
4599 (elmo-folder-list-messages): Added argument `in-msgdb'.
4600 (elmo-folder-list-unreads): Define as generic function.
4601 (elmo-folder-list-importants): Ditto.
4602 (elmo-folder-list-answereds): Ditto.
4603 (elmo-folder-list-messages-with-global-mark): New function.
4604 (elmo-folder-msgdb-create): Removed mark arguments.
4605 (elmo-folder-unmark-answered): New generic function.
4606 (elmo-folder-mark-as-answered): Ditto.
4607 (elmo-folder-append-messages): Removed argunment `unread-marks'
4608 (elmo-folder-list-unreads-internal): Abolish.
4609 (elmo-folder-list-importants-internal): Ditto.
4610 (elmo-folder-search-requires-msgdb-p): New generic function.
4611 (elmo-folder-search-requires-msgdb-p-internal): New function.
4612 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4614 (elmo-folder-search-fast): Added key 'mark'.
4615 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4616 instead of unread-marks argument.
4617 (elmo-folder-move-messages): Removed argunment `unread-marks'
4618 (elmo-folder-unmark-important): Define.
4619 (elmo-folder-mark-as-important): Ditto.
4620 (elmo-folder-unmark-read): Ditto.
4621 (elmo-folder-mark-as-read): Ditto.
4622 (elmo-folder-unmark-answered): Ditto.
4623 (elmo-folder-mark-as-answered): Ditto.
4624 (elmo-folder-replace-marks): Abolish.
4625 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4627 (elmo-folder-synchronize): Removed mark arguments;
4628 return crosspost only number.
4630 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4632 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4633 Remove redundunt connectivity check.
4635 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4637 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4638 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4640 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4642 * pldap.el (ldap-decode-string): Return string as-is if
4643 `ldap-coding-system' is nil.
4644 (ldap-encode-string): Ditto.
4645 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4646 (ldap-default-host): Fixed docstring.
4648 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4650 * elmo-util.el (elmo-warning): Define as a macro which uses
4651 `display-warning' if it is defined as a function.
4653 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4654 (elmo-split-equal): Use it.
4655 (elmo-split-match): Ditto.
4656 (elmo-split-message-entity): New buffer-local variable.
4657 (elmo-split-subr): Set it.
4659 * elmo-version.el (elmo-version): Up to 2.9.15.
4661 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4663 * elmo-imap4.el (elmo-network-initialize-session):
4664 Check capability after starttls.
4666 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4668 * elmo-util.el (elmo-list-delete): Added optional argument
4671 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4673 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4675 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4677 * elmo-imap4.el (elmo-folder-initialize): Don't use
4678 elmo-imap4-default-mailbox.
4680 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4682 * elmo-split.el (toplevel): Use `product-provide'.
4683 (elmo-split): Checkdoc.
4685 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4687 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4688 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4689 the function `elmo-imap4-debug-1'.
4691 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4693 * elmo-split.el (elmo-split): Moved to run hooks and to show
4694 message from elmo-split-subr.
4695 (elmo-split-subr): Follow the change above.
4697 * elmo-split.el (elmo-split-subr): New function (renamed from
4699 (elmo-split): Changed to call elmo-split-subr by element of
4701 (elmo-split-folder): Changed customization type to choice.
4703 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4705 * elmo-split.el (elmo-split-and): Fixed condition.
4707 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4709 * elmo-split.el: New file.
4710 (elmo-split): Fixed logic.
4711 Display "Test:" instead of "Folder:" when reharsal.
4713 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4716 * elmo-version.el (elmo-version): Up to 2.9.14.
4718 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4721 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4723 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4724 message with no message-id field.
4726 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4728 * elmo-version.el (elmo-version): Up to 2.9.13.
4730 * elmo-dop.el (elmo-folder-status-dop): Fix.
4732 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4734 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4736 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4737 changing default value of default-mime-charset.
4738 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4740 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4742 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4743 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4744 instead of elmo-dop-queue-method-name-alist to check merging queue.
4745 (elmo-folder-delete-messages-dop): Delete from queue if negative
4747 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4748 file is already removed.
4750 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4752 * elmo-vars.el: Bind colon keywords for old Emacsen.
4754 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4756 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4757 against non-exsisting charset.
4759 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4761 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4762 Use eword-decode-and-unfold-unstructured-field-body.
4764 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4765 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4766 exists to decode raw subject string.
4767 (toplevel): Require 'mime.
4769 * elmo-version.el (elmo-version): Up to 2.9.12.
4771 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4773 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4774 (elmo-msgdb-set-mark): Ditto.
4776 * elmo-version.el (elmo-version): Up to 2.9.11.
4778 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4780 * elmo-util.el (elmo-delete-match-files): New function.
4782 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4783 instead of elmo-delete-directory.
4785 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4786 elmo-hash-minimun-size as 63.
4788 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4789 elmo-diff-unread is nil.
4791 * elmo-imap4.el (elmo-folder-open): Fix.
4793 * elmo.el (elmo-message-mark): Rewrite.
4794 (elmo-message-field): Ditto.
4795 (elmo-message-set-mark): Ditto.
4796 (elmo-folder-replace-marks): New function.
4797 (elmo-generic-folder-append-msgdb): Removed third argument for
4799 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4800 (elmo-msgdb-load): New implementation.
4802 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4804 * elmo-util.el (elmo-list-insert): New implementation.
4806 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4807 argument for elmo-msgdb-append.
4810 * elmo-msgdb.el (elmo-load-msgdb): New function.
4811 (elmo-make-msgdb): Ditto.
4812 (elmo-msgdb-get-index): New inline function.
4813 (elmo-msgdb-set-index): Ditto.
4814 (elmo-msgdb-get-entity-hashtb): Ditto.
4815 (elmo-msgdb-get-mark-hashtb): Ditto.
4816 (elmo-msgdb-get-mark): Ditto.
4817 (elmo-msgdb-set-mark): Ditto.
4818 (elmo-msgdb-count-marks): Ditto.
4819 (elmo-msgdb-get-number): Ditto.
4820 (elmo-msgdb-get-field): Ditto.
4821 (elmo-msgdb-seen-list): Ditto.
4822 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4823 (elmo-msgdb-delete-msgs): Follow the changes above.
4824 (elmo-msgdb-overview-get-entity): Ditto.
4825 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4826 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4828 (elmo-msgdb-make-index): Likewise.
4829 (elmo-msgdb-append): Removed third argument.
4830 (elmo-msgdb-clear): Clear index as nil.
4831 (elmo-folder-set-info-hashtb): Removed.
4832 (elmo-folder-set-info-max-by-numdb): Ditto.
4833 (elmo-folder-info-make-hashtb): Ditto.
4835 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4837 * elmo-map.el (elmo-folder-pack-number): Ditto.
4839 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4841 * elmo-version.el (elmo-version): Up to 2.9.10.
4843 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4845 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4847 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4849 * elmo-utils.el (elmo-make-directory): Add option.
4850 Default file mode is 700.
4852 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4854 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4856 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4858 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4861 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4864 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4866 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4867 (elmo-shimbun-folder-entity-hash): New function.
4868 (elmo-shimbun-folder-shimbun-header): Ditto.
4869 (elmo-shimbun-entity-to-header): Ditto.
4870 (elmo-shimbun-msgdb-to-headers): Removed.
4871 (elmo-shimbun-folder-setup): Ditto.
4872 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4874 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4875 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4876 Removed useless local bind.
4877 (elmo-folder-open-internal): Don't call
4878 `elmo-shimbun-folder-setup'.
4879 (elmo-folder-close-internal): Clear entity-hash slot.
4880 (elmo-folder-clear): Ditto.
4881 (elmo-shimbun-msgdb-create-entity): Use
4882 `elmo-shimbun-folder-shimbun-header'.
4883 (elmo-map-message-fetch): Ditto.
4884 (elmo-shimbun-update-overview): Use overview entity instead of
4885 shimbun header to lookup id by references.
4886 (elmo-map-folder-list-message-locations): Use not only headers but
4887 also overviews to list locations.
4889 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4891 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4894 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4896 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4898 * elmo-util.el (elmo-read-search-condition-internal): Give default
4901 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4903 * elmo-util.el (elmo-condition-parse-search-value): Accept
4904 YYYY-MM-DD format to search.
4905 * elmo-date.el (elmo-date-get-datevec): Likewise.
4907 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4909 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4912 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4914 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4917 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4919 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4920 case from `elmo-folder-exists-p'.
4921 (elmo-folder-exists-p): Removed.
4922 (elmo-folder-creatable-p) Ditto.
4924 * elmo-net.el (elmo-folder-create): Defined.
4925 (elmo-folder-create-unplugged): New function.
4926 (elmo-folder-exists-p): Changed default value to nil from t.
4928 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4929 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4931 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4932 `elmo-create-folder-dop' and append queue
4933 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4934 (elmo-folder-create-dop-delayed): New function.
4936 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4938 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4940 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4941 (elmo-folder-writable-p) : Ditto.
4943 * elmo-version.el (elmo-version): Up to 2.9.9.
4945 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4947 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4948 `elmo-message-use-cache-p' returns nil.
4949 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4950 (ignore cache file and refer the substance in local folders)
4952 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4954 * elmo-version.el (elmo-version): Up to 2.9.8.
4956 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4958 * elmo-version.el (elmo-version): Up to 2.9.7.
4960 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4962 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4964 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4966 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4968 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4970 (elmo-map-folder-list-message-locations): Reverse location list.
4972 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4974 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4976 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4978 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4980 (elmo-nntp-folder-list-subfolders): Follow the change above.
4982 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4984 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4985 name if authentication type is specified.
4987 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4989 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4991 (elmo-default-nntp-stream-type): Ditto.
4992 (elmo-default-pop3-stream-type): Ditto.
4994 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4996 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4998 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5000 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5002 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5004 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5005 (elmo-maildir-folder-path): Ditto.
5006 (elmo-maildir-list): Ditto (abolished).
5008 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5010 * elmo-version.el (elmo-version): Up to 2.9.6.
5012 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5014 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5015 (elmo-maildir-folder-path): Ditto.
5016 (elmo-msgdb-directory): Ditto.
5017 (elmo-passwd-life-time): Ditto.
5018 (elmo-msgdb-extra-fields): Ditto.
5019 (elmo-enable-disconnected-operation): Ditto.
5021 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5023 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5025 (elmo-pop3-default-authenticate-type): Ditto.
5027 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5029 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5031 (elmo-pop3-default-authenticate-type): Ditto.
5033 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5035 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5036 mailbox to new-folder.
5038 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5040 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5041 less than new, set new as unread.
5043 * elmo-util.el (elmo-string): Don't put text-property if nil.
5045 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5047 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5048 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5050 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5052 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5053 is nil on `completing-read'.
5055 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5057 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5059 (elmo-imap4-parse-namespace-subr): Ditto.
5060 (elmo-folder-list-subfolders): Append a delimiter when the specified
5061 folder path is a root with namespace and does not end with delimiter.
5063 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5065 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5068 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5070 * elmo-util.el (elmo-save-buffer): The first argument of message
5071 is a format control string.
5073 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5075 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5076 `elmo-folder-diff').
5077 (elmo-diff-unread): Likewise.
5079 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5081 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5082 is t on `completing-read'.
5084 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5086 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5087 method of target folder with self mark-alist if MARK-ALIST is nil.
5089 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5091 * elmo-version.el (elmo-version): Up to 2.9.5.
5093 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5095 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5096 (elmo-dop-merge-funcs): Remove.
5098 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5100 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5101 Return t if PATH is directory, too.
5102 Use `dolist' instead of while loop.
5104 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5106 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5109 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5111 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5113 (elmo-folder-list-messages-unplugged): Return t if
5114 elmo-enable-disconnected-operation is nil.
5116 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5117 `elmo-folder-list-messages-internal'.
5119 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5121 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5122 Change to looking-at `[23][0-9]+'.
5123 (elmo-network-initialize-session): Use 'error-msg'
5124 * elmo-net.el (elmo-network-open-session): Set unplugged
5125 if elmo-network-initialize-session returns 'elmo-open-err.
5127 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5129 * elmo-version.el (elmo-version): Up to 2.9.4.
5131 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5133 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5134 `elmo-folder-list-messages-internal'.
5136 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5138 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5139 (elmo-message-match-condition): New method.
5140 (elmo-folder-search-fast): New inline function.
5141 (elmo-msgdb-search): Removed.
5143 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5144 target folder if it is unplugged.
5145 (elmo-folder-list-messages-internal): Return t if target folder is
5146 unplugged and itself is persistent; In this case, use list be
5149 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5150 (elmo-msgdb-search-internal-primitive): Ditto.
5151 (elmo-msgdb-match-condition): New function.
5152 (elmo-msgdb-match-condition-primitive): Ditto.
5154 * elmo-util.el (elmo-filter-condition-p): New macro.
5156 * elmo-cache.el (elmo-folder-search): Removed.
5158 * elmo-localdir.el (elmo-folder-search): Ditto.
5160 * elmo-maildir.el (elmo-folder-search): Ditto.
5162 * elmo-mark.el (elmo-folder-search): Ditto.
5164 * elmo-nmz.el (elmo-folder-search): Ditto.
5166 * elmo-sendlog.el (elmo-folder-search): Ditto.
5168 * elmo-shimbun.el (elmo-folder-search): Ditto.
5170 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5171 if folder is unplugged.
5173 * elmo-nntp.el (elmo-folder-search): Likewise.
5174 (elmo-nntp-search-internal): New function.
5176 * elmo-version.el (elmo-version): Up to 2.9.3.
5178 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5180 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5182 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5184 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5186 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5188 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5190 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5192 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5193 (elmo-map-folder-list-message-locations): Do drive letter conversion
5194 on Windows environment.
5195 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5196 (elmo-map-message-fetch): Ditto.
5198 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5200 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5201 (elmo-network-initialize-session): Ditto.
5203 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5205 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5207 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5209 * elmo-util.el (elmo-progress-clear): Ditto.
5211 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5212 `DD-Mon-YYYY' type date.
5214 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5216 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5217 `elmo-date-make-sortable-string' instead of
5218 `timezone-make-date-sortable'.
5220 * elmo-date.el (elmo-date-make-sortable-string): Use
5221 `timezone-make-time-string'.
5223 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5225 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5227 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5228 `since'; Fix timezone.
5230 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5232 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5234 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5236 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5238 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5240 * elmo.el (elmo-generic-folder-append-messages): Make
5241 fetch-strategy with `use-cache' as 'maybe. Check return value of
5242 `elmo-message-fetch'.
5243 (elmo-message-fetch): Return return value of
5244 `elmo-message-fetch-with-cache-process'.
5245 (elmo-message-fetch-with-cache-process): Return non-nil if
5246 fetching was succeed. Load cache when fetching was failed and
5247 fetch-strategy-use-cache is 'maybe.
5249 * elmo-util.el (elmo-file-cache-load): New function.
5251 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5254 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5255 non-nil if fetching was succeed.
5257 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5259 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5261 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5262 (elmo-message-fetch-with-cache-process): Likwise.
5264 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5266 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5268 * elmo-version.el (elmo-version): Up to 2.9.2.
5270 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5272 * elmo.el (elmo-folder-delete): Delete msgdb path.
5274 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5276 * elmo-maildir.el (elmo-folder-delete): Ditto.
5278 * elmo-localdir.el (elmo-folder-delete): Ditto.
5280 * elmo-imap4.el (elmo-folder-delete): Ditto.
5282 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5284 * elmo.el (luna-define-class): Added `biff' slot.
5286 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5287 (elmo-pop3-debug-inhibit-logging): Abolished.
5288 (elmo-network-close-session): Eliminated needless let.
5289 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5290 (elmo-pop3-send-command): Added `no-log' argument.
5291 (elmo-pop3-process-filter): Use `with-current-buffer'.
5292 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5294 (elmo-pop3-auth-apop): Likewise.
5295 (elmo-network-authenticate-session): Likewise.
5297 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5300 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5301 string to determine protocol.
5302 (elmo-network-session-name-prefix): Abolished.
5303 (elmo-network-session-cache-key): Follow the change above.
5304 (elmo-network-open-session): Ditto.
5306 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5307 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5309 * elmo-version.el (elmo-version): Up to 2.9.1.
5311 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5312 unmatch condition checking.
5314 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5317 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5319 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5321 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5323 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5324 test for while loop to execute at least one SEARCH command.
5326 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5328 * elmo-version.el (elmo-version): Up to 2.9.0.
5330 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5332 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5333 (elmo-archive-folder-path): Define.
5334 (elmo-folder-initialize): Setup `dir-name' slot.
5335 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5336 Use `dir-name' as prefix of each subfolders.
5337 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5339 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5341 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5342 (elmo-pipe-folder-list-target-messages): New internal function.
5343 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5345 (elmo-pipe-folder-copied-list-load): New function.
5346 (elmo-pipe-folder-copied-list-save): Ditto.
5347 (elmo-folder-open-internal): Follow the change above.
5348 (elmo-folder-status): Fixed for copy.
5350 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5352 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5354 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5356 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5357 elmo-copy-file instead of elmo-add-name-to-file.
5359 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5361 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5364 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5365 of accept-process-output as 1.
5366 (elmo-pop3-read-contents): Ditto.
5367 (elmo-pop3-read-body): Ditto.
5369 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5371 * elmo-version.el (product-version-as-string): Remove define.
5373 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5375 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5376 (elmo-imap4-copy-messages): Chop number set using
5377 `elmo-imap4-number-set-chop-length'.
5378 (elmo-imap4-set-flag): Ditto.
5379 (elmo-imap4-search-internal-primitive): Ditto.
5381 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5383 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5384 `elmo-folder-make-temp-dir'
5386 * elmo-vars.el (elmo-cache-directory): New variable.
5387 (elmo-cache-dir): Abolished.
5388 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5390 * elmo-version.el (elmo-version): Up to 2.7.7.
5392 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5394 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5395 defcustom; Set default value as t.
5397 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5399 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5400 (ldap-search-program-arguments): Changed default value.
5401 (ldap-search-basic): Accept exit status 4.
5402 (ldap/field-body): Parse options.
5403 (ldap/collect-field): Ditto.
5404 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5406 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5407 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5408 (elmo-imap4-accept-ok): Ditto.
5409 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5410 'notify-bye, only BYE error is reported.
5411 (elmo-folder-exists-p-plugged): Set no-error argument of
5412 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5414 * elmo.el (elmo-imap4-bye-error): Changed message.
5416 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5417 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5418 queues (It causes infinite loop).
5420 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5422 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5423 (RECENT UNSEEN MESSAGES) extension.
5425 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5427 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5428 Check number of overview fields.
5430 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5432 * elmo.el (elmo-folder-confirm-appends): Changed message.
5433 (elmo-folder-confirm-appends): Ditto.
5435 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5437 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5439 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5441 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5442 of elmo-folder-update-threshold is nil, which can be set by
5443 wl-summary-update-confirm-threshold.
5445 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5447 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5448 (elmo-nmz-index-alias-alist): Ditto.
5449 (elmo-map-folder-list-message-locations): Follow the change above.
5451 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5453 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5455 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5457 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5459 * elmo-util.el (elmo-read): Ditto.
5460 (elmo-display-error): Ditto.
5462 * elmo-vars.el (elmo-date-match): Ditto.
5464 * pldap.el (ldap-coding-system): Ditto.
5466 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5467 `elmo-inhibit-number-mapping' as nil.
5469 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5471 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5472 space delimiter for list response.
5474 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5476 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5478 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5480 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5481 (elmo-map-message-fetch): Fix.
5482 * elmo-map.el (elmo-folder-status): Fix for killed.
5484 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5486 * elmo-sendlog.el: New file.
5487 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5489 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5491 * acap.el (acap-logging-out): New buffer local variable.
5492 (acap-close): Set it.
5493 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5496 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5498 * acap.el (acap-response-bye-p): New function.
5499 (acap-response-bye-message): Ditto.
5500 (acap-wait-for-response): If bye response is received, cause an error.
5501 (acap-parse-response): Make bye response when 'Bye' is received.
5503 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5505 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5507 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5509 * elmo-util.el (elmo-copy-file): Added argument
5510 `ok-if-already-exists'.
5511 (elmo-copy-file): Fixed typo.
5513 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5515 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5517 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5519 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5521 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5523 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5526 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5528 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5529 (elmo-folder-initialize): Fix for `copy'.
5530 (elmo-pipe-drain): Ditto.
5531 (elmo-folder-open-internal): Ditto.
5532 (elmo-folder-newsgroups): Fix.
5534 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5536 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5539 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5540 recent value is returned from imap folder.
5542 * elmo.el (elmo-folder-newsgroups): New generic function.
5544 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5545 (elmo-folder-initialize): Set it.
5546 (elmo-folder-expand-msgdb-path): Use it.
5547 (elmo-folder-newsgroups): Define.
5549 * elmo-filter.el (elmo-folder-newsgroups): Define.
5551 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5553 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5555 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5557 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5559 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5561 (elmo-shimbun-header-extra-field): New inline function.
5562 (elmo-shimbun-header-set-extra-field): Ditto.
5563 (elmo-shimbun-folder-header-hash-setup): Ditto.
5564 (elmo-shimbun-update-overview): Ditto.
5565 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5566 (elmo-shimbun-folder-setup): Use
5567 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5568 (elmo-shimbun-get-headers): Ditto.
5569 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5570 Insert `X-Shimbun-Id:' header if extra field is set.
5571 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5572 field's value instead of `shimbun-header-id'.
5574 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5576 (elmo-msgdb-overview-entity-set-date): Ditto.
5577 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5579 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5581 * mmimap.el (mmimap-entity-section): Changed body node number from
5584 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5586 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5587 `elmo-folder-delete-messages'.
5589 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5590 (elmo-folder-initialize): Changed to expand alias into index path.
5592 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5593 `elmo-mime-insert-header-from-buffer' with 6th arg
5596 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5598 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5600 * elmo.el (elmo-diff-new): New inline function.
5601 (elmo-diff-unread): Ditto.
5602 (elmo-diff-all): Ditto.
5604 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5605 value from responseb.
5606 (elmo-imap4-folder-diff-plugged): Ditto.
5607 (elmo-imap4-server-diff-async): Added recent argument.
5608 (elmo-server-diff-async): Ditto.
5609 (elmo-imap4-folder-diff-plugged): Ditto.
5611 * elmo-version.el (elmo-version): Up to 2.7.6.
5613 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5615 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5618 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5620 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5622 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5624 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5626 * elmo-multi.el (elmo-folder-initialize): Ditto.
5628 * elmo-util.el (elmo-parse-token): New function.
5629 (elmo-parse-prefixed-element): Ditto.
5631 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5633 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5635 (elmo-imap4-accept-ok): Ditto.
5637 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5639 * mmimap.el (mime-imap-entity-header-string): Don't check first
5640 element of node-id is `0' (Follow last change).
5642 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5644 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5645 assigned irregular node-id to nested multipart section.
5646 (initialize-instance): Followed above change.
5648 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5650 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5651 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5652 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5653 `elmo-shimbun-get-headers');
5654 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5655 visible article on summary exists in headers).
5656 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5658 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5660 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5663 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5665 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5667 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5669 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5670 header separator into loop condition.
5672 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5674 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5675 Return duplicate folder if it has subfolder.
5677 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5679 * elmo.el (elmo-make-folder): Add folder name error check.
5681 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5682 (elmo-nntp-encode-group-string): New inline function.
5683 (elmo-nntp-decode-group-string): Ditto.
5684 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5685 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5686 Use `not' instead of `null';
5687 Use elmo-nntp-decode-group-string.
5689 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5691 * elmo-version.el (elmo-version): Up to 2.7.5.
5693 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5695 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5696 Hide progress gauge if `elmo-folder-move-messages' exits
5699 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5701 * elmo-imap4.el (elmo-folder-initialize): Use
5702 `elmo-imap4-encode-folder-string' for folder name.
5704 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5706 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5709 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5711 * elmo-util.el (elmo-progress-counter-alist): New internal
5713 (elmo-progress-counter-value): New macro.
5714 (elmo-progress-counter-all-value): Ditto.
5715 (elmo-progress-counter-format): Ditto.
5716 (elmo-progress-counter-set-value): Ditto.
5717 (elmo-progress-set): New function.
5718 (elmo-progress-clear): Ditto.
5719 (elmo-progress-notify): Ditto.
5721 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5724 * elmo.el (elmo-generic-folder-append-messages): Call
5725 `elmo-progress-notify'.
5726 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5728 * elmo-archive.el (elmo-folder-append-messages): Call
5729 `elmo-progress-notify'.
5731 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5733 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5735 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5737 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5739 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5741 (elmo-message-encache-dop): Added argument `read'.
5743 * elmo-shimbun.el (elmo-message-encache): Ditto.
5745 * elmo-net.el (elmo-message-encache): Ditto.
5747 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5748 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5749 elmo-imap4-seen-messages.
5750 (elmo-folder-msgdb-create-plugged): Initialize
5751 elmo-imap4-seen-messages;
5752 Set seen mark on elmo-imap4-seen-messages.
5754 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5756 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5757 elmo-folder-append-buffer.
5758 (elmo-folder-encache): Added optional argument `read'.
5759 (elmo-message-encache): Ditto.
5761 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5763 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5765 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5766 if append buffer content succeds.
5768 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5770 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5771 elmo-display-progress.
5773 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5774 Set 4th argument of mime-display-message.
5775 (elmo-mime-display-as-is): Ditto.
5777 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5779 * elmo-nmz.el (toplevel): Require 'mime-edit.
5780 (elmo-nmz-content-type-alist): Abolished.
5781 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5782 content is not a message.
5783 (elmo-map-message-fetch): Changed behavior exept for message content;
5784 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5785 content-type, Add From: and Subject: field.
5787 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5789 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5790 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5793 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5795 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5796 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5798 * elmo-archive.el (elmo-folder-writable-p): Defined.
5800 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5802 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5804 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5806 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5808 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5810 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5812 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5814 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5816 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5818 * elmo-util.el (elmo-address-quote-specials): New function;
5819 Renamed from `wl-address-quote-specials'.
5821 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5823 * elmo-version.el (elmo-version): Up to 2.7.4.
5825 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5827 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5829 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5831 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5832 both compile-time and run-time to avoid byte-compile warning.
5834 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5836 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5838 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5840 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5842 (elmo-mime-display-as-is-internal): Use it.
5844 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5845 if `read-passwd' is not defined.
5847 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5849 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5851 (elmo-folder-status): Call `elmo-folder-open-internal';
5852 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5853 (elmo-folder-close-internal): Set location-alist as nil.
5854 (elmo-folder-clear): Define.
5855 (elmo-folder-check): Don't set location-alist as nil.
5857 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5859 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5861 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5862 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5864 * mmimap.el (mime-imap-entity::requested): New slot.
5865 (mime-imap-location-fetch-entity-p): New generic function.
5866 (mime-decode-parameters): Define using `defun-maybe'.
5867 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5868 content-type structure.
5869 (mime-entity-body): Return empty body if
5870 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5872 * elmo.el (elmo-message-displaying): New variable.
5874 * elmo-mime.el (elmo-mime-message-display): Bind
5875 elmo-message-displaying as t.
5877 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5879 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5881 * acap.el (acap-open): erase buffer before starting network process.
5882 (acap-store): Rewrite.
5884 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5886 * elmo-imap4.el (elmo-imap4-default-mailbox,
5887 elmo-imap4-default-server
5888 elmo-imap4-default-authenticate-type,
5889 elmo-imap4-default-user,
5890 elmo-imap4-default-port,
5891 elmo-imap4-default-stream-type,
5892 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5894 * elmo-pop3.el (elmo-pop3-default-user,
5895 elmo-pop3-default-server,
5896 elmo-pop3-default-authenticate-type,
5897 elmo-pop3-default-port,
5898 elmo-pop3-default-stream-type,
5899 elmo-pop3-stream-type-alist): Ditto.
5901 * elmo-nntp.el (elmo-nntp-default-server,
5902 elmo-nntp-default-user,
5903 elmo-nntp-default-port,
5904 elmo-nntp-default-stream-type,
5905 elmo-nntp-stream-type-alist): Ditto.
5907 * elmo-vars.el: Follow changes above.
5908 (elmo-setting): New custom group; added 'elmo-setting group to
5911 * elmo-version.el (elmo-version): Up to 2.7.3.
5913 * acap.el (acap-parse-response): Don't delete process when BYE
5914 response (It causes hang-up on slow network environment).
5915 (toplevel): Added comment.
5917 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5919 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5921 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5923 (acap-parse-return-metadata): Ditto.
5926 (toplevel): Fixed typo.
5928 * acap.el: New file.
5929 (acap-network-stream-open): Show "Connecting..." message.
5930 (acap-parse-response): Fixed problem for BYE untagged response.
5931 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5932 (toplevel): Added tiny comments.
5934 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5936 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5937 space delimiter for uidl response.
5939 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5941 * elmo-vars.el (elmo-use-semi): Eliminated.
5943 * elmo-util.el (elmo-string-assoc-all): New function.
5945 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5947 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5948 property 'mime-preview-situation for `mime-preview-quit'.
5950 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5952 * elmo.el (elmo-message-fetch-with-cache-process): Call
5953 elmo-message-fetch-internal instead of causing an error when fetch
5954 strategy is 'entire but only 'section cache is available.
5956 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5958 * elmo-version.el (elmo-version): Up to 2.7.2.
5960 * elmo.el (elmo-generic-folder-append-messages): Make
5961 fetch-strategy with `use-cache'.
5963 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5964 (elmo-dop-queue-method-name): New macro.
5966 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5968 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5969 unbalanced parenthesis.
5971 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5973 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5975 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5977 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5978 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5980 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5982 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5985 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5987 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5988 (elmo-message-use-cache-p): Define.
5989 (elmo-folder-msgdb-create): Treat cache.
5991 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5993 * elmo-nntp.el (elmo-network-initialize-session): Call
5994 `elmo-nntp-send-mode-reader'.
5995 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5997 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5999 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6001 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6004 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6005 for `elmo-plugged-p'.
6006 (elmo-open-network-stream): Fixed stream-type argument.
6008 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6010 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6011 unknown archive type is specified.
6013 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6015 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6017 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6018 while loading msgdb.
6020 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6021 (elmo-folder-open-internal): Rewrite.
6023 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6025 * elmo-mime.el (elmo-mime-display-as-is-internal):
6026 Adjust buffer-multibyte status.
6028 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6030 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6031 of elmo-condition-find-key.
6033 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6034 (elmo-condition-in-msgdb-p): Ditto.
6035 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6038 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6040 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6042 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6044 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6045 label for elmo-display-progress.
6047 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6049 * elmo.el (elmo-folder-clear): New method.
6050 (elmo-folder-clear): Define.
6051 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6053 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6054 (elmo-folder-clear): Define.
6056 * elmo-map.el (elmo-folder-clear): Define.
6058 * elmo-version.el (elmo-version): Up to 2.7.1.
6060 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6062 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6065 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6067 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6068 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6070 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6072 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6074 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6077 * elmo-imap4.el (elmo-folder-initialize): Use
6078 elmo-get-network-stream-type.
6080 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6082 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6084 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6086 * elmo.el (elmo-message-encache): Set unread argument for
6089 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6091 * elmo.el (elmo-net-port-info): New method.
6093 * elmo-shimbun.el (elmo-net-port-info): Define.
6094 (elmo-message-encache): Ditto.
6096 * elmo-net.el (elmo-net-port-info): Define as method.
6098 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6099 unplugged status when elmo-enable-disconnected-operation is t.
6101 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6102 of spool folder before checking new number.
6104 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6106 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6107 (elmo-network-setup-session): Ditto.
6108 (elmo-message-fetch-plugged): Ditto.
6109 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6110 (elmo-network-initialize-session): Ditto.
6111 (elmo-pop3-read-response): Abolish 3rd argument.
6112 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6113 (elmo-pop3-read-contents): Ditto.
6114 (elmo-pop3-read-body): Ditto.
6115 (elmo-folder-status): Call elmo-folder-close.
6116 (elmo-pop3-lock): Abolish.
6117 (elmo-pop3-unlock): Ditto.
6118 (elmo-pop3-locked-p): Ditto.
6119 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6121 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6123 * elmo-version.el (elmo-version): Up to 2.7.0.
6125 * elmo-pop3.el (elmo-pop3-debug): New variable.
6126 (elmo-pop3-debug-inhibit-logging): Ditto.
6127 (elmo-pop3-debug): New function.
6128 (elmo-pop3-send-command): Call elmo-pop3-debug.
6129 (elmo-pop3-read-response): Added keep-lock optional argument;
6130 Don't unlock if keep-lock is non-nil.
6131 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6132 (elmo-network-authenticate-session): Bind
6133 elmo-pop3-debug-inhibit-logging as t.
6134 (elmo-network-setup-session): Call elmo-pop3-read-response with
6136 (elmo-pop3-read-msg): Ditto.
6137 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6138 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6139 (elmo-network-initialize-session): Call elmo-pop3-lock.
6140 (elmo-folder-close-internal): Don't clear location-alist slot.
6141 (elmo-folder-check): Clear location-alist slot.
6143 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6145 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6146 (elmo-pop3-send-command): Call elmo-pop3-lock.
6147 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6148 (elmo-pop3-read-contents): Ditto.
6149 (elmo-pop3-lock): New function.
6150 (elmo-pop3-unlock): Ditto.
6151 (elmo-pop3-locked-p): Ditto.
6152 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6155 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6157 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6159 * elmo-util.el (elmo-file-field-primitive-condition-match):
6160 New inline function (Don't fetch file content if "first" or "last").
6161 (elmo-file-field-condition-match): Use
6162 elmo-file-field-primitive-condition-match.
6164 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6167 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6168 (elmo-message-fetch-plugged): Fixed.
6170 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6172 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6174 * elmo.el (elmo-folder-move-messages): Bind
6175 elmo-inhibit-display-retrieval-progress as t while moving messages.
6177 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6179 (elmo-inhibit-display-retrieval-progress): Ditto.
6181 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6182 for retrieval progress;
6183 Don't display progress when total buffer size is smaller than
6184 elmo-display-retrieval-progress-threshold.
6185 (elmo-message-fetch-plugged): Don't display progress when
6186 elmo-inhibit-display-retrieval-progress is non-nil.
6188 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6189 for retrieval progress;
6190 Don't display progress when literal size is smaller than
6191 elmo-display-retrieval-progress-threshold.
6192 (elmo-imap4-message-fetch): Don't display progress when
6193 elmo-inhibit-display-retrieval-progress is non-nil.
6195 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6197 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6198 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6199 (elmo-imap4-message-fetch): Likewise.
6201 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6202 (elmo-shimbun-index-range-alist): Ditto.
6203 (elmo-shimbun-use-entire-index): Abolish.
6204 (shimbun-mua-use-entire-index): Ditto.
6205 (elmo-shimbun-folder): Added new slot `range'.
6206 (elmo-folder-initialize): Setup slot `range'.
6208 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6210 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6211 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6212 (elmo-shimbun-get-headers): Use return value of
6213 `shimbun-article-expiration-days'.
6214 (elmo-folder-close-internal): Clean up last-check slot.
6216 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6217 (elmo-pop3-total-size): New variable.
6218 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6220 * elmo.el (elmo-folder-reserve-status-p): New method.
6222 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6223 (elmo-shimbun-use-entire-index): New user option.
6224 (shimbun-elmo-mua): New class.
6225 (shimbun-mua-search-id): Define.
6226 (shimbun-mua-use-entire-index): Ditto.
6227 (elmo-shimbun-folder:last-check): New slot.
6228 (elmo-shimbun-headers-cache-header-list): Abolish.
6229 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6230 (elmo-shimbun-headers-cache-header-hash): Ditto.
6231 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6232 (elmo-shimbun-headers-cache-last-check): Ditto.
6233 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6234 (elmo-shimbun-headers-check-p): Rewrite.
6235 (elmo-shimbun-msgdb-to-headers): New function.
6236 (elmo-shimbun-get-headers): Rewrite.
6237 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6238 (elmo-folder-open-internal): Get headers only if
6239 `elmo-shimbun-headers-check-p' is non-nil.
6240 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6242 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6243 (elmo-quit): Removed.
6245 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6247 (elmo-msgdb-overview-entity-set-extra): Ditto.
6248 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6250 * elmo-map.el (elmo-folder-status): Don't call
6251 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6254 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6256 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6257 of `elmo-msgdb-search-internal-primitive' when condition's car is
6260 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6262 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6264 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6266 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6267 call `elmo-pipe-drain'.
6269 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6271 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6272 typo. (elmo-cache-folder -> elmo-mark-folder)
6274 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6276 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6277 `elmo-message-fetch'.
6279 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6281 * elmo-net.el (elmo-message-encache): Fixed typo.
6282 (elmo-message-fetch-unplugged): Changed call
6283 `elmo-message-fetch-internal' without argument `outbuf'.
6285 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6287 * elmo.el (elmo-message-encache): Define as generic function.
6288 (elmo-message-fetch-field): New generic function.
6289 (elmo-message-fetch-with-cache-process): Cause an error when
6290 fetch strategy is 'entire but only 'section cache is available.
6291 (toplevel): Fixed nmz folder definition.
6293 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6294 (elmo-msgdb-resume-list-filename): Ditto.
6295 (elmo-queue-filename): Ditto.
6296 (elmo-enable-disconnected-operation): Changed default value to t.
6298 * elmo-util.el (elmo-cache-path-section-p): New function.
6299 (elmo-file-cache-get): Use it.
6300 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6301 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6302 (elmo-dop-queue-save): Ditto.
6304 * elmo-net.el (elmo-folder-status-unplugged): Call
6305 elmo-folder-status-dop.
6306 (elmo-folder-list-messages-unplugged): Implemented.
6307 (elmo-folder-delete-messages-unplugged): Define.
6308 (elmo-folder-msgdb-create): Define.
6309 (elmo-folder-msgdb-create-unplugged): Define.
6310 (elmo-folder-mark-as-read-unplugged): Ditto.
6311 (elmo-folder-unmark-read-unplugged): Ditto.
6312 (elmo-folder-mark-as-important-unplugged): Ditto.
6313 (elmo-folder-unmark-important-unplugged): Ditto.
6314 (elmo-message-encache): Ditto.
6316 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6317 (elmo-dop-queue-save): Ditto.
6319 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6320 `elmo-folder-msgdb-create'.
6321 (elmo-folder-append-buffer): Implemented unplugged operation.
6322 (elmo-folder-append-messages): Call parent method in unplugged status.
6323 (elmo-message-fetch-unplugged): Removed definition.
6324 (elmo-message-fetch-field): Implemented.
6326 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6327 (elmo-dop-folder): Removed variable definition.
6328 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6329 (elmo-dop-queue-flush): Implemented.
6330 (elmo-dop-queue-merge): Removed definition (TODO).
6331 (elmo-dop-spool-folder): New function.
6332 (elmo-dop-spool-folder-append-buffer): Ditto.
6333 (elmo-dop-spool-folder-list-messages): Ditto.
6334 (elmo-dop-list-deleting-messages): Ditto.
6335 (elmo-folder-append-buffer-dop): Ditto.
6336 (elmo-folder-delete-messages-dop): Ditto.
6337 (elmo-message-encache-dop): New inline function.
6338 (elmo-create-folder-dop): Ditto.
6339 (elmo-folder-mark-as-read-dop): Ditto.
6340 (elmo-folder-unmark-read-dop): Ditto.
6341 (elmo-folder-mark-as-important-dop): Ditto.
6342 (elmo-folder-unmark-important-dop): Ditto.
6343 (elmo-folder-status-dop): Fixed.
6344 (elmo-folder-append-buffer-dop-delayed): New function.
6345 (elmo-folder-delete-messages-dop-delayed): Ditto.
6346 (elmo-dop-msgdb): Ditto.
6348 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6350 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6352 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6354 * elmo.el (elmo-folder-move-messages): Fixed problem when
6355 `dst-folder' is 'null.
6357 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6359 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6360 instead of current mark.
6362 * elmo-multi.el (elmo-folder-list-importants-internal): No
6363 operation if importants is not list.
6365 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6366 Return t if importants is not list.
6368 * elmo-map.el (elmo-map-folder-list-importants): Define.
6369 (elmo-folder-list-importants-internal): Check return value of
6370 `elmo-map-folder-list-importants-internal'.
6372 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6374 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6376 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6378 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6380 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6382 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6383 (Patch is provided by <kita@coe.nttdata.co.jp>).
6385 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6387 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6390 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6392 * elmo.el (elmo-message-fetch): Define.
6393 (elmo-message-fetch-with-cache-process): New generic method.
6394 (elmo-message-fetch-internal): New generic method.
6395 (elmo-folder-synchronize):
6397 * elmo-archive.el (elmo-message-fetch-internal): Define.
6398 (elmo-message-fetch): Eliminated.
6400 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6401 (elmo-message-fetch): Eliminated.
6403 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6405 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6407 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6408 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6410 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6411 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6413 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6415 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6417 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6419 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6420 (elmo-message-fetch-unplugged): New generic method.
6421 (elmo-message-fetch-internal): Remove cache process (Renamed from
6422 `elmo-message-fetch').
6424 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6425 (elmo-message-fetch): Eliminated.
6426 (elmo-message-fetch-unplugged): Ditto.
6428 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6430 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6432 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6433 of `to-be-deleted' from number-alist to number-list.
6435 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6437 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6438 (elmo-folder-mark-as-important): Ditto.
6440 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6442 * elmo.el (elmo-folder): Added process-duplicates slot.
6444 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6445 (elmo-folder-unmark-read): Ditto.
6446 (elmo-folder-unmark-important): Ditto.
6447 (elmo-folder-mark-as-important): Ditto.
6449 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6450 duplicated message processing.
6452 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6454 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6456 * elmo-util.el (elmo-list-subdirectories-1): New function.
6457 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6458 (elmo-mapcar-list-of-list): New function.
6460 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6461 `elmo-mapcar-list-of-list' instead of `mapcar'.
6463 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6465 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6466 `elmo-have-link-count'. Return the fully qualified folder name.
6468 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6470 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6471 (elmo-shimbun-headers-cache): New internal variable.
6472 (elmo-shimbun-headers-cache-header-list): New inline function.
6473 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6474 (elmo-shimbun-headers-cache-header-hash): Ditto.
6475 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6476 (elmo-shimbun-headers-cache-last-check): Ditto.
6477 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6478 (elmo-shimbun-lapse-seconds): Ditto.
6479 (elmo-shimbun-headers-cache-check-p): Ditto.
6480 (elmo-shimbun-get-headers): New function.
6481 (elmo-folder-open-internal): Call it.
6482 (elmo-quit): Define (Clear headers-cache).
6484 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6486 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6488 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6489 (elmo-msgdb-flist-save): Ditto.
6491 * elmo-shimbun.el (elmo-folder-list-subfolders):
6492 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6493 (elmo-folder-exists-p): Ditto.
6495 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6496 argument for `shimbun-header-insert'.
6498 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6500 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6503 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6504 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6506 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6508 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6509 (elmo-folder-plugged-p): Define.
6510 (elmo-folder-set-plugged): Ditto.
6511 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6512 (elmo-folder-list-messages-internal): Return t if unplugged.
6513 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6515 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6516 when elmo-folder-list-messages-internal method of children returns t.
6518 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6520 (elmo-folder-open-internal): Don't update if unplugged status.
6522 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6524 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6527 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6529 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6531 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6534 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6536 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6538 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6539 (elmo-folder-open-internal): Set up headers slot.
6540 (elmo-folder-check): Call elmo-folder-close-internal and
6541 elmo-folder-open-internal.
6542 (elmo-folder-close-internal): Clean up headers slot.
6544 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6546 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6547 exactly folder list.
6548 (elmo-folder-append-messages): Fixed append archive with prefix.
6550 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6551 make temp files with start-number.
6553 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6555 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6557 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6558 argument `visible-only'.
6559 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6562 * elmo-pop3.el (elmo-folder-open-internal): Check
6563 `elmo-inhibit-number-mapping' is non-nil.
6565 * elmo-pipe.el (elmo-folder-status): Fixed.
6567 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6571 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6572 (elmo-folder-open-internal): Setup `header-hash' slot.
6573 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6575 (elmo-map-message-fetch): Ditto.
6577 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6579 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6580 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6581 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6582 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6584 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6586 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6588 * sb-airs.el: Added footer.
6590 * shimbun.el (shimbun-article): Define as luna-method.
6592 * sb-tcup.el: New file.
6594 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6595 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6597 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6599 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6600 (shimbun-get-headers): Ditto.
6602 * elmo.el: Moved obsolete variable definitions from
6603 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6605 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6608 * shimbun.el: New file.
6610 * elmo-shimbun.el: New file.
6612 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6613 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6614 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6615 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6617 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6619 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6622 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6624 * elmo.el (elmo-folder-msgdb): Define as macro.
6625 (elmo-folder-open): Added argument `load-msgdb'.
6626 (elmo-generic-folder-open): Ditto.
6627 (elmo-folder-encache): New function.
6629 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6631 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6633 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6634 Eliminated argument FOLDER and added argument MSGDB.
6635 (elmo-dop-queue-load): Moved from elmo-dop.el.
6636 (elmo-dop-queue-save): Ditto.
6638 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6640 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6642 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6643 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6644 (elmo-filter-folder-list-importants-internal): Ditto.
6646 * elmo-map.el (elmo-folder-pack-number): Ditto.
6648 * elmo-mime.el (elmo-mime-message-display): Ditto.
6650 * elmo.el (elmo-generic-folder-commit): Ditto.
6651 (elmo-folder-list-unreads): Ditto.
6652 (elmo-folder-list-importants): Ditto.
6653 (elmo-generic-folder-commit): Ditto.
6654 (elmo-message-set-mark): Ditto.
6655 (elmo-generic-folder-append-msgdb): Ditto.
6656 (elmo-folder-synchronize): Ditto.
6657 (elmo-folder-messages): Ditto.
6658 (elmo-init): Call elmo-dop-queue-load.
6659 (elmo-folder-list-messages): Ditto.
6661 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6662 (elmo-nntp-folder-process-crosspost): Ditto.
6663 (elmo-folder-list-unreads-internal): Ditto.
6665 * elmo-dop.el: Removed old functions.
6667 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6669 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6670 `folder' to `msgdb'.
6672 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6674 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6675 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6677 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6680 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6682 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6685 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6686 (mmimap-parse-parameters-from-list): Define as alias for
6687 `mime-decode-parameter-plist' if it is defined as function.
6688 (mmimap-make-mime-entity): Added argument `number'.
6689 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6691 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6693 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6695 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6697 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6699 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6701 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6703 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6704 when elmo-imap4-default-authenticate-type is nil.
6705 (elmo-folder-list-subfolders): Ditto
6706 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6707 (elmo-imap4-fetch-callback-1-subr): Renamed from
6708 `elmo-imap4-fetch-callback-1' and define as inline function.
6709 (elmo-imap4-fetch-callback-1):
6710 Renamed from `elmo-imap4-fetch-callback'.
6711 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6713 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6714 msgdb path (To keep compatibility with main trunk).
6716 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6718 * elmo-util.el (elmo-make-file-cache): Moved position of
6721 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6722 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6723 instead of `elmo-pop3-inhibit-uidl'.
6724 (elmo-folder-exists-p): Ditto.
6725 (elmo-pop3-folder-list-messages): Ditto.
6727 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6728 instead of `elmo-pop3-inhibit-uidl'.
6729 (elmo-folder-status): Ditto.
6731 * elmo-dop.el (elmo-dop-folder): New variable.
6732 (elmo-dop-lock-message): Eliminated.
6733 (elmo-dop-unlock-message): Ditto.
6734 (elmo-dop-lock-list-load): Ditto.
6735 (elmo-dop-lock-list-save): Ditto.
6736 (elmo-dop-delete-folder): Ditto.
6737 (elmo-dop-rename-folder): Ditto.
6739 * elmo.el: Removed incomplete commentary.
6741 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6743 * elmo.el (toplevel): Require 'elmo-version first;
6744 for little `recursive-load-depth' settings.
6745 Fix "ends here" comment.
6747 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6749 * elmo-util.el (toplevel): Require 'poem;
6750 Some functions are moved from elmo-cache.el.
6752 * elmo-net.el (toplevel): Require 'elmo-cache.
6754 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6756 * elmo.el (toplevel): Ditto.
6758 * elmo-cache.el: Rewrite with luna;
6759 Some functions are moved to elmo-util.el.
6761 * elmo-internal.el (elmo-internal-folder-list): New variable.
6762 (elmo-internal-folder-initialize): Rewrite.
6763 (elmo-folder-list-subfolders): Ditto.
6765 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6766 (elmo-cache-collect-sub-directories): Ditto.
6768 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6770 * elmo-version.el (elmo-version): Up to 2.5.8.
6772 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6774 * elmo-util.el (elmo-list-insert): New function.
6776 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6778 * elmo.el (elmo-init): New function.
6779 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6781 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6782 (Renamed from `elmo-localdir-header-chop-length').
6784 * elmo-pop3.el (elmo-pop3-use-cache,
6785 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6787 * elmo-nntp.el (elmo-message-fetch): Define.
6788 (elmo-message-fetch-unplugged): Ditto.
6789 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6790 (elmo-nntp-use-cache): Ditto.
6791 (elmo-nntp-max-number-precedes-list-active): Ditto.
6793 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6795 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6796 `elmo-msgdb-insert-file-header'.
6797 Use `elmo-msgdb-file-header-chop-length'.
6799 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6802 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6803 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6804 `elmo-msgdb-insert-file-header'.
6806 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6808 Define obsolete variables with `elmo-define-obsolete-variable',
6810 * elmo-util.el (elmo-warning-buffer-name): New constant.
6811 (elmo-warning): New function.
6812 (elmo-obsolete-variable-alist): New variable.
6813 (elmo-obsolete-variable-show-warnings): New variable.
6814 (elmo-define-obsolete-variable): New function.
6815 (elmo-resque-obsolete-variable): Ditto.
6816 (elmo-resque-obsolete-variables): Ditto.
6818 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6820 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6823 * elmo-pop3.el, elmo-nntp.el: Use custom.
6825 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6827 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6828 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6830 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6832 * Luna-fy Kenichi OKADA's following changes.
6833 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6835 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6837 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6839 * elmo-util.el (elmo-display-progress): Prefer
6840 `progress-feedback-with-label' to `lprogress-display'.
6842 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6844 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6846 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6848 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6849 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6850 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6851 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6852 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6853 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6854 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6855 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6856 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6857 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6858 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6859 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6860 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6862 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6864 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6865 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6867 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6869 * elmo.el (elmo-folder-process-crosspost): New generic method.
6870 (elmo-folder-writable-p): Ditto.
6871 (elmo-folder-message-appendable-p): Eliminated.
6872 (elmo-generic-folder-append-msgdb): Rewrite.
6873 (elmo-newsgroups-hashtb): New internal variable.
6874 (elmo-crosspost-message-set): Eliminated.
6875 (elmo-crosspost-message-delete): Ditto.
6876 (elmo-setup-subscribed-newsgroups): New function.
6877 (elmo-crosspost-message-alist-modified): New internal variable.
6878 (elmo-crosspost-message-alist-load): New function (Renamed from
6879 `wl-crosspost-alist-load').
6880 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6881 `wl-crosspost-alist-save').
6883 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6885 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6887 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6888 elmo-newsgroups-hashtb).
6889 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6890 `elmo-nntp-folder-update-crosspost-message-alist'.
6891 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6892 `elmo-nntp-groups-hashtb'.
6893 (elmo-nntp-make-groups-hashtb): Eliminated.
6894 (elmo-nntp-parse-newsgroups): New function (Renamed from
6895 `wl-parse-newsgroups').
6896 (elmo-folder-creatable-p, elmo-folder-writable-p,
6897 elmo-folder-close-internal, elmo-folder-mark-as-read,
6898 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6900 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6902 * elmo-net.el (elmo-message-fetch): Check buffer size.
6904 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6906 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6908 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6909 before `close' command.
6911 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6912 `mark-alist' (All other related portions are changed).
6914 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6916 * elmo-util.el (elmo-create-hash-size): Eliminated.
6917 (elmo-make-hash) Make a hash with `one less than a power of two'
6920 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6921 (elmo-hash-maximum-size): Changed value.
6923 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6925 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6926 (elmo-mime-message-display-as-is): Ditto.
6928 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6930 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6931 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6933 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6935 * elmo-mark.el: New file.
6937 * elmo-internal.el: Rewrite (Almost empty).
6939 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6941 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6942 (mime-imap-entity-header-string): Ditto.
6943 (mmimap-entity-section): Rewrite.
6945 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6947 * elmo-nmz.el: New file.
6949 * elmo-pipe.el: Rewrite with luna.
6951 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6953 * elmo-archive.el: Rewrite with luna.
6955 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6956 (elmo-folder-list-importants-internal): Ditto.
6958 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6960 * elmo-archive.el (elmo-archive-version): Abolish.
6961 (toplevel) Removed `boso' comment.
6963 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6965 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6966 elmo-msgdb-add-msgs-to-seen-list-subr;
6967 Changed argument seen-marks to unread-marks.
6969 * elmo-nntp.el: Rewrite with luna.
6971 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6973 * elmo-filter.el: Rewrite with luna.
6975 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6977 * elmo-pop3.el: Rewrite with luna.
6979 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6981 * elmo-multi.el: Rewrite with luna.
6983 * elmo-vars.el (elmo-use-killed-list): Abolish.
6984 All other related portions are changed.
6985 (elmo-filename-replace-string-alist): Renamed from
6986 elmo-msgid-replace-string-alist.
6988 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6990 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6992 * elmo-map.el: New file.
6993 * elmo-maildir.el: Rewrite with luna.
6995 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6997 * elmo.el: Changed meaning of `elmo-folder-commit'.
6998 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7000 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7002 * elmo.el (elmo-folder-append-buffer): New function.
7003 (Renamed from `elmo-append-msg')
7005 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7007 * elmo-mime.el: New file.
7009 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7011 * elmo-cache.el: Rewrite.
7013 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7015 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7017 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7019 * elmo-vars.el (elmo): New group.
7020 (elmo-strict-diff-folder-regexp): New variable.
7022 * elmo-util.el (elmo-call-func): Abolish.
7023 (elmo-folder-get-type): Ditto.
7024 (elmo-*-get-spec): Ditto.
7025 (elmo-*-spec-*): Ditto.
7026 (elmo-imap4-identical-name-space-p): Ditto.
7027 (elmo-folder-identical-system-p): Ditto.
7028 (elmo-folder-direct-copy-alist): Ditto.
7029 (elmo-folder-direct-copy-p): Ditto.
7031 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7032 (elmo-folder-initialize): Define.
7033 (elmo-folder-get-primitive-list): Ditto.
7035 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7036 (elmo-folder-initialize): Define.
7037 Renamed `elmo-network-session-host-internal' to
7038 `elmo-network-session-server-internal'.
7040 * elmo-multi.el (elmo-multi-folder): New luna class.
7041 (elmo-folder-initialize): Define.
7042 (elmo-folder-get-primitive-list): Ditto.
7043 (elmo-folder-contains-type): Ditto.
7044 (elmo-message-use-cache-p): Ditto.
7046 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7047 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7049 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7050 (elmo-folder-initialize): Define.
7052 * elmo-filter.el (elmo-filter-folder): New luna class.
7053 (elmo-folder-initialize): Define.
7054 (elmo-folder-get-primitive-list): Ditto.
7055 (elmo-folder-contains-type): Ditto.
7057 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7059 * elmo-imap4.el: Rewrite with luna.
7061 * mmimap.el: New file.
7063 * mmelmo.el, mmelmo-imap4.el: Removed.
7065 * elmo-net.el: Ditto.
7067 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7068 (elmo-folder-initialize): Define.
7070 * elmo-archive.el (elmo-archive-folder): New luna class.
7071 (elmo-folder-initialize): Define.
7073 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7074 `elmo-folder-msgdb-path'.
7075 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7078 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7080 * elmo.el: New file.
7082 * elmo2.el: Renamed to elmo.el.
7085 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7087 * elmo-cache.el (elmo-cache-expire-by-size): Count
7088 a disk usage for a cache file entry in KB even when
7089 its kind is a directory.
7091 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7093 * elmo-version.el (elmo-version): Up to 2.5.7.
7095 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7097 * elmo-version.el (elmo-version): Up to 2.5.6.
7099 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7101 * elmo-version.el (elmo-version): Up to 2.5.5.
7103 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7105 * elmo-imap4.el (elmo-network-authenticate-session):
7106 Fixed a logic for response checking.
7108 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7110 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7111 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7112 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7115 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7116 for `starttls-open-stream' and `starttls-negotiate'.
7118 * elmo-nntp.el: Remove autoload settings for
7119 `starttls-open-stream' and `starttls-negotiate'.
7121 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7122 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7123 `luna-define-class' with `eval-and-compile'.
7125 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7127 * elmo-util.el (elmo-read-search-condition-internal):
7128 Require an element of table for searching field.
7130 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7132 * elmo-version.el (elmo-version): Up to 2.5.4.
7134 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7136 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7138 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7140 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7142 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7144 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7147 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7149 * elmo-imap4.el (elmo-imap4-delete-folder):
7150 Send "close" before "delete" (Use commented out line).
7151 (elmo-imap4-rename-folder): Ditto.
7153 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7154 folder string itself.
7155 (elmo-dop-list-deleted): New function.
7156 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7159 * elmo-util.el (elmo-string-rassoc-all): New function.
7161 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7163 * elmo-version.el (elmo-version): Up to 2.5.3.
7165 * elmo-net.el (elmo-network-get-session): Changed logic for
7166 checking process status.
7168 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7170 Changed logic for checking process status.
7172 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7174 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7176 (elmo-network-setup-session): Set UIDL hash size according to
7177 the length of list response.
7178 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7179 according to the length of list response;
7180 Return the length of list response.
7181 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7183 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7185 * elmo-imap4.el (toplevel): Require 'ssl.
7186 Add autoload 'starttls.
7187 * elmo-pop3.el (toplevel): Ditto.
7188 * elmo-nntp.el (toplevel): Ditto.
7190 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7192 * elmo-imap4.el (toplevel): defun at compile time.
7193 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7194 sasl-next-step, sasl-step-data, sasl-step-set-data.
7195 * elmo-pop3.el (toplevel): Ditto.
7197 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7199 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7201 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7203 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7205 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7206 and `elmo-pop-auth-apop'.
7208 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7210 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7212 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7214 * elmo-pop3.el (elmo-network-authenticate-session): Split
7215 encoded response value.
7217 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7219 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7220 `elmo-pop3-force-login'.
7221 Redefine `sasl-mechanisms'.
7222 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7224 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7226 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7227 Delete `elmo-imap4-authenticator-alist'.
7228 (elmo-imap4-auth-cram-md5): Delete.
7229 (elmo-imap4-auth-digest-md5): Delete.
7231 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7233 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7234 (elmo-pop3-auth-scram-md5): Ditto.
7235 (elmo-pop3-auth-cram-md5): Ditto.
7237 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7239 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7240 Delete `elmo-pop3-authenticator-alist'.
7242 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7244 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7246 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7248 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7250 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7252 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7254 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7255 Fixed problem when `elmo-pop3-use-uidl' is nil.
7256 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7258 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7260 * elmo-version.el (elmo-version): Up to 2.5.2.
7262 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7264 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7266 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7267 (elmo-pop3-msgdb-create-as-numlist): Use it.
7269 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7270 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7272 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7273 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7275 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7277 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7278 when elmo-mark-as-read is called with second argument nil.
7280 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7282 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7283 Moved to elmo-util.el.
7285 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7286 Moved from elmo-pipe.el
7288 * elmo-archive.el (elmo-archive-call-process): Enclose with
7291 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7292 "RFC822" (because RFC822.PEEK is obsolete).
7293 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7295 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7297 * elmo-archive.el (elmo-archive-call-process): Don't check for
7298 the exit status when Nemacs is running.
7300 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7302 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7305 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7306 (elmo-pop3-get-spec): Set default of auth to 'user.
7308 * elmo-imap4.el (elmo-imap4-session-check):
7309 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7310 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7311 (elmo-imap4-auth-login): New function; Revival.
7312 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7313 `elmo-imap4-auth-login'.
7315 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7317 * elmo2.el (toplevel): Move `product-provide' declare.
7318 * mmelmo.el (toplevel): Ditto.
7320 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7322 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7324 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7326 * elmo-util.el (elmo-folder-get-store-type): New function.
7327 (elmo-folder-direct-copy-p): Use it.
7329 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7331 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7332 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7333 and result of `elmo-imap4-use-flag-p'.
7334 (elmo-imap4-fetch-callback-1): Set mark according to
7335 the result of `elmo-imap4-use-flag-p'.
7337 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7339 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7340 (elmo-generic-list-folder-unread): Ditto.
7341 (elmo-folder-get-info): Ditto.
7342 (elmo-folder-set-info-max-by-numdb): Ditto.
7343 (elmo-folder-get-info-max): Ditto.
7344 (elmo-folder-get-info-length): Ditto.
7345 (elmo-folder-get-info-unread): Ditto.
7346 (elmo-folder-info-make-hashtb): Ditto.
7348 * elmo2.el: Removed above functions.
7350 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7352 * elmo-imap4.el (toplevel): Require 'ssl.
7353 Add autoload 'starttls.
7354 * elmo-pop3.el (toplevel): Ditto.
7355 * elmo-nntp.el (toplevel): Ditto.
7357 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7359 * elmo-imap4.el (toplevel): defun at compile time.
7360 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7361 sasl-next-step, sasl-step-data, sasl-step-set-data.
7362 * elmo-pop3.el (toplevel): Ditto.
7364 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7366 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7368 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7370 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7372 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7373 and `elmo-pop-auth-apop'.
7375 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7377 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7379 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7381 * elmo-pop3.el (elmo-network-authenticate-session): Split
7382 encoded response value.
7384 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7386 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7387 `elmo-pop3-force-login'.
7388 Redefine `sasl-mechanisms'.
7389 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7391 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7393 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7394 Delete `elmo-imap4-authenticator-alist'.
7395 (elmo-imap4-auth-cram-md5): Delete.
7396 (elmo-imap4-auth-digest-md5): Delete.
7398 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7400 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7401 (elmo-pop3-auth-scram-md5): Ditto.
7402 (elmo-pop3-auth-cram-md5): Ditto.
7404 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7406 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7407 Delete `elmo-pop3-authenticator-alist'.
7409 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7411 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7413 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7416 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7418 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7420 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7422 * elmo-nntp.el (elmo-nntp-get-folders-info):
7423 Fixed problem when '\' character is contained in user-id.
7424 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7427 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7429 * elmo-imap4.el (elmo-imap4-delete-folder):
7430 Send "close" before "delete" (Use commented out line).
7431 (elmo-imap4-rename-folder): Ditto.
7433 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7434 folder string itself.
7435 (elmo-dop-list-deleted): New function.
7436 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7439 * elmo-util.el (elmo-string-rassoc-all): New function.
7441 * elmo-version.el (elmo-version): Up to 2.5.1.
7443 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7445 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7447 * elmo-internal.el (elmo-internal-search): Fix last change.
7449 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7451 * elmo-internal.el (elmo-internal-search): Rewrite.
7452 (Fixed problem which is pointed out by Akihiro MOTOKI
7453 <motoki@da.jp.nec.com>)
7455 * elmo-version.el (elmo-version): Up to 2.5.0.
7457 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7459 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7461 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7463 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7464 non-nil, make hierarchy.
7466 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7468 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7469 `elmo-pop3-use-uidl' must be bound to nil.
7470 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7472 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7474 * elmo-util.el (elmo-copy-file): Don't cause an error after
7475 `add-name-to-file' failed.
7477 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7478 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7480 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7482 * elmo-version.el (elmo-version): Up to 2.3.93.
7484 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7486 * elmo-util.el (elmo-flatten): New function.
7488 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7490 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7492 * elmo-cache.el (toplevel): Ditto.
7493 * elmo-database.el (toplevel): Ditto.
7494 * elmo-date.el (toplevel): Ditto.
7495 * elmo-dop.el (toplevel): Ditto.
7496 * elmo-filter.el (toplevel): Ditto.
7497 * elmo-imap4.el (toplevel): Ditto.
7498 * elmo-internal.el (toplevel): Ditto.
7499 * elmo-localdir.el (toplevel): Ditto.
7500 * elmo-localnews.el (toplevel): Ditto.
7501 * elmo-maildir.el (toplevel): Ditto.
7502 * elmo-msgdb.el (toplevel): Ditto.
7503 * elmo-multi.el (toplevel): Ditto.
7504 * elmo-net.el (toplevel): Ditto.
7505 * elmo-nntp.el (toplevel): Ditto.
7506 * elmo-pipe.el (toplevel): Ditto.
7507 * elmo-pop3.el (toplevel): Ditto.
7508 * elmo-util.el (toplevel): Ditto.
7509 * elmo-vars.el (toplevel): Ditto.
7510 * elmo2.el (toplevel): Ditto.
7511 * mmelmo-imap4.el (toplevel): Ditto.
7512 * mmelmo.el (toplevel): Ditto.
7514 * elmo-version.el (elmo-version): Move to top.
7516 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7517 * elmo-imap4.el (toplevel): Ditto.
7518 * elmo-localdir.el (toplevel): Ditto.
7519 * elmo-msgdb.el (toplevel): Ditto.
7520 * elmo-nntp.el (toplevel): Ditto.
7521 * elmo-pop3.el (toplevel): Ditto.
7522 * elmo-version.el (toplevel): Ditto.
7524 * elmo-localnews.el (toplevel): Added Keyword header.
7526 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7528 * elmo-version.el (product-version-as-string): Defined using
7532 * elmo-localdir.el (toplevel): Updated copyright notice.
7533 * elmo-version.el (toplevel): Ditto.
7534 * elmo-msgdb.el (toplevel): Ditto.
7535 * elmo-imap4.el (toplevel): Ditto.
7536 * elmo-nntp.el (toplevel): Ditto.
7537 * elmo-pop3.el (toplevel): Ditto.
7539 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7541 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7544 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7545 parameter value (It sometimes contains raw kanji).
7547 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7549 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7550 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7552 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7554 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7556 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7558 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7559 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7561 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7563 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7564 value if selecting folder succceeded.
7565 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7567 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7569 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7572 * elmo-util.el (elmo-string-matched-member): New function.
7574 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7576 * elmo-util.el (elmo-unintern): New macro.
7577 (elmo-number-set-member): Fixed docstring.
7579 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7582 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7584 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7585 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7587 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7589 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7592 Return non-nil if selecting folder succeeded.
7593 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7595 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7597 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7598 `file-name-completion' returns t.
7599 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7600 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7601 directory if it does not exist.
7602 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7605 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7607 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7608 enclosure (It's harmful in unplugged status).
7610 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7612 * mmelmo-1.el: Removed.
7614 * mmelmo-2.el: Ditto.
7616 * mmelmo-imap4-1.el: Ditto.
7618 * mmelmo-imap4-2.el: Ditto.
7620 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7622 * mmelmo.el: Merged mmelmo-2.el.
7624 * elmo-version.el (elmo-version): Up to 2.3.92.
7626 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7628 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7629 elmo-update-number): Remove last period in "...done." message.
7630 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7632 * elmo-cache.el (elmo-cache-expire-by-size,
7633 elmo-cache-get-sorted-cache-file-list,
7634 elmo-cache-msgdb-create-as-numlist): Ditto.
7635 * elmo-dop.el (elmo-dop-save-pending-messages,
7636 (elmo-dop-flush-pending-append-operations): Ditto.
7637 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7638 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7639 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7640 (elmo-localdir-pack-number): Ditto.
7641 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7642 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7643 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7644 mime-write-entity-content): Ditto.
7645 * pldap.el (ldap-search-basic): Ditto.
7647 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7649 * elmo-version.el (elmo-version): Up to 2.3.91.
7651 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7652 Only when filter is 'last'.
7654 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7655 (elmo-condition-parse-search-value): Use it.
7656 (elmo-read-search-condition-internal): Quote value only when
7659 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7661 * elmo2.el (elmo-generic-folder-diff): Fix.
7663 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7665 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7666 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7667 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7668 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7669 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7670 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7672 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7674 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7677 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7679 * elmo-version.el (elmo-version): Up to 2.3.90.
7681 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7682 (elmo-imap4-list-folder-important): Ditto.
7684 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7686 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7688 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7690 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7692 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7694 * elmo-nntp.el (elmo-network-initialize-session):
7695 Add starttls negotiation.
7697 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7699 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7701 (elmo-network-setup-session): Define.
7702 Call `elmo-nntp-send-mode-reader' when session opened.
7704 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7706 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7708 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7710 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7711 an invalid SPACE character ahead of `SEARCH' command. Move
7712 a valid SPACE character following `SEARCH' from conditional
7713 `format' arguments to control-strings.
7715 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7717 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7720 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7722 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7724 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7725 `w32-get-true-file-link-count' as t.
7727 * elmo-imap4.el (elmo-imap4-read): Abolished.
7728 (Renamed to `elmo-read' and moved to elmo-util.el)
7729 All other related portions are changed.
7731 * elmo-util.el (elmo-read): New function.
7732 (elmo-condition-parse-search-value): Use it.
7734 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7736 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7738 * elmo-nntp.el (elmo-nntp-session): Define.
7739 (elmo-nntp-setting): Abolished.
7740 All other related portions are changed.
7741 (elmo-nntp-get-server-command): Changed argument.
7742 (elmo-nntp-set-server-command): Ditto.
7743 (elmo-nntp-xover-p): Ditto.
7744 (elmo-nntp-set-xover): Ditto.
7745 (elmo-nntp-listgroup-p): Ditto.
7746 (elmo-nntp-set-listgroup): Ditto.
7747 (elmo-nntp-list-active-p): Ditto.
7748 (elmo-nntp-set-list-active): Ditto.
7749 (elmo-nntp-xhdr-p): Ditto.
7750 (elmo-nntp-set-xhdr): Ditto.
7751 (elmo-nntp-flush-connection): Abolished.
7752 (elmo-nntp-get-connection): Abolished.
7753 (elmo-nntp-get-session): New function.
7754 (elmo-network-initialize-session): Defined.
7755 (elmo-network-authenticate-session): Ditto.
7756 (elmo-nntp-send-mode-reader): Changed argument.
7757 (elmo-nntp-send-command): Changed argument.
7758 All other related portions are changed.
7759 (elmo-nntp-read-response): Ditto.
7760 (elmo-nntp-read-raw-response): Ditto.
7761 (elmo-nntp-read-contents): Ditto.
7762 (elmo-nntp-read-body): Ditto.
7763 (elmo-nntp-goto-folder): Abolished.
7764 (elmo-nntp-select-group): New function.
7765 All other related portions are changed.
7766 (This function substitutes `elmo-nntp-goto-folder')
7767 (elmo-nntp-msgdb-create-by-header): Rewrite.
7768 (elmo-nntp-get-overview): Eliminated.
7769 (elmo-nntp-get-message): Ditto.
7770 (elmo-nntp-open-connection) Abolished.
7771 (elmo-nntp-read-msg): Rewrite.
7772 (elmo-nntp-post): Ditto.
7773 (elmo-nntp-send-data): Abolished.
7774 (elmo-nntp-send-buffer): New function.
7775 (elmo-nntp-send-data-line): Define as inline function.
7776 (elmo-nntp-get-folders-info-prepare): Use session as key.
7777 (elmo-nntp-groups-read-response): Changed argument.
7778 (elmo-nntp-retrieve-headers): Ditto.
7779 (elmo-nntp-msgdb-create-message): Ditto.
7781 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7782 when searching by 'since' or 'before'.
7784 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7786 * elmo-version.el (toplevel): Use product-version-as-string for set
7787 verstion-string, if defined.
7789 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7791 * elmo-util.el: Doc fixes.
7793 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7795 * elmo-archive.el (toplevel): Use product-provide.
7796 * elmo-cache.el (toplevel): Ditto.
7797 * elmo-database.el (toplevel): Ditto.
7798 * elmo-date.el (toplevel): Ditto.
7799 * elmo-dop.el (toplevel): Ditto.
7800 * elmo-filter.el (toplevel): Ditto.
7801 * elmo-imap4.el (toplevel): Ditto.
7802 * elmo-internal.el (toplevel): Ditto.
7803 * elmo-localdir.el (toplevel): Ditto.
7804 * elmo-localnews.el (toplevel): Ditto.
7805 * elmo-maildir.el (toplevel): Ditto.
7806 * elmo-msgdb.el (toplevel): Ditto.
7807 * elmo-multi.el (toplevel): Ditto.
7808 * elmo-net.el (toplevel): Ditto.
7809 * elmo-nntp.el (toplevel): Ditto.
7810 * elmo-pipe.el (toplevel): Ditto.
7811 * elmo-pop3.el (toplevel): Ditto.
7812 * elmo-util.el (toplevel): Ditto.
7813 * elmo-vars.el (toplevel): Ditto.
7814 * elmo2.el (toplevel): Ditto.
7815 * mmelmo-1.el (toplevel): Ditto.
7816 * mmelmo-2.el (toplevel): Ditto.
7817 * mmelmo-imap4-1.el (toplevel): Ditto.
7818 * mmelmo-imap4-2.el (toplevel): Ditto.
7819 * mmelmo-imap4.el (toplevel): Ditto.
7820 * mmelmo.el (toplevel): Ditto.
7822 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7824 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7825 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7827 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7829 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7831 (elmo-multi-split-number-alist): Ditto.
7833 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7835 * elmo-version.el: New file. Use product.el.
7836 * elmo2.el: Add (require 'elmo-version).
7837 * elmo-vars.el (elmo-appname, elmo-version): Move to
7840 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7842 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7843 `elmo-msgdb-expand-path'.
7844 (elmo-msgdb-load): Ditto.
7845 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7846 (elmo-generic-list-folder-unread): Rewrite.
7847 (elmo-generic-list-folder-important): Changed argument.
7848 (elmo-list-folder-unread): Ditto.
7849 (elmo-list-folder-important): Ditto.
7850 (elmo-folder-diff): Rewrite.
7851 (elmo-generic-folder-diff): New function.
7852 (elmo-multi-get-number-alist-list): Abolished
7853 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7854 (elmo-multi-folder-diff): Moved to elmo-multi.el
7855 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7857 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7858 `elmo-msgdb-expand-path'.
7859 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7860 (elmo-pop3-read-msg): Ditto.
7861 (elmo-pop3-delete-msgs): Ditto.
7862 (elmo-pop3-folder-diff): New alias.
7864 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7865 `elmo-msgdb-expand-path'.
7866 (elmo-pipe-list-folder-unread): Changed arguments.
7867 (elmo-pipe-list-folder-important): Ditto.
7868 (elmo-pipe-folder-diff): New alias.
7870 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7871 `elmo-msgdb-expand-path'.
7872 (elmo-nntp-max-of-folder): Ditto.
7873 (elmo-nntp-msgdb-create): Ditto.
7874 (elmo-nntp-delete-msgs): Ditto.
7875 (elmo-nntp-folder-diff): New alias.
7877 * elmo-multi.el (elmo-multi-folder-diff): New function.
7878 (elmo-multi-split-mark-alist): Ditto.
7879 (elmo-multi-split-number-alist): Ditto.
7880 (elmo-multi-mark-alist-list): Abolished (Renamed to
7881 elmo-multi-split-mark-alist).
7882 (elmo-multi-list-folder-unread): Rewrite.
7883 (elmo-multi-list-folder-important): Ditto.
7884 (elmo-multi-list-folder): Set `spec' as 1st argument for
7885 `elmo-msgdb-expand-path'.
7886 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7887 instead of `elmo-multi-get-number-alist-list'.
7889 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7890 If 1st argument is not string, treat as spec.
7891 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7892 `elmo-msgdb-expand-path'.
7893 (elmo-msgdb-flist-load): Ditto.
7894 (elmo-msgdb-flist-save): Ditto.
7895 (elmo-msgdb-delete-path): Ditto.
7896 (elmo-msgdb-rename-path): Ditto.
7898 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7899 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7900 (elmo-maildir-delete-mark-msgs): Ditto.
7901 (elmo-maildir-msgdb-create): Ditto.
7902 (elmo-maildir-read-msg): Ditto.
7903 (elmo-maildir-delete-msgs): Ditto.
7904 (elmo-maildir-list-folder-subr): Ditto.
7905 (elmo-maildir-search): Ditto.
7906 (elmo-maildir-get-msg-filename): Ditto.
7907 (elmo-maildir-pack-number): Ditto.
7908 (elmo-maildir-folder-diff): New alias.
7910 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7912 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7913 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7914 (elmo-localdir-folder-diff): New alias.
7916 * elmo-internal.el (elmo-internal-list-folder-subr):
7917 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7918 (elmo-internal-list-folder-by-location): Ditto.
7919 (elmo-internal-msgdb-create): Ditto.
7920 (elmo-internal-delete-msgs): Ditto.
7921 (elmo-internal-read-msg): Ditto.
7922 (elmo-internal-folder-diff): New alias.
7924 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7925 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7926 `elmo-msgdb-expand-path'.
7927 (elmo-imap4-list-folder-unread): Changed arguments.
7928 (elmo-imap4-list-folder-important): Ditto.
7930 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7931 (elmo-filter-list-folder-important): Ditto.
7932 (elmo-filter-folder-diff): New function.
7934 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7936 * elmo-cache.el (elmo-cache-list-folder):
7937 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7938 (elmo-cache-copy-msgs): Ditto.
7939 (elmo-cache-folder-diff): New alias.
7941 * elmo-archive.el (elmo-archive-list-folder-subr):
7942 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943 (elmo-archive-get-archive-name): Ditto.
7944 (elmo-archive-create-file): Ditto.
7945 (elmo-archive-append-msg): Ditto.
7946 (elmo-archive-copy-msgs): Ditto.
7947 (elmo-archive-copy-msgs-froms): Ditto.
7948 (elmo-archive-get-msg-filename): Ditto.
7949 (elmo-archive-folder-diff): New alias.
7951 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7953 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7954 (elmo-pop3-stream-type-alist): New variable.
7955 (elmo-nntp-stream-type-alist): New variable.
7957 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7958 (elmo-kill-buffer): Ditto.
7959 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7960 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7961 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7962 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7963 (elmo-imap4-get-spec): Take into account
7964 `elmo-imap4-stream-type-alist'.
7966 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7968 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7969 (elmo-nntp-list-folders-get-cache): Ditto.
7971 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7973 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7974 character before 'uid'.
7976 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7978 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7980 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7982 * elmo-util.el (elmo-number-set-member): New function.
7983 (elmo-number-set-append-list): Ditto.
7984 (elmo-number-set-append): Ditto.
7986 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7987 Use `elmo-number-set-member'.
7988 (elmo-living-messages): Ditto.
7989 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7990 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7992 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7993 (elmo-imap4-add-to-cont-list): Abolished.
7994 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7995 instead of elmo-imap4-add-to-cont-list.
7997 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7998 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8000 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8002 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8004 * elmo-util.el (elmo-condition-parse-search-value):
8007 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8009 * elmo-util.el (elmo-condition-find-key-internal): New function.
8010 (elmo-condition-find-key): Ditto.
8012 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8013 (elmo-msgdb-search-internal): Ditto.
8014 (elmo-msgdb-search): Ditto.
8016 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8018 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8019 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8021 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8022 (elmo-nntp-search-primitive): Fixed problem when condition is
8025 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8027 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8028 (elmo-nntp-xhdr-p): New macro.
8029 (elmo-nntp-set-xhdr): Ditto.
8030 (elmo-nntp-parse-xhdr-response): New function.
8031 (elmo-nntp-retrieve-field): Ditto.
8032 (elmo-nntp-search-primitive): Ditto.
8033 (elmo-nntp-search): Implemented.
8035 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8037 * elmo-archive.el (elmo-archive-search): Set all number list to
8038 `elmo-archive-field-condition-match'
8040 * elmo-localdir.el (elmo-localdir-search): Likewise.
8042 * elmo-maildir.el (elmo-maildir-search): Likewise.
8044 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8046 * elmo-msgdb.el (elmo-living-messages): New function.
8047 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8048 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8049 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8050 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8051 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8052 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8053 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8054 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8055 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8056 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8057 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8059 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8061 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8063 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8065 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8067 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8068 arguments for `SEARCH' command.
8069 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8070 All other related portions are changed.
8072 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8074 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8075 (elmo-list-folder-unread): Rewrite.
8076 (elmo-list-folder-important): Ditto.
8078 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8079 (elmo-condition-parse-error): New inline function.
8080 (elmo-read-search-condition): New function.
8081 (elmo-read-search-condition-internal): Ditto.
8082 (elmo-parse-search-condition): Rewrite.
8083 (elmo-condition-parse): New function.
8084 (elmo-condition-parse-or-expr): Ditto.
8085 (elmo-condition-parse-and-expr): Ditto.
8086 (elmo-condition-parse-primitive): Ditto.
8087 (elmo-condition-parse-search-value): Ditto.
8088 (elmo-buffer-field-primitive-condition-match): Ditto.
8089 (elmo-buffer-field-condition-match): Rewrite.
8090 (elmo-file-field-condition-match): Ditto.
8092 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8093 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8095 * elmo-internal.el (elmo-internal-search): Set `number' and
8096 `number-list' argument of `elmo-file-field-condition-match'.
8098 * elmo-maildir.el (elmo-maildir-search): Ditto.
8100 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8101 `msgdb' as argument instead of `mark-alist'.
8102 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8105 * elmo-multi.el: Likewise.
8107 * elmo-pipe.el: Likewise.
8109 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8110 (elmo-imap4-search-internal): Rewrite.
8111 (elmo-imap4-search): Ditto.
8113 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8114 (elmo-filter-list-folder-unread): Ditto.
8115 (elmo-filter-list-folder-important): Ditto.
8116 (elmo-filter-search): Rewrite.
8118 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8119 `number-list' argument of `elmo-file-field-condition-match'.
8120 (elmo-cache-search): Ditto.
8122 * elmo-localdir.el: Likewise.
8124 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8125 number-list and pass it to `elmo-buffer-field-condition-match'.
8126 (elmo-archive-field-condition-match): Pass `number-list' to
8127 `elmo-archive-field-condition-match'
8129 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8131 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8134 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8135 (elmo-folder-diff-async-callback-data): Ditto.
8136 (elmo-folder-diff-async): New function.
8138 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8139 (elmo-network-session-cache-key): Use it as a prefix of the session
8141 (elmo-network-open-session): Ditto.
8143 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8144 (elmo-imap4-status-callback-data): Ditto.
8145 (elmo-imap4-server-diff-async-callback): New variable.
8146 (elmo-imap4-server-diff-async-callback-data): Ditto.
8147 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8148 `elmo-imap4-status-callback-data'.
8149 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8150 `elmo-imap4-status-callback-data' as nil.
8151 (elmo-imap4-server-diff): Ditto.
8152 (elmo-imap4-server-diff-async-callback-1): New function.
8153 (elmo-imap4-server-diff-async): Ditto.
8154 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8156 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8158 * elmo-util.el (elmo-list-delete): Doc fix.
8159 (elmo-delete-lists): Abolish.
8160 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8161 instead of `elmo-delete-lists'.
8163 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8165 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8168 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8170 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8171 `elmo-imap4-literal-subr'.
8172 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8173 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8175 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8177 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8178 (elmo-archive-list-folder): Fix.
8179 (elmo-archive-max-of-folder): Fix.
8181 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8183 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8184 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8185 (elmo-localdir-append-msg): Ditto.
8186 (elmo-localdir-list-folder): Fix for `nonsort'.
8187 (elmo-localdir-list-folder-subr): Fix for `killed'.
8188 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8189 (elmo-maildir-list-folder-subr): Ditto.
8190 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8191 (elmo-archive-list-folder-subr): Ditto.
8192 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8193 (elmo-internal-list-folder-subr): Ditto.
8195 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8197 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8199 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8201 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8203 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8205 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8206 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8208 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8210 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8211 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8213 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8215 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8217 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8218 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8219 before STORE command.
8221 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8223 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8225 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8226 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8228 (elmo-imap4-list-folders): Removed unused local variable.
8229 (elmo-network-initialize-session): Ditto.
8230 (elmo-imap4-delete-msg-by-id): Ditto.
8231 (elmo-imap4-parse-fetch): Ditto.
8232 (elmo-imap4-copy-msgs): Ditto.
8233 Use `dst-spec' instead of `dst-folder'.
8234 (elmo-network-authenticate-session): Check authenticate type `plain'.
8236 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8238 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8240 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8241 `elmo-imap4-response-value'.
8242 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8244 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8246 * elmo-imap4.el (elmo-imap4-send-command):
8247 Cause elmo-imap4-bye-error when current response is BYE.
8248 (elmo-imap4-arrival-filter): Changed greeting response value.
8250 * elmo2.el (elmo-imap4-bye-error): Define.
8252 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8253 (elmo-imap4-server-diff): Ditto.
8254 (elmo-imap4-response-bye-p): New macro.
8255 (elmo-imap4-response-error-text): Get text from BYE response.
8256 (elmo-imap4-read-response): Return if BYE response.
8257 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8258 (elmo-imap4-folder-exists-p): Ditto.
8259 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8260 (elmo-imap4-parse-bye): New function.
8261 (elmo-imap4-parse-response): Remove needless let.
8262 Call `elmo-imap4-parse-bye'.
8264 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8266 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8267 the mailbox does not exist.
8268 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8270 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8272 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8274 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8276 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8278 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8279 (elmo-network-initialize-session-buffer): Defined.
8281 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8283 (mmelmo-imap4-get-mime-entity): Rewrite.
8285 * elmo2.el (elmo-error): Capitalize error message.
8287 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8288 (elmo-network-session-buffer): New macro.
8289 (elmo-network-open-session): Use it.
8291 * elmo-imap4.el: Rewrite.
8293 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8295 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8297 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8299 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8300 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8301 (elmo-imap4-create-msgdb-from-overview-string): Use
8302 `elmo-msgdb-create-overview-from-buffer'.
8304 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8306 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8307 (elmo-imap4-default-hierarchy-delimiter): New variable.
8308 (elmo-imap4-list-folders): Use it.
8310 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8312 * elmo-net.el (elmo-network-open-session): Add user and
8313 stream-type for process-buffer name.
8315 * elmo-pop3.el (elmo-network-initialize-session): Call
8316 buffer-disable-undo.
8318 * elmo-imap4.el (elmo-network-initialize-session):
8319 Set current-buffer as an argument for `buffer-disable-undo'.
8321 * elmo-pop3.el (elmo-network-close-session): Don't use
8324 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8325 Set default as 'user.
8327 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8329 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8330 and `elmo-imap4-flush-connection'.
8332 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8333 (elmo-pop3-get-spec): Assume auth as symbol.
8334 (elmo-open-network-stream): Moved to `elmo-net'.
8336 * elmo-pop3.el (toplevel): Require 'elmo-net.
8337 Define `sasl-cram-md5' to silence byte compilier.
8338 (elmo-pop3-connection-cache) Abolished.
8339 (elmo-pop3-authenticator-alist) New variable.
8340 (elmo-pop3-session): Define.
8341 (elmo-pop3-connection-get-process): Abolished.
8342 (elmo-pop3-connection-get-buffer): Ditto.
8343 (elmo-pop3-close-connection): Ditto.
8344 (elmo-pop3-flush-connection): Ditto.
8345 (elmo-pop3-get-connection): Ditto.
8346 (elmo-pop3-get-session): New function.
8347 (Replacement for `elmo-pop3-get-connection').
8348 All other related modules are changed.
8349 (elmo-network-close-session): Define.
8350 (elmo-pop3-send-command): Abolished argument `buffer'.
8351 All other related modules are changed.
8352 (elmo-pop3-read-response): Likewise.
8353 (elmo-pop3-open-connection): Abolished.
8354 (elmo-pop3-auth-user): New function.
8355 (elmo-pop3-auth-apop): Ditto.
8356 (elmo-pop3-auth-cram-md5): Ditto.
8357 (elmo-pop3-auth-scram-md5): Ditto.
8358 (elmo-pop3-auth-digest-md5): Ditto.
8359 (elmo-network-initialize-session): Define.
8360 (elmo-network-authenticate-session): Ditto.
8361 (elmo-network-setup-session): Ditto.
8363 * elmo-imap4.el (toplevel): Require 'elmo-net.
8364 (elmo-imap4-session): Define.
8365 (elmo-imap4-connection-cache): Abolished.
8366 (elmo-imap4-password-key): Ditto.
8367 (elmo-imap4-flush-connection): Ditto.
8368 (elmo-imap4-get-connection): Ditto.
8369 All other related modules are changed.
8370 (elmo-imap4-get-session): New function
8371 (Replacement for `elmo-imap4-get-connection').
8372 (elmo-imap4-read-response): Abolished argument `buffer'.
8373 All other related modules are changed.
8374 (elmo-imap4-send-command): Likewise.
8375 (elmo-imap4-select-folder): Abolished.
8376 All other related modules are changed.
8377 (elmo-imap4-select-mailbox): New function.
8378 (Replacement for `elmo-imap4-select-folder').
8379 (elmo-imap4-auth-login): Simplify.
8380 (Assume current buffer as process buffer)
8381 (elmo-imap4-auth-cram-md5): Ditto.
8382 (elmo-imap4-auth-digest-md5): Ditto.
8383 (elmo-imap4-login): Ditto.
8384 (elmo-imap4-open-connection): Abolished.
8385 (elmo-imap4-open-connection-1): Abolished.
8386 (elmo-network-initialize-sessoin): Define.
8387 (elmo-network-authenticate-session): Ditto.
8388 (elmo-network-setup-session): Ditto.
8390 * elmo-net.el: New module.
8392 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8394 * elmo-util.el (elmo-define-error): New function.
8396 * elmo2.el (elmo-error): Define.
8397 (elmo-open-error): Define.
8398 (elmo-authenticate-error): Define.
8400 * elmo-imap4.el (elmo-imap4-error): Abolish.
8401 (elmo-imap4-error-type): Abolish.
8402 (elmo-imap4-error-process): Abolish.
8403 (elmo-imap4-error-message): Abolish
8404 (elmo-imap4-list-folders): Don't quote lambda.
8405 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8406 (elmo-imap4-parse-namespace): Ditto.
8407 (elmo-imap4-open-connection): Rewrite.
8408 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8409 (elmo-imap4-get-connection): Abolish local variable `result'.
8411 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8413 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8414 wrong-type-argument error when auth is nil.
8416 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8418 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8419 (elmo-default-nntp-stream-type): Ditto.
8420 (elmo-default-pop3-stream-type): Ditto.
8421 (elmo-network-stream-type-alist): Ditto.
8422 (elmo-default-imap4-ssl): Abolished.
8423 (elmo-default-nntp-ssl): Ditto.
8424 (elmo-default-pop3-ssl): Ditto.
8426 * elmo-util.el: (toplevel): Removed needless requires.
8427 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8428 (elmo-open-network-stream): Open network stream according to
8429 the value of `elmo-network-stream-type-alist'.
8430 (elmo-get-network-stream-type): New function.
8431 (elmo-network-stream-type-spec-string): New macro.
8432 (elmo-network-stream-type-symbol): Ditto.
8433 (elmo-network-stream-type-function): Ditto.
8435 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8436 network-stream-type. All other related portions are changed.
8437 (elmo-pop3-open-connection): Ditto.
8439 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8440 network-stream-type. All other related portions are changed.
8442 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8443 network-stream-type.All other related portions are changed.
8444 (elmo-imap4-error): New macro.
8445 (elmo-imap4-error-type): Ditto.
8446 (elmo-imap4-error-process): Ditto.
8447 (elmo-imap4-error-message): Ditto.
8448 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8449 (elmo-imap4-auth-cram-md5): Ditto.
8450 (elmo-imap4-auth-digest-md5): Ditto.
8451 (elmo-imap4-login): Ditto.
8452 (elmo-imap4-open-connection): Remove password entry if authentication
8454 (elmo-imap4-user-at-host): Abolished.
8455 (elmo-imap4-password-key): New buffer local variable.
8456 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8457 using protocol, port, auth and stream-type.
8459 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8461 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8463 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8465 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8467 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8468 (elmo-imap4-authenticator-alist): New variable.
8469 (elmo-imap4-open-connection-1): Rename from
8470 elmo-imap4-open-connection.
8471 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8472 only wraps elmo-imap4-open-connection-1.
8473 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8475 (elmo-imap4-auth-login): New function.
8476 (elmo-imap4-auth-cram-md5): New function.
8477 (elmo-imap4-auth-digest-md5): New function.
8478 (elmo-imap4-login): New function.
8480 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8482 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8485 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8487 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8489 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8491 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8493 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8495 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8496 for server responses, quote `*' regardless of where it appears.
8498 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8500 * elmo-maildir.el (elmo-maildir-commit): New alias.
8502 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8504 * elmo-util.el (elmo-display-progress):
8505 Use `progress-feedback-with-label'.
8507 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8509 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8510 (elmo-imap4-non-atom-char-regex): Ditto.
8511 (elmo-imap4-non-text-char-regex): Ditto.
8512 (elmo-imap4-literal-threshold): Ditto.
8513 (elmo-imap4-atom-p): New function.
8514 (elmo-imap4-quotable-p): Ditto.
8515 (elmo-imap4-nil): Ditto.
8516 (elmo-imap4-atom): Ditto.
8517 (elmo-imap4-quoted): Ditto.
8518 (elmo-imap4-literal-subr): Ditto.
8519 (elmo-imap4-literal): Ditto.
8520 (elmo-imap4-buffer-literal): Ditto.
8521 (elmo-imap4-string-subr): Ditto.
8522 (elmo-imap4-string): Ditto.
8523 (elmo-imap4-buffer-string): Ditto.
8524 (elmo-imap4-astring-subr): Ditto.
8525 (elmo-imap4-astring): Ditto.
8526 (elmo-imap4-buffer-astring): Ditto.
8527 (elmo-imap4-nstring): Ditto.
8528 (elmo-imap4-buffer-nstring): Ditto.
8529 (elmo-imap4-mailbox): New alias.
8530 (elmo-imap4-field-body): Ditto.
8531 (elmo-imap4-userid): Ditto.
8532 (elmo-imap4-password): Ditto.
8533 (elmo-imap4-format-quoted): New function.
8534 (elmo-imap4-send-command): Rewritten. Accept a list of command
8535 arguments and handle "atom", "quoted" and "literal" string here.
8536 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8537 `elmo-imap4-send-command'.
8538 (elmo-imap4-folder-exists-p): Likewise.
8539 (elmo-imap4-create-folder): Likewise.
8540 (elmo-imap4-delete-folder): Likewise.
8541 (elmo-imap4-rename-folder): Likewise.
8542 (elmo-imap4-max-of-folder): Likewise.
8543 (elmo-imap4-check-validity): Likewise.
8544 (elmo-imap4-sync-validity): Likewise.
8545 (elmo-imap4-server-diff): Likewise.
8546 (elmo-imap4-select-folder): Likewise.
8547 (elmo-imap4-copy-msgs): Likewise.
8548 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8549 (elmo-imap4-mark-set-on-msgs): Likewise.
8550 (elmo-imap4-read-part): Likewise.
8551 (elmo-imap4-read-msg): Likewise.
8552 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8553 `elmo-imap4-password' for `elmo-imap4-send-command'.
8554 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8555 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8556 `elmo-imap4-buffer-literal'.
8557 (elmo-imap4-append-msg): Likewise.
8559 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8560 `delete' for removing dead connection from the connection cache.
8561 Move deletion of the process buffer after that.
8562 (elmo-imap4-list): Change `defsubst' to `defun'.
8563 (elmo-imap4-commit): Make error message verbose.
8564 (elmo-imap4-search): Ditto.
8565 (elmo-imap4-list): Ditto.
8566 (elmo-imap4-select-folder): Ditto.
8567 (elmo-imap4-copy-msgs): Ditto.
8568 (elmo-imap4-delete-msg-by-id): Ditto.
8569 (elmo-imap4-append-msg-by-id): Ditto.
8570 (elmo-imap4-append-msg): Ditto.
8572 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8574 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8575 when dired is used on XEmacs.
8577 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8579 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8580 instead of `append'.
8581 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8582 `elmo-plugged-p' directly.
8583 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8584 of `elmo-plugged-p' directly.
8586 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8587 Eliminate unused variable. Use `memq' for checking a process status.
8588 Use `cons' instead of `append' for updating the connection cache.
8589 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8590 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8592 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8594 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8595 `elmo-imap4-read-point' exactly.
8597 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8598 the local variable `folder' to `mailbox'.
8599 Rename the argument `fld' to `folder'.
8601 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8603 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8604 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8606 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8608 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8609 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8610 (elmo-pop3-uidl-number-hash): Ditto.
8611 (elmo-pop3-size-hash): Ditto.
8612 (elmo-pop3-uidl-done): Ditto.
8613 (elmo-pop3-list-done): Ditto.
8614 (elmo-pop3-connection-get-process): New defmacro.
8615 (elmo-pop3-connection-get-buffer): Ditto.
8616 (elmo-pop3-close-connection): Delete buffer and process.
8617 (elmo-pop3-flush-connection): Don't delete buffer and process.
8618 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8619 Setup UIDL and size hash.
8620 (elmo-pop3-send-command-no-erase): Deleted
8621 (elmo-pop3-send-command): Added optional argument `no-erase'.
8622 (elmo-pop3-parse-uidl-response): New function.
8623 (elmo-pop3-parse-list-response): Set size hash.
8624 (elmo-pop3-list-location): New function.
8625 (elmo-pop3-list-by-uidl-subr): Ditto.
8626 (elmo-pop3-list-by-list): Ditto.
8627 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8628 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8629 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8630 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8631 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8633 (elmo-pop3-uidl-to-number): New function.
8634 (elmo-pop3-number-to-uidl): Ditto.
8635 (elmo-pop3-number-to-size): Ditto.
8636 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8637 Set number by use of uidl.
8638 (elmo-pop3-msgdb-create-message): Likewise.
8639 Set size, loc-alist in msgdb.
8640 (elmo-pop3-read-msg): Set number by use of uidl.
8641 Added optional argument `msgdb'.
8642 (elmo-pop3-delete-msg): Ditto.
8643 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8644 (elmo-pop3-commit): Close connection.
8646 * elmo-pipe.el (elmo-pipe-max-of-folder):
8647 Bind `elmo-pop3-use-uidl' as nil.
8648 (elmo-pipe-drain): Ditto.
8651 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8652 (elmo-msgdb-overview-entity-set-size): New defsubst.
8654 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8656 * elmo-vars.el (elmo-use-killed-list): New variable
8657 (Renamed from `elmo-nntp-use-killed-list').
8658 (elmo-nntp-use-killed-list): Eliminated.
8660 * elmo-msgdb.el (elmo-msgdb-expand-path):
8661 Changed expanding msgdb path for elmo-multi.
8663 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8664 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8665 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8666 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8667 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8668 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8669 (toplevel): Deleted time-stamp line.
8671 * elmo2.el (elmo-clear-killed ): Defined as function
8672 (Abolished defining as a backend function).
8673 All other related modules are changed.
8675 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8677 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8679 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8681 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8683 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8685 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8687 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8689 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8690 asynchronous folder check.
8692 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8694 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8695 `elmo-nntp-use-killed-list'.
8696 (elmo-nntp-list-folder): Use killed list.
8697 (elmo-nntp-max-of-folder): Ditto.
8698 (elmo-nntp-msgdb-create): Set killed list.
8700 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8702 * elmo2.el (elmo-clear-killed): New backend function.
8703 All other related modules are changed.
8705 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8707 * elmo-util.el (elmo-imap4-spec-folder): Use
8708 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8709 All callers changed.
8711 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8713 * mmelmo-2.el (initialize-instance):
8714 Use `mime-buffer-entity-buffer-internal' instead of
8715 `mime-entity-buffer'.
8717 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8718 (mime-entity-body): Implemented.
8719 (mime-goto-header-start-point): Deleted.
8720 (mime-goto-body-end-point): Ditto.
8721 (mime-entity-point-min): Ditto.
8722 (mime-entity-point-max): Ditto.
8723 (mime-entity-children): Ditto.
8724 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8725 instead of `mime-entity-buffer'.
8726 (mime-entity-header-buffer): Ditto.
8727 (mime-entity-body-buffer): Ditto.
8728 (mime-write-entity-content): Ditto.
8730 * pldap.el (ldap-static-if): New macro.
8731 (toplevel): Use it instead of `static-if'.
8733 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8735 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8736 included in `attrs' argument.
8738 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8740 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8742 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8743 (ldap-ldif-safe-init-char-regexp): Ditto.
8744 (ldap-ldif-safe-string-regexp): Ditto.
8745 (ldap/ldif-safe-string-p): New macro.
8746 (ldap/ldif-insert-field): Ditto.
8747 (ldap-modify): Use it.
8749 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8750 (ldap-decode-attribute): Decode only when `attr' is consp.
8751 (ldap-delete): Bind `ret'.
8752 (toplevel): Require 'cl at compile time.
8753 Removed (require 'poe) and (require 'std11).
8754 (pldap-version): Eliminated.
8755 (ldap-search-basic): Removed auth and dn binding.
8756 (ldap-ldif-field-name-regexp): New constant.
8757 (ldap-ldif-field-head-regexp): Ditto.
8758 (ldap-ldif-next-field-head-regexp): Ditto.
8759 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8760 (ldap/field-end): New function.
8761 (ldap/field-body): Use it.
8762 (ldap/collect-field): Ditto.
8763 (ldap-search-basic): Use `ldap/field-body'.
8765 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8767 * pldap.el (ldap-default-attribute-encoder): New user option.
8768 (ldap/field-body): Decode base64 string.
8769 (ldap/collect-field): Ditto.
8770 (ldap-encode-attribute): New function.
8771 (ldap-add-entries): Use it.
8772 (ldap-modify-entries): Ditto.
8773 (ldap-search-entries): Enclosed decoding function with
8774 `with-temp-buffer' and set as unibyte.
8775 (ldap-search-basic): Set process buffer as unibyte.
8777 * elmo-util.el (elmo-folder-identical-system-p):
8778 Eliminated name space checking.
8780 * pldap.el: New module.
8781 toplevel: Changed condition to detect built-in ldap feature.
8782 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8783 (ldap-add): Added error handling.
8784 (ldap-modify): Ditto.
8785 (ldap-delete): Ditto.
8787 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8789 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8790 Initialize local variables with `let'. Inline a temporary
8791 variable for the progress percentage. Sort `setq' to reduce
8792 function call in the while-loop.
8794 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8795 into the conditional branch.
8797 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8799 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8800 Move a conditional out of the while-loop.
8802 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8804 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8805 elmo-msgdb-overview-get-entity-by-number.
8806 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8809 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8811 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8812 the local variable for a packed number self descriptively.
8814 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8816 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8817 * elmo-localdir.el (elmo-localdir-pack-number): Use
8818 `elmo-msgdb-overview-get-entity' instead of
8819 `elmo-msgdb-overview-get-entity-by-number'.
8820 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8821 (elmo-msgdb-search-overview-entity): Removed.
8822 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8823 by message-id or number.
8824 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8825 instead of `elmo-msgdb-overview-get-entity-by-number'.
8827 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8829 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8830 non-nil, use hash table for overview.
8831 (elmo-hash-maximum-size): New variable.
8832 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8833 (elmo-msgdb-make-overview-hashtb): New function.
8834 (elmo-msgdb-clear-overview-hashtb): New function.
8835 (elmo-clear-hash-val): New macro.
8836 All other related modules are changed.
8838 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8840 * elmo2.el (elmo-move-msgs): If there's other message with
8841 same message-id, don't use cache.
8843 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8845 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8846 number is already packed.
8848 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8850 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8852 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8854 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8855 All other related modules are changed.
8857 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8859 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8860 of refiling failure on Maildir.
8862 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8864 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8865 decoded mime-charset with cache.
8866 (elmo-msgdb-overview-entity-get-from): Ditto.
8867 (elmo-msgdb-overview-entity-get-subject): Ditto.
8868 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8870 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8872 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8873 (elmo-remove-passwd): Fill password with 0 before erase.
8874 * elmo-vars.el (elmo-passwd-life-time): New variable.
8877 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8879 * elmo-cache.el (elmo-buffer-cache-add):
8880 Set message cache buffer as unibyte.
8882 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8884 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8887 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8889 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8890 when display is finished.
8891 (elmo-nntp-msgdb-create): Ditto.
8892 (elmo-nntp-groups-read-response): Ditto.
8893 (elmo-nntp-retrieve-headers): Ditto.
8894 (elmo-nntp-msgdb-create-message): Ditto.
8895 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8896 (elmo-pop3-msgdb-create-message): Ditto.
8898 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8900 * elmo-maildir.el (elmo-maildir-msgdb-create):
8901 Use `elmo-msgdb-sort-by-date'.
8903 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8905 * elmo2.el (elmo-read-msg-no-cache):
8906 Eliminated arguments after `outbuf'.
8907 Don't use cache even if it exists.
8908 (elmo-read-msg): Don't pass arguments after `outbuf' to
8909 `elmo-read-msg-no-cache'.
8911 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8913 * elmo-archive.el (elmo-archive-list-folders):
8914 Use `file-name-directory' if base folder does not exist.
8916 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8918 * elmo-archive.el (elmo-archive-list-folders): Don't use
8919 `file-name-directory'.
8921 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8923 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8924 If `force' is non-nil, try flushing all operation queues.
8926 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8928 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8931 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8933 * elmo-util.el (elmo-display-progress): Fixed.
8935 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8937 * elmo-util.el (elmo-display-progress): New function.
8938 All other related modules are changed.