1 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
4 hash table to test whether a location is exists.
6 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
8 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
9 even if some error occurred.
11 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
12 meaningless unwind-protect.
14 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
15 start-number correctly.
16 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
17 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
19 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
21 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
22 (elmo-folder-initialize): Use it.
23 (elmo-global-flag-replace-referrer): New function.
25 * elmo.el (toplevel): Added autoload setting for
26 `elmo-global-flag-replace-referrer'.
27 (elmo-folder-rename): Rewrite the last change use
28 `elmo-global-flag-replace-referrer'.
30 * elmo-pipe.el (elmo-folder-rename): Call
31 `elmo-global-flag-replace-referrer'.
33 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
35 * elmo.el (elmo-folder-rename): Set meta data for global flags
38 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
40 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
42 (elmo-folder-close): Ditto.
43 (elmo-filter-folder-number-list-loaded-p): New function.
44 (elmo-filter-folder-number-list): Check whether loaded or not.
45 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
46 of `elmo-filter-folder-number-list-internal'.
47 (elmo-folder-delete-messages): Ditto.
48 (elmo-folder-length): Check whether number-list is loaded or not.
50 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
52 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
53 field `real field' into each element of list.
54 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
55 (elmo-msgdb-message-entity-field): Ditto.
56 (modb-entity-ml-info-real-fields): New function.
58 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
60 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
61 `elmo-msgdb-extra-fields'.
63 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
65 * elmo-util.el (elmo-passwd-alist-load): Move point to min
68 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
70 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
71 (elmo-global-flags-initialize): Ditto.
73 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
75 * elmo-archive.el (toplevel): Don't require emu, std11
78 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
81 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
83 * elmo.el (elmo-folder-confirm-appends): Display folder name.
85 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
87 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
90 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
92 * elmo-maildir.el (elmo-maildir-list-location): Reduce
93 `elmo-get-last-modification-time' call.
95 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
97 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
99 (elmo-maildir-set-mark): Ditto.
100 (elmo-maildir-delete-mark): Ditto.
102 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
104 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
105 optional argument `separators'.
107 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
109 * elmo.el (cache-changed): Abolish.
110 (status-changed): New signal.
111 (elmo-message-killed-p): New generic function and define for
113 (elmo-folder-recover-messages): Ditto.
114 (elmo-message-set-cached): Emit signal `status-changed' instead of
116 (elmo-message-status): New macro.
117 (elmo-message-status-folder): Ditto.
118 (elmo-message-status-number): Ditto.
119 (elmo-message-status-set-flags): Ditto.
120 (elmo-message-status-set-killed): Ditto.
121 (elmo-message-status-flags): New function.
122 (elmo-message-status-cached-p): Ditto.
123 (elmo-message-status-killed-p): Ditto.
125 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
126 `status-changed' instead of `cache-changed'.
127 (elmo-folder-recover-messages): Define.
128 (elmo-message-killed-p): Ditto.
130 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
131 `status-changed' instead of `cache-changed'.
133 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
134 (elmo-message-killed-p): Define.
135 (elmo-folder-recover-messages): Ditto.
137 * elmo-version.el (elmo-version): Up to 2.15.3.
139 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
141 * elmo-signal.el (elmo-signal-bindings): Use cons to append
143 (elmo-define-signal-handler): Add docstring.
144 (elmo-define-signal-filter): Ditto.
146 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
148 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
150 * elmo-util.el (elmo-flatten): Don't use recursive call.
152 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
154 (elmo-folder-message-make-temp-files): Use `number-to-string'
155 instead of `int-to-string'.
157 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
159 * elmo-search.el (elmo-folder-delete-messages): Define.
161 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
163 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
165 (elmo-mailing-list-count-spec-list): Ditto.
167 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
170 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
172 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
175 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
177 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
178 (elmo-mailing-list-count-spec-list): Ditto.
180 * elmo-util.el (elmo-map-until-success): New function.
181 (elmo-string-match-substring): Ditto.
182 (elmo-find-list-match-value): Ditto.
184 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
186 (modb-entity-extract-ml-info-from-subject): Ditto.
187 (modb-entity-extract-ml-info-from-return-path): Ditto.
188 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
189 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
190 (modb-entity-extract-ml-info-from-mailman): Ditto.
191 (modb-entity-extract-mailing-list-info-functions): Ditto.
192 (modb-entity-extract-mailing-list-info): Rewrite with
193 `elmo-find-list-match-value'.
195 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
197 * elmo-net.el (elmo-network-session-retry-count): New user option.
198 (elmo-network-session-buffer-name): New internal function.
199 (elmo-network-session-buffer-create): Ditto.
200 (elmo-network-open-session): Retry open network session
201 `elmo-network-session-retry-count' times.
203 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
205 * elmo-util.el (elmo-list-filter): Rewritten.
207 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
209 * elmo-util.el (elmo-string-member): Allow symbol element in list.
211 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
213 * elmo-search.el (elmo-make-search-engine): Use prefix
214 `elmo-search-' for require symbol instead of `else-'.
215 (elmo-search-engine-extprog): New class.
216 (elmo-search-engine-do-search): Remove nil from argument
217 list. Added argument pattern to evaluate element as function.
218 (elmo-search-engine-local-file): Derived from
219 `elmo-search-engine-extprog'.
220 (elmo-search-engine-create-message-entity): Check existance of file.
221 (elmo-search-engine-fetch-message): Ditto.
222 (elmo-search-namazu-index): Follow the API change.
223 (elmo-search-grep-target): Ditto.
225 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
227 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
228 characters of working buffer.
230 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
231 Does not bind `default-mime-charset'.
232 (elmo-msgdb-create-message-entity-from-buffer): Removed
233 unnecessary local bind.
235 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
237 (modb-entity-extract-mailing-list-info-functions): Added it.
239 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
241 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
242 when number and message-id are non-nil.
244 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
246 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
247 conditional steatment.
248 (elmo-pop3-auth-apop): Likewise.
249 (elmo-network-authenticate-session): Likewise.
251 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
253 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
254 symbol `fill-column'.
255 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
258 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
259 (elmo-decoded-field-body): Ditto.
261 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
263 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
264 `tokens' to `params'.
266 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
268 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
271 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
273 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
276 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
278 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
279 Set default value as nil.
280 (toplevel): Register search engines by
281 `elmo-search-register-engine' if there are not defined.
283 * elmo.el (autoload): Added autoload setting for
284 `elmo-search-register-engine'.
286 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
288 * elmo.el (toplevel): `[' is redefined as the prefix of the search
289 folder instead of nmz folder.
290 (elmo-nmz-default-index-path): Added obsolete variable setting.
291 (elmo-nmz-index-alias-alist): Ditto.
292 (elmo-nmz-use-drive-letter): Ditto.
294 * elmo-search.el (elmo-search-register-engine): New function.
296 * elmo-nmz.el: Removed.
298 * elmo-version.el (elmo-version): Up to 2.15.2.
300 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
302 * elmo-search.el: New file.
304 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
306 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
307 condition `larger' and `smaller'.
309 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
311 * elmo-util.el (elmo-safe-filename): Rewrite to replace
312 `"' (double quote) into "_Q_".
314 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
316 * elmo-net.el (elmo-net-quote-chars): Abolish.
317 (elmo-net-format-quoted): Ditto.
319 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
321 * elmo.el (elmo-get-folder-function): New variable.
322 (elmo-get-folder): New function.
323 (elmo-folder-rename): Call `elmo-make-folder' with specified
326 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
328 (elmo-split-subr): Ditto.
330 * elmo-multi.el (elmo-folder-initialize): Ditto.
332 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
334 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
335 (elmo-flag-get-folder): Ditto.
337 * elmo-filter.el (elmo-folder-initialize): Ditto.
339 * elmo-access.el (elmo-folder-initialize): Ditto.
340 (elmo-access-folder-update-children): Ditto.
342 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
343 (elmo-dop-queue-flush): Ditto.
344 (elmo-folder-append-buffer-dop-delayed): Ditto.
345 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
348 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
349 instead of `elmo-make-folder'.
350 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
351 destination folder instead of send `elmo-folder-rename-internal'.
353 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
354 slot of subfolder instead of create it.
356 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
358 * elmo-util.el (elmo-collect-separators): New function.
359 (elmo-collect-separators-internal): Ditto.
360 (elmo-collect-trail-separators): Ditto.
361 (elmo-parse-separated-tokens): Ditto.
362 (elmo-parse-separated-tokens-internal): Ditto.
363 (elmo-quote-syntactical-element): Ditto.
365 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
366 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
368 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
369 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
370 (elmo-nntp-folder-list-subfolders): Quote a user name.
372 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
373 (elmo-net-parse-network): Abolish.
374 (elmo-net-folder-set-parameters): New function.
375 (elmo-folder-initialize): Follow the above change.
377 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
378 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
379 (elmo-folder-list-subfolders): Use
380 `elmo-quote-syntactical-element' instead of
381 `elmo-net-format-quoted' to quote mailbox and user name.
383 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
385 * elmo-util.el (elmo-token-valid-p): New function.
386 (elmo-parse-token): Add optional argument `requirement'.
387 (elmo-parse-prefixed-element): Likewise.
389 * elmo-net.el (elmo-net-quote-chars): Renamed from
390 `elmo-net-quote-chars-regexp'.
391 (elmo-net-format-quoted): Add optional argument `extra-chars'.
393 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
394 by info document. Check token `uidl' is started an alphabet.
396 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
397 by info document. Check token `user' is started an alphabet.
399 * elmo-imap4.el (elmo-folder-initialize): Ditto.
400 (elmo-folder-list-subfolders): Quote user.
402 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
404 * elmo-util.el (elmo-quoted-specials-list): New constant.
405 (elmo-quoted-token): New function.
407 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
408 (elmo-net-format-quoted): New function.
409 (elmo-net-parse-network): Ditto.
410 (elmo-folder-initialize): Use it.
412 * elmo-nntp.el (elmo-folder-initialize): Use
413 `elmo-net-parse-network' to parse network specification instead of
414 `elmo-folder-initialize#elmo-net'.
416 * elmo-pop3.el (elmo-folder-initialize): Ditto.
418 * elmo-imap4.el (elmo-folder-initialize): Ditto.
419 (elmo-folder-list-subfolders): Quote folder name by
420 `elmo-net-format-quoted'.
422 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
424 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
425 (elmo-folder-search): Use it.
427 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
429 * modb-standard.el (modb-standard-loaded-message-id): Use
430 `elmo-msgdb-message-entity-field'.
432 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
434 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
437 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
439 * elmo-util.el (elmo-set-auto-coding): New function.
440 (elmo-object-load): Use it.
442 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
444 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
445 (elmo-time<): Define as alias of `elmo-time-less-p'.
446 (elmo-time-to-datevec): New function.
448 * elmo-date.el (elmo-time-to-days): New function.
450 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
452 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
455 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
457 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
460 * elmo-util.el (elmo-map-recursive): New function.
462 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
463 (modb-entity-encode-string-recursive): Ditto.
465 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
467 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
468 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
469 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
470 compare sequence number when last modified time is nil.
472 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
474 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
476 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
478 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
480 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
481 modification time of the file.
483 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
485 * elmo-util.el (elmo-condition-optimize): Discriminated against
486 preserved fields, extra fields and the other weight.
488 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
490 * modb-entity.el (initialize-instance): Define.
491 (modb-entity-handler-mime-charset): New internal function.
492 (modb-standard-entity-set-field): Use it.
493 (elmo-msgdb-message-entity-field): Ditto.
494 (elmo-msgdb-message-entity-field): Ditto.
496 * modb.el (elmo-msgdb-match-condition): Rewrite with
497 `elmo-condition-match'.
498 (elmo-msgdb-match-condition-primitive): New function.
500 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
501 arguments `flags' and `numbers'.
502 (elmo-msgdb-match-condition-primitive): Abolished (merged to
503 `elmo-msgdb-message-match-condition').
504 (modb-buffer-entity-handler): New class.
506 * elmo.el (elmo-folder-search): Optimize condition to use
507 `elmo-condition-optimize'.
508 (elmo-message-buffer-match-condition): New function.
509 (elmo-message-match-condition): Use
510 `elmo-message-buffer-match-condition' instead of
511 `elmo-buffer-field-condition-match'.
513 * elmo-util.el (elmo-condition-match): New function.
514 (elmo-condition-optimize): Ditto.
515 (elmo-buffer-field-primitive-condition-match): Abolish.
516 (elmo-buffer-field-condition-match): Ditto.
518 * elmo-archive.el (elmo-archive-field-condition-match): Use
519 `elmo-message-buffer-match-condition' instead of
520 `elmo-buffer-field-condition-match'.
522 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
524 * elmo-flag.el (elmo-global-flags-initialize): Check the
525 existence of the flag directory.
527 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
529 * elmo-access.el (elmo-folder-initialize): Call
530 `elmo-multi-connect-signals'.
532 * elmo-pipe.el (elmo-folder-close): Define.
534 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
537 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
540 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
543 * elmo-multi.el (elmo-message-entity): Don't use return value of
544 `elmo-message-entity-set-number'.
546 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
548 * modb.el (modb-generic): Added slot `mime-charset'.
550 * modb-standard.el (modb-standard): Added slot `overview-handler'.
551 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
552 and `modb-entity-handler-dump-parameters'.
553 (modb-standard-default-entity-handler): Abolish.
554 (elmo-msgdb-message-entity-handler): Save created handler by
557 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
558 (modb-entity-handler-list-parameters): New method.
559 (modb-entity-handler-equal-p): New function.
560 (modb-entity-handler-dump-parameters): Ditto.
561 (modb-entity-parse-address-string): Encode return value.
562 (modb-entity-make-address-string): Decode argument value.
563 (modb-entity-decode-string-recursive): New function.
564 (modb-entity-encode-string-recursive): Ditto.
565 (modb-standard-entity-normalizer): Set to encode field value.
566 (modb-standard-entity-specializer): Follow the above change.
567 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
568 mime-charset of handler.
569 (elmo-msgdb-message-entity-field): Ditto.
570 (elmo-msgdb-copy-message-entity): Fixed reference to internal
572 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
574 * elmo.el (elmo-folder): Added slot `mime-charset'.
575 (elmo-make-folder): Added argument `mime-charset'.
576 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
579 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
580 (elmo-make-msgdb): Likewise.
582 * elmo-internal.el (elmo-internal-folder-initialize): Call
583 `luna-make-entity' with :mime-charset parameter.
585 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
587 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
588 encoded words in `from' and `subject' field.
590 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
592 * modb.el (elmo-msgdb-message-field): Add argument `type'.
593 (elmo-msgdb-match-condition): Get handler from entity instead of
596 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
597 (modb-standard-load-entity): Treat new file format.
598 (modb-standard-save-entity-1): Save as new file format.
599 (modb-standard-save-entity): Split messages into section here.
600 (elmo-msgdb-message-field): Follow the API change.
601 (modb-standard-default-entity-handler): New internal variable.
602 (elmo-msgdb-message-entity-handler): Define.
604 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
606 (modb-entity-field-extractor-alist): New user option.
607 (elmo-msgdb-message-entity-field): Removed argument `decode' and
608 added argument `type'.
609 (elmo-msgdb-copy-message-entity): Add optional argument
611 (modb-set-field-converter): New function.
612 (modb-convert-field-value): Ditto.
613 (modb-entity-string-decoder): Ditto.
614 (modb-entity-string-encoder): Ditto.
615 (modb-entity-parse-date-string): Ditto.
616 (modb-entity-make-date-string): Ditto.
617 (modb-entity-mime-decoder): Ditto.
618 (modb-entity-mime-encoder): Ditto.
619 (modb-entity-address-list-decoder): Ditto.
620 (modb-entity-address-list-encoder): Ditto.
621 (modb-entity-parse-address-string): Ditto.
622 (modb-entity-make-address-string): Ditto.
623 (modb-entity-create-field-indices): Ditto.
624 (modb-legacy-entity-field-slots): New constant.
625 (modb-legacy-entity-field-indices): Ditto.
626 (modb-legacy-entity-normalizer): New variable.
627 (modb-legacy-entity-specializer): Ditto.
628 (modb-legacy-entity-field-index): New macro.
629 (modb-legacy-entity-set-field): New function.
630 (modb-legacy-make-message-entity): Rewrite.
631 (elmo-msgdb-create-message-entity-from-buffer): Use
632 `elmo-msgdb-get-references-from-buffer'. Use
633 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
634 Use `modb-legacy-entity-set-field' instead of
635 `elmo-msgdb-message-entity-set-field'.
636 (elmo-msgdb-message-entity-field): Rewrite.
637 (elmo-msgdb-message-entity-set-field): Ditto.
638 (elmo-msgdb-copy-message-entity): Make new entity by
639 `make-handler' if it specified.
640 (elmo-msgdb-message-match-condition): Define a method of
641 `modb-entity-handler' and follow the API change.
642 (modb-standard-entity-handler): New class.
643 (modb-entity-extract-ml-info-from-x-sequence): New function.
644 (modb-entity-extract-ml-info-from-subject): Ditto.
645 (modb-entity-extract-ml-info-from-return-path): Ditto.
646 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
647 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
648 (modb-entity-extract-mailing-list-info): Ditto.
649 (modb-entity-extract-mailing-list-info-functions): New variable.
651 * elmo.el (elmo-message-field): Add optional argument `type'.
653 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
654 from `modb-entity.el'.
656 * elmo-util.el (elmo-object-load): Decode by coding-system from
657 `set-auto-coding-function'.
658 (elmo-object-save): Use `detect-mime-charset-region' and add
659 coding cookie if encode.
660 (elmo-msgdb-get-references-from-buffer): New function.
661 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
663 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
665 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
666 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
667 instead of `shimbun-make-header' and follow the API change.
668 (elmo-shimbun-update-overview): Follow the API change.
669 (elmo-map-folder-list-message-locations): Ditto.
671 * elmo-pipe.el (elmo-message-field): Ditto.
673 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
676 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
678 * elmo-multi.el (elmo-message-field): Ditto.
680 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
681 (elmo-msgdb-sort-by-date): Ditto.
682 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
683 `elmo-message-entity-field'.
684 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
686 (elmo-msgdb-overview-entity-get-from): Ditto.
687 (elmo-msgdb-overview-entity-get-subject): Ditto.
688 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
689 (elmo-msgdb-overview-entity-get-date): Ditto.
690 (elmo-msgdb-overview-entity-get-to): Ditto.
691 (elmo-msgdb-overview-entity-get-cc): Ditto.
693 * elmo-mime.el (elmo-message-mime-entity): Ditto.
694 (elmo-mime-collect-message/partial-pieces): Ditto.
696 * elmo-filter.el (elmo-message-field): Ditto.
698 * elmo-date.el (elmo-datevec-to-time): New function.
699 (elmo-time-parse-date-string): Ditto.
700 (elmo-time-make-date-string): Ditto.
703 * elmo-version.el (elmo-version): Up to 2.15.1.
705 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
707 * elmo-flag.el (elmo-global-flags-initialize): Don't include
708 member of elmo-local-flags.
710 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
712 * elmo-version.el (elmo-version): Up to 2.15.0.
714 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
716 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
717 `ignore-msgdb' is non-nil.
719 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
721 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
722 (elmo-condition-in-msgdb-p): Ditto.
723 (elmo-file-field-primitive-condition-match): Ditto.
724 (elmo-file-field-condition-match): Ditto.
726 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
728 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
730 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
732 (elmo-global-flags-initialize): New function.
734 * elmo.el (toplevel): Added autoload setting for
735 `elmo-global-flags-initialize'.
737 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
739 * elmo.el (message-number-changed): Define new signal.
740 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
741 message-number-changed signal.
742 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
743 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
744 Respect `elmo-pack-number-check-strict'.
746 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
748 * elmo-signal.el (elmo-connect-signal): Document.
749 (elmo-emit-signal): Ditto.
750 (elmo-emit-signal): It should pass source argument to filter and
751 handler, not slot-source.
753 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
755 * modb.el (elmo-msgdb-update-entity): New API and define generic
758 * modb-standard.el (elmo-msgdb-update-entity): Define.
760 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
761 API and define generic implement.
763 * elmo.el (update-overview): New singnal.
765 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
766 `elmo-msgdb-update-entity' and emit signal `update-overview'.
767 (elmo-message-entity-parent): Define.
769 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
772 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
774 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
776 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
778 * elmo.el (elmo-folder-synchronize): Sort the return value of
781 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
784 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
786 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
787 `default-enable-multibyte-characters'.
788 (elmo-object-load): Use `with-temp-buffer' instead of
790 (elmo-object-save): Ditto.
791 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
793 (elmo-decoded-field-body): Ditto.
795 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
797 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
798 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
800 * elmo-version.el (elmo-version): Up to 2.13.3.
802 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
804 * elmo-util.el (elmo-list-diff): Fix the last change.
805 Reverse order of result lists.
807 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
809 * modb-standard.el (elmo-msgdb-set-flag): Use
810 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
811 (elmo-msgdb-unset-flag): Ditto.
813 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
816 * elmo-util.el (elmo-list-diff): Rewrite.
817 (elmo-list-diff-nonsortable): New function.
819 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
821 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
822 `elmo-multibypte-buffer-name'. All referers are updated.
824 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
826 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
827 (elmo-mime-entity-fragment-p): New function.
828 (mime-elmo-buffer-entity): Added slot `reassembled'.
829 (elmo-message-mime-entity): Added 4th argument `reassemble'.
830 (elmo-message-mime-entity-internal): New function (renamed from
831 `elmo-message-mime-entity').
832 (elmo-mime-inherit-field-list-from-enclosed): New constant.
833 (elmo-mime-make-reassembled-mime-entity): New function.
834 (elmo-message-reassembled-mime-entity): Ditto.
835 (elmo-mime-collect-message/partial-pieces): Ditto.
837 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
839 * elmo.el (elmo-message-fetch-string): Disable multibyte.
841 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
842 (elmo-with-enable-multibyte): New macro.
844 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
846 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
848 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
850 (elmo-filter-connect-signals): Follow the above change.
852 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
854 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
856 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
857 that only the first flag is used.
859 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
861 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
864 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
866 * elmo-signal.el: New file.
868 * elmo.el (toplevel): Require elmo-signal.
869 (flag-changing, flag-changed, cache-changed): New signal.
870 (elmo-folder): Remove slog `handlers'.
871 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
872 `elmo-folder-notify-event'.
873 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
874 (elmo-folder-unset-flag): Ditto.
875 (elmo-event-handler): Abolish.
876 (elmo-event-handler-flag-changed): Ditto.
877 (elmo-event-handler-cache-changed): Ditto.
878 (elmo-folder-add-handler): Ditto.
879 (elmo-folder-remove-handler): Ditto.
880 (elmo-folder-notify-event): Ditto.
882 * elmo-pipe.el (toplevel): Require elmo-signal.
883 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
884 (elmo-pipe-connect-signals): New function.
885 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
886 (elmo-folder-set-flag): Ditto.
887 (elmo-folder-unset-flag): Ditto.
888 (elmo-message-set-cached): Ditto.
890 * elmo-multi.el (toplevel): Require elmo-signal.
891 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
892 (elmo-multi-connect-signals): New function.
893 (elmo-multi-map-numbers): Ditto.
894 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
895 (elmo-message-fetch): Ditto.
896 (elmo-folder-set-flag): Ditto.
897 (elmo-folder-unset-flag): Ditto.
899 * elmo-filter.el (toplevel): Require elmo-signal.
900 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
901 (elmo-filter-connect-signals): New function.
902 (elmo-filter-add-flag-count): Ditto.
903 (elmo-message-fetch): Does not call
904 `elmo-filter-folder-countup-message-flags' and
905 `elmo-folder-notify-event'.
906 (elmo-message-set-cached): Ditto.
907 (elmo-folder-set-flag): Ditto.
908 (elmo-folder-unset-flag): Ditto.
910 * elmo-version.el (elmo-version): Up to 2.13.2.
912 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
914 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
917 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
919 * elmo-filter.el (elmo-message-set-cached): Call
920 `elmo-folder-notify-event' with event `cache-changed'.
922 * elmo-multi.el (elmo-message-set-cached): Ditto.
924 * elmo-pipe.el (elmo-message-set-cached): Ditto.
926 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
928 * elmo.el (elmo-folder-encache): Abolish.
930 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
932 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
933 (elmo-folder-next-message-number-dop): Return appropriate negative
936 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
938 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
939 clearing pending operations.
940 (elmo-folder-next-message-number-dop): Return appropriate negative
943 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
945 * elmo.el (toplevel): Added autoload setting for `md5'.
946 (elmo-msgdb-path-encode-threshold): New user option.
947 (elmo-folder-msgdb-path): Encode msgdb path if its length is
948 longer than `elmo-msgdb-path-encode-threshold'.
950 * elmo-flag.el (elmo-global-mark-migrate): Use
951 `elmo-folder-expand-msgdb-path' instead of
952 `elmo-folder-msgdb-path'.
954 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
956 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
957 element of the difference is nil.
959 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
961 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
962 to the check logic of file systems which are weak in colon character.
964 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
966 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
968 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
970 * elmo-maildir.el (elmo-maildir-move-file): New function.
971 (elmo-folder-append-buffer): Use it.
972 (elmo-folder-append-messages): Ditto.
973 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
975 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
976 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
978 * elmo-maildir.el (elmo-maildir-separator): New user option.
979 (elmo-maildir-adjust-separator): New macro.
980 (elmo-maildir-list-location): Use it.
981 (elmo-maildir-update-current): Ditto.
982 (elmo-maildir-set-mark): Ditto.
983 (elmo-maildir-delete-mark): Ditto.
984 (These changes are based on Hiroya Murata's patch [wl: 13437])
986 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
988 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
990 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
992 * elmo-flag.el (elmo-flag-valid-p): Simplify.
993 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
994 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
996 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
998 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
999 Use `with-temp-buffer'.
1001 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1003 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1005 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1006 `wl-read-search-condition').
1007 (elmo-read-search-condition-internal): Likewise.
1009 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1010 (elmo-flag-valid-p): New function.
1011 (elmo-folder-initialize): Check flag name is valid.
1013 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1015 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1016 delimiter to obtain root mailbox itself.
1018 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1020 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1023 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1025 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1028 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * elmo-shimbun.el (toplevel): Require cl at compile.
1032 * elmo-nntp.el (toplevel): Ditto.
1034 * elmo-nmz.el (toplevel): Ditto.
1036 * elmo-multi.el (toplevel): Ditto.
1038 * elmo-file.el (toplevel): Ditto.
1040 * elmo-dop.el (toplevel): Ditto.
1042 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1044 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1046 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1049 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1050 size of elmo-message-fetch-internal is 0 byte.
1052 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1054 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1056 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1058 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1061 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1063 * elmo-maildir.el (elmo-map-message-fetch): Call
1064 `elmo-map-folder-set-flag'.
1066 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1067 (elmo-message-fetch): Merge from
1068 `elmo-message-fetch-with-cache-process'.
1070 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1071 (elmo-message-fetch): Define.
1073 * elmo-nntp.el (elmo-message-fetch): Renamed from
1074 `elmo-message-fetch-with-cache-process'.
1076 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1077 (elmo-message-fetch): Define.
1079 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1082 * elmo-shimbun.el (shimbun-mua-search-id): Use
1083 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1084 (elmo-shimbun-folder-shimbun-header): Ditto.
1085 (elmo-shimbun-get-headers): Ditto.
1086 (elmo-shimbun-update-overview): Ditto.
1088 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1090 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1091 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1093 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1095 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1097 (elmo-message-fetch-string): Fixed argument.
1099 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1101 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1102 exchange order of arguments `section' and `unread'.
1103 (elmo-message-encache): Follow the API change.
1104 (elmo-message-match-condition): Ditto.
1105 (elmo-generic-folder-append-messages): Ditto.
1106 (elmo-message-fetch-string): New function.
1108 * elmo-split.el (elmo-split-subr): Ditto.
1110 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1112 * elmo-pipe.el (elmo-message-fetch): Ditto.
1114 * elmo-multi.el (elmo-message-fetch): Ditto.
1116 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1118 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1120 * elmo-filter.el (elmo-message-fetch): Ditto.
1122 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1124 * elmo-imap4.el (mime-imap-location-section-body): Use
1125 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1126 follow the API change.
1128 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1130 * elmo-access.el: New file.
1132 * elmo-null.el: Ditto.
1134 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1136 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1138 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1139 (elmo-network-session): New attribute `last-accessed'.
1140 (elmo-network-get-session): Discard network cache if elapsed time
1141 since last-accessed is larger than elmo-network-session-idle-timeout.
1143 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1145 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1146 and added `number', `require-entireness'.
1147 (elmo-find-fetch-strategy): Rewrite.
1148 (elmo-message-fetch): Unset `unread' flag when argument unread is
1151 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1153 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1154 (elmo-message-fetch): Notify event `flag-changed'.
1156 * elmo-pipe.el: Likewise.
1158 * elmo-mime.el (elmo-mime-entity): New class.
1159 (elmo-mime-entity-display-p): New generic function.
1160 (elmo-mime-entity-display): Ditto.
1161 (elmo-mime-entity-display-as-is): Ditto.
1162 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1164 (elmo-make-mime-message-location): Removed.
1165 (elmo-mime-message-display): Ditto.
1166 (elmo-mime-display-as-is): Ditto.
1167 (elmo-message-mime-entity): New function.
1169 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1171 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1173 (elmo-message-fetch): Re-count flagged message number and notify
1174 event `flag-changed'.
1176 * elmo-version.el (elmo-version): Up to 2.13.1.
1178 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1180 * elmo-filter.el (elmo-message-field): Define.
1181 (elmo-message-set-field): Ditto.
1183 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1185 * elmo.el (elmo-message-set-cached): Call
1186 `elmo-folder-notify-event' with cache-changed.
1187 (elmo-event-handler-cache-changed): New generic function.
1189 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1191 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1192 instead of elmo-add-name-to-file.
1193 (elmo-folder-append-messages): Ditto.
1195 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1197 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1199 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1201 * elmo-version.el (elmo-version): Up to 2.13.0.
1203 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1206 * modb-standard.el (modb-standard-economize-entity-size): Changed
1207 default value to `t'.
1209 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1212 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1213 after parsing greeting string.
1215 2004-11-23 Daishi Kato <daishi@axlight.com>
1217 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1219 (elmo-spam-spamoracle-call): Use it.
1221 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1223 * elmo.el (elmo-message-accessible-p): Message in dop spool
1226 2004-11-23 Daishi Kato <daishi@axlight.com>
1228 * elsp-spamoracle.el: New file.
1230 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1232 * elmo.el (elmo-message-flags-for-append): New function.
1233 (elmo-generic-folder-append-messages): Use it.
1235 * elmo-split.el (elmo-split-subr): Ditto.
1237 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1238 `flags' and use elmo-folder-append-buffer instead of
1239 write-region-as-binary.
1240 (elmo-dop-filter-pending-messages): New function.
1241 (elmo-folder-append-buffer-dop): Call
1242 elmo-dop-spool-folder-append-buffer with `flag'.
1243 (elmo-folder-set-flag-dop): Filter messages by
1244 elmo-dop-filter-pending-messages.
1245 (elmo-folder-unset-flag-dop): Ditto.
1246 (elmo-folder-append-buffer-dop-delayed): Use
1247 elmo-message-flags-for-append to get flags of the message and
1250 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1252 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1254 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1256 * elmo.el (elmo-folder): Added handlers slot.
1257 (elmo-event-handler): New class.
1258 (elmo-event-handler-flag-changed): New API.
1259 (elmo-folder-add-handler): New function.
1260 (elmo-folder-remove-handler): Ditto.
1261 (elmo-folder-notify-event): Ditto.
1262 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1264 (elmo-folder-unset-flag): Ditto.
1266 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1267 (elmo-folder-unset-flag): Ditto.
1269 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1270 (elmo-folder-unset-flag): Ditto.
1272 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1273 (elmo-folder-unset-flag): Ditto.
1275 * elmo-version.el (elmo-version): Up to 2.11.33.
1277 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1279 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1281 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1283 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1285 * elmo-flag.el (elmo-folder-unset-flag): Define.
1286 (elmo-global-flag-detach): Do process when the flag is not target
1289 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1291 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1293 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1295 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1297 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1299 (elmo-folder-delete-messages): Detach messages before delete
1300 messages from target folder.
1301 (elmo-folder-detach-messages): Set updated number-list to slot.
1303 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1305 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1307 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1309 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1311 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1313 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1315 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1317 (elmo-folder-delete-messages): Define.
1318 (elmo-folder-move-messages): Don't call
1319 `elmo-folder-detach-messages'.
1320 (elmo-folder-synchronize): Rewrite.
1321 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1323 * elmo-util.el (elmo-last): New function.
1324 (elmo-set-list): Ditto.
1325 (elmo-number-set-delete-list): Ditto.
1326 (elmo-number-set-delete): Ditto.
1328 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1330 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1331 `elmo-folder-delete-messages' and don't delete location map.
1332 (elmo-folder-detach-messages): Define.
1334 * elmo-imap4.el (elmo-folder-delete): Use
1335 `elmo-folder-delete-messages-internal' instead of
1336 `elmo-folder-delete-messages'.
1338 * elmo-filter.el (elmo-folder-delete-messages): Call
1339 `elmo-folder-detach-messages'.
1340 (elmo-folder-detach-messages): Don't call
1341 `elmo-folder-detach-messages' for target folder.
1343 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1344 message deletion is succeeded.
1346 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1348 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1349 from `elmo-folder-delete-messages'.
1351 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1353 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1355 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1357 * elmo-version.el (elmo-version): Up to 2.11.32.
1359 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1361 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1362 (elmo-global-flag-list): Added obsolete variable setting.
1364 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1366 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1367 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1368 `elmo-mime-display-header-analysis' is nil.
1370 * elmo-flag.el (elmo-global-flags): Renamed from
1371 `elmo-global-flag-list' (All other related portions are changed).
1372 (elmo-local-flags): New variable.
1373 (elmo-local-flag-p): New function.
1374 (elmo-global-flag-set-internal): Cause an error when flag is not
1377 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1379 * elmo-util.el (elmo-concat-path): Treat empty path.
1381 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1383 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1385 (elmo-split-address-match): Ditto.
1386 (elmo-split-equal): Ditto.
1387 (elmo-split-match): Ditto.
1389 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1391 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1392 (elmo-generic-folder-append-messages): If src message exists but
1393 has no flag, pass (read) for the FLAG argument of
1394 `elmo-folder-append-buffer'. Otherwise, pass nil.
1396 * elmo-split.el (elmo-split-subr): Likewise.
1398 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1400 * elmo-multi.el (elmo-message-flags): Ditto.
1402 * elmo-filter.el (elmo-message-flags): Ditto.
1404 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1405 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1406 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1408 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1410 * elmo-split.el (elmo-split-rule): Update comment.
1411 (elmo-split-address-equal): Allow 2nd argument to be a list.
1412 (elmo-split-address-match): Ditto.
1413 (elmo-split-equal): Ditto.
1414 (elmo-split-match): Ditto.
1416 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1418 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1419 (elmo-folder-append-msgdb): Don't treat `read'.
1420 (elmo-message-flags): Don't return `read'.
1422 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1423 (elmo-folder-unset-read-delayed): Ditto.
1425 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1427 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1429 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1432 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1434 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1437 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1439 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1441 (elmo-msgdb-save): Bind inhibit-quit.
1442 (modb-standard-message-entity): Ditto.
1444 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1446 * elmo-database.el: No need to require elmo-msgdb.
1448 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1450 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1451 instead of `elmo-list-subdirectories'.
1453 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1455 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1457 (elmo-folder-exists-p): "[" is empty.
1458 (elmo-folder-list-subfolders): Define.
1459 (elmo-folder-have-subfolder-p): Ditto.
1461 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1463 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1465 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1467 * elmo-filter.el (elmo-folder-local-p): Define.
1469 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1471 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1472 when entity is garbaged.
1473 (modb-standard-save-entity-1): Don't modify the original entity.
1475 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1477 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1479 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1481 * elmo.el (elmo-strict-folder-diff): Use
1482 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1484 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1486 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1487 (elmo-msgdb-message-number): Ditto.
1488 (elmo-msgdb-message-field): Ditto.
1490 * modb-standard.el (modb-standard-economize-entity-size): New user
1492 (modb-standard-loaded-message-id): New inline function.
1493 (modb-standard-load-entity): Use it.
1494 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1495 throw message-id string away.
1496 (elmo-msgdb-flag-available-p): Define.
1497 (elmo-msgdb-message-number): Ditto.
1498 (elmo-msgdb-message-field): Ditto.
1500 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1501 (suppoted -> supported).
1502 (modb-legacy-supported-flag-p): Ditto.
1503 (elmo-msgdb-set-flag): Ditto.
1504 (elmo-msgdb-unset-flag): Ditto.
1505 (elmo-msgdb-flag-available-p): Define.
1507 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1508 is `t', treat it as legacy entity.
1510 * elmo.el (elmo-message-flag-available-p): New generic function.
1511 (elmo-message-number): Ditto.
1512 (elmo-message-field): Use `elmo-msgdb-message-field'.
1514 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1516 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1517 (elmo-message-number): Ditto.
1519 * elmo-multi.el (elmo-message-number): Define.
1520 (elmo-message-flag-available-p): Ditto.
1522 * elmo-filter.el (elmo-message-flag-available-p): Define.
1523 (elmo-message-number): Ditto.
1525 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1526 (elmo-folder-initialize): Load `max-number'.
1527 (elmo-folder-commit): Save it.
1528 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1529 (elmo-global-flag-set-internal): Set up max-number slot.
1531 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1533 * elmo-version.el (elmo-version): Up to 2.11.31.
1535 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1537 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1538 unibyte string of the current buffer for the argument of `md5'
1539 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1541 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1543 * modb-legacy.el (modb-legacy-flag-list): New constant.
1544 (modb-legacy-suppoted-flag-p): New internal function.
1545 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1546 (elmo-msgdb-unset-flag): Ditto.
1548 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1550 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1552 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1555 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1557 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1558 (follow the API change).
1560 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1562 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1564 * modb-standard.el (modb-standard-digest-flags): Abolish.
1565 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1567 * elmo-vars.el (elmo-digest-flags): New variable.
1568 (elmo-preserved-flags): Moved from elmo-flag.el.
1570 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1571 (elmo-imap4-flag-to-imap-criteria): Ditto.
1572 (elmo-imap4-folder-list-flagged): Use it.
1574 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1576 * elmo.el (elmo-folder-count-flags): Changed return value.
1578 * elmo-flag.el (elmo-preserved-flags): New variable.
1579 (elmo-get-global-flags): Use it.
1581 * modb-standard.el (modb-standard-digest-flags): New variable.
1582 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1583 Changed behavior of `any'.
1585 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1586 which are defined the Internet draft
1587 (draft-melnikov-imap-keywords-03.txt).
1588 (elmo-imap4-flags-to-imap): New function.
1589 (elmo-folder-append-buffer): Use it.
1591 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1594 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1595 avoid the bug of Emacs 21.3.
1597 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1599 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1600 function find-coding-system does not exist.
1602 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1604 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1607 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1609 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1612 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1614 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1615 (elmo-network-close-session): Follow the changes in
1616 `elmo-pop3-read-response'.
1617 (elmo-pop3-auth-user): Ditto.
1618 (elmo-pop3-auth-apop): Ditto.
1619 (elmo-network-initialize-session): Ditto.
1620 (elmo-network-authenticate-session): Ditto.
1621 (elmo-network-setup-session): Ditto.
1622 (elmo-folder-status): Ditto.
1623 (elmo-message-fetch-plugged): Ditto.
1624 (elmo-pop3-delete-msg): Ditto.
1626 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1628 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1631 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1633 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1635 (elmo-bind-directory): Ditto.
1637 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1639 * elmo.el (elmo-folder-append-messages): Note on return value.
1640 * elmo-archive.el (elmo-folder-append-messages): Don't return
1641 message numbers which could not be appended.
1643 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1645 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1647 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1649 * elmo-version.el (elmo-version): Up to 2.11.30.
1651 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1653 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1656 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1658 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1659 (elmo-multi-split-numbers): Add elmo-folder object into each
1660 element of return value at first.
1661 (elmo-folder-delete-messages): Follow the above change.
1662 (elmo-folder-detach-messages): Ditto.
1664 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1665 number which is synchronized in target folder.
1667 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1669 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1670 Change default value to symbol `all'.
1671 (elmo-map-message-fetch): Change condition to update overview
1674 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1676 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1677 behavior to update overview.
1678 (elmo-shimbun-update-overview-folder-list): Note it.
1680 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1682 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1685 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1687 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1688 buffer-disable-undo, it is unnecessary.
1689 (elmo-spam-register-good-messages): Ditto.
1691 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1694 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1696 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1698 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1699 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1700 elmo-set-buffer-multibyte.
1701 (elmo-object-load): Ditto.
1702 (elmo-save-buffer): Ditto.
1703 (elmo-delete-char): Ditto.
1704 (elmo-file-field-primitive-condition-match): Ditto.
1705 (elmo-mime-string): Ditto.
1707 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1708 (elmo-archive-field-condition-match): Ditto.
1710 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1712 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1714 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1715 (elmo-nntp-msgdb-create-message): Ditto.
1717 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1719 * elmo.el (elmo-message-match-condition): Ditto.
1720 (elmo-message-match-condition): Ditto.
1722 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1725 * elmo-version.el (elmo-version): Up to 2.11.29.
1727 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1728 (elsp-header): New backend.
1730 * elmo-util.el (elmo-decoded-field-body): New function.
1732 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1734 * elmo-version.el (elmo-version): Up to 2.11.28.
1736 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1738 * elmo-filter.el: Rewrite.
1740 * elmo-version.el (elmo-version): Up to 2.11.27.
1742 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1744 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1745 msgdb path for the localdir folder with absolute path.
1747 * utf7.el: Synch up with latest gnus/utf7.el;
1748 Modified for latest Emacs.
1750 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1752 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1753 shimbun backend couldn't open.
1755 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1757 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1758 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1759 when a destination folder is a filter folder.
1761 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1763 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1764 (elmo-generic-folder-append-messages): Call elmo-message-flags
1765 with argument `msgid'.
1767 * elmo-split.el (elmo-split-subr): Ditto.
1769 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1771 * elmo-multi.el (elmo-message-flags): Ditto.
1773 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1775 * elmo.el (elmo-folder): Add new slot `flag-table'.
1776 (elmo-folder-flag-table): New API.
1777 (elmo-folder-close-flag-table): Ditto.
1778 (elmo-folder-preserve-flags): New function.
1779 (elmo-generic-folder-append-messages): Use
1780 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1781 Flag of a non-registered message, it sets to nil.
1782 Does not set flag to flag-table.
1784 * elmo-maildir.el (elmo-folder-append-buffer): Use
1785 `elmo-folder-preserve-flags'.
1786 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1787 `elmo-folder-close-flag-table'.
1789 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1790 (elmo-archive-folder-append-buffer): Use
1791 `elmo-folder-preserve-flags'.
1793 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1795 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1797 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1798 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1799 `elmo-folder-close-flag-table'.
1801 * elmo-version.el (elmo-version): Up to 2.11.26.
1803 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1805 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1807 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1808 md5's 4th and 5th argument (non-existent in flim one).
1810 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1812 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1813 message, It sets to nil.
1815 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1817 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1820 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1822 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1824 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1826 * elmo-util.el (elmo-uniq-sorted-list): New function.
1827 (elmo-make-number-list): Ditto.
1828 (elmo-number-set-to-number-list): Use elmo-make-number-list
1829 and don't use nreverse.
1831 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * elmo-version.el (elmo-version): Up to 2.11.25.
1835 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1837 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1838 field not exists in message, Use md5 message digest of header.
1840 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1842 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1843 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1844 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1845 * elmo-split.el (elmo-split-subr): Check return value of
1846 elmo-folder-append-buffer.
1848 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1849 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1851 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1854 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1856 * elmo-split.el (elmo-split-subr): Append message with flag.
1858 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1859 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1860 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1862 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1864 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1865 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1866 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1868 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1870 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1871 with a function call of `process-buffer'. All callers are updated.
1872 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1873 Remove redundant `set-buffer' in a while loop.
1875 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1877 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1880 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1882 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1883 elsp-spamfilter-register-buffer-internal with current buffer.
1884 (elmo-spam-register-spam-buffer): Ditto.
1885 (elmo-spam-register-good-buffer): Ditto.
1887 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1889 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1890 if it is not contained in the response(A workaround for courier-imap).
1892 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1894 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1897 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1899 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1902 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1904 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1907 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1909 (elmo-msgdb-message-match-condition): Follow the change above.
1911 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1913 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1916 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1918 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1920 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1922 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1924 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1926 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1929 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1931 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1933 (elmo-file-command-argument): Undo last change for cygwin.
1934 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1936 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1938 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1940 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1941 value returned from elmo-file-find is nil.
1943 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1945 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1948 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1949 instead of insert-file-contents-as-binary.
1950 (elmo-message-set-field): New generic function.
1952 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1953 behavior change on `split-string'.
1955 * elmo-file.el (elmo-file-find): New function.
1956 (elmo-file-command): New user option.
1957 (elmo-file-command-argument): Ditto.
1958 (elmo-file-fetch-max-size): Ditto.
1959 (elmo-file-detect-format): New function.
1960 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1961 Use elmo-file-detect-format.
1962 (elmo-map-folder-list-message-locations): Don't treat directories.
1964 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1966 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1967 (elmo-passwd-alist-clear): Shred password before clear.
1968 (elmo-remove-passwd): Remove all mached pair.
1970 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1972 * elmo.el (elmo-folder-synchronize): Fix description of the return
1975 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1977 * elmo.el (elmo-message-fetch-bodystructure): New method.
1978 (elmo-message-fetch-bodystructure): Define default.
1980 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1981 elmo-message-fetch-bodystructure.
1982 (elmo-message-fetch-bodystructure): Define.
1984 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1986 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1988 * elmo-filter.el (elmo-message-folder): Define.
1990 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1992 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1993 elmo-delete-cr-buffer.
1995 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1997 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1999 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2001 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2002 type seems to be a text.
2004 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2006 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2007 (elmo-spam-register-good-buffer): Ditto.
2008 (elmo-spam-spamassassin-register-messages): Ditto.
2010 * elmo-util.el (elmo-string-member-ignore-case): Define with
2013 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2015 * elmo.el (elmo-folder-type): Undo last change.
2017 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2019 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2022 * elmo-file.el: New file.
2024 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2026 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2028 (elmo-spam-spamassassin-register-messages): New inline function.
2029 (elmo-spam-register-spam-messages): Define.
2030 (elmo-spam-register-good-messages): Ditto.
2032 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2035 * elmo.el (toplevel): Added autoload setting for
2036 `elmo-get-global-flags'.
2037 (elmo-message-has-global-flag-p): New function.
2038 (elmo-message-set-global-flags): Ditto.
2039 (elmo-folder-type): Improvement for name: format.
2041 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2042 availability of keyword flags.
2043 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2044 (elmo-folder-list-flagged-plugged): Renamed from
2045 elmo-folder-list-flagged-unplugged.
2046 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2047 accept any flag as keyword flag.
2048 (elmo-folder-set-flag-plugged): Accept keyword flags.
2049 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2051 * elmo-flag.el (elmo-get-global-flags): New function.
2053 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2056 * elmo-version.el (elmo-version): Up to 2.11.24.
2058 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2060 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2061 elmo-multiple-field-body instead of std11-field-body to check all
2064 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2066 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2069 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2071 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2072 unintern is unbound.
2074 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2076 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2077 Protect from infinite loop.
2079 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2081 * elsp-bogofilter.el
2082 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2083 (elmo-spam-bogofilter-register-messages): New internal function.
2084 (elmo-spam-register-spam-messages): Define.
2085 (elmo-spam-register-good-messages): Ditto.
2087 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2089 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2090 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2091 (elmo-spam-bogofilter-call): Fixed the last change.
2092 (elmo-spam-bogofilter-arguments): Ditto.
2094 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2095 Follow the options change of latest bogofilter.
2097 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2098 (elmo-spam-bogofilter-good-switch): Ditto.
2099 (elmo-spam-bogofilter-arguments-alist): New user option.
2100 (elmo-spam-bogofilter-debug): Ditto.
2101 (elmo-spam-bogofilter-call): Renamed from
2102 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2103 is non-nil, insert output in buffer for debug.
2104 (elmo-spam-bogofilter-arguments): New macro.
2105 (elmo-spam-buffer-spam-p): Use it.
2106 (elsp-bogofilter-register-buffer): Ditto.
2108 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2110 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2113 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2115 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2117 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2118 (elmo-spam-bsfilter-program): Set default value as full path for
2120 (elmo-spam-bsfilter-debug): New user option.
2121 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2122 non-nil, insert output in buffer for debug. Fix treating of
2125 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2127 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2128 `elmo-maildir-flag-specs' element instead of one.
2129 (elmo-map-folder-unset-flag): Ditto.
2130 (Reported by Ken Makimura <macky@astem.or.jp>)
2132 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2133 (elmo-folder-unset-flag-plugged): Ditto.
2135 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2137 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2138 to `reads' slot only if `in-msgdb' is nil.
2140 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2142 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2143 and complement argument list.
2145 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2147 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2148 instead of elmo-folder-list-flagged.
2150 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2152 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2154 * elsp-bsfilter.el: New file.
2156 * elmo-pipe.el (elmo-folder-list-unreads,
2157 elmo-folder-list-answereds,
2158 elmo-folder-list-importants,
2159 elmo-folder-flag-as-important,
2160 elmo-folder-unflag-important,
2161 elmo-folder-flag-as-read,
2162 elmo-folder-unflag-read,
2163 elmo-folder-flag-as-answered,
2164 elmo-folder-unflag-answered): Remove.
2165 (elmo-folder-set-flag): Define.
2166 (elmo-folder-unset-flag): Ditto.
2168 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2169 (elmo-folder-set-flag): Define.
2170 (elmo-folder-unset-flag): Ditto.
2171 (elmo-folder-list-unreads): Remove.
2172 (elmo-folder-list-flagged): Define.
2174 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2175 (elmo-folder-list-unreads,
2176 elmo-folder-list-importants,
2177 elmo-folder-list-answereds,
2178 elmo-folder-list-unreads-plugged,
2179 elmo-folder-list-importants-plugged,
2180 elmo-folder-list-answereds-plugged): Remove.
2181 (elmo-folder-list-flagged-plugged): New method.
2182 (elmo-folder-unflag-important,
2183 elmo-folder-flag-as-important,
2184 elmo-folder-unflag-read,
2185 elmo-folder-flag-as-read,
2186 elmo-folder-unflag-answered,
2187 elmo-folder-flag-as-answered,
2188 elmo-folder-flag-as-read-unplugged,
2189 elmo-folder-unflag-read-unplugged,
2190 elmo-folder-flag-as-important-unplugged,
2191 elmo-folder-unflag-important-unplugged,
2192 elmo-folder-flag-as-answered-unplugged,
2193 elmo-folder-unflag-answered-unplugged): Remove.
2194 (elmo-folder-set-flag): Define.
2195 (elmo-folder-unset-flag): Ditto.
2196 (elmo-folder-set-flag-unplugged): Ditto.
2197 (elmo-folder-unset-flag-unplugged): Ditto.
2199 * elmo-multi.el (elmo-folder-list-unreads,
2200 elmo-folder-list-answereds,
2201 elmo-folder-list-importants,
2202 elmo-folder-flag-as-important,
2203 elmo-folder-unflag-important,
2204 elmo-folder-flag-as-read,
2205 elmo-folder-unflag-read,
2206 elmo-folder-flag-as-answered,
2207 elmo-folder-unflag-answered): Remove.
2208 (elmo-folder-set-flag): Define.
2209 (elmo-folder-unset-flag): Ditto.
2211 * elmo-map.el (elmo-map-folder-unflag-important,
2212 elmo-map-folder-flag-as-important,
2213 elmo-map-folder-unflag-read,
2214 elmo-map-folder-flag-as-read,
2215 elmo-map-folder-unflag-answered,
2216 elmo-map-folder-flag-as-answered): Remove.
2217 (elmo-map-folder-set-flag): New method.
2218 (elmo-map-folder-unset-flag): Ditto.
2219 (elmo-map-folder-list-unreads,
2220 elmo-map-folder-list-importants,
2221 elmo-map-folder-list-answereds): Remove.
2222 (elmo-folder-list-flagged-internal): Define.
2223 (elmo-map-folder-list-flagged): New method.
2225 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2226 (elmo-map-folder-list-unreads,
2227 elmo-map-folder-list-importants,
2228 elmo-map-folder-list-flagged): Remove.
2229 (elmo-map-folder-list-flagged): Define.
2230 (elmo-map-folder-flag-as-important,
2231 elmo-map-folder-unflag-important,
2232 elmo-map-folder-flag-as-read,
2233 elmo-map-folder-unflag-read,
2234 elmo-map-folder-flag-as-answered,
2235 elmo-map-folder-unflag-answered): Remove.
2236 (elmo-maildir-set-mark-messages): New internal function.
2237 (elmo-map-folder-set-flag): Define.
2238 (elmo-map-folder-unset-flag): Ditto.
2240 * elmo.el (toplevel): Added autoload setting for
2241 `elmo-folder-list-global-flag-messages'.
2242 (elmo-folder-list-unreads,
2243 elmo-folder-list-importants,
2244 elmo-folder-list-answereds): Remove.
2245 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2246 Return a list whitch merged with messages have global flag.
2247 (elmo-folder-list-flagged-internal): New method.
2248 (elmo-folder-unflag-important,
2249 elmo-folder-flag-as-important,
2250 elmo-folder-unflag-read,
2251 elmo-folder-flag-as-read,
2252 elmo-folder-unflag-answered,
2253 elmo-folder-flag-as-answered): Remove.
2254 (elmo-folder-set-flag): New method.
2255 (elmo-folder-unset-flag): Ditto.
2256 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2257 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2259 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2260 (elmo-folder-list-unreads-plugged,
2261 elmo-folder-list-importants-plugged,
2262 elmo-folder-list-answereds-plugged,
2263 elmo-folder-list-flagged-unplugged,
2264 elmo-folder-unflag-important-plugged,
2265 elmo-folder-flag-as-important-plugged,
2266 elmo-folder-unflag-read-plugged,
2267 elmo-folder-flag-as-read-plugged,
2268 elmo-folder-unflag-answered-plugged,
2269 elmo-folder-flag-as-answered-plugged): Remove.
2270 (elmo-folder-set-flag-plugged,
2271 elmo-folder-unset-flag-plugged): Define.
2273 * elmo-flag.el (elmo-folder-initialize): Register to
2274 `elmo-global-flag-list' if flag is not global.
2275 (elmo-folder-append-messages): Set flag to source messages.
2277 * elmo-filter.el (elmo-filter-folder-list-unreads,
2278 elmo-folder-list-unreads,
2279 elmo-filter-folder-list-importants,
2280 elmo-folder-list-importants,
2281 elmo-folder-flag-as-read,
2282 elmo-folder-unflag-read,
2283 elmo-folder-flag-as-important,
2284 elmo-folder-unflag-important,
2285 elmo-folder-flag-as-answered,
2286 elmo-folder-unflag-answered): Remove.
2287 (elmo-folder-set-flag): Define.
2288 (elmo-folder-unset-flag): Ditto.
2290 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2291 elmo-folder-unflag-read-dop,
2292 elmo-folder-flag-as-important-dop,
2293 elmo-folder-unflag-important-dop,
2294 elmo-folder-flag-as-answered-dop,
2295 elmo-folder-unflag-answered-dop): Remove.
2296 (elmo-folder-set-flag-dop,
2297 elmo-folder-unset-flag-dop,
2298 elmo-folder-set-important-delayed,
2299 elmo-folder-unset-important-delayed,
2300 elmo-folder-set-read-delayed,
2301 elmo-folder-unset-read-delayed,
2302 elmo-folder-set-answered-delayed,
2303 elmo-folder-unset-answered-delayed): New function.
2304 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2305 (elmo-dop-queue-method-name-alist): Ditto.
2307 * elmo-version.el (elmo-version): Up to 2.11.23.
2309 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2311 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2313 * elsp-sa.el: New file.
2315 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2317 * modb-standard.el (modb-standard-message-entity): New function.
2318 (elmo-msgdb-message-entity): Use it.
2320 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2322 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2323 behavior when one-level is nil.
2325 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2327 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2329 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2331 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2333 (elmo-generic-folder-diff): Ditto.
2335 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2336 (elmo-folder-update-number): Ditto.
2338 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2339 (elmo-folder-next-message-number-dop): Ditto.
2341 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2343 * elmo-filter.el (elmo-folder-msgdb-create): Use
2344 `elmo-message-entity' and `elmo-message-flags' instead of
2345 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2347 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2349 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2352 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2354 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2356 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2358 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2360 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2362 * elmo-version.el (elmo-version): Up to 2.11.22.
2364 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2366 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2368 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2370 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2371 if the message dose not exist.
2373 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2375 * elmo-version.el (elmo-version): Up to 2.11.21.
2377 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2379 * modb-standard.el (toplevel): Don't require mime.
2381 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2383 * elsp-bogofilter.el (toplevel): Don't require path-util.
2384 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2385 (elmo-spam-bogofilter-header): Abolish.
2386 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2387 (elmo-spam-bogofilter-args): New user option.
2388 (elsp-bogofilter-call-bogofilter): New internal function.
2389 (elmo-spam-buffer-spam-p): Use it.
2390 (elsp-bogofilter-register-buffer): Renamed from
2391 `elmo-spam-bogofilter-register-buffer';
2392 Use `elsp-bogofilter-call-bogofilter'.
2393 (elmo-spam-register-spam-buffer): Follow the change above.
2394 (elmo-spam-register-good-buffer): Ditto.
2396 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2398 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2399 message-id is nil do nothing.
2401 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2403 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2405 (elmo-imap4-session): Removed use-flag slot.
2406 (elmo-imap4-session-select-mailbox): Undo last change.
2407 (elmo-folder-use-flag-p): Use
2408 elmo-imap4-disuse-server-flag-mailbox-regexp.
2410 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2412 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2413 (elmo-imap4-session-select-mailbox): Set it up.
2414 (elmo-folder-use-flag-p): Return value of use-flag slot.
2416 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2418 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2420 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2422 * modb-entity.el (elmo-message-entity-handler): Likewise.
2424 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2426 * elmo.el (toplevel): Remove setting of autoloding for
2427 elmo-global-flag-initialize.
2428 (elmo-init): Don't call elmo-global-flag-initialize.
2429 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2431 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2432 (elmo-global-mark-migrate): Don't call it.
2433 (elmo-global-mark-upgrade): Ditto.
2435 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2437 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2438 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2440 * elmo-vars.el (elmo-init-hook): New user option.
2442 * elmo.el (elmo-init): Run the elmo-init-hook.
2444 * elmo-flag.el (elmo-global-mark-migrate): New function.
2446 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2448 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2449 Undo last change (move to elmo-msgdb-unset-flag).
2450 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2453 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2455 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2457 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2458 (elmo-msgdb-unset-flag): Ditto.
2460 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2462 * elmo-split.el (elmo-split): Return split message count.
2464 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2466 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2469 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2471 * elmo.el (elmo-folder-unflag-important): Call
2472 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2475 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2477 (elmo-global-flag-detach): Delete the message from flag folder, if
2478 `delete-if-none' is a symbol `always'.
2480 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2482 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2483 `elmo-spam-spamfilter-decode-buffer'.
2484 (elsp-spamfilter-register-buffer-internal): New internal function.
2485 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2486 (elmo-spam-register-spam-buffer): Ditto.
2487 (elmo-spam-register-good-buffer): Ditto.
2489 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2491 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2492 (elmo-spam-register-spam-buffer): Follow the API change.
2493 (elmo-spam-register-good-buffer): Ditto.
2495 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2496 (elmo-split-spam-p): Added argument plist; Call
2497 `elmo-spam-buffer-spam-p' with new argument register.
2499 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2501 (elmo-spam-message-spam-p): Ditto.
2502 (elmo-spam-register-spam-buffer): Added optional argument
2504 (elmo-spam-register-good-buffer): Ditto.
2505 (elmo-spam-register-spam-messages): Ditto.
2506 (elmo-spam-register-good-messages): Ditto.
2508 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2510 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2511 register into good corpus.
2512 (elmo-spam-register-good-buffer): Fixed to register into bad
2515 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2517 * elmo-version.el (elmo-version): Up to 2.11.20.
2519 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2522 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2523 flag without depending on \Recent flag.
2525 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2527 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2528 (elmo-spam-modified-p): Defined.
2529 (elmo-spam-save-status): Set `modified' slot to nil.
2530 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2531 (elmo-spam-register-good-buffer): Ditto.
2533 * elmo-spam.el (elmo-spam-modified-p): New API.
2535 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2537 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2538 duplicate definition.
2540 * elmo-util.el (elmo-unfold-field-body): New function.
2541 (elmo-msgdb-get-message-id-from-buffer): Use it.
2543 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2544 Fixed the last change; Use elmo-unfold-field-body.
2546 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2548 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2551 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2553 * elmo-spam.el (elmo-spam-save-status): New API.
2555 * elsp-spamfilter.el: New file.
2557 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2559 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2561 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2563 * elmo-split.el (elmo-split-spam-p): New function.
2565 * elmo-spam.el: New file.
2567 * elsp-bogofilter.el: Ditto.
2569 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2571 * elmo.el (elmo-folder-next-message-number): New API.
2572 (elmo-folder-next-message-number): Define.
2573 (elmo-message-field): Don't check folder length.
2575 * elmo-net.el (elmo-folder-next-message-number): Define.
2576 (elmo-folder-next-message-number-unplugged): Define.
2578 * elmo-map.el (elmo-folder-next-message-number): Define.
2579 (elmo-folder-delete-messages): Clear hash value.
2581 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2583 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2584 (elmo-folder-delete-messages-dop-delayed): Always return t.
2586 * elmo-version.el (elmo-version): Up to 2.11.19.
2588 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2590 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2593 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2594 identical cons cell into the mark-alist and the hash table.
2596 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2598 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2599 elmo-folder-list-messages with argument `visible-only' as t.
2601 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2602 (elmo-folder-msgdb-create): Check the target folder.
2604 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2606 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2607 `permanentflag' instead of `flags'.
2608 (elmo-folder-open): Ditto.
2609 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2610 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2611 (elmo-folder-use-flag-p): Always return t.
2612 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2613 `permanentflags' does not exist.
2614 (elmo-folder-open): Ditto.
2616 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2618 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2620 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2622 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2623 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2625 (elmo-folder-open): Ditto.
2626 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2627 slot of the session includes the flag.
2628 (elmo-imap4-session-flag-available-p): New function.
2629 (elmo-imap4-folder-list-flagged): Ditto.
2630 (elmo-folder-list-unreads-plugged): Use it.
2631 (elmo-folder-list-importants-plugged): Ditto.
2632 (elmo-folder-list-answereds-plugged): Ditto.
2633 (elmo-imap4-search-internal-primitive): Ditto.
2634 (elmo-imap4-folder-list-any-plugged,
2635 elmo-imap4-folder-list-digest-plugged): Abolish.
2637 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2640 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2642 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2644 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2646 * elmo-util.el (elmo-get-hash-val): Simplify.
2647 (elmo-set-hash-val): Rewrite.
2649 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2651 * elmo.el (elmo-folder-list-messages): Append killed messages into
2652 result if `visible-only' is nil and `in-msgdb' is non-nil.
2654 * elmo-util.el (elmo-uniq-list): Added optional argument
2657 * modb.el (elmo-msgdb-flag-count): New API.
2659 * modb-standard.el (modb-standard): Added slot flag-count.
2660 (modb-standard-countup-flags): New function.
2661 (modb-standard-load-flag): Call it.
2662 (elmo-msgdb-append): Ditto.
2663 (elmo-msgdb-clear): Clear slot flag-count.
2664 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2665 (elmo-msgdb-unset-flag): Treat `all' flag and call
2666 modb-standard-countup-flags.
2667 (elmo-msgdb-flag-count): Define.
2668 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2669 (elmo-msgdb-delete-messages): Ditto.
2671 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2672 (elmo-msgdb-flag-count): Define.
2674 * elmo.el (elmo-folder-list-messages): Undo last change.
2675 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2676 (elmo-folder-kill-messages): Unset all flags to numbers.
2678 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2679 elmo-folder-kill-messages.
2681 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2682 (elmo-nntp-folder-delete-messages): Abolish.
2684 * elmo-version.el (elmo-version): Up to 2.11.18.
2686 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2688 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2689 (elmo-folder-kill-messages-range): New function.
2690 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2691 instead of elmo-folder-kill-messages-before.
2693 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2695 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2696 elmo-imap4-current-msgdb to decide entity handler.
2698 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2700 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2702 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2704 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2705 (elmo-msgdb-overview-entity-set-number,
2706 elmo-msgdb-overview-entity-get-references,
2707 elmo-msgdb-overview-entity-set-references,
2708 elmo-msgdb-overview-entity-get-from-no-decode,
2709 elmo-msgdb-overview-entity-get-from,
2710 elmo-msgdb-overview-entity-set-from,
2711 elmo-msgdb-overview-entity-get-subject,
2712 elmo-msgdb-overview-entity-get-subject-no-decode,
2713 elmo-msgdb-overview-entity-set-subject,
2714 elmo-msgdb-overview-entity-get-date,
2715 elmo-msgdb-overview-entity-set-date,
2716 elmo-msgdb-overview-entity-get-to,
2717 elmo-msgdb-overview-entity-get-cc,
2718 elmo-msgdb-overview-entity-get-size,
2719 elmo-msgdb-overview-entity-set-size,
2720 elmo-msgdb-overview-entity-get-extra,
2721 elmo-msgdb-overview-entity-set-extra,
2722 elmo-msgdb-overview-entity-get-extra-field,
2723 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2724 (elmo-msgdb-make-index): Use
2725 `elmo-msgdb-overview-entity-get-number-internal'.
2726 (elmo-msgdb-clear-index): Ditto.
2727 (elmo-msgdb-append-entity): Ditto;
2728 Use `elmo-msgdb-overview-entity-get-id-internal'.
2730 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2731 elmo-msgdb-overview-entity-set-number,
2732 elmo-msgdb-overview-entity-get-references,
2733 elmo-msgdb-overview-entity-set-references,
2734 elmo-msgdb-overview-entity-get-from-no-decode,
2735 elmo-msgdb-overview-entity-get-from,
2736 elmo-msgdb-overview-entity-set-from,
2737 elmo-msgdb-overview-entity-get-subject,
2738 elmo-msgdb-overview-entity-get-subject-no-decode,
2739 elmo-msgdb-overview-entity-set-subject,
2740 elmo-msgdb-overview-entity-get-date,
2741 elmo-msgdb-overview-entity-set-date,
2742 elmo-msgdb-overview-entity-get-to,
2743 elmo-msgdb-overview-entity-get-cc,
2744 elmo-msgdb-overview-entity-get-size,
2745 elmo-msgdb-overview-entity-set-size,
2746 elmo-msgdb-overview-entity-get-extra,
2747 elmo-msgdb-overview-entity-set-extra,
2748 elmo-msgdb-overview-entity-get-extra-field,
2749 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2750 and rewrote for backward compatibility.
2752 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2754 * elmo.el (elmo-message-entity-number,
2755 elmo-message-entity-set-number,
2756 elmo-message-entity-field,
2757 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2759 * elmo-msgdb.el (elmo-message-entity-number,
2760 elmo-message-entity-set-number,
2761 elmo-message-entity-field,
2762 elmo-message-entity-set-field): Moved from elmo.el.
2764 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2766 * elmo.el (toplevel): Changed definition orders.
2768 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2770 * modb.el (elmo-msgdb-search): New API .
2771 (elmo-msgdb-match-condition): Ditto.
2773 * modb-standard.el (elmo-msgdb-search): Define.
2775 * modb-legacy.el (elmo-msgdb-search): Ditto.
2777 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2778 from elmo-msgdb-match-condition-internal.
2780 * elmo.el (elmo-folder-search-fast): Abolish.
2781 (elmo-folder-search): Use elmo-msgdb-search and
2782 elmo-with-progress-display.
2784 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2787 * elmo.el (elmo-folder): Remove slot message-modified and
2789 (elmo-folder-set-message-modified): Abolish.
2790 (elmo-generic-folder-commit): Follow the change above.
2791 (elmo-folder-synchronize): Ditto.
2793 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2795 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2797 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2799 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2801 * modb-standard.el (modb-standard-make-message-entity,
2802 elmo-msgdb-make-message-entity,
2803 elmo-msgdb-create-message-entity-from-buffer,
2804 elmo-msgdb-message-entity-number,
2805 elmo-msgdb-message-entity-set-number,
2806 elmo-msgdb-message-entity-field,
2807 elmo-msgdb-message-entity-set-field,
2808 elmo-msgdb-copy-message-entity,
2809 elmo-msgdb-match-condition-internal): Remove.
2811 * modb-entity.el: New file (again).
2813 * modb.el (toplevel): Require modb-entity.
2814 (elmo-msgdb-message-entity-handler): New method.
2816 * modb-standard.el (modb-standard-entity-id): Use
2817 elmo-message-entity-handler.
2818 (modb-standard-load-entity): Ditto.
2819 (elmo-msgdb-append-entity): Ditto.
2820 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2822 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2823 elmo-msgdb-decoded-cache-hashtb,
2824 (modb-legacy-make-message-entity,
2825 elmo-msgdb-make-message-entity,
2826 elmo-msgdb-create-message-entity-from-buffer,
2827 elmo-msgdb-message-entity-number,
2828 elmo-msgdb-message-entity-set-number,
2829 elmo-msgdb-message-entity-field,
2830 elmo-msgdb-message-entity-set-field,
2831 elmo-msgdb-copy-message-entity,
2832 elmo-msgdb-match-condition-internal,
2833 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2835 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2836 (elmo-message-entity-set-number): Ditto.
2837 (elmo-message-entity-field): Ditto.
2838 (elmo-message-entity-set-field): Ditto.
2840 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2842 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2844 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2846 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2847 (elmo-nntp-msgdb-create-message): Ditto.
2849 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2850 (elmo-folder-msgdb-create): Add unread flag.
2852 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2854 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2856 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2858 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2860 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2861 elmo-msgdb-messge-entity-handler.
2862 * elmo-version.el (elmo-version): Up to 2.11.17.
2864 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2866 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2869 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2871 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2873 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2874 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2875 (elmo-msgdb-flag-table): Ditto.
2876 (elmo-msgdb-sort-by-date): Ditto.
2878 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2880 * modb-standard.el (toplevel): Require mime.
2881 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2882 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2883 elmo-msgdb-message-entity-number.
2884 (elmo-msgdb-append-entity): Ditto.
2885 (elmo-msgdb-create-message-entity-from-file): Remove.
2886 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2887 corresponds to the entity.
2888 (elmo-msgdb-message-entity-number): Do nothing currently.
2889 (elmo-msgdb-message-entity-field): Ditto.
2890 (elmo-msgdb-message-entity-set-field): Ditto.
2891 (elmo-msgdb-copy-message-entity): Ditto.
2892 (elmo-msgdb-match-condition-internal): Ditto.
2894 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2896 (elmo-msgdb-create-message-entity-from-file): Remove.
2898 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2900 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2902 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2904 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2906 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2907 (elmo-msgdb-message-entity-field): Ditto.
2908 (elmo-msgdb-message-entity-number): Ditto.
2910 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2912 * modb-standard.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 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2918 Fixed how to set extra field into entity.
2919 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2922 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2924 * modb.el (elmo-message-entity-db): New function.
2925 (elmo-msgdb-make-message-entity): New API.
2926 (elmo-msgdb-message-entity-number): Ditto.
2927 (elmo-msgdb-message-entity-set-number): Ditto.
2928 (elmo-msgdb-message-entity-field): Ditto.
2929 (elmo-msgdb-message-entity-set-field): Ditto.
2930 (elmo-msgdb-copy-message-entity): Ditto.
2931 (elmo-msgdb-create-message-entity-from-file): Ditto.
2932 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2933 (elmo-msgdb-match-condition-internal): Ditto.
2935 * modb-standard.el (modb-legacy): Require modb-legacy.
2936 (modb-standard-make-message-entity): New inline function.
2937 (elmo-msgdb-make-message-entity): Define.
2938 (elmo-msgdb-create-message-entity-from-file): Ditto.
2939 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2940 (elmo-msgdb-message-entity-field): Ditto.
2941 (elmo-msgdb-message-entity-set-field): Ditto.
2942 (elmo-msgdb-copy-message-entity): Ditto.
2943 (elmo-msgdb-match-condition-internal): Ditto.
2945 * modb-legacy.el: Don't require modb-entity.
2946 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2947 (elmo-msgdb-match-condition-primitive): Ditto.
2948 (elmo-msgdb-get-decoded-cache): Ditto.
2949 (elmo-msgdb-overview-entity-get-id): Ditto.
2950 (elmo-msgdb-overview-entity-get-number): Ditto.
2951 (elmo-msgdb-overview-entity-set-number): Ditto.
2952 (elmo-msgdb-overview-entity-get-references): Ditto.
2953 (elmo-msgdb-overview-entity-set-references): Ditto.
2954 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2955 (elmo-msgdb-overview-entity-get-from): Ditto.
2956 (elmo-msgdb-overview-entity-set-from): Ditto.
2957 (elmo-msgdb-overview-entity-get-subject): Ditto.
2958 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2959 (elmo-msgdb-overview-entity-set-subject): Ditto.
2960 (elmo-msgdb-overview-entity-get-date): Ditto.
2961 (elmo-msgdb-overview-entity-set-date): Ditto.
2962 (elmo-msgdb-overview-entity-get-to): Ditto.
2963 (elmo-msgdb-overview-entity-get-cc): Ditto.
2964 (elmo-msgdb-overview-entity-get-size): Ditto.
2965 (elmo-msgdb-overview-entity-set-size): Ditto.
2966 (elmo-msgdb-overview-entity-get-extra): Ditto.
2967 (elmo-msgdb-overview-entity-set-extra): Ditto.
2968 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2969 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2970 (elmo-msgdb-number-load): Ditto.
2971 (elmo-msgdb-overview-load): Ditto.
2972 (elmo-msgdb-mark-load): Ditto.
2973 (elmo-msgdb-number-save): Ditto.
2974 (elmo-msgdb-mark-save): Ditto.
2975 (elmo-msgdb-overview-save): Ditto.
2976 (modb-legacy-make-message-entity): New inline function.
2977 (elmo-msgdb-insert-file-header): Ditto.
2978 (elmo-msgdb-make-message-entity): Define.
2979 (elmo-msgdb-create-message-entity-from-file): Ditto.
2980 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2981 (elmo-msgdb-message-entity-number): Ditto.
2982 (elmo-msgdb-message-entity-set-number): Ditto.
2983 (elmo-msgdb-message-entity-field): Ditto.
2984 (elmo-msgdb-message-entity-set-field): Ditto.
2985 (elmo-msgdb-copy-message-entity): Ditto.
2986 (elmo-msgdb-match-condition-internal): Ditto.
2988 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2989 (elmo-message-copy-entity): Rewrite.
2990 (elmo-message-entity-number): Ditto.
2991 (elmo-message-entity-set-number): Ditto.
2992 (elmo-message-entity-field): Use elmo-message-entity-db.
2993 (elmo-message-entity-set-field): Ditto.
2994 (elmo-message-field): Rewrite.
2996 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2998 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3000 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3001 elmo-message-entity-field.
3002 (elmo-shimbun-folder-shimbun-header): Ditto.
3003 (elmo-shimbun-entity-to-header): Ditto.
3004 (elmo-folder-msgdb-create): Ditto.
3005 (elmo-shimbun-msgdb-create-entity): Ditto;
3006 Use elmo-msgdb-create-message-entity-from-buffer.
3007 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3008 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3010 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3011 elmo-msgdb-create-message-entity-from-file and
3012 elmo-message-entity-field.
3014 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3015 elmo-message-entity-number.
3016 (elmo-pop3-msgdb-create-message): Use
3017 elmo-msgdb-create-message-entity-from-buffer,
3018 elmo-message-entity-set-field, elmo-message-entity-number and
3019 elmo-message-entity-set-number.
3021 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3022 the API change in elmo-msgdb-make-message-entity.
3023 (elmo-nntp-msgdb-create-message): Use
3024 elmo-msgdb-create-message-entity-from-buffer.
3026 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3027 elmo-message-entity-field and
3028 elmo-msgdb-create-message-entity-from-file.
3030 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3031 (elmo-msgdb-get-field): Abolish.
3032 (elmo-msgdb-get-number): Rewrite.
3033 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3034 (elmo-msgdb-flag-table): Ditto.
3035 (elmo-msgdb-get-last-message-id,
3036 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3037 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3038 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3039 (elmo-msgdb-create-overview-from-buffer,
3040 elmo-msgdb-overview-get-parent-entity): Abolish.
3042 * elmo-mime.el (elmo-mime-display-as-is): Use
3043 elmo-message-entity-field.
3045 * elmo-map.el (elmo-folder-pack-numbers): Use
3046 elmo-message-entity-set-number.
3048 * elmo-maildir.el (elmo-folder-msgdb-create):
3049 elmo-msgdb-create-message-entity-from-file instead of
3050 elmo-msgdb-create-overview-entity-from-file.
3052 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3054 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3055 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3057 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3058 elmo-messge-entity-field and elmo-message-entity-number.
3059 (elmo-imap4-fetch-callback-1): Call
3060 elmo-msgdb-create-message-entity-from-buffer instead of
3061 elmo-msgdb-create-overview-from-buffer.
3062 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3063 (elmo-find-fetch-strategy): Likewise.
3065 * elmo-flag.el (elmo-folder-msgdb-create): Call
3066 elmo-localdir-msgdb-create-entity with argument msgdb.
3068 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3069 and elmo-message-entity-set-number.
3071 * elmo-cache.el (elmo-folder-msgdb-create): Use
3072 elmo-message-entity-field.
3073 (elmo-folder-msgdb-create): Call
3074 elmo-msgdb-create-message-entity-from-file instead of
3075 elmo-msgdb-create-overview-entity-from-file.
3077 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3078 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3079 instead of elmo-msgdb-create-overview-from-buffer.
3080 (elmo-archive-msgdb-create-entity): Ditto.
3081 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3082 elmo-message-entity-field.
3083 (elmo-archive-parse-mmdf): Ditto.
3085 * modb-entity.el: Removed.
3087 * elmo-version.el (elmo-version): Up to 2.11.16.
3089 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3091 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3093 (elmo-folder-flag-as-answered): Ditto.
3095 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3097 * modb-standard.el: New file.
3099 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3100 elmo-msgdb-convert-type is `sync'.
3102 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3103 (elmo-msgdb-convert-type): New user option.
3105 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3106 (elmo-load-msgdb): Auto detect saved type.
3108 * elmo-version.el (elmo-version): Up to 2.11.15.
3110 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3112 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3114 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3115 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3116 with argument `delete-if-none' when dst-folder is 'null.
3118 * elmo-flag.el (elmo-folder-append-messages): Defined.
3119 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3121 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3123 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3125 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3127 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3128 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3129 (elmo-folder-commit): Ditto.
3131 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3133 * elmo-flag.el: New file.
3135 * elmo-mark.el: Removed.
3137 * modb-legacy.el (modb-legacy-new-mark,
3138 modb-legacy-unread-uncached-mark,
3139 modb-legacy-unread-cached-mark,
3140 modb-legacy-read-uncached-mark,
3141 modb-legacy-answered-cached-mark,
3142 modb-legacy-answered-uncached-mark,
3143 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3144 All other related portions are changed.
3146 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3147 (elmo-folder-list-messages-with-global-mark): Abolish.
3148 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3149 (elmo-folder-flag-as-important): Ditto.
3150 (elmo-folder-unflag-read): Ditto.
3151 (elmo-folder-flag-as-read): Ditto.
3152 (elmo-folder-unflag-answered): Ditto.
3153 (elmo-folder-flag-as-answered): Ditto.
3154 (elmo-message-encache): Return the cache path.
3155 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3156 (elmo-message-set-flag): Transitional implementation.
3157 (elmo-message-unset-flag): Ditto.
3158 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3159 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3160 (elmo-init): Call elmo-global-flag-initialize.
3161 (toplevel): Added autoload settings for elmo-flag.
3163 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3165 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3166 (elmo-file-cache-delete): Don't treat global-mark.
3168 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3170 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3172 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3173 `elmo-global-flags-set'.
3175 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3177 (elmo-folder-unflag-read): Ditto.
3178 (elmo-folder-unflag-important): Ditto.
3179 (elmo-folder-flag-as-important): Ditto.
3180 (elmo-folder-unflag-answered): Ditto.
3181 (elmo-folder-flag-as-answered): Ditto.
3183 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3184 `elmo-global-flags-set'.
3185 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3187 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3189 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3191 (elmo-folder-flag-as-important): Ditto.
3192 (elmo-folder-unflag-important): Ditto.
3193 (elmo-folder-flag-as-important): Ditto.
3194 (elmo-folder-unflag-read): Ditto.
3195 (elmo-folder-flag-as-read): Ditto.
3196 (elmo-folder-unflag-answered): Ditto.
3197 (elmo-folder-flag-as-answered): Ditto.
3199 * elmo-multi.el (elmo-folder-list-importants): Don't call
3200 elmo-folder-list-messages-with-global-mark.
3201 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3202 (elmo-folder-unflag-important): Ditto.
3203 (elmo-folder-flag-as-read): Ditto.
3204 (elmo-folder-unflag-read): Ditto.
3205 (elmo-folder-flag-as-answered): Ditto.
3206 (elmo-folder-unflag-answered): Ditto.
3208 * elmo-msgdb.el (elmo-msgdb-new-mark,
3209 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3210 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3211 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3212 (Moved to modb-legacy.el).
3213 (elmo-flag-table-get): Treat important flag too.
3215 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3217 (elmo-map-folder-flag-as-important): Ditto.
3218 (elmo-map-folder-unflag-read): Ditto.
3219 (elmo-map-folder-flag-as-read): Ditto.
3220 (elmo-map-folder-unflag-answered): Ditto.
3221 (elmo-map-folder-flag-as-answered): Ditto.
3222 (elmo-folder-unflag-important): Ditto.
3223 (elmo-folder-flag-as-important): Ditto.
3224 (elmo-folder-unflag-read): Ditto.
3225 (elmo-folder-flag-as-read): Ditto.
3226 (elmo-folder-unflag-answered): Ditto.
3227 (elmo-folder-flag-as-answered): Ditto.
3229 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3230 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3232 (elmo-map-folder-unflag-important): Ditto.
3233 (elmo-map-folder-flag-as-read): Ditto.
3234 (elmo-map-folder-unflag-read): Ditto.
3235 (elmo-map-folder-flag-as-answered): Ditto.
3236 (elmo-map-folder-unflag-answered): Ditto.
3238 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3239 `elmo-global-flags-set'.
3240 (elmo-global-flags-set): Added autoload setting.
3242 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3245 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3246 `elmo-msgdb-global-mark-set'.
3247 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3248 Call `elmo-global-flags-set'.
3249 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3251 (elmo-folder-flag-as-important-plugged): Ditto.
3252 (elmo-folder-unflag-read-plugged): Ditto.
3253 (elmo-folder-flag-as-read-plugged): Ditto.
3254 (elmo-folder-unflag-answered-plugged): Ditto.
3255 (elmo-folder-flag-as-answered-plugged): Ditto.
3256 (elmo-global-flags-set): Added autoload setting.
3258 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3260 (elmo-folder-unflag-read): Ditto.
3261 (elmo-folder-flag-as-important): Ditto.
3262 (elmo-folder-unflag-important): Ditto.
3263 (elmo-folder-flag-as-answered): Ditto.
3264 (elmo-folder-unflag-answered): Ditto.
3266 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3267 change of `mark'->`flag'.
3268 (elmo-dop-queue-method-name-alist): Ditto.
3269 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3270 (elmo-folder-unflag-read-dop): Ditto.
3271 (elmo-folder-flag-as-important-dop): Ditto.
3272 (elmo-folder-unflag-important-dop): Ditto.
3273 (elmo-folder-flag-as-answered-dop): Ditto.
3274 (elmo-folder-unflag-answered-dop): Ditto.
3276 * elmo-cache.el (elmo-folder-msgdb-create): Call
3277 `elmo-global-flags-set'.
3279 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3280 Call `elmo-global-flags-set'.
3281 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3282 elmo-archive-parse-mmdf with argument `folder'.
3283 (elmo-archive-parse-mmdf): Added argument `folder';
3284 Call `elmo-global-flags-set'.
3286 * elmo-version.el (elmo-version): Up to 2.11.14.
3288 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3290 * modb.el (elmo-msgdb-length): Define.
3292 * elmo.el (elmo-make-folder): Fixed.
3293 (elmo-generic-folder-append-messages): Follow the API change.
3295 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3298 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3300 * modb.el: New file.
3302 * modb-entity.el: Ditto.
3304 * modb-legacy.el: Ditto.
3306 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3307 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3308 of `elmo-msgdb-overview-get-entity'.
3309 (elmo-msgdb-get-field): Ditto.
3310 (elmo-msgdb-merge): Moved to `elmo.el'.
3311 (elmo-msgdb-length): Removed; redefine as modb method.
3312 (elmo-msgdb-change-mark): Abolish.
3313 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3314 (elmo-msgdb-match-condition): Don't use mark.
3315 (elmo-msgdb-overview-get-entity): Abolish.
3316 Split modb part into `modb*.el'.
3318 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3320 * elmo-shimbun.el (shimbun-mua-search-id): Use
3321 `elmo-msgdb-message-entity' instead of
3322 `elmo-msgdb-overview-get-entity'.
3323 (elmo-shimbun-folder-shimbun-header): Ditto.
3324 (elmo-shimbun-get-headers): Ditto.
3325 (elmo-shimbun-update-overview): Ditto.
3327 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3329 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3331 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3332 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3334 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3335 `elmo-msgdb-mark-to-flags'.
3337 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3338 `elmo-msgdb-set-path'.
3340 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3342 * elmo-version.el (elmo-version): Up to 2.11.13.
3344 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3346 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3349 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3351 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3354 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3356 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3357 instead of `elmo-msgdb-get-cached'.
3358 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3360 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3361 (elmo-msgdb-set-cached): Ditto.
3362 (elmo-msgdb-set-flag): Rewrite.
3363 (elmo-msgdb-unset-flag): Ditto.
3365 * elmo-msgdb.el: Rewrite with luna.
3367 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3368 (elmo-folder-msgdb): Follow the change above.
3369 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3370 (elmo-folder-unmark-important): Follow the API change.
3371 (elmo-folder-mark-as-important): Ditto.
3372 (elmo-folder-unmark-read): Ditto.
3373 (elmo-folder-mark-as-read): Ditto.
3374 (elmo-folder-unmark-answered): Ditto.
3375 (elmo-folder-mark-as-answered): Ditto.
3376 (elmo-folder-clear): Likewise.
3378 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3379 instead of `elmo-msgdb-load' (renamed).
3381 * elmo-version.el (elmo-version): Up to 2.11.12.
3383 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3385 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3387 (elmo-message-mark): Abolish.
3388 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3389 instead of `elmo-msgdb-change-mark'.
3391 * elmo-pipe.el (elmo-message-mark): Abolish.
3393 * elmo-multi.el (elmo-message-mark): Ditto.
3395 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3396 (elmo-msgdb-unread-uncached-mark): Ditto.
3397 (elmo-msgdb-unread-cached-mark): Ditto.
3398 (elmo-msgdb-read-uncached-mark): Ditto.
3399 (elmo-msgdb-answered-cached-mark): Ditto.
3400 (elmo-msgdb-answered-uncached-mark): Ditto.
3401 (elmo-msgdb-important-mark): Ditto.
3402 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3404 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3406 (elmo-flag-table-load): Changed flag to list of flag.
3407 (elmo-flag-table-set): If flags is nil, set read flag.
3408 (elmo-flag-table-get): Return derived flags from global mark,
3409 cache status and saved flags.
3410 (elmo-msgdb-flag-table): Follow the change above.
3411 (elmo-msgdb-out-of-date-messages): New function.
3413 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3415 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3417 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3419 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3420 (elmo-nntp-msgdb-create-message): Ditto.
3422 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3424 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3426 (elmo-folder-msgdb-create): Follow the API change.
3428 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3429 (elmo-folder-append-messages): Ditto.
3431 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3432 (elmo-folder-append-buffer): Ditto.
3434 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3436 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3438 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3439 (elmo-archive-parse-mmdf): Ditto.
3441 * elmo-version.el (elmo-version): Up to 2.11.11.
3443 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3445 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3448 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3450 * elmo-pipe.el (elmo-message-flags): Defined.
3452 * elmo-multi.el (elmo-message-flags): Ditto.
3454 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3456 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3457 `elmo-msgdb-delete-msgs'.
3459 * elmo.el (elmo-folder-count-flags): Don't use
3460 `elmo-msgdb-get-mark-alist'.
3461 (elmo-folder-detach-messages): Follow the API change.
3463 * elmo.el (elmo-folder-list-messages): Append killed messages into
3464 result if `visible-only' is nil.
3466 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3468 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3469 (elmo-folder-update-number): Likewise.
3471 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3472 (elmo-pop3-sort-msgdb-by-original-number): Use
3473 `elmo-msgdb-sort-entities'.
3475 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3476 (elmo-msgdb-sort-by-date): Use it.
3477 (elmo-msgdb-overview-sort-by-date): Abolish.
3479 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3481 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3482 (elmo-msgdb-flags): New function.
3483 (elmo-msgdb-merge): Use elmo-msgdb-append.
3485 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3488 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3490 * elmo-dop.el (elmo-folder-status-dop): Use
3491 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3493 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3495 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3497 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3499 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3501 * elmo-util.el (elmo-with-progress-display): New macro.
3503 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3505 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3507 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3508 `elmo-folder-list-message-entities' instead of
3509 `elmo-msgdb-get-overview'.
3510 (elmo-map-folder-list-message-locations): Ditto.
3512 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3513 methods instead of treat directly).
3514 (elmo-msgdb-clear): Ditto.
3515 (elmo-msgdb-delete-msgs): Ditto.
3516 (elmo-msgdb-sort-by-date): Ditto.
3518 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3520 (elmo-nntp-folder-msgdb-create): Follow the API change.
3522 * elmo-version.el (elmo-version): Up to 2.11.10.
3524 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3526 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3527 (elmo-msgdb-flags-to-mark): Ditto.
3528 (elmo-msgdb-append-entity): Ditto.
3530 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3531 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3532 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3533 (elmo-archive-parse-mmdf): Ditto.
3535 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3537 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3539 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3541 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3543 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3545 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3547 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3549 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3551 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3552 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3555 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3556 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3557 instead of directly construction.
3558 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3559 instead of construct msgdb.
3561 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3562 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3563 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3564 instead of construct msgdb.
3566 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3568 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3569 when field is from or subject.
3571 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3573 * elmo-multi.el (elmo-message-entity-parent): Define.
3574 (elmo-folder-search): Rewrite.
3576 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3578 * elmo-multi.el (elmo-message-cached-p): Define.
3580 * elmo.el (elmo-message-cached-p): New method.
3581 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3582 (elmo-message-flags): New method.
3583 (elmo-message-flagged-p): New function.
3585 * elmo-version.el (elmo-version): Up to 2.11.9.
3587 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3589 * elmo-version.el (elmo-version): Up to 2.11.8.
3591 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3593 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3595 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3597 * elmo.el (elmo-folder-detach-messages): Undo last change.
3599 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3601 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3603 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3604 only when src folder type is pop3.
3606 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3608 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3609 elmo-msgdb-overview-entity-get-number instead of
3610 elmo-message-entity-number.
3612 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3614 * elmo-version.el (elmo-version): Up to 2.11.7.
3616 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3618 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3621 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3622 (elmo-msgdb-merge): New function.
3623 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3624 (elmo-msgdb-make-index): Rewrite.
3626 * elmo-version.el (elmo-version): Up to 2.11.6.
3628 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3629 use it as a the path for loading message entities.
3631 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3633 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3635 * elmo-filter.el (elmo-folder-set-message-modified): Set
3636 message-modified slot of itself if it does not require target msgdb.
3638 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3639 if folder length is zero.
3640 (elmo-mime-display-as-is): Ditto.
3642 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3644 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3646 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3648 * elmo.el (elmo-folder-set-message-modified): New method.
3649 (elmo-generic-folder-commit): Use it.
3650 (elmo-folder-synchronize): Ditto.
3652 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3653 (elmo-folder-commit): Remove duplicate definition.
3655 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3657 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3659 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3661 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3662 (elmo-strict-folder-diff): Ditto.
3663 (elmo-folder-set-info-max-by-numdb): Simplify.
3665 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3666 elmo-msgdb-list-messages.
3668 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3669 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3671 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3673 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3674 visible-only is non-nil.
3675 (elmo-folder-confirm-appends): Changed message.
3676 (elmo-folder-synchronize): Added argument disable-killed.
3678 * elmo-multi.el (elmo-folder-synchronize): Added argument
3681 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3683 * elmo-version.el (elmo-version): Up to 2.11.5.
3685 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3688 * elmo-util.el (elmo-list-filter): Simplify.
3690 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3691 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3692 (elmo-generic-folder-diff): Abolish argument.
3693 (elmo-msgdb-load): Don't use number-alist.
3695 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3697 * elmo-pipe.el (elmo-folder-diff): Ditto.
3699 * elmo-nmz.el (elmo-folder-diff): Ditto.
3701 * elmo-net.el (elmo-folder-diff): Ditto.
3703 * elmo-maildir.el (elmo-folder-diff): Ditto.
3705 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3707 * elmo-multi.el (elmo-folder-diff): Ditto
3708 (elmo-multi-folder-diff): Rewrite.
3710 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3712 * elmo-pipe.el (elmo-folder-msgdb): Define.
3714 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3716 * elmo.el (elmo-message-set-cached): Define as a method.
3718 * elmo-pipe.el (elmo-message-set-cached): Define.
3719 (elmo-find-fetch-strategy): Ditto.
3721 * elmo-multi.el (elmo-message-set-cached): Define.
3722 (elmo-find-fetch-strategy): Rewrite.
3724 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3726 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3728 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3730 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3731 instead of number-alist.
3733 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3734 mark nor message-id when msgdb of source folder is not loaded.
3736 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3738 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3740 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3742 * elmo.el (elmo-folder-length): Don't require msgdb.
3744 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3746 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3747 (elmo-message-field): Ditto.
3749 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3750 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3752 (elmo-map-folder-list-answereds): Define.
3753 (elmo-maildir-list-location): Treat 'R' info.
3754 (elmo-folder-msgdb-create): Treat flag-table.
3755 (elmo-folder-append-messages): Save flag-table.
3757 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3759 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3760 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3762 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3764 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3766 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3767 'read when mark is null.
3769 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3771 * elmo-version.el (elmo-version): Up to 2.11.4.
3773 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3775 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3776 (elmo-folder-mark-as-answered): Ditto.
3778 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3780 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3781 (elmo-pop3-get-session): Make msgdb directory after session.
3782 (elmo-folder-exists-p): Check exactly at the first time even when the
3783 elmo-pop3-exists-exactly is nil.
3785 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3786 (elmo-folder-list-messages): Define instead of
3787 elmo-folder-list-messages-internal.
3788 (elmo-folder-check): Check destination folder.
3789 (elmo-folder-synchronize): Drain the pipe.
3791 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3792 when msgdb is not loaded.
3794 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3796 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3797 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3800 * elmo.el (elmo-folder-kill-messages-before): New function.
3801 (elmo-folder-kill-messages): Ditto.
3802 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3804 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3805 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3806 killed not by synchronize (e.g. scoring).
3808 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3810 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3812 (elmo-folder-search): Follow the change above.
3814 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3815 into the candidates of search field.
3817 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3819 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3820 (elmo-msgdb-unset-flag): Ditto.
3822 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3824 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3826 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3827 (elmo-folder-commit): Define.
3828 (elmo-folder-synchronize): Ditto.
3829 (elmo-folder-list-flagged): Ditto.
3830 (elmo-folder-commit): Ditto.
3831 (elmo-folder-length): Ditto.
3832 (elmo-folder-count-flags): Ditto.
3833 (elmo-message-mark): Ditto.
3834 (elmo-message-field): Ditto.
3835 (elmo-message-entity): Ditto.
3836 (elmo-message-folder): Ditto.
3838 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3840 * elmo.el (elmo-message-field): Define as a method.
3842 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3843 (elmo-message-field): Define.
3845 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3846 (elmo-folder-list-importants): Ditto.
3847 (elmo-folder-list-answereds): Ditto.
3849 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3851 (elmo-folder-mark-as-read): Ditto.
3852 (elmo-folder-unmark-read): Ditto.
3853 (elmo-folder-mark-as-answered): Ditto.
3854 (elmo-folder-unmark-answered): Ditto.
3855 (elmo-folder-list-flagged): Define.
3856 (elmo-folder-commit): Ditto.
3857 (elmo-folder-length): Ditto.
3858 (elmo-folder-count-flags): Ditto.
3860 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3862 * elmo.el (elmo-folder-detach-messages): New method.
3863 (elmo-folder-move-messages): Use it.
3864 (elmo-folder-synchronize): Ditto.
3866 * elmo-multi.el (elmo-folder-detach-messages): Define.
3868 * elmo.el (elmo-message-copy-entity): New function.
3869 (elmo-message-entity-set-number): Ditto.
3870 (elmo-message-mark): Define as method.
3872 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3873 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3874 (elmo-message-entity): Fixed last change.
3875 (elmo-message-mark): Define.
3876 (elmo-folder-msgdb-create): Abolish.
3877 (elmo-multi-folder-append-msgdb): Ditto.
3878 (elmo-multi-folder-diff): Fixed.
3879 (elmo-multi-split-number-alist): Removed.
3880 (elmo-multi-split-mark-alist): Removed.
3881 (elmo-folder-list-messages): Define.
3882 (elmo-folder-list-messages-internal): Removed.
3884 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3885 local file messages.
3886 (elmo-folder-msgdb-create): Fixed read mark.
3888 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3890 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3893 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3895 * elmo.el (elmo-folder-list-message-entities): Define as inline
3897 (elmo-folder-messages): Abolish.
3899 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3901 (elmo-folder-synchronize): Define.
3902 (elmo-message-entity): Define.
3904 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3906 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3907 elmo-imap4-session-select-mailbox.
3909 * elmo.el (elmo-folder-move-messages): Don't display any message.
3911 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3913 (elmo-imap4-session-check): Don't wait CHECK response.
3914 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3916 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3918 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3920 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3922 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3924 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3927 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3928 (elmo-folder-list-message-entities): Added argument in-msgdb and
3930 (elmo-folder-synchronize): Define as a method.
3932 * elmo-nntp.el (elmo-folder-initialize): Don't use
3933 elmo-nntp-default-user if zero-length username is specified
3936 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3938 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3939 server name in case with username.
3940 (XXX: this is ad-hoc fix against username includes "@", it
3941 should be solved fundamentally)
3943 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3945 * elmo-nntp.el (elmo-nntp-debug): New function.
3946 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3947 (elmo-network-authenticate-session): Hide auth-info from the log.
3949 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3950 user name if it is equal to elmo-nntp-default-user.
3952 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3954 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3955 instead of shimbun-server-internal;
3956 Use shimbun-current-group instead of shimbun-current-group-internal.
3957 (elmo-folder-plugged-p): Use shimbun-server instead of
3958 shimbun-server-internal.
3959 (elmo-folder-set-plugged): Ditto.
3960 (elmo-net-port-info): Ditto.
3961 (elmo-folder-check): Ditto.
3962 (elmo-folder-expand-msgdb-path): Ditto.
3963 (elmo-folder-list-subfolders): Ditto.
3965 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3967 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3968 Convert field-name to lower case.
3969 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3971 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3973 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3974 `message' and `error' take format string.
3976 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3978 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3980 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3982 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3983 recursive call (can't byte compile on emacs 20.7).
3985 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3987 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3988 (elmo-folder-list-message-entities): New API.
3989 (elmo-message-entity): Ditto.
3990 (elmo-message-entity-parent): Ditto.
3991 (elmo-folder-do-each-message-entity): Ditto.
3992 (elmo-message-entity-number): Ditto.
3993 (elmo-message-entity-field): Ditto.
3994 (elmo-message-entity-set-field): Ditto.
3995 (elmo-folder-count-flags): Ditto.
3996 (elmo-folder-length): Ditto.
3998 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4001 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4002 (elmo-msgdb-count-marks): Abolish.
4003 (elmo-msgdb-make-entity): Ditto.
4004 (elmo-msgdb-do-each-entity): Ditto.
4005 (elmo-msgdb-message-entity): New inline function.
4006 (elmo-msgdb-message-entity-field): Ditto.
4007 (elmo-msgdb-message-entity-set-field): Ditto.
4008 (elmo-msgdb-make-message-entity): New function.
4010 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4012 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4013 to flag. (All other related portions are changed.)
4014 (elmo-folder-msgdb-create): Likewise.
4015 (elmo-generic-folder-append-messages): Use flag-table instead of
4017 (elmo-folder-move-messages): Removed redundant process.
4018 (elmo-folder-synchronize): Likewise.
4020 * elmo-msgdb.el (elmo-flag-table-get): New function.
4021 (elmo-flag-table-save): Fixed.
4022 (elmo-msgdb-length): New inline function.
4023 (elmo-msgdb-flag-table): New function.
4024 (elmo-msgdb-mark): Add optional argument new.
4025 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4026 (elmo-msgdb-seen-list): Ditto.
4027 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4030 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4032 * elmo.el (elmo-message-set-mark): Abolish.
4033 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4034 (All related portions are changed.)
4036 * elmo-msgdb.el (toplevel): Added comment.
4037 (elmo-load-msgdb): Added 4th element `path'.
4038 (elmo-msgdb-append): Follow the change above.
4039 (elmo-msgdb-clear): Ditto.
4040 (elmo-msgdb-delete-msgs): Ditto.
4041 (elmo-msgdb-get-path): New inline function.
4042 (elmo-msgdb-set-path): Ditto.
4043 (elmo-flag-table-filename): New variable.
4044 (elmo-flag-table-load): New function.
4045 (elmo-flag-table-set): Ditto.
4046 (elmo-flag-table-save): Ditto.
4047 (elmo-msgdb-get-field-value): Abolish.
4048 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4050 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4052 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4053 the folder has been deleted successfully.
4054 * elmo-imap4.el (elmo-folder-delete): Ditto.
4055 * elmo-archive.el (elmo-folder-delete): Ditto.
4056 * elmo-localdir.el (elmo-folder-delete): Ditto.
4057 * elmo-maildir.el (elmo-folder-delete): Ditto.
4059 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4061 * elmo-util.el (elmo-string-member-ignore-case): New function.
4062 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4063 (elmo-imap4-fetch-callback-1-subr): Likewise.
4065 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4067 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4068 the case of the name attribute "\Noselect".
4070 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4072 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4074 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4075 flist, is not always a member of onum-alist.
4077 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4079 * elmo-version.el (elmo-version): Up to 2.11.3.
4081 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4083 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4084 copied from localdir's one.
4086 * elmo-pipe.el (elmo-folder-rename): New method, rename
4087 destination folder with leaving source folder as it is.
4089 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4091 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4094 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4096 * elmo-version.el (elmo-version): Up to 2.11.2.
4098 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4100 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4101 shimbun-open in case of "@".
4102 (elmo-folder-open-internal): Cope with shimbun = nil case.
4103 (elmo-folder-plugged-p): Ditto.
4104 (elmo-folder-list-subfolders): Make list for "@/" group.
4106 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4108 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4109 mailbox (e.g. for %~/something).
4111 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4113 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4114 Replace nested conditional with guard clauses.
4116 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4118 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4121 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4124 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4126 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4127 Replace nested conditional with guard clauses.
4129 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4131 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4132 (elmo-passwd-alist-save): Ditto.
4133 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4135 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4137 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4138 dir-name only if it is absolute path.
4139 (TODO: distinguish +/something and +something)
4141 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4143 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4144 path for "+~/something".
4146 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4148 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4149 as non-directory, cause error before rename-file.
4150 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4151 apropriately, mimic localdir's one.
4152 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4154 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4156 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4158 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4160 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4162 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4164 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4165 is included in the global-mark or not.
4167 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4169 * utf7.el (toplevel): Avoid error when the function
4170 find-coding-system does not exist.
4172 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4174 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4175 cache even if the folder is plugged.
4176 (elmo-nntp-search-primitive): Do nothing when body search is
4177 invoked (although it is not used by the change above).
4178 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4180 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4182 * elmo-version.el (elmo-version): Up to 2.11.1.
4184 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4186 * elmo-archive.el: Specify charset.
4188 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4190 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4191 process buffer lives or not.
4193 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4194 while flushing queues (It causes infinite loop).
4196 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4198 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4200 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4202 * utf7.el (toplevel): Check the ucs features dynamically.
4203 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4205 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4206 folder is creatabe or not if it already exists.
4208 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4210 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4212 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4214 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4215 (elmo-imap4-read-response): Take care of garbage response.
4217 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4219 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4220 just return nil instead of error.
4222 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4224 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4225 search-key is "body".
4227 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4229 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4230 of elmo-string-matched-assoc to use match-data.
4231 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4233 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4235 * elmo-split.el (elmo-split->): New function.
4236 (elmo-split-<): Ditto.
4238 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4240 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4241 workaround for invalid message-id.
4243 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4245 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4246 return normal pop3 session or pop3 biff session.
4248 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4250 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4251 info part to the cur files when the new files already have it.
4252 (Adviced by Jared Rhine <jared@wordzoo.com>)
4254 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4256 * elmo-split.el (elmo-split-default-action): New variable.
4257 (elmo-split-subr): Use it if all other conditions are passed.
4258 Extend `fname' and rename it as `action'. (implemented
4259 Teranishi-san's idea in [wl:10800])
4261 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4263 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4264 * elmo-util.el: Ditto.
4266 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4268 * elmo.el (elmo-message-accessible-p): Renamed from
4269 elmo-message-cached-p and rewritten.
4271 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4273 * elmo.el (elmo-folder-list-flagged): New generic function.
4274 (elmo-folder-list-importants): New implementation.
4275 (elmo-folder-list-answereds): Ditto.
4276 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4278 (elmo-message-cached-p): New function.
4279 (elmo-message-set-flag): Ditto (no content).
4280 (elmo-message-unset-flag): Ditto.
4281 (elmo-folder-list-messages-mark-match): Abolish.
4283 * elmo-util.el (elmo-regexp-opt): New function.
4285 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4286 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4288 (elmo-msgdb-list-flagged): New function.
4290 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4291 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4294 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4296 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4298 * elmo-version.el (elmo-version): Up to 2.11.0.
4300 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4302 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4303 `elmo-file-cache-exists-p'; use proper mark that depends on
4305 (elmo-msgdb-unset-flag): Ditto.
4306 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4308 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4309 with 4th argument `use-cache'.
4311 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4313 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4314 (elmo-folder-mark-as-important): Ditto.
4315 (elmo-folder-unmark-read): Ditto.
4316 (elmo-folder-mark-as-read): Ditto.
4317 (elmo-folder-unmark-answered): Ditto.
4318 (elmo-folder-mark-as-answered): Ditto.
4320 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4322 (elmo-msgdb-mark): Likewise.
4323 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4324 (elmo-msgdb-unset-flag): Likewise.
4326 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4328 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4330 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4333 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4335 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4336 set spool-length to 0.
4338 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4340 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4341 (elmo-dop-queue-flush): Fixed last change.
4343 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4345 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4346 if require-msgdb slot is nil.
4347 (elmo-folder-list-importants): Likewise.
4349 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4351 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4354 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4355 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4358 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4360 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4362 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4364 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4366 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4368 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4370 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4371 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4373 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4375 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4376 the problem reported by Sean Rima [wl-en:180].
4378 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4380 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4382 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4384 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4386 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4388 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4390 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4392 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4394 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4396 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4399 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4401 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4402 (elmo-folder-mark-as-read): Follow the API change.
4403 (elmo-message-set-cached): New function.
4405 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4407 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4409 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4410 (elmo-folder-mark-as-important): Ditto.
4411 (elmo-folder-unmark-read): Ditto.
4412 (elmo-folder-mark-as-read): Ditto.
4413 (elmo-folder-unmark-answered): Ditto.
4414 (elmo-folder-mark-as-answered): Ditto.
4416 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4417 (elmo-folder-unmark-important): Ditto.
4418 (elmo-folder-mark-as-read): Ditto.
4419 (elmo-folder-unmark-read): Ditto.
4420 (elmo-folder-mark-as-answered): Ditto.
4421 (elmo-folder-unmark-answered): Ditto.
4423 * elmo-mark.el (toplevel): Removed some mark method definitions.
4425 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4426 (elmo-map-folder-mark-as-answered): Ditto.
4427 (elmo-folder-unmark-important): Add :before qualifier.
4428 (elmo-folder-mark-as-important): Ditto.
4429 (elmo-folder-unmark-read): Ditto.
4430 (elmo-folder-mark-as-read): Ditto.
4431 (elmo-folder-unmark-answered): Define.
4432 (elmo-folder-mark-as-answered): Ditto.
4434 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4435 (elmo-map-folder-unmark-answered): Ditto.
4437 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4439 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4440 (elmo-folder-mark-as-important): Ditto.
4441 (elmo-folder-unmark-read): Ditto.
4442 (elmo-folder-mark-as-read): Ditto.
4443 (elmo-folder-unmark-answered): Ditto.
4444 (elmo-folder-mark-as-answered): Ditto.
4446 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4447 `mark'; evaluate mark condition.
4448 (elmo-msgdb-match-condition-internal): New function.
4449 (elmo-msgdb-match-condition): Call it; changed argument.
4451 * elmo.el (elmo-folder-search): Follow the API change on
4452 `elmo-msgdb-match-condition'.
4454 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4456 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4457 original mark is non-nil.
4459 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4461 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4462 (elmo-map-folder-list-answereds): New method.
4463 (elmo-folder-list-unreads): Add :around qualifier.
4464 (elmo-folder-list-importants): Ditto.
4465 (elmo-folder-list-answereds): Ditto.
4467 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4469 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4471 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4472 method if msgdb is not required.
4473 (elmo-filter-folder-list-importants): Don't treat global-mark.
4475 * elmo.el (elmo-folder-list-importants): Ditto.
4477 * elmo-net.el (elmo-folder-list-importants): Ditto.
4479 * elmo-map.el (elmo-folder-list-importants): Ditto.
4481 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4483 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4484 (elmo-imap4-folder-list-any-plugged): New function.
4485 (elmo-imap4-search-internal-primitive): Use it.
4487 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4488 only when require-msgdb slot is non-nil.
4489 (elmo-folder-close): Clear target folder's msgdb.
4491 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4493 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4494 (elmo-pop3-msgdb-create-by-header): Ditto.
4495 (elmo-pop3-msgdb-create-message): Ditto.
4497 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4499 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4501 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4503 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4504 (elmo-folder-msgdb-create): Ditto.
4505 (elmo-nntp-folder-msgdb-create): Ditto.
4506 (elmo-nntp-msgdb-create-by-header): Ditto.
4507 (elmo-nntp-msgdb-create-message): Ditto.
4508 (elmo-folder-list-unreads): Define.
4510 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4511 (elmo-folder-append-messages): Ditto.
4512 (elmo-folder-list-unreads): Define.
4513 (elmo-folder-list-importants): Ditto.
4514 (elmo-folder-list-answereds): Ditto.
4516 * elmo-net.el (elmo-folder-list-unreads): Define.
4517 (elmo-folder-list-importants): Ditto.
4518 (elmo-folder-list-answereds): Ditto.
4519 (elmo-folder-list-answereds-plugged): Ditto.
4520 (elmo-folder-msgdb-create): Follow the API change.
4521 (elmo-folder-msgdb-create-unplugged): Ditto.
4522 (elmo-folder-unmark-answered): Define.
4523 (elmo-folder-mark-as-answered-unplugged): Ditto.
4524 (elmo-folder-unmark-answered-unplugged): Ditto.
4526 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4527 (elmo-msgdb-unread-uncached-mark): Ditto.
4528 (elmo-msgdb-unread-cached-mark): Ditto.
4529 (elmo-msgdb-read-uncached-mark): Ditto.
4530 (elmo-msgdb-answered-cached-mark): Ditto.
4531 (elmo-msgdb-answered-uncached-mark): Ditto.
4532 (elmo-msgdb-important-mark): Ditto.
4533 (elmo-msgdb-set-mark): Rewrite.
4534 (elmo-msgdb-count-marks): Rewrite.
4535 (elmo-msgdb-mark-alist-set): Abolish.
4536 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4537 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4539 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4540 (elmo-folder-close): Define.
4541 (elmo-folder-msgdb-create): Follow the API change.
4542 (elmo-folder-list-unreads): Rewrite.
4543 (elmo-folder-mark-as-important): Ditto.
4544 (elmo-folder-unmark-important): Ditto.
4545 (elmo-folder-mark-as-read): Ditto.
4546 (elmo-folder-unmark-read): Ditto.
4547 (elmo-folder-mark-as-answered): Define.
4548 (elmo-folder-unmark-answered): Ditto.
4550 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4551 (elmo-folder-append-messages): Ditto.
4553 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4555 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4556 (elmo-folder-list-importants): Ditto.
4558 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4559 (elmo-folder-append-messages): Ditto.
4561 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4563 (elmo-folder-msgdb-create-plugged): Ditto.
4564 (elmo-folder-append-messages): Ditto.
4565 (elmo-folder-list-answereds-plugged): Define.
4566 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4567 (elmo-folder-unmark-answered-plugged): Define.
4568 (elmo-folder-mark-as-answered-plugged): Ditto.
4569 (elmo-folder-search-requires-msgdb-p): Ditto.
4571 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4572 (elmo-folder-initialize): Set it.
4573 (elmo-folder-msgdb): Define.
4574 (elmo-folder-check): Call elmo-folder-synchronize.
4575 (elmo-folder-close): Define.
4576 (elmo-folder-commit): Ditto.
4577 (elmo-folder-msgdb-create): Rewrite.
4578 (elmo-folder-list-unreads): Ditto.
4579 (elmo-folder-list-importants): Ditto.
4580 (elmo-folder-mark-as-read): Ditto.
4581 (elmo-folder-unmark-read): Ditto.
4582 (elmo-folder-mark-as-important): Ditto.
4583 (elmo-folder-unmark-important): Ditto.
4584 (elmo-folder-mark-as-answered): Define.
4585 (elmo-folder-unmark-answered): Ditto.
4587 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4588 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4589 (elmo-dop-queue-method-name-alist): Likewise.
4590 (elmo-folder-mark-as-answered-dop): New inline function.
4591 (elmo-folder-unmark-answered-dop): Ditto.
4592 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4594 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4595 (elmo-folder-msgdb-create): Ditto.
4596 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4597 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4598 (elmo-archive-parse-mmdf): Ditto.
4600 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4601 (elmo-folder-list-unreads-internal): Ditto.
4603 * elmo.el (elmo-folder-msgdb): Define as generic function.
4604 (elmo-folder-list-messages): Added argument `in-msgdb'.
4605 (elmo-folder-list-unreads): Define as generic function.
4606 (elmo-folder-list-importants): Ditto.
4607 (elmo-folder-list-answereds): Ditto.
4608 (elmo-folder-list-messages-with-global-mark): New function.
4609 (elmo-folder-msgdb-create): Removed mark arguments.
4610 (elmo-folder-unmark-answered): New generic function.
4611 (elmo-folder-mark-as-answered): Ditto.
4612 (elmo-folder-append-messages): Removed argunment `unread-marks'
4613 (elmo-folder-list-unreads-internal): Abolish.
4614 (elmo-folder-list-importants-internal): Ditto.
4615 (elmo-folder-search-requires-msgdb-p): New generic function.
4616 (elmo-folder-search-requires-msgdb-p-internal): New function.
4617 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4619 (elmo-folder-search-fast): Added key 'mark'.
4620 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4621 instead of unread-marks argument.
4622 (elmo-folder-move-messages): Removed argunment `unread-marks'
4623 (elmo-folder-unmark-important): Define.
4624 (elmo-folder-mark-as-important): Ditto.
4625 (elmo-folder-unmark-read): Ditto.
4626 (elmo-folder-mark-as-read): Ditto.
4627 (elmo-folder-unmark-answered): Ditto.
4628 (elmo-folder-mark-as-answered): Ditto.
4629 (elmo-folder-replace-marks): Abolish.
4630 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4632 (elmo-folder-synchronize): Removed mark arguments;
4633 return crosspost only number.
4635 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4637 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4638 Remove redundunt connectivity check.
4640 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4642 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4643 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4645 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4647 * pldap.el (ldap-decode-string): Return string as-is if
4648 `ldap-coding-system' is nil.
4649 (ldap-encode-string): Ditto.
4650 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4651 (ldap-default-host): Fixed docstring.
4653 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4655 * elmo-util.el (elmo-warning): Define as a macro which uses
4656 `display-warning' if it is defined as a function.
4658 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4659 (elmo-split-equal): Use it.
4660 (elmo-split-match): Ditto.
4661 (elmo-split-message-entity): New buffer-local variable.
4662 (elmo-split-subr): Set it.
4664 * elmo-version.el (elmo-version): Up to 2.9.15.
4666 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4668 * elmo-imap4.el (elmo-network-initialize-session):
4669 Check capability after starttls.
4671 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4673 * elmo-util.el (elmo-list-delete): Added optional argument
4676 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4678 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4680 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4682 * elmo-imap4.el (elmo-folder-initialize): Don't use
4683 elmo-imap4-default-mailbox.
4685 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4687 * elmo-split.el (toplevel): Use `product-provide'.
4688 (elmo-split): Checkdoc.
4690 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4692 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4693 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4694 the function `elmo-imap4-debug-1'.
4696 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4698 * elmo-split.el (elmo-split): Moved to run hooks and to show
4699 message from elmo-split-subr.
4700 (elmo-split-subr): Follow the change above.
4702 * elmo-split.el (elmo-split-subr): New function (renamed from
4704 (elmo-split): Changed to call elmo-split-subr by element of
4706 (elmo-split-folder): Changed customization type to choice.
4708 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4710 * elmo-split.el (elmo-split-and): Fixed condition.
4712 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4714 * elmo-split.el: New file.
4715 (elmo-split): Fixed logic.
4716 Display "Test:" instead of "Folder:" when reharsal.
4718 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4721 * elmo-version.el (elmo-version): Up to 2.9.14.
4723 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4726 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4728 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4729 message with no message-id field.
4731 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4733 * elmo-version.el (elmo-version): Up to 2.9.13.
4735 * elmo-dop.el (elmo-folder-status-dop): Fix.
4737 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4739 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4741 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4742 changing default value of default-mime-charset.
4743 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4745 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4747 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4748 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4749 instead of elmo-dop-queue-method-name-alist to check merging queue.
4750 (elmo-folder-delete-messages-dop): Delete from queue if negative
4752 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4753 file is already removed.
4755 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4757 * elmo-vars.el: Bind colon keywords for old Emacsen.
4759 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4761 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4762 against non-exsisting charset.
4764 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4766 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4767 Use eword-decode-and-unfold-unstructured-field-body.
4769 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4770 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4771 exists to decode raw subject string.
4772 (toplevel): Require 'mime.
4774 * elmo-version.el (elmo-version): Up to 2.9.12.
4776 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4778 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4779 (elmo-msgdb-set-mark): Ditto.
4781 * elmo-version.el (elmo-version): Up to 2.9.11.
4783 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4785 * elmo-util.el (elmo-delete-match-files): New function.
4787 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4788 instead of elmo-delete-directory.
4790 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4791 elmo-hash-minimun-size as 63.
4793 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4794 elmo-diff-unread is nil.
4796 * elmo-imap4.el (elmo-folder-open): Fix.
4798 * elmo.el (elmo-message-mark): Rewrite.
4799 (elmo-message-field): Ditto.
4800 (elmo-message-set-mark): Ditto.
4801 (elmo-folder-replace-marks): New function.
4802 (elmo-generic-folder-append-msgdb): Removed third argument for
4804 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4805 (elmo-msgdb-load): New implementation.
4807 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4809 * elmo-util.el (elmo-list-insert): New implementation.
4811 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4812 argument for elmo-msgdb-append.
4815 * elmo-msgdb.el (elmo-load-msgdb): New function.
4816 (elmo-make-msgdb): Ditto.
4817 (elmo-msgdb-get-index): New inline function.
4818 (elmo-msgdb-set-index): Ditto.
4819 (elmo-msgdb-get-entity-hashtb): Ditto.
4820 (elmo-msgdb-get-mark-hashtb): Ditto.
4821 (elmo-msgdb-get-mark): Ditto.
4822 (elmo-msgdb-set-mark): Ditto.
4823 (elmo-msgdb-count-marks): Ditto.
4824 (elmo-msgdb-get-number): Ditto.
4825 (elmo-msgdb-get-field): Ditto.
4826 (elmo-msgdb-seen-list): Ditto.
4827 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4828 (elmo-msgdb-delete-msgs): Follow the changes above.
4829 (elmo-msgdb-overview-get-entity): Ditto.
4830 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4831 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4833 (elmo-msgdb-make-index): Likewise.
4834 (elmo-msgdb-append): Removed third argument.
4835 (elmo-msgdb-clear): Clear index as nil.
4836 (elmo-folder-set-info-hashtb): Removed.
4837 (elmo-folder-set-info-max-by-numdb): Ditto.
4838 (elmo-folder-info-make-hashtb): Ditto.
4840 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4842 * elmo-map.el (elmo-folder-pack-number): Ditto.
4844 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4846 * elmo-version.el (elmo-version): Up to 2.9.10.
4848 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4850 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4852 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4854 * elmo-utils.el (elmo-make-directory): Add option.
4855 Default file mode is 700.
4857 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4859 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4861 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4863 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4866 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4869 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4871 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4872 (elmo-shimbun-folder-entity-hash): New function.
4873 (elmo-shimbun-folder-shimbun-header): Ditto.
4874 (elmo-shimbun-entity-to-header): Ditto.
4875 (elmo-shimbun-msgdb-to-headers): Removed.
4876 (elmo-shimbun-folder-setup): Ditto.
4877 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4879 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4880 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4881 Removed useless local bind.
4882 (elmo-folder-open-internal): Don't call
4883 `elmo-shimbun-folder-setup'.
4884 (elmo-folder-close-internal): Clear entity-hash slot.
4885 (elmo-folder-clear): Ditto.
4886 (elmo-shimbun-msgdb-create-entity): Use
4887 `elmo-shimbun-folder-shimbun-header'.
4888 (elmo-map-message-fetch): Ditto.
4889 (elmo-shimbun-update-overview): Use overview entity instead of
4890 shimbun header to lookup id by references.
4891 (elmo-map-folder-list-message-locations): Use not only headers but
4892 also overviews to list locations.
4894 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4896 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4899 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4901 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4903 * elmo-util.el (elmo-read-search-condition-internal): Give default
4906 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4908 * elmo-util.el (elmo-condition-parse-search-value): Accept
4909 YYYY-MM-DD format to search.
4910 * elmo-date.el (elmo-date-get-datevec): Likewise.
4912 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4914 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4917 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4919 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4922 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4924 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4925 case from `elmo-folder-exists-p'.
4926 (elmo-folder-exists-p): Removed.
4927 (elmo-folder-creatable-p) Ditto.
4929 * elmo-net.el (elmo-folder-create): Defined.
4930 (elmo-folder-create-unplugged): New function.
4931 (elmo-folder-exists-p): Changed default value to nil from t.
4933 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4934 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4936 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4937 `elmo-create-folder-dop' and append queue
4938 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4939 (elmo-folder-create-dop-delayed): New function.
4941 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4943 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4945 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4946 (elmo-folder-writable-p) : Ditto.
4948 * elmo-version.el (elmo-version): Up to 2.9.9.
4950 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4952 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4953 `elmo-message-use-cache-p' returns nil.
4954 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4955 (ignore cache file and refer the substance in local folders)
4957 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4959 * elmo-version.el (elmo-version): Up to 2.9.8.
4961 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4963 * elmo-version.el (elmo-version): Up to 2.9.7.
4965 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4967 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4969 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4971 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4973 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4975 (elmo-map-folder-list-message-locations): Reverse location list.
4977 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4979 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4981 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4983 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4985 (elmo-nntp-folder-list-subfolders): Follow the change above.
4987 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4989 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4990 name if authentication type is specified.
4992 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4994 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4996 (elmo-default-nntp-stream-type): Ditto.
4997 (elmo-default-pop3-stream-type): Ditto.
4999 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5001 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5003 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5005 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5007 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5009 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5010 (elmo-maildir-folder-path): Ditto.
5011 (elmo-maildir-list): Ditto (abolished).
5013 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5015 * elmo-version.el (elmo-version): Up to 2.9.6.
5017 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5019 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5020 (elmo-maildir-folder-path): Ditto.
5021 (elmo-msgdb-directory): Ditto.
5022 (elmo-passwd-life-time): Ditto.
5023 (elmo-msgdb-extra-fields): Ditto.
5024 (elmo-enable-disconnected-operation): Ditto.
5026 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5028 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5030 (elmo-pop3-default-authenticate-type): Ditto.
5032 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5034 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5036 (elmo-pop3-default-authenticate-type): Ditto.
5038 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5040 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5041 mailbox to new-folder.
5043 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5045 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5046 less than new, set new as unread.
5048 * elmo-util.el (elmo-string): Don't put text-property if nil.
5050 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5052 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5053 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5055 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5057 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5058 is nil on `completing-read'.
5060 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5062 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5064 (elmo-imap4-parse-namespace-subr): Ditto.
5065 (elmo-folder-list-subfolders): Append a delimiter when the specified
5066 folder path is a root with namespace and does not end with delimiter.
5068 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5070 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5073 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5075 * elmo-util.el (elmo-save-buffer): The first argument of message
5076 is a format control string.
5078 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5080 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5081 `elmo-folder-diff').
5082 (elmo-diff-unread): Likewise.
5084 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5086 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5087 is t on `completing-read'.
5089 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5091 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5092 method of target folder with self mark-alist if MARK-ALIST is nil.
5094 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5096 * elmo-version.el (elmo-version): Up to 2.9.5.
5098 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5100 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5101 (elmo-dop-merge-funcs): Remove.
5103 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5105 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5106 Return t if PATH is directory, too.
5107 Use `dolist' instead of while loop.
5109 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5111 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5114 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5116 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5118 (elmo-folder-list-messages-unplugged): Return t if
5119 elmo-enable-disconnected-operation is nil.
5121 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5122 `elmo-folder-list-messages-internal'.
5124 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5126 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5127 Change to looking-at `[23][0-9]+'.
5128 (elmo-network-initialize-session): Use 'error-msg'
5129 * elmo-net.el (elmo-network-open-session): Set unplugged
5130 if elmo-network-initialize-session returns 'elmo-open-err.
5132 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5134 * elmo-version.el (elmo-version): Up to 2.9.4.
5136 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5138 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5139 `elmo-folder-list-messages-internal'.
5141 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5143 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5144 (elmo-message-match-condition): New method.
5145 (elmo-folder-search-fast): New inline function.
5146 (elmo-msgdb-search): Removed.
5148 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5149 target folder if it is unplugged.
5150 (elmo-folder-list-messages-internal): Return t if target folder is
5151 unplugged and itself is persistent; In this case, use list be
5154 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5155 (elmo-msgdb-search-internal-primitive): Ditto.
5156 (elmo-msgdb-match-condition): New function.
5157 (elmo-msgdb-match-condition-primitive): Ditto.
5159 * elmo-util.el (elmo-filter-condition-p): New macro.
5161 * elmo-cache.el (elmo-folder-search): Removed.
5163 * elmo-localdir.el (elmo-folder-search): Ditto.
5165 * elmo-maildir.el (elmo-folder-search): Ditto.
5167 * elmo-mark.el (elmo-folder-search): Ditto.
5169 * elmo-nmz.el (elmo-folder-search): Ditto.
5171 * elmo-sendlog.el (elmo-folder-search): Ditto.
5173 * elmo-shimbun.el (elmo-folder-search): Ditto.
5175 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5176 if folder is unplugged.
5178 * elmo-nntp.el (elmo-folder-search): Likewise.
5179 (elmo-nntp-search-internal): New function.
5181 * elmo-version.el (elmo-version): Up to 2.9.3.
5183 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5185 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5187 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5189 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5191 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5193 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5195 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5197 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5198 (elmo-map-folder-list-message-locations): Do drive letter conversion
5199 on Windows environment.
5200 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5201 (elmo-map-message-fetch): Ditto.
5203 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5205 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5206 (elmo-network-initialize-session): Ditto.
5208 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5210 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5212 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5214 * elmo-util.el (elmo-progress-clear): Ditto.
5216 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5217 `DD-Mon-YYYY' type date.
5219 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5221 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5222 `elmo-date-make-sortable-string' instead of
5223 `timezone-make-date-sortable'.
5225 * elmo-date.el (elmo-date-make-sortable-string): Use
5226 `timezone-make-time-string'.
5228 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5230 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5232 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5233 `since'; Fix timezone.
5235 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5237 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5239 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5241 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5243 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5245 * elmo.el (elmo-generic-folder-append-messages): Make
5246 fetch-strategy with `use-cache' as 'maybe. Check return value of
5247 `elmo-message-fetch'.
5248 (elmo-message-fetch): Return return value of
5249 `elmo-message-fetch-with-cache-process'.
5250 (elmo-message-fetch-with-cache-process): Return non-nil if
5251 fetching was succeed. Load cache when fetching was failed and
5252 fetch-strategy-use-cache is 'maybe.
5254 * elmo-util.el (elmo-file-cache-load): New function.
5256 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5259 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5260 non-nil if fetching was succeed.
5262 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5264 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5266 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5267 (elmo-message-fetch-with-cache-process): Likwise.
5269 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5271 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5273 * elmo-version.el (elmo-version): Up to 2.9.2.
5275 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5277 * elmo.el (elmo-folder-delete): Delete msgdb path.
5279 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5281 * elmo-maildir.el (elmo-folder-delete): Ditto.
5283 * elmo-localdir.el (elmo-folder-delete): Ditto.
5285 * elmo-imap4.el (elmo-folder-delete): Ditto.
5287 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5289 * elmo.el (luna-define-class): Added `biff' slot.
5291 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5292 (elmo-pop3-debug-inhibit-logging): Abolished.
5293 (elmo-network-close-session): Eliminated needless let.
5294 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5295 (elmo-pop3-send-command): Added `no-log' argument.
5296 (elmo-pop3-process-filter): Use `with-current-buffer'.
5297 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5299 (elmo-pop3-auth-apop): Likewise.
5300 (elmo-network-authenticate-session): Likewise.
5302 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5305 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5306 string to determine protocol.
5307 (elmo-network-session-name-prefix): Abolished.
5308 (elmo-network-session-cache-key): Follow the change above.
5309 (elmo-network-open-session): Ditto.
5311 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5312 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5314 * elmo-version.el (elmo-version): Up to 2.9.1.
5316 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5317 unmatch condition checking.
5319 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5322 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5324 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5326 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5328 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5329 test for while loop to execute at least one SEARCH command.
5331 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5333 * elmo-version.el (elmo-version): Up to 2.9.0.
5335 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5337 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5338 (elmo-archive-folder-path): Define.
5339 (elmo-folder-initialize): Setup `dir-name' slot.
5340 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5341 Use `dir-name' as prefix of each subfolders.
5342 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5344 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5346 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5347 (elmo-pipe-folder-list-target-messages): New internal function.
5348 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5350 (elmo-pipe-folder-copied-list-load): New function.
5351 (elmo-pipe-folder-copied-list-save): Ditto.
5352 (elmo-folder-open-internal): Follow the change above.
5353 (elmo-folder-status): Fixed for copy.
5355 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5357 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5359 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5361 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5362 elmo-copy-file instead of elmo-add-name-to-file.
5364 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5366 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5369 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5370 of accept-process-output as 1.
5371 (elmo-pop3-read-contents): Ditto.
5372 (elmo-pop3-read-body): Ditto.
5374 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5376 * elmo-version.el (product-version-as-string): Remove define.
5378 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5380 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5381 (elmo-imap4-copy-messages): Chop number set using
5382 `elmo-imap4-number-set-chop-length'.
5383 (elmo-imap4-set-flag): Ditto.
5384 (elmo-imap4-search-internal-primitive): Ditto.
5386 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5388 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5389 `elmo-folder-make-temp-dir'
5391 * elmo-vars.el (elmo-cache-directory): New variable.
5392 (elmo-cache-dir): Abolished.
5393 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5395 * elmo-version.el (elmo-version): Up to 2.7.7.
5397 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5399 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5400 defcustom; Set default value as t.
5402 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5404 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5405 (ldap-search-program-arguments): Changed default value.
5406 (ldap-search-basic): Accept exit status 4.
5407 (ldap/field-body): Parse options.
5408 (ldap/collect-field): Ditto.
5409 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5411 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5412 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5413 (elmo-imap4-accept-ok): Ditto.
5414 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5415 'notify-bye, only BYE error is reported.
5416 (elmo-folder-exists-p-plugged): Set no-error argument of
5417 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5419 * elmo.el (elmo-imap4-bye-error): Changed message.
5421 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5422 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5423 queues (It causes infinite loop).
5425 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5427 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5428 (RECENT UNSEEN MESSAGES) extension.
5430 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5432 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5433 Check number of overview fields.
5435 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5437 * elmo.el (elmo-folder-confirm-appends): Changed message.
5438 (elmo-folder-confirm-appends): Ditto.
5440 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5442 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5444 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5446 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5447 of elmo-folder-update-threshold is nil, which can be set by
5448 wl-summary-update-confirm-threshold.
5450 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5452 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5453 (elmo-nmz-index-alias-alist): Ditto.
5454 (elmo-map-folder-list-message-locations): Follow the change above.
5456 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5458 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5460 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5462 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5464 * elmo-util.el (elmo-read): Ditto.
5465 (elmo-display-error): Ditto.
5467 * elmo-vars.el (elmo-date-match): Ditto.
5469 * pldap.el (ldap-coding-system): Ditto.
5471 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5472 `elmo-inhibit-number-mapping' as nil.
5474 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5476 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5477 space delimiter for list response.
5479 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5481 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5483 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5485 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5486 (elmo-map-message-fetch): Fix.
5487 * elmo-map.el (elmo-folder-status): Fix for killed.
5489 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5491 * elmo-sendlog.el: New file.
5492 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5494 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5496 * acap.el (acap-logging-out): New buffer local variable.
5497 (acap-close): Set it.
5498 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5501 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5503 * acap.el (acap-response-bye-p): New function.
5504 (acap-response-bye-message): Ditto.
5505 (acap-wait-for-response): If bye response is received, cause an error.
5506 (acap-parse-response): Make bye response when 'Bye' is received.
5508 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5510 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5512 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5514 * elmo-util.el (elmo-copy-file): Added argument
5515 `ok-if-already-exists'.
5516 (elmo-copy-file): Fixed typo.
5518 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5520 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5522 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5524 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5526 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5528 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5531 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5533 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5534 (elmo-folder-initialize): Fix for `copy'.
5535 (elmo-pipe-drain): Ditto.
5536 (elmo-folder-open-internal): Ditto.
5537 (elmo-folder-newsgroups): Fix.
5539 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5541 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5544 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5545 recent value is returned from imap folder.
5547 * elmo.el (elmo-folder-newsgroups): New generic function.
5549 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5550 (elmo-folder-initialize): Set it.
5551 (elmo-folder-expand-msgdb-path): Use it.
5552 (elmo-folder-newsgroups): Define.
5554 * elmo-filter.el (elmo-folder-newsgroups): Define.
5556 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5558 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5560 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5562 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5564 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5566 (elmo-shimbun-header-extra-field): New inline function.
5567 (elmo-shimbun-header-set-extra-field): Ditto.
5568 (elmo-shimbun-folder-header-hash-setup): Ditto.
5569 (elmo-shimbun-update-overview): Ditto.
5570 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5571 (elmo-shimbun-folder-setup): Use
5572 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5573 (elmo-shimbun-get-headers): Ditto.
5574 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5575 Insert `X-Shimbun-Id:' header if extra field is set.
5576 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5577 field's value instead of `shimbun-header-id'.
5579 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5581 (elmo-msgdb-overview-entity-set-date): Ditto.
5582 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5584 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5586 * mmimap.el (mmimap-entity-section): Changed body node number from
5589 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5591 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5592 `elmo-folder-delete-messages'.
5594 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5595 (elmo-folder-initialize): Changed to expand alias into index path.
5597 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5598 `elmo-mime-insert-header-from-buffer' with 6th arg
5601 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5603 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5605 * elmo.el (elmo-diff-new): New inline function.
5606 (elmo-diff-unread): Ditto.
5607 (elmo-diff-all): Ditto.
5609 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5610 value from responseb.
5611 (elmo-imap4-folder-diff-plugged): Ditto.
5612 (elmo-imap4-server-diff-async): Added recent argument.
5613 (elmo-server-diff-async): Ditto.
5614 (elmo-imap4-folder-diff-plugged): Ditto.
5616 * elmo-version.el (elmo-version): Up to 2.7.6.
5618 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5620 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5623 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5625 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5627 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5629 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5631 * elmo-multi.el (elmo-folder-initialize): Ditto.
5633 * elmo-util.el (elmo-parse-token): New function.
5634 (elmo-parse-prefixed-element): Ditto.
5636 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5638 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5640 (elmo-imap4-accept-ok): Ditto.
5642 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5644 * mmimap.el (mime-imap-entity-header-string): Don't check first
5645 element of node-id is `0' (Follow last change).
5647 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5649 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5650 assigned irregular node-id to nested multipart section.
5651 (initialize-instance): Followed above change.
5653 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5655 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5656 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5657 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5658 `elmo-shimbun-get-headers');
5659 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5660 visible article on summary exists in headers).
5661 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5663 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5665 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5668 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5670 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5672 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5674 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5675 header separator into loop condition.
5677 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5679 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5680 Return duplicate folder if it has subfolder.
5682 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5684 * elmo.el (elmo-make-folder): Add folder name error check.
5686 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5687 (elmo-nntp-encode-group-string): New inline function.
5688 (elmo-nntp-decode-group-string): Ditto.
5689 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5690 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5691 Use `not' instead of `null';
5692 Use elmo-nntp-decode-group-string.
5694 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5696 * elmo-version.el (elmo-version): Up to 2.7.5.
5698 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5700 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5701 Hide progress gauge if `elmo-folder-move-messages' exits
5704 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5706 * elmo-imap4.el (elmo-folder-initialize): Use
5707 `elmo-imap4-encode-folder-string' for folder name.
5709 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5711 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5714 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5716 * elmo-util.el (elmo-progress-counter-alist): New internal
5718 (elmo-progress-counter-value): New macro.
5719 (elmo-progress-counter-all-value): Ditto.
5720 (elmo-progress-counter-format): Ditto.
5721 (elmo-progress-counter-set-value): Ditto.
5722 (elmo-progress-set): New function.
5723 (elmo-progress-clear): Ditto.
5724 (elmo-progress-notify): Ditto.
5726 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5729 * elmo.el (elmo-generic-folder-append-messages): Call
5730 `elmo-progress-notify'.
5731 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5733 * elmo-archive.el (elmo-folder-append-messages): Call
5734 `elmo-progress-notify'.
5736 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5738 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5740 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5742 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5744 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5746 (elmo-message-encache-dop): Added argument `read'.
5748 * elmo-shimbun.el (elmo-message-encache): Ditto.
5750 * elmo-net.el (elmo-message-encache): Ditto.
5752 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5753 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5754 elmo-imap4-seen-messages.
5755 (elmo-folder-msgdb-create-plugged): Initialize
5756 elmo-imap4-seen-messages;
5757 Set seen mark on elmo-imap4-seen-messages.
5759 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5761 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5762 elmo-folder-append-buffer.
5763 (elmo-folder-encache): Added optional argument `read'.
5764 (elmo-message-encache): Ditto.
5766 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5768 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5770 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5771 if append buffer content succeds.
5773 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5775 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5776 elmo-display-progress.
5778 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5779 Set 4th argument of mime-display-message.
5780 (elmo-mime-display-as-is): Ditto.
5782 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5784 * elmo-nmz.el (toplevel): Require 'mime-edit.
5785 (elmo-nmz-content-type-alist): Abolished.
5786 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5787 content is not a message.
5788 (elmo-map-message-fetch): Changed behavior exept for message content;
5789 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5790 content-type, Add From: and Subject: field.
5792 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5794 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5795 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5798 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5800 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5801 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5803 * elmo-archive.el (elmo-folder-writable-p): Defined.
5805 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5807 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5809 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5811 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5813 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5815 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5817 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5819 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5821 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5823 * elmo-util.el (elmo-address-quote-specials): New function;
5824 Renamed from `wl-address-quote-specials'.
5826 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5828 * elmo-version.el (elmo-version): Up to 2.7.4.
5830 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5832 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5834 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5836 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5837 both compile-time and run-time to avoid byte-compile warning.
5839 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5841 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5843 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5845 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5847 (elmo-mime-display-as-is-internal): Use it.
5849 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5850 if `read-passwd' is not defined.
5852 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5854 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5856 (elmo-folder-status): Call `elmo-folder-open-internal';
5857 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5858 (elmo-folder-close-internal): Set location-alist as nil.
5859 (elmo-folder-clear): Define.
5860 (elmo-folder-check): Don't set location-alist as nil.
5862 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5864 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5866 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5867 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5869 * mmimap.el (mime-imap-entity::requested): New slot.
5870 (mime-imap-location-fetch-entity-p): New generic function.
5871 (mime-decode-parameters): Define using `defun-maybe'.
5872 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5873 content-type structure.
5874 (mime-entity-body): Return empty body if
5875 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5877 * elmo.el (elmo-message-displaying): New variable.
5879 * elmo-mime.el (elmo-mime-message-display): Bind
5880 elmo-message-displaying as t.
5882 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5884 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5886 * acap.el (acap-open): erase buffer before starting network process.
5887 (acap-store): Rewrite.
5889 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5891 * elmo-imap4.el (elmo-imap4-default-mailbox,
5892 elmo-imap4-default-server
5893 elmo-imap4-default-authenticate-type,
5894 elmo-imap4-default-user,
5895 elmo-imap4-default-port,
5896 elmo-imap4-default-stream-type,
5897 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5899 * elmo-pop3.el (elmo-pop3-default-user,
5900 elmo-pop3-default-server,
5901 elmo-pop3-default-authenticate-type,
5902 elmo-pop3-default-port,
5903 elmo-pop3-default-stream-type,
5904 elmo-pop3-stream-type-alist): Ditto.
5906 * elmo-nntp.el (elmo-nntp-default-server,
5907 elmo-nntp-default-user,
5908 elmo-nntp-default-port,
5909 elmo-nntp-default-stream-type,
5910 elmo-nntp-stream-type-alist): Ditto.
5912 * elmo-vars.el: Follow changes above.
5913 (elmo-setting): New custom group; added 'elmo-setting group to
5916 * elmo-version.el (elmo-version): Up to 2.7.3.
5918 * acap.el (acap-parse-response): Don't delete process when BYE
5919 response (It causes hang-up on slow network environment).
5920 (toplevel): Added comment.
5922 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5924 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5926 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5928 (acap-parse-return-metadata): Ditto.
5931 (toplevel): Fixed typo.
5933 * acap.el: New file.
5934 (acap-network-stream-open): Show "Connecting..." message.
5935 (acap-parse-response): Fixed problem for BYE untagged response.
5936 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5937 (toplevel): Added tiny comments.
5939 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5941 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5942 space delimiter for uidl response.
5944 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5946 * elmo-vars.el (elmo-use-semi): Eliminated.
5948 * elmo-util.el (elmo-string-assoc-all): New function.
5950 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5952 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5953 property 'mime-preview-situation for `mime-preview-quit'.
5955 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5957 * elmo.el (elmo-message-fetch-with-cache-process): Call
5958 elmo-message-fetch-internal instead of causing an error when fetch
5959 strategy is 'entire but only 'section cache is available.
5961 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5963 * elmo-version.el (elmo-version): Up to 2.7.2.
5965 * elmo.el (elmo-generic-folder-append-messages): Make
5966 fetch-strategy with `use-cache'.
5968 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5969 (elmo-dop-queue-method-name): New macro.
5971 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5973 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5974 unbalanced parenthesis.
5976 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5978 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5980 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5982 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5983 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5985 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5987 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5990 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5992 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5993 (elmo-message-use-cache-p): Define.
5994 (elmo-folder-msgdb-create): Treat cache.
5996 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5998 * elmo-nntp.el (elmo-network-initialize-session): Call
5999 `elmo-nntp-send-mode-reader'.
6000 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6002 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6004 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6006 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6009 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6010 for `elmo-plugged-p'.
6011 (elmo-open-network-stream): Fixed stream-type argument.
6013 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6015 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6016 unknown archive type is specified.
6018 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6020 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6022 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6023 while loading msgdb.
6025 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6026 (elmo-folder-open-internal): Rewrite.
6028 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6030 * elmo-mime.el (elmo-mime-display-as-is-internal):
6031 Adjust buffer-multibyte status.
6033 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6035 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6036 of elmo-condition-find-key.
6038 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6039 (elmo-condition-in-msgdb-p): Ditto.
6040 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6043 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6045 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6047 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6049 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6050 label for elmo-display-progress.
6052 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6054 * elmo.el (elmo-folder-clear): New method.
6055 (elmo-folder-clear): Define.
6056 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6058 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6059 (elmo-folder-clear): Define.
6061 * elmo-map.el (elmo-folder-clear): Define.
6063 * elmo-version.el (elmo-version): Up to 2.7.1.
6065 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6067 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6070 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6072 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6073 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6075 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6077 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6079 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6082 * elmo-imap4.el (elmo-folder-initialize): Use
6083 elmo-get-network-stream-type.
6085 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6087 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6089 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6091 * elmo.el (elmo-message-encache): Set unread argument for
6094 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6096 * elmo.el (elmo-net-port-info): New method.
6098 * elmo-shimbun.el (elmo-net-port-info): Define.
6099 (elmo-message-encache): Ditto.
6101 * elmo-net.el (elmo-net-port-info): Define as method.
6103 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6104 unplugged status when elmo-enable-disconnected-operation is t.
6106 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6107 of spool folder before checking new number.
6109 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6111 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6112 (elmo-network-setup-session): Ditto.
6113 (elmo-message-fetch-plugged): Ditto.
6114 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6115 (elmo-network-initialize-session): Ditto.
6116 (elmo-pop3-read-response): Abolish 3rd argument.
6117 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6118 (elmo-pop3-read-contents): Ditto.
6119 (elmo-pop3-read-body): Ditto.
6120 (elmo-folder-status): Call elmo-folder-close.
6121 (elmo-pop3-lock): Abolish.
6122 (elmo-pop3-unlock): Ditto.
6123 (elmo-pop3-locked-p): Ditto.
6124 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6126 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6128 * elmo-version.el (elmo-version): Up to 2.7.0.
6130 * elmo-pop3.el (elmo-pop3-debug): New variable.
6131 (elmo-pop3-debug-inhibit-logging): Ditto.
6132 (elmo-pop3-debug): New function.
6133 (elmo-pop3-send-command): Call elmo-pop3-debug.
6134 (elmo-pop3-read-response): Added keep-lock optional argument;
6135 Don't unlock if keep-lock is non-nil.
6136 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6137 (elmo-network-authenticate-session): Bind
6138 elmo-pop3-debug-inhibit-logging as t.
6139 (elmo-network-setup-session): Call elmo-pop3-read-response with
6141 (elmo-pop3-read-msg): Ditto.
6142 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6143 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6144 (elmo-network-initialize-session): Call elmo-pop3-lock.
6145 (elmo-folder-close-internal): Don't clear location-alist slot.
6146 (elmo-folder-check): Clear location-alist slot.
6148 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6150 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6151 (elmo-pop3-send-command): Call elmo-pop3-lock.
6152 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6153 (elmo-pop3-read-contents): Ditto.
6154 (elmo-pop3-lock): New function.
6155 (elmo-pop3-unlock): Ditto.
6156 (elmo-pop3-locked-p): Ditto.
6157 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6160 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6162 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6164 * elmo-util.el (elmo-file-field-primitive-condition-match):
6165 New inline function (Don't fetch file content if "first" or "last").
6166 (elmo-file-field-condition-match): Use
6167 elmo-file-field-primitive-condition-match.
6169 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6172 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6173 (elmo-message-fetch-plugged): Fixed.
6175 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6177 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6179 * elmo.el (elmo-folder-move-messages): Bind
6180 elmo-inhibit-display-retrieval-progress as t while moving messages.
6182 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6184 (elmo-inhibit-display-retrieval-progress): Ditto.
6186 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6187 for retrieval progress;
6188 Don't display progress when total buffer size is smaller than
6189 elmo-display-retrieval-progress-threshold.
6190 (elmo-message-fetch-plugged): Don't display progress when
6191 elmo-inhibit-display-retrieval-progress is non-nil.
6193 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6194 for retrieval progress;
6195 Don't display progress when literal size is smaller than
6196 elmo-display-retrieval-progress-threshold.
6197 (elmo-imap4-message-fetch): Don't display progress when
6198 elmo-inhibit-display-retrieval-progress is non-nil.
6200 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6202 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6203 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6204 (elmo-imap4-message-fetch): Likewise.
6206 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6207 (elmo-shimbun-index-range-alist): Ditto.
6208 (elmo-shimbun-use-entire-index): Abolish.
6209 (shimbun-mua-use-entire-index): Ditto.
6210 (elmo-shimbun-folder): Added new slot `range'.
6211 (elmo-folder-initialize): Setup slot `range'.
6213 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6215 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6216 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6217 (elmo-shimbun-get-headers): Use return value of
6218 `shimbun-article-expiration-days'.
6219 (elmo-folder-close-internal): Clean up last-check slot.
6221 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6222 (elmo-pop3-total-size): New variable.
6223 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6225 * elmo.el (elmo-folder-reserve-status-p): New method.
6227 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6228 (elmo-shimbun-use-entire-index): New user option.
6229 (shimbun-elmo-mua): New class.
6230 (shimbun-mua-search-id): Define.
6231 (shimbun-mua-use-entire-index): Ditto.
6232 (elmo-shimbun-folder:last-check): New slot.
6233 (elmo-shimbun-headers-cache-header-list): Abolish.
6234 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6235 (elmo-shimbun-headers-cache-header-hash): Ditto.
6236 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6237 (elmo-shimbun-headers-cache-last-check): Ditto.
6238 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6239 (elmo-shimbun-headers-check-p): Rewrite.
6240 (elmo-shimbun-msgdb-to-headers): New function.
6241 (elmo-shimbun-get-headers): Rewrite.
6242 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6243 (elmo-folder-open-internal): Get headers only if
6244 `elmo-shimbun-headers-check-p' is non-nil.
6245 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6247 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6248 (elmo-quit): Removed.
6250 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6252 (elmo-msgdb-overview-entity-set-extra): Ditto.
6253 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6255 * elmo-map.el (elmo-folder-status): Don't call
6256 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6259 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6261 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6262 of `elmo-msgdb-search-internal-primitive' when condition's car is
6265 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6267 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6269 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6271 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6272 call `elmo-pipe-drain'.
6274 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6276 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6277 typo. (elmo-cache-folder -> elmo-mark-folder)
6279 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6281 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6282 `elmo-message-fetch'.
6284 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6286 * elmo-net.el (elmo-message-encache): Fixed typo.
6287 (elmo-message-fetch-unplugged): Changed call
6288 `elmo-message-fetch-internal' without argument `outbuf'.
6290 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6292 * elmo.el (elmo-message-encache): Define as generic function.
6293 (elmo-message-fetch-field): New generic function.
6294 (elmo-message-fetch-with-cache-process): Cause an error when
6295 fetch strategy is 'entire but only 'section cache is available.
6296 (toplevel): Fixed nmz folder definition.
6298 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6299 (elmo-msgdb-resume-list-filename): Ditto.
6300 (elmo-queue-filename): Ditto.
6301 (elmo-enable-disconnected-operation): Changed default value to t.
6303 * elmo-util.el (elmo-cache-path-section-p): New function.
6304 (elmo-file-cache-get): Use it.
6305 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6306 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6307 (elmo-dop-queue-save): Ditto.
6309 * elmo-net.el (elmo-folder-status-unplugged): Call
6310 elmo-folder-status-dop.
6311 (elmo-folder-list-messages-unplugged): Implemented.
6312 (elmo-folder-delete-messages-unplugged): Define.
6313 (elmo-folder-msgdb-create): Define.
6314 (elmo-folder-msgdb-create-unplugged): Define.
6315 (elmo-folder-mark-as-read-unplugged): Ditto.
6316 (elmo-folder-unmark-read-unplugged): Ditto.
6317 (elmo-folder-mark-as-important-unplugged): Ditto.
6318 (elmo-folder-unmark-important-unplugged): Ditto.
6319 (elmo-message-encache): Ditto.
6321 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6322 (elmo-dop-queue-save): Ditto.
6324 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6325 `elmo-folder-msgdb-create'.
6326 (elmo-folder-append-buffer): Implemented unplugged operation.
6327 (elmo-folder-append-messages): Call parent method in unplugged status.
6328 (elmo-message-fetch-unplugged): Removed definition.
6329 (elmo-message-fetch-field): Implemented.
6331 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6332 (elmo-dop-folder): Removed variable definition.
6333 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6334 (elmo-dop-queue-flush): Implemented.
6335 (elmo-dop-queue-merge): Removed definition (TODO).
6336 (elmo-dop-spool-folder): New function.
6337 (elmo-dop-spool-folder-append-buffer): Ditto.
6338 (elmo-dop-spool-folder-list-messages): Ditto.
6339 (elmo-dop-list-deleting-messages): Ditto.
6340 (elmo-folder-append-buffer-dop): Ditto.
6341 (elmo-folder-delete-messages-dop): Ditto.
6342 (elmo-message-encache-dop): New inline function.
6343 (elmo-create-folder-dop): Ditto.
6344 (elmo-folder-mark-as-read-dop): Ditto.
6345 (elmo-folder-unmark-read-dop): Ditto.
6346 (elmo-folder-mark-as-important-dop): Ditto.
6347 (elmo-folder-unmark-important-dop): Ditto.
6348 (elmo-folder-status-dop): Fixed.
6349 (elmo-folder-append-buffer-dop-delayed): New function.
6350 (elmo-folder-delete-messages-dop-delayed): Ditto.
6351 (elmo-dop-msgdb): Ditto.
6353 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6355 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6357 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6359 * elmo.el (elmo-folder-move-messages): Fixed problem when
6360 `dst-folder' is 'null.
6362 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6364 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6365 instead of current mark.
6367 * elmo-multi.el (elmo-folder-list-importants-internal): No
6368 operation if importants is not list.
6370 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6371 Return t if importants is not list.
6373 * elmo-map.el (elmo-map-folder-list-importants): Define.
6374 (elmo-folder-list-importants-internal): Check return value of
6375 `elmo-map-folder-list-importants-internal'.
6377 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6379 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6381 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6383 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6385 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6387 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6388 (Patch is provided by <kita@coe.nttdata.co.jp>).
6390 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6392 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6395 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6397 * elmo.el (elmo-message-fetch): Define.
6398 (elmo-message-fetch-with-cache-process): New generic method.
6399 (elmo-message-fetch-internal): New generic method.
6400 (elmo-folder-synchronize):
6402 * elmo-archive.el (elmo-message-fetch-internal): Define.
6403 (elmo-message-fetch): Eliminated.
6405 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6406 (elmo-message-fetch): Eliminated.
6408 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6410 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6412 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6413 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6415 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6416 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6418 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6420 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6422 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6424 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6425 (elmo-message-fetch-unplugged): New generic method.
6426 (elmo-message-fetch-internal): Remove cache process (Renamed from
6427 `elmo-message-fetch').
6429 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6430 (elmo-message-fetch): Eliminated.
6431 (elmo-message-fetch-unplugged): Ditto.
6433 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6435 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6437 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6438 of `to-be-deleted' from number-alist to number-list.
6440 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6442 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6443 (elmo-folder-mark-as-important): Ditto.
6445 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6447 * elmo.el (elmo-folder): Added process-duplicates slot.
6449 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6450 (elmo-folder-unmark-read): Ditto.
6451 (elmo-folder-unmark-important): Ditto.
6452 (elmo-folder-mark-as-important): Ditto.
6454 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6455 duplicated message processing.
6457 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6459 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6461 * elmo-util.el (elmo-list-subdirectories-1): New function.
6462 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6463 (elmo-mapcar-list-of-list): New function.
6465 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6466 `elmo-mapcar-list-of-list' instead of `mapcar'.
6468 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6470 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6471 `elmo-have-link-count'. Return the fully qualified folder name.
6473 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6475 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6476 (elmo-shimbun-headers-cache): New internal variable.
6477 (elmo-shimbun-headers-cache-header-list): New inline function.
6478 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6479 (elmo-shimbun-headers-cache-header-hash): Ditto.
6480 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6481 (elmo-shimbun-headers-cache-last-check): Ditto.
6482 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6483 (elmo-shimbun-lapse-seconds): Ditto.
6484 (elmo-shimbun-headers-cache-check-p): Ditto.
6485 (elmo-shimbun-get-headers): New function.
6486 (elmo-folder-open-internal): Call it.
6487 (elmo-quit): Define (Clear headers-cache).
6489 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6491 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6493 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6494 (elmo-msgdb-flist-save): Ditto.
6496 * elmo-shimbun.el (elmo-folder-list-subfolders):
6497 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6498 (elmo-folder-exists-p): Ditto.
6500 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6501 argument for `shimbun-header-insert'.
6503 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6505 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6508 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6509 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6511 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6513 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6514 (elmo-folder-plugged-p): Define.
6515 (elmo-folder-set-plugged): Ditto.
6516 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6517 (elmo-folder-list-messages-internal): Return t if unplugged.
6518 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6520 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6521 when elmo-folder-list-messages-internal method of children returns t.
6523 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6525 (elmo-folder-open-internal): Don't update if unplugged status.
6527 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6529 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6532 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6534 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6536 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6539 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6541 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6543 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6544 (elmo-folder-open-internal): Set up headers slot.
6545 (elmo-folder-check): Call elmo-folder-close-internal and
6546 elmo-folder-open-internal.
6547 (elmo-folder-close-internal): Clean up headers slot.
6549 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6551 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6552 exactly folder list.
6553 (elmo-folder-append-messages): Fixed append archive with prefix.
6555 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6556 make temp files with start-number.
6558 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6560 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6562 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6563 argument `visible-only'.
6564 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6567 * elmo-pop3.el (elmo-folder-open-internal): Check
6568 `elmo-inhibit-number-mapping' is non-nil.
6570 * elmo-pipe.el (elmo-folder-status): Fixed.
6572 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6574 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6576 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6577 (elmo-folder-open-internal): Setup `header-hash' slot.
6578 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6580 (elmo-map-message-fetch): Ditto.
6582 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6584 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6585 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6586 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6587 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6589 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6591 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6593 * sb-airs.el: Added footer.
6595 * shimbun.el (shimbun-article): Define as luna-method.
6597 * sb-tcup.el: New file.
6599 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6600 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6602 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6604 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6605 (shimbun-get-headers): Ditto.
6607 * elmo.el: Moved obsolete variable definitions from
6608 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6610 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6613 * shimbun.el: New file.
6615 * elmo-shimbun.el: New file.
6617 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6618 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6619 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6620 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6622 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6624 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6627 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6629 * elmo.el (elmo-folder-msgdb): Define as macro.
6630 (elmo-folder-open): Added argument `load-msgdb'.
6631 (elmo-generic-folder-open): Ditto.
6632 (elmo-folder-encache): New function.
6634 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6636 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6638 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6639 Eliminated argument FOLDER and added argument MSGDB.
6640 (elmo-dop-queue-load): Moved from elmo-dop.el.
6641 (elmo-dop-queue-save): Ditto.
6643 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6645 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6647 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6648 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6649 (elmo-filter-folder-list-importants-internal): Ditto.
6651 * elmo-map.el (elmo-folder-pack-number): Ditto.
6653 * elmo-mime.el (elmo-mime-message-display): Ditto.
6655 * elmo.el (elmo-generic-folder-commit): Ditto.
6656 (elmo-folder-list-unreads): Ditto.
6657 (elmo-folder-list-importants): Ditto.
6658 (elmo-generic-folder-commit): Ditto.
6659 (elmo-message-set-mark): Ditto.
6660 (elmo-generic-folder-append-msgdb): Ditto.
6661 (elmo-folder-synchronize): Ditto.
6662 (elmo-folder-messages): Ditto.
6663 (elmo-init): Call elmo-dop-queue-load.
6664 (elmo-folder-list-messages): Ditto.
6666 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6667 (elmo-nntp-folder-process-crosspost): Ditto.
6668 (elmo-folder-list-unreads-internal): Ditto.
6670 * elmo-dop.el: Removed old functions.
6672 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6674 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6675 `folder' to `msgdb'.
6677 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6679 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6680 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6682 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6685 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6687 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6690 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6691 (mmimap-parse-parameters-from-list): Define as alias for
6692 `mime-decode-parameter-plist' if it is defined as function.
6693 (mmimap-make-mime-entity): Added argument `number'.
6694 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6696 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6698 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6700 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6702 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6704 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6706 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6708 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6709 when elmo-imap4-default-authenticate-type is nil.
6710 (elmo-folder-list-subfolders): Ditto
6711 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6712 (elmo-imap4-fetch-callback-1-subr): Renamed from
6713 `elmo-imap4-fetch-callback-1' and define as inline function.
6714 (elmo-imap4-fetch-callback-1):
6715 Renamed from `elmo-imap4-fetch-callback'.
6716 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6718 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6719 msgdb path (To keep compatibility with main trunk).
6721 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6723 * elmo-util.el (elmo-make-file-cache): Moved position of
6726 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6727 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6728 instead of `elmo-pop3-inhibit-uidl'.
6729 (elmo-folder-exists-p): Ditto.
6730 (elmo-pop3-folder-list-messages): Ditto.
6732 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6733 instead of `elmo-pop3-inhibit-uidl'.
6734 (elmo-folder-status): Ditto.
6736 * elmo-dop.el (elmo-dop-folder): New variable.
6737 (elmo-dop-lock-message): Eliminated.
6738 (elmo-dop-unlock-message): Ditto.
6739 (elmo-dop-lock-list-load): Ditto.
6740 (elmo-dop-lock-list-save): Ditto.
6741 (elmo-dop-delete-folder): Ditto.
6742 (elmo-dop-rename-folder): Ditto.
6744 * elmo.el: Removed incomplete commentary.
6746 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6748 * elmo.el (toplevel): Require 'elmo-version first;
6749 for little `recursive-load-depth' settings.
6750 Fix "ends here" comment.
6752 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6754 * elmo-util.el (toplevel): Require 'poem;
6755 Some functions are moved from elmo-cache.el.
6757 * elmo-net.el (toplevel): Require 'elmo-cache.
6759 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6761 * elmo.el (toplevel): Ditto.
6763 * elmo-cache.el: Rewrite with luna;
6764 Some functions are moved to elmo-util.el.
6766 * elmo-internal.el (elmo-internal-folder-list): New variable.
6767 (elmo-internal-folder-initialize): Rewrite.
6768 (elmo-folder-list-subfolders): Ditto.
6770 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6771 (elmo-cache-collect-sub-directories): Ditto.
6773 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6775 * elmo-version.el (elmo-version): Up to 2.5.8.
6777 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6779 * elmo-util.el (elmo-list-insert): New function.
6781 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6783 * elmo.el (elmo-init): New function.
6784 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6786 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6787 (Renamed from `elmo-localdir-header-chop-length').
6789 * elmo-pop3.el (elmo-pop3-use-cache,
6790 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6792 * elmo-nntp.el (elmo-message-fetch): Define.
6793 (elmo-message-fetch-unplugged): Ditto.
6794 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6795 (elmo-nntp-use-cache): Ditto.
6796 (elmo-nntp-max-number-precedes-list-active): Ditto.
6798 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6800 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6801 `elmo-msgdb-insert-file-header'.
6802 Use `elmo-msgdb-file-header-chop-length'.
6804 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6807 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6808 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6809 `elmo-msgdb-insert-file-header'.
6811 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6813 Define obsolete variables with `elmo-define-obsolete-variable',
6815 * elmo-util.el (elmo-warning-buffer-name): New constant.
6816 (elmo-warning): New function.
6817 (elmo-obsolete-variable-alist): New variable.
6818 (elmo-obsolete-variable-show-warnings): New variable.
6819 (elmo-define-obsolete-variable): New function.
6820 (elmo-resque-obsolete-variable): Ditto.
6821 (elmo-resque-obsolete-variables): Ditto.
6823 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6825 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6828 * elmo-pop3.el, elmo-nntp.el: Use custom.
6830 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6832 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6833 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6835 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6837 * Luna-fy Kenichi OKADA's following changes.
6838 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6840 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6842 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6844 * elmo-util.el (elmo-display-progress): Prefer
6845 `progress-feedback-with-label' to `lprogress-display'.
6847 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6849 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6851 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6853 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6854 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6855 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6856 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6857 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6858 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6859 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6860 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6861 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6862 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6863 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6864 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6865 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6867 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6869 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6870 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6872 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6874 * elmo.el (elmo-folder-process-crosspost): New generic method.
6875 (elmo-folder-writable-p): Ditto.
6876 (elmo-folder-message-appendable-p): Eliminated.
6877 (elmo-generic-folder-append-msgdb): Rewrite.
6878 (elmo-newsgroups-hashtb): New internal variable.
6879 (elmo-crosspost-message-set): Eliminated.
6880 (elmo-crosspost-message-delete): Ditto.
6881 (elmo-setup-subscribed-newsgroups): New function.
6882 (elmo-crosspost-message-alist-modified): New internal variable.
6883 (elmo-crosspost-message-alist-load): New function (Renamed from
6884 `wl-crosspost-alist-load').
6885 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6886 `wl-crosspost-alist-save').
6888 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6890 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6892 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6893 elmo-newsgroups-hashtb).
6894 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6895 `elmo-nntp-folder-update-crosspost-message-alist'.
6896 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6897 `elmo-nntp-groups-hashtb'.
6898 (elmo-nntp-make-groups-hashtb): Eliminated.
6899 (elmo-nntp-parse-newsgroups): New function (Renamed from
6900 `wl-parse-newsgroups').
6901 (elmo-folder-creatable-p, elmo-folder-writable-p,
6902 elmo-folder-close-internal, elmo-folder-mark-as-read,
6903 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6905 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6907 * elmo-net.el (elmo-message-fetch): Check buffer size.
6909 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6911 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6913 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6914 before `close' command.
6916 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6917 `mark-alist' (All other related portions are changed).
6919 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6921 * elmo-util.el (elmo-create-hash-size): Eliminated.
6922 (elmo-make-hash) Make a hash with `one less than a power of two'
6925 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6926 (elmo-hash-maximum-size): Changed value.
6928 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6930 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6931 (elmo-mime-message-display-as-is): Ditto.
6933 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6935 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6936 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6938 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6940 * elmo-mark.el: New file.
6942 * elmo-internal.el: Rewrite (Almost empty).
6944 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6946 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6947 (mime-imap-entity-header-string): Ditto.
6948 (mmimap-entity-section): Rewrite.
6950 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6952 * elmo-nmz.el: New file.
6954 * elmo-pipe.el: Rewrite with luna.
6956 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6958 * elmo-archive.el: Rewrite with luna.
6960 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6961 (elmo-folder-list-importants-internal): Ditto.
6963 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6965 * elmo-archive.el (elmo-archive-version): Abolish.
6966 (toplevel) Removed `boso' comment.
6968 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6970 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6971 elmo-msgdb-add-msgs-to-seen-list-subr;
6972 Changed argument seen-marks to unread-marks.
6974 * elmo-nntp.el: Rewrite with luna.
6976 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6978 * elmo-filter.el: Rewrite with luna.
6980 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6982 * elmo-pop3.el: Rewrite with luna.
6984 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6986 * elmo-multi.el: Rewrite with luna.
6988 * elmo-vars.el (elmo-use-killed-list): Abolish.
6989 All other related portions are changed.
6990 (elmo-filename-replace-string-alist): Renamed from
6991 elmo-msgid-replace-string-alist.
6993 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6995 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6997 * elmo-map.el: New file.
6998 * elmo-maildir.el: Rewrite with luna.
7000 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7002 * elmo.el: Changed meaning of `elmo-folder-commit'.
7003 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7005 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7007 * elmo.el (elmo-folder-append-buffer): New function.
7008 (Renamed from `elmo-append-msg')
7010 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7012 * elmo-mime.el: New file.
7014 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7016 * elmo-cache.el: Rewrite.
7018 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7020 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7022 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7024 * elmo-vars.el (elmo): New group.
7025 (elmo-strict-diff-folder-regexp): New variable.
7027 * elmo-util.el (elmo-call-func): Abolish.
7028 (elmo-folder-get-type): Ditto.
7029 (elmo-*-get-spec): Ditto.
7030 (elmo-*-spec-*): Ditto.
7031 (elmo-imap4-identical-name-space-p): Ditto.
7032 (elmo-folder-identical-system-p): Ditto.
7033 (elmo-folder-direct-copy-alist): Ditto.
7034 (elmo-folder-direct-copy-p): Ditto.
7036 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7037 (elmo-folder-initialize): Define.
7038 (elmo-folder-get-primitive-list): Ditto.
7040 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7041 (elmo-folder-initialize): Define.
7042 Renamed `elmo-network-session-host-internal' to
7043 `elmo-network-session-server-internal'.
7045 * elmo-multi.el (elmo-multi-folder): New luna class.
7046 (elmo-folder-initialize): Define.
7047 (elmo-folder-get-primitive-list): Ditto.
7048 (elmo-folder-contains-type): Ditto.
7049 (elmo-message-use-cache-p): Ditto.
7051 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7052 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7054 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7055 (elmo-folder-initialize): Define.
7057 * elmo-filter.el (elmo-filter-folder): New luna class.
7058 (elmo-folder-initialize): Define.
7059 (elmo-folder-get-primitive-list): Ditto.
7060 (elmo-folder-contains-type): Ditto.
7062 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7064 * elmo-imap4.el: Rewrite with luna.
7066 * mmimap.el: New file.
7068 * mmelmo.el, mmelmo-imap4.el: Removed.
7070 * elmo-net.el: Ditto.
7072 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7073 (elmo-folder-initialize): Define.
7075 * elmo-archive.el (elmo-archive-folder): New luna class.
7076 (elmo-folder-initialize): Define.
7078 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7079 `elmo-folder-msgdb-path'.
7080 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7083 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7085 * elmo.el: New file.
7087 * elmo2.el: Renamed to elmo.el.
7090 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7092 * elmo-cache.el (elmo-cache-expire-by-size): Count
7093 a disk usage for a cache file entry in KB even when
7094 its kind is a directory.
7096 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7098 * elmo-version.el (elmo-version): Up to 2.5.7.
7100 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7102 * elmo-version.el (elmo-version): Up to 2.5.6.
7104 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7106 * elmo-version.el (elmo-version): Up to 2.5.5.
7108 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7110 * elmo-imap4.el (elmo-network-authenticate-session):
7111 Fixed a logic for response checking.
7113 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7115 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7116 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7117 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7120 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7121 for `starttls-open-stream' and `starttls-negotiate'.
7123 * elmo-nntp.el: Remove autoload settings for
7124 `starttls-open-stream' and `starttls-negotiate'.
7126 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7127 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7128 `luna-define-class' with `eval-and-compile'.
7130 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7132 * elmo-util.el (elmo-read-search-condition-internal):
7133 Require an element of table for searching field.
7135 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7137 * elmo-version.el (elmo-version): Up to 2.5.4.
7139 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7141 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7143 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7145 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7147 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7149 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7152 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7154 * elmo-imap4.el (elmo-imap4-delete-folder):
7155 Send "close" before "delete" (Use commented out line).
7156 (elmo-imap4-rename-folder): Ditto.
7158 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7159 folder string itself.
7160 (elmo-dop-list-deleted): New function.
7161 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7164 * elmo-util.el (elmo-string-rassoc-all): New function.
7166 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7168 * elmo-version.el (elmo-version): Up to 2.5.3.
7170 * elmo-net.el (elmo-network-get-session): Changed logic for
7171 checking process status.
7173 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7175 Changed logic for checking process status.
7177 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7179 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7181 (elmo-network-setup-session): Set UIDL hash size according to
7182 the length of list response.
7183 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7184 according to the length of list response;
7185 Return the length of list response.
7186 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7188 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7190 * elmo-imap4.el (toplevel): Require 'ssl.
7191 Add autoload 'starttls.
7192 * elmo-pop3.el (toplevel): Ditto.
7193 * elmo-nntp.el (toplevel): Ditto.
7195 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7197 * elmo-imap4.el (toplevel): defun at compile time.
7198 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7199 sasl-next-step, sasl-step-data, sasl-step-set-data.
7200 * elmo-pop3.el (toplevel): Ditto.
7202 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7204 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7206 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7208 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7210 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7211 and `elmo-pop-auth-apop'.
7213 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7215 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7217 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7219 * elmo-pop3.el (elmo-network-authenticate-session): Split
7220 encoded response value.
7222 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7224 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7225 `elmo-pop3-force-login'.
7226 Redefine `sasl-mechanisms'.
7227 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7229 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7231 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7232 Delete `elmo-imap4-authenticator-alist'.
7233 (elmo-imap4-auth-cram-md5): Delete.
7234 (elmo-imap4-auth-digest-md5): Delete.
7236 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7238 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7239 (elmo-pop3-auth-scram-md5): Ditto.
7240 (elmo-pop3-auth-cram-md5): Ditto.
7242 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7244 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7245 Delete `elmo-pop3-authenticator-alist'.
7247 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7249 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7251 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7253 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7255 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7257 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7259 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7260 Fixed problem when `elmo-pop3-use-uidl' is nil.
7261 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7263 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7265 * elmo-version.el (elmo-version): Up to 2.5.2.
7267 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7269 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7271 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7272 (elmo-pop3-msgdb-create-as-numlist): Use it.
7274 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7275 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7277 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7278 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7280 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7282 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7283 when elmo-mark-as-read is called with second argument nil.
7285 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7287 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7288 Moved to elmo-util.el.
7290 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7291 Moved from elmo-pipe.el
7293 * elmo-archive.el (elmo-archive-call-process): Enclose with
7296 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7297 "RFC822" (because RFC822.PEEK is obsolete).
7298 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7300 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7302 * elmo-archive.el (elmo-archive-call-process): Don't check for
7303 the exit status when Nemacs is running.
7305 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7307 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7310 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7311 (elmo-pop3-get-spec): Set default of auth to 'user.
7313 * elmo-imap4.el (elmo-imap4-session-check):
7314 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7315 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7316 (elmo-imap4-auth-login): New function; Revival.
7317 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7318 `elmo-imap4-auth-login'.
7320 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7322 * elmo2.el (toplevel): Move `product-provide' declare.
7323 * mmelmo.el (toplevel): Ditto.
7325 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7327 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7329 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7331 * elmo-util.el (elmo-folder-get-store-type): New function.
7332 (elmo-folder-direct-copy-p): Use it.
7334 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7336 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7337 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7338 and result of `elmo-imap4-use-flag-p'.
7339 (elmo-imap4-fetch-callback-1): Set mark according to
7340 the result of `elmo-imap4-use-flag-p'.
7342 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7344 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7345 (elmo-generic-list-folder-unread): Ditto.
7346 (elmo-folder-get-info): Ditto.
7347 (elmo-folder-set-info-max-by-numdb): Ditto.
7348 (elmo-folder-get-info-max): Ditto.
7349 (elmo-folder-get-info-length): Ditto.
7350 (elmo-folder-get-info-unread): Ditto.
7351 (elmo-folder-info-make-hashtb): Ditto.
7353 * elmo2.el: Removed above functions.
7355 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7357 * elmo-imap4.el (toplevel): Require 'ssl.
7358 Add autoload 'starttls.
7359 * elmo-pop3.el (toplevel): Ditto.
7360 * elmo-nntp.el (toplevel): Ditto.
7362 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7364 * elmo-imap4.el (toplevel): defun at compile time.
7365 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7366 sasl-next-step, sasl-step-data, sasl-step-set-data.
7367 * elmo-pop3.el (toplevel): Ditto.
7369 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7371 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7373 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7375 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7377 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7378 and `elmo-pop-auth-apop'.
7380 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7382 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7384 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7386 * elmo-pop3.el (elmo-network-authenticate-session): Split
7387 encoded response value.
7389 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7391 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7392 `elmo-pop3-force-login'.
7393 Redefine `sasl-mechanisms'.
7394 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7396 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7398 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7399 Delete `elmo-imap4-authenticator-alist'.
7400 (elmo-imap4-auth-cram-md5): Delete.
7401 (elmo-imap4-auth-digest-md5): Delete.
7403 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7405 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7406 (elmo-pop3-auth-scram-md5): Ditto.
7407 (elmo-pop3-auth-cram-md5): Ditto.
7409 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7411 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7412 Delete `elmo-pop3-authenticator-alist'.
7414 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7416 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7418 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7421 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7423 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7425 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7427 * elmo-nntp.el (elmo-nntp-get-folders-info):
7428 Fixed problem when '\' character is contained in user-id.
7429 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7432 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7434 * elmo-imap4.el (elmo-imap4-delete-folder):
7435 Send "close" before "delete" (Use commented out line).
7436 (elmo-imap4-rename-folder): Ditto.
7438 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7439 folder string itself.
7440 (elmo-dop-list-deleted): New function.
7441 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7444 * elmo-util.el (elmo-string-rassoc-all): New function.
7446 * elmo-version.el (elmo-version): Up to 2.5.1.
7448 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7450 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7452 * elmo-internal.el (elmo-internal-search): Fix last change.
7454 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7456 * elmo-internal.el (elmo-internal-search): Rewrite.
7457 (Fixed problem which is pointed out by Akihiro MOTOKI
7458 <motoki@da.jp.nec.com>)
7460 * elmo-version.el (elmo-version): Up to 2.5.0.
7462 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7464 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7466 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7468 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7469 non-nil, make hierarchy.
7471 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7473 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7474 `elmo-pop3-use-uidl' must be bound to nil.
7475 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7477 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7479 * elmo-util.el (elmo-copy-file): Don't cause an error after
7480 `add-name-to-file' failed.
7482 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7483 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7485 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7487 * elmo-version.el (elmo-version): Up to 2.3.93.
7489 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7491 * elmo-util.el (elmo-flatten): New function.
7493 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7495 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7497 * elmo-cache.el (toplevel): Ditto.
7498 * elmo-database.el (toplevel): Ditto.
7499 * elmo-date.el (toplevel): Ditto.
7500 * elmo-dop.el (toplevel): Ditto.
7501 * elmo-filter.el (toplevel): Ditto.
7502 * elmo-imap4.el (toplevel): Ditto.
7503 * elmo-internal.el (toplevel): Ditto.
7504 * elmo-localdir.el (toplevel): Ditto.
7505 * elmo-localnews.el (toplevel): Ditto.
7506 * elmo-maildir.el (toplevel): Ditto.
7507 * elmo-msgdb.el (toplevel): Ditto.
7508 * elmo-multi.el (toplevel): Ditto.
7509 * elmo-net.el (toplevel): Ditto.
7510 * elmo-nntp.el (toplevel): Ditto.
7511 * elmo-pipe.el (toplevel): Ditto.
7512 * elmo-pop3.el (toplevel): Ditto.
7513 * elmo-util.el (toplevel): Ditto.
7514 * elmo-vars.el (toplevel): Ditto.
7515 * elmo2.el (toplevel): Ditto.
7516 * mmelmo-imap4.el (toplevel): Ditto.
7517 * mmelmo.el (toplevel): Ditto.
7519 * elmo-version.el (elmo-version): Move to top.
7521 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7522 * elmo-imap4.el (toplevel): Ditto.
7523 * elmo-localdir.el (toplevel): Ditto.
7524 * elmo-msgdb.el (toplevel): Ditto.
7525 * elmo-nntp.el (toplevel): Ditto.
7526 * elmo-pop3.el (toplevel): Ditto.
7527 * elmo-version.el (toplevel): Ditto.
7529 * elmo-localnews.el (toplevel): Added Keyword header.
7531 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7533 * elmo-version.el (product-version-as-string): Defined using
7537 * elmo-localdir.el (toplevel): Updated copyright notice.
7538 * elmo-version.el (toplevel): Ditto.
7539 * elmo-msgdb.el (toplevel): Ditto.
7540 * elmo-imap4.el (toplevel): Ditto.
7541 * elmo-nntp.el (toplevel): Ditto.
7542 * elmo-pop3.el (toplevel): Ditto.
7544 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7546 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7549 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7550 parameter value (It sometimes contains raw kanji).
7552 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7554 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7555 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7557 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7559 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7561 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7563 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7564 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7566 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7568 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7569 value if selecting folder succceeded.
7570 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7572 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7574 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7577 * elmo-util.el (elmo-string-matched-member): New function.
7579 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7581 * elmo-util.el (elmo-unintern): New macro.
7582 (elmo-number-set-member): Fixed docstring.
7584 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7587 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7589 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7590 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7592 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7594 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7597 Return non-nil if selecting folder succeeded.
7598 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7600 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7602 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7603 `file-name-completion' returns t.
7604 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7605 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7606 directory if it does not exist.
7607 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7610 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7612 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7613 enclosure (It's harmful in unplugged status).
7615 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7617 * mmelmo-1.el: Removed.
7619 * mmelmo-2.el: Ditto.
7621 * mmelmo-imap4-1.el: Ditto.
7623 * mmelmo-imap4-2.el: Ditto.
7625 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7627 * mmelmo.el: Merged mmelmo-2.el.
7629 * elmo-version.el (elmo-version): Up to 2.3.92.
7631 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7633 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7634 elmo-update-number): Remove last period in "...done." message.
7635 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7637 * elmo-cache.el (elmo-cache-expire-by-size,
7638 elmo-cache-get-sorted-cache-file-list,
7639 elmo-cache-msgdb-create-as-numlist): Ditto.
7640 * elmo-dop.el (elmo-dop-save-pending-messages,
7641 (elmo-dop-flush-pending-append-operations): Ditto.
7642 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7643 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7644 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7645 (elmo-localdir-pack-number): Ditto.
7646 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7647 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7648 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7649 mime-write-entity-content): Ditto.
7650 * pldap.el (ldap-search-basic): Ditto.
7652 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7654 * elmo-version.el (elmo-version): Up to 2.3.91.
7656 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7657 Only when filter is 'last'.
7659 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7660 (elmo-condition-parse-search-value): Use it.
7661 (elmo-read-search-condition-internal): Quote value only when
7664 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7666 * elmo2.el (elmo-generic-folder-diff): Fix.
7668 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7670 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7671 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7672 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7673 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7674 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7675 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7677 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7679 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7682 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7684 * elmo-version.el (elmo-version): Up to 2.3.90.
7686 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7687 (elmo-imap4-list-folder-important): Ditto.
7689 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7691 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7693 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7695 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7697 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7699 * elmo-nntp.el (elmo-network-initialize-session):
7700 Add starttls negotiation.
7702 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7704 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7706 (elmo-network-setup-session): Define.
7707 Call `elmo-nntp-send-mode-reader' when session opened.
7709 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7711 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7713 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7715 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7716 an invalid SPACE character ahead of `SEARCH' command. Move
7717 a valid SPACE character following `SEARCH' from conditional
7718 `format' arguments to control-strings.
7720 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7722 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7725 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7727 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7729 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7730 `w32-get-true-file-link-count' as t.
7732 * elmo-imap4.el (elmo-imap4-read): Abolished.
7733 (Renamed to `elmo-read' and moved to elmo-util.el)
7734 All other related portions are changed.
7736 * elmo-util.el (elmo-read): New function.
7737 (elmo-condition-parse-search-value): Use it.
7739 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7741 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7743 * elmo-nntp.el (elmo-nntp-session): Define.
7744 (elmo-nntp-setting): Abolished.
7745 All other related portions are changed.
7746 (elmo-nntp-get-server-command): Changed argument.
7747 (elmo-nntp-set-server-command): Ditto.
7748 (elmo-nntp-xover-p): Ditto.
7749 (elmo-nntp-set-xover): Ditto.
7750 (elmo-nntp-listgroup-p): Ditto.
7751 (elmo-nntp-set-listgroup): Ditto.
7752 (elmo-nntp-list-active-p): Ditto.
7753 (elmo-nntp-set-list-active): Ditto.
7754 (elmo-nntp-xhdr-p): Ditto.
7755 (elmo-nntp-set-xhdr): Ditto.
7756 (elmo-nntp-flush-connection): Abolished.
7757 (elmo-nntp-get-connection): Abolished.
7758 (elmo-nntp-get-session): New function.
7759 (elmo-network-initialize-session): Defined.
7760 (elmo-network-authenticate-session): Ditto.
7761 (elmo-nntp-send-mode-reader): Changed argument.
7762 (elmo-nntp-send-command): Changed argument.
7763 All other related portions are changed.
7764 (elmo-nntp-read-response): Ditto.
7765 (elmo-nntp-read-raw-response): Ditto.
7766 (elmo-nntp-read-contents): Ditto.
7767 (elmo-nntp-read-body): Ditto.
7768 (elmo-nntp-goto-folder): Abolished.
7769 (elmo-nntp-select-group): New function.
7770 All other related portions are changed.
7771 (This function substitutes `elmo-nntp-goto-folder')
7772 (elmo-nntp-msgdb-create-by-header): Rewrite.
7773 (elmo-nntp-get-overview): Eliminated.
7774 (elmo-nntp-get-message): Ditto.
7775 (elmo-nntp-open-connection) Abolished.
7776 (elmo-nntp-read-msg): Rewrite.
7777 (elmo-nntp-post): Ditto.
7778 (elmo-nntp-send-data): Abolished.
7779 (elmo-nntp-send-buffer): New function.
7780 (elmo-nntp-send-data-line): Define as inline function.
7781 (elmo-nntp-get-folders-info-prepare): Use session as key.
7782 (elmo-nntp-groups-read-response): Changed argument.
7783 (elmo-nntp-retrieve-headers): Ditto.
7784 (elmo-nntp-msgdb-create-message): Ditto.
7786 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7787 when searching by 'since' or 'before'.
7789 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7791 * elmo-version.el (toplevel): Use product-version-as-string for set
7792 verstion-string, if defined.
7794 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7796 * elmo-util.el: Doc fixes.
7798 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7800 * elmo-archive.el (toplevel): Use product-provide.
7801 * elmo-cache.el (toplevel): Ditto.
7802 * elmo-database.el (toplevel): Ditto.
7803 * elmo-date.el (toplevel): Ditto.
7804 * elmo-dop.el (toplevel): Ditto.
7805 * elmo-filter.el (toplevel): Ditto.
7806 * elmo-imap4.el (toplevel): Ditto.
7807 * elmo-internal.el (toplevel): Ditto.
7808 * elmo-localdir.el (toplevel): Ditto.
7809 * elmo-localnews.el (toplevel): Ditto.
7810 * elmo-maildir.el (toplevel): Ditto.
7811 * elmo-msgdb.el (toplevel): Ditto.
7812 * elmo-multi.el (toplevel): Ditto.
7813 * elmo-net.el (toplevel): Ditto.
7814 * elmo-nntp.el (toplevel): Ditto.
7815 * elmo-pipe.el (toplevel): Ditto.
7816 * elmo-pop3.el (toplevel): Ditto.
7817 * elmo-util.el (toplevel): Ditto.
7818 * elmo-vars.el (toplevel): Ditto.
7819 * elmo2.el (toplevel): Ditto.
7820 * mmelmo-1.el (toplevel): Ditto.
7821 * mmelmo-2.el (toplevel): Ditto.
7822 * mmelmo-imap4-1.el (toplevel): Ditto.
7823 * mmelmo-imap4-2.el (toplevel): Ditto.
7824 * mmelmo-imap4.el (toplevel): Ditto.
7825 * mmelmo.el (toplevel): Ditto.
7827 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7829 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7830 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7832 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7834 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7836 (elmo-multi-split-number-alist): Ditto.
7838 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7840 * elmo-version.el: New file. Use product.el.
7841 * elmo2.el: Add (require 'elmo-version).
7842 * elmo-vars.el (elmo-appname, elmo-version): Move to
7845 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7847 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7848 `elmo-msgdb-expand-path'.
7849 (elmo-msgdb-load): Ditto.
7850 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7851 (elmo-generic-list-folder-unread): Rewrite.
7852 (elmo-generic-list-folder-important): Changed argument.
7853 (elmo-list-folder-unread): Ditto.
7854 (elmo-list-folder-important): Ditto.
7855 (elmo-folder-diff): Rewrite.
7856 (elmo-generic-folder-diff): New function.
7857 (elmo-multi-get-number-alist-list): Abolished
7858 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7859 (elmo-multi-folder-diff): Moved to elmo-multi.el
7860 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7862 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7863 `elmo-msgdb-expand-path'.
7864 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7865 (elmo-pop3-read-msg): Ditto.
7866 (elmo-pop3-delete-msgs): Ditto.
7867 (elmo-pop3-folder-diff): New alias.
7869 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7870 `elmo-msgdb-expand-path'.
7871 (elmo-pipe-list-folder-unread): Changed arguments.
7872 (elmo-pipe-list-folder-important): Ditto.
7873 (elmo-pipe-folder-diff): New alias.
7875 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7876 `elmo-msgdb-expand-path'.
7877 (elmo-nntp-max-of-folder): Ditto.
7878 (elmo-nntp-msgdb-create): Ditto.
7879 (elmo-nntp-delete-msgs): Ditto.
7880 (elmo-nntp-folder-diff): New alias.
7882 * elmo-multi.el (elmo-multi-folder-diff): New function.
7883 (elmo-multi-split-mark-alist): Ditto.
7884 (elmo-multi-split-number-alist): Ditto.
7885 (elmo-multi-mark-alist-list): Abolished (Renamed to
7886 elmo-multi-split-mark-alist).
7887 (elmo-multi-list-folder-unread): Rewrite.
7888 (elmo-multi-list-folder-important): Ditto.
7889 (elmo-multi-list-folder): Set `spec' as 1st argument for
7890 `elmo-msgdb-expand-path'.
7891 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7892 instead of `elmo-multi-get-number-alist-list'.
7894 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7895 If 1st argument is not string, treat as spec.
7896 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7897 `elmo-msgdb-expand-path'.
7898 (elmo-msgdb-flist-load): Ditto.
7899 (elmo-msgdb-flist-save): Ditto.
7900 (elmo-msgdb-delete-path): Ditto.
7901 (elmo-msgdb-rename-path): Ditto.
7903 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7904 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7905 (elmo-maildir-delete-mark-msgs): Ditto.
7906 (elmo-maildir-msgdb-create): Ditto.
7907 (elmo-maildir-read-msg): Ditto.
7908 (elmo-maildir-delete-msgs): Ditto.
7909 (elmo-maildir-list-folder-subr): Ditto.
7910 (elmo-maildir-search): Ditto.
7911 (elmo-maildir-get-msg-filename): Ditto.
7912 (elmo-maildir-pack-number): Ditto.
7913 (elmo-maildir-folder-diff): New alias.
7915 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7917 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7918 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7919 (elmo-localdir-folder-diff): New alias.
7921 * elmo-internal.el (elmo-internal-list-folder-subr):
7922 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7923 (elmo-internal-list-folder-by-location): Ditto.
7924 (elmo-internal-msgdb-create): Ditto.
7925 (elmo-internal-delete-msgs): Ditto.
7926 (elmo-internal-read-msg): Ditto.
7927 (elmo-internal-folder-diff): New alias.
7929 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7930 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7931 `elmo-msgdb-expand-path'.
7932 (elmo-imap4-list-folder-unread): Changed arguments.
7933 (elmo-imap4-list-folder-important): Ditto.
7935 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7936 (elmo-filter-list-folder-important): Ditto.
7937 (elmo-filter-folder-diff): New function.
7939 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7941 * elmo-cache.el (elmo-cache-list-folder):
7942 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943 (elmo-cache-copy-msgs): Ditto.
7944 (elmo-cache-folder-diff): New alias.
7946 * elmo-archive.el (elmo-archive-list-folder-subr):
7947 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7948 (elmo-archive-get-archive-name): Ditto.
7949 (elmo-archive-create-file): Ditto.
7950 (elmo-archive-append-msg): Ditto.
7951 (elmo-archive-copy-msgs): Ditto.
7952 (elmo-archive-copy-msgs-froms): Ditto.
7953 (elmo-archive-get-msg-filename): Ditto.
7954 (elmo-archive-folder-diff): New alias.
7956 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7958 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7959 (elmo-pop3-stream-type-alist): New variable.
7960 (elmo-nntp-stream-type-alist): New variable.
7962 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7963 (elmo-kill-buffer): Ditto.
7964 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7965 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7966 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7967 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7968 (elmo-imap4-get-spec): Take into account
7969 `elmo-imap4-stream-type-alist'.
7971 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7973 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7974 (elmo-nntp-list-folders-get-cache): Ditto.
7976 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7978 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7979 character before 'uid'.
7981 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7983 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7985 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7987 * elmo-util.el (elmo-number-set-member): New function.
7988 (elmo-number-set-append-list): Ditto.
7989 (elmo-number-set-append): Ditto.
7991 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7992 Use `elmo-number-set-member'.
7993 (elmo-living-messages): Ditto.
7994 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7995 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7997 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7998 (elmo-imap4-add-to-cont-list): Abolished.
7999 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8000 instead of elmo-imap4-add-to-cont-list.
8002 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8003 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8005 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8007 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8009 * elmo-util.el (elmo-condition-parse-search-value):
8012 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8014 * elmo-util.el (elmo-condition-find-key-internal): New function.
8015 (elmo-condition-find-key): Ditto.
8017 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8018 (elmo-msgdb-search-internal): Ditto.
8019 (elmo-msgdb-search): Ditto.
8021 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8023 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8024 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8026 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8027 (elmo-nntp-search-primitive): Fixed problem when condition is
8030 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8032 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8033 (elmo-nntp-xhdr-p): New macro.
8034 (elmo-nntp-set-xhdr): Ditto.
8035 (elmo-nntp-parse-xhdr-response): New function.
8036 (elmo-nntp-retrieve-field): Ditto.
8037 (elmo-nntp-search-primitive): Ditto.
8038 (elmo-nntp-search): Implemented.
8040 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8042 * elmo-archive.el (elmo-archive-search): Set all number list to
8043 `elmo-archive-field-condition-match'
8045 * elmo-localdir.el (elmo-localdir-search): Likewise.
8047 * elmo-maildir.el (elmo-maildir-search): Likewise.
8049 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8051 * elmo-msgdb.el (elmo-living-messages): New function.
8052 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8053 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8054 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8055 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8056 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8057 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8058 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8059 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8060 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8061 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8062 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8064 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8066 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8068 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8070 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8072 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8073 arguments for `SEARCH' command.
8074 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8075 All other related portions are changed.
8077 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8079 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8080 (elmo-list-folder-unread): Rewrite.
8081 (elmo-list-folder-important): Ditto.
8083 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8084 (elmo-condition-parse-error): New inline function.
8085 (elmo-read-search-condition): New function.
8086 (elmo-read-search-condition-internal): Ditto.
8087 (elmo-parse-search-condition): Rewrite.
8088 (elmo-condition-parse): New function.
8089 (elmo-condition-parse-or-expr): Ditto.
8090 (elmo-condition-parse-and-expr): Ditto.
8091 (elmo-condition-parse-primitive): Ditto.
8092 (elmo-condition-parse-search-value): Ditto.
8093 (elmo-buffer-field-primitive-condition-match): Ditto.
8094 (elmo-buffer-field-condition-match): Rewrite.
8095 (elmo-file-field-condition-match): Ditto.
8097 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8098 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8100 * elmo-internal.el (elmo-internal-search): Set `number' and
8101 `number-list' argument of `elmo-file-field-condition-match'.
8103 * elmo-maildir.el (elmo-maildir-search): Ditto.
8105 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8106 `msgdb' as argument instead of `mark-alist'.
8107 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8110 * elmo-multi.el: Likewise.
8112 * elmo-pipe.el: Likewise.
8114 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8115 (elmo-imap4-search-internal): Rewrite.
8116 (elmo-imap4-search): Ditto.
8118 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8119 (elmo-filter-list-folder-unread): Ditto.
8120 (elmo-filter-list-folder-important): Ditto.
8121 (elmo-filter-search): Rewrite.
8123 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8124 `number-list' argument of `elmo-file-field-condition-match'.
8125 (elmo-cache-search): Ditto.
8127 * elmo-localdir.el: Likewise.
8129 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8130 number-list and pass it to `elmo-buffer-field-condition-match'.
8131 (elmo-archive-field-condition-match): Pass `number-list' to
8132 `elmo-archive-field-condition-match'
8134 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8136 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8139 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8140 (elmo-folder-diff-async-callback-data): Ditto.
8141 (elmo-folder-diff-async): New function.
8143 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8144 (elmo-network-session-cache-key): Use it as a prefix of the session
8146 (elmo-network-open-session): Ditto.
8148 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8149 (elmo-imap4-status-callback-data): Ditto.
8150 (elmo-imap4-server-diff-async-callback): New variable.
8151 (elmo-imap4-server-diff-async-callback-data): Ditto.
8152 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8153 `elmo-imap4-status-callback-data'.
8154 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8155 `elmo-imap4-status-callback-data' as nil.
8156 (elmo-imap4-server-diff): Ditto.
8157 (elmo-imap4-server-diff-async-callback-1): New function.
8158 (elmo-imap4-server-diff-async): Ditto.
8159 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8161 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8163 * elmo-util.el (elmo-list-delete): Doc fix.
8164 (elmo-delete-lists): Abolish.
8165 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8166 instead of `elmo-delete-lists'.
8168 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8170 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8173 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8175 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8176 `elmo-imap4-literal-subr'.
8177 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8178 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8180 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8182 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8183 (elmo-archive-list-folder): Fix.
8184 (elmo-archive-max-of-folder): Fix.
8186 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8188 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8189 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8190 (elmo-localdir-append-msg): Ditto.
8191 (elmo-localdir-list-folder): Fix for `nonsort'.
8192 (elmo-localdir-list-folder-subr): Fix for `killed'.
8193 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8194 (elmo-maildir-list-folder-subr): Ditto.
8195 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8196 (elmo-archive-list-folder-subr): Ditto.
8197 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8198 (elmo-internal-list-folder-subr): Ditto.
8200 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8202 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8204 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8206 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8208 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8210 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8211 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8213 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8215 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8216 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8218 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8220 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8222 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8223 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8224 before STORE command.
8226 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8228 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8230 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8231 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8233 (elmo-imap4-list-folders): Removed unused local variable.
8234 (elmo-network-initialize-session): Ditto.
8235 (elmo-imap4-delete-msg-by-id): Ditto.
8236 (elmo-imap4-parse-fetch): Ditto.
8237 (elmo-imap4-copy-msgs): Ditto.
8238 Use `dst-spec' instead of `dst-folder'.
8239 (elmo-network-authenticate-session): Check authenticate type `plain'.
8241 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8243 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8245 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8246 `elmo-imap4-response-value'.
8247 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8249 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8251 * elmo-imap4.el (elmo-imap4-send-command):
8252 Cause elmo-imap4-bye-error when current response is BYE.
8253 (elmo-imap4-arrival-filter): Changed greeting response value.
8255 * elmo2.el (elmo-imap4-bye-error): Define.
8257 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8258 (elmo-imap4-server-diff): Ditto.
8259 (elmo-imap4-response-bye-p): New macro.
8260 (elmo-imap4-response-error-text): Get text from BYE response.
8261 (elmo-imap4-read-response): Return if BYE response.
8262 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8263 (elmo-imap4-folder-exists-p): Ditto.
8264 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8265 (elmo-imap4-parse-bye): New function.
8266 (elmo-imap4-parse-response): Remove needless let.
8267 Call `elmo-imap4-parse-bye'.
8269 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8271 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8272 the mailbox does not exist.
8273 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8275 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8277 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8279 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8281 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8283 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8284 (elmo-network-initialize-session-buffer): Defined.
8286 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8288 (mmelmo-imap4-get-mime-entity): Rewrite.
8290 * elmo2.el (elmo-error): Capitalize error message.
8292 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8293 (elmo-network-session-buffer): New macro.
8294 (elmo-network-open-session): Use it.
8296 * elmo-imap4.el: Rewrite.
8298 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8300 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8302 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8304 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8305 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8306 (elmo-imap4-create-msgdb-from-overview-string): Use
8307 `elmo-msgdb-create-overview-from-buffer'.
8309 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8311 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8312 (elmo-imap4-default-hierarchy-delimiter): New variable.
8313 (elmo-imap4-list-folders): Use it.
8315 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8317 * elmo-net.el (elmo-network-open-session): Add user and
8318 stream-type for process-buffer name.
8320 * elmo-pop3.el (elmo-network-initialize-session): Call
8321 buffer-disable-undo.
8323 * elmo-imap4.el (elmo-network-initialize-session):
8324 Set current-buffer as an argument for `buffer-disable-undo'.
8326 * elmo-pop3.el (elmo-network-close-session): Don't use
8329 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8330 Set default as 'user.
8332 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8334 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8335 and `elmo-imap4-flush-connection'.
8337 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8338 (elmo-pop3-get-spec): Assume auth as symbol.
8339 (elmo-open-network-stream): Moved to `elmo-net'.
8341 * elmo-pop3.el (toplevel): Require 'elmo-net.
8342 Define `sasl-cram-md5' to silence byte compilier.
8343 (elmo-pop3-connection-cache) Abolished.
8344 (elmo-pop3-authenticator-alist) New variable.
8345 (elmo-pop3-session): Define.
8346 (elmo-pop3-connection-get-process): Abolished.
8347 (elmo-pop3-connection-get-buffer): Ditto.
8348 (elmo-pop3-close-connection): Ditto.
8349 (elmo-pop3-flush-connection): Ditto.
8350 (elmo-pop3-get-connection): Ditto.
8351 (elmo-pop3-get-session): New function.
8352 (Replacement for `elmo-pop3-get-connection').
8353 All other related modules are changed.
8354 (elmo-network-close-session): Define.
8355 (elmo-pop3-send-command): Abolished argument `buffer'.
8356 All other related modules are changed.
8357 (elmo-pop3-read-response): Likewise.
8358 (elmo-pop3-open-connection): Abolished.
8359 (elmo-pop3-auth-user): New function.
8360 (elmo-pop3-auth-apop): Ditto.
8361 (elmo-pop3-auth-cram-md5): Ditto.
8362 (elmo-pop3-auth-scram-md5): Ditto.
8363 (elmo-pop3-auth-digest-md5): Ditto.
8364 (elmo-network-initialize-session): Define.
8365 (elmo-network-authenticate-session): Ditto.
8366 (elmo-network-setup-session): Ditto.
8368 * elmo-imap4.el (toplevel): Require 'elmo-net.
8369 (elmo-imap4-session): Define.
8370 (elmo-imap4-connection-cache): Abolished.
8371 (elmo-imap4-password-key): Ditto.
8372 (elmo-imap4-flush-connection): Ditto.
8373 (elmo-imap4-get-connection): Ditto.
8374 All other related modules are changed.
8375 (elmo-imap4-get-session): New function
8376 (Replacement for `elmo-imap4-get-connection').
8377 (elmo-imap4-read-response): Abolished argument `buffer'.
8378 All other related modules are changed.
8379 (elmo-imap4-send-command): Likewise.
8380 (elmo-imap4-select-folder): Abolished.
8381 All other related modules are changed.
8382 (elmo-imap4-select-mailbox): New function.
8383 (Replacement for `elmo-imap4-select-folder').
8384 (elmo-imap4-auth-login): Simplify.
8385 (Assume current buffer as process buffer)
8386 (elmo-imap4-auth-cram-md5): Ditto.
8387 (elmo-imap4-auth-digest-md5): Ditto.
8388 (elmo-imap4-login): Ditto.
8389 (elmo-imap4-open-connection): Abolished.
8390 (elmo-imap4-open-connection-1): Abolished.
8391 (elmo-network-initialize-sessoin): Define.
8392 (elmo-network-authenticate-session): Ditto.
8393 (elmo-network-setup-session): Ditto.
8395 * elmo-net.el: New module.
8397 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8399 * elmo-util.el (elmo-define-error): New function.
8401 * elmo2.el (elmo-error): Define.
8402 (elmo-open-error): Define.
8403 (elmo-authenticate-error): Define.
8405 * elmo-imap4.el (elmo-imap4-error): Abolish.
8406 (elmo-imap4-error-type): Abolish.
8407 (elmo-imap4-error-process): Abolish.
8408 (elmo-imap4-error-message): Abolish
8409 (elmo-imap4-list-folders): Don't quote lambda.
8410 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8411 (elmo-imap4-parse-namespace): Ditto.
8412 (elmo-imap4-open-connection): Rewrite.
8413 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8414 (elmo-imap4-get-connection): Abolish local variable `result'.
8416 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8418 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8419 wrong-type-argument error when auth is nil.
8421 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8423 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8424 (elmo-default-nntp-stream-type): Ditto.
8425 (elmo-default-pop3-stream-type): Ditto.
8426 (elmo-network-stream-type-alist): Ditto.
8427 (elmo-default-imap4-ssl): Abolished.
8428 (elmo-default-nntp-ssl): Ditto.
8429 (elmo-default-pop3-ssl): Ditto.
8431 * elmo-util.el: (toplevel): Removed needless requires.
8432 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8433 (elmo-open-network-stream): Open network stream according to
8434 the value of `elmo-network-stream-type-alist'.
8435 (elmo-get-network-stream-type): New function.
8436 (elmo-network-stream-type-spec-string): New macro.
8437 (elmo-network-stream-type-symbol): Ditto.
8438 (elmo-network-stream-type-function): Ditto.
8440 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8441 network-stream-type. All other related portions are changed.
8442 (elmo-pop3-open-connection): Ditto.
8444 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8445 network-stream-type. All other related portions are changed.
8447 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8448 network-stream-type.All other related portions are changed.
8449 (elmo-imap4-error): New macro.
8450 (elmo-imap4-error-type): Ditto.
8451 (elmo-imap4-error-process): Ditto.
8452 (elmo-imap4-error-message): Ditto.
8453 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8454 (elmo-imap4-auth-cram-md5): Ditto.
8455 (elmo-imap4-auth-digest-md5): Ditto.
8456 (elmo-imap4-login): Ditto.
8457 (elmo-imap4-open-connection): Remove password entry if authentication
8459 (elmo-imap4-user-at-host): Abolished.
8460 (elmo-imap4-password-key): New buffer local variable.
8461 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8462 using protocol, port, auth and stream-type.
8464 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8466 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8468 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8470 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8472 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8473 (elmo-imap4-authenticator-alist): New variable.
8474 (elmo-imap4-open-connection-1): Rename from
8475 elmo-imap4-open-connection.
8476 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8477 only wraps elmo-imap4-open-connection-1.
8478 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8480 (elmo-imap4-auth-login): New function.
8481 (elmo-imap4-auth-cram-md5): New function.
8482 (elmo-imap4-auth-digest-md5): New function.
8483 (elmo-imap4-login): New function.
8485 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8487 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8490 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8492 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8494 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8496 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8498 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8500 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8501 for server responses, quote `*' regardless of where it appears.
8503 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8505 * elmo-maildir.el (elmo-maildir-commit): New alias.
8507 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8509 * elmo-util.el (elmo-display-progress):
8510 Use `progress-feedback-with-label'.
8512 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8514 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8515 (elmo-imap4-non-atom-char-regex): Ditto.
8516 (elmo-imap4-non-text-char-regex): Ditto.
8517 (elmo-imap4-literal-threshold): Ditto.
8518 (elmo-imap4-atom-p): New function.
8519 (elmo-imap4-quotable-p): Ditto.
8520 (elmo-imap4-nil): Ditto.
8521 (elmo-imap4-atom): Ditto.
8522 (elmo-imap4-quoted): Ditto.
8523 (elmo-imap4-literal-subr): Ditto.
8524 (elmo-imap4-literal): Ditto.
8525 (elmo-imap4-buffer-literal): Ditto.
8526 (elmo-imap4-string-subr): Ditto.
8527 (elmo-imap4-string): Ditto.
8528 (elmo-imap4-buffer-string): Ditto.
8529 (elmo-imap4-astring-subr): Ditto.
8530 (elmo-imap4-astring): Ditto.
8531 (elmo-imap4-buffer-astring): Ditto.
8532 (elmo-imap4-nstring): Ditto.
8533 (elmo-imap4-buffer-nstring): Ditto.
8534 (elmo-imap4-mailbox): New alias.
8535 (elmo-imap4-field-body): Ditto.
8536 (elmo-imap4-userid): Ditto.
8537 (elmo-imap4-password): Ditto.
8538 (elmo-imap4-format-quoted): New function.
8539 (elmo-imap4-send-command): Rewritten. Accept a list of command
8540 arguments and handle "atom", "quoted" and "literal" string here.
8541 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8542 `elmo-imap4-send-command'.
8543 (elmo-imap4-folder-exists-p): Likewise.
8544 (elmo-imap4-create-folder): Likewise.
8545 (elmo-imap4-delete-folder): Likewise.
8546 (elmo-imap4-rename-folder): Likewise.
8547 (elmo-imap4-max-of-folder): Likewise.
8548 (elmo-imap4-check-validity): Likewise.
8549 (elmo-imap4-sync-validity): Likewise.
8550 (elmo-imap4-server-diff): Likewise.
8551 (elmo-imap4-select-folder): Likewise.
8552 (elmo-imap4-copy-msgs): Likewise.
8553 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8554 (elmo-imap4-mark-set-on-msgs): Likewise.
8555 (elmo-imap4-read-part): Likewise.
8556 (elmo-imap4-read-msg): Likewise.
8557 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8558 `elmo-imap4-password' for `elmo-imap4-send-command'.
8559 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8560 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8561 `elmo-imap4-buffer-literal'.
8562 (elmo-imap4-append-msg): Likewise.
8564 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8565 `delete' for removing dead connection from the connection cache.
8566 Move deletion of the process buffer after that.
8567 (elmo-imap4-list): Change `defsubst' to `defun'.
8568 (elmo-imap4-commit): Make error message verbose.
8569 (elmo-imap4-search): Ditto.
8570 (elmo-imap4-list): Ditto.
8571 (elmo-imap4-select-folder): Ditto.
8572 (elmo-imap4-copy-msgs): Ditto.
8573 (elmo-imap4-delete-msg-by-id): Ditto.
8574 (elmo-imap4-append-msg-by-id): Ditto.
8575 (elmo-imap4-append-msg): Ditto.
8577 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8579 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8580 when dired is used on XEmacs.
8582 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8584 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8585 instead of `append'.
8586 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8587 `elmo-plugged-p' directly.
8588 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8589 of `elmo-plugged-p' directly.
8591 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8592 Eliminate unused variable. Use `memq' for checking a process status.
8593 Use `cons' instead of `append' for updating the connection cache.
8594 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8595 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8597 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8599 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8600 `elmo-imap4-read-point' exactly.
8602 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8603 the local variable `folder' to `mailbox'.
8604 Rename the argument `fld' to `folder'.
8606 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8608 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8609 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8611 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8613 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8614 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8615 (elmo-pop3-uidl-number-hash): Ditto.
8616 (elmo-pop3-size-hash): Ditto.
8617 (elmo-pop3-uidl-done): Ditto.
8618 (elmo-pop3-list-done): Ditto.
8619 (elmo-pop3-connection-get-process): New defmacro.
8620 (elmo-pop3-connection-get-buffer): Ditto.
8621 (elmo-pop3-close-connection): Delete buffer and process.
8622 (elmo-pop3-flush-connection): Don't delete buffer and process.
8623 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8624 Setup UIDL and size hash.
8625 (elmo-pop3-send-command-no-erase): Deleted
8626 (elmo-pop3-send-command): Added optional argument `no-erase'.
8627 (elmo-pop3-parse-uidl-response): New function.
8628 (elmo-pop3-parse-list-response): Set size hash.
8629 (elmo-pop3-list-location): New function.
8630 (elmo-pop3-list-by-uidl-subr): Ditto.
8631 (elmo-pop3-list-by-list): Ditto.
8632 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8633 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8634 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8635 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8636 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8638 (elmo-pop3-uidl-to-number): New function.
8639 (elmo-pop3-number-to-uidl): Ditto.
8640 (elmo-pop3-number-to-size): Ditto.
8641 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8642 Set number by use of uidl.
8643 (elmo-pop3-msgdb-create-message): Likewise.
8644 Set size, loc-alist in msgdb.
8645 (elmo-pop3-read-msg): Set number by use of uidl.
8646 Added optional argument `msgdb'.
8647 (elmo-pop3-delete-msg): Ditto.
8648 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8649 (elmo-pop3-commit): Close connection.
8651 * elmo-pipe.el (elmo-pipe-max-of-folder):
8652 Bind `elmo-pop3-use-uidl' as nil.
8653 (elmo-pipe-drain): Ditto.
8656 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8657 (elmo-msgdb-overview-entity-set-size): New defsubst.
8659 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8661 * elmo-vars.el (elmo-use-killed-list): New variable
8662 (Renamed from `elmo-nntp-use-killed-list').
8663 (elmo-nntp-use-killed-list): Eliminated.
8665 * elmo-msgdb.el (elmo-msgdb-expand-path):
8666 Changed expanding msgdb path for elmo-multi.
8668 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8669 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8670 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8671 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8672 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8673 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8674 (toplevel): Deleted time-stamp line.
8676 * elmo2.el (elmo-clear-killed ): Defined as function
8677 (Abolished defining as a backend function).
8678 All other related modules are changed.
8680 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8682 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8684 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8686 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8688 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8690 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8692 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8694 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8695 asynchronous folder check.
8697 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8699 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8700 `elmo-nntp-use-killed-list'.
8701 (elmo-nntp-list-folder): Use killed list.
8702 (elmo-nntp-max-of-folder): Ditto.
8703 (elmo-nntp-msgdb-create): Set killed list.
8705 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8707 * elmo2.el (elmo-clear-killed): New backend function.
8708 All other related modules are changed.
8710 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8712 * elmo-util.el (elmo-imap4-spec-folder): Use
8713 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8714 All callers changed.
8716 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8718 * mmelmo-2.el (initialize-instance):
8719 Use `mime-buffer-entity-buffer-internal' instead of
8720 `mime-entity-buffer'.
8722 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8723 (mime-entity-body): Implemented.
8724 (mime-goto-header-start-point): Deleted.
8725 (mime-goto-body-end-point): Ditto.
8726 (mime-entity-point-min): Ditto.
8727 (mime-entity-point-max): Ditto.
8728 (mime-entity-children): Ditto.
8729 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8730 instead of `mime-entity-buffer'.
8731 (mime-entity-header-buffer): Ditto.
8732 (mime-entity-body-buffer): Ditto.
8733 (mime-write-entity-content): Ditto.
8735 * pldap.el (ldap-static-if): New macro.
8736 (toplevel): Use it instead of `static-if'.
8738 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8740 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8741 included in `attrs' argument.
8743 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8745 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8747 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8748 (ldap-ldif-safe-init-char-regexp): Ditto.
8749 (ldap-ldif-safe-string-regexp): Ditto.
8750 (ldap/ldif-safe-string-p): New macro.
8751 (ldap/ldif-insert-field): Ditto.
8752 (ldap-modify): Use it.
8754 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8755 (ldap-decode-attribute): Decode only when `attr' is consp.
8756 (ldap-delete): Bind `ret'.
8757 (toplevel): Require 'cl at compile time.
8758 Removed (require 'poe) and (require 'std11).
8759 (pldap-version): Eliminated.
8760 (ldap-search-basic): Removed auth and dn binding.
8761 (ldap-ldif-field-name-regexp): New constant.
8762 (ldap-ldif-field-head-regexp): Ditto.
8763 (ldap-ldif-next-field-head-regexp): Ditto.
8764 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8765 (ldap/field-end): New function.
8766 (ldap/field-body): Use it.
8767 (ldap/collect-field): Ditto.
8768 (ldap-search-basic): Use `ldap/field-body'.
8770 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8772 * pldap.el (ldap-default-attribute-encoder): New user option.
8773 (ldap/field-body): Decode base64 string.
8774 (ldap/collect-field): Ditto.
8775 (ldap-encode-attribute): New function.
8776 (ldap-add-entries): Use it.
8777 (ldap-modify-entries): Ditto.
8778 (ldap-search-entries): Enclosed decoding function with
8779 `with-temp-buffer' and set as unibyte.
8780 (ldap-search-basic): Set process buffer as unibyte.
8782 * elmo-util.el (elmo-folder-identical-system-p):
8783 Eliminated name space checking.
8785 * pldap.el: New module.
8786 toplevel: Changed condition to detect built-in ldap feature.
8787 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8788 (ldap-add): Added error handling.
8789 (ldap-modify): Ditto.
8790 (ldap-delete): Ditto.
8792 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8794 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8795 Initialize local variables with `let'. Inline a temporary
8796 variable for the progress percentage. Sort `setq' to reduce
8797 function call in the while-loop.
8799 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8800 into the conditional branch.
8802 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8804 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8805 Move a conditional out of the while-loop.
8807 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8809 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8810 elmo-msgdb-overview-get-entity-by-number.
8811 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8814 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8816 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8817 the local variable for a packed number self descriptively.
8819 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8821 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8822 * elmo-localdir.el (elmo-localdir-pack-number): Use
8823 `elmo-msgdb-overview-get-entity' instead of
8824 `elmo-msgdb-overview-get-entity-by-number'.
8825 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8826 (elmo-msgdb-search-overview-entity): Removed.
8827 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8828 by message-id or number.
8829 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8830 instead of `elmo-msgdb-overview-get-entity-by-number'.
8832 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8834 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8835 non-nil, use hash table for overview.
8836 (elmo-hash-maximum-size): New variable.
8837 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8838 (elmo-msgdb-make-overview-hashtb): New function.
8839 (elmo-msgdb-clear-overview-hashtb): New function.
8840 (elmo-clear-hash-val): New macro.
8841 All other related modules are changed.
8843 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8845 * elmo2.el (elmo-move-msgs): If there's other message with
8846 same message-id, don't use cache.
8848 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8850 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8851 number is already packed.
8853 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8855 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8857 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8859 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8860 All other related modules are changed.
8862 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8864 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8865 of refiling failure on Maildir.
8867 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8869 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8870 decoded mime-charset with cache.
8871 (elmo-msgdb-overview-entity-get-from): Ditto.
8872 (elmo-msgdb-overview-entity-get-subject): Ditto.
8873 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8875 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8877 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8878 (elmo-remove-passwd): Fill password with 0 before erase.
8879 * elmo-vars.el (elmo-passwd-life-time): New variable.
8882 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8884 * elmo-cache.el (elmo-buffer-cache-add):
8885 Set message cache buffer as unibyte.
8887 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8889 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8892 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8894 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8895 when display is finished.
8896 (elmo-nntp-msgdb-create): Ditto.
8897 (elmo-nntp-groups-read-response): Ditto.
8898 (elmo-nntp-retrieve-headers): Ditto.
8899 (elmo-nntp-msgdb-create-message): Ditto.
8900 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8901 (elmo-pop3-msgdb-create-message): Ditto.
8903 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8905 * elmo-maildir.el (elmo-maildir-msgdb-create):
8906 Use `elmo-msgdb-sort-by-date'.
8908 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8910 * elmo2.el (elmo-read-msg-no-cache):
8911 Eliminated arguments after `outbuf'.
8912 Don't use cache even if it exists.
8913 (elmo-read-msg): Don't pass arguments after `outbuf' to
8914 `elmo-read-msg-no-cache'.
8916 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8918 * elmo-archive.el (elmo-archive-list-folders):
8919 Use `file-name-directory' if base folder does not exist.
8921 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8923 * elmo-archive.el (elmo-archive-list-folders): Don't use
8924 `file-name-directory'.
8926 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8928 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8929 If `force' is non-nil, try flushing all operation queues.
8931 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8933 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8936 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8938 * elmo-util.el (elmo-display-progress): Fixed.
8940 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8942 * elmo-util.el (elmo-display-progress): New function.
8943 All other related modules are changed.