1 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
4 `elmo-spam-process-messages-as-mbox'.
6 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
8 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
10 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
11 argument BUFFER of `call-process'.
13 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
15 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
17 (elsp-bsfilter-list-spam-files): Ditto.
19 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
21 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
22 (elmo-spam-bsfilter-max-messages-per-process): New use option.
23 (elmo-spam-bsfilter-debug): Fix a group.
24 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
26 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
27 (elsp-bsfilter-list-spam-files): New function.
28 (elmo-spam-list-spam-messages): Define.
29 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
30 (elmo-spam-bsfilter-register-messages): New function.
31 (elmo-spam-register-spam-messages): Define.
32 (elmo-spam-register-good-messages): Ditto.
34 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
36 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
39 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
41 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
42 hash table to test whether a location is exists.
44 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
46 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
47 even if some error occurred.
49 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
50 meaningless unwind-protect.
52 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
53 start-number correctly.
54 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
55 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
57 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
59 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
60 (elmo-folder-initialize): Use it.
61 (elmo-global-flag-replace-referrer): New function.
63 * elmo.el (toplevel): Added autoload setting for
64 `elmo-global-flag-replace-referrer'.
65 (elmo-folder-rename): Rewrite the last change use
66 `elmo-global-flag-replace-referrer'.
68 * elmo-pipe.el (elmo-folder-rename): Call
69 `elmo-global-flag-replace-referrer'.
71 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
73 * elmo.el (elmo-folder-rename): Set meta data for global flags
76 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
78 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
80 (elmo-folder-close): Ditto.
81 (elmo-filter-folder-number-list-loaded-p): New function.
82 (elmo-filter-folder-number-list): Check whether loaded or not.
83 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
84 of `elmo-filter-folder-number-list-internal'.
85 (elmo-folder-delete-messages): Ditto.
86 (elmo-folder-length): Check whether number-list is loaded or not.
88 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
90 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
91 field `real field' into each element of list.
92 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
93 (elmo-msgdb-message-entity-field): Ditto.
94 (modb-entity-ml-info-real-fields): New function.
96 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
98 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
99 `elmo-msgdb-extra-fields'.
101 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
103 * elmo-util.el (elmo-passwd-alist-load): Move point to min
104 position before read.
106 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
108 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
109 (elmo-global-flags-initialize): Ditto.
111 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
113 * elmo-archive.el (toplevel): Don't require emu, std11
116 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
119 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
121 * elmo.el (elmo-folder-confirm-appends): Display folder name.
123 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
125 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
128 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
130 * elmo-maildir.el (elmo-maildir-list-location): Reduce
131 `elmo-get-last-modification-time' call.
133 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
135 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
137 (elmo-maildir-set-mark): Ditto.
138 (elmo-maildir-delete-mark): Ditto.
140 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
142 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
143 optional argument `separators'.
145 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
147 * elmo.el (cache-changed): Abolish.
148 (status-changed): New signal.
149 (elmo-message-killed-p): New generic function and define for
151 (elmo-folder-recover-messages): Ditto.
152 (elmo-message-set-cached): Emit signal `status-changed' instead of
154 (elmo-message-status): New macro.
155 (elmo-message-status-folder): Ditto.
156 (elmo-message-status-number): Ditto.
157 (elmo-message-status-set-flags): Ditto.
158 (elmo-message-status-set-killed): Ditto.
159 (elmo-message-status-flags): New function.
160 (elmo-message-status-cached-p): Ditto.
161 (elmo-message-status-killed-p): Ditto.
163 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
164 `status-changed' instead of `cache-changed'.
165 (elmo-folder-recover-messages): Define.
166 (elmo-message-killed-p): Ditto.
168 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
169 `status-changed' instead of `cache-changed'.
171 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
172 (elmo-message-killed-p): Define.
173 (elmo-folder-recover-messages): Ditto.
175 * elmo-version.el (elmo-version): Up to 2.15.3.
177 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
179 * elmo-signal.el (elmo-signal-bindings): Use cons to append
181 (elmo-define-signal-handler): Add docstring.
182 (elmo-define-signal-filter): Ditto.
184 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
186 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
188 * elmo-util.el (elmo-flatten): Don't use recursive call.
190 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
192 (elmo-folder-message-make-temp-files): Use `number-to-string'
193 instead of `int-to-string'.
195 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
197 * elmo-search.el (elmo-folder-delete-messages): Define.
199 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
201 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
203 (elmo-mailing-list-count-spec-list): Ditto.
205 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
208 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
210 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
213 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
215 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
216 (elmo-mailing-list-count-spec-list): Ditto.
218 * elmo-util.el (elmo-map-until-success): New function.
219 (elmo-string-match-substring): Ditto.
220 (elmo-find-list-match-value): Ditto.
222 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
224 (modb-entity-extract-ml-info-from-subject): Ditto.
225 (modb-entity-extract-ml-info-from-return-path): Ditto.
226 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
227 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
228 (modb-entity-extract-ml-info-from-mailman): Ditto.
229 (modb-entity-extract-mailing-list-info-functions): Ditto.
230 (modb-entity-extract-mailing-list-info): Rewrite with
231 `elmo-find-list-match-value'.
233 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
235 * elmo-net.el (elmo-network-session-retry-count): New user option.
236 (elmo-network-session-buffer-name): New internal function.
237 (elmo-network-session-buffer-create): Ditto.
238 (elmo-network-open-session): Retry open network session
239 `elmo-network-session-retry-count' times.
241 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
243 * elmo-util.el (elmo-list-filter): Rewritten.
245 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
247 * elmo-util.el (elmo-string-member): Allow symbol element in list.
249 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
251 * elmo-search.el (elmo-make-search-engine): Use prefix
252 `elmo-search-' for require symbol instead of `else-'.
253 (elmo-search-engine-extprog): New class.
254 (elmo-search-engine-do-search): Remove nil from argument
255 list. Added argument pattern to evaluate element as function.
256 (elmo-search-engine-local-file): Derived from
257 `elmo-search-engine-extprog'.
258 (elmo-search-engine-create-message-entity): Check existance of file.
259 (elmo-search-engine-fetch-message): Ditto.
260 (elmo-search-namazu-index): Follow the API change.
261 (elmo-search-grep-target): Ditto.
263 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
265 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
266 characters of working buffer.
268 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
269 Does not bind `default-mime-charset'.
270 (elmo-msgdb-create-message-entity-from-buffer): Removed
271 unnecessary local bind.
273 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
275 (modb-entity-extract-mailing-list-info-functions): Added it.
277 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
279 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
280 when number and message-id are non-nil.
282 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
284 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
285 conditional steatment.
286 (elmo-pop3-auth-apop): Likewise.
287 (elmo-network-authenticate-session): Likewise.
289 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
291 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
292 symbol `fill-column'.
293 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
296 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
297 (elmo-decoded-field-body): Ditto.
299 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
301 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
302 `tokens' to `params'.
304 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
306 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
309 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
311 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
314 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
316 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
317 Set default value as nil.
318 (toplevel): Register search engines by
319 `elmo-search-register-engine' if there are not defined.
321 * elmo.el (autoload): Added autoload setting for
322 `elmo-search-register-engine'.
324 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
326 * elmo.el (toplevel): `[' is redefined as the prefix of the search
327 folder instead of nmz folder.
328 (elmo-nmz-default-index-path): Added obsolete variable setting.
329 (elmo-nmz-index-alias-alist): Ditto.
330 (elmo-nmz-use-drive-letter): Ditto.
332 * elmo-search.el (elmo-search-register-engine): New function.
334 * elmo-nmz.el: Removed.
336 * elmo-version.el (elmo-version): Up to 2.15.2.
338 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
340 * elmo-search.el: New file.
342 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
344 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
345 condition `larger' and `smaller'.
347 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
349 * elmo-util.el (elmo-safe-filename): Rewrite to replace
350 `"' (double quote) into "_Q_".
352 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
354 * elmo-net.el (elmo-net-quote-chars): Abolish.
355 (elmo-net-format-quoted): Ditto.
357 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
359 * elmo.el (elmo-get-folder-function): New variable.
360 (elmo-get-folder): New function.
361 (elmo-folder-rename): Call `elmo-make-folder' with specified
364 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
366 (elmo-split-subr): Ditto.
368 * elmo-multi.el (elmo-folder-initialize): Ditto.
370 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
372 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
373 (elmo-flag-get-folder): Ditto.
375 * elmo-filter.el (elmo-folder-initialize): Ditto.
377 * elmo-access.el (elmo-folder-initialize): Ditto.
378 (elmo-access-folder-update-children): Ditto.
380 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
381 (elmo-dop-queue-flush): Ditto.
382 (elmo-folder-append-buffer-dop-delayed): Ditto.
383 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
386 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
387 instead of `elmo-make-folder'.
388 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
389 destination folder instead of send `elmo-folder-rename-internal'.
391 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
392 slot of subfolder instead of create it.
394 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
396 * elmo-util.el (elmo-collect-separators): New function.
397 (elmo-collect-separators-internal): Ditto.
398 (elmo-collect-trail-separators): Ditto.
399 (elmo-parse-separated-tokens): Ditto.
400 (elmo-parse-separated-tokens-internal): Ditto.
401 (elmo-quote-syntactical-element): Ditto.
403 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
404 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
406 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
407 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
408 (elmo-nntp-folder-list-subfolders): Quote a user name.
410 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
411 (elmo-net-parse-network): Abolish.
412 (elmo-net-folder-set-parameters): New function.
413 (elmo-folder-initialize): Follow the above change.
415 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
416 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
417 (elmo-folder-list-subfolders): Use
418 `elmo-quote-syntactical-element' instead of
419 `elmo-net-format-quoted' to quote mailbox and user name.
421 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
423 * elmo-util.el (elmo-token-valid-p): New function.
424 (elmo-parse-token): Add optional argument `requirement'.
425 (elmo-parse-prefixed-element): Likewise.
427 * elmo-net.el (elmo-net-quote-chars): Renamed from
428 `elmo-net-quote-chars-regexp'.
429 (elmo-net-format-quoted): Add optional argument `extra-chars'.
431 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
432 by info document. Check token `uidl' is started an alphabet.
434 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
435 by info document. Check token `user' is started an alphabet.
437 * elmo-imap4.el (elmo-folder-initialize): Ditto.
438 (elmo-folder-list-subfolders): Quote user.
440 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
442 * elmo-util.el (elmo-quoted-specials-list): New constant.
443 (elmo-quoted-token): New function.
445 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
446 (elmo-net-format-quoted): New function.
447 (elmo-net-parse-network): Ditto.
448 (elmo-folder-initialize): Use it.
450 * elmo-nntp.el (elmo-folder-initialize): Use
451 `elmo-net-parse-network' to parse network specification instead of
452 `elmo-folder-initialize#elmo-net'.
454 * elmo-pop3.el (elmo-folder-initialize): Ditto.
456 * elmo-imap4.el (elmo-folder-initialize): Ditto.
457 (elmo-folder-list-subfolders): Quote folder name by
458 `elmo-net-format-quoted'.
460 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
462 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
463 (elmo-folder-search): Use it.
465 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
467 * modb-standard.el (modb-standard-loaded-message-id): Use
468 `elmo-msgdb-message-entity-field'.
470 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
472 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
475 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
477 * elmo-util.el (elmo-set-auto-coding): New function.
478 (elmo-object-load): Use it.
480 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
482 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
483 (elmo-time<): Define as alias of `elmo-time-less-p'.
484 (elmo-time-to-datevec): New function.
486 * elmo-date.el (elmo-time-to-days): New function.
488 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
490 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
493 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
495 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
498 * elmo-util.el (elmo-map-recursive): New function.
500 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
501 (modb-entity-encode-string-recursive): Ditto.
503 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
505 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
506 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
507 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
508 compare sequence number when last modified time is nil.
510 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
512 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
514 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
516 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
518 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
519 modification time of the file.
521 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
523 * elmo-util.el (elmo-condition-optimize): Discriminated against
524 preserved fields, extra fields and the other weight.
526 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
528 * modb-entity.el (initialize-instance): Define.
529 (modb-entity-handler-mime-charset): New internal function.
530 (modb-standard-entity-set-field): Use it.
531 (elmo-msgdb-message-entity-field): Ditto.
532 (elmo-msgdb-message-entity-field): Ditto.
534 * modb.el (elmo-msgdb-match-condition): Rewrite with
535 `elmo-condition-match'.
536 (elmo-msgdb-match-condition-primitive): New function.
538 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
539 arguments `flags' and `numbers'.
540 (elmo-msgdb-match-condition-primitive): Abolished (merged to
541 `elmo-msgdb-message-match-condition').
542 (modb-buffer-entity-handler): New class.
544 * elmo.el (elmo-folder-search): Optimize condition to use
545 `elmo-condition-optimize'.
546 (elmo-message-buffer-match-condition): New function.
547 (elmo-message-match-condition): Use
548 `elmo-message-buffer-match-condition' instead of
549 `elmo-buffer-field-condition-match'.
551 * elmo-util.el (elmo-condition-match): New function.
552 (elmo-condition-optimize): Ditto.
553 (elmo-buffer-field-primitive-condition-match): Abolish.
554 (elmo-buffer-field-condition-match): Ditto.
556 * elmo-archive.el (elmo-archive-field-condition-match): Use
557 `elmo-message-buffer-match-condition' instead of
558 `elmo-buffer-field-condition-match'.
560 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
562 * elmo-flag.el (elmo-global-flags-initialize): Check the
563 existence of the flag directory.
565 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
567 * elmo-access.el (elmo-folder-initialize): Call
568 `elmo-multi-connect-signals'.
570 * elmo-pipe.el (elmo-folder-close): Define.
572 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
575 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
578 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
581 * elmo-multi.el (elmo-message-entity): Don't use return value of
582 `elmo-message-entity-set-number'.
584 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
586 * modb.el (modb-generic): Added slot `mime-charset'.
588 * modb-standard.el (modb-standard): Added slot `overview-handler'.
589 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
590 and `modb-entity-handler-dump-parameters'.
591 (modb-standard-default-entity-handler): Abolish.
592 (elmo-msgdb-message-entity-handler): Save created handler by
595 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
596 (modb-entity-handler-list-parameters): New method.
597 (modb-entity-handler-equal-p): New function.
598 (modb-entity-handler-dump-parameters): Ditto.
599 (modb-entity-parse-address-string): Encode return value.
600 (modb-entity-make-address-string): Decode argument value.
601 (modb-entity-decode-string-recursive): New function.
602 (modb-entity-encode-string-recursive): Ditto.
603 (modb-standard-entity-normalizer): Set to encode field value.
604 (modb-standard-entity-specializer): Follow the above change.
605 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
606 mime-charset of handler.
607 (elmo-msgdb-message-entity-field): Ditto.
608 (elmo-msgdb-copy-message-entity): Fixed reference to internal
610 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
612 * elmo.el (elmo-folder): Added slot `mime-charset'.
613 (elmo-make-folder): Added argument `mime-charset'.
614 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
617 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
618 (elmo-make-msgdb): Likewise.
620 * elmo-internal.el (elmo-internal-folder-initialize): Call
621 `luna-make-entity' with :mime-charset parameter.
623 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
625 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
626 encoded words in `from' and `subject' field.
628 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
630 * modb.el (elmo-msgdb-message-field): Add argument `type'.
631 (elmo-msgdb-match-condition): Get handler from entity instead of
634 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
635 (modb-standard-load-entity): Treat new file format.
636 (modb-standard-save-entity-1): Save as new file format.
637 (modb-standard-save-entity): Split messages into section here.
638 (elmo-msgdb-message-field): Follow the API change.
639 (modb-standard-default-entity-handler): New internal variable.
640 (elmo-msgdb-message-entity-handler): Define.
642 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
644 (modb-entity-field-extractor-alist): New user option.
645 (elmo-msgdb-message-entity-field): Removed argument `decode' and
646 added argument `type'.
647 (elmo-msgdb-copy-message-entity): Add optional argument
649 (modb-set-field-converter): New function.
650 (modb-convert-field-value): Ditto.
651 (modb-entity-string-decoder): Ditto.
652 (modb-entity-string-encoder): Ditto.
653 (modb-entity-parse-date-string): Ditto.
654 (modb-entity-make-date-string): Ditto.
655 (modb-entity-mime-decoder): Ditto.
656 (modb-entity-mime-encoder): Ditto.
657 (modb-entity-address-list-decoder): Ditto.
658 (modb-entity-address-list-encoder): Ditto.
659 (modb-entity-parse-address-string): Ditto.
660 (modb-entity-make-address-string): Ditto.
661 (modb-entity-create-field-indices): Ditto.
662 (modb-legacy-entity-field-slots): New constant.
663 (modb-legacy-entity-field-indices): Ditto.
664 (modb-legacy-entity-normalizer): New variable.
665 (modb-legacy-entity-specializer): Ditto.
666 (modb-legacy-entity-field-index): New macro.
667 (modb-legacy-entity-set-field): New function.
668 (modb-legacy-make-message-entity): Rewrite.
669 (elmo-msgdb-create-message-entity-from-buffer): Use
670 `elmo-msgdb-get-references-from-buffer'. Use
671 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
672 Use `modb-legacy-entity-set-field' instead of
673 `elmo-msgdb-message-entity-set-field'.
674 (elmo-msgdb-message-entity-field): Rewrite.
675 (elmo-msgdb-message-entity-set-field): Ditto.
676 (elmo-msgdb-copy-message-entity): Make new entity by
677 `make-handler' if it specified.
678 (elmo-msgdb-message-match-condition): Define a method of
679 `modb-entity-handler' and follow the API change.
680 (modb-standard-entity-handler): New class.
681 (modb-entity-extract-ml-info-from-x-sequence): New function.
682 (modb-entity-extract-ml-info-from-subject): Ditto.
683 (modb-entity-extract-ml-info-from-return-path): Ditto.
684 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
685 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
686 (modb-entity-extract-mailing-list-info): Ditto.
687 (modb-entity-extract-mailing-list-info-functions): New variable.
689 * elmo.el (elmo-message-field): Add optional argument `type'.
691 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
692 from `modb-entity.el'.
694 * elmo-util.el (elmo-object-load): Decode by coding-system from
695 `set-auto-coding-function'.
696 (elmo-object-save): Use `detect-mime-charset-region' and add
697 coding cookie if encode.
698 (elmo-msgdb-get-references-from-buffer): New function.
699 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
701 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
703 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
704 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
705 instead of `shimbun-make-header' and follow the API change.
706 (elmo-shimbun-update-overview): Follow the API change.
707 (elmo-map-folder-list-message-locations): Ditto.
709 * elmo-pipe.el (elmo-message-field): Ditto.
711 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
714 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
716 * elmo-multi.el (elmo-message-field): Ditto.
718 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
719 (elmo-msgdb-sort-by-date): Ditto.
720 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
721 `elmo-message-entity-field'.
722 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
724 (elmo-msgdb-overview-entity-get-from): Ditto.
725 (elmo-msgdb-overview-entity-get-subject): Ditto.
726 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
727 (elmo-msgdb-overview-entity-get-date): Ditto.
728 (elmo-msgdb-overview-entity-get-to): Ditto.
729 (elmo-msgdb-overview-entity-get-cc): Ditto.
731 * elmo-mime.el (elmo-message-mime-entity): Ditto.
732 (elmo-mime-collect-message/partial-pieces): Ditto.
734 * elmo-filter.el (elmo-message-field): Ditto.
736 * elmo-date.el (elmo-datevec-to-time): New function.
737 (elmo-time-parse-date-string): Ditto.
738 (elmo-time-make-date-string): Ditto.
741 * elmo-version.el (elmo-version): Up to 2.15.1.
743 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
745 * elmo-flag.el (elmo-global-flags-initialize): Don't include
746 member of elmo-local-flags.
748 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
750 * elmo-version.el (elmo-version): Up to 2.15.0.
752 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
755 `ignore-msgdb' is non-nil.
757 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
759 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
760 (elmo-condition-in-msgdb-p): Ditto.
761 (elmo-file-field-primitive-condition-match): Ditto.
762 (elmo-file-field-condition-match): Ditto.
764 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
766 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
768 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
770 (elmo-global-flags-initialize): New function.
772 * elmo.el (toplevel): Added autoload setting for
773 `elmo-global-flags-initialize'.
775 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
777 * elmo.el (message-number-changed): Define new signal.
778 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
779 message-number-changed signal.
780 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
781 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
782 Respect `elmo-pack-number-check-strict'.
784 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
786 * elmo-signal.el (elmo-connect-signal): Document.
787 (elmo-emit-signal): Ditto.
788 (elmo-emit-signal): It should pass source argument to filter and
789 handler, not slot-source.
791 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
793 * modb.el (elmo-msgdb-update-entity): New API and define generic
796 * modb-standard.el (elmo-msgdb-update-entity): Define.
798 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
799 API and define generic implement.
801 * elmo.el (update-overview): New singnal.
803 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
804 `elmo-msgdb-update-entity' and emit signal `update-overview'.
805 (elmo-message-entity-parent): Define.
807 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
810 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
812 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
814 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
816 * elmo.el (elmo-folder-synchronize): Sort the return value of
819 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
822 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
824 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
825 `default-enable-multibyte-characters'.
826 (elmo-object-load): Use `with-temp-buffer' instead of
828 (elmo-object-save): Ditto.
829 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
831 (elmo-decoded-field-body): Ditto.
833 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
835 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
836 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
838 * elmo-version.el (elmo-version): Up to 2.13.3.
840 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
842 * elmo-util.el (elmo-list-diff): Fix the last change.
843 Reverse order of result lists.
845 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
847 * modb-standard.el (elmo-msgdb-set-flag): Use
848 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
849 (elmo-msgdb-unset-flag): Ditto.
851 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
854 * elmo-util.el (elmo-list-diff): Rewrite.
855 (elmo-list-diff-nonsortable): New function.
857 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
859 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
860 `elmo-multibypte-buffer-name'. All referers are updated.
862 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
864 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
865 (elmo-mime-entity-fragment-p): New function.
866 (mime-elmo-buffer-entity): Added slot `reassembled'.
867 (elmo-message-mime-entity): Added 4th argument `reassemble'.
868 (elmo-message-mime-entity-internal): New function (renamed from
869 `elmo-message-mime-entity').
870 (elmo-mime-inherit-field-list-from-enclosed): New constant.
871 (elmo-mime-make-reassembled-mime-entity): New function.
872 (elmo-message-reassembled-mime-entity): Ditto.
873 (elmo-mime-collect-message/partial-pieces): Ditto.
875 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
877 * elmo.el (elmo-message-fetch-string): Disable multibyte.
879 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
880 (elmo-with-enable-multibyte): New macro.
882 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
884 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
886 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
888 (elmo-filter-connect-signals): Follow the above change.
890 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
892 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
894 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
895 that only the first flag is used.
897 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
899 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
902 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
904 * elmo-signal.el: New file.
906 * elmo.el (toplevel): Require elmo-signal.
907 (flag-changing, flag-changed, cache-changed): New signal.
908 (elmo-folder): Remove slog `handlers'.
909 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
910 `elmo-folder-notify-event'.
911 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
912 (elmo-folder-unset-flag): Ditto.
913 (elmo-event-handler): Abolish.
914 (elmo-event-handler-flag-changed): Ditto.
915 (elmo-event-handler-cache-changed): Ditto.
916 (elmo-folder-add-handler): Ditto.
917 (elmo-folder-remove-handler): Ditto.
918 (elmo-folder-notify-event): Ditto.
920 * elmo-pipe.el (toplevel): Require elmo-signal.
921 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
922 (elmo-pipe-connect-signals): New function.
923 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
924 (elmo-folder-set-flag): Ditto.
925 (elmo-folder-unset-flag): Ditto.
926 (elmo-message-set-cached): Ditto.
928 * elmo-multi.el (toplevel): Require elmo-signal.
929 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
930 (elmo-multi-connect-signals): New function.
931 (elmo-multi-map-numbers): Ditto.
932 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
933 (elmo-message-fetch): Ditto.
934 (elmo-folder-set-flag): Ditto.
935 (elmo-folder-unset-flag): Ditto.
937 * elmo-filter.el (toplevel): Require elmo-signal.
938 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
939 (elmo-filter-connect-signals): New function.
940 (elmo-filter-add-flag-count): Ditto.
941 (elmo-message-fetch): Does not call
942 `elmo-filter-folder-countup-message-flags' and
943 `elmo-folder-notify-event'.
944 (elmo-message-set-cached): Ditto.
945 (elmo-folder-set-flag): Ditto.
946 (elmo-folder-unset-flag): Ditto.
948 * elmo-version.el (elmo-version): Up to 2.13.2.
950 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
952 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
955 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
957 * elmo-filter.el (elmo-message-set-cached): Call
958 `elmo-folder-notify-event' with event `cache-changed'.
960 * elmo-multi.el (elmo-message-set-cached): Ditto.
962 * elmo-pipe.el (elmo-message-set-cached): Ditto.
964 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
966 * elmo.el (elmo-folder-encache): Abolish.
968 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
970 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
971 (elmo-folder-next-message-number-dop): Return appropriate negative
974 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
976 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
977 clearing pending operations.
978 (elmo-folder-next-message-number-dop): Return appropriate negative
981 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
983 * elmo.el (toplevel): Added autoload setting for `md5'.
984 (elmo-msgdb-path-encode-threshold): New user option.
985 (elmo-folder-msgdb-path): Encode msgdb path if its length is
986 longer than `elmo-msgdb-path-encode-threshold'.
988 * elmo-flag.el (elmo-global-mark-migrate): Use
989 `elmo-folder-expand-msgdb-path' instead of
990 `elmo-folder-msgdb-path'.
992 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
994 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
995 element of the difference is nil.
997 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
999 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1000 to the check logic of file systems which are weak in colon character.
1002 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1004 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1006 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1008 * elmo-maildir.el (elmo-maildir-move-file): New function.
1009 (elmo-folder-append-buffer): Use it.
1010 (elmo-folder-append-messages): Ditto.
1011 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1013 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1014 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1016 * elmo-maildir.el (elmo-maildir-separator): New user option.
1017 (elmo-maildir-adjust-separator): New macro.
1018 (elmo-maildir-list-location): Use it.
1019 (elmo-maildir-update-current): Ditto.
1020 (elmo-maildir-set-mark): Ditto.
1021 (elmo-maildir-delete-mark): Ditto.
1022 (These changes are based on Hiroya Murata's patch [wl: 13437])
1024 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1026 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1028 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1031 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1032 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1034 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1036 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1037 Use `with-temp-buffer'.
1039 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1041 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1043 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1044 `wl-read-search-condition').
1045 (elmo-read-search-condition-internal): Likewise.
1047 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1048 (elmo-flag-valid-p): New function.
1049 (elmo-folder-initialize): Check flag name is valid.
1051 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1053 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1054 delimiter to obtain root mailbox itself.
1056 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1058 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1061 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1063 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1066 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1068 * elmo-shimbun.el (toplevel): Require cl at compile.
1070 * elmo-nntp.el (toplevel): Ditto.
1072 * elmo-nmz.el (toplevel): Ditto.
1074 * elmo-multi.el (toplevel): Ditto.
1076 * elmo-file.el (toplevel): Ditto.
1078 * elmo-dop.el (toplevel): Ditto.
1080 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1082 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1084 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1087 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1088 size of elmo-message-fetch-internal is 0 byte.
1090 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1092 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1094 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1096 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1099 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1101 * elmo-maildir.el (elmo-map-message-fetch): Call
1102 `elmo-map-folder-set-flag'.
1104 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1105 (elmo-message-fetch): Merge from
1106 `elmo-message-fetch-with-cache-process'.
1108 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1109 (elmo-message-fetch): Define.
1111 * elmo-nntp.el (elmo-message-fetch): Renamed from
1112 `elmo-message-fetch-with-cache-process'.
1114 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1115 (elmo-message-fetch): Define.
1117 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1120 * elmo-shimbun.el (shimbun-mua-search-id): Use
1121 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1122 (elmo-shimbun-folder-shimbun-header): Ditto.
1123 (elmo-shimbun-get-headers): Ditto.
1124 (elmo-shimbun-update-overview): Ditto.
1126 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1128 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1129 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1131 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1133 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1135 (elmo-message-fetch-string): Fixed argument.
1137 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1139 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1140 exchange order of arguments `section' and `unread'.
1141 (elmo-message-encache): Follow the API change.
1142 (elmo-message-match-condition): Ditto.
1143 (elmo-generic-folder-append-messages): Ditto.
1144 (elmo-message-fetch-string): New function.
1146 * elmo-split.el (elmo-split-subr): Ditto.
1148 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1150 * elmo-pipe.el (elmo-message-fetch): Ditto.
1152 * elmo-multi.el (elmo-message-fetch): Ditto.
1154 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1156 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1158 * elmo-filter.el (elmo-message-fetch): Ditto.
1160 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1162 * elmo-imap4.el (mime-imap-location-section-body): Use
1163 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1164 follow the API change.
1166 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1168 * elmo-access.el: New file.
1170 * elmo-null.el: Ditto.
1172 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1174 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1176 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1177 (elmo-network-session): New attribute `last-accessed'.
1178 (elmo-network-get-session): Discard network cache if elapsed time
1179 since last-accessed is larger than elmo-network-session-idle-timeout.
1181 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1183 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1184 and added `number', `require-entireness'.
1185 (elmo-find-fetch-strategy): Rewrite.
1186 (elmo-message-fetch): Unset `unread' flag when argument unread is
1189 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1191 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1192 (elmo-message-fetch): Notify event `flag-changed'.
1194 * elmo-pipe.el: Likewise.
1196 * elmo-mime.el (elmo-mime-entity): New class.
1197 (elmo-mime-entity-display-p): New generic function.
1198 (elmo-mime-entity-display): Ditto.
1199 (elmo-mime-entity-display-as-is): Ditto.
1200 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1202 (elmo-make-mime-message-location): Removed.
1203 (elmo-mime-message-display): Ditto.
1204 (elmo-mime-display-as-is): Ditto.
1205 (elmo-message-mime-entity): New function.
1207 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1209 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1211 (elmo-message-fetch): Re-count flagged message number and notify
1212 event `flag-changed'.
1214 * elmo-version.el (elmo-version): Up to 2.13.1.
1216 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1218 * elmo-filter.el (elmo-message-field): Define.
1219 (elmo-message-set-field): Ditto.
1221 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1223 * elmo.el (elmo-message-set-cached): Call
1224 `elmo-folder-notify-event' with cache-changed.
1225 (elmo-event-handler-cache-changed): New generic function.
1227 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1229 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1230 instead of elmo-add-name-to-file.
1231 (elmo-folder-append-messages): Ditto.
1233 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1235 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1237 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1239 * elmo-version.el (elmo-version): Up to 2.13.0.
1241 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1244 * modb-standard.el (modb-standard-economize-entity-size): Changed
1245 default value to `t'.
1247 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1250 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1251 after parsing greeting string.
1253 2004-11-23 Daishi Kato <daishi@axlight.com>
1255 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1257 (elmo-spam-spamoracle-call): Use it.
1259 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1261 * elmo.el (elmo-message-accessible-p): Message in dop spool
1264 2004-11-23 Daishi Kato <daishi@axlight.com>
1266 * elsp-spamoracle.el: New file.
1268 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1270 * elmo.el (elmo-message-flags-for-append): New function.
1271 (elmo-generic-folder-append-messages): Use it.
1273 * elmo-split.el (elmo-split-subr): Ditto.
1275 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1276 `flags' and use elmo-folder-append-buffer instead of
1277 write-region-as-binary.
1278 (elmo-dop-filter-pending-messages): New function.
1279 (elmo-folder-append-buffer-dop): Call
1280 elmo-dop-spool-folder-append-buffer with `flag'.
1281 (elmo-folder-set-flag-dop): Filter messages by
1282 elmo-dop-filter-pending-messages.
1283 (elmo-folder-unset-flag-dop): Ditto.
1284 (elmo-folder-append-buffer-dop-delayed): Use
1285 elmo-message-flags-for-append to get flags of the message and
1288 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1290 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1292 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1294 * elmo.el (elmo-folder): Added handlers slot.
1295 (elmo-event-handler): New class.
1296 (elmo-event-handler-flag-changed): New API.
1297 (elmo-folder-add-handler): New function.
1298 (elmo-folder-remove-handler): Ditto.
1299 (elmo-folder-notify-event): Ditto.
1300 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1302 (elmo-folder-unset-flag): Ditto.
1304 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1305 (elmo-folder-unset-flag): Ditto.
1307 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1308 (elmo-folder-unset-flag): Ditto.
1310 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1311 (elmo-folder-unset-flag): Ditto.
1313 * elmo-version.el (elmo-version): Up to 2.11.33.
1315 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1317 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1319 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1321 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1323 * elmo-flag.el (elmo-folder-unset-flag): Define.
1324 (elmo-global-flag-detach): Do process when the flag is not target
1327 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1329 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1331 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1333 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1335 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1337 (elmo-folder-delete-messages): Detach messages before delete
1338 messages from target folder.
1339 (elmo-folder-detach-messages): Set updated number-list to slot.
1341 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1343 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1345 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1347 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1349 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1351 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1353 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1355 (elmo-folder-delete-messages): Define.
1356 (elmo-folder-move-messages): Don't call
1357 `elmo-folder-detach-messages'.
1358 (elmo-folder-synchronize): Rewrite.
1359 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1361 * elmo-util.el (elmo-last): New function.
1362 (elmo-set-list): Ditto.
1363 (elmo-number-set-delete-list): Ditto.
1364 (elmo-number-set-delete): Ditto.
1366 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1368 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1369 `elmo-folder-delete-messages' and don't delete location map.
1370 (elmo-folder-detach-messages): Define.
1372 * elmo-imap4.el (elmo-folder-delete): Use
1373 `elmo-folder-delete-messages-internal' instead of
1374 `elmo-folder-delete-messages'.
1376 * elmo-filter.el (elmo-folder-delete-messages): Call
1377 `elmo-folder-detach-messages'.
1378 (elmo-folder-detach-messages): Don't call
1379 `elmo-folder-detach-messages' for target folder.
1381 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1382 message deletion is succeeded.
1384 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1386 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1387 from `elmo-folder-delete-messages'.
1389 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1391 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1393 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1395 * elmo-version.el (elmo-version): Up to 2.11.32.
1397 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1399 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1400 (elmo-global-flag-list): Added obsolete variable setting.
1402 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1404 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1405 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1406 `elmo-mime-display-header-analysis' is nil.
1408 * elmo-flag.el (elmo-global-flags): Renamed from
1409 `elmo-global-flag-list' (All other related portions are changed).
1410 (elmo-local-flags): New variable.
1411 (elmo-local-flag-p): New function.
1412 (elmo-global-flag-set-internal): Cause an error when flag is not
1415 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1417 * elmo-util.el (elmo-concat-path): Treat empty path.
1419 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1421 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1423 (elmo-split-address-match): Ditto.
1424 (elmo-split-equal): Ditto.
1425 (elmo-split-match): Ditto.
1427 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1429 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1430 (elmo-generic-folder-append-messages): If src message exists but
1431 has no flag, pass (read) for the FLAG argument of
1432 `elmo-folder-append-buffer'. Otherwise, pass nil.
1434 * elmo-split.el (elmo-split-subr): Likewise.
1436 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1438 * elmo-multi.el (elmo-message-flags): Ditto.
1440 * elmo-filter.el (elmo-message-flags): Ditto.
1442 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1443 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1444 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1446 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1448 * elmo-split.el (elmo-split-rule): Update comment.
1449 (elmo-split-address-equal): Allow 2nd argument to be a list.
1450 (elmo-split-address-match): Ditto.
1451 (elmo-split-equal): Ditto.
1452 (elmo-split-match): Ditto.
1454 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1456 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1457 (elmo-folder-append-msgdb): Don't treat `read'.
1458 (elmo-message-flags): Don't return `read'.
1460 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1461 (elmo-folder-unset-read-delayed): Ditto.
1463 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1465 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1467 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1470 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1472 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1475 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1477 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1479 (elmo-msgdb-save): Bind inhibit-quit.
1480 (modb-standard-message-entity): Ditto.
1482 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1484 * elmo-database.el: No need to require elmo-msgdb.
1486 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1488 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1489 instead of `elmo-list-subdirectories'.
1491 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1493 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1495 (elmo-folder-exists-p): "[" is empty.
1496 (elmo-folder-list-subfolders): Define.
1497 (elmo-folder-have-subfolder-p): Ditto.
1499 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1501 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1503 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1505 * elmo-filter.el (elmo-folder-local-p): Define.
1507 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1509 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1510 when entity is garbaged.
1511 (modb-standard-save-entity-1): Don't modify the original entity.
1513 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1515 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1517 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1519 * elmo.el (elmo-strict-folder-diff): Use
1520 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1522 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1524 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1525 (elmo-msgdb-message-number): Ditto.
1526 (elmo-msgdb-message-field): Ditto.
1528 * modb-standard.el (modb-standard-economize-entity-size): New user
1530 (modb-standard-loaded-message-id): New inline function.
1531 (modb-standard-load-entity): Use it.
1532 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1533 throw message-id string away.
1534 (elmo-msgdb-flag-available-p): Define.
1535 (elmo-msgdb-message-number): Ditto.
1536 (elmo-msgdb-message-field): Ditto.
1538 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1539 (suppoted -> supported).
1540 (modb-legacy-supported-flag-p): Ditto.
1541 (elmo-msgdb-set-flag): Ditto.
1542 (elmo-msgdb-unset-flag): Ditto.
1543 (elmo-msgdb-flag-available-p): Define.
1545 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1546 is `t', treat it as legacy entity.
1548 * elmo.el (elmo-message-flag-available-p): New generic function.
1549 (elmo-message-number): Ditto.
1550 (elmo-message-field): Use `elmo-msgdb-message-field'.
1552 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1554 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1555 (elmo-message-number): Ditto.
1557 * elmo-multi.el (elmo-message-number): Define.
1558 (elmo-message-flag-available-p): Ditto.
1560 * elmo-filter.el (elmo-message-flag-available-p): Define.
1561 (elmo-message-number): Ditto.
1563 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1564 (elmo-folder-initialize): Load `max-number'.
1565 (elmo-folder-commit): Save it.
1566 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1567 (elmo-global-flag-set-internal): Set up max-number slot.
1569 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1571 * elmo-version.el (elmo-version): Up to 2.11.31.
1573 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1575 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1576 unibyte string of the current buffer for the argument of `md5'
1577 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1579 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1581 * modb-legacy.el (modb-legacy-flag-list): New constant.
1582 (modb-legacy-suppoted-flag-p): New internal function.
1583 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1584 (elmo-msgdb-unset-flag): Ditto.
1586 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1588 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1590 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1593 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1595 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1596 (follow the API change).
1598 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1600 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1602 * modb-standard.el (modb-standard-digest-flags): Abolish.
1603 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1605 * elmo-vars.el (elmo-digest-flags): New variable.
1606 (elmo-preserved-flags): Moved from elmo-flag.el.
1608 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1609 (elmo-imap4-flag-to-imap-criteria): Ditto.
1610 (elmo-imap4-folder-list-flagged): Use it.
1612 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1614 * elmo.el (elmo-folder-count-flags): Changed return value.
1616 * elmo-flag.el (elmo-preserved-flags): New variable.
1617 (elmo-get-global-flags): Use it.
1619 * modb-standard.el (modb-standard-digest-flags): New variable.
1620 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1621 Changed behavior of `any'.
1623 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1624 which are defined the Internet draft
1625 (draft-melnikov-imap-keywords-03.txt).
1626 (elmo-imap4-flags-to-imap): New function.
1627 (elmo-folder-append-buffer): Use it.
1629 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1632 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1633 avoid the bug of Emacs 21.3.
1635 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1637 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1638 function find-coding-system does not exist.
1640 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1642 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1645 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1647 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1650 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1652 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1653 (elmo-network-close-session): Follow the changes in
1654 `elmo-pop3-read-response'.
1655 (elmo-pop3-auth-user): Ditto.
1656 (elmo-pop3-auth-apop): Ditto.
1657 (elmo-network-initialize-session): Ditto.
1658 (elmo-network-authenticate-session): Ditto.
1659 (elmo-network-setup-session): Ditto.
1660 (elmo-folder-status): Ditto.
1661 (elmo-message-fetch-plugged): Ditto.
1662 (elmo-pop3-delete-msg): Ditto.
1664 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1666 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1669 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1671 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1673 (elmo-bind-directory): Ditto.
1675 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1677 * elmo.el (elmo-folder-append-messages): Note on return value.
1678 * elmo-archive.el (elmo-folder-append-messages): Don't return
1679 message numbers which could not be appended.
1681 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1683 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1685 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1687 * elmo-version.el (elmo-version): Up to 2.11.30.
1689 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1691 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1694 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1696 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1697 (elmo-multi-split-numbers): Add elmo-folder object into each
1698 element of return value at first.
1699 (elmo-folder-delete-messages): Follow the above change.
1700 (elmo-folder-detach-messages): Ditto.
1702 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1703 number which is synchronized in target folder.
1705 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1707 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1708 Change default value to symbol `all'.
1709 (elmo-map-message-fetch): Change condition to update overview
1712 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1714 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1715 behavior to update overview.
1716 (elmo-shimbun-update-overview-folder-list): Note it.
1718 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1723 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1725 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1726 buffer-disable-undo, it is unnecessary.
1727 (elmo-spam-register-good-messages): Ditto.
1729 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1732 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1734 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1736 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1737 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1738 elmo-set-buffer-multibyte.
1739 (elmo-object-load): Ditto.
1740 (elmo-save-buffer): Ditto.
1741 (elmo-delete-char): Ditto.
1742 (elmo-file-field-primitive-condition-match): Ditto.
1743 (elmo-mime-string): Ditto.
1745 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1746 (elmo-archive-field-condition-match): Ditto.
1748 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1750 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1752 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1753 (elmo-nntp-msgdb-create-message): Ditto.
1755 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1757 * elmo.el (elmo-message-match-condition): Ditto.
1758 (elmo-message-match-condition): Ditto.
1760 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1763 * elmo-version.el (elmo-version): Up to 2.11.29.
1765 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1766 (elsp-header): New backend.
1768 * elmo-util.el (elmo-decoded-field-body): New function.
1770 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1772 * elmo-version.el (elmo-version): Up to 2.11.28.
1774 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1776 * elmo-filter.el: Rewrite.
1778 * elmo-version.el (elmo-version): Up to 2.11.27.
1780 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1782 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1783 msgdb path for the localdir folder with absolute path.
1785 * utf7.el: Synch up with latest gnus/utf7.el;
1786 Modified for latest Emacs.
1788 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1790 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1791 shimbun backend couldn't open.
1793 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1795 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1796 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1797 when a destination folder is a filter folder.
1799 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1801 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1802 (elmo-generic-folder-append-messages): Call elmo-message-flags
1803 with argument `msgid'.
1805 * elmo-split.el (elmo-split-subr): Ditto.
1807 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1809 * elmo-multi.el (elmo-message-flags): Ditto.
1811 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1813 * elmo.el (elmo-folder): Add new slot `flag-table'.
1814 (elmo-folder-flag-table): New API.
1815 (elmo-folder-close-flag-table): Ditto.
1816 (elmo-folder-preserve-flags): New function.
1817 (elmo-generic-folder-append-messages): Use
1818 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1819 Flag of a non-registered message, it sets to nil.
1820 Does not set flag to flag-table.
1822 * elmo-maildir.el (elmo-folder-append-buffer): Use
1823 `elmo-folder-preserve-flags'.
1824 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1825 `elmo-folder-close-flag-table'.
1827 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1828 (elmo-archive-folder-append-buffer): Use
1829 `elmo-folder-preserve-flags'.
1831 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1833 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1835 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1836 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1837 `elmo-folder-close-flag-table'.
1839 * elmo-version.el (elmo-version): Up to 2.11.26.
1841 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1843 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1845 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1846 md5's 4th and 5th argument (non-existent in flim one).
1848 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1850 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1851 message, It sets to nil.
1853 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1855 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1858 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1860 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1862 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1864 * elmo-util.el (elmo-uniq-sorted-list): New function.
1865 (elmo-make-number-list): Ditto.
1866 (elmo-number-set-to-number-list): Use elmo-make-number-list
1867 and don't use nreverse.
1869 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1871 * elmo-version.el (elmo-version): Up to 2.11.25.
1873 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1875 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1876 field not exists in message, Use md5 message digest of header.
1878 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1880 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1881 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1882 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1883 * elmo-split.el (elmo-split-subr): Check return value of
1884 elmo-folder-append-buffer.
1886 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1887 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1889 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1892 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1894 * elmo-split.el (elmo-split-subr): Append message with flag.
1896 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1897 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1898 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1900 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1902 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1903 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1904 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1906 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1908 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1909 with a function call of `process-buffer'. All callers are updated.
1910 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1911 Remove redundant `set-buffer' in a while loop.
1913 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1915 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1918 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1920 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1921 elsp-spamfilter-register-buffer-internal with current buffer.
1922 (elmo-spam-register-spam-buffer): Ditto.
1923 (elmo-spam-register-good-buffer): Ditto.
1925 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1927 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1928 if it is not contained in the response(A workaround for courier-imap).
1930 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1932 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1935 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1937 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1940 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1942 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1945 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1947 (elmo-msgdb-message-match-condition): Follow the change above.
1949 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1951 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1954 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1956 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1958 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1960 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1962 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1964 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1967 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1969 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1971 (elmo-file-command-argument): Undo last change for cygwin.
1972 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1974 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1976 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1978 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1979 value returned from elmo-file-find is nil.
1981 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1983 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1986 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1987 instead of insert-file-contents-as-binary.
1988 (elmo-message-set-field): New generic function.
1990 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1991 behavior change on `split-string'.
1993 * elmo-file.el (elmo-file-find): New function.
1994 (elmo-file-command): New user option.
1995 (elmo-file-command-argument): Ditto.
1996 (elmo-file-fetch-max-size): Ditto.
1997 (elmo-file-detect-format): New function.
1998 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1999 Use elmo-file-detect-format.
2000 (elmo-map-folder-list-message-locations): Don't treat directories.
2002 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2004 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2005 (elmo-passwd-alist-clear): Shred password before clear.
2006 (elmo-remove-passwd): Remove all mached pair.
2008 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2010 * elmo.el (elmo-folder-synchronize): Fix description of the return
2013 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2015 * elmo.el (elmo-message-fetch-bodystructure): New method.
2016 (elmo-message-fetch-bodystructure): Define default.
2018 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2019 elmo-message-fetch-bodystructure.
2020 (elmo-message-fetch-bodystructure): Define.
2022 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2024 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2026 * elmo-filter.el (elmo-message-folder): Define.
2028 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2030 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2031 elmo-delete-cr-buffer.
2033 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2035 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2037 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2039 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2040 type seems to be a text.
2042 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2044 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2045 (elmo-spam-register-good-buffer): Ditto.
2046 (elmo-spam-spamassassin-register-messages): Ditto.
2048 * elmo-util.el (elmo-string-member-ignore-case): Define with
2051 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2053 * elmo.el (elmo-folder-type): Undo last change.
2055 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2057 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2060 * elmo-file.el: New file.
2062 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2064 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2066 (elmo-spam-spamassassin-register-messages): New inline function.
2067 (elmo-spam-register-spam-messages): Define.
2068 (elmo-spam-register-good-messages): Ditto.
2070 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2073 * elmo.el (toplevel): Added autoload setting for
2074 `elmo-get-global-flags'.
2075 (elmo-message-has-global-flag-p): New function.
2076 (elmo-message-set-global-flags): Ditto.
2077 (elmo-folder-type): Improvement for name: format.
2079 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2080 availability of keyword flags.
2081 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2082 (elmo-folder-list-flagged-plugged): Renamed from
2083 elmo-folder-list-flagged-unplugged.
2084 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2085 accept any flag as keyword flag.
2086 (elmo-folder-set-flag-plugged): Accept keyword flags.
2087 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2089 * elmo-flag.el (elmo-get-global-flags): New function.
2091 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2094 * elmo-version.el (elmo-version): Up to 2.11.24.
2096 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2098 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2099 elmo-multiple-field-body instead of std11-field-body to check all
2102 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2104 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2107 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2109 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2110 unintern is unbound.
2112 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2114 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2115 Protect from infinite loop.
2117 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2119 * elsp-bogofilter.el
2120 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2121 (elmo-spam-bogofilter-register-messages): New internal function.
2122 (elmo-spam-register-spam-messages): Define.
2123 (elmo-spam-register-good-messages): Ditto.
2125 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2127 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2128 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2129 (elmo-spam-bogofilter-call): Fixed the last change.
2130 (elmo-spam-bogofilter-arguments): Ditto.
2132 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2133 Follow the options change of latest bogofilter.
2135 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2136 (elmo-spam-bogofilter-good-switch): Ditto.
2137 (elmo-spam-bogofilter-arguments-alist): New user option.
2138 (elmo-spam-bogofilter-debug): Ditto.
2139 (elmo-spam-bogofilter-call): Renamed from
2140 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2141 is non-nil, insert output in buffer for debug.
2142 (elmo-spam-bogofilter-arguments): New macro.
2143 (elmo-spam-buffer-spam-p): Use it.
2144 (elsp-bogofilter-register-buffer): Ditto.
2146 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2148 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2151 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2153 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2155 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2156 (elmo-spam-bsfilter-program): Set default value as full path for
2158 (elmo-spam-bsfilter-debug): New user option.
2159 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2160 non-nil, insert output in buffer for debug. Fix treating of
2163 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2165 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2166 `elmo-maildir-flag-specs' element instead of one.
2167 (elmo-map-folder-unset-flag): Ditto.
2168 (Reported by Ken Makimura <macky@astem.or.jp>)
2170 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2171 (elmo-folder-unset-flag-plugged): Ditto.
2173 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2175 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2176 to `reads' slot only if `in-msgdb' is nil.
2178 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2180 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2181 and complement argument list.
2183 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2185 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2186 instead of elmo-folder-list-flagged.
2188 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2190 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2192 * elsp-bsfilter.el: New file.
2194 * elmo-pipe.el (elmo-folder-list-unreads,
2195 elmo-folder-list-answereds,
2196 elmo-folder-list-importants,
2197 elmo-folder-flag-as-important,
2198 elmo-folder-unflag-important,
2199 elmo-folder-flag-as-read,
2200 elmo-folder-unflag-read,
2201 elmo-folder-flag-as-answered,
2202 elmo-folder-unflag-answered): Remove.
2203 (elmo-folder-set-flag): Define.
2204 (elmo-folder-unset-flag): Ditto.
2206 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2207 (elmo-folder-set-flag): Define.
2208 (elmo-folder-unset-flag): Ditto.
2209 (elmo-folder-list-unreads): Remove.
2210 (elmo-folder-list-flagged): Define.
2212 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2213 (elmo-folder-list-unreads,
2214 elmo-folder-list-importants,
2215 elmo-folder-list-answereds,
2216 elmo-folder-list-unreads-plugged,
2217 elmo-folder-list-importants-plugged,
2218 elmo-folder-list-answereds-plugged): Remove.
2219 (elmo-folder-list-flagged-plugged): New method.
2220 (elmo-folder-unflag-important,
2221 elmo-folder-flag-as-important,
2222 elmo-folder-unflag-read,
2223 elmo-folder-flag-as-read,
2224 elmo-folder-unflag-answered,
2225 elmo-folder-flag-as-answered,
2226 elmo-folder-flag-as-read-unplugged,
2227 elmo-folder-unflag-read-unplugged,
2228 elmo-folder-flag-as-important-unplugged,
2229 elmo-folder-unflag-important-unplugged,
2230 elmo-folder-flag-as-answered-unplugged,
2231 elmo-folder-unflag-answered-unplugged): Remove.
2232 (elmo-folder-set-flag): Define.
2233 (elmo-folder-unset-flag): Ditto.
2234 (elmo-folder-set-flag-unplugged): Ditto.
2235 (elmo-folder-unset-flag-unplugged): Ditto.
2237 * elmo-multi.el (elmo-folder-list-unreads,
2238 elmo-folder-list-answereds,
2239 elmo-folder-list-importants,
2240 elmo-folder-flag-as-important,
2241 elmo-folder-unflag-important,
2242 elmo-folder-flag-as-read,
2243 elmo-folder-unflag-read,
2244 elmo-folder-flag-as-answered,
2245 elmo-folder-unflag-answered): Remove.
2246 (elmo-folder-set-flag): Define.
2247 (elmo-folder-unset-flag): Ditto.
2249 * elmo-map.el (elmo-map-folder-unflag-important,
2250 elmo-map-folder-flag-as-important,
2251 elmo-map-folder-unflag-read,
2252 elmo-map-folder-flag-as-read,
2253 elmo-map-folder-unflag-answered,
2254 elmo-map-folder-flag-as-answered): Remove.
2255 (elmo-map-folder-set-flag): New method.
2256 (elmo-map-folder-unset-flag): Ditto.
2257 (elmo-map-folder-list-unreads,
2258 elmo-map-folder-list-importants,
2259 elmo-map-folder-list-answereds): Remove.
2260 (elmo-folder-list-flagged-internal): Define.
2261 (elmo-map-folder-list-flagged): New method.
2263 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2264 (elmo-map-folder-list-unreads,
2265 elmo-map-folder-list-importants,
2266 elmo-map-folder-list-flagged): Remove.
2267 (elmo-map-folder-list-flagged): Define.
2268 (elmo-map-folder-flag-as-important,
2269 elmo-map-folder-unflag-important,
2270 elmo-map-folder-flag-as-read,
2271 elmo-map-folder-unflag-read,
2272 elmo-map-folder-flag-as-answered,
2273 elmo-map-folder-unflag-answered): Remove.
2274 (elmo-maildir-set-mark-messages): New internal function.
2275 (elmo-map-folder-set-flag): Define.
2276 (elmo-map-folder-unset-flag): Ditto.
2278 * elmo.el (toplevel): Added autoload setting for
2279 `elmo-folder-list-global-flag-messages'.
2280 (elmo-folder-list-unreads,
2281 elmo-folder-list-importants,
2282 elmo-folder-list-answereds): Remove.
2283 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2284 Return a list whitch merged with messages have global flag.
2285 (elmo-folder-list-flagged-internal): New method.
2286 (elmo-folder-unflag-important,
2287 elmo-folder-flag-as-important,
2288 elmo-folder-unflag-read,
2289 elmo-folder-flag-as-read,
2290 elmo-folder-unflag-answered,
2291 elmo-folder-flag-as-answered): Remove.
2292 (elmo-folder-set-flag): New method.
2293 (elmo-folder-unset-flag): Ditto.
2294 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2295 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2297 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2298 (elmo-folder-list-unreads-plugged,
2299 elmo-folder-list-importants-plugged,
2300 elmo-folder-list-answereds-plugged,
2301 elmo-folder-list-flagged-unplugged,
2302 elmo-folder-unflag-important-plugged,
2303 elmo-folder-flag-as-important-plugged,
2304 elmo-folder-unflag-read-plugged,
2305 elmo-folder-flag-as-read-plugged,
2306 elmo-folder-unflag-answered-plugged,
2307 elmo-folder-flag-as-answered-plugged): Remove.
2308 (elmo-folder-set-flag-plugged,
2309 elmo-folder-unset-flag-plugged): Define.
2311 * elmo-flag.el (elmo-folder-initialize): Register to
2312 `elmo-global-flag-list' if flag is not global.
2313 (elmo-folder-append-messages): Set flag to source messages.
2315 * elmo-filter.el (elmo-filter-folder-list-unreads,
2316 elmo-folder-list-unreads,
2317 elmo-filter-folder-list-importants,
2318 elmo-folder-list-importants,
2319 elmo-folder-flag-as-read,
2320 elmo-folder-unflag-read,
2321 elmo-folder-flag-as-important,
2322 elmo-folder-unflag-important,
2323 elmo-folder-flag-as-answered,
2324 elmo-folder-unflag-answered): Remove.
2325 (elmo-folder-set-flag): Define.
2326 (elmo-folder-unset-flag): Ditto.
2328 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2329 elmo-folder-unflag-read-dop,
2330 elmo-folder-flag-as-important-dop,
2331 elmo-folder-unflag-important-dop,
2332 elmo-folder-flag-as-answered-dop,
2333 elmo-folder-unflag-answered-dop): Remove.
2334 (elmo-folder-set-flag-dop,
2335 elmo-folder-unset-flag-dop,
2336 elmo-folder-set-important-delayed,
2337 elmo-folder-unset-important-delayed,
2338 elmo-folder-set-read-delayed,
2339 elmo-folder-unset-read-delayed,
2340 elmo-folder-set-answered-delayed,
2341 elmo-folder-unset-answered-delayed): New function.
2342 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2343 (elmo-dop-queue-method-name-alist): Ditto.
2345 * elmo-version.el (elmo-version): Up to 2.11.23.
2347 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2349 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2351 * elsp-sa.el: New file.
2353 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2355 * modb-standard.el (modb-standard-message-entity): New function.
2356 (elmo-msgdb-message-entity): Use it.
2358 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2360 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2361 behavior when one-level is nil.
2363 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2365 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2367 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2369 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2371 (elmo-generic-folder-diff): Ditto.
2373 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2374 (elmo-folder-update-number): Ditto.
2376 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2377 (elmo-folder-next-message-number-dop): Ditto.
2379 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2381 * elmo-filter.el (elmo-folder-msgdb-create): Use
2382 `elmo-message-entity' and `elmo-message-flags' instead of
2383 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2385 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2387 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2390 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2392 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2394 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2396 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2398 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2400 * elmo-version.el (elmo-version): Up to 2.11.22.
2402 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2404 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2406 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2408 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2409 if the message dose not exist.
2411 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2413 * elmo-version.el (elmo-version): Up to 2.11.21.
2415 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2417 * modb-standard.el (toplevel): Don't require mime.
2419 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2421 * elsp-bogofilter.el (toplevel): Don't require path-util.
2422 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2423 (elmo-spam-bogofilter-header): Abolish.
2424 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2425 (elmo-spam-bogofilter-args): New user option.
2426 (elsp-bogofilter-call-bogofilter): New internal function.
2427 (elmo-spam-buffer-spam-p): Use it.
2428 (elsp-bogofilter-register-buffer): Renamed from
2429 `elmo-spam-bogofilter-register-buffer';
2430 Use `elsp-bogofilter-call-bogofilter'.
2431 (elmo-spam-register-spam-buffer): Follow the change above.
2432 (elmo-spam-register-good-buffer): Ditto.
2434 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2436 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2437 message-id is nil do nothing.
2439 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2441 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2443 (elmo-imap4-session): Removed use-flag slot.
2444 (elmo-imap4-session-select-mailbox): Undo last change.
2445 (elmo-folder-use-flag-p): Use
2446 elmo-imap4-disuse-server-flag-mailbox-regexp.
2448 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2450 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2451 (elmo-imap4-session-select-mailbox): Set it up.
2452 (elmo-folder-use-flag-p): Return value of use-flag slot.
2454 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2456 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2458 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2460 * modb-entity.el (elmo-message-entity-handler): Likewise.
2462 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2464 * elmo.el (toplevel): Remove setting of autoloding for
2465 elmo-global-flag-initialize.
2466 (elmo-init): Don't call elmo-global-flag-initialize.
2467 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2469 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2470 (elmo-global-mark-migrate): Don't call it.
2471 (elmo-global-mark-upgrade): Ditto.
2473 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2475 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2476 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2478 * elmo-vars.el (elmo-init-hook): New user option.
2480 * elmo.el (elmo-init): Run the elmo-init-hook.
2482 * elmo-flag.el (elmo-global-mark-migrate): New function.
2484 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2486 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2487 Undo last change (move to elmo-msgdb-unset-flag).
2488 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2491 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2493 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2495 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2496 (elmo-msgdb-unset-flag): Ditto.
2498 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2500 * elmo-split.el (elmo-split): Return split message count.
2502 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2504 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2507 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2509 * elmo.el (elmo-folder-unflag-important): Call
2510 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2513 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2515 (elmo-global-flag-detach): Delete the message from flag folder, if
2516 `delete-if-none' is a symbol `always'.
2518 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2520 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2521 `elmo-spam-spamfilter-decode-buffer'.
2522 (elsp-spamfilter-register-buffer-internal): New internal function.
2523 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2524 (elmo-spam-register-spam-buffer): Ditto.
2525 (elmo-spam-register-good-buffer): Ditto.
2527 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2529 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2530 (elmo-spam-register-spam-buffer): Follow the API change.
2531 (elmo-spam-register-good-buffer): Ditto.
2533 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2534 (elmo-split-spam-p): Added argument plist; Call
2535 `elmo-spam-buffer-spam-p' with new argument register.
2537 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2539 (elmo-spam-message-spam-p): Ditto.
2540 (elmo-spam-register-spam-buffer): Added optional argument
2542 (elmo-spam-register-good-buffer): Ditto.
2543 (elmo-spam-register-spam-messages): Ditto.
2544 (elmo-spam-register-good-messages): Ditto.
2546 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2548 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2549 register into good corpus.
2550 (elmo-spam-register-good-buffer): Fixed to register into bad
2553 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2555 * elmo-version.el (elmo-version): Up to 2.11.20.
2557 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2560 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2561 flag without depending on \Recent flag.
2563 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2565 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2566 (elmo-spam-modified-p): Defined.
2567 (elmo-spam-save-status): Set `modified' slot to nil.
2568 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2569 (elmo-spam-register-good-buffer): Ditto.
2571 * elmo-spam.el (elmo-spam-modified-p): New API.
2573 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2575 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2576 duplicate definition.
2578 * elmo-util.el (elmo-unfold-field-body): New function.
2579 (elmo-msgdb-get-message-id-from-buffer): Use it.
2581 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2582 Fixed the last change; Use elmo-unfold-field-body.
2584 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2586 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2589 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2591 * elmo-spam.el (elmo-spam-save-status): New API.
2593 * elsp-spamfilter.el: New file.
2595 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2597 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2599 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2601 * elmo-split.el (elmo-split-spam-p): New function.
2603 * elmo-spam.el: New file.
2605 * elsp-bogofilter.el: Ditto.
2607 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2609 * elmo.el (elmo-folder-next-message-number): New API.
2610 (elmo-folder-next-message-number): Define.
2611 (elmo-message-field): Don't check folder length.
2613 * elmo-net.el (elmo-folder-next-message-number): Define.
2614 (elmo-folder-next-message-number-unplugged): Define.
2616 * elmo-map.el (elmo-folder-next-message-number): Define.
2617 (elmo-folder-delete-messages): Clear hash value.
2619 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2621 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2622 (elmo-folder-delete-messages-dop-delayed): Always return t.
2624 * elmo-version.el (elmo-version): Up to 2.11.19.
2626 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2628 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2631 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2632 identical cons cell into the mark-alist and the hash table.
2634 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2636 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2637 elmo-folder-list-messages with argument `visible-only' as t.
2639 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2640 (elmo-folder-msgdb-create): Check the target folder.
2642 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2644 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2645 `permanentflag' instead of `flags'.
2646 (elmo-folder-open): Ditto.
2647 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2648 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2649 (elmo-folder-use-flag-p): Always return t.
2650 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2651 `permanentflags' does not exist.
2652 (elmo-folder-open): Ditto.
2654 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2656 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2658 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2660 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2661 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2663 (elmo-folder-open): Ditto.
2664 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2665 slot of the session includes the flag.
2666 (elmo-imap4-session-flag-available-p): New function.
2667 (elmo-imap4-folder-list-flagged): Ditto.
2668 (elmo-folder-list-unreads-plugged): Use it.
2669 (elmo-folder-list-importants-plugged): Ditto.
2670 (elmo-folder-list-answereds-plugged): Ditto.
2671 (elmo-imap4-search-internal-primitive): Ditto.
2672 (elmo-imap4-folder-list-any-plugged,
2673 elmo-imap4-folder-list-digest-plugged): Abolish.
2675 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2678 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2680 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2682 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2684 * elmo-util.el (elmo-get-hash-val): Simplify.
2685 (elmo-set-hash-val): Rewrite.
2687 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2689 * elmo.el (elmo-folder-list-messages): Append killed messages into
2690 result if `visible-only' is nil and `in-msgdb' is non-nil.
2692 * elmo-util.el (elmo-uniq-list): Added optional argument
2695 * modb.el (elmo-msgdb-flag-count): New API.
2697 * modb-standard.el (modb-standard): Added slot flag-count.
2698 (modb-standard-countup-flags): New function.
2699 (modb-standard-load-flag): Call it.
2700 (elmo-msgdb-append): Ditto.
2701 (elmo-msgdb-clear): Clear slot flag-count.
2702 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2703 (elmo-msgdb-unset-flag): Treat `all' flag and call
2704 modb-standard-countup-flags.
2705 (elmo-msgdb-flag-count): Define.
2706 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2707 (elmo-msgdb-delete-messages): Ditto.
2709 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2710 (elmo-msgdb-flag-count): Define.
2712 * elmo.el (elmo-folder-list-messages): Undo last change.
2713 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2714 (elmo-folder-kill-messages): Unset all flags to numbers.
2716 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2717 elmo-folder-kill-messages.
2719 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2720 (elmo-nntp-folder-delete-messages): Abolish.
2722 * elmo-version.el (elmo-version): Up to 2.11.18.
2724 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2726 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2727 (elmo-folder-kill-messages-range): New function.
2728 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2729 instead of elmo-folder-kill-messages-before.
2731 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2733 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2734 elmo-imap4-current-msgdb to decide entity handler.
2736 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2738 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2740 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2742 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2743 (elmo-msgdb-overview-entity-set-number,
2744 elmo-msgdb-overview-entity-get-references,
2745 elmo-msgdb-overview-entity-set-references,
2746 elmo-msgdb-overview-entity-get-from-no-decode,
2747 elmo-msgdb-overview-entity-get-from,
2748 elmo-msgdb-overview-entity-set-from,
2749 elmo-msgdb-overview-entity-get-subject,
2750 elmo-msgdb-overview-entity-get-subject-no-decode,
2751 elmo-msgdb-overview-entity-set-subject,
2752 elmo-msgdb-overview-entity-get-date,
2753 elmo-msgdb-overview-entity-set-date,
2754 elmo-msgdb-overview-entity-get-to,
2755 elmo-msgdb-overview-entity-get-cc,
2756 elmo-msgdb-overview-entity-get-size,
2757 elmo-msgdb-overview-entity-set-size,
2758 elmo-msgdb-overview-entity-get-extra,
2759 elmo-msgdb-overview-entity-set-extra,
2760 elmo-msgdb-overview-entity-get-extra-field,
2761 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2762 (elmo-msgdb-make-index): Use
2763 `elmo-msgdb-overview-entity-get-number-internal'.
2764 (elmo-msgdb-clear-index): Ditto.
2765 (elmo-msgdb-append-entity): Ditto;
2766 Use `elmo-msgdb-overview-entity-get-id-internal'.
2768 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2769 elmo-msgdb-overview-entity-set-number,
2770 elmo-msgdb-overview-entity-get-references,
2771 elmo-msgdb-overview-entity-set-references,
2772 elmo-msgdb-overview-entity-get-from-no-decode,
2773 elmo-msgdb-overview-entity-get-from,
2774 elmo-msgdb-overview-entity-set-from,
2775 elmo-msgdb-overview-entity-get-subject,
2776 elmo-msgdb-overview-entity-get-subject-no-decode,
2777 elmo-msgdb-overview-entity-set-subject,
2778 elmo-msgdb-overview-entity-get-date,
2779 elmo-msgdb-overview-entity-set-date,
2780 elmo-msgdb-overview-entity-get-to,
2781 elmo-msgdb-overview-entity-get-cc,
2782 elmo-msgdb-overview-entity-get-size,
2783 elmo-msgdb-overview-entity-set-size,
2784 elmo-msgdb-overview-entity-get-extra,
2785 elmo-msgdb-overview-entity-set-extra,
2786 elmo-msgdb-overview-entity-get-extra-field,
2787 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2788 and rewrote for backward compatibility.
2790 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2792 * elmo.el (elmo-message-entity-number,
2793 elmo-message-entity-set-number,
2794 elmo-message-entity-field,
2795 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2797 * elmo-msgdb.el (elmo-message-entity-number,
2798 elmo-message-entity-set-number,
2799 elmo-message-entity-field,
2800 elmo-message-entity-set-field): Moved from elmo.el.
2802 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2804 * elmo.el (toplevel): Changed definition orders.
2806 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2808 * modb.el (elmo-msgdb-search): New API .
2809 (elmo-msgdb-match-condition): Ditto.
2811 * modb-standard.el (elmo-msgdb-search): Define.
2813 * modb-legacy.el (elmo-msgdb-search): Ditto.
2815 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2816 from elmo-msgdb-match-condition-internal.
2818 * elmo.el (elmo-folder-search-fast): Abolish.
2819 (elmo-folder-search): Use elmo-msgdb-search and
2820 elmo-with-progress-display.
2822 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2825 * elmo.el (elmo-folder): Remove slot message-modified and
2827 (elmo-folder-set-message-modified): Abolish.
2828 (elmo-generic-folder-commit): Follow the change above.
2829 (elmo-folder-synchronize): Ditto.
2831 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2833 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2835 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2837 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2839 * modb-standard.el (modb-standard-make-message-entity,
2840 elmo-msgdb-make-message-entity,
2841 elmo-msgdb-create-message-entity-from-buffer,
2842 elmo-msgdb-message-entity-number,
2843 elmo-msgdb-message-entity-set-number,
2844 elmo-msgdb-message-entity-field,
2845 elmo-msgdb-message-entity-set-field,
2846 elmo-msgdb-copy-message-entity,
2847 elmo-msgdb-match-condition-internal): Remove.
2849 * modb-entity.el: New file (again).
2851 * modb.el (toplevel): Require modb-entity.
2852 (elmo-msgdb-message-entity-handler): New method.
2854 * modb-standard.el (modb-standard-entity-id): Use
2855 elmo-message-entity-handler.
2856 (modb-standard-load-entity): Ditto.
2857 (elmo-msgdb-append-entity): Ditto.
2858 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2860 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2861 elmo-msgdb-decoded-cache-hashtb,
2862 (modb-legacy-make-message-entity,
2863 elmo-msgdb-make-message-entity,
2864 elmo-msgdb-create-message-entity-from-buffer,
2865 elmo-msgdb-message-entity-number,
2866 elmo-msgdb-message-entity-set-number,
2867 elmo-msgdb-message-entity-field,
2868 elmo-msgdb-message-entity-set-field,
2869 elmo-msgdb-copy-message-entity,
2870 elmo-msgdb-match-condition-internal,
2871 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2873 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2874 (elmo-message-entity-set-number): Ditto.
2875 (elmo-message-entity-field): Ditto.
2876 (elmo-message-entity-set-field): Ditto.
2878 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2880 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2882 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2884 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2885 (elmo-nntp-msgdb-create-message): Ditto.
2887 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2888 (elmo-folder-msgdb-create): Add unread flag.
2890 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2892 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2894 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2896 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2898 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2899 elmo-msgdb-messge-entity-handler.
2900 * elmo-version.el (elmo-version): Up to 2.11.17.
2902 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2904 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2907 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2909 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2911 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2912 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2913 (elmo-msgdb-flag-table): Ditto.
2914 (elmo-msgdb-sort-by-date): Ditto.
2916 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2918 * modb-standard.el (toplevel): Require mime.
2919 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2920 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2921 elmo-msgdb-message-entity-number.
2922 (elmo-msgdb-append-entity): Ditto.
2923 (elmo-msgdb-create-message-entity-from-file): Remove.
2924 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2925 corresponds to the entity.
2926 (elmo-msgdb-message-entity-number): Do nothing currently.
2927 (elmo-msgdb-message-entity-field): Ditto.
2928 (elmo-msgdb-message-entity-set-field): Ditto.
2929 (elmo-msgdb-copy-message-entity): Ditto.
2930 (elmo-msgdb-match-condition-internal): Ditto.
2932 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2934 (elmo-msgdb-create-message-entity-from-file): Remove.
2936 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2938 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2940 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2942 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2944 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2945 (elmo-msgdb-message-entity-field): Ditto.
2946 (elmo-msgdb-message-entity-number): Ditto.
2948 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2950 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2951 Fixed how to set extra field into entity.
2952 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2955 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2956 Fixed how to set extra field into entity.
2957 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2960 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2962 * modb.el (elmo-message-entity-db): New function.
2963 (elmo-msgdb-make-message-entity): New API.
2964 (elmo-msgdb-message-entity-number): Ditto.
2965 (elmo-msgdb-message-entity-set-number): Ditto.
2966 (elmo-msgdb-message-entity-field): Ditto.
2967 (elmo-msgdb-message-entity-set-field): Ditto.
2968 (elmo-msgdb-copy-message-entity): Ditto.
2969 (elmo-msgdb-create-message-entity-from-file): Ditto.
2970 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2971 (elmo-msgdb-match-condition-internal): Ditto.
2973 * modb-standard.el (modb-legacy): Require modb-legacy.
2974 (modb-standard-make-message-entity): New inline function.
2975 (elmo-msgdb-make-message-entity): Define.
2976 (elmo-msgdb-create-message-entity-from-file): Ditto.
2977 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2978 (elmo-msgdb-message-entity-field): Ditto.
2979 (elmo-msgdb-message-entity-set-field): Ditto.
2980 (elmo-msgdb-copy-message-entity): Ditto.
2981 (elmo-msgdb-match-condition-internal): Ditto.
2983 * modb-legacy.el: Don't require modb-entity.
2984 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2985 (elmo-msgdb-match-condition-primitive): Ditto.
2986 (elmo-msgdb-get-decoded-cache): Ditto.
2987 (elmo-msgdb-overview-entity-get-id): Ditto.
2988 (elmo-msgdb-overview-entity-get-number): Ditto.
2989 (elmo-msgdb-overview-entity-set-number): Ditto.
2990 (elmo-msgdb-overview-entity-get-references): Ditto.
2991 (elmo-msgdb-overview-entity-set-references): Ditto.
2992 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2993 (elmo-msgdb-overview-entity-get-from): Ditto.
2994 (elmo-msgdb-overview-entity-set-from): Ditto.
2995 (elmo-msgdb-overview-entity-get-subject): Ditto.
2996 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2997 (elmo-msgdb-overview-entity-set-subject): Ditto.
2998 (elmo-msgdb-overview-entity-get-date): Ditto.
2999 (elmo-msgdb-overview-entity-set-date): Ditto.
3000 (elmo-msgdb-overview-entity-get-to): Ditto.
3001 (elmo-msgdb-overview-entity-get-cc): Ditto.
3002 (elmo-msgdb-overview-entity-get-size): Ditto.
3003 (elmo-msgdb-overview-entity-set-size): Ditto.
3004 (elmo-msgdb-overview-entity-get-extra): Ditto.
3005 (elmo-msgdb-overview-entity-set-extra): Ditto.
3006 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3007 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3008 (elmo-msgdb-number-load): Ditto.
3009 (elmo-msgdb-overview-load): Ditto.
3010 (elmo-msgdb-mark-load): Ditto.
3011 (elmo-msgdb-number-save): Ditto.
3012 (elmo-msgdb-mark-save): Ditto.
3013 (elmo-msgdb-overview-save): Ditto.
3014 (modb-legacy-make-message-entity): New inline function.
3015 (elmo-msgdb-insert-file-header): Ditto.
3016 (elmo-msgdb-make-message-entity): Define.
3017 (elmo-msgdb-create-message-entity-from-file): Ditto.
3018 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3019 (elmo-msgdb-message-entity-number): Ditto.
3020 (elmo-msgdb-message-entity-set-number): Ditto.
3021 (elmo-msgdb-message-entity-field): Ditto.
3022 (elmo-msgdb-message-entity-set-field): Ditto.
3023 (elmo-msgdb-copy-message-entity): Ditto.
3024 (elmo-msgdb-match-condition-internal): Ditto.
3026 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3027 (elmo-message-copy-entity): Rewrite.
3028 (elmo-message-entity-number): Ditto.
3029 (elmo-message-entity-set-number): Ditto.
3030 (elmo-message-entity-field): Use elmo-message-entity-db.
3031 (elmo-message-entity-set-field): Ditto.
3032 (elmo-message-field): Rewrite.
3034 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3036 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3038 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3039 elmo-message-entity-field.
3040 (elmo-shimbun-folder-shimbun-header): Ditto.
3041 (elmo-shimbun-entity-to-header): Ditto.
3042 (elmo-folder-msgdb-create): Ditto.
3043 (elmo-shimbun-msgdb-create-entity): Ditto;
3044 Use elmo-msgdb-create-message-entity-from-buffer.
3045 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3046 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3048 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3049 elmo-msgdb-create-message-entity-from-file and
3050 elmo-message-entity-field.
3052 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3053 elmo-message-entity-number.
3054 (elmo-pop3-msgdb-create-message): Use
3055 elmo-msgdb-create-message-entity-from-buffer,
3056 elmo-message-entity-set-field, elmo-message-entity-number and
3057 elmo-message-entity-set-number.
3059 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3060 the API change in elmo-msgdb-make-message-entity.
3061 (elmo-nntp-msgdb-create-message): Use
3062 elmo-msgdb-create-message-entity-from-buffer.
3064 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3065 elmo-message-entity-field and
3066 elmo-msgdb-create-message-entity-from-file.
3068 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3069 (elmo-msgdb-get-field): Abolish.
3070 (elmo-msgdb-get-number): Rewrite.
3071 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3072 (elmo-msgdb-flag-table): Ditto.
3073 (elmo-msgdb-get-last-message-id,
3074 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3075 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3076 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3077 (elmo-msgdb-create-overview-from-buffer,
3078 elmo-msgdb-overview-get-parent-entity): Abolish.
3080 * elmo-mime.el (elmo-mime-display-as-is): Use
3081 elmo-message-entity-field.
3083 * elmo-map.el (elmo-folder-pack-numbers): Use
3084 elmo-message-entity-set-number.
3086 * elmo-maildir.el (elmo-folder-msgdb-create):
3087 elmo-msgdb-create-message-entity-from-file instead of
3088 elmo-msgdb-create-overview-entity-from-file.
3090 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3092 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3093 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3095 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3096 elmo-messge-entity-field and elmo-message-entity-number.
3097 (elmo-imap4-fetch-callback-1): Call
3098 elmo-msgdb-create-message-entity-from-buffer instead of
3099 elmo-msgdb-create-overview-from-buffer.
3100 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3101 (elmo-find-fetch-strategy): Likewise.
3103 * elmo-flag.el (elmo-folder-msgdb-create): Call
3104 elmo-localdir-msgdb-create-entity with argument msgdb.
3106 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3107 and elmo-message-entity-set-number.
3109 * elmo-cache.el (elmo-folder-msgdb-create): Use
3110 elmo-message-entity-field.
3111 (elmo-folder-msgdb-create): Call
3112 elmo-msgdb-create-message-entity-from-file instead of
3113 elmo-msgdb-create-overview-entity-from-file.
3115 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3116 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3117 instead of elmo-msgdb-create-overview-from-buffer.
3118 (elmo-archive-msgdb-create-entity): Ditto.
3119 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3120 elmo-message-entity-field.
3121 (elmo-archive-parse-mmdf): Ditto.
3123 * modb-entity.el: Removed.
3125 * elmo-version.el (elmo-version): Up to 2.11.16.
3127 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3129 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3131 (elmo-folder-flag-as-answered): Ditto.
3133 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3135 * modb-standard.el: New file.
3137 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3138 elmo-msgdb-convert-type is `sync'.
3140 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3141 (elmo-msgdb-convert-type): New user option.
3143 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3144 (elmo-load-msgdb): Auto detect saved type.
3146 * elmo-version.el (elmo-version): Up to 2.11.15.
3148 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3150 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3152 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3153 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3154 with argument `delete-if-none' when dst-folder is 'null.
3156 * elmo-flag.el (elmo-folder-append-messages): Defined.
3157 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3159 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3161 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3163 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3165 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3166 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3167 (elmo-folder-commit): Ditto.
3169 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3171 * elmo-flag.el: New file.
3173 * elmo-mark.el: Removed.
3175 * modb-legacy.el (modb-legacy-new-mark,
3176 modb-legacy-unread-uncached-mark,
3177 modb-legacy-unread-cached-mark,
3178 modb-legacy-read-uncached-mark,
3179 modb-legacy-answered-cached-mark,
3180 modb-legacy-answered-uncached-mark,
3181 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3182 All other related portions are changed.
3184 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3185 (elmo-folder-list-messages-with-global-mark): Abolish.
3186 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3187 (elmo-folder-flag-as-important): Ditto.
3188 (elmo-folder-unflag-read): Ditto.
3189 (elmo-folder-flag-as-read): Ditto.
3190 (elmo-folder-unflag-answered): Ditto.
3191 (elmo-folder-flag-as-answered): Ditto.
3192 (elmo-message-encache): Return the cache path.
3193 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3194 (elmo-message-set-flag): Transitional implementation.
3195 (elmo-message-unset-flag): Ditto.
3196 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3197 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3198 (elmo-init): Call elmo-global-flag-initialize.
3199 (toplevel): Added autoload settings for elmo-flag.
3201 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3203 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3204 (elmo-file-cache-delete): Don't treat global-mark.
3206 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3208 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3210 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3211 `elmo-global-flags-set'.
3213 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3215 (elmo-folder-unflag-read): Ditto.
3216 (elmo-folder-unflag-important): Ditto.
3217 (elmo-folder-flag-as-important): Ditto.
3218 (elmo-folder-unflag-answered): Ditto.
3219 (elmo-folder-flag-as-answered): Ditto.
3221 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3222 `elmo-global-flags-set'.
3223 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3225 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3227 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3229 (elmo-folder-flag-as-important): Ditto.
3230 (elmo-folder-unflag-important): Ditto.
3231 (elmo-folder-flag-as-important): Ditto.
3232 (elmo-folder-unflag-read): Ditto.
3233 (elmo-folder-flag-as-read): Ditto.
3234 (elmo-folder-unflag-answered): Ditto.
3235 (elmo-folder-flag-as-answered): Ditto.
3237 * elmo-multi.el (elmo-folder-list-importants): Don't call
3238 elmo-folder-list-messages-with-global-mark.
3239 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3240 (elmo-folder-unflag-important): Ditto.
3241 (elmo-folder-flag-as-read): Ditto.
3242 (elmo-folder-unflag-read): Ditto.
3243 (elmo-folder-flag-as-answered): Ditto.
3244 (elmo-folder-unflag-answered): Ditto.
3246 * elmo-msgdb.el (elmo-msgdb-new-mark,
3247 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3248 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3249 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3250 (Moved to modb-legacy.el).
3251 (elmo-flag-table-get): Treat important flag too.
3253 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3255 (elmo-map-folder-flag-as-important): Ditto.
3256 (elmo-map-folder-unflag-read): Ditto.
3257 (elmo-map-folder-flag-as-read): Ditto.
3258 (elmo-map-folder-unflag-answered): Ditto.
3259 (elmo-map-folder-flag-as-answered): Ditto.
3260 (elmo-folder-unflag-important): Ditto.
3261 (elmo-folder-flag-as-important): Ditto.
3262 (elmo-folder-unflag-read): Ditto.
3263 (elmo-folder-flag-as-read): Ditto.
3264 (elmo-folder-unflag-answered): Ditto.
3265 (elmo-folder-flag-as-answered): Ditto.
3267 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3268 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3270 (elmo-map-folder-unflag-important): Ditto.
3271 (elmo-map-folder-flag-as-read): Ditto.
3272 (elmo-map-folder-unflag-read): Ditto.
3273 (elmo-map-folder-flag-as-answered): Ditto.
3274 (elmo-map-folder-unflag-answered): Ditto.
3276 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3277 `elmo-global-flags-set'.
3278 (elmo-global-flags-set): Added autoload setting.
3280 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3283 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3284 `elmo-msgdb-global-mark-set'.
3285 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3286 Call `elmo-global-flags-set'.
3287 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3289 (elmo-folder-flag-as-important-plugged): Ditto.
3290 (elmo-folder-unflag-read-plugged): Ditto.
3291 (elmo-folder-flag-as-read-plugged): Ditto.
3292 (elmo-folder-unflag-answered-plugged): Ditto.
3293 (elmo-folder-flag-as-answered-plugged): Ditto.
3294 (elmo-global-flags-set): Added autoload setting.
3296 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3298 (elmo-folder-unflag-read): Ditto.
3299 (elmo-folder-flag-as-important): Ditto.
3300 (elmo-folder-unflag-important): Ditto.
3301 (elmo-folder-flag-as-answered): Ditto.
3302 (elmo-folder-unflag-answered): Ditto.
3304 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3305 change of `mark'->`flag'.
3306 (elmo-dop-queue-method-name-alist): Ditto.
3307 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3308 (elmo-folder-unflag-read-dop): Ditto.
3309 (elmo-folder-flag-as-important-dop): Ditto.
3310 (elmo-folder-unflag-important-dop): Ditto.
3311 (elmo-folder-flag-as-answered-dop): Ditto.
3312 (elmo-folder-unflag-answered-dop): Ditto.
3314 * elmo-cache.el (elmo-folder-msgdb-create): Call
3315 `elmo-global-flags-set'.
3317 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3318 Call `elmo-global-flags-set'.
3319 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3320 elmo-archive-parse-mmdf with argument `folder'.
3321 (elmo-archive-parse-mmdf): Added argument `folder';
3322 Call `elmo-global-flags-set'.
3324 * elmo-version.el (elmo-version): Up to 2.11.14.
3326 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3328 * modb.el (elmo-msgdb-length): Define.
3330 * elmo.el (elmo-make-folder): Fixed.
3331 (elmo-generic-folder-append-messages): Follow the API change.
3333 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3336 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3338 * modb.el: New file.
3340 * modb-entity.el: Ditto.
3342 * modb-legacy.el: Ditto.
3344 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3345 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3346 of `elmo-msgdb-overview-get-entity'.
3347 (elmo-msgdb-get-field): Ditto.
3348 (elmo-msgdb-merge): Moved to `elmo.el'.
3349 (elmo-msgdb-length): Removed; redefine as modb method.
3350 (elmo-msgdb-change-mark): Abolish.
3351 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3352 (elmo-msgdb-match-condition): Don't use mark.
3353 (elmo-msgdb-overview-get-entity): Abolish.
3354 Split modb part into `modb*.el'.
3356 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3358 * elmo-shimbun.el (shimbun-mua-search-id): Use
3359 `elmo-msgdb-message-entity' instead of
3360 `elmo-msgdb-overview-get-entity'.
3361 (elmo-shimbun-folder-shimbun-header): Ditto.
3362 (elmo-shimbun-get-headers): Ditto.
3363 (elmo-shimbun-update-overview): Ditto.
3365 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3367 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3369 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3370 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3372 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3373 `elmo-msgdb-mark-to-flags'.
3375 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3376 `elmo-msgdb-set-path'.
3378 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3380 * elmo-version.el (elmo-version): Up to 2.11.13.
3382 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3384 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3387 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3389 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3392 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3394 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3395 instead of `elmo-msgdb-get-cached'.
3396 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3398 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3399 (elmo-msgdb-set-cached): Ditto.
3400 (elmo-msgdb-set-flag): Rewrite.
3401 (elmo-msgdb-unset-flag): Ditto.
3403 * elmo-msgdb.el: Rewrite with luna.
3405 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3406 (elmo-folder-msgdb): Follow the change above.
3407 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3408 (elmo-folder-unmark-important): Follow the API change.
3409 (elmo-folder-mark-as-important): Ditto.
3410 (elmo-folder-unmark-read): Ditto.
3411 (elmo-folder-mark-as-read): Ditto.
3412 (elmo-folder-unmark-answered): Ditto.
3413 (elmo-folder-mark-as-answered): Ditto.
3414 (elmo-folder-clear): Likewise.
3416 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3417 instead of `elmo-msgdb-load' (renamed).
3419 * elmo-version.el (elmo-version): Up to 2.11.12.
3421 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3423 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3425 (elmo-message-mark): Abolish.
3426 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3427 instead of `elmo-msgdb-change-mark'.
3429 * elmo-pipe.el (elmo-message-mark): Abolish.
3431 * elmo-multi.el (elmo-message-mark): Ditto.
3433 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3434 (elmo-msgdb-unread-uncached-mark): Ditto.
3435 (elmo-msgdb-unread-cached-mark): Ditto.
3436 (elmo-msgdb-read-uncached-mark): Ditto.
3437 (elmo-msgdb-answered-cached-mark): Ditto.
3438 (elmo-msgdb-answered-uncached-mark): Ditto.
3439 (elmo-msgdb-important-mark): Ditto.
3440 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3442 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3444 (elmo-flag-table-load): Changed flag to list of flag.
3445 (elmo-flag-table-set): If flags is nil, set read flag.
3446 (elmo-flag-table-get): Return derived flags from global mark,
3447 cache status and saved flags.
3448 (elmo-msgdb-flag-table): Follow the change above.
3449 (elmo-msgdb-out-of-date-messages): New function.
3451 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3453 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3455 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3457 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3458 (elmo-nntp-msgdb-create-message): Ditto.
3460 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3462 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3464 (elmo-folder-msgdb-create): Follow the API change.
3466 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3467 (elmo-folder-append-messages): Ditto.
3469 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3470 (elmo-folder-append-buffer): Ditto.
3472 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3474 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3476 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3477 (elmo-archive-parse-mmdf): Ditto.
3479 * elmo-version.el (elmo-version): Up to 2.11.11.
3481 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3483 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3486 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3488 * elmo-pipe.el (elmo-message-flags): Defined.
3490 * elmo-multi.el (elmo-message-flags): Ditto.
3492 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3494 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3495 `elmo-msgdb-delete-msgs'.
3497 * elmo.el (elmo-folder-count-flags): Don't use
3498 `elmo-msgdb-get-mark-alist'.
3499 (elmo-folder-detach-messages): Follow the API change.
3501 * elmo.el (elmo-folder-list-messages): Append killed messages into
3502 result if `visible-only' is nil.
3504 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3506 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3507 (elmo-folder-update-number): Likewise.
3509 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3510 (elmo-pop3-sort-msgdb-by-original-number): Use
3511 `elmo-msgdb-sort-entities'.
3513 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3514 (elmo-msgdb-sort-by-date): Use it.
3515 (elmo-msgdb-overview-sort-by-date): Abolish.
3517 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3519 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3520 (elmo-msgdb-flags): New function.
3521 (elmo-msgdb-merge): Use elmo-msgdb-append.
3523 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3526 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3528 * elmo-dop.el (elmo-folder-status-dop): Use
3529 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3531 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3533 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3535 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3537 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3539 * elmo-util.el (elmo-with-progress-display): New macro.
3541 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3543 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3545 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3546 `elmo-folder-list-message-entities' instead of
3547 `elmo-msgdb-get-overview'.
3548 (elmo-map-folder-list-message-locations): Ditto.
3550 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3551 methods instead of treat directly).
3552 (elmo-msgdb-clear): Ditto.
3553 (elmo-msgdb-delete-msgs): Ditto.
3554 (elmo-msgdb-sort-by-date): Ditto.
3556 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3558 (elmo-nntp-folder-msgdb-create): Follow the API change.
3560 * elmo-version.el (elmo-version): Up to 2.11.10.
3562 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3564 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3565 (elmo-msgdb-flags-to-mark): Ditto.
3566 (elmo-msgdb-append-entity): Ditto.
3568 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3569 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3570 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3571 (elmo-archive-parse-mmdf): Ditto.
3573 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3575 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3577 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3579 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3581 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3583 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3585 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3587 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3589 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3590 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3593 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3594 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3595 instead of directly construction.
3596 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3597 instead of construct msgdb.
3599 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3600 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3601 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3602 instead of construct msgdb.
3604 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3606 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3607 when field is from or subject.
3609 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3611 * elmo-multi.el (elmo-message-entity-parent): Define.
3612 (elmo-folder-search): Rewrite.
3614 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3616 * elmo-multi.el (elmo-message-cached-p): Define.
3618 * elmo.el (elmo-message-cached-p): New method.
3619 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3620 (elmo-message-flags): New method.
3621 (elmo-message-flagged-p): New function.
3623 * elmo-version.el (elmo-version): Up to 2.11.9.
3625 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3627 * elmo-version.el (elmo-version): Up to 2.11.8.
3629 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3631 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3633 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3635 * elmo.el (elmo-folder-detach-messages): Undo last change.
3637 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3639 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3641 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3642 only when src folder type is pop3.
3644 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3646 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3647 elmo-msgdb-overview-entity-get-number instead of
3648 elmo-message-entity-number.
3650 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3652 * elmo-version.el (elmo-version): Up to 2.11.7.
3654 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3656 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3659 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3660 (elmo-msgdb-merge): New function.
3661 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3662 (elmo-msgdb-make-index): Rewrite.
3664 * elmo-version.el (elmo-version): Up to 2.11.6.
3666 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3667 use it as a the path for loading message entities.
3669 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3671 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3673 * elmo-filter.el (elmo-folder-set-message-modified): Set
3674 message-modified slot of itself if it does not require target msgdb.
3676 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3677 if folder length is zero.
3678 (elmo-mime-display-as-is): Ditto.
3680 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3682 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3684 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3686 * elmo.el (elmo-folder-set-message-modified): New method.
3687 (elmo-generic-folder-commit): Use it.
3688 (elmo-folder-synchronize): Ditto.
3690 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3691 (elmo-folder-commit): Remove duplicate definition.
3693 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3695 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3697 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3699 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3700 (elmo-strict-folder-diff): Ditto.
3701 (elmo-folder-set-info-max-by-numdb): Simplify.
3703 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3704 elmo-msgdb-list-messages.
3706 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3707 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3709 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3711 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3712 visible-only is non-nil.
3713 (elmo-folder-confirm-appends): Changed message.
3714 (elmo-folder-synchronize): Added argument disable-killed.
3716 * elmo-multi.el (elmo-folder-synchronize): Added argument
3719 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3721 * elmo-version.el (elmo-version): Up to 2.11.5.
3723 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3726 * elmo-util.el (elmo-list-filter): Simplify.
3728 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3729 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3730 (elmo-generic-folder-diff): Abolish argument.
3731 (elmo-msgdb-load): Don't use number-alist.
3733 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3735 * elmo-pipe.el (elmo-folder-diff): Ditto.
3737 * elmo-nmz.el (elmo-folder-diff): Ditto.
3739 * elmo-net.el (elmo-folder-diff): Ditto.
3741 * elmo-maildir.el (elmo-folder-diff): Ditto.
3743 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3745 * elmo-multi.el (elmo-folder-diff): Ditto
3746 (elmo-multi-folder-diff): Rewrite.
3748 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3750 * elmo-pipe.el (elmo-folder-msgdb): Define.
3752 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3754 * elmo.el (elmo-message-set-cached): Define as a method.
3756 * elmo-pipe.el (elmo-message-set-cached): Define.
3757 (elmo-find-fetch-strategy): Ditto.
3759 * elmo-multi.el (elmo-message-set-cached): Define.
3760 (elmo-find-fetch-strategy): Rewrite.
3762 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3764 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3766 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3768 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3769 instead of number-alist.
3771 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3772 mark nor message-id when msgdb of source folder is not loaded.
3774 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3776 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3778 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3780 * elmo.el (elmo-folder-length): Don't require msgdb.
3782 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3784 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3785 (elmo-message-field): Ditto.
3787 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3788 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3790 (elmo-map-folder-list-answereds): Define.
3791 (elmo-maildir-list-location): Treat 'R' info.
3792 (elmo-folder-msgdb-create): Treat flag-table.
3793 (elmo-folder-append-messages): Save flag-table.
3795 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3797 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3798 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3800 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3802 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3804 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3805 'read when mark is null.
3807 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3809 * elmo-version.el (elmo-version): Up to 2.11.4.
3811 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3813 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3814 (elmo-folder-mark-as-answered): Ditto.
3816 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3818 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3819 (elmo-pop3-get-session): Make msgdb directory after session.
3820 (elmo-folder-exists-p): Check exactly at the first time even when the
3821 elmo-pop3-exists-exactly is nil.
3823 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3824 (elmo-folder-list-messages): Define instead of
3825 elmo-folder-list-messages-internal.
3826 (elmo-folder-check): Check destination folder.
3827 (elmo-folder-synchronize): Drain the pipe.
3829 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3830 when msgdb is not loaded.
3832 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3834 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3835 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3838 * elmo.el (elmo-folder-kill-messages-before): New function.
3839 (elmo-folder-kill-messages): Ditto.
3840 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3842 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3843 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3844 killed not by synchronize (e.g. scoring).
3846 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3848 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3850 (elmo-folder-search): Follow the change above.
3852 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3853 into the candidates of search field.
3855 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3857 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3858 (elmo-msgdb-unset-flag): Ditto.
3860 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3862 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3864 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3865 (elmo-folder-commit): Define.
3866 (elmo-folder-synchronize): Ditto.
3867 (elmo-folder-list-flagged): Ditto.
3868 (elmo-folder-commit): Ditto.
3869 (elmo-folder-length): Ditto.
3870 (elmo-folder-count-flags): Ditto.
3871 (elmo-message-mark): Ditto.
3872 (elmo-message-field): Ditto.
3873 (elmo-message-entity): Ditto.
3874 (elmo-message-folder): Ditto.
3876 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3878 * elmo.el (elmo-message-field): Define as a method.
3880 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3881 (elmo-message-field): Define.
3883 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3884 (elmo-folder-list-importants): Ditto.
3885 (elmo-folder-list-answereds): Ditto.
3887 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3889 (elmo-folder-mark-as-read): Ditto.
3890 (elmo-folder-unmark-read): Ditto.
3891 (elmo-folder-mark-as-answered): Ditto.
3892 (elmo-folder-unmark-answered): Ditto.
3893 (elmo-folder-list-flagged): Define.
3894 (elmo-folder-commit): Ditto.
3895 (elmo-folder-length): Ditto.
3896 (elmo-folder-count-flags): Ditto.
3898 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3900 * elmo.el (elmo-folder-detach-messages): New method.
3901 (elmo-folder-move-messages): Use it.
3902 (elmo-folder-synchronize): Ditto.
3904 * elmo-multi.el (elmo-folder-detach-messages): Define.
3906 * elmo.el (elmo-message-copy-entity): New function.
3907 (elmo-message-entity-set-number): Ditto.
3908 (elmo-message-mark): Define as method.
3910 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3911 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3912 (elmo-message-entity): Fixed last change.
3913 (elmo-message-mark): Define.
3914 (elmo-folder-msgdb-create): Abolish.
3915 (elmo-multi-folder-append-msgdb): Ditto.
3916 (elmo-multi-folder-diff): Fixed.
3917 (elmo-multi-split-number-alist): Removed.
3918 (elmo-multi-split-mark-alist): Removed.
3919 (elmo-folder-list-messages): Define.
3920 (elmo-folder-list-messages-internal): Removed.
3922 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3923 local file messages.
3924 (elmo-folder-msgdb-create): Fixed read mark.
3926 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3928 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3931 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3933 * elmo.el (elmo-folder-list-message-entities): Define as inline
3935 (elmo-folder-messages): Abolish.
3937 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3939 (elmo-folder-synchronize): Define.
3940 (elmo-message-entity): Define.
3942 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3944 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3945 elmo-imap4-session-select-mailbox.
3947 * elmo.el (elmo-folder-move-messages): Don't display any message.
3949 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3951 (elmo-imap4-session-check): Don't wait CHECK response.
3952 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3954 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3956 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3958 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3960 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3962 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3965 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3966 (elmo-folder-list-message-entities): Added argument in-msgdb and
3968 (elmo-folder-synchronize): Define as a method.
3970 * elmo-nntp.el (elmo-folder-initialize): Don't use
3971 elmo-nntp-default-user if zero-length username is specified
3974 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3976 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3977 server name in case with username.
3978 (XXX: this is ad-hoc fix against username includes "@", it
3979 should be solved fundamentally)
3981 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3983 * elmo-nntp.el (elmo-nntp-debug): New function.
3984 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3985 (elmo-network-authenticate-session): Hide auth-info from the log.
3987 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3988 user name if it is equal to elmo-nntp-default-user.
3990 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3992 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3993 instead of shimbun-server-internal;
3994 Use shimbun-current-group instead of shimbun-current-group-internal.
3995 (elmo-folder-plugged-p): Use shimbun-server instead of
3996 shimbun-server-internal.
3997 (elmo-folder-set-plugged): Ditto.
3998 (elmo-net-port-info): Ditto.
3999 (elmo-folder-check): Ditto.
4000 (elmo-folder-expand-msgdb-path): Ditto.
4001 (elmo-folder-list-subfolders): Ditto.
4003 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4005 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4006 Convert field-name to lower case.
4007 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4009 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4011 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4012 `message' and `error' take format string.
4014 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4016 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4018 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4020 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4021 recursive call (can't byte compile on emacs 20.7).
4023 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4025 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4026 (elmo-folder-list-message-entities): New API.
4027 (elmo-message-entity): Ditto.
4028 (elmo-message-entity-parent): Ditto.
4029 (elmo-folder-do-each-message-entity): Ditto.
4030 (elmo-message-entity-number): Ditto.
4031 (elmo-message-entity-field): Ditto.
4032 (elmo-message-entity-set-field): Ditto.
4033 (elmo-folder-count-flags): Ditto.
4034 (elmo-folder-length): Ditto.
4036 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4039 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4040 (elmo-msgdb-count-marks): Abolish.
4041 (elmo-msgdb-make-entity): Ditto.
4042 (elmo-msgdb-do-each-entity): Ditto.
4043 (elmo-msgdb-message-entity): New inline function.
4044 (elmo-msgdb-message-entity-field): Ditto.
4045 (elmo-msgdb-message-entity-set-field): Ditto.
4046 (elmo-msgdb-make-message-entity): New function.
4048 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4050 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4051 to flag. (All other related portions are changed.)
4052 (elmo-folder-msgdb-create): Likewise.
4053 (elmo-generic-folder-append-messages): Use flag-table instead of
4055 (elmo-folder-move-messages): Removed redundant process.
4056 (elmo-folder-synchronize): Likewise.
4058 * elmo-msgdb.el (elmo-flag-table-get): New function.
4059 (elmo-flag-table-save): Fixed.
4060 (elmo-msgdb-length): New inline function.
4061 (elmo-msgdb-flag-table): New function.
4062 (elmo-msgdb-mark): Add optional argument new.
4063 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4064 (elmo-msgdb-seen-list): Ditto.
4065 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4068 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4070 * elmo.el (elmo-message-set-mark): Abolish.
4071 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4072 (All related portions are changed.)
4074 * elmo-msgdb.el (toplevel): Added comment.
4075 (elmo-load-msgdb): Added 4th element `path'.
4076 (elmo-msgdb-append): Follow the change above.
4077 (elmo-msgdb-clear): Ditto.
4078 (elmo-msgdb-delete-msgs): Ditto.
4079 (elmo-msgdb-get-path): New inline function.
4080 (elmo-msgdb-set-path): Ditto.
4081 (elmo-flag-table-filename): New variable.
4082 (elmo-flag-table-load): New function.
4083 (elmo-flag-table-set): Ditto.
4084 (elmo-flag-table-save): Ditto.
4085 (elmo-msgdb-get-field-value): Abolish.
4086 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4088 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4090 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4091 the folder has been deleted successfully.
4092 * elmo-imap4.el (elmo-folder-delete): Ditto.
4093 * elmo-archive.el (elmo-folder-delete): Ditto.
4094 * elmo-localdir.el (elmo-folder-delete): Ditto.
4095 * elmo-maildir.el (elmo-folder-delete): Ditto.
4097 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4099 * elmo-util.el (elmo-string-member-ignore-case): New function.
4100 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4101 (elmo-imap4-fetch-callback-1-subr): Likewise.
4103 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4105 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4106 the case of the name attribute "\Noselect".
4108 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4110 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4112 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4113 flist, is not always a member of onum-alist.
4115 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4117 * elmo-version.el (elmo-version): Up to 2.11.3.
4119 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4121 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4122 copied from localdir's one.
4124 * elmo-pipe.el (elmo-folder-rename): New method, rename
4125 destination folder with leaving source folder as it is.
4127 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4129 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4132 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4134 * elmo-version.el (elmo-version): Up to 2.11.2.
4136 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4138 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4139 shimbun-open in case of "@".
4140 (elmo-folder-open-internal): Cope with shimbun = nil case.
4141 (elmo-folder-plugged-p): Ditto.
4142 (elmo-folder-list-subfolders): Make list for "@/" group.
4144 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4146 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4147 mailbox (e.g. for %~/something).
4149 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4151 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4152 Replace nested conditional with guard clauses.
4154 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4156 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4159 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4162 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4164 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4165 Replace nested conditional with guard clauses.
4167 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4169 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4170 (elmo-passwd-alist-save): Ditto.
4171 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4173 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4175 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4176 dir-name only if it is absolute path.
4177 (TODO: distinguish +/something and +something)
4179 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4181 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4182 path for "+~/something".
4184 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4186 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4187 as non-directory, cause error before rename-file.
4188 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4189 apropriately, mimic localdir's one.
4190 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4192 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4194 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4196 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4198 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4200 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4202 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4203 is included in the global-mark or not.
4205 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4207 * utf7.el (toplevel): Avoid error when the function
4208 find-coding-system does not exist.
4210 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4212 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4213 cache even if the folder is plugged.
4214 (elmo-nntp-search-primitive): Do nothing when body search is
4215 invoked (although it is not used by the change above).
4216 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4218 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4220 * elmo-version.el (elmo-version): Up to 2.11.1.
4222 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4224 * elmo-archive.el: Specify charset.
4226 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4228 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4229 process buffer lives or not.
4231 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4232 while flushing queues (It causes infinite loop).
4234 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4236 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4238 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4240 * utf7.el (toplevel): Check the ucs features dynamically.
4241 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4243 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4244 folder is creatabe or not if it already exists.
4246 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4248 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4250 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4252 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4253 (elmo-imap4-read-response): Take care of garbage response.
4255 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4257 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4258 just return nil instead of error.
4260 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4262 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4263 search-key is "body".
4265 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4267 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4268 of elmo-string-matched-assoc to use match-data.
4269 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4271 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4273 * elmo-split.el (elmo-split->): New function.
4274 (elmo-split-<): Ditto.
4276 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4278 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4279 workaround for invalid message-id.
4281 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4283 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4284 return normal pop3 session or pop3 biff session.
4286 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4288 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4289 info part to the cur files when the new files already have it.
4290 (Adviced by Jared Rhine <jared@wordzoo.com>)
4292 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4294 * elmo-split.el (elmo-split-default-action): New variable.
4295 (elmo-split-subr): Use it if all other conditions are passed.
4296 Extend `fname' and rename it as `action'. (implemented
4297 Teranishi-san's idea in [wl:10800])
4299 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4301 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4302 * elmo-util.el: Ditto.
4304 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4306 * elmo.el (elmo-message-accessible-p): Renamed from
4307 elmo-message-cached-p and rewritten.
4309 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4311 * elmo.el (elmo-folder-list-flagged): New generic function.
4312 (elmo-folder-list-importants): New implementation.
4313 (elmo-folder-list-answereds): Ditto.
4314 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4316 (elmo-message-cached-p): New function.
4317 (elmo-message-set-flag): Ditto (no content).
4318 (elmo-message-unset-flag): Ditto.
4319 (elmo-folder-list-messages-mark-match): Abolish.
4321 * elmo-util.el (elmo-regexp-opt): New function.
4323 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4324 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4326 (elmo-msgdb-list-flagged): New function.
4328 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4329 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4332 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4334 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4336 * elmo-version.el (elmo-version): Up to 2.11.0.
4338 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4340 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4341 `elmo-file-cache-exists-p'; use proper mark that depends on
4343 (elmo-msgdb-unset-flag): Ditto.
4344 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4346 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4347 with 4th argument `use-cache'.
4349 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4351 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4352 (elmo-folder-mark-as-important): Ditto.
4353 (elmo-folder-unmark-read): Ditto.
4354 (elmo-folder-mark-as-read): Ditto.
4355 (elmo-folder-unmark-answered): Ditto.
4356 (elmo-folder-mark-as-answered): Ditto.
4358 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4360 (elmo-msgdb-mark): Likewise.
4361 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4362 (elmo-msgdb-unset-flag): Likewise.
4364 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4366 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4368 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4371 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4373 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4374 set spool-length to 0.
4376 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4378 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4379 (elmo-dop-queue-flush): Fixed last change.
4381 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4383 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4384 if require-msgdb slot is nil.
4385 (elmo-folder-list-importants): Likewise.
4387 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4389 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4392 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4393 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4396 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4398 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4400 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4402 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4404 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4406 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4408 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4409 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4411 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4413 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4414 the problem reported by Sean Rima [wl-en:180].
4416 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4418 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4420 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4422 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4424 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4426 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4428 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4430 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4432 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4434 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4437 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4439 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4440 (elmo-folder-mark-as-read): Follow the API change.
4441 (elmo-message-set-cached): New function.
4443 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4445 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4447 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4448 (elmo-folder-mark-as-important): Ditto.
4449 (elmo-folder-unmark-read): Ditto.
4450 (elmo-folder-mark-as-read): Ditto.
4451 (elmo-folder-unmark-answered): Ditto.
4452 (elmo-folder-mark-as-answered): Ditto.
4454 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4455 (elmo-folder-unmark-important): Ditto.
4456 (elmo-folder-mark-as-read): Ditto.
4457 (elmo-folder-unmark-read): Ditto.
4458 (elmo-folder-mark-as-answered): Ditto.
4459 (elmo-folder-unmark-answered): Ditto.
4461 * elmo-mark.el (toplevel): Removed some mark method definitions.
4463 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4464 (elmo-map-folder-mark-as-answered): Ditto.
4465 (elmo-folder-unmark-important): Add :before qualifier.
4466 (elmo-folder-mark-as-important): Ditto.
4467 (elmo-folder-unmark-read): Ditto.
4468 (elmo-folder-mark-as-read): Ditto.
4469 (elmo-folder-unmark-answered): Define.
4470 (elmo-folder-mark-as-answered): Ditto.
4472 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4473 (elmo-map-folder-unmark-answered): Ditto.
4475 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4477 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4478 (elmo-folder-mark-as-important): Ditto.
4479 (elmo-folder-unmark-read): Ditto.
4480 (elmo-folder-mark-as-read): Ditto.
4481 (elmo-folder-unmark-answered): Ditto.
4482 (elmo-folder-mark-as-answered): Ditto.
4484 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4485 `mark'; evaluate mark condition.
4486 (elmo-msgdb-match-condition-internal): New function.
4487 (elmo-msgdb-match-condition): Call it; changed argument.
4489 * elmo.el (elmo-folder-search): Follow the API change on
4490 `elmo-msgdb-match-condition'.
4492 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4494 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4495 original mark is non-nil.
4497 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4499 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4500 (elmo-map-folder-list-answereds): New method.
4501 (elmo-folder-list-unreads): Add :around qualifier.
4502 (elmo-folder-list-importants): Ditto.
4503 (elmo-folder-list-answereds): Ditto.
4505 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4507 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4509 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4510 method if msgdb is not required.
4511 (elmo-filter-folder-list-importants): Don't treat global-mark.
4513 * elmo.el (elmo-folder-list-importants): Ditto.
4515 * elmo-net.el (elmo-folder-list-importants): Ditto.
4517 * elmo-map.el (elmo-folder-list-importants): Ditto.
4519 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4521 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4522 (elmo-imap4-folder-list-any-plugged): New function.
4523 (elmo-imap4-search-internal-primitive): Use it.
4525 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4526 only when require-msgdb slot is non-nil.
4527 (elmo-folder-close): Clear target folder's msgdb.
4529 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4531 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4532 (elmo-pop3-msgdb-create-by-header): Ditto.
4533 (elmo-pop3-msgdb-create-message): Ditto.
4535 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4537 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4539 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4541 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4542 (elmo-folder-msgdb-create): Ditto.
4543 (elmo-nntp-folder-msgdb-create): Ditto.
4544 (elmo-nntp-msgdb-create-by-header): Ditto.
4545 (elmo-nntp-msgdb-create-message): Ditto.
4546 (elmo-folder-list-unreads): Define.
4548 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4549 (elmo-folder-append-messages): Ditto.
4550 (elmo-folder-list-unreads): Define.
4551 (elmo-folder-list-importants): Ditto.
4552 (elmo-folder-list-answereds): Ditto.
4554 * elmo-net.el (elmo-folder-list-unreads): Define.
4555 (elmo-folder-list-importants): Ditto.
4556 (elmo-folder-list-answereds): Ditto.
4557 (elmo-folder-list-answereds-plugged): Ditto.
4558 (elmo-folder-msgdb-create): Follow the API change.
4559 (elmo-folder-msgdb-create-unplugged): Ditto.
4560 (elmo-folder-unmark-answered): Define.
4561 (elmo-folder-mark-as-answered-unplugged): Ditto.
4562 (elmo-folder-unmark-answered-unplugged): Ditto.
4564 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4565 (elmo-msgdb-unread-uncached-mark): Ditto.
4566 (elmo-msgdb-unread-cached-mark): Ditto.
4567 (elmo-msgdb-read-uncached-mark): Ditto.
4568 (elmo-msgdb-answered-cached-mark): Ditto.
4569 (elmo-msgdb-answered-uncached-mark): Ditto.
4570 (elmo-msgdb-important-mark): Ditto.
4571 (elmo-msgdb-set-mark): Rewrite.
4572 (elmo-msgdb-count-marks): Rewrite.
4573 (elmo-msgdb-mark-alist-set): Abolish.
4574 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4575 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4577 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4578 (elmo-folder-close): Define.
4579 (elmo-folder-msgdb-create): Follow the API change.
4580 (elmo-folder-list-unreads): Rewrite.
4581 (elmo-folder-mark-as-important): Ditto.
4582 (elmo-folder-unmark-important): Ditto.
4583 (elmo-folder-mark-as-read): Ditto.
4584 (elmo-folder-unmark-read): Ditto.
4585 (elmo-folder-mark-as-answered): Define.
4586 (elmo-folder-unmark-answered): Ditto.
4588 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4589 (elmo-folder-append-messages): Ditto.
4591 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4593 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4594 (elmo-folder-list-importants): Ditto.
4596 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4597 (elmo-folder-append-messages): Ditto.
4599 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4601 (elmo-folder-msgdb-create-plugged): Ditto.
4602 (elmo-folder-append-messages): Ditto.
4603 (elmo-folder-list-answereds-plugged): Define.
4604 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4605 (elmo-folder-unmark-answered-plugged): Define.
4606 (elmo-folder-mark-as-answered-plugged): Ditto.
4607 (elmo-folder-search-requires-msgdb-p): Ditto.
4609 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4610 (elmo-folder-initialize): Set it.
4611 (elmo-folder-msgdb): Define.
4612 (elmo-folder-check): Call elmo-folder-synchronize.
4613 (elmo-folder-close): Define.
4614 (elmo-folder-commit): Ditto.
4615 (elmo-folder-msgdb-create): Rewrite.
4616 (elmo-folder-list-unreads): Ditto.
4617 (elmo-folder-list-importants): Ditto.
4618 (elmo-folder-mark-as-read): Ditto.
4619 (elmo-folder-unmark-read): Ditto.
4620 (elmo-folder-mark-as-important): Ditto.
4621 (elmo-folder-unmark-important): Ditto.
4622 (elmo-folder-mark-as-answered): Define.
4623 (elmo-folder-unmark-answered): Ditto.
4625 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4626 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4627 (elmo-dop-queue-method-name-alist): Likewise.
4628 (elmo-folder-mark-as-answered-dop): New inline function.
4629 (elmo-folder-unmark-answered-dop): Ditto.
4630 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4632 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4633 (elmo-folder-msgdb-create): Ditto.
4634 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4635 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4636 (elmo-archive-parse-mmdf): Ditto.
4638 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4639 (elmo-folder-list-unreads-internal): Ditto.
4641 * elmo.el (elmo-folder-msgdb): Define as generic function.
4642 (elmo-folder-list-messages): Added argument `in-msgdb'.
4643 (elmo-folder-list-unreads): Define as generic function.
4644 (elmo-folder-list-importants): Ditto.
4645 (elmo-folder-list-answereds): Ditto.
4646 (elmo-folder-list-messages-with-global-mark): New function.
4647 (elmo-folder-msgdb-create): Removed mark arguments.
4648 (elmo-folder-unmark-answered): New generic function.
4649 (elmo-folder-mark-as-answered): Ditto.
4650 (elmo-folder-append-messages): Removed argunment `unread-marks'
4651 (elmo-folder-list-unreads-internal): Abolish.
4652 (elmo-folder-list-importants-internal): Ditto.
4653 (elmo-folder-search-requires-msgdb-p): New generic function.
4654 (elmo-folder-search-requires-msgdb-p-internal): New function.
4655 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4657 (elmo-folder-search-fast): Added key 'mark'.
4658 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4659 instead of unread-marks argument.
4660 (elmo-folder-move-messages): Removed argunment `unread-marks'
4661 (elmo-folder-unmark-important): Define.
4662 (elmo-folder-mark-as-important): Ditto.
4663 (elmo-folder-unmark-read): Ditto.
4664 (elmo-folder-mark-as-read): Ditto.
4665 (elmo-folder-unmark-answered): Ditto.
4666 (elmo-folder-mark-as-answered): Ditto.
4667 (elmo-folder-replace-marks): Abolish.
4668 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4670 (elmo-folder-synchronize): Removed mark arguments;
4671 return crosspost only number.
4673 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4675 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4676 Remove redundunt connectivity check.
4678 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4680 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4681 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4683 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4685 * pldap.el (ldap-decode-string): Return string as-is if
4686 `ldap-coding-system' is nil.
4687 (ldap-encode-string): Ditto.
4688 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4689 (ldap-default-host): Fixed docstring.
4691 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4693 * elmo-util.el (elmo-warning): Define as a macro which uses
4694 `display-warning' if it is defined as a function.
4696 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4697 (elmo-split-equal): Use it.
4698 (elmo-split-match): Ditto.
4699 (elmo-split-message-entity): New buffer-local variable.
4700 (elmo-split-subr): Set it.
4702 * elmo-version.el (elmo-version): Up to 2.9.15.
4704 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4706 * elmo-imap4.el (elmo-network-initialize-session):
4707 Check capability after starttls.
4709 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4711 * elmo-util.el (elmo-list-delete): Added optional argument
4714 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4716 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4718 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4720 * elmo-imap4.el (elmo-folder-initialize): Don't use
4721 elmo-imap4-default-mailbox.
4723 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4725 * elmo-split.el (toplevel): Use `product-provide'.
4726 (elmo-split): Checkdoc.
4728 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4730 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4731 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4732 the function `elmo-imap4-debug-1'.
4734 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4736 * elmo-split.el (elmo-split): Moved to run hooks and to show
4737 message from elmo-split-subr.
4738 (elmo-split-subr): Follow the change above.
4740 * elmo-split.el (elmo-split-subr): New function (renamed from
4742 (elmo-split): Changed to call elmo-split-subr by element of
4744 (elmo-split-folder): Changed customization type to choice.
4746 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4748 * elmo-split.el (elmo-split-and): Fixed condition.
4750 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4752 * elmo-split.el: New file.
4753 (elmo-split): Fixed logic.
4754 Display "Test:" instead of "Folder:" when reharsal.
4756 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4759 * elmo-version.el (elmo-version): Up to 2.9.14.
4761 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4764 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4766 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4767 message with no message-id field.
4769 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4771 * elmo-version.el (elmo-version): Up to 2.9.13.
4773 * elmo-dop.el (elmo-folder-status-dop): Fix.
4775 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4777 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4779 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4780 changing default value of default-mime-charset.
4781 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4783 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4785 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4786 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4787 instead of elmo-dop-queue-method-name-alist to check merging queue.
4788 (elmo-folder-delete-messages-dop): Delete from queue if negative
4790 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4791 file is already removed.
4793 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4795 * elmo-vars.el: Bind colon keywords for old Emacsen.
4797 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4799 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4800 against non-exsisting charset.
4802 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4804 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4805 Use eword-decode-and-unfold-unstructured-field-body.
4807 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4808 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4809 exists to decode raw subject string.
4810 (toplevel): Require 'mime.
4812 * elmo-version.el (elmo-version): Up to 2.9.12.
4814 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4816 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4817 (elmo-msgdb-set-mark): Ditto.
4819 * elmo-version.el (elmo-version): Up to 2.9.11.
4821 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4823 * elmo-util.el (elmo-delete-match-files): New function.
4825 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4826 instead of elmo-delete-directory.
4828 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4829 elmo-hash-minimun-size as 63.
4831 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4832 elmo-diff-unread is nil.
4834 * elmo-imap4.el (elmo-folder-open): Fix.
4836 * elmo.el (elmo-message-mark): Rewrite.
4837 (elmo-message-field): Ditto.
4838 (elmo-message-set-mark): Ditto.
4839 (elmo-folder-replace-marks): New function.
4840 (elmo-generic-folder-append-msgdb): Removed third argument for
4842 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4843 (elmo-msgdb-load): New implementation.
4845 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4847 * elmo-util.el (elmo-list-insert): New implementation.
4849 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4850 argument for elmo-msgdb-append.
4853 * elmo-msgdb.el (elmo-load-msgdb): New function.
4854 (elmo-make-msgdb): Ditto.
4855 (elmo-msgdb-get-index): New inline function.
4856 (elmo-msgdb-set-index): Ditto.
4857 (elmo-msgdb-get-entity-hashtb): Ditto.
4858 (elmo-msgdb-get-mark-hashtb): Ditto.
4859 (elmo-msgdb-get-mark): Ditto.
4860 (elmo-msgdb-set-mark): Ditto.
4861 (elmo-msgdb-count-marks): Ditto.
4862 (elmo-msgdb-get-number): Ditto.
4863 (elmo-msgdb-get-field): Ditto.
4864 (elmo-msgdb-seen-list): Ditto.
4865 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4866 (elmo-msgdb-delete-msgs): Follow the changes above.
4867 (elmo-msgdb-overview-get-entity): Ditto.
4868 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4869 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4871 (elmo-msgdb-make-index): Likewise.
4872 (elmo-msgdb-append): Removed third argument.
4873 (elmo-msgdb-clear): Clear index as nil.
4874 (elmo-folder-set-info-hashtb): Removed.
4875 (elmo-folder-set-info-max-by-numdb): Ditto.
4876 (elmo-folder-info-make-hashtb): Ditto.
4878 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4880 * elmo-map.el (elmo-folder-pack-number): Ditto.
4882 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4884 * elmo-version.el (elmo-version): Up to 2.9.10.
4886 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4888 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4890 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4892 * elmo-utils.el (elmo-make-directory): Add option.
4893 Default file mode is 700.
4895 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4897 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4899 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4901 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4904 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4907 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4909 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4910 (elmo-shimbun-folder-entity-hash): New function.
4911 (elmo-shimbun-folder-shimbun-header): Ditto.
4912 (elmo-shimbun-entity-to-header): Ditto.
4913 (elmo-shimbun-msgdb-to-headers): Removed.
4914 (elmo-shimbun-folder-setup): Ditto.
4915 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4917 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4918 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4919 Removed useless local bind.
4920 (elmo-folder-open-internal): Don't call
4921 `elmo-shimbun-folder-setup'.
4922 (elmo-folder-close-internal): Clear entity-hash slot.
4923 (elmo-folder-clear): Ditto.
4924 (elmo-shimbun-msgdb-create-entity): Use
4925 `elmo-shimbun-folder-shimbun-header'.
4926 (elmo-map-message-fetch): Ditto.
4927 (elmo-shimbun-update-overview): Use overview entity instead of
4928 shimbun header to lookup id by references.
4929 (elmo-map-folder-list-message-locations): Use not only headers but
4930 also overviews to list locations.
4932 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4934 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4937 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4939 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4941 * elmo-util.el (elmo-read-search-condition-internal): Give default
4944 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4946 * elmo-util.el (elmo-condition-parse-search-value): Accept
4947 YYYY-MM-DD format to search.
4948 * elmo-date.el (elmo-date-get-datevec): Likewise.
4950 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4952 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4955 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4957 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4960 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4962 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4963 case from `elmo-folder-exists-p'.
4964 (elmo-folder-exists-p): Removed.
4965 (elmo-folder-creatable-p) Ditto.
4967 * elmo-net.el (elmo-folder-create): Defined.
4968 (elmo-folder-create-unplugged): New function.
4969 (elmo-folder-exists-p): Changed default value to nil from t.
4971 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4972 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4974 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4975 `elmo-create-folder-dop' and append queue
4976 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4977 (elmo-folder-create-dop-delayed): New function.
4979 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4981 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4983 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4984 (elmo-folder-writable-p) : Ditto.
4986 * elmo-version.el (elmo-version): Up to 2.9.9.
4988 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4990 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4991 `elmo-message-use-cache-p' returns nil.
4992 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4993 (ignore cache file and refer the substance in local folders)
4995 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4997 * elmo-version.el (elmo-version): Up to 2.9.8.
4999 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5001 * elmo-version.el (elmo-version): Up to 2.9.7.
5003 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5005 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5007 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5009 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5011 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5013 (elmo-map-folder-list-message-locations): Reverse location list.
5015 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5017 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5019 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5021 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5023 (elmo-nntp-folder-list-subfolders): Follow the change above.
5025 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5027 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5028 name if authentication type is specified.
5030 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5032 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5034 (elmo-default-nntp-stream-type): Ditto.
5035 (elmo-default-pop3-stream-type): Ditto.
5037 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5039 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5041 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5043 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5045 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5047 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5048 (elmo-maildir-folder-path): Ditto.
5049 (elmo-maildir-list): Ditto (abolished).
5051 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5053 * elmo-version.el (elmo-version): Up to 2.9.6.
5055 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5057 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5058 (elmo-maildir-folder-path): Ditto.
5059 (elmo-msgdb-directory): Ditto.
5060 (elmo-passwd-life-time): Ditto.
5061 (elmo-msgdb-extra-fields): Ditto.
5062 (elmo-enable-disconnected-operation): Ditto.
5064 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5066 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5068 (elmo-pop3-default-authenticate-type): Ditto.
5070 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5072 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5074 (elmo-pop3-default-authenticate-type): Ditto.
5076 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5078 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5079 mailbox to new-folder.
5081 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5083 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5084 less than new, set new as unread.
5086 * elmo-util.el (elmo-string): Don't put text-property if nil.
5088 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5090 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5091 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5093 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5095 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5096 is nil on `completing-read'.
5098 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5100 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5102 (elmo-imap4-parse-namespace-subr): Ditto.
5103 (elmo-folder-list-subfolders): Append a delimiter when the specified
5104 folder path is a root with namespace and does not end with delimiter.
5106 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5108 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5111 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5113 * elmo-util.el (elmo-save-buffer): The first argument of message
5114 is a format control string.
5116 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5118 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5119 `elmo-folder-diff').
5120 (elmo-diff-unread): Likewise.
5122 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5124 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5125 is t on `completing-read'.
5127 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5129 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5130 method of target folder with self mark-alist if MARK-ALIST is nil.
5132 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5134 * elmo-version.el (elmo-version): Up to 2.9.5.
5136 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5138 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5139 (elmo-dop-merge-funcs): Remove.
5141 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5143 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5144 Return t if PATH is directory, too.
5145 Use `dolist' instead of while loop.
5147 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5149 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5152 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5154 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5156 (elmo-folder-list-messages-unplugged): Return t if
5157 elmo-enable-disconnected-operation is nil.
5159 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5160 `elmo-folder-list-messages-internal'.
5162 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5164 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5165 Change to looking-at `[23][0-9]+'.
5166 (elmo-network-initialize-session): Use 'error-msg'
5167 * elmo-net.el (elmo-network-open-session): Set unplugged
5168 if elmo-network-initialize-session returns 'elmo-open-err.
5170 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5172 * elmo-version.el (elmo-version): Up to 2.9.4.
5174 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5176 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5177 `elmo-folder-list-messages-internal'.
5179 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5181 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5182 (elmo-message-match-condition): New method.
5183 (elmo-folder-search-fast): New inline function.
5184 (elmo-msgdb-search): Removed.
5186 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5187 target folder if it is unplugged.
5188 (elmo-folder-list-messages-internal): Return t if target folder is
5189 unplugged and itself is persistent; In this case, use list be
5192 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5193 (elmo-msgdb-search-internal-primitive): Ditto.
5194 (elmo-msgdb-match-condition): New function.
5195 (elmo-msgdb-match-condition-primitive): Ditto.
5197 * elmo-util.el (elmo-filter-condition-p): New macro.
5199 * elmo-cache.el (elmo-folder-search): Removed.
5201 * elmo-localdir.el (elmo-folder-search): Ditto.
5203 * elmo-maildir.el (elmo-folder-search): Ditto.
5205 * elmo-mark.el (elmo-folder-search): Ditto.
5207 * elmo-nmz.el (elmo-folder-search): Ditto.
5209 * elmo-sendlog.el (elmo-folder-search): Ditto.
5211 * elmo-shimbun.el (elmo-folder-search): Ditto.
5213 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5214 if folder is unplugged.
5216 * elmo-nntp.el (elmo-folder-search): Likewise.
5217 (elmo-nntp-search-internal): New function.
5219 * elmo-version.el (elmo-version): Up to 2.9.3.
5221 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5223 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5225 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5227 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5229 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5231 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5233 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5235 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5236 (elmo-map-folder-list-message-locations): Do drive letter conversion
5237 on Windows environment.
5238 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5239 (elmo-map-message-fetch): Ditto.
5241 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5243 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5244 (elmo-network-initialize-session): Ditto.
5246 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5248 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5250 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5252 * elmo-util.el (elmo-progress-clear): Ditto.
5254 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5255 `DD-Mon-YYYY' type date.
5257 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5259 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5260 `elmo-date-make-sortable-string' instead of
5261 `timezone-make-date-sortable'.
5263 * elmo-date.el (elmo-date-make-sortable-string): Use
5264 `timezone-make-time-string'.
5266 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5268 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5270 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5271 `since'; Fix timezone.
5273 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5275 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5277 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5279 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5281 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5283 * elmo.el (elmo-generic-folder-append-messages): Make
5284 fetch-strategy with `use-cache' as 'maybe. Check return value of
5285 `elmo-message-fetch'.
5286 (elmo-message-fetch): Return return value of
5287 `elmo-message-fetch-with-cache-process'.
5288 (elmo-message-fetch-with-cache-process): Return non-nil if
5289 fetching was succeed. Load cache when fetching was failed and
5290 fetch-strategy-use-cache is 'maybe.
5292 * elmo-util.el (elmo-file-cache-load): New function.
5294 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5297 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5298 non-nil if fetching was succeed.
5300 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5302 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5304 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5305 (elmo-message-fetch-with-cache-process): Likwise.
5307 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5309 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5311 * elmo-version.el (elmo-version): Up to 2.9.2.
5313 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5315 * elmo.el (elmo-folder-delete): Delete msgdb path.
5317 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5319 * elmo-maildir.el (elmo-folder-delete): Ditto.
5321 * elmo-localdir.el (elmo-folder-delete): Ditto.
5323 * elmo-imap4.el (elmo-folder-delete): Ditto.
5325 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5327 * elmo.el (luna-define-class): Added `biff' slot.
5329 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5330 (elmo-pop3-debug-inhibit-logging): Abolished.
5331 (elmo-network-close-session): Eliminated needless let.
5332 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5333 (elmo-pop3-send-command): Added `no-log' argument.
5334 (elmo-pop3-process-filter): Use `with-current-buffer'.
5335 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5337 (elmo-pop3-auth-apop): Likewise.
5338 (elmo-network-authenticate-session): Likewise.
5340 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5343 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5344 string to determine protocol.
5345 (elmo-network-session-name-prefix): Abolished.
5346 (elmo-network-session-cache-key): Follow the change above.
5347 (elmo-network-open-session): Ditto.
5349 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5350 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5352 * elmo-version.el (elmo-version): Up to 2.9.1.
5354 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5355 unmatch condition checking.
5357 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5360 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5362 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5364 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5366 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5367 test for while loop to execute at least one SEARCH command.
5369 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5371 * elmo-version.el (elmo-version): Up to 2.9.0.
5373 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5375 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5376 (elmo-archive-folder-path): Define.
5377 (elmo-folder-initialize): Setup `dir-name' slot.
5378 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5379 Use `dir-name' as prefix of each subfolders.
5380 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5382 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5384 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5385 (elmo-pipe-folder-list-target-messages): New internal function.
5386 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5388 (elmo-pipe-folder-copied-list-load): New function.
5389 (elmo-pipe-folder-copied-list-save): Ditto.
5390 (elmo-folder-open-internal): Follow the change above.
5391 (elmo-folder-status): Fixed for copy.
5393 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5395 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5397 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5399 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5400 elmo-copy-file instead of elmo-add-name-to-file.
5402 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5404 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5407 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5408 of accept-process-output as 1.
5409 (elmo-pop3-read-contents): Ditto.
5410 (elmo-pop3-read-body): Ditto.
5412 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5414 * elmo-version.el (product-version-as-string): Remove define.
5416 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5418 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5419 (elmo-imap4-copy-messages): Chop number set using
5420 `elmo-imap4-number-set-chop-length'.
5421 (elmo-imap4-set-flag): Ditto.
5422 (elmo-imap4-search-internal-primitive): Ditto.
5424 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5426 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5427 `elmo-folder-make-temp-dir'
5429 * elmo-vars.el (elmo-cache-directory): New variable.
5430 (elmo-cache-dir): Abolished.
5431 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5433 * elmo-version.el (elmo-version): Up to 2.7.7.
5435 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5437 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5438 defcustom; Set default value as t.
5440 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5442 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5443 (ldap-search-program-arguments): Changed default value.
5444 (ldap-search-basic): Accept exit status 4.
5445 (ldap/field-body): Parse options.
5446 (ldap/collect-field): Ditto.
5447 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5449 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5450 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5451 (elmo-imap4-accept-ok): Ditto.
5452 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5453 'notify-bye, only BYE error is reported.
5454 (elmo-folder-exists-p-plugged): Set no-error argument of
5455 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5457 * elmo.el (elmo-imap4-bye-error): Changed message.
5459 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5460 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5461 queues (It causes infinite loop).
5463 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5465 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5466 (RECENT UNSEEN MESSAGES) extension.
5468 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5470 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5471 Check number of overview fields.
5473 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5475 * elmo.el (elmo-folder-confirm-appends): Changed message.
5476 (elmo-folder-confirm-appends): Ditto.
5478 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5480 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5482 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5484 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5485 of elmo-folder-update-threshold is nil, which can be set by
5486 wl-summary-update-confirm-threshold.
5488 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5490 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5491 (elmo-nmz-index-alias-alist): Ditto.
5492 (elmo-map-folder-list-message-locations): Follow the change above.
5494 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5496 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5498 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5500 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5502 * elmo-util.el (elmo-read): Ditto.
5503 (elmo-display-error): Ditto.
5505 * elmo-vars.el (elmo-date-match): Ditto.
5507 * pldap.el (ldap-coding-system): Ditto.
5509 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5510 `elmo-inhibit-number-mapping' as nil.
5512 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5514 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5515 space delimiter for list response.
5517 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5519 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5521 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5523 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5524 (elmo-map-message-fetch): Fix.
5525 * elmo-map.el (elmo-folder-status): Fix for killed.
5527 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5529 * elmo-sendlog.el: New file.
5530 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5532 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5534 * acap.el (acap-logging-out): New buffer local variable.
5535 (acap-close): Set it.
5536 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5539 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5541 * acap.el (acap-response-bye-p): New function.
5542 (acap-response-bye-message): Ditto.
5543 (acap-wait-for-response): If bye response is received, cause an error.
5544 (acap-parse-response): Make bye response when 'Bye' is received.
5546 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5548 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5550 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5552 * elmo-util.el (elmo-copy-file): Added argument
5553 `ok-if-already-exists'.
5554 (elmo-copy-file): Fixed typo.
5556 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5558 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5560 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5562 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5564 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5566 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5569 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5571 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5572 (elmo-folder-initialize): Fix for `copy'.
5573 (elmo-pipe-drain): Ditto.
5574 (elmo-folder-open-internal): Ditto.
5575 (elmo-folder-newsgroups): Fix.
5577 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5579 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5582 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5583 recent value is returned from imap folder.
5585 * elmo.el (elmo-folder-newsgroups): New generic function.
5587 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5588 (elmo-folder-initialize): Set it.
5589 (elmo-folder-expand-msgdb-path): Use it.
5590 (elmo-folder-newsgroups): Define.
5592 * elmo-filter.el (elmo-folder-newsgroups): Define.
5594 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5596 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5598 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5600 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5602 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5604 (elmo-shimbun-header-extra-field): New inline function.
5605 (elmo-shimbun-header-set-extra-field): Ditto.
5606 (elmo-shimbun-folder-header-hash-setup): Ditto.
5607 (elmo-shimbun-update-overview): Ditto.
5608 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5609 (elmo-shimbun-folder-setup): Use
5610 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5611 (elmo-shimbun-get-headers): Ditto.
5612 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5613 Insert `X-Shimbun-Id:' header if extra field is set.
5614 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5615 field's value instead of `shimbun-header-id'.
5617 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5619 (elmo-msgdb-overview-entity-set-date): Ditto.
5620 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5622 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5624 * mmimap.el (mmimap-entity-section): Changed body node number from
5627 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5629 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5630 `elmo-folder-delete-messages'.
5632 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5633 (elmo-folder-initialize): Changed to expand alias into index path.
5635 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5636 `elmo-mime-insert-header-from-buffer' with 6th arg
5639 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5641 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5643 * elmo.el (elmo-diff-new): New inline function.
5644 (elmo-diff-unread): Ditto.
5645 (elmo-diff-all): Ditto.
5647 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5648 value from responseb.
5649 (elmo-imap4-folder-diff-plugged): Ditto.
5650 (elmo-imap4-server-diff-async): Added recent argument.
5651 (elmo-server-diff-async): Ditto.
5652 (elmo-imap4-folder-diff-plugged): Ditto.
5654 * elmo-version.el (elmo-version): Up to 2.7.6.
5656 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5658 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5661 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5663 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5665 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5667 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5669 * elmo-multi.el (elmo-folder-initialize): Ditto.
5671 * elmo-util.el (elmo-parse-token): New function.
5672 (elmo-parse-prefixed-element): Ditto.
5674 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5676 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5678 (elmo-imap4-accept-ok): Ditto.
5680 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5682 * mmimap.el (mime-imap-entity-header-string): Don't check first
5683 element of node-id is `0' (Follow last change).
5685 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5687 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5688 assigned irregular node-id to nested multipart section.
5689 (initialize-instance): Followed above change.
5691 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5693 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5694 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5695 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5696 `elmo-shimbun-get-headers');
5697 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5698 visible article on summary exists in headers).
5699 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5701 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5703 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5706 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5708 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5710 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5712 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5713 header separator into loop condition.
5715 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5717 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5718 Return duplicate folder if it has subfolder.
5720 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5722 * elmo.el (elmo-make-folder): Add folder name error check.
5724 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5725 (elmo-nntp-encode-group-string): New inline function.
5726 (elmo-nntp-decode-group-string): Ditto.
5727 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5728 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5729 Use `not' instead of `null';
5730 Use elmo-nntp-decode-group-string.
5732 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5734 * elmo-version.el (elmo-version): Up to 2.7.5.
5736 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5738 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5739 Hide progress gauge if `elmo-folder-move-messages' exits
5742 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5744 * elmo-imap4.el (elmo-folder-initialize): Use
5745 `elmo-imap4-encode-folder-string' for folder name.
5747 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5749 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5752 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5754 * elmo-util.el (elmo-progress-counter-alist): New internal
5756 (elmo-progress-counter-value): New macro.
5757 (elmo-progress-counter-all-value): Ditto.
5758 (elmo-progress-counter-format): Ditto.
5759 (elmo-progress-counter-set-value): Ditto.
5760 (elmo-progress-set): New function.
5761 (elmo-progress-clear): Ditto.
5762 (elmo-progress-notify): Ditto.
5764 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5767 * elmo.el (elmo-generic-folder-append-messages): Call
5768 `elmo-progress-notify'.
5769 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5771 * elmo-archive.el (elmo-folder-append-messages): Call
5772 `elmo-progress-notify'.
5774 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5776 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5778 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5780 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5782 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5784 (elmo-message-encache-dop): Added argument `read'.
5786 * elmo-shimbun.el (elmo-message-encache): Ditto.
5788 * elmo-net.el (elmo-message-encache): Ditto.
5790 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5791 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5792 elmo-imap4-seen-messages.
5793 (elmo-folder-msgdb-create-plugged): Initialize
5794 elmo-imap4-seen-messages;
5795 Set seen mark on elmo-imap4-seen-messages.
5797 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5799 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5800 elmo-folder-append-buffer.
5801 (elmo-folder-encache): Added optional argument `read'.
5802 (elmo-message-encache): Ditto.
5804 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5806 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5808 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5809 if append buffer content succeds.
5811 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5813 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5814 elmo-display-progress.
5816 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5817 Set 4th argument of mime-display-message.
5818 (elmo-mime-display-as-is): Ditto.
5820 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5822 * elmo-nmz.el (toplevel): Require 'mime-edit.
5823 (elmo-nmz-content-type-alist): Abolished.
5824 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5825 content is not a message.
5826 (elmo-map-message-fetch): Changed behavior exept for message content;
5827 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5828 content-type, Add From: and Subject: field.
5830 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5832 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5833 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5836 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5838 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5839 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5841 * elmo-archive.el (elmo-folder-writable-p): Defined.
5843 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5845 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5847 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5849 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5851 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5853 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5855 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5857 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5859 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5861 * elmo-util.el (elmo-address-quote-specials): New function;
5862 Renamed from `wl-address-quote-specials'.
5864 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5866 * elmo-version.el (elmo-version): Up to 2.7.4.
5868 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5870 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5872 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5874 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5875 both compile-time and run-time to avoid byte-compile warning.
5877 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5879 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5881 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5883 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5885 (elmo-mime-display-as-is-internal): Use it.
5887 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5888 if `read-passwd' is not defined.
5890 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5892 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5894 (elmo-folder-status): Call `elmo-folder-open-internal';
5895 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5896 (elmo-folder-close-internal): Set location-alist as nil.
5897 (elmo-folder-clear): Define.
5898 (elmo-folder-check): Don't set location-alist as nil.
5900 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5902 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5904 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5905 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5907 * mmimap.el (mime-imap-entity::requested): New slot.
5908 (mime-imap-location-fetch-entity-p): New generic function.
5909 (mime-decode-parameters): Define using `defun-maybe'.
5910 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5911 content-type structure.
5912 (mime-entity-body): Return empty body if
5913 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5915 * elmo.el (elmo-message-displaying): New variable.
5917 * elmo-mime.el (elmo-mime-message-display): Bind
5918 elmo-message-displaying as t.
5920 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5922 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5924 * acap.el (acap-open): erase buffer before starting network process.
5925 (acap-store): Rewrite.
5927 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5929 * elmo-imap4.el (elmo-imap4-default-mailbox,
5930 elmo-imap4-default-server
5931 elmo-imap4-default-authenticate-type,
5932 elmo-imap4-default-user,
5933 elmo-imap4-default-port,
5934 elmo-imap4-default-stream-type,
5935 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5937 * elmo-pop3.el (elmo-pop3-default-user,
5938 elmo-pop3-default-server,
5939 elmo-pop3-default-authenticate-type,
5940 elmo-pop3-default-port,
5941 elmo-pop3-default-stream-type,
5942 elmo-pop3-stream-type-alist): Ditto.
5944 * elmo-nntp.el (elmo-nntp-default-server,
5945 elmo-nntp-default-user,
5946 elmo-nntp-default-port,
5947 elmo-nntp-default-stream-type,
5948 elmo-nntp-stream-type-alist): Ditto.
5950 * elmo-vars.el: Follow changes above.
5951 (elmo-setting): New custom group; added 'elmo-setting group to
5954 * elmo-version.el (elmo-version): Up to 2.7.3.
5956 * acap.el (acap-parse-response): Don't delete process when BYE
5957 response (It causes hang-up on slow network environment).
5958 (toplevel): Added comment.
5960 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5962 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5964 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5966 (acap-parse-return-metadata): Ditto.
5969 (toplevel): Fixed typo.
5971 * acap.el: New file.
5972 (acap-network-stream-open): Show "Connecting..." message.
5973 (acap-parse-response): Fixed problem for BYE untagged response.
5974 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5975 (toplevel): Added tiny comments.
5977 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5979 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5980 space delimiter for uidl response.
5982 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5984 * elmo-vars.el (elmo-use-semi): Eliminated.
5986 * elmo-util.el (elmo-string-assoc-all): New function.
5988 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5990 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5991 property 'mime-preview-situation for `mime-preview-quit'.
5993 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5995 * elmo.el (elmo-message-fetch-with-cache-process): Call
5996 elmo-message-fetch-internal instead of causing an error when fetch
5997 strategy is 'entire but only 'section cache is available.
5999 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6001 * elmo-version.el (elmo-version): Up to 2.7.2.
6003 * elmo.el (elmo-generic-folder-append-messages): Make
6004 fetch-strategy with `use-cache'.
6006 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6007 (elmo-dop-queue-method-name): New macro.
6009 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6011 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6012 unbalanced parenthesis.
6014 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6016 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6018 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6020 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6021 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6023 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6025 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6028 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6030 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6031 (elmo-message-use-cache-p): Define.
6032 (elmo-folder-msgdb-create): Treat cache.
6034 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6036 * elmo-nntp.el (elmo-network-initialize-session): Call
6037 `elmo-nntp-send-mode-reader'.
6038 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6040 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6042 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6044 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6047 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6048 for `elmo-plugged-p'.
6049 (elmo-open-network-stream): Fixed stream-type argument.
6051 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6053 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6054 unknown archive type is specified.
6056 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6058 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6060 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6061 while loading msgdb.
6063 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6064 (elmo-folder-open-internal): Rewrite.
6066 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6068 * elmo-mime.el (elmo-mime-display-as-is-internal):
6069 Adjust buffer-multibyte status.
6071 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6073 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6074 of elmo-condition-find-key.
6076 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6077 (elmo-condition-in-msgdb-p): Ditto.
6078 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6081 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6083 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6085 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6087 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6088 label for elmo-display-progress.
6090 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6092 * elmo.el (elmo-folder-clear): New method.
6093 (elmo-folder-clear): Define.
6094 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6096 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6097 (elmo-folder-clear): Define.
6099 * elmo-map.el (elmo-folder-clear): Define.
6101 * elmo-version.el (elmo-version): Up to 2.7.1.
6103 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6105 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6108 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6110 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6111 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6113 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6115 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6117 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6120 * elmo-imap4.el (elmo-folder-initialize): Use
6121 elmo-get-network-stream-type.
6123 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6125 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6127 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6129 * elmo.el (elmo-message-encache): Set unread argument for
6132 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6134 * elmo.el (elmo-net-port-info): New method.
6136 * elmo-shimbun.el (elmo-net-port-info): Define.
6137 (elmo-message-encache): Ditto.
6139 * elmo-net.el (elmo-net-port-info): Define as method.
6141 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6142 unplugged status when elmo-enable-disconnected-operation is t.
6144 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6145 of spool folder before checking new number.
6147 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6149 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6150 (elmo-network-setup-session): Ditto.
6151 (elmo-message-fetch-plugged): Ditto.
6152 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6153 (elmo-network-initialize-session): Ditto.
6154 (elmo-pop3-read-response): Abolish 3rd argument.
6155 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6156 (elmo-pop3-read-contents): Ditto.
6157 (elmo-pop3-read-body): Ditto.
6158 (elmo-folder-status): Call elmo-folder-close.
6159 (elmo-pop3-lock): Abolish.
6160 (elmo-pop3-unlock): Ditto.
6161 (elmo-pop3-locked-p): Ditto.
6162 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6164 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6166 * elmo-version.el (elmo-version): Up to 2.7.0.
6168 * elmo-pop3.el (elmo-pop3-debug): New variable.
6169 (elmo-pop3-debug-inhibit-logging): Ditto.
6170 (elmo-pop3-debug): New function.
6171 (elmo-pop3-send-command): Call elmo-pop3-debug.
6172 (elmo-pop3-read-response): Added keep-lock optional argument;
6173 Don't unlock if keep-lock is non-nil.
6174 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6175 (elmo-network-authenticate-session): Bind
6176 elmo-pop3-debug-inhibit-logging as t.
6177 (elmo-network-setup-session): Call elmo-pop3-read-response with
6179 (elmo-pop3-read-msg): Ditto.
6180 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6181 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6182 (elmo-network-initialize-session): Call elmo-pop3-lock.
6183 (elmo-folder-close-internal): Don't clear location-alist slot.
6184 (elmo-folder-check): Clear location-alist slot.
6186 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6188 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6189 (elmo-pop3-send-command): Call elmo-pop3-lock.
6190 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6191 (elmo-pop3-read-contents): Ditto.
6192 (elmo-pop3-lock): New function.
6193 (elmo-pop3-unlock): Ditto.
6194 (elmo-pop3-locked-p): Ditto.
6195 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6198 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6200 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6202 * elmo-util.el (elmo-file-field-primitive-condition-match):
6203 New inline function (Don't fetch file content if "first" or "last").
6204 (elmo-file-field-condition-match): Use
6205 elmo-file-field-primitive-condition-match.
6207 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6210 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6211 (elmo-message-fetch-plugged): Fixed.
6213 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6215 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6217 * elmo.el (elmo-folder-move-messages): Bind
6218 elmo-inhibit-display-retrieval-progress as t while moving messages.
6220 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6222 (elmo-inhibit-display-retrieval-progress): Ditto.
6224 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6225 for retrieval progress;
6226 Don't display progress when total buffer size is smaller than
6227 elmo-display-retrieval-progress-threshold.
6228 (elmo-message-fetch-plugged): Don't display progress when
6229 elmo-inhibit-display-retrieval-progress is non-nil.
6231 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6232 for retrieval progress;
6233 Don't display progress when literal size is smaller than
6234 elmo-display-retrieval-progress-threshold.
6235 (elmo-imap4-message-fetch): Don't display progress when
6236 elmo-inhibit-display-retrieval-progress is non-nil.
6238 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6240 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6241 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6242 (elmo-imap4-message-fetch): Likewise.
6244 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6245 (elmo-shimbun-index-range-alist): Ditto.
6246 (elmo-shimbun-use-entire-index): Abolish.
6247 (shimbun-mua-use-entire-index): Ditto.
6248 (elmo-shimbun-folder): Added new slot `range'.
6249 (elmo-folder-initialize): Setup slot `range'.
6251 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6253 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6254 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6255 (elmo-shimbun-get-headers): Use return value of
6256 `shimbun-article-expiration-days'.
6257 (elmo-folder-close-internal): Clean up last-check slot.
6259 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6260 (elmo-pop3-total-size): New variable.
6261 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6263 * elmo.el (elmo-folder-reserve-status-p): New method.
6265 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6266 (elmo-shimbun-use-entire-index): New user option.
6267 (shimbun-elmo-mua): New class.
6268 (shimbun-mua-search-id): Define.
6269 (shimbun-mua-use-entire-index): Ditto.
6270 (elmo-shimbun-folder:last-check): New slot.
6271 (elmo-shimbun-headers-cache-header-list): Abolish.
6272 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6273 (elmo-shimbun-headers-cache-header-hash): Ditto.
6274 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6275 (elmo-shimbun-headers-cache-last-check): Ditto.
6276 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6277 (elmo-shimbun-headers-check-p): Rewrite.
6278 (elmo-shimbun-msgdb-to-headers): New function.
6279 (elmo-shimbun-get-headers): Rewrite.
6280 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6281 (elmo-folder-open-internal): Get headers only if
6282 `elmo-shimbun-headers-check-p' is non-nil.
6283 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6285 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6286 (elmo-quit): Removed.
6288 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6290 (elmo-msgdb-overview-entity-set-extra): Ditto.
6291 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6293 * elmo-map.el (elmo-folder-status): Don't call
6294 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6297 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6299 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6300 of `elmo-msgdb-search-internal-primitive' when condition's car is
6303 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6305 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6307 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6309 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6310 call `elmo-pipe-drain'.
6312 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6314 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6315 typo. (elmo-cache-folder -> elmo-mark-folder)
6317 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6319 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6320 `elmo-message-fetch'.
6322 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6324 * elmo-net.el (elmo-message-encache): Fixed typo.
6325 (elmo-message-fetch-unplugged): Changed call
6326 `elmo-message-fetch-internal' without argument `outbuf'.
6328 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6330 * elmo.el (elmo-message-encache): Define as generic function.
6331 (elmo-message-fetch-field): New generic function.
6332 (elmo-message-fetch-with-cache-process): Cause an error when
6333 fetch strategy is 'entire but only 'section cache is available.
6334 (toplevel): Fixed nmz folder definition.
6336 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6337 (elmo-msgdb-resume-list-filename): Ditto.
6338 (elmo-queue-filename): Ditto.
6339 (elmo-enable-disconnected-operation): Changed default value to t.
6341 * elmo-util.el (elmo-cache-path-section-p): New function.
6342 (elmo-file-cache-get): Use it.
6343 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6344 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6345 (elmo-dop-queue-save): Ditto.
6347 * elmo-net.el (elmo-folder-status-unplugged): Call
6348 elmo-folder-status-dop.
6349 (elmo-folder-list-messages-unplugged): Implemented.
6350 (elmo-folder-delete-messages-unplugged): Define.
6351 (elmo-folder-msgdb-create): Define.
6352 (elmo-folder-msgdb-create-unplugged): Define.
6353 (elmo-folder-mark-as-read-unplugged): Ditto.
6354 (elmo-folder-unmark-read-unplugged): Ditto.
6355 (elmo-folder-mark-as-important-unplugged): Ditto.
6356 (elmo-folder-unmark-important-unplugged): Ditto.
6357 (elmo-message-encache): Ditto.
6359 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6360 (elmo-dop-queue-save): Ditto.
6362 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6363 `elmo-folder-msgdb-create'.
6364 (elmo-folder-append-buffer): Implemented unplugged operation.
6365 (elmo-folder-append-messages): Call parent method in unplugged status.
6366 (elmo-message-fetch-unplugged): Removed definition.
6367 (elmo-message-fetch-field): Implemented.
6369 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6370 (elmo-dop-folder): Removed variable definition.
6371 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6372 (elmo-dop-queue-flush): Implemented.
6373 (elmo-dop-queue-merge): Removed definition (TODO).
6374 (elmo-dop-spool-folder): New function.
6375 (elmo-dop-spool-folder-append-buffer): Ditto.
6376 (elmo-dop-spool-folder-list-messages): Ditto.
6377 (elmo-dop-list-deleting-messages): Ditto.
6378 (elmo-folder-append-buffer-dop): Ditto.
6379 (elmo-folder-delete-messages-dop): Ditto.
6380 (elmo-message-encache-dop): New inline function.
6381 (elmo-create-folder-dop): Ditto.
6382 (elmo-folder-mark-as-read-dop): Ditto.
6383 (elmo-folder-unmark-read-dop): Ditto.
6384 (elmo-folder-mark-as-important-dop): Ditto.
6385 (elmo-folder-unmark-important-dop): Ditto.
6386 (elmo-folder-status-dop): Fixed.
6387 (elmo-folder-append-buffer-dop-delayed): New function.
6388 (elmo-folder-delete-messages-dop-delayed): Ditto.
6389 (elmo-dop-msgdb): Ditto.
6391 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6393 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6395 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6397 * elmo.el (elmo-folder-move-messages): Fixed problem when
6398 `dst-folder' is 'null.
6400 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6402 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6403 instead of current mark.
6405 * elmo-multi.el (elmo-folder-list-importants-internal): No
6406 operation if importants is not list.
6408 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6409 Return t if importants is not list.
6411 * elmo-map.el (elmo-map-folder-list-importants): Define.
6412 (elmo-folder-list-importants-internal): Check return value of
6413 `elmo-map-folder-list-importants-internal'.
6415 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6417 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6419 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6421 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6423 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6425 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6426 (Patch is provided by <kita@coe.nttdata.co.jp>).
6428 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6430 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6433 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6435 * elmo.el (elmo-message-fetch): Define.
6436 (elmo-message-fetch-with-cache-process): New generic method.
6437 (elmo-message-fetch-internal): New generic method.
6438 (elmo-folder-synchronize):
6440 * elmo-archive.el (elmo-message-fetch-internal): Define.
6441 (elmo-message-fetch): Eliminated.
6443 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6444 (elmo-message-fetch): Eliminated.
6446 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6448 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6450 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6451 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6453 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6454 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6456 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6458 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6460 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6462 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6463 (elmo-message-fetch-unplugged): New generic method.
6464 (elmo-message-fetch-internal): Remove cache process (Renamed from
6465 `elmo-message-fetch').
6467 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6468 (elmo-message-fetch): Eliminated.
6469 (elmo-message-fetch-unplugged): Ditto.
6471 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6473 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6475 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6476 of `to-be-deleted' from number-alist to number-list.
6478 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6480 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6481 (elmo-folder-mark-as-important): Ditto.
6483 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6485 * elmo.el (elmo-folder): Added process-duplicates slot.
6487 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6488 (elmo-folder-unmark-read): Ditto.
6489 (elmo-folder-unmark-important): Ditto.
6490 (elmo-folder-mark-as-important): Ditto.
6492 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6493 duplicated message processing.
6495 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6497 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6499 * elmo-util.el (elmo-list-subdirectories-1): New function.
6500 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6501 (elmo-mapcar-list-of-list): New function.
6503 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6504 `elmo-mapcar-list-of-list' instead of `mapcar'.
6506 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6508 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6509 `elmo-have-link-count'. Return the fully qualified folder name.
6511 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6513 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6514 (elmo-shimbun-headers-cache): New internal variable.
6515 (elmo-shimbun-headers-cache-header-list): New inline function.
6516 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6517 (elmo-shimbun-headers-cache-header-hash): Ditto.
6518 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6519 (elmo-shimbun-headers-cache-last-check): Ditto.
6520 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6521 (elmo-shimbun-lapse-seconds): Ditto.
6522 (elmo-shimbun-headers-cache-check-p): Ditto.
6523 (elmo-shimbun-get-headers): New function.
6524 (elmo-folder-open-internal): Call it.
6525 (elmo-quit): Define (Clear headers-cache).
6527 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6529 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6531 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6532 (elmo-msgdb-flist-save): Ditto.
6534 * elmo-shimbun.el (elmo-folder-list-subfolders):
6535 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6536 (elmo-folder-exists-p): Ditto.
6538 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6539 argument for `shimbun-header-insert'.
6541 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6543 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6546 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6547 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6549 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6551 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6552 (elmo-folder-plugged-p): Define.
6553 (elmo-folder-set-plugged): Ditto.
6554 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6555 (elmo-folder-list-messages-internal): Return t if unplugged.
6556 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6558 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6559 when elmo-folder-list-messages-internal method of children returns t.
6561 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6563 (elmo-folder-open-internal): Don't update if unplugged status.
6565 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6567 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6570 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6572 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6574 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6577 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6579 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6581 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6582 (elmo-folder-open-internal): Set up headers slot.
6583 (elmo-folder-check): Call elmo-folder-close-internal and
6584 elmo-folder-open-internal.
6585 (elmo-folder-close-internal): Clean up headers slot.
6587 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6589 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6590 exactly folder list.
6591 (elmo-folder-append-messages): Fixed append archive with prefix.
6593 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6594 make temp files with start-number.
6596 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6598 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6600 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6601 argument `visible-only'.
6602 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6605 * elmo-pop3.el (elmo-folder-open-internal): Check
6606 `elmo-inhibit-number-mapping' is non-nil.
6608 * elmo-pipe.el (elmo-folder-status): Fixed.
6610 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6612 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6614 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6615 (elmo-folder-open-internal): Setup `header-hash' slot.
6616 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6618 (elmo-map-message-fetch): Ditto.
6620 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6622 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6623 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6624 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6625 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6627 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6629 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6631 * sb-airs.el: Added footer.
6633 * shimbun.el (shimbun-article): Define as luna-method.
6635 * sb-tcup.el: New file.
6637 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6638 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6640 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6642 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6643 (shimbun-get-headers): Ditto.
6645 * elmo.el: Moved obsolete variable definitions from
6646 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6648 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6651 * shimbun.el: New file.
6653 * elmo-shimbun.el: New file.
6655 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6656 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6657 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6658 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6660 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6662 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6665 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6667 * elmo.el (elmo-folder-msgdb): Define as macro.
6668 (elmo-folder-open): Added argument `load-msgdb'.
6669 (elmo-generic-folder-open): Ditto.
6670 (elmo-folder-encache): New function.
6672 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6674 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6676 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6677 Eliminated argument FOLDER and added argument MSGDB.
6678 (elmo-dop-queue-load): Moved from elmo-dop.el.
6679 (elmo-dop-queue-save): Ditto.
6681 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6683 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6685 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6686 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6687 (elmo-filter-folder-list-importants-internal): Ditto.
6689 * elmo-map.el (elmo-folder-pack-number): Ditto.
6691 * elmo-mime.el (elmo-mime-message-display): Ditto.
6693 * elmo.el (elmo-generic-folder-commit): Ditto.
6694 (elmo-folder-list-unreads): Ditto.
6695 (elmo-folder-list-importants): Ditto.
6696 (elmo-generic-folder-commit): Ditto.
6697 (elmo-message-set-mark): Ditto.
6698 (elmo-generic-folder-append-msgdb): Ditto.
6699 (elmo-folder-synchronize): Ditto.
6700 (elmo-folder-messages): Ditto.
6701 (elmo-init): Call elmo-dop-queue-load.
6702 (elmo-folder-list-messages): Ditto.
6704 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6705 (elmo-nntp-folder-process-crosspost): Ditto.
6706 (elmo-folder-list-unreads-internal): Ditto.
6708 * elmo-dop.el: Removed old functions.
6710 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6712 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6713 `folder' to `msgdb'.
6715 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6717 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6718 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6720 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6723 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6725 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6728 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6729 (mmimap-parse-parameters-from-list): Define as alias for
6730 `mime-decode-parameter-plist' if it is defined as function.
6731 (mmimap-make-mime-entity): Added argument `number'.
6732 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6734 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6736 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6738 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6740 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6742 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6744 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6746 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6747 when elmo-imap4-default-authenticate-type is nil.
6748 (elmo-folder-list-subfolders): Ditto
6749 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6750 (elmo-imap4-fetch-callback-1-subr): Renamed from
6751 `elmo-imap4-fetch-callback-1' and define as inline function.
6752 (elmo-imap4-fetch-callback-1):
6753 Renamed from `elmo-imap4-fetch-callback'.
6754 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6756 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6757 msgdb path (To keep compatibility with main trunk).
6759 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6761 * elmo-util.el (elmo-make-file-cache): Moved position of
6764 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6765 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6766 instead of `elmo-pop3-inhibit-uidl'.
6767 (elmo-folder-exists-p): Ditto.
6768 (elmo-pop3-folder-list-messages): Ditto.
6770 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6771 instead of `elmo-pop3-inhibit-uidl'.
6772 (elmo-folder-status): Ditto.
6774 * elmo-dop.el (elmo-dop-folder): New variable.
6775 (elmo-dop-lock-message): Eliminated.
6776 (elmo-dop-unlock-message): Ditto.
6777 (elmo-dop-lock-list-load): Ditto.
6778 (elmo-dop-lock-list-save): Ditto.
6779 (elmo-dop-delete-folder): Ditto.
6780 (elmo-dop-rename-folder): Ditto.
6782 * elmo.el: Removed incomplete commentary.
6784 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6786 * elmo.el (toplevel): Require 'elmo-version first;
6787 for little `recursive-load-depth' settings.
6788 Fix "ends here" comment.
6790 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6792 * elmo-util.el (toplevel): Require 'poem;
6793 Some functions are moved from elmo-cache.el.
6795 * elmo-net.el (toplevel): Require 'elmo-cache.
6797 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6799 * elmo.el (toplevel): Ditto.
6801 * elmo-cache.el: Rewrite with luna;
6802 Some functions are moved to elmo-util.el.
6804 * elmo-internal.el (elmo-internal-folder-list): New variable.
6805 (elmo-internal-folder-initialize): Rewrite.
6806 (elmo-folder-list-subfolders): Ditto.
6808 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6809 (elmo-cache-collect-sub-directories): Ditto.
6811 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6813 * elmo-version.el (elmo-version): Up to 2.5.8.
6815 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6817 * elmo-util.el (elmo-list-insert): New function.
6819 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6821 * elmo.el (elmo-init): New function.
6822 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6824 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6825 (Renamed from `elmo-localdir-header-chop-length').
6827 * elmo-pop3.el (elmo-pop3-use-cache,
6828 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6830 * elmo-nntp.el (elmo-message-fetch): Define.
6831 (elmo-message-fetch-unplugged): Ditto.
6832 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6833 (elmo-nntp-use-cache): Ditto.
6834 (elmo-nntp-max-number-precedes-list-active): Ditto.
6836 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6838 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6839 `elmo-msgdb-insert-file-header'.
6840 Use `elmo-msgdb-file-header-chop-length'.
6842 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6845 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6846 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6847 `elmo-msgdb-insert-file-header'.
6849 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6851 Define obsolete variables with `elmo-define-obsolete-variable',
6853 * elmo-util.el (elmo-warning-buffer-name): New constant.
6854 (elmo-warning): New function.
6855 (elmo-obsolete-variable-alist): New variable.
6856 (elmo-obsolete-variable-show-warnings): New variable.
6857 (elmo-define-obsolete-variable): New function.
6858 (elmo-resque-obsolete-variable): Ditto.
6859 (elmo-resque-obsolete-variables): Ditto.
6861 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6863 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6866 * elmo-pop3.el, elmo-nntp.el: Use custom.
6868 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6870 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6871 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6873 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6875 * Luna-fy Kenichi OKADA's following changes.
6876 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6878 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6880 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6882 * elmo-util.el (elmo-display-progress): Prefer
6883 `progress-feedback-with-label' to `lprogress-display'.
6885 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6887 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6889 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6891 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6892 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6893 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6894 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6895 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6896 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6897 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6898 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6899 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6900 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6901 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6902 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6903 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6905 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6907 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6908 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6910 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6912 * elmo.el (elmo-folder-process-crosspost): New generic method.
6913 (elmo-folder-writable-p): Ditto.
6914 (elmo-folder-message-appendable-p): Eliminated.
6915 (elmo-generic-folder-append-msgdb): Rewrite.
6916 (elmo-newsgroups-hashtb): New internal variable.
6917 (elmo-crosspost-message-set): Eliminated.
6918 (elmo-crosspost-message-delete): Ditto.
6919 (elmo-setup-subscribed-newsgroups): New function.
6920 (elmo-crosspost-message-alist-modified): New internal variable.
6921 (elmo-crosspost-message-alist-load): New function (Renamed from
6922 `wl-crosspost-alist-load').
6923 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6924 `wl-crosspost-alist-save').
6926 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6928 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6930 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6931 elmo-newsgroups-hashtb).
6932 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6933 `elmo-nntp-folder-update-crosspost-message-alist'.
6934 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6935 `elmo-nntp-groups-hashtb'.
6936 (elmo-nntp-make-groups-hashtb): Eliminated.
6937 (elmo-nntp-parse-newsgroups): New function (Renamed from
6938 `wl-parse-newsgroups').
6939 (elmo-folder-creatable-p, elmo-folder-writable-p,
6940 elmo-folder-close-internal, elmo-folder-mark-as-read,
6941 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6943 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6945 * elmo-net.el (elmo-message-fetch): Check buffer size.
6947 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6949 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6951 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6952 before `close' command.
6954 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6955 `mark-alist' (All other related portions are changed).
6957 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6959 * elmo-util.el (elmo-create-hash-size): Eliminated.
6960 (elmo-make-hash) Make a hash with `one less than a power of two'
6963 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6964 (elmo-hash-maximum-size): Changed value.
6966 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6968 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6969 (elmo-mime-message-display-as-is): Ditto.
6971 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6973 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6974 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6976 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6978 * elmo-mark.el: New file.
6980 * elmo-internal.el: Rewrite (Almost empty).
6982 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6984 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6985 (mime-imap-entity-header-string): Ditto.
6986 (mmimap-entity-section): Rewrite.
6988 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6990 * elmo-nmz.el: New file.
6992 * elmo-pipe.el: Rewrite with luna.
6994 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6996 * elmo-archive.el: Rewrite with luna.
6998 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6999 (elmo-folder-list-importants-internal): Ditto.
7001 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7003 * elmo-archive.el (elmo-archive-version): Abolish.
7004 (toplevel) Removed `boso' comment.
7006 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7008 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7009 elmo-msgdb-add-msgs-to-seen-list-subr;
7010 Changed argument seen-marks to unread-marks.
7012 * elmo-nntp.el: Rewrite with luna.
7014 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7016 * elmo-filter.el: Rewrite with luna.
7018 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7020 * elmo-pop3.el: Rewrite with luna.
7022 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7024 * elmo-multi.el: Rewrite with luna.
7026 * elmo-vars.el (elmo-use-killed-list): Abolish.
7027 All other related portions are changed.
7028 (elmo-filename-replace-string-alist): Renamed from
7029 elmo-msgid-replace-string-alist.
7031 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7033 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7035 * elmo-map.el: New file.
7036 * elmo-maildir.el: Rewrite with luna.
7038 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7040 * elmo.el: Changed meaning of `elmo-folder-commit'.
7041 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7043 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7045 * elmo.el (elmo-folder-append-buffer): New function.
7046 (Renamed from `elmo-append-msg')
7048 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7050 * elmo-mime.el: New file.
7052 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7054 * elmo-cache.el: Rewrite.
7056 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7058 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7060 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7062 * elmo-vars.el (elmo): New group.
7063 (elmo-strict-diff-folder-regexp): New variable.
7065 * elmo-util.el (elmo-call-func): Abolish.
7066 (elmo-folder-get-type): Ditto.
7067 (elmo-*-get-spec): Ditto.
7068 (elmo-*-spec-*): Ditto.
7069 (elmo-imap4-identical-name-space-p): Ditto.
7070 (elmo-folder-identical-system-p): Ditto.
7071 (elmo-folder-direct-copy-alist): Ditto.
7072 (elmo-folder-direct-copy-p): Ditto.
7074 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7075 (elmo-folder-initialize): Define.
7076 (elmo-folder-get-primitive-list): Ditto.
7078 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7079 (elmo-folder-initialize): Define.
7080 Renamed `elmo-network-session-host-internal' to
7081 `elmo-network-session-server-internal'.
7083 * elmo-multi.el (elmo-multi-folder): New luna class.
7084 (elmo-folder-initialize): Define.
7085 (elmo-folder-get-primitive-list): Ditto.
7086 (elmo-folder-contains-type): Ditto.
7087 (elmo-message-use-cache-p): Ditto.
7089 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7090 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7092 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7093 (elmo-folder-initialize): Define.
7095 * elmo-filter.el (elmo-filter-folder): New luna class.
7096 (elmo-folder-initialize): Define.
7097 (elmo-folder-get-primitive-list): Ditto.
7098 (elmo-folder-contains-type): Ditto.
7100 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7102 * elmo-imap4.el: Rewrite with luna.
7104 * mmimap.el: New file.
7106 * mmelmo.el, mmelmo-imap4.el: Removed.
7108 * elmo-net.el: Ditto.
7110 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7111 (elmo-folder-initialize): Define.
7113 * elmo-archive.el (elmo-archive-folder): New luna class.
7114 (elmo-folder-initialize): Define.
7116 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7117 `elmo-folder-msgdb-path'.
7118 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7121 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7123 * elmo.el: New file.
7125 * elmo2.el: Renamed to elmo.el.
7128 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7130 * elmo-cache.el (elmo-cache-expire-by-size): Count
7131 a disk usage for a cache file entry in KB even when
7132 its kind is a directory.
7134 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7136 * elmo-version.el (elmo-version): Up to 2.5.7.
7138 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7140 * elmo-version.el (elmo-version): Up to 2.5.6.
7142 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7144 * elmo-version.el (elmo-version): Up to 2.5.5.
7146 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7148 * elmo-imap4.el (elmo-network-authenticate-session):
7149 Fixed a logic for response checking.
7151 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7153 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7154 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7155 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7158 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7159 for `starttls-open-stream' and `starttls-negotiate'.
7161 * elmo-nntp.el: Remove autoload settings for
7162 `starttls-open-stream' and `starttls-negotiate'.
7164 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7165 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7166 `luna-define-class' with `eval-and-compile'.
7168 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7170 * elmo-util.el (elmo-read-search-condition-internal):
7171 Require an element of table for searching field.
7173 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7175 * elmo-version.el (elmo-version): Up to 2.5.4.
7177 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7179 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7181 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7183 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7185 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7187 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7190 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7192 * elmo-imap4.el (elmo-imap4-delete-folder):
7193 Send "close" before "delete" (Use commented out line).
7194 (elmo-imap4-rename-folder): Ditto.
7196 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7197 folder string itself.
7198 (elmo-dop-list-deleted): New function.
7199 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7202 * elmo-util.el (elmo-string-rassoc-all): New function.
7204 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7206 * elmo-version.el (elmo-version): Up to 2.5.3.
7208 * elmo-net.el (elmo-network-get-session): Changed logic for
7209 checking process status.
7211 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7213 Changed logic for checking process status.
7215 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7217 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7219 (elmo-network-setup-session): Set UIDL hash size according to
7220 the length of list response.
7221 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7222 according to the length of list response;
7223 Return the length of list response.
7224 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7226 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7228 * elmo-imap4.el (toplevel): Require 'ssl.
7229 Add autoload 'starttls.
7230 * elmo-pop3.el (toplevel): Ditto.
7231 * elmo-nntp.el (toplevel): Ditto.
7233 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7235 * elmo-imap4.el (toplevel): defun at compile time.
7236 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7237 sasl-next-step, sasl-step-data, sasl-step-set-data.
7238 * elmo-pop3.el (toplevel): Ditto.
7240 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7242 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7244 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7246 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7248 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7249 and `elmo-pop-auth-apop'.
7251 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7253 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7255 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7257 * elmo-pop3.el (elmo-network-authenticate-session): Split
7258 encoded response value.
7260 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7262 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7263 `elmo-pop3-force-login'.
7264 Redefine `sasl-mechanisms'.
7265 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7267 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7269 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7270 Delete `elmo-imap4-authenticator-alist'.
7271 (elmo-imap4-auth-cram-md5): Delete.
7272 (elmo-imap4-auth-digest-md5): Delete.
7274 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7276 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7277 (elmo-pop3-auth-scram-md5): Ditto.
7278 (elmo-pop3-auth-cram-md5): Ditto.
7280 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7282 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7283 Delete `elmo-pop3-authenticator-alist'.
7285 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7287 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7289 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7291 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7293 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7295 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7297 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7298 Fixed problem when `elmo-pop3-use-uidl' is nil.
7299 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7301 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7303 * elmo-version.el (elmo-version): Up to 2.5.2.
7305 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7307 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7309 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7310 (elmo-pop3-msgdb-create-as-numlist): Use it.
7312 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7313 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7315 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7316 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7318 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7320 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7321 when elmo-mark-as-read is called with second argument nil.
7323 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7325 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7326 Moved to elmo-util.el.
7328 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7329 Moved from elmo-pipe.el
7331 * elmo-archive.el (elmo-archive-call-process): Enclose with
7334 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7335 "RFC822" (because RFC822.PEEK is obsolete).
7336 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7338 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7340 * elmo-archive.el (elmo-archive-call-process): Don't check for
7341 the exit status when Nemacs is running.
7343 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7345 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7348 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7349 (elmo-pop3-get-spec): Set default of auth to 'user.
7351 * elmo-imap4.el (elmo-imap4-session-check):
7352 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7353 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7354 (elmo-imap4-auth-login): New function; Revival.
7355 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7356 `elmo-imap4-auth-login'.
7358 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7360 * elmo2.el (toplevel): Move `product-provide' declare.
7361 * mmelmo.el (toplevel): Ditto.
7363 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7365 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7367 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7369 * elmo-util.el (elmo-folder-get-store-type): New function.
7370 (elmo-folder-direct-copy-p): Use it.
7372 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7374 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7375 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7376 and result of `elmo-imap4-use-flag-p'.
7377 (elmo-imap4-fetch-callback-1): Set mark according to
7378 the result of `elmo-imap4-use-flag-p'.
7380 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7382 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7383 (elmo-generic-list-folder-unread): Ditto.
7384 (elmo-folder-get-info): Ditto.
7385 (elmo-folder-set-info-max-by-numdb): Ditto.
7386 (elmo-folder-get-info-max): Ditto.
7387 (elmo-folder-get-info-length): Ditto.
7388 (elmo-folder-get-info-unread): Ditto.
7389 (elmo-folder-info-make-hashtb): Ditto.
7391 * elmo2.el: Removed above functions.
7393 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7395 * elmo-imap4.el (toplevel): Require 'ssl.
7396 Add autoload 'starttls.
7397 * elmo-pop3.el (toplevel): Ditto.
7398 * elmo-nntp.el (toplevel): Ditto.
7400 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7402 * elmo-imap4.el (toplevel): defun at compile time.
7403 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7404 sasl-next-step, sasl-step-data, sasl-step-set-data.
7405 * elmo-pop3.el (toplevel): Ditto.
7407 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7409 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7411 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7413 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7415 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7416 and `elmo-pop-auth-apop'.
7418 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7420 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7422 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7424 * elmo-pop3.el (elmo-network-authenticate-session): Split
7425 encoded response value.
7427 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7429 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7430 `elmo-pop3-force-login'.
7431 Redefine `sasl-mechanisms'.
7432 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7434 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7436 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7437 Delete `elmo-imap4-authenticator-alist'.
7438 (elmo-imap4-auth-cram-md5): Delete.
7439 (elmo-imap4-auth-digest-md5): Delete.
7441 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7443 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7444 (elmo-pop3-auth-scram-md5): Ditto.
7445 (elmo-pop3-auth-cram-md5): Ditto.
7447 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7449 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7450 Delete `elmo-pop3-authenticator-alist'.
7452 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7454 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7456 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7459 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7461 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7463 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7465 * elmo-nntp.el (elmo-nntp-get-folders-info):
7466 Fixed problem when '\' character is contained in user-id.
7467 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7470 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7472 * elmo-imap4.el (elmo-imap4-delete-folder):
7473 Send "close" before "delete" (Use commented out line).
7474 (elmo-imap4-rename-folder): Ditto.
7476 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7477 folder string itself.
7478 (elmo-dop-list-deleted): New function.
7479 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7482 * elmo-util.el (elmo-string-rassoc-all): New function.
7484 * elmo-version.el (elmo-version): Up to 2.5.1.
7486 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7488 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7490 * elmo-internal.el (elmo-internal-search): Fix last change.
7492 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7494 * elmo-internal.el (elmo-internal-search): Rewrite.
7495 (Fixed problem which is pointed out by Akihiro MOTOKI
7496 <motoki@da.jp.nec.com>)
7498 * elmo-version.el (elmo-version): Up to 2.5.0.
7500 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7502 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7504 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7506 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7507 non-nil, make hierarchy.
7509 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7511 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7512 `elmo-pop3-use-uidl' must be bound to nil.
7513 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7515 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7517 * elmo-util.el (elmo-copy-file): Don't cause an error after
7518 `add-name-to-file' failed.
7520 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7521 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7523 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7525 * elmo-version.el (elmo-version): Up to 2.3.93.
7527 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7529 * elmo-util.el (elmo-flatten): New function.
7531 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7533 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7535 * elmo-cache.el (toplevel): Ditto.
7536 * elmo-database.el (toplevel): Ditto.
7537 * elmo-date.el (toplevel): Ditto.
7538 * elmo-dop.el (toplevel): Ditto.
7539 * elmo-filter.el (toplevel): Ditto.
7540 * elmo-imap4.el (toplevel): Ditto.
7541 * elmo-internal.el (toplevel): Ditto.
7542 * elmo-localdir.el (toplevel): Ditto.
7543 * elmo-localnews.el (toplevel): Ditto.
7544 * elmo-maildir.el (toplevel): Ditto.
7545 * elmo-msgdb.el (toplevel): Ditto.
7546 * elmo-multi.el (toplevel): Ditto.
7547 * elmo-net.el (toplevel): Ditto.
7548 * elmo-nntp.el (toplevel): Ditto.
7549 * elmo-pipe.el (toplevel): Ditto.
7550 * elmo-pop3.el (toplevel): Ditto.
7551 * elmo-util.el (toplevel): Ditto.
7552 * elmo-vars.el (toplevel): Ditto.
7553 * elmo2.el (toplevel): Ditto.
7554 * mmelmo-imap4.el (toplevel): Ditto.
7555 * mmelmo.el (toplevel): Ditto.
7557 * elmo-version.el (elmo-version): Move to top.
7559 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7560 * elmo-imap4.el (toplevel): Ditto.
7561 * elmo-localdir.el (toplevel): Ditto.
7562 * elmo-msgdb.el (toplevel): Ditto.
7563 * elmo-nntp.el (toplevel): Ditto.
7564 * elmo-pop3.el (toplevel): Ditto.
7565 * elmo-version.el (toplevel): Ditto.
7567 * elmo-localnews.el (toplevel): Added Keyword header.
7569 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7571 * elmo-version.el (product-version-as-string): Defined using
7575 * elmo-localdir.el (toplevel): Updated copyright notice.
7576 * elmo-version.el (toplevel): Ditto.
7577 * elmo-msgdb.el (toplevel): Ditto.
7578 * elmo-imap4.el (toplevel): Ditto.
7579 * elmo-nntp.el (toplevel): Ditto.
7580 * elmo-pop3.el (toplevel): Ditto.
7582 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7584 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7587 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7588 parameter value (It sometimes contains raw kanji).
7590 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7592 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7593 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7595 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7597 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7599 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7601 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7602 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7604 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7606 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7607 value if selecting folder succceeded.
7608 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7610 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7612 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7615 * elmo-util.el (elmo-string-matched-member): New function.
7617 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7619 * elmo-util.el (elmo-unintern): New macro.
7620 (elmo-number-set-member): Fixed docstring.
7622 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7625 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7627 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7628 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7630 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7632 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7635 Return non-nil if selecting folder succeeded.
7636 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7638 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7640 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7641 `file-name-completion' returns t.
7642 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7643 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7644 directory if it does not exist.
7645 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7648 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7650 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7651 enclosure (It's harmful in unplugged status).
7653 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7655 * mmelmo-1.el: Removed.
7657 * mmelmo-2.el: Ditto.
7659 * mmelmo-imap4-1.el: Ditto.
7661 * mmelmo-imap4-2.el: Ditto.
7663 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7665 * mmelmo.el: Merged mmelmo-2.el.
7667 * elmo-version.el (elmo-version): Up to 2.3.92.
7669 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7671 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7672 elmo-update-number): Remove last period in "...done." message.
7673 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7675 * elmo-cache.el (elmo-cache-expire-by-size,
7676 elmo-cache-get-sorted-cache-file-list,
7677 elmo-cache-msgdb-create-as-numlist): Ditto.
7678 * elmo-dop.el (elmo-dop-save-pending-messages,
7679 (elmo-dop-flush-pending-append-operations): Ditto.
7680 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7681 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7682 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7683 (elmo-localdir-pack-number): Ditto.
7684 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7685 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7686 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7687 mime-write-entity-content): Ditto.
7688 * pldap.el (ldap-search-basic): Ditto.
7690 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7692 * elmo-version.el (elmo-version): Up to 2.3.91.
7694 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7695 Only when filter is 'last'.
7697 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7698 (elmo-condition-parse-search-value): Use it.
7699 (elmo-read-search-condition-internal): Quote value only when
7702 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7704 * elmo2.el (elmo-generic-folder-diff): Fix.
7706 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7708 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7709 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7710 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7711 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7712 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7713 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7715 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7717 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7720 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7722 * elmo-version.el (elmo-version): Up to 2.3.90.
7724 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7725 (elmo-imap4-list-folder-important): Ditto.
7727 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7729 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7731 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7733 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7735 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7737 * elmo-nntp.el (elmo-network-initialize-session):
7738 Add starttls negotiation.
7740 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7742 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7744 (elmo-network-setup-session): Define.
7745 Call `elmo-nntp-send-mode-reader' when session opened.
7747 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7749 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7751 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7753 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7754 an invalid SPACE character ahead of `SEARCH' command. Move
7755 a valid SPACE character following `SEARCH' from conditional
7756 `format' arguments to control-strings.
7758 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7760 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7763 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7765 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7767 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7768 `w32-get-true-file-link-count' as t.
7770 * elmo-imap4.el (elmo-imap4-read): Abolished.
7771 (Renamed to `elmo-read' and moved to elmo-util.el)
7772 All other related portions are changed.
7774 * elmo-util.el (elmo-read): New function.
7775 (elmo-condition-parse-search-value): Use it.
7777 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7779 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7781 * elmo-nntp.el (elmo-nntp-session): Define.
7782 (elmo-nntp-setting): Abolished.
7783 All other related portions are changed.
7784 (elmo-nntp-get-server-command): Changed argument.
7785 (elmo-nntp-set-server-command): Ditto.
7786 (elmo-nntp-xover-p): Ditto.
7787 (elmo-nntp-set-xover): Ditto.
7788 (elmo-nntp-listgroup-p): Ditto.
7789 (elmo-nntp-set-listgroup): Ditto.
7790 (elmo-nntp-list-active-p): Ditto.
7791 (elmo-nntp-set-list-active): Ditto.
7792 (elmo-nntp-xhdr-p): Ditto.
7793 (elmo-nntp-set-xhdr): Ditto.
7794 (elmo-nntp-flush-connection): Abolished.
7795 (elmo-nntp-get-connection): Abolished.
7796 (elmo-nntp-get-session): New function.
7797 (elmo-network-initialize-session): Defined.
7798 (elmo-network-authenticate-session): Ditto.
7799 (elmo-nntp-send-mode-reader): Changed argument.
7800 (elmo-nntp-send-command): Changed argument.
7801 All other related portions are changed.
7802 (elmo-nntp-read-response): Ditto.
7803 (elmo-nntp-read-raw-response): Ditto.
7804 (elmo-nntp-read-contents): Ditto.
7805 (elmo-nntp-read-body): Ditto.
7806 (elmo-nntp-goto-folder): Abolished.
7807 (elmo-nntp-select-group): New function.
7808 All other related portions are changed.
7809 (This function substitutes `elmo-nntp-goto-folder')
7810 (elmo-nntp-msgdb-create-by-header): Rewrite.
7811 (elmo-nntp-get-overview): Eliminated.
7812 (elmo-nntp-get-message): Ditto.
7813 (elmo-nntp-open-connection) Abolished.
7814 (elmo-nntp-read-msg): Rewrite.
7815 (elmo-nntp-post): Ditto.
7816 (elmo-nntp-send-data): Abolished.
7817 (elmo-nntp-send-buffer): New function.
7818 (elmo-nntp-send-data-line): Define as inline function.
7819 (elmo-nntp-get-folders-info-prepare): Use session as key.
7820 (elmo-nntp-groups-read-response): Changed argument.
7821 (elmo-nntp-retrieve-headers): Ditto.
7822 (elmo-nntp-msgdb-create-message): Ditto.
7824 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7825 when searching by 'since' or 'before'.
7827 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7829 * elmo-version.el (toplevel): Use product-version-as-string for set
7830 verstion-string, if defined.
7832 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7834 * elmo-util.el: Doc fixes.
7836 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7838 * elmo-archive.el (toplevel): Use product-provide.
7839 * elmo-cache.el (toplevel): Ditto.
7840 * elmo-database.el (toplevel): Ditto.
7841 * elmo-date.el (toplevel): Ditto.
7842 * elmo-dop.el (toplevel): Ditto.
7843 * elmo-filter.el (toplevel): Ditto.
7844 * elmo-imap4.el (toplevel): Ditto.
7845 * elmo-internal.el (toplevel): Ditto.
7846 * elmo-localdir.el (toplevel): Ditto.
7847 * elmo-localnews.el (toplevel): Ditto.
7848 * elmo-maildir.el (toplevel): Ditto.
7849 * elmo-msgdb.el (toplevel): Ditto.
7850 * elmo-multi.el (toplevel): Ditto.
7851 * elmo-net.el (toplevel): Ditto.
7852 * elmo-nntp.el (toplevel): Ditto.
7853 * elmo-pipe.el (toplevel): Ditto.
7854 * elmo-pop3.el (toplevel): Ditto.
7855 * elmo-util.el (toplevel): Ditto.
7856 * elmo-vars.el (toplevel): Ditto.
7857 * elmo2.el (toplevel): Ditto.
7858 * mmelmo-1.el (toplevel): Ditto.
7859 * mmelmo-2.el (toplevel): Ditto.
7860 * mmelmo-imap4-1.el (toplevel): Ditto.
7861 * mmelmo-imap4-2.el (toplevel): Ditto.
7862 * mmelmo-imap4.el (toplevel): Ditto.
7863 * mmelmo.el (toplevel): Ditto.
7865 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7867 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7868 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7870 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7872 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7874 (elmo-multi-split-number-alist): Ditto.
7876 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7878 * elmo-version.el: New file. Use product.el.
7879 * elmo2.el: Add (require 'elmo-version).
7880 * elmo-vars.el (elmo-appname, elmo-version): Move to
7883 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7885 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7886 `elmo-msgdb-expand-path'.
7887 (elmo-msgdb-load): Ditto.
7888 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7889 (elmo-generic-list-folder-unread): Rewrite.
7890 (elmo-generic-list-folder-important): Changed argument.
7891 (elmo-list-folder-unread): Ditto.
7892 (elmo-list-folder-important): Ditto.
7893 (elmo-folder-diff): Rewrite.
7894 (elmo-generic-folder-diff): New function.
7895 (elmo-multi-get-number-alist-list): Abolished
7896 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7897 (elmo-multi-folder-diff): Moved to elmo-multi.el
7898 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7900 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7901 `elmo-msgdb-expand-path'.
7902 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7903 (elmo-pop3-read-msg): Ditto.
7904 (elmo-pop3-delete-msgs): Ditto.
7905 (elmo-pop3-folder-diff): New alias.
7907 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7908 `elmo-msgdb-expand-path'.
7909 (elmo-pipe-list-folder-unread): Changed arguments.
7910 (elmo-pipe-list-folder-important): Ditto.
7911 (elmo-pipe-folder-diff): New alias.
7913 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7914 `elmo-msgdb-expand-path'.
7915 (elmo-nntp-max-of-folder): Ditto.
7916 (elmo-nntp-msgdb-create): Ditto.
7917 (elmo-nntp-delete-msgs): Ditto.
7918 (elmo-nntp-folder-diff): New alias.
7920 * elmo-multi.el (elmo-multi-folder-diff): New function.
7921 (elmo-multi-split-mark-alist): Ditto.
7922 (elmo-multi-split-number-alist): Ditto.
7923 (elmo-multi-mark-alist-list): Abolished (Renamed to
7924 elmo-multi-split-mark-alist).
7925 (elmo-multi-list-folder-unread): Rewrite.
7926 (elmo-multi-list-folder-important): Ditto.
7927 (elmo-multi-list-folder): Set `spec' as 1st argument for
7928 `elmo-msgdb-expand-path'.
7929 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7930 instead of `elmo-multi-get-number-alist-list'.
7932 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7933 If 1st argument is not string, treat as spec.
7934 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7935 `elmo-msgdb-expand-path'.
7936 (elmo-msgdb-flist-load): Ditto.
7937 (elmo-msgdb-flist-save): Ditto.
7938 (elmo-msgdb-delete-path): Ditto.
7939 (elmo-msgdb-rename-path): Ditto.
7941 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7942 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943 (elmo-maildir-delete-mark-msgs): Ditto.
7944 (elmo-maildir-msgdb-create): Ditto.
7945 (elmo-maildir-read-msg): Ditto.
7946 (elmo-maildir-delete-msgs): Ditto.
7947 (elmo-maildir-list-folder-subr): Ditto.
7948 (elmo-maildir-search): Ditto.
7949 (elmo-maildir-get-msg-filename): Ditto.
7950 (elmo-maildir-pack-number): Ditto.
7951 (elmo-maildir-folder-diff): New alias.
7953 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7955 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7956 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7957 (elmo-localdir-folder-diff): New alias.
7959 * elmo-internal.el (elmo-internal-list-folder-subr):
7960 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7961 (elmo-internal-list-folder-by-location): Ditto.
7962 (elmo-internal-msgdb-create): Ditto.
7963 (elmo-internal-delete-msgs): Ditto.
7964 (elmo-internal-read-msg): Ditto.
7965 (elmo-internal-folder-diff): New alias.
7967 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7968 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7969 `elmo-msgdb-expand-path'.
7970 (elmo-imap4-list-folder-unread): Changed arguments.
7971 (elmo-imap4-list-folder-important): Ditto.
7973 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7974 (elmo-filter-list-folder-important): Ditto.
7975 (elmo-filter-folder-diff): New function.
7977 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7979 * elmo-cache.el (elmo-cache-list-folder):
7980 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7981 (elmo-cache-copy-msgs): Ditto.
7982 (elmo-cache-folder-diff): New alias.
7984 * elmo-archive.el (elmo-archive-list-folder-subr):
7985 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7986 (elmo-archive-get-archive-name): Ditto.
7987 (elmo-archive-create-file): Ditto.
7988 (elmo-archive-append-msg): Ditto.
7989 (elmo-archive-copy-msgs): Ditto.
7990 (elmo-archive-copy-msgs-froms): Ditto.
7991 (elmo-archive-get-msg-filename): Ditto.
7992 (elmo-archive-folder-diff): New alias.
7994 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7996 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7997 (elmo-pop3-stream-type-alist): New variable.
7998 (elmo-nntp-stream-type-alist): New variable.
8000 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8001 (elmo-kill-buffer): Ditto.
8002 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8003 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8004 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8005 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8006 (elmo-imap4-get-spec): Take into account
8007 `elmo-imap4-stream-type-alist'.
8009 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8011 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8012 (elmo-nntp-list-folders-get-cache): Ditto.
8014 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8016 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8017 character before 'uid'.
8019 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8021 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8023 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8025 * elmo-util.el (elmo-number-set-member): New function.
8026 (elmo-number-set-append-list): Ditto.
8027 (elmo-number-set-append): Ditto.
8029 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8030 Use `elmo-number-set-member'.
8031 (elmo-living-messages): Ditto.
8032 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8033 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8035 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8036 (elmo-imap4-add-to-cont-list): Abolished.
8037 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8038 instead of elmo-imap4-add-to-cont-list.
8040 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8041 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8043 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8045 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8047 * elmo-util.el (elmo-condition-parse-search-value):
8050 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8052 * elmo-util.el (elmo-condition-find-key-internal): New function.
8053 (elmo-condition-find-key): Ditto.
8055 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8056 (elmo-msgdb-search-internal): Ditto.
8057 (elmo-msgdb-search): Ditto.
8059 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8061 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8062 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8064 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8065 (elmo-nntp-search-primitive): Fixed problem when condition is
8068 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8070 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8071 (elmo-nntp-xhdr-p): New macro.
8072 (elmo-nntp-set-xhdr): Ditto.
8073 (elmo-nntp-parse-xhdr-response): New function.
8074 (elmo-nntp-retrieve-field): Ditto.
8075 (elmo-nntp-search-primitive): Ditto.
8076 (elmo-nntp-search): Implemented.
8078 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8080 * elmo-archive.el (elmo-archive-search): Set all number list to
8081 `elmo-archive-field-condition-match'
8083 * elmo-localdir.el (elmo-localdir-search): Likewise.
8085 * elmo-maildir.el (elmo-maildir-search): Likewise.
8087 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8089 * elmo-msgdb.el (elmo-living-messages): New function.
8090 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8091 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8092 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8093 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8094 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8095 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8096 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8097 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8098 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8099 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8100 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8102 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8104 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8106 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8108 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8110 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8111 arguments for `SEARCH' command.
8112 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8113 All other related portions are changed.
8115 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8117 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8118 (elmo-list-folder-unread): Rewrite.
8119 (elmo-list-folder-important): Ditto.
8121 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8122 (elmo-condition-parse-error): New inline function.
8123 (elmo-read-search-condition): New function.
8124 (elmo-read-search-condition-internal): Ditto.
8125 (elmo-parse-search-condition): Rewrite.
8126 (elmo-condition-parse): New function.
8127 (elmo-condition-parse-or-expr): Ditto.
8128 (elmo-condition-parse-and-expr): Ditto.
8129 (elmo-condition-parse-primitive): Ditto.
8130 (elmo-condition-parse-search-value): Ditto.
8131 (elmo-buffer-field-primitive-condition-match): Ditto.
8132 (elmo-buffer-field-condition-match): Rewrite.
8133 (elmo-file-field-condition-match): Ditto.
8135 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8136 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8138 * elmo-internal.el (elmo-internal-search): Set `number' and
8139 `number-list' argument of `elmo-file-field-condition-match'.
8141 * elmo-maildir.el (elmo-maildir-search): Ditto.
8143 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8144 `msgdb' as argument instead of `mark-alist'.
8145 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8148 * elmo-multi.el: Likewise.
8150 * elmo-pipe.el: Likewise.
8152 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8153 (elmo-imap4-search-internal): Rewrite.
8154 (elmo-imap4-search): Ditto.
8156 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8157 (elmo-filter-list-folder-unread): Ditto.
8158 (elmo-filter-list-folder-important): Ditto.
8159 (elmo-filter-search): Rewrite.
8161 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8162 `number-list' argument of `elmo-file-field-condition-match'.
8163 (elmo-cache-search): Ditto.
8165 * elmo-localdir.el: Likewise.
8167 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8168 number-list and pass it to `elmo-buffer-field-condition-match'.
8169 (elmo-archive-field-condition-match): Pass `number-list' to
8170 `elmo-archive-field-condition-match'
8172 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8174 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8177 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8178 (elmo-folder-diff-async-callback-data): Ditto.
8179 (elmo-folder-diff-async): New function.
8181 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8182 (elmo-network-session-cache-key): Use it as a prefix of the session
8184 (elmo-network-open-session): Ditto.
8186 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8187 (elmo-imap4-status-callback-data): Ditto.
8188 (elmo-imap4-server-diff-async-callback): New variable.
8189 (elmo-imap4-server-diff-async-callback-data): Ditto.
8190 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8191 `elmo-imap4-status-callback-data'.
8192 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8193 `elmo-imap4-status-callback-data' as nil.
8194 (elmo-imap4-server-diff): Ditto.
8195 (elmo-imap4-server-diff-async-callback-1): New function.
8196 (elmo-imap4-server-diff-async): Ditto.
8197 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8199 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8201 * elmo-util.el (elmo-list-delete): Doc fix.
8202 (elmo-delete-lists): Abolish.
8203 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8204 instead of `elmo-delete-lists'.
8206 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8208 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8211 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8213 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8214 `elmo-imap4-literal-subr'.
8215 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8216 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8218 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8220 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8221 (elmo-archive-list-folder): Fix.
8222 (elmo-archive-max-of-folder): Fix.
8224 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8226 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8227 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8228 (elmo-localdir-append-msg): Ditto.
8229 (elmo-localdir-list-folder): Fix for `nonsort'.
8230 (elmo-localdir-list-folder-subr): Fix for `killed'.
8231 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8232 (elmo-maildir-list-folder-subr): Ditto.
8233 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8234 (elmo-archive-list-folder-subr): Ditto.
8235 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8236 (elmo-internal-list-folder-subr): Ditto.
8238 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8240 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8242 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8244 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8246 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8248 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8249 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8251 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8253 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8254 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8256 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8258 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8260 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8261 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8262 before STORE command.
8264 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8266 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8268 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8269 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8271 (elmo-imap4-list-folders): Removed unused local variable.
8272 (elmo-network-initialize-session): Ditto.
8273 (elmo-imap4-delete-msg-by-id): Ditto.
8274 (elmo-imap4-parse-fetch): Ditto.
8275 (elmo-imap4-copy-msgs): Ditto.
8276 Use `dst-spec' instead of `dst-folder'.
8277 (elmo-network-authenticate-session): Check authenticate type `plain'.
8279 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8281 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8283 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8284 `elmo-imap4-response-value'.
8285 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8287 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8289 * elmo-imap4.el (elmo-imap4-send-command):
8290 Cause elmo-imap4-bye-error when current response is BYE.
8291 (elmo-imap4-arrival-filter): Changed greeting response value.
8293 * elmo2.el (elmo-imap4-bye-error): Define.
8295 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8296 (elmo-imap4-server-diff): Ditto.
8297 (elmo-imap4-response-bye-p): New macro.
8298 (elmo-imap4-response-error-text): Get text from BYE response.
8299 (elmo-imap4-read-response): Return if BYE response.
8300 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8301 (elmo-imap4-folder-exists-p): Ditto.
8302 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8303 (elmo-imap4-parse-bye): New function.
8304 (elmo-imap4-parse-response): Remove needless let.
8305 Call `elmo-imap4-parse-bye'.
8307 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8309 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8310 the mailbox does not exist.
8311 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8313 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8315 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8317 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8319 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8321 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8322 (elmo-network-initialize-session-buffer): Defined.
8324 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8326 (mmelmo-imap4-get-mime-entity): Rewrite.
8328 * elmo2.el (elmo-error): Capitalize error message.
8330 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8331 (elmo-network-session-buffer): New macro.
8332 (elmo-network-open-session): Use it.
8334 * elmo-imap4.el: Rewrite.
8336 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8338 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8340 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8342 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8343 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8344 (elmo-imap4-create-msgdb-from-overview-string): Use
8345 `elmo-msgdb-create-overview-from-buffer'.
8347 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8349 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8350 (elmo-imap4-default-hierarchy-delimiter): New variable.
8351 (elmo-imap4-list-folders): Use it.
8353 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8355 * elmo-net.el (elmo-network-open-session): Add user and
8356 stream-type for process-buffer name.
8358 * elmo-pop3.el (elmo-network-initialize-session): Call
8359 buffer-disable-undo.
8361 * elmo-imap4.el (elmo-network-initialize-session):
8362 Set current-buffer as an argument for `buffer-disable-undo'.
8364 * elmo-pop3.el (elmo-network-close-session): Don't use
8367 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8368 Set default as 'user.
8370 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8372 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8373 and `elmo-imap4-flush-connection'.
8375 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8376 (elmo-pop3-get-spec): Assume auth as symbol.
8377 (elmo-open-network-stream): Moved to `elmo-net'.
8379 * elmo-pop3.el (toplevel): Require 'elmo-net.
8380 Define `sasl-cram-md5' to silence byte compilier.
8381 (elmo-pop3-connection-cache) Abolished.
8382 (elmo-pop3-authenticator-alist) New variable.
8383 (elmo-pop3-session): Define.
8384 (elmo-pop3-connection-get-process): Abolished.
8385 (elmo-pop3-connection-get-buffer): Ditto.
8386 (elmo-pop3-close-connection): Ditto.
8387 (elmo-pop3-flush-connection): Ditto.
8388 (elmo-pop3-get-connection): Ditto.
8389 (elmo-pop3-get-session): New function.
8390 (Replacement for `elmo-pop3-get-connection').
8391 All other related modules are changed.
8392 (elmo-network-close-session): Define.
8393 (elmo-pop3-send-command): Abolished argument `buffer'.
8394 All other related modules are changed.
8395 (elmo-pop3-read-response): Likewise.
8396 (elmo-pop3-open-connection): Abolished.
8397 (elmo-pop3-auth-user): New function.
8398 (elmo-pop3-auth-apop): Ditto.
8399 (elmo-pop3-auth-cram-md5): Ditto.
8400 (elmo-pop3-auth-scram-md5): Ditto.
8401 (elmo-pop3-auth-digest-md5): Ditto.
8402 (elmo-network-initialize-session): Define.
8403 (elmo-network-authenticate-session): Ditto.
8404 (elmo-network-setup-session): Ditto.
8406 * elmo-imap4.el (toplevel): Require 'elmo-net.
8407 (elmo-imap4-session): Define.
8408 (elmo-imap4-connection-cache): Abolished.
8409 (elmo-imap4-password-key): Ditto.
8410 (elmo-imap4-flush-connection): Ditto.
8411 (elmo-imap4-get-connection): Ditto.
8412 All other related modules are changed.
8413 (elmo-imap4-get-session): New function
8414 (Replacement for `elmo-imap4-get-connection').
8415 (elmo-imap4-read-response): Abolished argument `buffer'.
8416 All other related modules are changed.
8417 (elmo-imap4-send-command): Likewise.
8418 (elmo-imap4-select-folder): Abolished.
8419 All other related modules are changed.
8420 (elmo-imap4-select-mailbox): New function.
8421 (Replacement for `elmo-imap4-select-folder').
8422 (elmo-imap4-auth-login): Simplify.
8423 (Assume current buffer as process buffer)
8424 (elmo-imap4-auth-cram-md5): Ditto.
8425 (elmo-imap4-auth-digest-md5): Ditto.
8426 (elmo-imap4-login): Ditto.
8427 (elmo-imap4-open-connection): Abolished.
8428 (elmo-imap4-open-connection-1): Abolished.
8429 (elmo-network-initialize-sessoin): Define.
8430 (elmo-network-authenticate-session): Ditto.
8431 (elmo-network-setup-session): Ditto.
8433 * elmo-net.el: New module.
8435 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8437 * elmo-util.el (elmo-define-error): New function.
8439 * elmo2.el (elmo-error): Define.
8440 (elmo-open-error): Define.
8441 (elmo-authenticate-error): Define.
8443 * elmo-imap4.el (elmo-imap4-error): Abolish.
8444 (elmo-imap4-error-type): Abolish.
8445 (elmo-imap4-error-process): Abolish.
8446 (elmo-imap4-error-message): Abolish
8447 (elmo-imap4-list-folders): Don't quote lambda.
8448 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8449 (elmo-imap4-parse-namespace): Ditto.
8450 (elmo-imap4-open-connection): Rewrite.
8451 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8452 (elmo-imap4-get-connection): Abolish local variable `result'.
8454 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8456 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8457 wrong-type-argument error when auth is nil.
8459 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8461 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8462 (elmo-default-nntp-stream-type): Ditto.
8463 (elmo-default-pop3-stream-type): Ditto.
8464 (elmo-network-stream-type-alist): Ditto.
8465 (elmo-default-imap4-ssl): Abolished.
8466 (elmo-default-nntp-ssl): Ditto.
8467 (elmo-default-pop3-ssl): Ditto.
8469 * elmo-util.el: (toplevel): Removed needless requires.
8470 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8471 (elmo-open-network-stream): Open network stream according to
8472 the value of `elmo-network-stream-type-alist'.
8473 (elmo-get-network-stream-type): New function.
8474 (elmo-network-stream-type-spec-string): New macro.
8475 (elmo-network-stream-type-symbol): Ditto.
8476 (elmo-network-stream-type-function): Ditto.
8478 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8479 network-stream-type. All other related portions are changed.
8480 (elmo-pop3-open-connection): Ditto.
8482 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8483 network-stream-type. All other related portions are changed.
8485 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8486 network-stream-type.All other related portions are changed.
8487 (elmo-imap4-error): New macro.
8488 (elmo-imap4-error-type): Ditto.
8489 (elmo-imap4-error-process): Ditto.
8490 (elmo-imap4-error-message): Ditto.
8491 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8492 (elmo-imap4-auth-cram-md5): Ditto.
8493 (elmo-imap4-auth-digest-md5): Ditto.
8494 (elmo-imap4-login): Ditto.
8495 (elmo-imap4-open-connection): Remove password entry if authentication
8497 (elmo-imap4-user-at-host): Abolished.
8498 (elmo-imap4-password-key): New buffer local variable.
8499 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8500 using protocol, port, auth and stream-type.
8502 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8504 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8506 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8508 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8510 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8511 (elmo-imap4-authenticator-alist): New variable.
8512 (elmo-imap4-open-connection-1): Rename from
8513 elmo-imap4-open-connection.
8514 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8515 only wraps elmo-imap4-open-connection-1.
8516 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8518 (elmo-imap4-auth-login): New function.
8519 (elmo-imap4-auth-cram-md5): New function.
8520 (elmo-imap4-auth-digest-md5): New function.
8521 (elmo-imap4-login): New function.
8523 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8525 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8528 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8530 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8532 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8534 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8536 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8538 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8539 for server responses, quote `*' regardless of where it appears.
8541 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8543 * elmo-maildir.el (elmo-maildir-commit): New alias.
8545 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8547 * elmo-util.el (elmo-display-progress):
8548 Use `progress-feedback-with-label'.
8550 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8552 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8553 (elmo-imap4-non-atom-char-regex): Ditto.
8554 (elmo-imap4-non-text-char-regex): Ditto.
8555 (elmo-imap4-literal-threshold): Ditto.
8556 (elmo-imap4-atom-p): New function.
8557 (elmo-imap4-quotable-p): Ditto.
8558 (elmo-imap4-nil): Ditto.
8559 (elmo-imap4-atom): Ditto.
8560 (elmo-imap4-quoted): Ditto.
8561 (elmo-imap4-literal-subr): Ditto.
8562 (elmo-imap4-literal): Ditto.
8563 (elmo-imap4-buffer-literal): Ditto.
8564 (elmo-imap4-string-subr): Ditto.
8565 (elmo-imap4-string): Ditto.
8566 (elmo-imap4-buffer-string): Ditto.
8567 (elmo-imap4-astring-subr): Ditto.
8568 (elmo-imap4-astring): Ditto.
8569 (elmo-imap4-buffer-astring): Ditto.
8570 (elmo-imap4-nstring): Ditto.
8571 (elmo-imap4-buffer-nstring): Ditto.
8572 (elmo-imap4-mailbox): New alias.
8573 (elmo-imap4-field-body): Ditto.
8574 (elmo-imap4-userid): Ditto.
8575 (elmo-imap4-password): Ditto.
8576 (elmo-imap4-format-quoted): New function.
8577 (elmo-imap4-send-command): Rewritten. Accept a list of command
8578 arguments and handle "atom", "quoted" and "literal" string here.
8579 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8580 `elmo-imap4-send-command'.
8581 (elmo-imap4-folder-exists-p): Likewise.
8582 (elmo-imap4-create-folder): Likewise.
8583 (elmo-imap4-delete-folder): Likewise.
8584 (elmo-imap4-rename-folder): Likewise.
8585 (elmo-imap4-max-of-folder): Likewise.
8586 (elmo-imap4-check-validity): Likewise.
8587 (elmo-imap4-sync-validity): Likewise.
8588 (elmo-imap4-server-diff): Likewise.
8589 (elmo-imap4-select-folder): Likewise.
8590 (elmo-imap4-copy-msgs): Likewise.
8591 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8592 (elmo-imap4-mark-set-on-msgs): Likewise.
8593 (elmo-imap4-read-part): Likewise.
8594 (elmo-imap4-read-msg): Likewise.
8595 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8596 `elmo-imap4-password' for `elmo-imap4-send-command'.
8597 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8598 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8599 `elmo-imap4-buffer-literal'.
8600 (elmo-imap4-append-msg): Likewise.
8602 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8603 `delete' for removing dead connection from the connection cache.
8604 Move deletion of the process buffer after that.
8605 (elmo-imap4-list): Change `defsubst' to `defun'.
8606 (elmo-imap4-commit): Make error message verbose.
8607 (elmo-imap4-search): Ditto.
8608 (elmo-imap4-list): Ditto.
8609 (elmo-imap4-select-folder): Ditto.
8610 (elmo-imap4-copy-msgs): Ditto.
8611 (elmo-imap4-delete-msg-by-id): Ditto.
8612 (elmo-imap4-append-msg-by-id): Ditto.
8613 (elmo-imap4-append-msg): Ditto.
8615 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8617 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8618 when dired is used on XEmacs.
8620 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8622 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8623 instead of `append'.
8624 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8625 `elmo-plugged-p' directly.
8626 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8627 of `elmo-plugged-p' directly.
8629 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8630 Eliminate unused variable. Use `memq' for checking a process status.
8631 Use `cons' instead of `append' for updating the connection cache.
8632 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8633 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8635 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8637 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8638 `elmo-imap4-read-point' exactly.
8640 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8641 the local variable `folder' to `mailbox'.
8642 Rename the argument `fld' to `folder'.
8644 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8646 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8647 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8649 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8651 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8652 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8653 (elmo-pop3-uidl-number-hash): Ditto.
8654 (elmo-pop3-size-hash): Ditto.
8655 (elmo-pop3-uidl-done): Ditto.
8656 (elmo-pop3-list-done): Ditto.
8657 (elmo-pop3-connection-get-process): New defmacro.
8658 (elmo-pop3-connection-get-buffer): Ditto.
8659 (elmo-pop3-close-connection): Delete buffer and process.
8660 (elmo-pop3-flush-connection): Don't delete buffer and process.
8661 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8662 Setup UIDL and size hash.
8663 (elmo-pop3-send-command-no-erase): Deleted
8664 (elmo-pop3-send-command): Added optional argument `no-erase'.
8665 (elmo-pop3-parse-uidl-response): New function.
8666 (elmo-pop3-parse-list-response): Set size hash.
8667 (elmo-pop3-list-location): New function.
8668 (elmo-pop3-list-by-uidl-subr): Ditto.
8669 (elmo-pop3-list-by-list): Ditto.
8670 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8671 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8672 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8673 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8674 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8676 (elmo-pop3-uidl-to-number): New function.
8677 (elmo-pop3-number-to-uidl): Ditto.
8678 (elmo-pop3-number-to-size): Ditto.
8679 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8680 Set number by use of uidl.
8681 (elmo-pop3-msgdb-create-message): Likewise.
8682 Set size, loc-alist in msgdb.
8683 (elmo-pop3-read-msg): Set number by use of uidl.
8684 Added optional argument `msgdb'.
8685 (elmo-pop3-delete-msg): Ditto.
8686 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8687 (elmo-pop3-commit): Close connection.
8689 * elmo-pipe.el (elmo-pipe-max-of-folder):
8690 Bind `elmo-pop3-use-uidl' as nil.
8691 (elmo-pipe-drain): Ditto.
8694 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8695 (elmo-msgdb-overview-entity-set-size): New defsubst.
8697 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8699 * elmo-vars.el (elmo-use-killed-list): New variable
8700 (Renamed from `elmo-nntp-use-killed-list').
8701 (elmo-nntp-use-killed-list): Eliminated.
8703 * elmo-msgdb.el (elmo-msgdb-expand-path):
8704 Changed expanding msgdb path for elmo-multi.
8706 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8707 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8708 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8709 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8710 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8711 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8712 (toplevel): Deleted time-stamp line.
8714 * elmo2.el (elmo-clear-killed ): Defined as function
8715 (Abolished defining as a backend function).
8716 All other related modules are changed.
8718 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8720 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8722 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8724 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8726 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8728 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8730 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8732 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8733 asynchronous folder check.
8735 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8737 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8738 `elmo-nntp-use-killed-list'.
8739 (elmo-nntp-list-folder): Use killed list.
8740 (elmo-nntp-max-of-folder): Ditto.
8741 (elmo-nntp-msgdb-create): Set killed list.
8743 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8745 * elmo2.el (elmo-clear-killed): New backend function.
8746 All other related modules are changed.
8748 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8750 * elmo-util.el (elmo-imap4-spec-folder): Use
8751 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8752 All callers changed.
8754 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8756 * mmelmo-2.el (initialize-instance):
8757 Use `mime-buffer-entity-buffer-internal' instead of
8758 `mime-entity-buffer'.
8760 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8761 (mime-entity-body): Implemented.
8762 (mime-goto-header-start-point): Deleted.
8763 (mime-goto-body-end-point): Ditto.
8764 (mime-entity-point-min): Ditto.
8765 (mime-entity-point-max): Ditto.
8766 (mime-entity-children): Ditto.
8767 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8768 instead of `mime-entity-buffer'.
8769 (mime-entity-header-buffer): Ditto.
8770 (mime-entity-body-buffer): Ditto.
8771 (mime-write-entity-content): Ditto.
8773 * pldap.el (ldap-static-if): New macro.
8774 (toplevel): Use it instead of `static-if'.
8776 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8778 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8779 included in `attrs' argument.
8781 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8783 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8785 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8786 (ldap-ldif-safe-init-char-regexp): Ditto.
8787 (ldap-ldif-safe-string-regexp): Ditto.
8788 (ldap/ldif-safe-string-p): New macro.
8789 (ldap/ldif-insert-field): Ditto.
8790 (ldap-modify): Use it.
8792 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8793 (ldap-decode-attribute): Decode only when `attr' is consp.
8794 (ldap-delete): Bind `ret'.
8795 (toplevel): Require 'cl at compile time.
8796 Removed (require 'poe) and (require 'std11).
8797 (pldap-version): Eliminated.
8798 (ldap-search-basic): Removed auth and dn binding.
8799 (ldap-ldif-field-name-regexp): New constant.
8800 (ldap-ldif-field-head-regexp): Ditto.
8801 (ldap-ldif-next-field-head-regexp): Ditto.
8802 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8803 (ldap/field-end): New function.
8804 (ldap/field-body): Use it.
8805 (ldap/collect-field): Ditto.
8806 (ldap-search-basic): Use `ldap/field-body'.
8808 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8810 * pldap.el (ldap-default-attribute-encoder): New user option.
8811 (ldap/field-body): Decode base64 string.
8812 (ldap/collect-field): Ditto.
8813 (ldap-encode-attribute): New function.
8814 (ldap-add-entries): Use it.
8815 (ldap-modify-entries): Ditto.
8816 (ldap-search-entries): Enclosed decoding function with
8817 `with-temp-buffer' and set as unibyte.
8818 (ldap-search-basic): Set process buffer as unibyte.
8820 * elmo-util.el (elmo-folder-identical-system-p):
8821 Eliminated name space checking.
8823 * pldap.el: New module.
8824 toplevel: Changed condition to detect built-in ldap feature.
8825 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8826 (ldap-add): Added error handling.
8827 (ldap-modify): Ditto.
8828 (ldap-delete): Ditto.
8830 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8832 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8833 Initialize local variables with `let'. Inline a temporary
8834 variable for the progress percentage. Sort `setq' to reduce
8835 function call in the while-loop.
8837 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8838 into the conditional branch.
8840 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8842 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8843 Move a conditional out of the while-loop.
8845 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8847 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8848 elmo-msgdb-overview-get-entity-by-number.
8849 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8852 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8854 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8855 the local variable for a packed number self descriptively.
8857 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8859 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8860 * elmo-localdir.el (elmo-localdir-pack-number): Use
8861 `elmo-msgdb-overview-get-entity' instead of
8862 `elmo-msgdb-overview-get-entity-by-number'.
8863 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8864 (elmo-msgdb-search-overview-entity): Removed.
8865 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8866 by message-id or number.
8867 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8868 instead of `elmo-msgdb-overview-get-entity-by-number'.
8870 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8872 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8873 non-nil, use hash table for overview.
8874 (elmo-hash-maximum-size): New variable.
8875 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8876 (elmo-msgdb-make-overview-hashtb): New function.
8877 (elmo-msgdb-clear-overview-hashtb): New function.
8878 (elmo-clear-hash-val): New macro.
8879 All other related modules are changed.
8881 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8883 * elmo2.el (elmo-move-msgs): If there's other message with
8884 same message-id, don't use cache.
8886 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8888 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8889 number is already packed.
8891 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8893 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8895 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8897 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8898 All other related modules are changed.
8900 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8902 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8903 of refiling failure on Maildir.
8905 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8907 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8908 decoded mime-charset with cache.
8909 (elmo-msgdb-overview-entity-get-from): Ditto.
8910 (elmo-msgdb-overview-entity-get-subject): Ditto.
8911 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8913 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8915 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8916 (elmo-remove-passwd): Fill password with 0 before erase.
8917 * elmo-vars.el (elmo-passwd-life-time): New variable.
8920 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8922 * elmo-cache.el (elmo-buffer-cache-add):
8923 Set message cache buffer as unibyte.
8925 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8927 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8930 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8932 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8933 when display is finished.
8934 (elmo-nntp-msgdb-create): Ditto.
8935 (elmo-nntp-groups-read-response): Ditto.
8936 (elmo-nntp-retrieve-headers): Ditto.
8937 (elmo-nntp-msgdb-create-message): Ditto.
8938 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8939 (elmo-pop3-msgdb-create-message): Ditto.
8941 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8943 * elmo-maildir.el (elmo-maildir-msgdb-create):
8944 Use `elmo-msgdb-sort-by-date'.
8946 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8948 * elmo2.el (elmo-read-msg-no-cache):
8949 Eliminated arguments after `outbuf'.
8950 Don't use cache even if it exists.
8951 (elmo-read-msg): Don't pass arguments after `outbuf' to
8952 `elmo-read-msg-no-cache'.
8954 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8956 * elmo-archive.el (elmo-archive-list-folders):
8957 Use `file-name-directory' if base folder does not exist.
8959 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8961 * elmo-archive.el (elmo-archive-list-folders): Don't use
8962 `file-name-directory'.
8964 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8966 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8967 If `force' is non-nil, try flushing all operation queues.
8969 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8971 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8974 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8976 * elmo-util.el (elmo-display-progress): Fixed.
8978 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8980 * elmo-util.el (elmo-display-progress): New function.
8981 All other related modules are changed.