1 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-util.el (elmo-condition-optimize): Discriminated against
4 preserved fields, extra fields and the other weight.
6 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * modb-entity.el (initialize-instance): Define.
9 (modb-entity-handler-mime-charset): New internal function.
10 (modb-standard-entity-set-field): Use it.
11 (elmo-msgdb-message-entity-field): Ditto.
12 (elmo-msgdb-message-entity-field): Ditto.
14 * modb.el (elmo-msgdb-match-condition): Rewrite with
15 `elmo-condition-match'.
16 (elmo-msgdb-match-condition-primitive): New function.
18 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
19 arguments `flags' and `numbers'.
20 (elmo-msgdb-match-condition-primitive): Abolished (merged to
21 `elmo-msgdb-message-match-condition').
22 (modb-buffer-entity-handler): New class.
24 * elmo.el (elmo-folder-search): Optimize condition to use
25 `elmo-condition-optimize'.
26 (elmo-message-buffer-match-condition): New function.
27 (elmo-message-match-condition): Use
28 `elmo-message-buffer-match-condition' instead of
29 `elmo-buffer-field-condition-match'.
31 * elmo-util.el (elmo-condition-match): New function.
32 (elmo-condition-optimize): Ditto.
33 (elmo-buffer-field-primitive-condition-match): Abolish.
34 (elmo-buffer-field-condition-match): Ditto.
36 * elmo-archive.el (elmo-archive-field-condition-match): Use
37 `elmo-message-buffer-match-condition' instead of
38 `elmo-buffer-field-condition-match'.
40 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
42 * elmo-flag.el (elmo-global-flags-initialize): Check the
43 existence of the flag directory.
45 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
47 * elmo-access.el (elmo-folder-initialize): Call
48 `elmo-multi-connect-signals'.
50 * elmo-pipe.el (elmo-folder-close): Define.
52 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
55 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
58 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
61 * elmo-multi.el (elmo-message-entity): Don't use return value of
62 `elmo-message-entity-set-number'.
64 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
66 * modb.el (modb-generic): Added slot `mime-charset'.
68 * modb-standard.el (modb-standard): Added slot `overview-handler'.
69 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
70 and `modb-entity-handler-dump-parameters'.
71 (modb-standard-default-entity-handler): Abolish.
72 (elmo-msgdb-message-entity-handler): Save created handler by
75 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
76 (modb-entity-handler-list-parameters): New method.
77 (modb-entity-handler-equal-p): New function.
78 (modb-entity-handler-dump-parameters): Ditto.
79 (modb-entity-parse-address-string): Encode return value.
80 (modb-entity-make-address-string): Decode argument value.
81 (modb-entity-decode-string-recursive): New function.
82 (modb-entity-encode-string-recursive): Ditto.
83 (modb-standard-entity-normalizer): Set to encode field value.
84 (modb-standard-entity-specializer): Follow the above change.
85 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
86 mime-charset of handler.
87 (elmo-msgdb-message-entity-field): Ditto.
88 (elmo-msgdb-copy-message-entity): Fixed reference to internal
90 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
92 * elmo.el (elmo-folder): Added slot `mime-charset'.
93 (elmo-make-folder): Added argument `mime-charset'.
94 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
97 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
98 (elmo-make-msgdb): Likewise.
100 * elmo-internal.el (elmo-internal-folder-initialize): Call
101 `luna-make-entity' with :mime-charset parameter.
103 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
105 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
106 encoded words in `from' and `subject' field.
108 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
110 * modb.el (elmo-msgdb-message-field): Add argument `type'.
111 (elmo-msgdb-match-condition): Get handler from entity instead of
114 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
115 (modb-standard-load-entity): Treat new file format.
116 (modb-standard-save-entity-1): Save as new file format.
117 (modb-standard-save-entity): Split messages into section here.
118 (elmo-msgdb-message-field): Follow the API change.
119 (modb-standard-default-entity-handler): New internal variable.
120 (elmo-msgdb-message-entity-handler): Define.
122 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
124 (modb-entity-field-extractor-alist): New user option.
125 (elmo-msgdb-message-entity-field): Removed argument `decode' and
126 added argument `type'.
127 (elmo-msgdb-copy-message-entity): Add optional argument
129 (modb-set-field-converter): New function.
130 (modb-convert-field-value): Ditto.
131 (modb-entity-string-decoder): Ditto.
132 (modb-entity-string-encoder): Ditto.
133 (modb-entity-parse-date-string): Ditto.
134 (modb-entity-make-date-string): Ditto.
135 (modb-entity-mime-decoder): Ditto.
136 (modb-entity-mime-encoder): Ditto.
137 (modb-entity-address-list-decoder): Ditto.
138 (modb-entity-address-list-encoder): Ditto.
139 (modb-entity-parse-address-string): Ditto.
140 (modb-entity-make-address-string): Ditto.
141 (modb-entity-create-field-indices): Ditto.
142 (modb-legacy-entity-field-slots): New constant.
143 (modb-legacy-entity-field-indices): Ditto.
144 (modb-legacy-entity-normalizer): New variable.
145 (modb-legacy-entity-specializer): Ditto.
146 (modb-legacy-entity-field-index): New macro.
147 (modb-legacy-entity-set-field): New function.
148 (modb-legacy-make-message-entity): Rewrite.
149 (elmo-msgdb-create-message-entity-from-buffer): Use
150 `elmo-msgdb-get-references-from-buffer'. Use
151 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
152 Use `modb-legacy-entity-set-field' instead of
153 `elmo-msgdb-message-entity-set-field'.
154 (elmo-msgdb-message-entity-field): Rewrite.
155 (elmo-msgdb-message-entity-set-field): Ditto.
156 (elmo-msgdb-copy-message-entity): Make new entity by
157 `make-handler' if it specified.
158 (elmo-msgdb-message-match-condition): Define a method of
159 `modb-entity-handler' and follow the API change.
160 (modb-standard-entity-handler): New class.
161 (modb-entity-extract-ml-info-from-x-sequence): New function.
162 (modb-entity-extract-ml-info-from-subject): Ditto.
163 (modb-entity-extract-ml-info-from-return-path): Ditto.
164 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
165 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
166 (modb-entity-extract-mailing-list-info): Ditto.
167 (modb-entity-extract-mailing-list-info-functions): New variable.
169 * elmo.el (elmo-message-field): Add optional argument `type'.
171 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
172 from `modb-entity.el'.
174 * elmo-util.el (elmo-object-load): Decode by coding-system from
175 `set-auto-coding-function'.
176 (elmo-object-save): Use `detect-mime-charset-region' and add
177 coding cookie if encode.
178 (elmo-msgdb-get-references-from-buffer): New function.
179 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
181 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
183 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
184 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
185 instead of `shimbun-make-header' and follow the API change.
186 (elmo-shimbun-update-overview): Follow the API change.
187 (elmo-map-folder-list-message-locations): Ditto.
189 * elmo-pipe.el (elmo-message-field): Ditto.
191 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
194 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
196 * elmo-multi.el (elmo-message-field): Ditto.
198 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
199 (elmo-msgdb-sort-by-date): Ditto.
200 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
201 `elmo-message-entity-field'.
202 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
204 (elmo-msgdb-overview-entity-get-from): Ditto.
205 (elmo-msgdb-overview-entity-get-subject): Ditto.
206 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
207 (elmo-msgdb-overview-entity-get-date): Ditto.
208 (elmo-msgdb-overview-entity-get-to): Ditto.
209 (elmo-msgdb-overview-entity-get-cc): Ditto.
211 * elmo-mime.el (elmo-message-mime-entity): Ditto.
212 (elmo-mime-collect-message/partial-pieces): Ditto.
214 * elmo-filter.el (elmo-message-field): Ditto.
216 * elmo-date.el (elmo-datevec-to-time): New function.
217 (elmo-time-parse-date-string): Ditto.
218 (elmo-time-make-date-string): Ditto.
221 * elmo-version.el (elmo-version): Up to 2.15.1.
223 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
225 * elmo-flag.el (elmo-global-flags-initialize): Don't include
226 member of elmo-local-flags.
228 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
230 * elmo-version.el (elmo-version): Up to 2.15.0.
232 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
234 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
235 `ignore-msgdb' is non-nil.
237 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
239 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
240 (elmo-condition-in-msgdb-p): Ditto.
241 (elmo-file-field-primitive-condition-match): Ditto.
242 (elmo-file-field-condition-match): Ditto.
244 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
246 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
248 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
250 (elmo-global-flags-initialize): New function.
252 * elmo.el (toplevel): Added autoload setting for
253 `elmo-global-flags-initialize'.
255 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
257 * elmo.el (message-number-changed): Define new signal.
258 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
259 message-number-changed signal.
260 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
261 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
262 Respect `elmo-pack-number-check-strict'.
264 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
266 * elmo-signal.el (elmo-connect-signal): Document.
267 (elmo-emit-signal): Ditto.
268 (elmo-emit-signal): It should pass source argument to filter and
269 handler, not slot-source.
271 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
273 * modb.el (elmo-msgdb-update-entity): New API and define generic
276 * modb-standard.el (elmo-msgdb-update-entity): Define.
278 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
279 API and define generic implement.
281 * elmo.el (update-overview): New singnal.
283 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
284 `elmo-msgdb-update-entity' and emit signal `update-overview'.
285 (elmo-message-entity-parent): Define.
287 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
290 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
292 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
294 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
296 * elmo.el (elmo-folder-synchronize): Sort the return value of
299 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
302 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
304 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
305 `default-enable-multibyte-characters'.
306 (elmo-object-load): Use `with-temp-buffer' instead of
308 (elmo-object-save): Ditto.
309 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
311 (elmo-decoded-field-body): Ditto.
313 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
315 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
316 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
318 * elmo-version.el (elmo-version): Up to 2.13.3.
320 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
322 * elmo-util.el (elmo-list-diff): Fix the last change.
323 Reverse order of result lists.
325 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
327 * modb-standard.el (elmo-msgdb-set-flag): Use
328 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
329 (elmo-msgdb-unset-flag): Ditto.
331 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
334 * elmo-util.el (elmo-list-diff): Rewrite.
335 (elmo-list-diff-nonsortable): New function.
337 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
339 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
340 `elmo-multibypte-buffer-name'. All referers are updated.
342 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
344 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
345 (elmo-mime-entity-fragment-p): New function.
346 (mime-elmo-buffer-entity): Added slot `reassembled'.
347 (elmo-message-mime-entity): Added 4th argument `reassemble'.
348 (elmo-message-mime-entity-internal): New function (renamed from
349 `elmo-message-mime-entity').
350 (elmo-mime-inherit-field-list-from-enclosed): New constant.
351 (elmo-mime-make-reassembled-mime-entity): New function.
352 (elmo-message-reassembled-mime-entity): Ditto.
353 (elmo-mime-collect-message/partial-pieces): Ditto.
355 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
357 * elmo.el (elmo-message-fetch-string): Disable multibyte.
359 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
360 (elmo-with-enable-multibyte): New macro.
362 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
364 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
366 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
368 (elmo-filter-connect-signals): Follow the above change.
370 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
372 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
374 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
375 that only the first flag is used.
377 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
379 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
382 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
384 * elmo-signal.el: New file.
386 * elmo.el (toplevel): Require elmo-signal.
387 (flag-changing, flag-changed, cache-changed): New signal.
388 (elmo-folder): Remove slog `handlers'.
389 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
390 `elmo-folder-notify-event'.
391 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
392 (elmo-folder-unset-flag): Ditto.
393 (elmo-event-handler): Abolish.
394 (elmo-event-handler-flag-changed): Ditto.
395 (elmo-event-handler-cache-changed): Ditto.
396 (elmo-folder-add-handler): Ditto.
397 (elmo-folder-remove-handler): Ditto.
398 (elmo-folder-notify-event): Ditto.
400 * elmo-pipe.el (toplevel): Require elmo-signal.
401 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
402 (elmo-pipe-connect-signals): New function.
403 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
404 (elmo-folder-set-flag): Ditto.
405 (elmo-folder-unset-flag): Ditto.
406 (elmo-message-set-cached): Ditto.
408 * elmo-multi.el (toplevel): Require elmo-signal.
409 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
410 (elmo-multi-connect-signals): New function.
411 (elmo-multi-map-numbers): Ditto.
412 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
413 (elmo-message-fetch): Ditto.
414 (elmo-folder-set-flag): Ditto.
415 (elmo-folder-unset-flag): Ditto.
417 * elmo-filter.el (toplevel): Require elmo-signal.
418 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
419 (elmo-filter-connect-signals): New function.
420 (elmo-filter-add-flag-count): Ditto.
421 (elmo-message-fetch): Does not call
422 `elmo-filter-folder-countup-message-flags' and
423 `elmo-folder-notify-event'.
424 (elmo-message-set-cached): Ditto.
425 (elmo-folder-set-flag): Ditto.
426 (elmo-folder-unset-flag): Ditto.
428 * elmo-version.el (elmo-version): Up to 2.13.2.
430 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
432 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
435 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
437 * elmo-filter.el (elmo-message-set-cached): Call
438 `elmo-folder-notify-event' with event `cache-changed'.
440 * elmo-multi.el (elmo-message-set-cached): Ditto.
442 * elmo-pipe.el (elmo-message-set-cached): Ditto.
444 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
446 * elmo.el (elmo-folder-encache): Abolish.
448 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
450 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
451 (elmo-folder-next-message-number-dop): Return appropriate negative
454 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
456 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
457 clearing pending operations.
458 (elmo-folder-next-message-number-dop): Return appropriate negative
461 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
463 * elmo.el (toplevel): Added autoload setting for `md5'.
464 (elmo-msgdb-path-encode-threshold): New user option.
465 (elmo-folder-msgdb-path): Encode msgdb path if its length is
466 longer than `elmo-msgdb-path-encode-threshold'.
468 * elmo-flag.el (elmo-global-mark-migrate): Use
469 `elmo-folder-expand-msgdb-path' instead of
470 `elmo-folder-msgdb-path'.
472 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
474 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
475 element of the difference is nil.
477 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
479 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
480 to the check logic of file systems which are weak in colon character.
482 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
484 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
486 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
488 * elmo-maildir.el (elmo-maildir-move-file): New function.
489 (elmo-folder-append-buffer): Use it.
490 (elmo-folder-append-messages): Ditto.
491 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
493 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
494 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
496 * elmo-maildir.el (elmo-maildir-separator): New user option.
497 (elmo-maildir-adjust-separator): New macro.
498 (elmo-maildir-list-location): Use it.
499 (elmo-maildir-update-current): Ditto.
500 (elmo-maildir-set-mark): Ditto.
501 (elmo-maildir-delete-mark): Ditto.
502 (These changes are based on Hiroya Murata's patch [wl: 13437])
504 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
506 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
508 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
510 * elmo-flag.el (elmo-flag-valid-p): Simplify.
511 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
512 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
514 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
516 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
517 Use `with-temp-buffer'.
519 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
521 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
523 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
524 `wl-read-search-condition').
525 (elmo-read-search-condition-internal): Likewise.
527 * elmo-flag.el (elmo-flag-char-regexp): New constant.
528 (elmo-flag-valid-p): New function.
529 (elmo-folder-initialize): Check flag name is valid.
531 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
533 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
534 delimiter to obtain root mailbox itself.
536 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
538 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
541 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
543 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
546 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
548 * elmo-shimbun.el (toplevel): Require cl at compile.
550 * elmo-nntp.el (toplevel): Ditto.
552 * elmo-nmz.el (toplevel): Ditto.
554 * elmo-multi.el (toplevel): Ditto.
556 * elmo-file.el (toplevel): Ditto.
558 * elmo-dop.el (toplevel): Ditto.
560 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
562 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
564 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
567 * elmo.el (elmo-message-fetch): Return t even when the output buffer
568 size of elmo-message-fetch-internal is 0 byte.
570 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
572 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
574 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
576 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
579 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
581 * elmo-maildir.el (elmo-map-message-fetch): Call
582 `elmo-map-folder-set-flag'.
584 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
585 (elmo-message-fetch): Merge from
586 `elmo-message-fetch-with-cache-process'.
588 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
589 (elmo-message-fetch): Define.
591 * elmo-nntp.el (elmo-message-fetch): Renamed from
592 `elmo-message-fetch-with-cache-process'.
594 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
595 (elmo-message-fetch): Define.
597 * elmo-util.el (elmo-condition-parse-primitive): Downcase
600 * elmo-shimbun.el (shimbun-mua-search-id): Use
601 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
602 (elmo-shimbun-folder-shimbun-header): Ditto.
603 (elmo-shimbun-get-headers): Ditto.
604 (elmo-shimbun-update-overview): Ditto.
606 * elmo-pipe.el (elmo-folder-detach-messages): Define.
608 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
609 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
611 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
613 * elmo.el (elmo-message-fetch): Unset unread flag on server when
615 (elmo-message-fetch-string): Fixed argument.
617 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
619 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
620 exchange order of arguments `section' and `unread'.
621 (elmo-message-encache): Follow the API change.
622 (elmo-message-match-condition): Ditto.
623 (elmo-generic-folder-append-messages): Ditto.
624 (elmo-message-fetch-string): New function.
626 * elmo-split.el (elmo-split-subr): Ditto.
628 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
630 * elmo-pipe.el (elmo-message-fetch): Ditto.
632 * elmo-multi.el (elmo-message-fetch): Ditto.
634 * elmo-mime.el (elmo-message-mime-entity): Ditto.
636 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
638 * elmo-filter.el (elmo-message-fetch): Ditto.
640 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
642 * elmo-imap4.el (mime-imap-location-section-body): Use
643 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
644 follow the API change.
646 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
648 * elmo-access.el: New file.
650 * elmo-null.el: Ditto.
652 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
654 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
656 * elmo-net.el (elmo-network-session-idle-timeout): New option.
657 (elmo-network-session): New attribute `last-accessed'.
658 (elmo-network-get-session): Discard network cache if elapsed time
659 since last-accessed is larger than elmo-network-session-idle-timeout.
661 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
663 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
664 and added `number', `require-entireness'.
665 (elmo-find-fetch-strategy): Rewrite.
666 (elmo-message-fetch): Unset `unread' flag when argument unread is
669 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
671 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
672 (elmo-message-fetch): Notify event `flag-changed'.
674 * elmo-pipe.el: Likewise.
676 * elmo-mime.el (elmo-mime-entity): New class.
677 (elmo-mime-entity-display-p): New generic function.
678 (elmo-mime-entity-display): Ditto.
679 (elmo-mime-entity-display-as-is): Ditto.
680 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
682 (elmo-make-mime-message-location): Removed.
683 (elmo-mime-message-display): Ditto.
684 (elmo-mime-display-as-is): Ditto.
685 (elmo-message-mime-entity): New function.
687 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
689 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
691 (elmo-message-fetch): Re-count flagged message number and notify
692 event `flag-changed'.
694 * elmo-version.el (elmo-version): Up to 2.13.1.
696 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
698 * elmo-filter.el (elmo-message-field): Define.
699 (elmo-message-set-field): Ditto.
701 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
703 * elmo.el (elmo-message-set-cached): Call
704 `elmo-folder-notify-event' with cache-changed.
705 (elmo-event-handler-cache-changed): New generic function.
707 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
709 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
710 instead of elmo-add-name-to-file.
711 (elmo-folder-append-messages): Ditto.
713 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
715 * elmo.el (elmo-folder-update-threshold): Add nil to range.
717 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
719 * elmo-version.el (elmo-version): Up to 2.13.0.
721 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
724 * modb-standard.el (modb-standard-economize-entity-size): Changed
725 default value to `t'.
727 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
730 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
731 after parsing greeting string.
733 2004-11-23 Daishi Kato <daishi@axlight.com>
735 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
737 (elmo-spam-spamoracle-call): Use it.
739 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
741 * elmo.el (elmo-message-accessible-p): Message in dop spool
744 2004-11-23 Daishi Kato <daishi@axlight.com>
746 * elsp-spamoracle.el: New file.
748 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
750 * elmo.el (elmo-message-flags-for-append): New function.
751 (elmo-generic-folder-append-messages): Use it.
753 * elmo-split.el (elmo-split-subr): Ditto.
755 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
756 `flags' and use elmo-folder-append-buffer instead of
757 write-region-as-binary.
758 (elmo-dop-filter-pending-messages): New function.
759 (elmo-folder-append-buffer-dop): Call
760 elmo-dop-spool-folder-append-buffer with `flag'.
761 (elmo-folder-set-flag-dop): Filter messages by
762 elmo-dop-filter-pending-messages.
763 (elmo-folder-unset-flag-dop): Ditto.
764 (elmo-folder-append-buffer-dop-delayed): Use
765 elmo-message-flags-for-append to get flags of the message and
768 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
770 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
772 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
774 * elmo.el (elmo-folder): Added handlers slot.
775 (elmo-event-handler): New class.
776 (elmo-event-handler-flag-changed): New API.
777 (elmo-folder-add-handler): New function.
778 (elmo-folder-remove-handler): Ditto.
779 (elmo-folder-notify-event): Ditto.
780 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
782 (elmo-folder-unset-flag): Ditto.
784 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
785 (elmo-folder-unset-flag): Ditto.
787 * elmo-multi.el (elmo-folder-set-flag): Ditto.
788 (elmo-folder-unset-flag): Ditto.
790 * elmo-filter.el (elmo-folder-set-flag): Ditto.
791 (elmo-folder-unset-flag): Ditto.
793 * elmo-version.el (elmo-version): Up to 2.11.33.
795 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
797 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
799 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
801 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
803 * elmo-flag.el (elmo-folder-unset-flag): Define.
804 (elmo-global-flag-detach): Do process when the flag is not target
807 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
809 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
811 (elmo-msgdb-create-message-entity-from-buffer): Use it.
813 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
815 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
817 (elmo-folder-delete-messages): Detach messages before delete
818 messages from target folder.
819 (elmo-folder-detach-messages): Set updated number-list to slot.
821 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
823 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
825 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
827 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
829 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
831 * elmo.el (elmo-folder-delete-messages-internal): New API (for
833 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
835 (elmo-folder-delete-messages): Define.
836 (elmo-folder-move-messages): Don't call
837 `elmo-folder-detach-messages'.
838 (elmo-folder-synchronize): Rewrite.
839 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
841 * elmo-util.el (elmo-last): New function.
842 (elmo-set-list): Ditto.
843 (elmo-number-set-delete-list): Ditto.
844 (elmo-number-set-delete): Ditto.
846 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
848 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
849 `elmo-folder-delete-messages' and don't delete location map.
850 (elmo-folder-detach-messages): Define.
852 * elmo-imap4.el (elmo-folder-delete): Use
853 `elmo-folder-delete-messages-internal' instead of
854 `elmo-folder-delete-messages'.
856 * elmo-filter.el (elmo-folder-delete-messages): Call
857 `elmo-folder-detach-messages'.
858 (elmo-folder-detach-messages): Don't call
859 `elmo-folder-detach-messages' for target folder.
861 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
862 message deletion is succeeded.
864 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
866 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
867 from `elmo-folder-delete-messages'.
869 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
871 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
873 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
875 * elmo-version.el (elmo-version): Up to 2.11.32.
877 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
879 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
880 (elmo-global-flag-list): Added obsolete variable setting.
882 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
884 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
885 (elmo-mime-insert-header-from-buffer): Don't decode header content when
886 `elmo-mime-display-header-analysis' is nil.
888 * elmo-flag.el (elmo-global-flags): Renamed from
889 `elmo-global-flag-list' (All other related portions are changed).
890 (elmo-local-flags): New variable.
891 (elmo-local-flag-p): New function.
892 (elmo-global-flag-set-internal): Cause an error when flag is not
895 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
897 * elmo-util.el (elmo-concat-path): Treat empty path.
899 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
901 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
903 (elmo-split-address-match): Ditto.
904 (elmo-split-equal): Ditto.
905 (elmo-split-match): Ditto.
907 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
909 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
910 (elmo-generic-folder-append-messages): If src message exists but
911 has no flag, pass (read) for the FLAG argument of
912 `elmo-folder-append-buffer'. Otherwise, pass nil.
914 * elmo-split.el (elmo-split-subr): Likewise.
916 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
918 * elmo-multi.el (elmo-message-flags): Ditto.
920 * elmo-filter.el (elmo-message-flags): Ditto.
922 * elmo.el (elmo-folder-append-buffer): Fix docstring.
923 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
924 pass (read) for the FLAG argument of elmo-folder-append-buffer.
926 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
928 * elmo-split.el (elmo-split-rule): Update comment.
929 (elmo-split-address-equal): Allow 2nd argument to be a list.
930 (elmo-split-address-match): Ditto.
931 (elmo-split-equal): Ditto.
932 (elmo-split-match): Ditto.
934 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
936 * elmo.el (elmo-folder-append-buffer): Fix docstring.
937 (elmo-folder-append-msgdb): Don't treat `read'.
938 (elmo-message-flags): Don't return `read'.
940 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
941 (elmo-folder-unset-read-delayed): Ditto.
943 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
945 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
947 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
950 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
952 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
955 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
957 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
959 (elmo-msgdb-save): Bind inhibit-quit.
960 (modb-standard-message-entity): Ditto.
962 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
964 * elmo-database.el: No need to require elmo-msgdb.
966 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
968 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
969 instead of `elmo-list-subdirectories'.
971 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
973 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
975 (elmo-folder-exists-p): "[" is empty.
976 (elmo-folder-list-subfolders): Define.
977 (elmo-folder-have-subfolder-p): Ditto.
979 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
981 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
983 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
985 * elmo-filter.el (elmo-folder-local-p): Define.
987 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
989 * modb-standard.el (modb-standard-loaded-message-id): Return nil
990 when entity is garbaged.
991 (modb-standard-save-entity-1): Don't modify the original entity.
993 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
995 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
997 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
999 * elmo.el (elmo-strict-folder-diff): Use
1000 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1002 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1004 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1005 (elmo-msgdb-message-number): Ditto.
1006 (elmo-msgdb-message-field): Ditto.
1008 * modb-standard.el (modb-standard-economize-entity-size): New user
1010 (modb-standard-loaded-message-id): New inline function.
1011 (modb-standard-load-entity): Use it.
1012 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1013 throw message-id string away.
1014 (elmo-msgdb-flag-available-p): Define.
1015 (elmo-msgdb-message-number): Ditto.
1016 (elmo-msgdb-message-field): Ditto.
1018 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1019 (suppoted -> supported).
1020 (modb-legacy-supported-flag-p): Ditto.
1021 (elmo-msgdb-set-flag): Ditto.
1022 (elmo-msgdb-unset-flag): Ditto.
1023 (elmo-msgdb-flag-available-p): Define.
1025 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1026 is `t', treat it as legacy entity.
1028 * elmo.el (elmo-message-flag-available-p): New generic function.
1029 (elmo-message-number): Ditto.
1030 (elmo-message-field): Use `elmo-msgdb-message-field'.
1032 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1034 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1035 (elmo-message-number): Ditto.
1037 * elmo-multi.el (elmo-message-number): Define.
1038 (elmo-message-flag-available-p): Ditto.
1040 * elmo-filter.el (elmo-message-flag-available-p): Define.
1041 (elmo-message-number): Ditto.
1043 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1044 (elmo-folder-initialize): Load `max-number'.
1045 (elmo-folder-commit): Save it.
1046 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1047 (elmo-global-flag-set-internal): Set up max-number slot.
1049 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1051 * elmo-version.el (elmo-version): Up to 2.11.31.
1053 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1055 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1056 unibyte string of the current buffer for the argument of `md5'
1057 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1059 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1061 * modb-legacy.el (modb-legacy-flag-list): New constant.
1062 (modb-legacy-suppoted-flag-p): New internal function.
1063 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1064 (elmo-msgdb-unset-flag): Ditto.
1066 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1068 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1070 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1073 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1075 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1076 (follow the API change).
1078 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1080 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1082 * modb-standard.el (modb-standard-digest-flags): Abolish.
1083 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1085 * elmo-vars.el (elmo-digest-flags): New variable.
1086 (elmo-preserved-flags): Moved from elmo-flag.el.
1088 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1089 (elmo-imap4-flag-to-imap-criteria): Ditto.
1090 (elmo-imap4-folder-list-flagged): Use it.
1092 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1094 * elmo.el (elmo-folder-count-flags): Changed return value.
1096 * elmo-flag.el (elmo-preserved-flags): New variable.
1097 (elmo-get-global-flags): Use it.
1099 * modb-standard.el (modb-standard-digest-flags): New variable.
1100 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1101 Changed behavior of `any'.
1103 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1104 which are defined the Internet draft
1105 (draft-melnikov-imap-keywords-03.txt).
1106 (elmo-imap4-flags-to-imap): New function.
1107 (elmo-folder-append-buffer): Use it.
1109 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1112 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1113 avoid the bug of Emacs 21.3.
1115 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1117 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1118 function find-coding-system does not exist.
1120 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1122 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1125 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1127 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1130 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1132 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1133 (elmo-network-close-session): Follow the changes in
1134 `elmo-pop3-read-response'.
1135 (elmo-pop3-auth-user): Ditto.
1136 (elmo-pop3-auth-apop): Ditto.
1137 (elmo-network-initialize-session): Ditto.
1138 (elmo-network-authenticate-session): Ditto.
1139 (elmo-network-setup-session): Ditto.
1140 (elmo-folder-status): Ditto.
1141 (elmo-message-fetch-plugged): Ditto.
1142 (elmo-pop3-delete-msg): Ditto.
1144 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1146 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1149 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1151 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1153 (elmo-bind-directory): Ditto.
1155 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1157 * elmo.el (elmo-folder-append-messages): Note on return value.
1158 * elmo-archive.el (elmo-folder-append-messages): Don't return
1159 message numbers which could not be appended.
1161 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1163 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1165 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1167 * elmo-version.el (elmo-version): Up to 2.11.30.
1169 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1171 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1174 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1176 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1177 (elmo-multi-split-numbers): Add elmo-folder object into each
1178 element of return value at first.
1179 (elmo-folder-delete-messages): Follow the above change.
1180 (elmo-folder-detach-messages): Ditto.
1182 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1183 number which is synchronized in target folder.
1185 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1187 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1188 Change default value to symbol `all'.
1189 (elmo-map-message-fetch): Change condition to update overview
1192 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1194 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1195 behavior to update overview.
1196 (elmo-shimbun-update-overview-folder-list): Note it.
1198 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1200 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1203 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1205 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1206 buffer-disable-undo, it is unnecessary.
1207 (elmo-spam-register-good-messages): Ditto.
1209 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1212 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1214 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1216 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1217 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1218 elmo-set-buffer-multibyte.
1219 (elmo-object-load): Ditto.
1220 (elmo-save-buffer): Ditto.
1221 (elmo-delete-char): Ditto.
1222 (elmo-file-field-primitive-condition-match): Ditto.
1223 (elmo-mime-string): Ditto.
1225 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1226 (elmo-archive-field-condition-match): Ditto.
1228 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1230 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1232 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1233 (elmo-nntp-msgdb-create-message): Ditto.
1235 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1237 * elmo.el (elmo-message-match-condition): Ditto.
1238 (elmo-message-match-condition): Ditto.
1240 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1243 * elmo-version.el (elmo-version): Up to 2.11.29.
1245 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1246 (elsp-header): New backend.
1248 * elmo-util.el (elmo-decoded-field-body): New function.
1250 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1252 * elmo-version.el (elmo-version): Up to 2.11.28.
1254 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1256 * elmo-filter.el: Rewrite.
1258 * elmo-version.el (elmo-version): Up to 2.11.27.
1260 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1262 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1263 msgdb path for the localdir folder with absolute path.
1265 * utf7.el: Synch up with latest gnus/utf7.el;
1266 Modified for latest Emacs.
1268 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1270 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1271 shimbun backend couldn't open.
1273 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1275 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1276 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1277 when a destination folder is a filter folder.
1279 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1281 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1282 (elmo-generic-folder-append-messages): Call elmo-message-flags
1283 with argument `msgid'.
1285 * elmo-split.el (elmo-split-subr): Ditto.
1287 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1289 * elmo-multi.el (elmo-message-flags): Ditto.
1291 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1293 * elmo.el (elmo-folder): Add new slot `flag-table'.
1294 (elmo-folder-flag-table): New API.
1295 (elmo-folder-close-flag-table): Ditto.
1296 (elmo-folder-preserve-flags): New function.
1297 (elmo-generic-folder-append-messages): Use
1298 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1299 Flag of a non-registered message, it sets to nil.
1300 Does not set flag to flag-table.
1302 * elmo-maildir.el (elmo-folder-append-buffer): Use
1303 `elmo-folder-preserve-flags'.
1304 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1305 `elmo-folder-close-flag-table'.
1307 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1308 (elmo-archive-folder-append-buffer): Use
1309 `elmo-folder-preserve-flags'.
1311 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1313 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1315 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1316 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1317 `elmo-folder-close-flag-table'.
1319 * elmo-version.el (elmo-version): Up to 2.11.26.
1321 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1323 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1325 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1326 md5's 4th and 5th argument (non-existent in flim one).
1328 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1330 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1331 message, It sets to nil.
1333 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1335 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1338 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1340 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1342 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1344 * elmo-util.el (elmo-uniq-sorted-list): New function.
1345 (elmo-make-number-list): Ditto.
1346 (elmo-number-set-to-number-list): Use elmo-make-number-list
1347 and don't use nreverse.
1349 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1351 * elmo-version.el (elmo-version): Up to 2.11.25.
1353 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1355 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1356 field not exists in message, Use md5 message digest of header.
1358 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1360 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1361 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1362 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1363 * elmo-split.el (elmo-split-subr): Check return value of
1364 elmo-folder-append-buffer.
1366 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1367 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1369 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1372 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1374 * elmo-split.el (elmo-split-subr): Append message with flag.
1376 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1377 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1378 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1380 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1382 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1383 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1384 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1386 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1388 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1389 with a function call of `process-buffer'. All callers are updated.
1390 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1391 Remove redundant `set-buffer' in a while loop.
1393 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1395 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1398 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1400 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1401 elsp-spamfilter-register-buffer-internal with current buffer.
1402 (elmo-spam-register-spam-buffer): Ditto.
1403 (elmo-spam-register-good-buffer): Ditto.
1405 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1407 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1408 if it is not contained in the response(A workaround for courier-imap).
1410 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1412 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1415 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1417 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1420 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1422 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1425 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1427 (elmo-msgdb-message-match-condition): Follow the change above.
1429 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1431 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1434 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1436 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1438 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1440 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1442 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1444 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1447 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1449 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1451 (elmo-file-command-argument): Undo last change for cygwin.
1452 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1454 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1456 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1458 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1459 value returned from elmo-file-find is nil.
1461 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1463 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1466 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1467 instead of insert-file-contents-as-binary.
1468 (elmo-message-set-field): New generic function.
1470 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1471 behavior change on `split-string'.
1473 * elmo-file.el (elmo-file-find): New function.
1474 (elmo-file-command): New user option.
1475 (elmo-file-command-argument): Ditto.
1476 (elmo-file-fetch-max-size): Ditto.
1477 (elmo-file-detect-format): New function.
1478 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1479 Use elmo-file-detect-format.
1480 (elmo-map-folder-list-message-locations): Don't treat directories.
1482 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1484 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1485 (elmo-passwd-alist-clear): Shred password before clear.
1486 (elmo-remove-passwd): Remove all mached pair.
1488 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1490 * elmo.el (elmo-folder-synchronize): Fix description of the return
1493 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1495 * elmo.el (elmo-message-fetch-bodystructure): New method.
1496 (elmo-message-fetch-bodystructure): Define default.
1498 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1499 elmo-message-fetch-bodystructure.
1500 (elmo-message-fetch-bodystructure): Define.
1502 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1504 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1506 * elmo-filter.el (elmo-message-folder): Define.
1508 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1510 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1511 elmo-delete-cr-buffer.
1513 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1515 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1517 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1519 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1520 type seems to be a text.
1522 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1524 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1525 (elmo-spam-register-good-buffer): Ditto.
1526 (elmo-spam-spamassassin-register-messages): Ditto.
1528 * elmo-util.el (elmo-string-member-ignore-case): Define with
1531 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1533 * elmo.el (elmo-folder-type): Undo last change.
1535 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1537 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1540 * elmo-file.el: New file.
1542 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1544 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1546 (elmo-spam-spamassassin-register-messages): New inline function.
1547 (elmo-spam-register-spam-messages): Define.
1548 (elmo-spam-register-good-messages): Ditto.
1550 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1553 * elmo.el (toplevel): Added autoload setting for
1554 `elmo-get-global-flags'.
1555 (elmo-message-has-global-flag-p): New function.
1556 (elmo-message-set-global-flags): Ditto.
1557 (elmo-folder-type): Improvement for name: format.
1559 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1560 availability of keyword flags.
1561 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1562 (elmo-folder-list-flagged-plugged): Renamed from
1563 elmo-folder-list-flagged-unplugged.
1564 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1565 accept any flag as keyword flag.
1566 (elmo-folder-set-flag-plugged): Accept keyword flags.
1567 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1569 * elmo-flag.el (elmo-get-global-flags): New function.
1571 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1574 * elmo-version.el (elmo-version): Up to 2.11.24.
1576 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1578 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1579 elmo-multiple-field-body instead of std11-field-body to check all
1582 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1584 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1587 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1589 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1590 unintern is unbound.
1592 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1594 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1595 Protect from infinite loop.
1597 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1599 * elsp-bogofilter.el
1600 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1601 (elmo-spam-bogofilter-register-messages): New internal function.
1602 (elmo-spam-register-spam-messages): Define.
1603 (elmo-spam-register-good-messages): Ditto.
1605 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1607 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1608 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1609 (elmo-spam-bogofilter-call): Fixed the last change.
1610 (elmo-spam-bogofilter-arguments): Ditto.
1612 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1613 Follow the options change of latest bogofilter.
1615 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1616 (elmo-spam-bogofilter-good-switch): Ditto.
1617 (elmo-spam-bogofilter-arguments-alist): New user option.
1618 (elmo-spam-bogofilter-debug): Ditto.
1619 (elmo-spam-bogofilter-call): Renamed from
1620 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1621 is non-nil, insert output in buffer for debug.
1622 (elmo-spam-bogofilter-arguments): New macro.
1623 (elmo-spam-buffer-spam-p): Use it.
1624 (elsp-bogofilter-register-buffer): Ditto.
1626 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1628 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1631 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1633 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1635 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1636 (elmo-spam-bsfilter-program): Set default value as full path for
1638 (elmo-spam-bsfilter-debug): New user option.
1639 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1640 non-nil, insert output in buffer for debug. Fix treating of
1643 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1645 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1646 `elmo-maildir-flag-specs' element instead of one.
1647 (elmo-map-folder-unset-flag): Ditto.
1648 (Reported by Ken Makimura <macky@astem.or.jp>)
1650 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1651 (elmo-folder-unset-flag-plugged): Ditto.
1653 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1655 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1656 to `reads' slot only if `in-msgdb' is nil.
1658 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1660 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1661 and complement argument list.
1663 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1665 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1666 instead of elmo-folder-list-flagged.
1668 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1670 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1672 * elsp-bsfilter.el: New file.
1674 * elmo-pipe.el (elmo-folder-list-unreads,
1675 elmo-folder-list-answereds,
1676 elmo-folder-list-importants,
1677 elmo-folder-flag-as-important,
1678 elmo-folder-unflag-important,
1679 elmo-folder-flag-as-read,
1680 elmo-folder-unflag-read,
1681 elmo-folder-flag-as-answered,
1682 elmo-folder-unflag-answered): Remove.
1683 (elmo-folder-set-flag): Define.
1684 (elmo-folder-unset-flag): Ditto.
1686 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1687 (elmo-folder-set-flag): Define.
1688 (elmo-folder-unset-flag): Ditto.
1689 (elmo-folder-list-unreads): Remove.
1690 (elmo-folder-list-flagged): Define.
1692 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1693 (elmo-folder-list-unreads,
1694 elmo-folder-list-importants,
1695 elmo-folder-list-answereds,
1696 elmo-folder-list-unreads-plugged,
1697 elmo-folder-list-importants-plugged,
1698 elmo-folder-list-answereds-plugged): Remove.
1699 (elmo-folder-list-flagged-plugged): New method.
1700 (elmo-folder-unflag-important,
1701 elmo-folder-flag-as-important,
1702 elmo-folder-unflag-read,
1703 elmo-folder-flag-as-read,
1704 elmo-folder-unflag-answered,
1705 elmo-folder-flag-as-answered,
1706 elmo-folder-flag-as-read-unplugged,
1707 elmo-folder-unflag-read-unplugged,
1708 elmo-folder-flag-as-important-unplugged,
1709 elmo-folder-unflag-important-unplugged,
1710 elmo-folder-flag-as-answered-unplugged,
1711 elmo-folder-unflag-answered-unplugged): Remove.
1712 (elmo-folder-set-flag): Define.
1713 (elmo-folder-unset-flag): Ditto.
1714 (elmo-folder-set-flag-unplugged): Ditto.
1715 (elmo-folder-unset-flag-unplugged): Ditto.
1717 * elmo-multi.el (elmo-folder-list-unreads,
1718 elmo-folder-list-answereds,
1719 elmo-folder-list-importants,
1720 elmo-folder-flag-as-important,
1721 elmo-folder-unflag-important,
1722 elmo-folder-flag-as-read,
1723 elmo-folder-unflag-read,
1724 elmo-folder-flag-as-answered,
1725 elmo-folder-unflag-answered): Remove.
1726 (elmo-folder-set-flag): Define.
1727 (elmo-folder-unset-flag): Ditto.
1729 * elmo-map.el (elmo-map-folder-unflag-important,
1730 elmo-map-folder-flag-as-important,
1731 elmo-map-folder-unflag-read,
1732 elmo-map-folder-flag-as-read,
1733 elmo-map-folder-unflag-answered,
1734 elmo-map-folder-flag-as-answered): Remove.
1735 (elmo-map-folder-set-flag): New method.
1736 (elmo-map-folder-unset-flag): Ditto.
1737 (elmo-map-folder-list-unreads,
1738 elmo-map-folder-list-importants,
1739 elmo-map-folder-list-answereds): Remove.
1740 (elmo-folder-list-flagged-internal): Define.
1741 (elmo-map-folder-list-flagged): New method.
1743 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1744 (elmo-map-folder-list-unreads,
1745 elmo-map-folder-list-importants,
1746 elmo-map-folder-list-flagged): Remove.
1747 (elmo-map-folder-list-flagged): Define.
1748 (elmo-map-folder-flag-as-important,
1749 elmo-map-folder-unflag-important,
1750 elmo-map-folder-flag-as-read,
1751 elmo-map-folder-unflag-read,
1752 elmo-map-folder-flag-as-answered,
1753 elmo-map-folder-unflag-answered): Remove.
1754 (elmo-maildir-set-mark-messages): New internal function.
1755 (elmo-map-folder-set-flag): Define.
1756 (elmo-map-folder-unset-flag): Ditto.
1758 * elmo.el (toplevel): Added autoload setting for
1759 `elmo-folder-list-global-flag-messages'.
1760 (elmo-folder-list-unreads,
1761 elmo-folder-list-importants,
1762 elmo-folder-list-answereds): Remove.
1763 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1764 Return a list whitch merged with messages have global flag.
1765 (elmo-folder-list-flagged-internal): New method.
1766 (elmo-folder-unflag-important,
1767 elmo-folder-flag-as-important,
1768 elmo-folder-unflag-read,
1769 elmo-folder-flag-as-read,
1770 elmo-folder-unflag-answered,
1771 elmo-folder-flag-as-answered): Remove.
1772 (elmo-folder-set-flag): New method.
1773 (elmo-folder-unset-flag): Ditto.
1774 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1775 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1777 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1778 (elmo-folder-list-unreads-plugged,
1779 elmo-folder-list-importants-plugged,
1780 elmo-folder-list-answereds-plugged,
1781 elmo-folder-list-flagged-unplugged,
1782 elmo-folder-unflag-important-plugged,
1783 elmo-folder-flag-as-important-plugged,
1784 elmo-folder-unflag-read-plugged,
1785 elmo-folder-flag-as-read-plugged,
1786 elmo-folder-unflag-answered-plugged,
1787 elmo-folder-flag-as-answered-plugged): Remove.
1788 (elmo-folder-set-flag-plugged,
1789 elmo-folder-unset-flag-plugged): Define.
1791 * elmo-flag.el (elmo-folder-initialize): Register to
1792 `elmo-global-flag-list' if flag is not global.
1793 (elmo-folder-append-messages): Set flag to source messages.
1795 * elmo-filter.el (elmo-filter-folder-list-unreads,
1796 elmo-folder-list-unreads,
1797 elmo-filter-folder-list-importants,
1798 elmo-folder-list-importants,
1799 elmo-folder-flag-as-read,
1800 elmo-folder-unflag-read,
1801 elmo-folder-flag-as-important,
1802 elmo-folder-unflag-important,
1803 elmo-folder-flag-as-answered,
1804 elmo-folder-unflag-answered): Remove.
1805 (elmo-folder-set-flag): Define.
1806 (elmo-folder-unset-flag): Ditto.
1808 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1809 elmo-folder-unflag-read-dop,
1810 elmo-folder-flag-as-important-dop,
1811 elmo-folder-unflag-important-dop,
1812 elmo-folder-flag-as-answered-dop,
1813 elmo-folder-unflag-answered-dop): Remove.
1814 (elmo-folder-set-flag-dop,
1815 elmo-folder-unset-flag-dop,
1816 elmo-folder-set-important-delayed,
1817 elmo-folder-unset-important-delayed,
1818 elmo-folder-set-read-delayed,
1819 elmo-folder-unset-read-delayed,
1820 elmo-folder-set-answered-delayed,
1821 elmo-folder-unset-answered-delayed): New function.
1822 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1823 (elmo-dop-queue-method-name-alist): Ditto.
1825 * elmo-version.el (elmo-version): Up to 2.11.23.
1827 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1829 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1831 * elsp-sa.el: New file.
1833 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1835 * modb-standard.el (modb-standard-message-entity): New function.
1836 (elmo-msgdb-message-entity): Use it.
1838 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1840 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1841 behavior when one-level is nil.
1843 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1845 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1847 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1849 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1851 (elmo-generic-folder-diff): Ditto.
1853 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1854 (elmo-folder-update-number): Ditto.
1856 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1857 (elmo-folder-next-message-number-dop): Ditto.
1859 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1861 * elmo-filter.el (elmo-folder-msgdb-create): Use
1862 `elmo-message-entity' and `elmo-message-flags' instead of
1863 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1865 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1867 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1870 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1872 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1874 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1876 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1878 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1880 * elmo-version.el (elmo-version): Up to 2.11.22.
1882 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1884 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1886 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1888 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1889 if the message dose not exist.
1891 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1893 * elmo-version.el (elmo-version): Up to 2.11.21.
1895 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1897 * modb-standard.el (toplevel): Don't require mime.
1899 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1901 * elsp-bogofilter.el (toplevel): Don't require path-util.
1902 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1903 (elmo-spam-bogofilter-header): Abolish.
1904 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1905 (elmo-spam-bogofilter-args): New user option.
1906 (elsp-bogofilter-call-bogofilter): New internal function.
1907 (elmo-spam-buffer-spam-p): Use it.
1908 (elsp-bogofilter-register-buffer): Renamed from
1909 `elmo-spam-bogofilter-register-buffer';
1910 Use `elsp-bogofilter-call-bogofilter'.
1911 (elmo-spam-register-spam-buffer): Follow the change above.
1912 (elmo-spam-register-good-buffer): Ditto.
1914 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1916 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1917 message-id is nil do nothing.
1919 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1921 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1923 (elmo-imap4-session): Removed use-flag slot.
1924 (elmo-imap4-session-select-mailbox): Undo last change.
1925 (elmo-folder-use-flag-p): Use
1926 elmo-imap4-disuse-server-flag-mailbox-regexp.
1928 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1930 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1931 (elmo-imap4-session-select-mailbox): Set it up.
1932 (elmo-folder-use-flag-p): Return value of use-flag slot.
1934 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1936 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1938 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1940 * modb-entity.el (elmo-message-entity-handler): Likewise.
1942 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1944 * elmo.el (toplevel): Remove setting of autoloding for
1945 elmo-global-flag-initialize.
1946 (elmo-init): Don't call elmo-global-flag-initialize.
1947 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1949 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1950 (elmo-global-mark-migrate): Don't call it.
1951 (elmo-global-mark-upgrade): Ditto.
1953 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1955 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1956 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1958 * elmo-vars.el (elmo-init-hook): New user option.
1960 * elmo.el (elmo-init): Run the elmo-init-hook.
1962 * elmo-flag.el (elmo-global-mark-migrate): New function.
1964 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1966 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1967 Undo last change (move to elmo-msgdb-unset-flag).
1968 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1971 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1973 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1975 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1976 (elmo-msgdb-unset-flag): Ditto.
1978 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1980 * elmo-split.el (elmo-split): Return split message count.
1982 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1984 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1987 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1989 * elmo.el (elmo-folder-unflag-important): Call
1990 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1993 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
1995 (elmo-global-flag-detach): Delete the message from flag folder, if
1996 `delete-if-none' is a symbol `always'.
1998 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2000 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2001 `elmo-spam-spamfilter-decode-buffer'.
2002 (elsp-spamfilter-register-buffer-internal): New internal function.
2003 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2004 (elmo-spam-register-spam-buffer): Ditto.
2005 (elmo-spam-register-good-buffer): Ditto.
2007 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2009 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2010 (elmo-spam-register-spam-buffer): Follow the API change.
2011 (elmo-spam-register-good-buffer): Ditto.
2013 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2014 (elmo-split-spam-p): Added argument plist; Call
2015 `elmo-spam-buffer-spam-p' with new argument register.
2017 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2019 (elmo-spam-message-spam-p): Ditto.
2020 (elmo-spam-register-spam-buffer): Added optional argument
2022 (elmo-spam-register-good-buffer): Ditto.
2023 (elmo-spam-register-spam-messages): Ditto.
2024 (elmo-spam-register-good-messages): Ditto.
2026 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2028 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2029 register into good corpus.
2030 (elmo-spam-register-good-buffer): Fixed to register into bad
2033 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2035 * elmo-version.el (elmo-version): Up to 2.11.20.
2037 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2040 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2041 flag without depending on \Recent flag.
2043 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2045 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2046 (elmo-spam-modified-p): Defined.
2047 (elmo-spam-save-status): Set `modified' slot to nil.
2048 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2049 (elmo-spam-register-good-buffer): Ditto.
2051 * elmo-spam.el (elmo-spam-modified-p): New API.
2053 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2055 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2056 duplicate definition.
2058 * elmo-util.el (elmo-unfold-field-body): New function.
2059 (elmo-msgdb-get-message-id-from-buffer): Use it.
2061 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2062 Fixed the last change; Use elmo-unfold-field-body.
2064 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2066 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2069 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2071 * elmo-spam.el (elmo-spam-save-status): New API.
2073 * elsp-spamfilter.el: New file.
2075 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2077 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2079 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2081 * elmo-split.el (elmo-split-spam-p): New function.
2083 * elmo-spam.el: New file.
2085 * elsp-bogofilter.el: Ditto.
2087 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2089 * elmo.el (elmo-folder-next-message-number): New API.
2090 (elmo-folder-next-message-number): Define.
2091 (elmo-message-field): Don't check folder length.
2093 * elmo-net.el (elmo-folder-next-message-number): Define.
2094 (elmo-folder-next-message-number-unplugged): Define.
2096 * elmo-map.el (elmo-folder-next-message-number): Define.
2097 (elmo-folder-delete-messages): Clear hash value.
2099 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2101 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2102 (elmo-folder-delete-messages-dop-delayed): Always return t.
2104 * elmo-version.el (elmo-version): Up to 2.11.19.
2106 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2108 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2111 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2112 identical cons cell into the mark-alist and the hash table.
2114 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2116 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2117 elmo-folder-list-messages with argument `visible-only' as t.
2119 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2120 (elmo-folder-msgdb-create): Check the target folder.
2122 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2124 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2125 `permanentflag' instead of `flags'.
2126 (elmo-folder-open): Ditto.
2127 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2128 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2129 (elmo-folder-use-flag-p): Always return t.
2130 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2131 `permanentflags' does not exist.
2132 (elmo-folder-open): Ditto.
2134 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2136 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2138 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2140 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2141 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2143 (elmo-folder-open): Ditto.
2144 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2145 slot of the session includes the flag.
2146 (elmo-imap4-session-flag-available-p): New function.
2147 (elmo-imap4-folder-list-flagged): Ditto.
2148 (elmo-folder-list-unreads-plugged): Use it.
2149 (elmo-folder-list-importants-plugged): Ditto.
2150 (elmo-folder-list-answereds-plugged): Ditto.
2151 (elmo-imap4-search-internal-primitive): Ditto.
2152 (elmo-imap4-folder-list-any-plugged,
2153 elmo-imap4-folder-list-digest-plugged): Abolish.
2155 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2158 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2160 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2162 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2164 * elmo-util.el (elmo-get-hash-val): Simplify.
2165 (elmo-set-hash-val): Rewrite.
2167 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2169 * elmo.el (elmo-folder-list-messages): Append killed messages into
2170 result if `visible-only' is nil and `in-msgdb' is non-nil.
2172 * elmo-util.el (elmo-uniq-list): Added optional argument
2175 * modb.el (elmo-msgdb-flag-count): New API.
2177 * modb-standard.el (modb-standard): Added slot flag-count.
2178 (modb-standard-countup-flags): New function.
2179 (modb-standard-load-flag): Call it.
2180 (elmo-msgdb-append): Ditto.
2181 (elmo-msgdb-clear): Clear slot flag-count.
2182 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2183 (elmo-msgdb-unset-flag): Treat `all' flag and call
2184 modb-standard-countup-flags.
2185 (elmo-msgdb-flag-count): Define.
2186 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2187 (elmo-msgdb-delete-messages): Ditto.
2189 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2190 (elmo-msgdb-flag-count): Define.
2192 * elmo.el (elmo-folder-list-messages): Undo last change.
2193 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2194 (elmo-folder-kill-messages): Unset all flags to numbers.
2196 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2197 elmo-folder-kill-messages.
2199 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2200 (elmo-nntp-folder-delete-messages): Abolish.
2202 * elmo-version.el (elmo-version): Up to 2.11.18.
2204 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2206 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2207 (elmo-folder-kill-messages-range): New function.
2208 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2209 instead of elmo-folder-kill-messages-before.
2211 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2213 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2214 elmo-imap4-current-msgdb to decide entity handler.
2216 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2218 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2220 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2222 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2223 (elmo-msgdb-overview-entity-set-number,
2224 elmo-msgdb-overview-entity-get-references,
2225 elmo-msgdb-overview-entity-set-references,
2226 elmo-msgdb-overview-entity-get-from-no-decode,
2227 elmo-msgdb-overview-entity-get-from,
2228 elmo-msgdb-overview-entity-set-from,
2229 elmo-msgdb-overview-entity-get-subject,
2230 elmo-msgdb-overview-entity-get-subject-no-decode,
2231 elmo-msgdb-overview-entity-set-subject,
2232 elmo-msgdb-overview-entity-get-date,
2233 elmo-msgdb-overview-entity-set-date,
2234 elmo-msgdb-overview-entity-get-to,
2235 elmo-msgdb-overview-entity-get-cc,
2236 elmo-msgdb-overview-entity-get-size,
2237 elmo-msgdb-overview-entity-set-size,
2238 elmo-msgdb-overview-entity-get-extra,
2239 elmo-msgdb-overview-entity-set-extra,
2240 elmo-msgdb-overview-entity-get-extra-field,
2241 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2242 (elmo-msgdb-make-index): Use
2243 `elmo-msgdb-overview-entity-get-number-internal'.
2244 (elmo-msgdb-clear-index): Ditto.
2245 (elmo-msgdb-append-entity): Ditto;
2246 Use `elmo-msgdb-overview-entity-get-id-internal'.
2248 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2249 elmo-msgdb-overview-entity-set-number,
2250 elmo-msgdb-overview-entity-get-references,
2251 elmo-msgdb-overview-entity-set-references,
2252 elmo-msgdb-overview-entity-get-from-no-decode,
2253 elmo-msgdb-overview-entity-get-from,
2254 elmo-msgdb-overview-entity-set-from,
2255 elmo-msgdb-overview-entity-get-subject,
2256 elmo-msgdb-overview-entity-get-subject-no-decode,
2257 elmo-msgdb-overview-entity-set-subject,
2258 elmo-msgdb-overview-entity-get-date,
2259 elmo-msgdb-overview-entity-set-date,
2260 elmo-msgdb-overview-entity-get-to,
2261 elmo-msgdb-overview-entity-get-cc,
2262 elmo-msgdb-overview-entity-get-size,
2263 elmo-msgdb-overview-entity-set-size,
2264 elmo-msgdb-overview-entity-get-extra,
2265 elmo-msgdb-overview-entity-set-extra,
2266 elmo-msgdb-overview-entity-get-extra-field,
2267 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2268 and rewrote for backward compatibility.
2270 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2272 * elmo.el (elmo-message-entity-number,
2273 elmo-message-entity-set-number,
2274 elmo-message-entity-field,
2275 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2277 * elmo-msgdb.el (elmo-message-entity-number,
2278 elmo-message-entity-set-number,
2279 elmo-message-entity-field,
2280 elmo-message-entity-set-field): Moved from elmo.el.
2282 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2284 * elmo.el (toplevel): Changed definition orders.
2286 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2288 * modb.el (elmo-msgdb-search): New API .
2289 (elmo-msgdb-match-condition): Ditto.
2291 * modb-standard.el (elmo-msgdb-search): Define.
2293 * modb-legacy.el (elmo-msgdb-search): Ditto.
2295 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2296 from elmo-msgdb-match-condition-internal.
2298 * elmo.el (elmo-folder-search-fast): Abolish.
2299 (elmo-folder-search): Use elmo-msgdb-search and
2300 elmo-with-progress-display.
2302 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2305 * elmo.el (elmo-folder): Remove slot message-modified and
2307 (elmo-folder-set-message-modified): Abolish.
2308 (elmo-generic-folder-commit): Follow the change above.
2309 (elmo-folder-synchronize): Ditto.
2311 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2313 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2315 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2317 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2319 * modb-standard.el (modb-standard-make-message-entity,
2320 elmo-msgdb-make-message-entity,
2321 elmo-msgdb-create-message-entity-from-buffer,
2322 elmo-msgdb-message-entity-number,
2323 elmo-msgdb-message-entity-set-number,
2324 elmo-msgdb-message-entity-field,
2325 elmo-msgdb-message-entity-set-field,
2326 elmo-msgdb-copy-message-entity,
2327 elmo-msgdb-match-condition-internal): Remove.
2329 * modb-entity.el: New file (again).
2331 * modb.el (toplevel): Require modb-entity.
2332 (elmo-msgdb-message-entity-handler): New method.
2334 * modb-standard.el (modb-standard-entity-id): Use
2335 elmo-message-entity-handler.
2336 (modb-standard-load-entity): Ditto.
2337 (elmo-msgdb-append-entity): Ditto.
2338 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2340 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2341 elmo-msgdb-decoded-cache-hashtb,
2342 (modb-legacy-make-message-entity,
2343 elmo-msgdb-make-message-entity,
2344 elmo-msgdb-create-message-entity-from-buffer,
2345 elmo-msgdb-message-entity-number,
2346 elmo-msgdb-message-entity-set-number,
2347 elmo-msgdb-message-entity-field,
2348 elmo-msgdb-message-entity-set-field,
2349 elmo-msgdb-copy-message-entity,
2350 elmo-msgdb-match-condition-internal,
2351 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2353 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2354 (elmo-message-entity-set-number): Ditto.
2355 (elmo-message-entity-field): Ditto.
2356 (elmo-message-entity-set-field): Ditto.
2358 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2360 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2362 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2364 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2365 (elmo-nntp-msgdb-create-message): Ditto.
2367 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2368 (elmo-folder-msgdb-create): Add unread flag.
2370 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2372 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2374 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2376 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2378 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2379 elmo-msgdb-messge-entity-handler.
2380 * elmo-version.el (elmo-version): Up to 2.11.17.
2382 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2384 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2387 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2389 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2391 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2392 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2393 (elmo-msgdb-flag-table): Ditto.
2394 (elmo-msgdb-sort-by-date): Ditto.
2396 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2398 * modb-standard.el (toplevel): Require mime.
2399 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2400 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2401 elmo-msgdb-message-entity-number.
2402 (elmo-msgdb-append-entity): Ditto.
2403 (elmo-msgdb-create-message-entity-from-file): Remove.
2404 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2405 corresponds to the entity.
2406 (elmo-msgdb-message-entity-number): Do nothing currently.
2407 (elmo-msgdb-message-entity-field): Ditto.
2408 (elmo-msgdb-message-entity-set-field): Ditto.
2409 (elmo-msgdb-copy-message-entity): Ditto.
2410 (elmo-msgdb-match-condition-internal): Ditto.
2412 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2414 (elmo-msgdb-create-message-entity-from-file): Remove.
2416 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2418 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2420 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2422 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2424 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2425 (elmo-msgdb-message-entity-field): Ditto.
2426 (elmo-msgdb-message-entity-number): Ditto.
2428 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2430 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2431 Fixed how to set extra field into entity.
2432 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2435 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2436 Fixed how to set extra field into entity.
2437 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2440 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2442 * modb.el (elmo-message-entity-db): New function.
2443 (elmo-msgdb-make-message-entity): New API.
2444 (elmo-msgdb-message-entity-number): Ditto.
2445 (elmo-msgdb-message-entity-set-number): Ditto.
2446 (elmo-msgdb-message-entity-field): Ditto.
2447 (elmo-msgdb-message-entity-set-field): Ditto.
2448 (elmo-msgdb-copy-message-entity): Ditto.
2449 (elmo-msgdb-create-message-entity-from-file): Ditto.
2450 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2451 (elmo-msgdb-match-condition-internal): Ditto.
2453 * modb-standard.el (modb-legacy): Require modb-legacy.
2454 (modb-standard-make-message-entity): New inline function.
2455 (elmo-msgdb-make-message-entity): Define.
2456 (elmo-msgdb-create-message-entity-from-file): Ditto.
2457 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2458 (elmo-msgdb-message-entity-field): Ditto.
2459 (elmo-msgdb-message-entity-set-field): Ditto.
2460 (elmo-msgdb-copy-message-entity): Ditto.
2461 (elmo-msgdb-match-condition-internal): Ditto.
2463 * modb-legacy.el: Don't require modb-entity.
2464 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2465 (elmo-msgdb-match-condition-primitive): Ditto.
2466 (elmo-msgdb-get-decoded-cache): Ditto.
2467 (elmo-msgdb-overview-entity-get-id): Ditto.
2468 (elmo-msgdb-overview-entity-get-number): Ditto.
2469 (elmo-msgdb-overview-entity-set-number): Ditto.
2470 (elmo-msgdb-overview-entity-get-references): Ditto.
2471 (elmo-msgdb-overview-entity-set-references): Ditto.
2472 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2473 (elmo-msgdb-overview-entity-get-from): Ditto.
2474 (elmo-msgdb-overview-entity-set-from): Ditto.
2475 (elmo-msgdb-overview-entity-get-subject): Ditto.
2476 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2477 (elmo-msgdb-overview-entity-set-subject): Ditto.
2478 (elmo-msgdb-overview-entity-get-date): Ditto.
2479 (elmo-msgdb-overview-entity-set-date): Ditto.
2480 (elmo-msgdb-overview-entity-get-to): Ditto.
2481 (elmo-msgdb-overview-entity-get-cc): Ditto.
2482 (elmo-msgdb-overview-entity-get-size): Ditto.
2483 (elmo-msgdb-overview-entity-set-size): Ditto.
2484 (elmo-msgdb-overview-entity-get-extra): Ditto.
2485 (elmo-msgdb-overview-entity-set-extra): Ditto.
2486 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2487 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2488 (elmo-msgdb-number-load): Ditto.
2489 (elmo-msgdb-overview-load): Ditto.
2490 (elmo-msgdb-mark-load): Ditto.
2491 (elmo-msgdb-number-save): Ditto.
2492 (elmo-msgdb-mark-save): Ditto.
2493 (elmo-msgdb-overview-save): Ditto.
2494 (modb-legacy-make-message-entity): New inline function.
2495 (elmo-msgdb-insert-file-header): Ditto.
2496 (elmo-msgdb-make-message-entity): Define.
2497 (elmo-msgdb-create-message-entity-from-file): Ditto.
2498 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2499 (elmo-msgdb-message-entity-number): Ditto.
2500 (elmo-msgdb-message-entity-set-number): Ditto.
2501 (elmo-msgdb-message-entity-field): Ditto.
2502 (elmo-msgdb-message-entity-set-field): Ditto.
2503 (elmo-msgdb-copy-message-entity): Ditto.
2504 (elmo-msgdb-match-condition-internal): Ditto.
2506 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2507 (elmo-message-copy-entity): Rewrite.
2508 (elmo-message-entity-number): Ditto.
2509 (elmo-message-entity-set-number): Ditto.
2510 (elmo-message-entity-field): Use elmo-message-entity-db.
2511 (elmo-message-entity-set-field): Ditto.
2512 (elmo-message-field): Rewrite.
2514 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2516 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2518 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2519 elmo-message-entity-field.
2520 (elmo-shimbun-folder-shimbun-header): Ditto.
2521 (elmo-shimbun-entity-to-header): Ditto.
2522 (elmo-folder-msgdb-create): Ditto.
2523 (elmo-shimbun-msgdb-create-entity): Ditto;
2524 Use elmo-msgdb-create-message-entity-from-buffer.
2525 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2526 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2528 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2529 elmo-msgdb-create-message-entity-from-file and
2530 elmo-message-entity-field.
2532 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2533 elmo-message-entity-number.
2534 (elmo-pop3-msgdb-create-message): Use
2535 elmo-msgdb-create-message-entity-from-buffer,
2536 elmo-message-entity-set-field, elmo-message-entity-number and
2537 elmo-message-entity-set-number.
2539 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2540 the API change in elmo-msgdb-make-message-entity.
2541 (elmo-nntp-msgdb-create-message): Use
2542 elmo-msgdb-create-message-entity-from-buffer.
2544 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2545 elmo-message-entity-field and
2546 elmo-msgdb-create-message-entity-from-file.
2548 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2549 (elmo-msgdb-get-field): Abolish.
2550 (elmo-msgdb-get-number): Rewrite.
2551 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2552 (elmo-msgdb-flag-table): Ditto.
2553 (elmo-msgdb-get-last-message-id,
2554 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2555 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2556 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2557 (elmo-msgdb-create-overview-from-buffer,
2558 elmo-msgdb-overview-get-parent-entity): Abolish.
2560 * elmo-mime.el (elmo-mime-display-as-is): Use
2561 elmo-message-entity-field.
2563 * elmo-map.el (elmo-folder-pack-numbers): Use
2564 elmo-message-entity-set-number.
2566 * elmo-maildir.el (elmo-folder-msgdb-create):
2567 elmo-msgdb-create-message-entity-from-file instead of
2568 elmo-msgdb-create-overview-entity-from-file.
2570 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2572 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2573 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2575 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2576 elmo-messge-entity-field and elmo-message-entity-number.
2577 (elmo-imap4-fetch-callback-1): Call
2578 elmo-msgdb-create-message-entity-from-buffer instead of
2579 elmo-msgdb-create-overview-from-buffer.
2580 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2581 (elmo-find-fetch-strategy): Likewise.
2583 * elmo-flag.el (elmo-folder-msgdb-create): Call
2584 elmo-localdir-msgdb-create-entity with argument msgdb.
2586 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2587 and elmo-message-entity-set-number.
2589 * elmo-cache.el (elmo-folder-msgdb-create): Use
2590 elmo-message-entity-field.
2591 (elmo-folder-msgdb-create): Call
2592 elmo-msgdb-create-message-entity-from-file instead of
2593 elmo-msgdb-create-overview-entity-from-file.
2595 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2596 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2597 instead of elmo-msgdb-create-overview-from-buffer.
2598 (elmo-archive-msgdb-create-entity): Ditto.
2599 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2600 elmo-message-entity-field.
2601 (elmo-archive-parse-mmdf): Ditto.
2603 * modb-entity.el: Removed.
2605 * elmo-version.el (elmo-version): Up to 2.11.16.
2607 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2609 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2611 (elmo-folder-flag-as-answered): Ditto.
2613 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2615 * modb-standard.el: New file.
2617 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2618 elmo-msgdb-convert-type is `sync'.
2620 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2621 (elmo-msgdb-convert-type): New user option.
2623 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2624 (elmo-load-msgdb): Auto detect saved type.
2626 * elmo-version.el (elmo-version): Up to 2.11.15.
2628 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2630 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2632 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2633 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2634 with argument `delete-if-none' when dst-folder is 'null.
2636 * elmo-flag.el (elmo-folder-append-messages): Defined.
2637 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2639 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2641 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2643 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2645 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2646 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2647 (elmo-folder-commit): Ditto.
2649 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2651 * elmo-flag.el: New file.
2653 * elmo-mark.el: Removed.
2655 * modb-legacy.el (modb-legacy-new-mark,
2656 modb-legacy-unread-uncached-mark,
2657 modb-legacy-unread-cached-mark,
2658 modb-legacy-read-uncached-mark,
2659 modb-legacy-answered-cached-mark,
2660 modb-legacy-answered-uncached-mark,
2661 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2662 All other related portions are changed.
2664 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2665 (elmo-folder-list-messages-with-global-mark): Abolish.
2666 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2667 (elmo-folder-flag-as-important): Ditto.
2668 (elmo-folder-unflag-read): Ditto.
2669 (elmo-folder-flag-as-read): Ditto.
2670 (elmo-folder-unflag-answered): Ditto.
2671 (elmo-folder-flag-as-answered): Ditto.
2672 (elmo-message-encache): Return the cache path.
2673 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2674 (elmo-message-set-flag): Transitional implementation.
2675 (elmo-message-unset-flag): Ditto.
2676 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2677 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2678 (elmo-init): Call elmo-global-flag-initialize.
2679 (toplevel): Added autoload settings for elmo-flag.
2681 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2683 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2684 (elmo-file-cache-delete): Don't treat global-mark.
2686 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2688 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2690 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2691 `elmo-global-flags-set'.
2693 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2695 (elmo-folder-unflag-read): Ditto.
2696 (elmo-folder-unflag-important): Ditto.
2697 (elmo-folder-flag-as-important): Ditto.
2698 (elmo-folder-unflag-answered): Ditto.
2699 (elmo-folder-flag-as-answered): Ditto.
2701 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2702 `elmo-global-flags-set'.
2703 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2705 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2707 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2709 (elmo-folder-flag-as-important): Ditto.
2710 (elmo-folder-unflag-important): Ditto.
2711 (elmo-folder-flag-as-important): Ditto.
2712 (elmo-folder-unflag-read): Ditto.
2713 (elmo-folder-flag-as-read): Ditto.
2714 (elmo-folder-unflag-answered): Ditto.
2715 (elmo-folder-flag-as-answered): Ditto.
2717 * elmo-multi.el (elmo-folder-list-importants): Don't call
2718 elmo-folder-list-messages-with-global-mark.
2719 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2720 (elmo-folder-unflag-important): Ditto.
2721 (elmo-folder-flag-as-read): Ditto.
2722 (elmo-folder-unflag-read): Ditto.
2723 (elmo-folder-flag-as-answered): Ditto.
2724 (elmo-folder-unflag-answered): Ditto.
2726 * elmo-msgdb.el (elmo-msgdb-new-mark,
2727 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2728 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2729 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2730 (Moved to modb-legacy.el).
2731 (elmo-flag-table-get): Treat important flag too.
2733 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2735 (elmo-map-folder-flag-as-important): Ditto.
2736 (elmo-map-folder-unflag-read): Ditto.
2737 (elmo-map-folder-flag-as-read): Ditto.
2738 (elmo-map-folder-unflag-answered): Ditto.
2739 (elmo-map-folder-flag-as-answered): Ditto.
2740 (elmo-folder-unflag-important): Ditto.
2741 (elmo-folder-flag-as-important): Ditto.
2742 (elmo-folder-unflag-read): Ditto.
2743 (elmo-folder-flag-as-read): Ditto.
2744 (elmo-folder-unflag-answered): Ditto.
2745 (elmo-folder-flag-as-answered): Ditto.
2747 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2748 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2750 (elmo-map-folder-unflag-important): Ditto.
2751 (elmo-map-folder-flag-as-read): Ditto.
2752 (elmo-map-folder-unflag-read): Ditto.
2753 (elmo-map-folder-flag-as-answered): Ditto.
2754 (elmo-map-folder-unflag-answered): Ditto.
2756 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2757 `elmo-global-flags-set'.
2758 (elmo-global-flags-set): Added autoload setting.
2760 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2763 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2764 `elmo-msgdb-global-mark-set'.
2765 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2766 Call `elmo-global-flags-set'.
2767 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2769 (elmo-folder-flag-as-important-plugged): Ditto.
2770 (elmo-folder-unflag-read-plugged): Ditto.
2771 (elmo-folder-flag-as-read-plugged): Ditto.
2772 (elmo-folder-unflag-answered-plugged): Ditto.
2773 (elmo-folder-flag-as-answered-plugged): Ditto.
2774 (elmo-global-flags-set): Added autoload setting.
2776 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2778 (elmo-folder-unflag-read): Ditto.
2779 (elmo-folder-flag-as-important): Ditto.
2780 (elmo-folder-unflag-important): Ditto.
2781 (elmo-folder-flag-as-answered): Ditto.
2782 (elmo-folder-unflag-answered): Ditto.
2784 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2785 change of `mark'->`flag'.
2786 (elmo-dop-queue-method-name-alist): Ditto.
2787 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2788 (elmo-folder-unflag-read-dop): Ditto.
2789 (elmo-folder-flag-as-important-dop): Ditto.
2790 (elmo-folder-unflag-important-dop): Ditto.
2791 (elmo-folder-flag-as-answered-dop): Ditto.
2792 (elmo-folder-unflag-answered-dop): Ditto.
2794 * elmo-cache.el (elmo-folder-msgdb-create): Call
2795 `elmo-global-flags-set'.
2797 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2798 Call `elmo-global-flags-set'.
2799 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2800 elmo-archive-parse-mmdf with argument `folder'.
2801 (elmo-archive-parse-mmdf): Added argument `folder';
2802 Call `elmo-global-flags-set'.
2804 * elmo-version.el (elmo-version): Up to 2.11.14.
2806 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2808 * modb.el (elmo-msgdb-length): Define.
2810 * elmo.el (elmo-make-folder): Fixed.
2811 (elmo-generic-folder-append-messages): Follow the API change.
2813 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2816 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2818 * modb.el: New file.
2820 * modb-entity.el: Ditto.
2822 * modb-legacy.el: Ditto.
2824 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2825 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2826 of `elmo-msgdb-overview-get-entity'.
2827 (elmo-msgdb-get-field): Ditto.
2828 (elmo-msgdb-merge): Moved to `elmo.el'.
2829 (elmo-msgdb-length): Removed; redefine as modb method.
2830 (elmo-msgdb-change-mark): Abolish.
2831 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2832 (elmo-msgdb-match-condition): Don't use mark.
2833 (elmo-msgdb-overview-get-entity): Abolish.
2834 Split modb part into `modb*.el'.
2836 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2838 * elmo-shimbun.el (shimbun-mua-search-id): Use
2839 `elmo-msgdb-message-entity' instead of
2840 `elmo-msgdb-overview-get-entity'.
2841 (elmo-shimbun-folder-shimbun-header): Ditto.
2842 (elmo-shimbun-get-headers): Ditto.
2843 (elmo-shimbun-update-overview): Ditto.
2845 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2847 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2849 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2850 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2852 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2853 `elmo-msgdb-mark-to-flags'.
2855 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2856 `elmo-msgdb-set-path'.
2858 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2860 * elmo-version.el (elmo-version): Up to 2.11.13.
2862 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2864 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2867 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2869 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2872 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2874 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2875 instead of `elmo-msgdb-get-cached'.
2876 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2878 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2879 (elmo-msgdb-set-cached): Ditto.
2880 (elmo-msgdb-set-flag): Rewrite.
2881 (elmo-msgdb-unset-flag): Ditto.
2883 * elmo-msgdb.el: Rewrite with luna.
2885 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2886 (elmo-folder-msgdb): Follow the change above.
2887 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2888 (elmo-folder-unmark-important): Follow the API change.
2889 (elmo-folder-mark-as-important): Ditto.
2890 (elmo-folder-unmark-read): Ditto.
2891 (elmo-folder-mark-as-read): Ditto.
2892 (elmo-folder-unmark-answered): Ditto.
2893 (elmo-folder-mark-as-answered): Ditto.
2894 (elmo-folder-clear): Likewise.
2896 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2897 instead of `elmo-msgdb-load' (renamed).
2899 * elmo-version.el (elmo-version): Up to 2.11.12.
2901 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2903 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2905 (elmo-message-mark): Abolish.
2906 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2907 instead of `elmo-msgdb-change-mark'.
2909 * elmo-pipe.el (elmo-message-mark): Abolish.
2911 * elmo-multi.el (elmo-message-mark): Ditto.
2913 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2914 (elmo-msgdb-unread-uncached-mark): Ditto.
2915 (elmo-msgdb-unread-cached-mark): Ditto.
2916 (elmo-msgdb-read-uncached-mark): Ditto.
2917 (elmo-msgdb-answered-cached-mark): Ditto.
2918 (elmo-msgdb-answered-uncached-mark): Ditto.
2919 (elmo-msgdb-important-mark): Ditto.
2920 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2922 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2924 (elmo-flag-table-load): Changed flag to list of flag.
2925 (elmo-flag-table-set): If flags is nil, set read flag.
2926 (elmo-flag-table-get): Return derived flags from global mark,
2927 cache status and saved flags.
2928 (elmo-msgdb-flag-table): Follow the change above.
2929 (elmo-msgdb-out-of-date-messages): New function.
2931 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2933 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2935 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2937 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2938 (elmo-nntp-msgdb-create-message): Ditto.
2940 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2942 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2944 (elmo-folder-msgdb-create): Follow the API change.
2946 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2947 (elmo-folder-append-messages): Ditto.
2949 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2950 (elmo-folder-append-buffer): Ditto.
2952 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2954 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2956 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2957 (elmo-archive-parse-mmdf): Ditto.
2959 * elmo-version.el (elmo-version): Up to 2.11.11.
2961 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2963 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2966 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2968 * elmo-pipe.el (elmo-message-flags): Defined.
2970 * elmo-multi.el (elmo-message-flags): Ditto.
2972 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2974 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2975 `elmo-msgdb-delete-msgs'.
2977 * elmo.el (elmo-folder-count-flags): Don't use
2978 `elmo-msgdb-get-mark-alist'.
2979 (elmo-folder-detach-messages): Follow the API change.
2981 * elmo.el (elmo-folder-list-messages): Append killed messages into
2982 result if `visible-only' is nil.
2984 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2986 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2987 (elmo-folder-update-number): Likewise.
2989 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2990 (elmo-pop3-sort-msgdb-by-original-number): Use
2991 `elmo-msgdb-sort-entities'.
2993 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2994 (elmo-msgdb-sort-by-date): Use it.
2995 (elmo-msgdb-overview-sort-by-date): Abolish.
2997 * elmo-dop.el (elmo-folder-status-dop): Fixed.
2999 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3000 (elmo-msgdb-flags): New function.
3001 (elmo-msgdb-merge): Use elmo-msgdb-append.
3003 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3006 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3008 * elmo-dop.el (elmo-folder-status-dop): Use
3009 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3011 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3013 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3015 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3017 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3019 * elmo-util.el (elmo-with-progress-display): New macro.
3021 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3023 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3025 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3026 `elmo-folder-list-message-entities' instead of
3027 `elmo-msgdb-get-overview'.
3028 (elmo-map-folder-list-message-locations): Ditto.
3030 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3031 methods instead of treat directly).
3032 (elmo-msgdb-clear): Ditto.
3033 (elmo-msgdb-delete-msgs): Ditto.
3034 (elmo-msgdb-sort-by-date): Ditto.
3036 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3038 (elmo-nntp-folder-msgdb-create): Follow the API change.
3040 * elmo-version.el (elmo-version): Up to 2.11.10.
3042 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3044 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3045 (elmo-msgdb-flags-to-mark): Ditto.
3046 (elmo-msgdb-append-entity): Ditto.
3048 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3049 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3050 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3051 (elmo-archive-parse-mmdf): Ditto.
3053 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3055 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3057 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3059 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3061 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3063 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3065 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3067 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3069 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3070 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3073 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3074 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3075 instead of directly construction.
3076 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3077 instead of construct msgdb.
3079 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3080 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3081 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3082 instead of construct msgdb.
3084 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3086 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3087 when field is from or subject.
3089 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3091 * elmo-multi.el (elmo-message-entity-parent): Define.
3092 (elmo-folder-search): Rewrite.
3094 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3096 * elmo-multi.el (elmo-message-cached-p): Define.
3098 * elmo.el (elmo-message-cached-p): New method.
3099 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3100 (elmo-message-flags): New method.
3101 (elmo-message-flagged-p): New function.
3103 * elmo-version.el (elmo-version): Up to 2.11.9.
3105 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3107 * elmo-version.el (elmo-version): Up to 2.11.8.
3109 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3111 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3113 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3115 * elmo.el (elmo-folder-detach-messages): Undo last change.
3117 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3119 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3121 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3122 only when src folder type is pop3.
3124 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3126 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3127 elmo-msgdb-overview-entity-get-number instead of
3128 elmo-message-entity-number.
3130 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3132 * elmo-version.el (elmo-version): Up to 2.11.7.
3134 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3136 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3139 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3140 (elmo-msgdb-merge): New function.
3141 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3142 (elmo-msgdb-make-index): Rewrite.
3144 * elmo-version.el (elmo-version): Up to 2.11.6.
3146 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3147 use it as a the path for loading message entities.
3149 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3151 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3153 * elmo-filter.el (elmo-folder-set-message-modified): Set
3154 message-modified slot of itself if it does not require target msgdb.
3156 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3157 if folder length is zero.
3158 (elmo-mime-display-as-is): Ditto.
3160 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3162 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3164 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3166 * elmo.el (elmo-folder-set-message-modified): New method.
3167 (elmo-generic-folder-commit): Use it.
3168 (elmo-folder-synchronize): Ditto.
3170 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3171 (elmo-folder-commit): Remove duplicate definition.
3173 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3175 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3177 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3179 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3180 (elmo-strict-folder-diff): Ditto.
3181 (elmo-folder-set-info-max-by-numdb): Simplify.
3183 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3184 elmo-msgdb-list-messages.
3186 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3187 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3189 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3191 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3192 visible-only is non-nil.
3193 (elmo-folder-confirm-appends): Changed message.
3194 (elmo-folder-synchronize): Added argument disable-killed.
3196 * elmo-multi.el (elmo-folder-synchronize): Added argument
3199 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3201 * elmo-version.el (elmo-version): Up to 2.11.5.
3203 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3206 * elmo-util.el (elmo-list-filter): Simplify.
3208 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3209 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3210 (elmo-generic-folder-diff): Abolish argument.
3211 (elmo-msgdb-load): Don't use number-alist.
3213 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3215 * elmo-pipe.el (elmo-folder-diff): Ditto.
3217 * elmo-nmz.el (elmo-folder-diff): Ditto.
3219 * elmo-net.el (elmo-folder-diff): Ditto.
3221 * elmo-maildir.el (elmo-folder-diff): Ditto.
3223 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3225 * elmo-multi.el (elmo-folder-diff): Ditto
3226 (elmo-multi-folder-diff): Rewrite.
3228 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3230 * elmo-pipe.el (elmo-folder-msgdb): Define.
3232 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3234 * elmo.el (elmo-message-set-cached): Define as a method.
3236 * elmo-pipe.el (elmo-message-set-cached): Define.
3237 (elmo-find-fetch-strategy): Ditto.
3239 * elmo-multi.el (elmo-message-set-cached): Define.
3240 (elmo-find-fetch-strategy): Rewrite.
3242 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3244 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3246 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3248 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3249 instead of number-alist.
3251 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3252 mark nor message-id when msgdb of source folder is not loaded.
3254 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3256 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3258 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3260 * elmo.el (elmo-folder-length): Don't require msgdb.
3262 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3264 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3265 (elmo-message-field): Ditto.
3267 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3268 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3270 (elmo-map-folder-list-answereds): Define.
3271 (elmo-maildir-list-location): Treat 'R' info.
3272 (elmo-folder-msgdb-create): Treat flag-table.
3273 (elmo-folder-append-messages): Save flag-table.
3275 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3277 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3278 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3280 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3282 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3284 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3285 'read when mark is null.
3287 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3289 * elmo-version.el (elmo-version): Up to 2.11.4.
3291 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3293 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3294 (elmo-folder-mark-as-answered): Ditto.
3296 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3298 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3299 (elmo-pop3-get-session): Make msgdb directory after session.
3300 (elmo-folder-exists-p): Check exactly at the first time even when the
3301 elmo-pop3-exists-exactly is nil.
3303 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3304 (elmo-folder-list-messages): Define instead of
3305 elmo-folder-list-messages-internal.
3306 (elmo-folder-check): Check destination folder.
3307 (elmo-folder-synchronize): Drain the pipe.
3309 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3310 when msgdb is not loaded.
3312 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3314 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3315 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3318 * elmo.el (elmo-folder-kill-messages-before): New function.
3319 (elmo-folder-kill-messages): Ditto.
3320 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3322 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3323 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3324 killed not by synchronize (e.g. scoring).
3326 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3328 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3330 (elmo-folder-search): Follow the change above.
3332 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3333 into the candidates of search field.
3335 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3337 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3338 (elmo-msgdb-unset-flag): Ditto.
3340 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3342 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3344 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3345 (elmo-folder-commit): Define.
3346 (elmo-folder-synchronize): Ditto.
3347 (elmo-folder-list-flagged): Ditto.
3348 (elmo-folder-commit): Ditto.
3349 (elmo-folder-length): Ditto.
3350 (elmo-folder-count-flags): Ditto.
3351 (elmo-message-mark): Ditto.
3352 (elmo-message-field): Ditto.
3353 (elmo-message-entity): Ditto.
3354 (elmo-message-folder): Ditto.
3356 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3358 * elmo.el (elmo-message-field): Define as a method.
3360 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3361 (elmo-message-field): Define.
3363 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3364 (elmo-folder-list-importants): Ditto.
3365 (elmo-folder-list-answereds): Ditto.
3367 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3369 (elmo-folder-mark-as-read): Ditto.
3370 (elmo-folder-unmark-read): Ditto.
3371 (elmo-folder-mark-as-answered): Ditto.
3372 (elmo-folder-unmark-answered): Ditto.
3373 (elmo-folder-list-flagged): Define.
3374 (elmo-folder-commit): Ditto.
3375 (elmo-folder-length): Ditto.
3376 (elmo-folder-count-flags): Ditto.
3378 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3380 * elmo.el (elmo-folder-detach-messages): New method.
3381 (elmo-folder-move-messages): Use it.
3382 (elmo-folder-synchronize): Ditto.
3384 * elmo-multi.el (elmo-folder-detach-messages): Define.
3386 * elmo.el (elmo-message-copy-entity): New function.
3387 (elmo-message-entity-set-number): Ditto.
3388 (elmo-message-mark): Define as method.
3390 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3391 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3392 (elmo-message-entity): Fixed last change.
3393 (elmo-message-mark): Define.
3394 (elmo-folder-msgdb-create): Abolish.
3395 (elmo-multi-folder-append-msgdb): Ditto.
3396 (elmo-multi-folder-diff): Fixed.
3397 (elmo-multi-split-number-alist): Removed.
3398 (elmo-multi-split-mark-alist): Removed.
3399 (elmo-folder-list-messages): Define.
3400 (elmo-folder-list-messages-internal): Removed.
3402 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3403 local file messages.
3404 (elmo-folder-msgdb-create): Fixed read mark.
3406 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3408 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3411 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3413 * elmo.el (elmo-folder-list-message-entities): Define as inline
3415 (elmo-folder-messages): Abolish.
3417 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3419 (elmo-folder-synchronize): Define.
3420 (elmo-message-entity): Define.
3422 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3424 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3425 elmo-imap4-session-select-mailbox.
3427 * elmo.el (elmo-folder-move-messages): Don't display any message.
3429 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3431 (elmo-imap4-session-check): Don't wait CHECK response.
3432 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3434 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3436 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3438 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3440 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3442 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3445 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3446 (elmo-folder-list-message-entities): Added argument in-msgdb and
3448 (elmo-folder-synchronize): Define as a method.
3450 * elmo-nntp.el (elmo-folder-initialize): Don't use
3451 elmo-nntp-default-user if zero-length username is specified
3454 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3456 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3457 server name in case with username.
3458 (XXX: this is ad-hoc fix against username includes "@", it
3459 should be solved fundamentally)
3461 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3463 * elmo-nntp.el (elmo-nntp-debug): New function.
3464 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3465 (elmo-network-authenticate-session): Hide auth-info from the log.
3467 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3468 user name if it is equal to elmo-nntp-default-user.
3470 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3472 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3473 instead of shimbun-server-internal;
3474 Use shimbun-current-group instead of shimbun-current-group-internal.
3475 (elmo-folder-plugged-p): Use shimbun-server instead of
3476 shimbun-server-internal.
3477 (elmo-folder-set-plugged): Ditto.
3478 (elmo-net-port-info): Ditto.
3479 (elmo-folder-check): Ditto.
3480 (elmo-folder-expand-msgdb-path): Ditto.
3481 (elmo-folder-list-subfolders): Ditto.
3483 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3485 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3486 Convert field-name to lower case.
3487 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3489 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3491 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3492 `message' and `error' take format string.
3494 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3496 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3498 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3500 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3501 recursive call (can't byte compile on emacs 20.7).
3503 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3505 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3506 (elmo-folder-list-message-entities): New API.
3507 (elmo-message-entity): Ditto.
3508 (elmo-message-entity-parent): Ditto.
3509 (elmo-folder-do-each-message-entity): Ditto.
3510 (elmo-message-entity-number): Ditto.
3511 (elmo-message-entity-field): Ditto.
3512 (elmo-message-entity-set-field): Ditto.
3513 (elmo-folder-count-flags): Ditto.
3514 (elmo-folder-length): Ditto.
3516 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3519 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3520 (elmo-msgdb-count-marks): Abolish.
3521 (elmo-msgdb-make-entity): Ditto.
3522 (elmo-msgdb-do-each-entity): Ditto.
3523 (elmo-msgdb-message-entity): New inline function.
3524 (elmo-msgdb-message-entity-field): Ditto.
3525 (elmo-msgdb-message-entity-set-field): Ditto.
3526 (elmo-msgdb-make-message-entity): New function.
3528 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3530 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3531 to flag. (All other related portions are changed.)
3532 (elmo-folder-msgdb-create): Likewise.
3533 (elmo-generic-folder-append-messages): Use flag-table instead of
3535 (elmo-folder-move-messages): Removed redundant process.
3536 (elmo-folder-synchronize): Likewise.
3538 * elmo-msgdb.el (elmo-flag-table-get): New function.
3539 (elmo-flag-table-save): Fixed.
3540 (elmo-msgdb-length): New inline function.
3541 (elmo-msgdb-flag-table): New function.
3542 (elmo-msgdb-mark): Add optional argument new.
3543 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3544 (elmo-msgdb-seen-list): Ditto.
3545 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3548 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3550 * elmo.el (elmo-message-set-mark): Abolish.
3551 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3552 (All related portions are changed.)
3554 * elmo-msgdb.el (toplevel): Added comment.
3555 (elmo-load-msgdb): Added 4th element `path'.
3556 (elmo-msgdb-append): Follow the change above.
3557 (elmo-msgdb-clear): Ditto.
3558 (elmo-msgdb-delete-msgs): Ditto.
3559 (elmo-msgdb-get-path): New inline function.
3560 (elmo-msgdb-set-path): Ditto.
3561 (elmo-flag-table-filename): New variable.
3562 (elmo-flag-table-load): New function.
3563 (elmo-flag-table-set): Ditto.
3564 (elmo-flag-table-save): Ditto.
3565 (elmo-msgdb-get-field-value): Abolish.
3566 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3568 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3570 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3571 the folder has been deleted successfully.
3572 * elmo-imap4.el (elmo-folder-delete): Ditto.
3573 * elmo-archive.el (elmo-folder-delete): Ditto.
3574 * elmo-localdir.el (elmo-folder-delete): Ditto.
3575 * elmo-maildir.el (elmo-folder-delete): Ditto.
3577 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3579 * elmo-util.el (elmo-string-member-ignore-case): New function.
3580 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3581 (elmo-imap4-fetch-callback-1-subr): Likewise.
3583 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3585 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3586 the case of the name attribute "\Noselect".
3588 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3590 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3592 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3593 flist, is not always a member of onum-alist.
3595 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3597 * elmo-version.el (elmo-version): Up to 2.11.3.
3599 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3601 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3602 copied from localdir's one.
3604 * elmo-pipe.el (elmo-folder-rename): New method, rename
3605 destination folder with leaving source folder as it is.
3607 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3609 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3612 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3614 * elmo-version.el (elmo-version): Up to 2.11.2.
3616 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3618 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3619 shimbun-open in case of "@".
3620 (elmo-folder-open-internal): Cope with shimbun = nil case.
3621 (elmo-folder-plugged-p): Ditto.
3622 (elmo-folder-list-subfolders): Make list for "@/" group.
3624 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3626 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3627 mailbox (e.g. for %~/something).
3629 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3631 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3632 Replace nested conditional with guard clauses.
3634 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3636 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3639 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3642 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3644 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3645 Replace nested conditional with guard clauses.
3647 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3649 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3650 (elmo-passwd-alist-save): Ditto.
3651 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3653 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3655 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3656 dir-name only if it is absolute path.
3657 (TODO: distinguish +/something and +something)
3659 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3661 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3662 path for "+~/something".
3664 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3666 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3667 as non-directory, cause error before rename-file.
3668 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3669 apropriately, mimic localdir's one.
3670 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3672 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3674 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3676 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3678 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3680 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3682 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3683 is included in the global-mark or not.
3685 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3687 * utf7.el (toplevel): Avoid error when the function
3688 find-coding-system does not exist.
3690 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3692 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3693 cache even if the folder is plugged.
3694 (elmo-nntp-search-primitive): Do nothing when body search is
3695 invoked (although it is not used by the change above).
3696 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3698 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3700 * elmo-version.el (elmo-version): Up to 2.11.1.
3702 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3704 * elmo-archive.el: Specify charset.
3706 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3708 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3709 process buffer lives or not.
3711 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3712 while flushing queues (It causes infinite loop).
3714 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3716 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3718 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3720 * utf7.el (toplevel): Check the ucs features dynamically.
3721 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3723 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3724 folder is creatabe or not if it already exists.
3726 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3728 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3730 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3732 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3733 (elmo-imap4-read-response): Take care of garbage response.
3735 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3737 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3738 just return nil instead of error.
3740 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3742 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3743 search-key is "body".
3745 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3747 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3748 of elmo-string-matched-assoc to use match-data.
3749 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3751 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3753 * elmo-split.el (elmo-split->): New function.
3754 (elmo-split-<): Ditto.
3756 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3758 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3759 workaround for invalid message-id.
3761 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3763 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3764 return normal pop3 session or pop3 biff session.
3766 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3768 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3769 info part to the cur files when the new files already have it.
3770 (Adviced by Jared Rhine <jared@wordzoo.com>)
3772 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3774 * elmo-split.el (elmo-split-default-action): New variable.
3775 (elmo-split-subr): Use it if all other conditions are passed.
3776 Extend `fname' and rename it as `action'. (implemented
3777 Teranishi-san's idea in [wl:10800])
3779 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3781 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3782 * elmo-util.el: Ditto.
3784 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3786 * elmo.el (elmo-message-accessible-p): Renamed from
3787 elmo-message-cached-p and rewritten.
3789 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3791 * elmo.el (elmo-folder-list-flagged): New generic function.
3792 (elmo-folder-list-importants): New implementation.
3793 (elmo-folder-list-answereds): Ditto.
3794 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3796 (elmo-message-cached-p): New function.
3797 (elmo-message-set-flag): Ditto (no content).
3798 (elmo-message-unset-flag): Ditto.
3799 (elmo-folder-list-messages-mark-match): Abolish.
3801 * elmo-util.el (elmo-regexp-opt): New function.
3803 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3804 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3806 (elmo-msgdb-list-flagged): New function.
3808 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3809 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3812 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3814 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3816 * elmo-version.el (elmo-version): Up to 2.11.0.
3818 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3820 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3821 `elmo-file-cache-exists-p'; use proper mark that depends on
3823 (elmo-msgdb-unset-flag): Ditto.
3824 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3826 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3827 with 4th argument `use-cache'.
3829 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3831 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3832 (elmo-folder-mark-as-important): Ditto.
3833 (elmo-folder-unmark-read): Ditto.
3834 (elmo-folder-mark-as-read): Ditto.
3835 (elmo-folder-unmark-answered): Ditto.
3836 (elmo-folder-mark-as-answered): Ditto.
3838 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3840 (elmo-msgdb-mark): Likewise.
3841 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3842 (elmo-msgdb-unset-flag): Likewise.
3844 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3846 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3848 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3851 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3853 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3854 set spool-length to 0.
3856 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3858 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3859 (elmo-dop-queue-flush): Fixed last change.
3861 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3863 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3864 if require-msgdb slot is nil.
3865 (elmo-folder-list-importants): Likewise.
3867 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3869 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3872 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3873 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3876 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3878 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3880 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3882 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3884 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3886 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3888 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3889 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3891 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3893 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3894 the problem reported by Sean Rima [wl-en:180].
3896 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3898 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3900 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3902 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3904 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3906 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3908 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3910 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3912 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3914 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3917 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3919 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3920 (elmo-folder-mark-as-read): Follow the API change.
3921 (elmo-message-set-cached): New function.
3923 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3925 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3927 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3928 (elmo-folder-mark-as-important): Ditto.
3929 (elmo-folder-unmark-read): Ditto.
3930 (elmo-folder-mark-as-read): Ditto.
3931 (elmo-folder-unmark-answered): Ditto.
3932 (elmo-folder-mark-as-answered): Ditto.
3934 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3935 (elmo-folder-unmark-important): Ditto.
3936 (elmo-folder-mark-as-read): Ditto.
3937 (elmo-folder-unmark-read): Ditto.
3938 (elmo-folder-mark-as-answered): Ditto.
3939 (elmo-folder-unmark-answered): Ditto.
3941 * elmo-mark.el (toplevel): Removed some mark method definitions.
3943 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3944 (elmo-map-folder-mark-as-answered): Ditto.
3945 (elmo-folder-unmark-important): Add :before qualifier.
3946 (elmo-folder-mark-as-important): Ditto.
3947 (elmo-folder-unmark-read): Ditto.
3948 (elmo-folder-mark-as-read): Ditto.
3949 (elmo-folder-unmark-answered): Define.
3950 (elmo-folder-mark-as-answered): Ditto.
3952 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3953 (elmo-map-folder-unmark-answered): Ditto.
3955 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3957 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3958 (elmo-folder-mark-as-important): Ditto.
3959 (elmo-folder-unmark-read): Ditto.
3960 (elmo-folder-mark-as-read): Ditto.
3961 (elmo-folder-unmark-answered): Ditto.
3962 (elmo-folder-mark-as-answered): Ditto.
3964 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3965 `mark'; evaluate mark condition.
3966 (elmo-msgdb-match-condition-internal): New function.
3967 (elmo-msgdb-match-condition): Call it; changed argument.
3969 * elmo.el (elmo-folder-search): Follow the API change on
3970 `elmo-msgdb-match-condition'.
3972 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3974 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3975 original mark is non-nil.
3977 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3979 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3980 (elmo-map-folder-list-answereds): New method.
3981 (elmo-folder-list-unreads): Add :around qualifier.
3982 (elmo-folder-list-importants): Ditto.
3983 (elmo-folder-list-answereds): Ditto.
3985 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3987 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3989 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3990 method if msgdb is not required.
3991 (elmo-filter-folder-list-importants): Don't treat global-mark.
3993 * elmo.el (elmo-folder-list-importants): Ditto.
3995 * elmo-net.el (elmo-folder-list-importants): Ditto.
3997 * elmo-map.el (elmo-folder-list-importants): Ditto.
3999 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4001 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4002 (elmo-imap4-folder-list-any-plugged): New function.
4003 (elmo-imap4-search-internal-primitive): Use it.
4005 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4006 only when require-msgdb slot is non-nil.
4007 (elmo-folder-close): Clear target folder's msgdb.
4009 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4011 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4012 (elmo-pop3-msgdb-create-by-header): Ditto.
4013 (elmo-pop3-msgdb-create-message): Ditto.
4015 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4017 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4019 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4021 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4022 (elmo-folder-msgdb-create): Ditto.
4023 (elmo-nntp-folder-msgdb-create): Ditto.
4024 (elmo-nntp-msgdb-create-by-header): Ditto.
4025 (elmo-nntp-msgdb-create-message): Ditto.
4026 (elmo-folder-list-unreads): Define.
4028 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4029 (elmo-folder-append-messages): Ditto.
4030 (elmo-folder-list-unreads): Define.
4031 (elmo-folder-list-importants): Ditto.
4032 (elmo-folder-list-answereds): Ditto.
4034 * elmo-net.el (elmo-folder-list-unreads): Define.
4035 (elmo-folder-list-importants): Ditto.
4036 (elmo-folder-list-answereds): Ditto.
4037 (elmo-folder-list-answereds-plugged): Ditto.
4038 (elmo-folder-msgdb-create): Follow the API change.
4039 (elmo-folder-msgdb-create-unplugged): Ditto.
4040 (elmo-folder-unmark-answered): Define.
4041 (elmo-folder-mark-as-answered-unplugged): Ditto.
4042 (elmo-folder-unmark-answered-unplugged): Ditto.
4044 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4045 (elmo-msgdb-unread-uncached-mark): Ditto.
4046 (elmo-msgdb-unread-cached-mark): Ditto.
4047 (elmo-msgdb-read-uncached-mark): Ditto.
4048 (elmo-msgdb-answered-cached-mark): Ditto.
4049 (elmo-msgdb-answered-uncached-mark): Ditto.
4050 (elmo-msgdb-important-mark): Ditto.
4051 (elmo-msgdb-set-mark): Rewrite.
4052 (elmo-msgdb-count-marks): Rewrite.
4053 (elmo-msgdb-mark-alist-set): Abolish.
4054 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4055 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4057 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4058 (elmo-folder-close): Define.
4059 (elmo-folder-msgdb-create): Follow the API change.
4060 (elmo-folder-list-unreads): Rewrite.
4061 (elmo-folder-mark-as-important): Ditto.
4062 (elmo-folder-unmark-important): Ditto.
4063 (elmo-folder-mark-as-read): Ditto.
4064 (elmo-folder-unmark-read): Ditto.
4065 (elmo-folder-mark-as-answered): Define.
4066 (elmo-folder-unmark-answered): Ditto.
4068 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4069 (elmo-folder-append-messages): Ditto.
4071 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4073 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4074 (elmo-folder-list-importants): Ditto.
4076 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4077 (elmo-folder-append-messages): Ditto.
4079 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4081 (elmo-folder-msgdb-create-plugged): Ditto.
4082 (elmo-folder-append-messages): Ditto.
4083 (elmo-folder-list-answereds-plugged): Define.
4084 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4085 (elmo-folder-unmark-answered-plugged): Define.
4086 (elmo-folder-mark-as-answered-plugged): Ditto.
4087 (elmo-folder-search-requires-msgdb-p): Ditto.
4089 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4090 (elmo-folder-initialize): Set it.
4091 (elmo-folder-msgdb): Define.
4092 (elmo-folder-check): Call elmo-folder-synchronize.
4093 (elmo-folder-close): Define.
4094 (elmo-folder-commit): Ditto.
4095 (elmo-folder-msgdb-create): Rewrite.
4096 (elmo-folder-list-unreads): Ditto.
4097 (elmo-folder-list-importants): Ditto.
4098 (elmo-folder-mark-as-read): Ditto.
4099 (elmo-folder-unmark-read): Ditto.
4100 (elmo-folder-mark-as-important): Ditto.
4101 (elmo-folder-unmark-important): Ditto.
4102 (elmo-folder-mark-as-answered): Define.
4103 (elmo-folder-unmark-answered): Ditto.
4105 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4106 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4107 (elmo-dop-queue-method-name-alist): Likewise.
4108 (elmo-folder-mark-as-answered-dop): New inline function.
4109 (elmo-folder-unmark-answered-dop): Ditto.
4110 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4112 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4113 (elmo-folder-msgdb-create): Ditto.
4114 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4115 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4116 (elmo-archive-parse-mmdf): Ditto.
4118 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4119 (elmo-folder-list-unreads-internal): Ditto.
4121 * elmo.el (elmo-folder-msgdb): Define as generic function.
4122 (elmo-folder-list-messages): Added argument `in-msgdb'.
4123 (elmo-folder-list-unreads): Define as generic function.
4124 (elmo-folder-list-importants): Ditto.
4125 (elmo-folder-list-answereds): Ditto.
4126 (elmo-folder-list-messages-with-global-mark): New function.
4127 (elmo-folder-msgdb-create): Removed mark arguments.
4128 (elmo-folder-unmark-answered): New generic function.
4129 (elmo-folder-mark-as-answered): Ditto.
4130 (elmo-folder-append-messages): Removed argunment `unread-marks'
4131 (elmo-folder-list-unreads-internal): Abolish.
4132 (elmo-folder-list-importants-internal): Ditto.
4133 (elmo-folder-search-requires-msgdb-p): New generic function.
4134 (elmo-folder-search-requires-msgdb-p-internal): New function.
4135 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4137 (elmo-folder-search-fast): Added key 'mark'.
4138 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4139 instead of unread-marks argument.
4140 (elmo-folder-move-messages): Removed argunment `unread-marks'
4141 (elmo-folder-unmark-important): Define.
4142 (elmo-folder-mark-as-important): Ditto.
4143 (elmo-folder-unmark-read): Ditto.
4144 (elmo-folder-mark-as-read): Ditto.
4145 (elmo-folder-unmark-answered): Ditto.
4146 (elmo-folder-mark-as-answered): Ditto.
4147 (elmo-folder-replace-marks): Abolish.
4148 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4150 (elmo-folder-synchronize): Removed mark arguments;
4151 return crosspost only number.
4153 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4155 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4156 Remove redundunt connectivity check.
4158 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4160 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4161 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4163 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4165 * pldap.el (ldap-decode-string): Return string as-is if
4166 `ldap-coding-system' is nil.
4167 (ldap-encode-string): Ditto.
4168 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4169 (ldap-default-host): Fixed docstring.
4171 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4173 * elmo-util.el (elmo-warning): Define as a macro which uses
4174 `display-warning' if it is defined as a function.
4176 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4177 (elmo-split-equal): Use it.
4178 (elmo-split-match): Ditto.
4179 (elmo-split-message-entity): New buffer-local variable.
4180 (elmo-split-subr): Set it.
4182 * elmo-version.el (elmo-version): Up to 2.9.15.
4184 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4186 * elmo-imap4.el (elmo-network-initialize-session):
4187 Check capability after starttls.
4189 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4191 * elmo-util.el (elmo-list-delete): Added optional argument
4194 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4196 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4198 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4200 * elmo-imap4.el (elmo-folder-initialize): Don't use
4201 elmo-imap4-default-mailbox.
4203 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4205 * elmo-split.el (toplevel): Use `product-provide'.
4206 (elmo-split): Checkdoc.
4208 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4210 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4211 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4212 the function `elmo-imap4-debug-1'.
4214 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4216 * elmo-split.el (elmo-split): Moved to run hooks and to show
4217 message from elmo-split-subr.
4218 (elmo-split-subr): Follow the change above.
4220 * elmo-split.el (elmo-split-subr): New function (renamed from
4222 (elmo-split): Changed to call elmo-split-subr by element of
4224 (elmo-split-folder): Changed customization type to choice.
4226 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4228 * elmo-split.el (elmo-split-and): Fixed condition.
4230 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4232 * elmo-split.el: New file.
4233 (elmo-split): Fixed logic.
4234 Display "Test:" instead of "Folder:" when reharsal.
4236 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4239 * elmo-version.el (elmo-version): Up to 2.9.14.
4241 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4244 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4246 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4247 message with no message-id field.
4249 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4251 * elmo-version.el (elmo-version): Up to 2.9.13.
4253 * elmo-dop.el (elmo-folder-status-dop): Fix.
4255 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4257 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4259 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4260 changing default value of default-mime-charset.
4261 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4263 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4265 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4266 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4267 instead of elmo-dop-queue-method-name-alist to check merging queue.
4268 (elmo-folder-delete-messages-dop): Delete from queue if negative
4270 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4271 file is already removed.
4273 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4275 * elmo-vars.el: Bind colon keywords for old Emacsen.
4277 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4279 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4280 against non-exsisting charset.
4282 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4284 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4285 Use eword-decode-and-unfold-unstructured-field-body.
4287 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4288 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4289 exists to decode raw subject string.
4290 (toplevel): Require 'mime.
4292 * elmo-version.el (elmo-version): Up to 2.9.12.
4294 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4296 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4297 (elmo-msgdb-set-mark): Ditto.
4299 * elmo-version.el (elmo-version): Up to 2.9.11.
4301 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4303 * elmo-util.el (elmo-delete-match-files): New function.
4305 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4306 instead of elmo-delete-directory.
4308 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4309 elmo-hash-minimun-size as 63.
4311 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4312 elmo-diff-unread is nil.
4314 * elmo-imap4.el (elmo-folder-open): Fix.
4316 * elmo.el (elmo-message-mark): Rewrite.
4317 (elmo-message-field): Ditto.
4318 (elmo-message-set-mark): Ditto.
4319 (elmo-folder-replace-marks): New function.
4320 (elmo-generic-folder-append-msgdb): Removed third argument for
4322 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4323 (elmo-msgdb-load): New implementation.
4325 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4327 * elmo-util.el (elmo-list-insert): New implementation.
4329 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4330 argument for elmo-msgdb-append.
4333 * elmo-msgdb.el (elmo-load-msgdb): New function.
4334 (elmo-make-msgdb): Ditto.
4335 (elmo-msgdb-get-index): New inline function.
4336 (elmo-msgdb-set-index): Ditto.
4337 (elmo-msgdb-get-entity-hashtb): Ditto.
4338 (elmo-msgdb-get-mark-hashtb): Ditto.
4339 (elmo-msgdb-get-mark): Ditto.
4340 (elmo-msgdb-set-mark): Ditto.
4341 (elmo-msgdb-count-marks): Ditto.
4342 (elmo-msgdb-get-number): Ditto.
4343 (elmo-msgdb-get-field): Ditto.
4344 (elmo-msgdb-seen-list): Ditto.
4345 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4346 (elmo-msgdb-delete-msgs): Follow the changes above.
4347 (elmo-msgdb-overview-get-entity): Ditto.
4348 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4349 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4351 (elmo-msgdb-make-index): Likewise.
4352 (elmo-msgdb-append): Removed third argument.
4353 (elmo-msgdb-clear): Clear index as nil.
4354 (elmo-folder-set-info-hashtb): Removed.
4355 (elmo-folder-set-info-max-by-numdb): Ditto.
4356 (elmo-folder-info-make-hashtb): Ditto.
4358 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4360 * elmo-map.el (elmo-folder-pack-number): Ditto.
4362 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4364 * elmo-version.el (elmo-version): Up to 2.9.10.
4366 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4368 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4370 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4372 * elmo-utils.el (elmo-make-directory): Add option.
4373 Default file mode is 700.
4375 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4377 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4379 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4381 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4384 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4387 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4389 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4390 (elmo-shimbun-folder-entity-hash): New function.
4391 (elmo-shimbun-folder-shimbun-header): Ditto.
4392 (elmo-shimbun-entity-to-header): Ditto.
4393 (elmo-shimbun-msgdb-to-headers): Removed.
4394 (elmo-shimbun-folder-setup): Ditto.
4395 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4397 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4398 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4399 Removed useless local bind.
4400 (elmo-folder-open-internal): Don't call
4401 `elmo-shimbun-folder-setup'.
4402 (elmo-folder-close-internal): Clear entity-hash slot.
4403 (elmo-folder-clear): Ditto.
4404 (elmo-shimbun-msgdb-create-entity): Use
4405 `elmo-shimbun-folder-shimbun-header'.
4406 (elmo-map-message-fetch): Ditto.
4407 (elmo-shimbun-update-overview): Use overview entity instead of
4408 shimbun header to lookup id by references.
4409 (elmo-map-folder-list-message-locations): Use not only headers but
4410 also overviews to list locations.
4412 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4414 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4417 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4419 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4421 * elmo-util.el (elmo-read-search-condition-internal): Give default
4424 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4426 * elmo-util.el (elmo-condition-parse-search-value): Accept
4427 YYYY-MM-DD format to search.
4428 * elmo-date.el (elmo-date-get-datevec): Likewise.
4430 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4432 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4435 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4437 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4440 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4442 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4443 case from `elmo-folder-exists-p'.
4444 (elmo-folder-exists-p): Removed.
4445 (elmo-folder-creatable-p) Ditto.
4447 * elmo-net.el (elmo-folder-create): Defined.
4448 (elmo-folder-create-unplugged): New function.
4449 (elmo-folder-exists-p): Changed default value to nil from t.
4451 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4452 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4454 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4455 `elmo-create-folder-dop' and append queue
4456 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4457 (elmo-folder-create-dop-delayed): New function.
4459 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4461 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4463 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4464 (elmo-folder-writable-p) : Ditto.
4466 * elmo-version.el (elmo-version): Up to 2.9.9.
4468 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4470 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4471 `elmo-message-use-cache-p' returns nil.
4472 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4473 (ignore cache file and refer the substance in local folders)
4475 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4477 * elmo-version.el (elmo-version): Up to 2.9.8.
4479 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4481 * elmo-version.el (elmo-version): Up to 2.9.7.
4483 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4485 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4487 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4489 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4491 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4493 (elmo-map-folder-list-message-locations): Reverse location list.
4495 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4497 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4499 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4501 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4503 (elmo-nntp-folder-list-subfolders): Follow the change above.
4505 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4507 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4508 name if authentication type is specified.
4510 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4512 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4514 (elmo-default-nntp-stream-type): Ditto.
4515 (elmo-default-pop3-stream-type): Ditto.
4517 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4519 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4521 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4523 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4525 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4527 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4528 (elmo-maildir-folder-path): Ditto.
4529 (elmo-maildir-list): Ditto (abolished).
4531 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4533 * elmo-version.el (elmo-version): Up to 2.9.6.
4535 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4537 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4538 (elmo-maildir-folder-path): Ditto.
4539 (elmo-msgdb-directory): Ditto.
4540 (elmo-passwd-life-time): Ditto.
4541 (elmo-msgdb-extra-fields): Ditto.
4542 (elmo-enable-disconnected-operation): Ditto.
4544 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4546 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4548 (elmo-pop3-default-authenticate-type): Ditto.
4550 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4552 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4554 (elmo-pop3-default-authenticate-type): Ditto.
4556 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4558 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4559 mailbox to new-folder.
4561 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4563 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4564 less than new, set new as unread.
4566 * elmo-util.el (elmo-string): Don't put text-property if nil.
4568 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4570 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4571 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4573 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4575 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4576 is nil on `completing-read'.
4578 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4580 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4582 (elmo-imap4-parse-namespace-subr): Ditto.
4583 (elmo-folder-list-subfolders): Append a delimiter when the specified
4584 folder path is a root with namespace and does not end with delimiter.
4586 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4588 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4591 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4593 * elmo-util.el (elmo-save-buffer): The first argument of message
4594 is a format control string.
4596 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4598 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4599 `elmo-folder-diff').
4600 (elmo-diff-unread): Likewise.
4602 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4604 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4605 is t on `completing-read'.
4607 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4609 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4610 method of target folder with self mark-alist if MARK-ALIST is nil.
4612 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4614 * elmo-version.el (elmo-version): Up to 2.9.5.
4616 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4618 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4619 (elmo-dop-merge-funcs): Remove.
4621 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4623 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4624 Return t if PATH is directory, too.
4625 Use `dolist' instead of while loop.
4627 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4629 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4632 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4634 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4636 (elmo-folder-list-messages-unplugged): Return t if
4637 elmo-enable-disconnected-operation is nil.
4639 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4640 `elmo-folder-list-messages-internal'.
4642 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4644 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4645 Change to looking-at `[23][0-9]+'.
4646 (elmo-network-initialize-session): Use 'error-msg'
4647 * elmo-net.el (elmo-network-open-session): Set unplugged
4648 if elmo-network-initialize-session returns 'elmo-open-err.
4650 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4652 * elmo-version.el (elmo-version): Up to 2.9.4.
4654 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4656 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4657 `elmo-folder-list-messages-internal'.
4659 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4661 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4662 (elmo-message-match-condition): New method.
4663 (elmo-folder-search-fast): New inline function.
4664 (elmo-msgdb-search): Removed.
4666 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4667 target folder if it is unplugged.
4668 (elmo-folder-list-messages-internal): Return t if target folder is
4669 unplugged and itself is persistent; In this case, use list be
4672 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4673 (elmo-msgdb-search-internal-primitive): Ditto.
4674 (elmo-msgdb-match-condition): New function.
4675 (elmo-msgdb-match-condition-primitive): Ditto.
4677 * elmo-util.el (elmo-filter-condition-p): New macro.
4679 * elmo-cache.el (elmo-folder-search): Removed.
4681 * elmo-localdir.el (elmo-folder-search): Ditto.
4683 * elmo-maildir.el (elmo-folder-search): Ditto.
4685 * elmo-mark.el (elmo-folder-search): Ditto.
4687 * elmo-nmz.el (elmo-folder-search): Ditto.
4689 * elmo-sendlog.el (elmo-folder-search): Ditto.
4691 * elmo-shimbun.el (elmo-folder-search): Ditto.
4693 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4694 if folder is unplugged.
4696 * elmo-nntp.el (elmo-folder-search): Likewise.
4697 (elmo-nntp-search-internal): New function.
4699 * elmo-version.el (elmo-version): Up to 2.9.3.
4701 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4703 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4705 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4707 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4709 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4711 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4713 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4715 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4716 (elmo-map-folder-list-message-locations): Do drive letter conversion
4717 on Windows environment.
4718 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4719 (elmo-map-message-fetch): Ditto.
4721 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4723 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4724 (elmo-network-initialize-session): Ditto.
4726 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4728 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4730 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4732 * elmo-util.el (elmo-progress-clear): Ditto.
4734 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4735 `DD-Mon-YYYY' type date.
4737 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4739 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4740 `elmo-date-make-sortable-string' instead of
4741 `timezone-make-date-sortable'.
4743 * elmo-date.el (elmo-date-make-sortable-string): Use
4744 `timezone-make-time-string'.
4746 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4748 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4750 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4751 `since'; Fix timezone.
4753 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4755 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4757 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4759 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4761 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4763 * elmo.el (elmo-generic-folder-append-messages): Make
4764 fetch-strategy with `use-cache' as 'maybe. Check return value of
4765 `elmo-message-fetch'.
4766 (elmo-message-fetch): Return return value of
4767 `elmo-message-fetch-with-cache-process'.
4768 (elmo-message-fetch-with-cache-process): Return non-nil if
4769 fetching was succeed. Load cache when fetching was failed and
4770 fetch-strategy-use-cache is 'maybe.
4772 * elmo-util.el (elmo-file-cache-load): New function.
4774 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4777 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4778 non-nil if fetching was succeed.
4780 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4782 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4784 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4785 (elmo-message-fetch-with-cache-process): Likwise.
4787 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4789 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4791 * elmo-version.el (elmo-version): Up to 2.9.2.
4793 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4795 * elmo.el (elmo-folder-delete): Delete msgdb path.
4797 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4799 * elmo-maildir.el (elmo-folder-delete): Ditto.
4801 * elmo-localdir.el (elmo-folder-delete): Ditto.
4803 * elmo-imap4.el (elmo-folder-delete): Ditto.
4805 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4807 * elmo.el (luna-define-class): Added `biff' slot.
4809 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4810 (elmo-pop3-debug-inhibit-logging): Abolished.
4811 (elmo-network-close-session): Eliminated needless let.
4812 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4813 (elmo-pop3-send-command): Added `no-log' argument.
4814 (elmo-pop3-process-filter): Use `with-current-buffer'.
4815 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4817 (elmo-pop3-auth-apop): Likewise.
4818 (elmo-network-authenticate-session): Likewise.
4820 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4823 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4824 string to determine protocol.
4825 (elmo-network-session-name-prefix): Abolished.
4826 (elmo-network-session-cache-key): Follow the change above.
4827 (elmo-network-open-session): Ditto.
4829 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4830 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4832 * elmo-version.el (elmo-version): Up to 2.9.1.
4834 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4835 unmatch condition checking.
4837 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4840 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4842 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4844 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4846 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4847 test for while loop to execute at least one SEARCH command.
4849 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4851 * elmo-version.el (elmo-version): Up to 2.9.0.
4853 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4855 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4856 (elmo-archive-folder-path): Define.
4857 (elmo-folder-initialize): Setup `dir-name' slot.
4858 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4859 Use `dir-name' as prefix of each subfolders.
4860 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4862 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4864 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4865 (elmo-pipe-folder-list-target-messages): New internal function.
4866 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4868 (elmo-pipe-folder-copied-list-load): New function.
4869 (elmo-pipe-folder-copied-list-save): Ditto.
4870 (elmo-folder-open-internal): Follow the change above.
4871 (elmo-folder-status): Fixed for copy.
4873 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4875 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4877 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4879 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4880 elmo-copy-file instead of elmo-add-name-to-file.
4882 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4884 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4887 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4888 of accept-process-output as 1.
4889 (elmo-pop3-read-contents): Ditto.
4890 (elmo-pop3-read-body): Ditto.
4892 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4894 * elmo-version.el (product-version-as-string): Remove define.
4896 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4898 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4899 (elmo-imap4-copy-messages): Chop number set using
4900 `elmo-imap4-number-set-chop-length'.
4901 (elmo-imap4-set-flag): Ditto.
4902 (elmo-imap4-search-internal-primitive): Ditto.
4904 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4906 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4907 `elmo-folder-make-temp-dir'
4909 * elmo-vars.el (elmo-cache-directory): New variable.
4910 (elmo-cache-dir): Abolished.
4911 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4913 * elmo-version.el (elmo-version): Up to 2.7.7.
4915 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4917 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4918 defcustom; Set default value as t.
4920 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4922 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4923 (ldap-search-program-arguments): Changed default value.
4924 (ldap-search-basic): Accept exit status 4.
4925 (ldap/field-body): Parse options.
4926 (ldap/collect-field): Ditto.
4927 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4929 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4930 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4931 (elmo-imap4-accept-ok): Ditto.
4932 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4933 'notify-bye, only BYE error is reported.
4934 (elmo-folder-exists-p-plugged): Set no-error argument of
4935 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4937 * elmo.el (elmo-imap4-bye-error): Changed message.
4939 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4940 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4941 queues (It causes infinite loop).
4943 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4945 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4946 (RECENT UNSEEN MESSAGES) extension.
4948 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4950 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4951 Check number of overview fields.
4953 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4955 * elmo.el (elmo-folder-confirm-appends): Changed message.
4956 (elmo-folder-confirm-appends): Ditto.
4958 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4960 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4962 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4964 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4965 of elmo-folder-update-threshold is nil, which can be set by
4966 wl-summary-update-confirm-threshold.
4968 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4970 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4971 (elmo-nmz-index-alias-alist): Ditto.
4972 (elmo-map-folder-list-message-locations): Follow the change above.
4974 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4976 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4978 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4980 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4982 * elmo-util.el (elmo-read): Ditto.
4983 (elmo-display-error): Ditto.
4985 * elmo-vars.el (elmo-date-match): Ditto.
4987 * pldap.el (ldap-coding-system): Ditto.
4989 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4990 `elmo-inhibit-number-mapping' as nil.
4992 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4994 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
4995 space delimiter for list response.
4997 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4999 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5001 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5003 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5004 (elmo-map-message-fetch): Fix.
5005 * elmo-map.el (elmo-folder-status): Fix for killed.
5007 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5009 * elmo-sendlog.el: New file.
5010 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5012 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5014 * acap.el (acap-logging-out): New buffer local variable.
5015 (acap-close): Set it.
5016 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5019 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5021 * acap.el (acap-response-bye-p): New function.
5022 (acap-response-bye-message): Ditto.
5023 (acap-wait-for-response): If bye response is received, cause an error.
5024 (acap-parse-response): Make bye response when 'Bye' is received.
5026 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5028 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5030 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5032 * elmo-util.el (elmo-copy-file): Added argument
5033 `ok-if-already-exists'.
5034 (elmo-copy-file): Fixed typo.
5036 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5038 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5040 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5042 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5044 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5046 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5049 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5051 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5052 (elmo-folder-initialize): Fix for `copy'.
5053 (elmo-pipe-drain): Ditto.
5054 (elmo-folder-open-internal): Ditto.
5055 (elmo-folder-newsgroups): Fix.
5057 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5059 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5062 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5063 recent value is returned from imap folder.
5065 * elmo.el (elmo-folder-newsgroups): New generic function.
5067 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5068 (elmo-folder-initialize): Set it.
5069 (elmo-folder-expand-msgdb-path): Use it.
5070 (elmo-folder-newsgroups): Define.
5072 * elmo-filter.el (elmo-folder-newsgroups): Define.
5074 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5076 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5078 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5080 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5082 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5084 (elmo-shimbun-header-extra-field): New inline function.
5085 (elmo-shimbun-header-set-extra-field): Ditto.
5086 (elmo-shimbun-folder-header-hash-setup): Ditto.
5087 (elmo-shimbun-update-overview): Ditto.
5088 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5089 (elmo-shimbun-folder-setup): Use
5090 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5091 (elmo-shimbun-get-headers): Ditto.
5092 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5093 Insert `X-Shimbun-Id:' header if extra field is set.
5094 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5095 field's value instead of `shimbun-header-id'.
5097 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5099 (elmo-msgdb-overview-entity-set-date): Ditto.
5100 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5102 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5104 * mmimap.el (mmimap-entity-section): Changed body node number from
5107 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5109 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5110 `elmo-folder-delete-messages'.
5112 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5113 (elmo-folder-initialize): Changed to expand alias into index path.
5115 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5116 `elmo-mime-insert-header-from-buffer' with 6th arg
5119 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5121 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5123 * elmo.el (elmo-diff-new): New inline function.
5124 (elmo-diff-unread): Ditto.
5125 (elmo-diff-all): Ditto.
5127 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5128 value from responseb.
5129 (elmo-imap4-folder-diff-plugged): Ditto.
5130 (elmo-imap4-server-diff-async): Added recent argument.
5131 (elmo-server-diff-async): Ditto.
5132 (elmo-imap4-folder-diff-plugged): Ditto.
5134 * elmo-version.el (elmo-version): Up to 2.7.6.
5136 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5138 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5141 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5143 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5145 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5147 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5149 * elmo-multi.el (elmo-folder-initialize): Ditto.
5151 * elmo-util.el (elmo-parse-token): New function.
5152 (elmo-parse-prefixed-element): Ditto.
5154 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5156 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5158 (elmo-imap4-accept-ok): Ditto.
5160 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5162 * mmimap.el (mime-imap-entity-header-string): Don't check first
5163 element of node-id is `0' (Follow last change).
5165 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5167 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5168 assigned irregular node-id to nested multipart section.
5169 (initialize-instance): Followed above change.
5171 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5173 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5174 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5175 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5176 `elmo-shimbun-get-headers');
5177 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5178 visible article on summary exists in headers).
5179 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5181 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5183 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5186 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5188 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5190 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5192 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5193 header separator into loop condition.
5195 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5197 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5198 Return duplicate folder if it has subfolder.
5200 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5202 * elmo.el (elmo-make-folder): Add folder name error check.
5204 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5205 (elmo-nntp-encode-group-string): New inline function.
5206 (elmo-nntp-decode-group-string): Ditto.
5207 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5208 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5209 Use `not' instead of `null';
5210 Use elmo-nntp-decode-group-string.
5212 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5214 * elmo-version.el (elmo-version): Up to 2.7.5.
5216 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5218 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5219 Hide progress gauge if `elmo-folder-move-messages' exits
5222 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5224 * elmo-imap4.el (elmo-folder-initialize): Use
5225 `elmo-imap4-encode-folder-string' for folder name.
5227 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5229 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5232 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5234 * elmo-util.el (elmo-progress-counter-alist): New internal
5236 (elmo-progress-counter-value): New macro.
5237 (elmo-progress-counter-all-value): Ditto.
5238 (elmo-progress-counter-format): Ditto.
5239 (elmo-progress-counter-set-value): Ditto.
5240 (elmo-progress-set): New function.
5241 (elmo-progress-clear): Ditto.
5242 (elmo-progress-notify): Ditto.
5244 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5247 * elmo.el (elmo-generic-folder-append-messages): Call
5248 `elmo-progress-notify'.
5249 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5251 * elmo-archive.el (elmo-folder-append-messages): Call
5252 `elmo-progress-notify'.
5254 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5256 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5258 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5260 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5262 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5264 (elmo-message-encache-dop): Added argument `read'.
5266 * elmo-shimbun.el (elmo-message-encache): Ditto.
5268 * elmo-net.el (elmo-message-encache): Ditto.
5270 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5271 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5272 elmo-imap4-seen-messages.
5273 (elmo-folder-msgdb-create-plugged): Initialize
5274 elmo-imap4-seen-messages;
5275 Set seen mark on elmo-imap4-seen-messages.
5277 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5279 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5280 elmo-folder-append-buffer.
5281 (elmo-folder-encache): Added optional argument `read'.
5282 (elmo-message-encache): Ditto.
5284 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5286 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5288 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5289 if append buffer content succeds.
5291 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5293 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5294 elmo-display-progress.
5296 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5297 Set 4th argument of mime-display-message.
5298 (elmo-mime-display-as-is): Ditto.
5300 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5302 * elmo-nmz.el (toplevel): Require 'mime-edit.
5303 (elmo-nmz-content-type-alist): Abolished.
5304 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5305 content is not a message.
5306 (elmo-map-message-fetch): Changed behavior exept for message content;
5307 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5308 content-type, Add From: and Subject: field.
5310 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5312 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5313 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5316 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5318 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5319 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5321 * elmo-archive.el (elmo-folder-writable-p): Defined.
5323 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5325 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5327 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5329 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5331 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5333 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5335 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5337 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5339 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5341 * elmo-util.el (elmo-address-quote-specials): New function;
5342 Renamed from `wl-address-quote-specials'.
5344 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5346 * elmo-version.el (elmo-version): Up to 2.7.4.
5348 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5350 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5352 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5354 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5355 both compile-time and run-time to avoid byte-compile warning.
5357 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5359 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5361 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5363 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5365 (elmo-mime-display-as-is-internal): Use it.
5367 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5368 if `read-passwd' is not defined.
5370 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5372 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5374 (elmo-folder-status): Call `elmo-folder-open-internal';
5375 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5376 (elmo-folder-close-internal): Set location-alist as nil.
5377 (elmo-folder-clear): Define.
5378 (elmo-folder-check): Don't set location-alist as nil.
5380 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5382 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5384 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5385 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5387 * mmimap.el (mime-imap-entity::requested): New slot.
5388 (mime-imap-location-fetch-entity-p): New generic function.
5389 (mime-decode-parameters): Define using `defun-maybe'.
5390 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5391 content-type structure.
5392 (mime-entity-body): Return empty body if
5393 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5395 * elmo.el (elmo-message-displaying): New variable.
5397 * elmo-mime.el (elmo-mime-message-display): Bind
5398 elmo-message-displaying as t.
5400 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5402 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5404 * acap.el (acap-open): erase buffer before starting network process.
5405 (acap-store): Rewrite.
5407 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5409 * elmo-imap4.el (elmo-imap4-default-mailbox,
5410 elmo-imap4-default-server
5411 elmo-imap4-default-authenticate-type,
5412 elmo-imap4-default-user,
5413 elmo-imap4-default-port,
5414 elmo-imap4-default-stream-type,
5415 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5417 * elmo-pop3.el (elmo-pop3-default-user,
5418 elmo-pop3-default-server,
5419 elmo-pop3-default-authenticate-type,
5420 elmo-pop3-default-port,
5421 elmo-pop3-default-stream-type,
5422 elmo-pop3-stream-type-alist): Ditto.
5424 * elmo-nntp.el (elmo-nntp-default-server,
5425 elmo-nntp-default-user,
5426 elmo-nntp-default-port,
5427 elmo-nntp-default-stream-type,
5428 elmo-nntp-stream-type-alist): Ditto.
5430 * elmo-vars.el: Follow changes above.
5431 (elmo-setting): New custom group; added 'elmo-setting group to
5434 * elmo-version.el (elmo-version): Up to 2.7.3.
5436 * acap.el (acap-parse-response): Don't delete process when BYE
5437 response (It causes hang-up on slow network environment).
5438 (toplevel): Added comment.
5440 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5442 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5444 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5446 (acap-parse-return-metadata): Ditto.
5449 (toplevel): Fixed typo.
5451 * acap.el: New file.
5452 (acap-network-stream-open): Show "Connecting..." message.
5453 (acap-parse-response): Fixed problem for BYE untagged response.
5454 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5455 (toplevel): Added tiny comments.
5457 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5459 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5460 space delimiter for uidl response.
5462 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5464 * elmo-vars.el (elmo-use-semi): Eliminated.
5466 * elmo-util.el (elmo-string-assoc-all): New function.
5468 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5470 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5471 property 'mime-preview-situation for `mime-preview-quit'.
5473 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5475 * elmo.el (elmo-message-fetch-with-cache-process): Call
5476 elmo-message-fetch-internal instead of causing an error when fetch
5477 strategy is 'entire but only 'section cache is available.
5479 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5481 * elmo-version.el (elmo-version): Up to 2.7.2.
5483 * elmo.el (elmo-generic-folder-append-messages): Make
5484 fetch-strategy with `use-cache'.
5486 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5487 (elmo-dop-queue-method-name): New macro.
5489 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5491 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5492 unbalanced parenthesis.
5494 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5496 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5498 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5500 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5501 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5503 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5505 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5508 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5510 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5511 (elmo-message-use-cache-p): Define.
5512 (elmo-folder-msgdb-create): Treat cache.
5514 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5516 * elmo-nntp.el (elmo-network-initialize-session): Call
5517 `elmo-nntp-send-mode-reader'.
5518 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5520 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5522 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5524 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5527 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5528 for `elmo-plugged-p'.
5529 (elmo-open-network-stream): Fixed stream-type argument.
5531 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5533 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5534 unknown archive type is specified.
5536 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5538 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5540 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5541 while loading msgdb.
5543 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5544 (elmo-folder-open-internal): Rewrite.
5546 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5548 * elmo-mime.el (elmo-mime-display-as-is-internal):
5549 Adjust buffer-multibyte status.
5551 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5553 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5554 of elmo-condition-find-key.
5556 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5557 (elmo-condition-in-msgdb-p): Ditto.
5558 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5561 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5563 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5565 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5567 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5568 label for elmo-display-progress.
5570 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5572 * elmo.el (elmo-folder-clear): New method.
5573 (elmo-folder-clear): Define.
5574 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5576 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5577 (elmo-folder-clear): Define.
5579 * elmo-map.el (elmo-folder-clear): Define.
5581 * elmo-version.el (elmo-version): Up to 2.7.1.
5583 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5585 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5588 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5590 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5591 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5593 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5595 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5597 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5600 * elmo-imap4.el (elmo-folder-initialize): Use
5601 elmo-get-network-stream-type.
5603 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5605 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5607 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5609 * elmo.el (elmo-message-encache): Set unread argument for
5612 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5614 * elmo.el (elmo-net-port-info): New method.
5616 * elmo-shimbun.el (elmo-net-port-info): Define.
5617 (elmo-message-encache): Ditto.
5619 * elmo-net.el (elmo-net-port-info): Define as method.
5621 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5622 unplugged status when elmo-enable-disconnected-operation is t.
5624 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5625 of spool folder before checking new number.
5627 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5629 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5630 (elmo-network-setup-session): Ditto.
5631 (elmo-message-fetch-plugged): Ditto.
5632 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5633 (elmo-network-initialize-session): Ditto.
5634 (elmo-pop3-read-response): Abolish 3rd argument.
5635 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5636 (elmo-pop3-read-contents): Ditto.
5637 (elmo-pop3-read-body): Ditto.
5638 (elmo-folder-status): Call elmo-folder-close.
5639 (elmo-pop3-lock): Abolish.
5640 (elmo-pop3-unlock): Ditto.
5641 (elmo-pop3-locked-p): Ditto.
5642 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5644 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5646 * elmo-version.el (elmo-version): Up to 2.7.0.
5648 * elmo-pop3.el (elmo-pop3-debug): New variable.
5649 (elmo-pop3-debug-inhibit-logging): Ditto.
5650 (elmo-pop3-debug): New function.
5651 (elmo-pop3-send-command): Call elmo-pop3-debug.
5652 (elmo-pop3-read-response): Added keep-lock optional argument;
5653 Don't unlock if keep-lock is non-nil.
5654 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5655 (elmo-network-authenticate-session): Bind
5656 elmo-pop3-debug-inhibit-logging as t.
5657 (elmo-network-setup-session): Call elmo-pop3-read-response with
5659 (elmo-pop3-read-msg): Ditto.
5660 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5661 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5662 (elmo-network-initialize-session): Call elmo-pop3-lock.
5663 (elmo-folder-close-internal): Don't clear location-alist slot.
5664 (elmo-folder-check): Clear location-alist slot.
5666 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5668 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5669 (elmo-pop3-send-command): Call elmo-pop3-lock.
5670 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5671 (elmo-pop3-read-contents): Ditto.
5672 (elmo-pop3-lock): New function.
5673 (elmo-pop3-unlock): Ditto.
5674 (elmo-pop3-locked-p): Ditto.
5675 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5678 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5680 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5682 * elmo-util.el (elmo-file-field-primitive-condition-match):
5683 New inline function (Don't fetch file content if "first" or "last").
5684 (elmo-file-field-condition-match): Use
5685 elmo-file-field-primitive-condition-match.
5687 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5690 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5691 (elmo-message-fetch-plugged): Fixed.
5693 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5695 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5697 * elmo.el (elmo-folder-move-messages): Bind
5698 elmo-inhibit-display-retrieval-progress as t while moving messages.
5700 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5702 (elmo-inhibit-display-retrieval-progress): Ditto.
5704 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5705 for retrieval progress;
5706 Don't display progress when total buffer size is smaller than
5707 elmo-display-retrieval-progress-threshold.
5708 (elmo-message-fetch-plugged): Don't display progress when
5709 elmo-inhibit-display-retrieval-progress is non-nil.
5711 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5712 for retrieval progress;
5713 Don't display progress when literal size is smaller than
5714 elmo-display-retrieval-progress-threshold.
5715 (elmo-imap4-message-fetch): Don't display progress when
5716 elmo-inhibit-display-retrieval-progress is non-nil.
5718 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5720 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5721 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5722 (elmo-imap4-message-fetch): Likewise.
5724 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5725 (elmo-shimbun-index-range-alist): Ditto.
5726 (elmo-shimbun-use-entire-index): Abolish.
5727 (shimbun-mua-use-entire-index): Ditto.
5728 (elmo-shimbun-folder): Added new slot `range'.
5729 (elmo-folder-initialize): Setup slot `range'.
5731 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5733 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5734 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5735 (elmo-shimbun-get-headers): Use return value of
5736 `shimbun-article-expiration-days'.
5737 (elmo-folder-close-internal): Clean up last-check slot.
5739 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5740 (elmo-pop3-total-size): New variable.
5741 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5743 * elmo.el (elmo-folder-reserve-status-p): New method.
5745 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5746 (elmo-shimbun-use-entire-index): New user option.
5747 (shimbun-elmo-mua): New class.
5748 (shimbun-mua-search-id): Define.
5749 (shimbun-mua-use-entire-index): Ditto.
5750 (elmo-shimbun-folder:last-check): New slot.
5751 (elmo-shimbun-headers-cache-header-list): Abolish.
5752 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5753 (elmo-shimbun-headers-cache-header-hash): Ditto.
5754 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5755 (elmo-shimbun-headers-cache-last-check): Ditto.
5756 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5757 (elmo-shimbun-headers-check-p): Rewrite.
5758 (elmo-shimbun-msgdb-to-headers): New function.
5759 (elmo-shimbun-get-headers): Rewrite.
5760 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5761 (elmo-folder-open-internal): Get headers only if
5762 `elmo-shimbun-headers-check-p' is non-nil.
5763 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5765 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5766 (elmo-quit): Removed.
5768 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5770 (elmo-msgdb-overview-entity-set-extra): Ditto.
5771 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5773 * elmo-map.el (elmo-folder-status): Don't call
5774 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5777 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5779 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5780 of `elmo-msgdb-search-internal-primitive' when condition's car is
5783 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5785 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5787 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5789 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5790 call `elmo-pipe-drain'.
5792 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5794 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5795 typo. (elmo-cache-folder -> elmo-mark-folder)
5797 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5799 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5800 `elmo-message-fetch'.
5802 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5804 * elmo-net.el (elmo-message-encache): Fixed typo.
5805 (elmo-message-fetch-unplugged): Changed call
5806 `elmo-message-fetch-internal' without argument `outbuf'.
5808 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5810 * elmo.el (elmo-message-encache): Define as generic function.
5811 (elmo-message-fetch-field): New generic function.
5812 (elmo-message-fetch-with-cache-process): Cause an error when
5813 fetch strategy is 'entire but only 'section cache is available.
5814 (toplevel): Fixed nmz folder definition.
5816 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5817 (elmo-msgdb-resume-list-filename): Ditto.
5818 (elmo-queue-filename): Ditto.
5819 (elmo-enable-disconnected-operation): Changed default value to t.
5821 * elmo-util.el (elmo-cache-path-section-p): New function.
5822 (elmo-file-cache-get): Use it.
5823 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5824 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5825 (elmo-dop-queue-save): Ditto.
5827 * elmo-net.el (elmo-folder-status-unplugged): Call
5828 elmo-folder-status-dop.
5829 (elmo-folder-list-messages-unplugged): Implemented.
5830 (elmo-folder-delete-messages-unplugged): Define.
5831 (elmo-folder-msgdb-create): Define.
5832 (elmo-folder-msgdb-create-unplugged): Define.
5833 (elmo-folder-mark-as-read-unplugged): Ditto.
5834 (elmo-folder-unmark-read-unplugged): Ditto.
5835 (elmo-folder-mark-as-important-unplugged): Ditto.
5836 (elmo-folder-unmark-important-unplugged): Ditto.
5837 (elmo-message-encache): Ditto.
5839 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5840 (elmo-dop-queue-save): Ditto.
5842 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5843 `elmo-folder-msgdb-create'.
5844 (elmo-folder-append-buffer): Implemented unplugged operation.
5845 (elmo-folder-append-messages): Call parent method in unplugged status.
5846 (elmo-message-fetch-unplugged): Removed definition.
5847 (elmo-message-fetch-field): Implemented.
5849 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5850 (elmo-dop-folder): Removed variable definition.
5851 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5852 (elmo-dop-queue-flush): Implemented.
5853 (elmo-dop-queue-merge): Removed definition (TODO).
5854 (elmo-dop-spool-folder): New function.
5855 (elmo-dop-spool-folder-append-buffer): Ditto.
5856 (elmo-dop-spool-folder-list-messages): Ditto.
5857 (elmo-dop-list-deleting-messages): Ditto.
5858 (elmo-folder-append-buffer-dop): Ditto.
5859 (elmo-folder-delete-messages-dop): Ditto.
5860 (elmo-message-encache-dop): New inline function.
5861 (elmo-create-folder-dop): Ditto.
5862 (elmo-folder-mark-as-read-dop): Ditto.
5863 (elmo-folder-unmark-read-dop): Ditto.
5864 (elmo-folder-mark-as-important-dop): Ditto.
5865 (elmo-folder-unmark-important-dop): Ditto.
5866 (elmo-folder-status-dop): Fixed.
5867 (elmo-folder-append-buffer-dop-delayed): New function.
5868 (elmo-folder-delete-messages-dop-delayed): Ditto.
5869 (elmo-dop-msgdb): Ditto.
5871 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5873 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5875 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5877 * elmo.el (elmo-folder-move-messages): Fixed problem when
5878 `dst-folder' is 'null.
5880 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5882 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5883 instead of current mark.
5885 * elmo-multi.el (elmo-folder-list-importants-internal): No
5886 operation if importants is not list.
5888 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5889 Return t if importants is not list.
5891 * elmo-map.el (elmo-map-folder-list-importants): Define.
5892 (elmo-folder-list-importants-internal): Check return value of
5893 `elmo-map-folder-list-importants-internal'.
5895 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5897 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5899 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5901 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5903 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5905 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5906 (Patch is provided by <kita@coe.nttdata.co.jp>).
5908 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5910 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5913 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5915 * elmo.el (elmo-message-fetch): Define.
5916 (elmo-message-fetch-with-cache-process): New generic method.
5917 (elmo-message-fetch-internal): New generic method.
5918 (elmo-folder-synchronize):
5920 * elmo-archive.el (elmo-message-fetch-internal): Define.
5921 (elmo-message-fetch): Eliminated.
5923 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5924 (elmo-message-fetch): Eliminated.
5926 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5928 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5930 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5931 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5933 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5934 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5936 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5938 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5940 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5942 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5943 (elmo-message-fetch-unplugged): New generic method.
5944 (elmo-message-fetch-internal): Remove cache process (Renamed from
5945 `elmo-message-fetch').
5947 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5948 (elmo-message-fetch): Eliminated.
5949 (elmo-message-fetch-unplugged): Ditto.
5951 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5953 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5955 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5956 of `to-be-deleted' from number-alist to number-list.
5958 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5960 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5961 (elmo-folder-mark-as-important): Ditto.
5963 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5965 * elmo.el (elmo-folder): Added process-duplicates slot.
5967 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5968 (elmo-folder-unmark-read): Ditto.
5969 (elmo-folder-unmark-important): Ditto.
5970 (elmo-folder-mark-as-important): Ditto.
5972 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5973 duplicated message processing.
5975 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5977 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5979 * elmo-util.el (elmo-list-subdirectories-1): New function.
5980 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5981 (elmo-mapcar-list-of-list): New function.
5983 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5984 `elmo-mapcar-list-of-list' instead of `mapcar'.
5986 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5988 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5989 `elmo-have-link-count'. Return the fully qualified folder name.
5991 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5993 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5994 (elmo-shimbun-headers-cache): New internal variable.
5995 (elmo-shimbun-headers-cache-header-list): New inline function.
5996 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5997 (elmo-shimbun-headers-cache-header-hash): Ditto.
5998 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5999 (elmo-shimbun-headers-cache-last-check): Ditto.
6000 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6001 (elmo-shimbun-lapse-seconds): Ditto.
6002 (elmo-shimbun-headers-cache-check-p): Ditto.
6003 (elmo-shimbun-get-headers): New function.
6004 (elmo-folder-open-internal): Call it.
6005 (elmo-quit): Define (Clear headers-cache).
6007 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6009 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6011 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6012 (elmo-msgdb-flist-save): Ditto.
6014 * elmo-shimbun.el (elmo-folder-list-subfolders):
6015 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6016 (elmo-folder-exists-p): Ditto.
6018 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6019 argument for `shimbun-header-insert'.
6021 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6023 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6026 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6027 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6029 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6031 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6032 (elmo-folder-plugged-p): Define.
6033 (elmo-folder-set-plugged): Ditto.
6034 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6035 (elmo-folder-list-messages-internal): Return t if unplugged.
6036 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6038 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6039 when elmo-folder-list-messages-internal method of children returns t.
6041 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6043 (elmo-folder-open-internal): Don't update if unplugged status.
6045 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6047 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6050 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6052 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6054 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6057 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6059 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6061 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6062 (elmo-folder-open-internal): Set up headers slot.
6063 (elmo-folder-check): Call elmo-folder-close-internal and
6064 elmo-folder-open-internal.
6065 (elmo-folder-close-internal): Clean up headers slot.
6067 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6069 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6070 exactly folder list.
6071 (elmo-folder-append-messages): Fixed append archive with prefix.
6073 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6074 make temp files with start-number.
6076 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6078 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6080 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6081 argument `visible-only'.
6082 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6085 * elmo-pop3.el (elmo-folder-open-internal): Check
6086 `elmo-inhibit-number-mapping' is non-nil.
6088 * elmo-pipe.el (elmo-folder-status): Fixed.
6090 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6092 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6094 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6095 (elmo-folder-open-internal): Setup `header-hash' slot.
6096 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6098 (elmo-map-message-fetch): Ditto.
6100 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6102 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6103 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6104 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6105 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6107 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6109 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6111 * sb-airs.el: Added footer.
6113 * shimbun.el (shimbun-article): Define as luna-method.
6115 * sb-tcup.el: New file.
6117 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6118 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6120 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6122 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6123 (shimbun-get-headers): Ditto.
6125 * elmo.el: Moved obsolete variable definitions from
6126 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6128 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6131 * shimbun.el: New file.
6133 * elmo-shimbun.el: New file.
6135 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6136 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6137 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6138 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6140 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6142 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6145 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6147 * elmo.el (elmo-folder-msgdb): Define as macro.
6148 (elmo-folder-open): Added argument `load-msgdb'.
6149 (elmo-generic-folder-open): Ditto.
6150 (elmo-folder-encache): New function.
6152 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6154 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6156 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6157 Eliminated argument FOLDER and added argument MSGDB.
6158 (elmo-dop-queue-load): Moved from elmo-dop.el.
6159 (elmo-dop-queue-save): Ditto.
6161 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6163 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6165 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6166 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6167 (elmo-filter-folder-list-importants-internal): Ditto.
6169 * elmo-map.el (elmo-folder-pack-number): Ditto.
6171 * elmo-mime.el (elmo-mime-message-display): Ditto.
6173 * elmo.el (elmo-generic-folder-commit): Ditto.
6174 (elmo-folder-list-unreads): Ditto.
6175 (elmo-folder-list-importants): Ditto.
6176 (elmo-generic-folder-commit): Ditto.
6177 (elmo-message-set-mark): Ditto.
6178 (elmo-generic-folder-append-msgdb): Ditto.
6179 (elmo-folder-synchronize): Ditto.
6180 (elmo-folder-messages): Ditto.
6181 (elmo-init): Call elmo-dop-queue-load.
6182 (elmo-folder-list-messages): Ditto.
6184 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6185 (elmo-nntp-folder-process-crosspost): Ditto.
6186 (elmo-folder-list-unreads-internal): Ditto.
6188 * elmo-dop.el: Removed old functions.
6190 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6192 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6193 `folder' to `msgdb'.
6195 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6197 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6198 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6200 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6203 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6205 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6208 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6209 (mmimap-parse-parameters-from-list): Define as alias for
6210 `mime-decode-parameter-plist' if it is defined as function.
6211 (mmimap-make-mime-entity): Added argument `number'.
6212 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6214 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6216 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6218 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6220 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6222 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6224 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6226 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6227 when elmo-imap4-default-authenticate-type is nil.
6228 (elmo-folder-list-subfolders): Ditto
6229 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6230 (elmo-imap4-fetch-callback-1-subr): Renamed from
6231 `elmo-imap4-fetch-callback-1' and define as inline function.
6232 (elmo-imap4-fetch-callback-1):
6233 Renamed from `elmo-imap4-fetch-callback'.
6234 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6236 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6237 msgdb path (To keep compatibility with main trunk).
6239 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6241 * elmo-util.el (elmo-make-file-cache): Moved position of
6244 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6245 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6246 instead of `elmo-pop3-inhibit-uidl'.
6247 (elmo-folder-exists-p): Ditto.
6248 (elmo-pop3-folder-list-messages): Ditto.
6250 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6251 instead of `elmo-pop3-inhibit-uidl'.
6252 (elmo-folder-status): Ditto.
6254 * elmo-dop.el (elmo-dop-folder): New variable.
6255 (elmo-dop-lock-message): Eliminated.
6256 (elmo-dop-unlock-message): Ditto.
6257 (elmo-dop-lock-list-load): Ditto.
6258 (elmo-dop-lock-list-save): Ditto.
6259 (elmo-dop-delete-folder): Ditto.
6260 (elmo-dop-rename-folder): Ditto.
6262 * elmo.el: Removed incomplete commentary.
6264 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6266 * elmo.el (toplevel): Require 'elmo-version first;
6267 for little `recursive-load-depth' settings.
6268 Fix "ends here" comment.
6270 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6272 * elmo-util.el (toplevel): Require 'poem;
6273 Some functions are moved from elmo-cache.el.
6275 * elmo-net.el (toplevel): Require 'elmo-cache.
6277 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6279 * elmo.el (toplevel): Ditto.
6281 * elmo-cache.el: Rewrite with luna;
6282 Some functions are moved to elmo-util.el.
6284 * elmo-internal.el (elmo-internal-folder-list): New variable.
6285 (elmo-internal-folder-initialize): Rewrite.
6286 (elmo-folder-list-subfolders): Ditto.
6288 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6289 (elmo-cache-collect-sub-directories): Ditto.
6291 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6293 * elmo-version.el (elmo-version): Up to 2.5.8.
6295 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6297 * elmo-util.el (elmo-list-insert): New function.
6299 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6301 * elmo.el (elmo-init): New function.
6302 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6304 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6305 (Renamed from `elmo-localdir-header-chop-length').
6307 * elmo-pop3.el (elmo-pop3-use-cache,
6308 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6310 * elmo-nntp.el (elmo-message-fetch): Define.
6311 (elmo-message-fetch-unplugged): Ditto.
6312 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6313 (elmo-nntp-use-cache): Ditto.
6314 (elmo-nntp-max-number-precedes-list-active): Ditto.
6316 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6318 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6319 `elmo-msgdb-insert-file-header'.
6320 Use `elmo-msgdb-file-header-chop-length'.
6322 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6325 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6326 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6327 `elmo-msgdb-insert-file-header'.
6329 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6331 Define obsolete variables with `elmo-define-obsolete-variable',
6333 * elmo-util.el (elmo-warning-buffer-name): New constant.
6334 (elmo-warning): New function.
6335 (elmo-obsolete-variable-alist): New variable.
6336 (elmo-obsolete-variable-show-warnings): New variable.
6337 (elmo-define-obsolete-variable): New function.
6338 (elmo-resque-obsolete-variable): Ditto.
6339 (elmo-resque-obsolete-variables): Ditto.
6341 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6343 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6346 * elmo-pop3.el, elmo-nntp.el: Use custom.
6348 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6350 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6351 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6353 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6355 * Luna-fy Kenichi OKADA's following changes.
6356 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6358 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6360 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6362 * elmo-util.el (elmo-display-progress): Prefer
6363 `progress-feedback-with-label' to `lprogress-display'.
6365 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6367 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6369 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6371 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6372 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6373 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6374 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6375 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6376 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6377 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6378 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6379 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6380 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6381 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6382 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6383 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6385 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6387 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6388 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6390 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6392 * elmo.el (elmo-folder-process-crosspost): New generic method.
6393 (elmo-folder-writable-p): Ditto.
6394 (elmo-folder-message-appendable-p): Eliminated.
6395 (elmo-generic-folder-append-msgdb): Rewrite.
6396 (elmo-newsgroups-hashtb): New internal variable.
6397 (elmo-crosspost-message-set): Eliminated.
6398 (elmo-crosspost-message-delete): Ditto.
6399 (elmo-setup-subscribed-newsgroups): New function.
6400 (elmo-crosspost-message-alist-modified): New internal variable.
6401 (elmo-crosspost-message-alist-load): New function (Renamed from
6402 `wl-crosspost-alist-load').
6403 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6404 `wl-crosspost-alist-save').
6406 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6408 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6410 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6411 elmo-newsgroups-hashtb).
6412 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6413 `elmo-nntp-folder-update-crosspost-message-alist'.
6414 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6415 `elmo-nntp-groups-hashtb'.
6416 (elmo-nntp-make-groups-hashtb): Eliminated.
6417 (elmo-nntp-parse-newsgroups): New function (Renamed from
6418 `wl-parse-newsgroups').
6419 (elmo-folder-creatable-p, elmo-folder-writable-p,
6420 elmo-folder-close-internal, elmo-folder-mark-as-read,
6421 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6423 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6425 * elmo-net.el (elmo-message-fetch): Check buffer size.
6427 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6429 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6431 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6432 before `close' command.
6434 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6435 `mark-alist' (All other related portions are changed).
6437 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6439 * elmo-util.el (elmo-create-hash-size): Eliminated.
6440 (elmo-make-hash) Make a hash with `one less than a power of two'
6443 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6444 (elmo-hash-maximum-size): Changed value.
6446 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6448 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6449 (elmo-mime-message-display-as-is): Ditto.
6451 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6453 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6454 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6456 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6458 * elmo-mark.el: New file.
6460 * elmo-internal.el: Rewrite (Almost empty).
6462 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6464 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6465 (mime-imap-entity-header-string): Ditto.
6466 (mmimap-entity-section): Rewrite.
6468 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6470 * elmo-nmz.el: New file.
6472 * elmo-pipe.el: Rewrite with luna.
6474 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6476 * elmo-archive.el: Rewrite with luna.
6478 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6479 (elmo-folder-list-importants-internal): Ditto.
6481 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6483 * elmo-archive.el (elmo-archive-version): Abolish.
6484 (toplevel) Removed `boso' comment.
6486 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6488 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6489 elmo-msgdb-add-msgs-to-seen-list-subr;
6490 Changed argument seen-marks to unread-marks.
6492 * elmo-nntp.el: Rewrite with luna.
6494 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6496 * elmo-filter.el: Rewrite with luna.
6498 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6500 * elmo-pop3.el: Rewrite with luna.
6502 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6504 * elmo-multi.el: Rewrite with luna.
6506 * elmo-vars.el (elmo-use-killed-list): Abolish.
6507 All other related portions are changed.
6508 (elmo-filename-replace-string-alist): Renamed from
6509 elmo-msgid-replace-string-alist.
6511 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6513 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6515 * elmo-map.el: New file.
6516 * elmo-maildir.el: Rewrite with luna.
6518 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6520 * elmo.el: Changed meaning of `elmo-folder-commit'.
6521 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6523 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6525 * elmo.el (elmo-folder-append-buffer): New function.
6526 (Renamed from `elmo-append-msg')
6528 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6530 * elmo-mime.el: New file.
6532 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6534 * elmo-cache.el: Rewrite.
6536 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6538 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6540 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6542 * elmo-vars.el (elmo): New group.
6543 (elmo-strict-diff-folder-regexp): New variable.
6545 * elmo-util.el (elmo-call-func): Abolish.
6546 (elmo-folder-get-type): Ditto.
6547 (elmo-*-get-spec): Ditto.
6548 (elmo-*-spec-*): Ditto.
6549 (elmo-imap4-identical-name-space-p): Ditto.
6550 (elmo-folder-identical-system-p): Ditto.
6551 (elmo-folder-direct-copy-alist): Ditto.
6552 (elmo-folder-direct-copy-p): Ditto.
6554 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6555 (elmo-folder-initialize): Define.
6556 (elmo-folder-get-primitive-list): Ditto.
6558 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6559 (elmo-folder-initialize): Define.
6560 Renamed `elmo-network-session-host-internal' to
6561 `elmo-network-session-server-internal'.
6563 * elmo-multi.el (elmo-multi-folder): New luna class.
6564 (elmo-folder-initialize): Define.
6565 (elmo-folder-get-primitive-list): Ditto.
6566 (elmo-folder-contains-type): Ditto.
6567 (elmo-message-use-cache-p): Ditto.
6569 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6570 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6572 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6573 (elmo-folder-initialize): Define.
6575 * elmo-filter.el (elmo-filter-folder): New luna class.
6576 (elmo-folder-initialize): Define.
6577 (elmo-folder-get-primitive-list): Ditto.
6578 (elmo-folder-contains-type): Ditto.
6580 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6582 * elmo-imap4.el: Rewrite with luna.
6584 * mmimap.el: New file.
6586 * mmelmo.el, mmelmo-imap4.el: Removed.
6588 * elmo-net.el: Ditto.
6590 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6591 (elmo-folder-initialize): Define.
6593 * elmo-archive.el (elmo-archive-folder): New luna class.
6594 (elmo-folder-initialize): Define.
6596 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6597 `elmo-folder-msgdb-path'.
6598 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6601 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6603 * elmo.el: New file.
6605 * elmo2.el: Renamed to elmo.el.
6608 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6610 * elmo-cache.el (elmo-cache-expire-by-size): Count
6611 a disk usage for a cache file entry in KB even when
6612 its kind is a directory.
6614 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6616 * elmo-version.el (elmo-version): Up to 2.5.7.
6618 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6620 * elmo-version.el (elmo-version): Up to 2.5.6.
6622 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6624 * elmo-version.el (elmo-version): Up to 2.5.5.
6626 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6628 * elmo-imap4.el (elmo-network-authenticate-session):
6629 Fixed a logic for response checking.
6631 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6633 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6634 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6635 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6638 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6639 for `starttls-open-stream' and `starttls-negotiate'.
6641 * elmo-nntp.el: Remove autoload settings for
6642 `starttls-open-stream' and `starttls-negotiate'.
6644 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6645 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6646 `luna-define-class' with `eval-and-compile'.
6648 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6650 * elmo-util.el (elmo-read-search-condition-internal):
6651 Require an element of table for searching field.
6653 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6655 * elmo-version.el (elmo-version): Up to 2.5.4.
6657 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6659 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6661 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6663 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6665 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6667 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6670 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6672 * elmo-imap4.el (elmo-imap4-delete-folder):
6673 Send "close" before "delete" (Use commented out line).
6674 (elmo-imap4-rename-folder): Ditto.
6676 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6677 folder string itself.
6678 (elmo-dop-list-deleted): New function.
6679 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6682 * elmo-util.el (elmo-string-rassoc-all): New function.
6684 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6686 * elmo-version.el (elmo-version): Up to 2.5.3.
6688 * elmo-net.el (elmo-network-get-session): Changed logic for
6689 checking process status.
6691 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6693 Changed logic for checking process status.
6695 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6697 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6699 (elmo-network-setup-session): Set UIDL hash size according to
6700 the length of list response.
6701 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6702 according to the length of list response;
6703 Return the length of list response.
6704 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6706 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6708 * elmo-imap4.el (toplevel): Require 'ssl.
6709 Add autoload 'starttls.
6710 * elmo-pop3.el (toplevel): Ditto.
6711 * elmo-nntp.el (toplevel): Ditto.
6713 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6715 * elmo-imap4.el (toplevel): defun at compile time.
6716 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6717 sasl-next-step, sasl-step-data, sasl-step-set-data.
6718 * elmo-pop3.el (toplevel): Ditto.
6720 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6722 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6724 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6726 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6728 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6729 and `elmo-pop-auth-apop'.
6731 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6733 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6735 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6737 * elmo-pop3.el (elmo-network-authenticate-session): Split
6738 encoded response value.
6740 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6742 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6743 `elmo-pop3-force-login'.
6744 Redefine `sasl-mechanisms'.
6745 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6747 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6749 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6750 Delete `elmo-imap4-authenticator-alist'.
6751 (elmo-imap4-auth-cram-md5): Delete.
6752 (elmo-imap4-auth-digest-md5): Delete.
6754 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6756 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6757 (elmo-pop3-auth-scram-md5): Ditto.
6758 (elmo-pop3-auth-cram-md5): Ditto.
6760 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6762 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6763 Delete `elmo-pop3-authenticator-alist'.
6765 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6767 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6769 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6771 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6773 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6775 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6777 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6778 Fixed problem when `elmo-pop3-use-uidl' is nil.
6779 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6781 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6783 * elmo-version.el (elmo-version): Up to 2.5.2.
6785 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6787 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6789 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6790 (elmo-pop3-msgdb-create-as-numlist): Use it.
6792 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6793 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6795 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6796 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6798 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6800 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6801 when elmo-mark-as-read is called with second argument nil.
6803 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6805 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6806 Moved to elmo-util.el.
6808 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6809 Moved from elmo-pipe.el
6811 * elmo-archive.el (elmo-archive-call-process): Enclose with
6814 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6815 "RFC822" (because RFC822.PEEK is obsolete).
6816 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6818 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6820 * elmo-archive.el (elmo-archive-call-process): Don't check for
6821 the exit status when Nemacs is running.
6823 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6825 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6828 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6829 (elmo-pop3-get-spec): Set default of auth to 'user.
6831 * elmo-imap4.el (elmo-imap4-session-check):
6832 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6833 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6834 (elmo-imap4-auth-login): New function; Revival.
6835 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6836 `elmo-imap4-auth-login'.
6838 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6840 * elmo2.el (toplevel): Move `product-provide' declare.
6841 * mmelmo.el (toplevel): Ditto.
6843 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6845 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6847 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6849 * elmo-util.el (elmo-folder-get-store-type): New function.
6850 (elmo-folder-direct-copy-p): Use it.
6852 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6854 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6855 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6856 and result of `elmo-imap4-use-flag-p'.
6857 (elmo-imap4-fetch-callback-1): Set mark according to
6858 the result of `elmo-imap4-use-flag-p'.
6860 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6862 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6863 (elmo-generic-list-folder-unread): Ditto.
6864 (elmo-folder-get-info): Ditto.
6865 (elmo-folder-set-info-max-by-numdb): Ditto.
6866 (elmo-folder-get-info-max): Ditto.
6867 (elmo-folder-get-info-length): Ditto.
6868 (elmo-folder-get-info-unread): Ditto.
6869 (elmo-folder-info-make-hashtb): Ditto.
6871 * elmo2.el: Removed above functions.
6873 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6875 * elmo-imap4.el (toplevel): Require 'ssl.
6876 Add autoload 'starttls.
6877 * elmo-pop3.el (toplevel): Ditto.
6878 * elmo-nntp.el (toplevel): Ditto.
6880 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6882 * elmo-imap4.el (toplevel): defun at compile time.
6883 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6884 sasl-next-step, sasl-step-data, sasl-step-set-data.
6885 * elmo-pop3.el (toplevel): Ditto.
6887 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6889 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6891 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6893 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6895 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6896 and `elmo-pop-auth-apop'.
6898 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6900 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6902 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6904 * elmo-pop3.el (elmo-network-authenticate-session): Split
6905 encoded response value.
6907 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6909 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6910 `elmo-pop3-force-login'.
6911 Redefine `sasl-mechanisms'.
6912 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6914 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6916 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6917 Delete `elmo-imap4-authenticator-alist'.
6918 (elmo-imap4-auth-cram-md5): Delete.
6919 (elmo-imap4-auth-digest-md5): Delete.
6921 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6923 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6924 (elmo-pop3-auth-scram-md5): Ditto.
6925 (elmo-pop3-auth-cram-md5): Ditto.
6927 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6929 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6930 Delete `elmo-pop3-authenticator-alist'.
6932 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6934 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6936 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6939 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6941 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6943 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6945 * elmo-nntp.el (elmo-nntp-get-folders-info):
6946 Fixed problem when '\' character is contained in user-id.
6947 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6950 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6952 * elmo-imap4.el (elmo-imap4-delete-folder):
6953 Send "close" before "delete" (Use commented out line).
6954 (elmo-imap4-rename-folder): Ditto.
6956 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6957 folder string itself.
6958 (elmo-dop-list-deleted): New function.
6959 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6962 * elmo-util.el (elmo-string-rassoc-all): New function.
6964 * elmo-version.el (elmo-version): Up to 2.5.1.
6966 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6968 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6970 * elmo-internal.el (elmo-internal-search): Fix last change.
6972 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6974 * elmo-internal.el (elmo-internal-search): Rewrite.
6975 (Fixed problem which is pointed out by Akihiro MOTOKI
6976 <motoki@da.jp.nec.com>)
6978 * elmo-version.el (elmo-version): Up to 2.5.0.
6980 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6982 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6984 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6986 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6987 non-nil, make hierarchy.
6989 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6991 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6992 `elmo-pop3-use-uidl' must be bound to nil.
6993 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
6995 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
6997 * elmo-util.el (elmo-copy-file): Don't cause an error after
6998 `add-name-to-file' failed.
7000 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7001 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7003 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7005 * elmo-version.el (elmo-version): Up to 2.3.93.
7007 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7009 * elmo-util.el (elmo-flatten): New function.
7011 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7013 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7015 * elmo-cache.el (toplevel): Ditto.
7016 * elmo-database.el (toplevel): Ditto.
7017 * elmo-date.el (toplevel): Ditto.
7018 * elmo-dop.el (toplevel): Ditto.
7019 * elmo-filter.el (toplevel): Ditto.
7020 * elmo-imap4.el (toplevel): Ditto.
7021 * elmo-internal.el (toplevel): Ditto.
7022 * elmo-localdir.el (toplevel): Ditto.
7023 * elmo-localnews.el (toplevel): Ditto.
7024 * elmo-maildir.el (toplevel): Ditto.
7025 * elmo-msgdb.el (toplevel): Ditto.
7026 * elmo-multi.el (toplevel): Ditto.
7027 * elmo-net.el (toplevel): Ditto.
7028 * elmo-nntp.el (toplevel): Ditto.
7029 * elmo-pipe.el (toplevel): Ditto.
7030 * elmo-pop3.el (toplevel): Ditto.
7031 * elmo-util.el (toplevel): Ditto.
7032 * elmo-vars.el (toplevel): Ditto.
7033 * elmo2.el (toplevel): Ditto.
7034 * mmelmo-imap4.el (toplevel): Ditto.
7035 * mmelmo.el (toplevel): Ditto.
7037 * elmo-version.el (elmo-version): Move to top.
7039 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7040 * elmo-imap4.el (toplevel): Ditto.
7041 * elmo-localdir.el (toplevel): Ditto.
7042 * elmo-msgdb.el (toplevel): Ditto.
7043 * elmo-nntp.el (toplevel): Ditto.
7044 * elmo-pop3.el (toplevel): Ditto.
7045 * elmo-version.el (toplevel): Ditto.
7047 * elmo-localnews.el (toplevel): Added Keyword header.
7049 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7051 * elmo-version.el (product-version-as-string): Defined using
7055 * elmo-localdir.el (toplevel): Updated copyright notice.
7056 * elmo-version.el (toplevel): Ditto.
7057 * elmo-msgdb.el (toplevel): Ditto.
7058 * elmo-imap4.el (toplevel): Ditto.
7059 * elmo-nntp.el (toplevel): Ditto.
7060 * elmo-pop3.el (toplevel): Ditto.
7062 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7064 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7067 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7068 parameter value (It sometimes contains raw kanji).
7070 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7072 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7073 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7075 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7077 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7079 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7081 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7082 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7084 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7086 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7087 value if selecting folder succceeded.
7088 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7090 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7092 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7095 * elmo-util.el (elmo-string-matched-member): New function.
7097 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7099 * elmo-util.el (elmo-unintern): New macro.
7100 (elmo-number-set-member): Fixed docstring.
7102 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7105 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7107 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7108 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7110 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7112 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7115 Return non-nil if selecting folder succeeded.
7116 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7118 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7120 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7121 `file-name-completion' returns t.
7122 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7123 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7124 directory if it does not exist.
7125 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7128 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7130 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7131 enclosure (It's harmful in unplugged status).
7133 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7135 * mmelmo-1.el: Removed.
7137 * mmelmo-2.el: Ditto.
7139 * mmelmo-imap4-1.el: Ditto.
7141 * mmelmo-imap4-2.el: Ditto.
7143 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7145 * mmelmo.el: Merged mmelmo-2.el.
7147 * elmo-version.el (elmo-version): Up to 2.3.92.
7149 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7151 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7152 elmo-update-number): Remove last period in "...done." message.
7153 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7155 * elmo-cache.el (elmo-cache-expire-by-size,
7156 elmo-cache-get-sorted-cache-file-list,
7157 elmo-cache-msgdb-create-as-numlist): Ditto.
7158 * elmo-dop.el (elmo-dop-save-pending-messages,
7159 (elmo-dop-flush-pending-append-operations): Ditto.
7160 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7161 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7162 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7163 (elmo-localdir-pack-number): Ditto.
7164 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7165 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7166 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7167 mime-write-entity-content): Ditto.
7168 * pldap.el (ldap-search-basic): Ditto.
7170 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7172 * elmo-version.el (elmo-version): Up to 2.3.91.
7174 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7175 Only when filter is 'last'.
7177 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7178 (elmo-condition-parse-search-value): Use it.
7179 (elmo-read-search-condition-internal): Quote value only when
7182 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7184 * elmo2.el (elmo-generic-folder-diff): Fix.
7186 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7188 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7189 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7190 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7191 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7192 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7193 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7195 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7197 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7200 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7202 * elmo-version.el (elmo-version): Up to 2.3.90.
7204 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7205 (elmo-imap4-list-folder-important): Ditto.
7207 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7209 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7211 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7213 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7215 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7217 * elmo-nntp.el (elmo-network-initialize-session):
7218 Add starttls negotiation.
7220 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7222 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7224 (elmo-network-setup-session): Define.
7225 Call `elmo-nntp-send-mode-reader' when session opened.
7227 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7229 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7231 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7233 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7234 an invalid SPACE character ahead of `SEARCH' command. Move
7235 a valid SPACE character following `SEARCH' from conditional
7236 `format' arguments to control-strings.
7238 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7240 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7243 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7245 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7247 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7248 `w32-get-true-file-link-count' as t.
7250 * elmo-imap4.el (elmo-imap4-read): Abolished.
7251 (Renamed to `elmo-read' and moved to elmo-util.el)
7252 All other related portions are changed.
7254 * elmo-util.el (elmo-read): New function.
7255 (elmo-condition-parse-search-value): Use it.
7257 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7259 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7261 * elmo-nntp.el (elmo-nntp-session): Define.
7262 (elmo-nntp-setting): Abolished.
7263 All other related portions are changed.
7264 (elmo-nntp-get-server-command): Changed argument.
7265 (elmo-nntp-set-server-command): Ditto.
7266 (elmo-nntp-xover-p): Ditto.
7267 (elmo-nntp-set-xover): Ditto.
7268 (elmo-nntp-listgroup-p): Ditto.
7269 (elmo-nntp-set-listgroup): Ditto.
7270 (elmo-nntp-list-active-p): Ditto.
7271 (elmo-nntp-set-list-active): Ditto.
7272 (elmo-nntp-xhdr-p): Ditto.
7273 (elmo-nntp-set-xhdr): Ditto.
7274 (elmo-nntp-flush-connection): Abolished.
7275 (elmo-nntp-get-connection): Abolished.
7276 (elmo-nntp-get-session): New function.
7277 (elmo-network-initialize-session): Defined.
7278 (elmo-network-authenticate-session): Ditto.
7279 (elmo-nntp-send-mode-reader): Changed argument.
7280 (elmo-nntp-send-command): Changed argument.
7281 All other related portions are changed.
7282 (elmo-nntp-read-response): Ditto.
7283 (elmo-nntp-read-raw-response): Ditto.
7284 (elmo-nntp-read-contents): Ditto.
7285 (elmo-nntp-read-body): Ditto.
7286 (elmo-nntp-goto-folder): Abolished.
7287 (elmo-nntp-select-group): New function.
7288 All other related portions are changed.
7289 (This function substitutes `elmo-nntp-goto-folder')
7290 (elmo-nntp-msgdb-create-by-header): Rewrite.
7291 (elmo-nntp-get-overview): Eliminated.
7292 (elmo-nntp-get-message): Ditto.
7293 (elmo-nntp-open-connection) Abolished.
7294 (elmo-nntp-read-msg): Rewrite.
7295 (elmo-nntp-post): Ditto.
7296 (elmo-nntp-send-data): Abolished.
7297 (elmo-nntp-send-buffer): New function.
7298 (elmo-nntp-send-data-line): Define as inline function.
7299 (elmo-nntp-get-folders-info-prepare): Use session as key.
7300 (elmo-nntp-groups-read-response): Changed argument.
7301 (elmo-nntp-retrieve-headers): Ditto.
7302 (elmo-nntp-msgdb-create-message): Ditto.
7304 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7305 when searching by 'since' or 'before'.
7307 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7309 * elmo-version.el (toplevel): Use product-version-as-string for set
7310 verstion-string, if defined.
7312 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7314 * elmo-util.el: Doc fixes.
7316 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7318 * elmo-archive.el (toplevel): Use product-provide.
7319 * elmo-cache.el (toplevel): Ditto.
7320 * elmo-database.el (toplevel): Ditto.
7321 * elmo-date.el (toplevel): Ditto.
7322 * elmo-dop.el (toplevel): Ditto.
7323 * elmo-filter.el (toplevel): Ditto.
7324 * elmo-imap4.el (toplevel): Ditto.
7325 * elmo-internal.el (toplevel): Ditto.
7326 * elmo-localdir.el (toplevel): Ditto.
7327 * elmo-localnews.el (toplevel): Ditto.
7328 * elmo-maildir.el (toplevel): Ditto.
7329 * elmo-msgdb.el (toplevel): Ditto.
7330 * elmo-multi.el (toplevel): Ditto.
7331 * elmo-net.el (toplevel): Ditto.
7332 * elmo-nntp.el (toplevel): Ditto.
7333 * elmo-pipe.el (toplevel): Ditto.
7334 * elmo-pop3.el (toplevel): Ditto.
7335 * elmo-util.el (toplevel): Ditto.
7336 * elmo-vars.el (toplevel): Ditto.
7337 * elmo2.el (toplevel): Ditto.
7338 * mmelmo-1.el (toplevel): Ditto.
7339 * mmelmo-2.el (toplevel): Ditto.
7340 * mmelmo-imap4-1.el (toplevel): Ditto.
7341 * mmelmo-imap4-2.el (toplevel): Ditto.
7342 * mmelmo-imap4.el (toplevel): Ditto.
7343 * mmelmo.el (toplevel): Ditto.
7345 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7347 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7348 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7350 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7352 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7354 (elmo-multi-split-number-alist): Ditto.
7356 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7358 * elmo-version.el: New file. Use product.el.
7359 * elmo2.el: Add (require 'elmo-version).
7360 * elmo-vars.el (elmo-appname, elmo-version): Move to
7363 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7365 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7366 `elmo-msgdb-expand-path'.
7367 (elmo-msgdb-load): Ditto.
7368 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7369 (elmo-generic-list-folder-unread): Rewrite.
7370 (elmo-generic-list-folder-important): Changed argument.
7371 (elmo-list-folder-unread): Ditto.
7372 (elmo-list-folder-important): Ditto.
7373 (elmo-folder-diff): Rewrite.
7374 (elmo-generic-folder-diff): New function.
7375 (elmo-multi-get-number-alist-list): Abolished
7376 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7377 (elmo-multi-folder-diff): Moved to elmo-multi.el
7378 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7380 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7381 `elmo-msgdb-expand-path'.
7382 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7383 (elmo-pop3-read-msg): Ditto.
7384 (elmo-pop3-delete-msgs): Ditto.
7385 (elmo-pop3-folder-diff): New alias.
7387 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7388 `elmo-msgdb-expand-path'.
7389 (elmo-pipe-list-folder-unread): Changed arguments.
7390 (elmo-pipe-list-folder-important): Ditto.
7391 (elmo-pipe-folder-diff): New alias.
7393 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7394 `elmo-msgdb-expand-path'.
7395 (elmo-nntp-max-of-folder): Ditto.
7396 (elmo-nntp-msgdb-create): Ditto.
7397 (elmo-nntp-delete-msgs): Ditto.
7398 (elmo-nntp-folder-diff): New alias.
7400 * elmo-multi.el (elmo-multi-folder-diff): New function.
7401 (elmo-multi-split-mark-alist): Ditto.
7402 (elmo-multi-split-number-alist): Ditto.
7403 (elmo-multi-mark-alist-list): Abolished (Renamed to
7404 elmo-multi-split-mark-alist).
7405 (elmo-multi-list-folder-unread): Rewrite.
7406 (elmo-multi-list-folder-important): Ditto.
7407 (elmo-multi-list-folder): Set `spec' as 1st argument for
7408 `elmo-msgdb-expand-path'.
7409 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7410 instead of `elmo-multi-get-number-alist-list'.
7412 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7413 If 1st argument is not string, treat as spec.
7414 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7415 `elmo-msgdb-expand-path'.
7416 (elmo-msgdb-flist-load): Ditto.
7417 (elmo-msgdb-flist-save): Ditto.
7418 (elmo-msgdb-delete-path): Ditto.
7419 (elmo-msgdb-rename-path): Ditto.
7421 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7422 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7423 (elmo-maildir-delete-mark-msgs): Ditto.
7424 (elmo-maildir-msgdb-create): Ditto.
7425 (elmo-maildir-read-msg): Ditto.
7426 (elmo-maildir-delete-msgs): Ditto.
7427 (elmo-maildir-list-folder-subr): Ditto.
7428 (elmo-maildir-search): Ditto.
7429 (elmo-maildir-get-msg-filename): Ditto.
7430 (elmo-maildir-pack-number): Ditto.
7431 (elmo-maildir-folder-diff): New alias.
7433 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7435 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7436 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7437 (elmo-localdir-folder-diff): New alias.
7439 * elmo-internal.el (elmo-internal-list-folder-subr):
7440 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7441 (elmo-internal-list-folder-by-location): Ditto.
7442 (elmo-internal-msgdb-create): Ditto.
7443 (elmo-internal-delete-msgs): Ditto.
7444 (elmo-internal-read-msg): Ditto.
7445 (elmo-internal-folder-diff): New alias.
7447 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7448 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7449 `elmo-msgdb-expand-path'.
7450 (elmo-imap4-list-folder-unread): Changed arguments.
7451 (elmo-imap4-list-folder-important): Ditto.
7453 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7454 (elmo-filter-list-folder-important): Ditto.
7455 (elmo-filter-folder-diff): New function.
7457 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7459 * elmo-cache.el (elmo-cache-list-folder):
7460 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7461 (elmo-cache-copy-msgs): Ditto.
7462 (elmo-cache-folder-diff): New alias.
7464 * elmo-archive.el (elmo-archive-list-folder-subr):
7465 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7466 (elmo-archive-get-archive-name): Ditto.
7467 (elmo-archive-create-file): Ditto.
7468 (elmo-archive-append-msg): Ditto.
7469 (elmo-archive-copy-msgs): Ditto.
7470 (elmo-archive-copy-msgs-froms): Ditto.
7471 (elmo-archive-get-msg-filename): Ditto.
7472 (elmo-archive-folder-diff): New alias.
7474 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7476 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7477 (elmo-pop3-stream-type-alist): New variable.
7478 (elmo-nntp-stream-type-alist): New variable.
7480 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7481 (elmo-kill-buffer): Ditto.
7482 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7483 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7484 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7485 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7486 (elmo-imap4-get-spec): Take into account
7487 `elmo-imap4-stream-type-alist'.
7489 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7491 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7492 (elmo-nntp-list-folders-get-cache): Ditto.
7494 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7496 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7497 character before 'uid'.
7499 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7501 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7503 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7505 * elmo-util.el (elmo-number-set-member): New function.
7506 (elmo-number-set-append-list): Ditto.
7507 (elmo-number-set-append): Ditto.
7509 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7510 Use `elmo-number-set-member'.
7511 (elmo-living-messages): Ditto.
7512 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7513 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7515 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7516 (elmo-imap4-add-to-cont-list): Abolished.
7517 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7518 instead of elmo-imap4-add-to-cont-list.
7520 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7521 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7523 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7525 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7527 * elmo-util.el (elmo-condition-parse-search-value):
7530 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7532 * elmo-util.el (elmo-condition-find-key-internal): New function.
7533 (elmo-condition-find-key): Ditto.
7535 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7536 (elmo-msgdb-search-internal): Ditto.
7537 (elmo-msgdb-search): Ditto.
7539 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7541 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7542 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7544 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7545 (elmo-nntp-search-primitive): Fixed problem when condition is
7548 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7550 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7551 (elmo-nntp-xhdr-p): New macro.
7552 (elmo-nntp-set-xhdr): Ditto.
7553 (elmo-nntp-parse-xhdr-response): New function.
7554 (elmo-nntp-retrieve-field): Ditto.
7555 (elmo-nntp-search-primitive): Ditto.
7556 (elmo-nntp-search): Implemented.
7558 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7560 * elmo-archive.el (elmo-archive-search): Set all number list to
7561 `elmo-archive-field-condition-match'
7563 * elmo-localdir.el (elmo-localdir-search): Likewise.
7565 * elmo-maildir.el (elmo-maildir-search): Likewise.
7567 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7569 * elmo-msgdb.el (elmo-living-messages): New function.
7570 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7571 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7572 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7573 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7574 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7575 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7576 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7577 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7578 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7579 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7580 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7582 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7584 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7586 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7588 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7590 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7591 arguments for `SEARCH' command.
7592 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7593 All other related portions are changed.
7595 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7597 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7598 (elmo-list-folder-unread): Rewrite.
7599 (elmo-list-folder-important): Ditto.
7601 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7602 (elmo-condition-parse-error): New inline function.
7603 (elmo-read-search-condition): New function.
7604 (elmo-read-search-condition-internal): Ditto.
7605 (elmo-parse-search-condition): Rewrite.
7606 (elmo-condition-parse): New function.
7607 (elmo-condition-parse-or-expr): Ditto.
7608 (elmo-condition-parse-and-expr): Ditto.
7609 (elmo-condition-parse-primitive): Ditto.
7610 (elmo-condition-parse-search-value): Ditto.
7611 (elmo-buffer-field-primitive-condition-match): Ditto.
7612 (elmo-buffer-field-condition-match): Rewrite.
7613 (elmo-file-field-condition-match): Ditto.
7615 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7616 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7618 * elmo-internal.el (elmo-internal-search): Set `number' and
7619 `number-list' argument of `elmo-file-field-condition-match'.
7621 * elmo-maildir.el (elmo-maildir-search): Ditto.
7623 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7624 `msgdb' as argument instead of `mark-alist'.
7625 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7628 * elmo-multi.el: Likewise.
7630 * elmo-pipe.el: Likewise.
7632 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7633 (elmo-imap4-search-internal): Rewrite.
7634 (elmo-imap4-search): Ditto.
7636 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7637 (elmo-filter-list-folder-unread): Ditto.
7638 (elmo-filter-list-folder-important): Ditto.
7639 (elmo-filter-search): Rewrite.
7641 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7642 `number-list' argument of `elmo-file-field-condition-match'.
7643 (elmo-cache-search): Ditto.
7645 * elmo-localdir.el: Likewise.
7647 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7648 number-list and pass it to `elmo-buffer-field-condition-match'.
7649 (elmo-archive-field-condition-match): Pass `number-list' to
7650 `elmo-archive-field-condition-match'
7652 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7654 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7657 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7658 (elmo-folder-diff-async-callback-data): Ditto.
7659 (elmo-folder-diff-async): New function.
7661 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7662 (elmo-network-session-cache-key): Use it as a prefix of the session
7664 (elmo-network-open-session): Ditto.
7666 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7667 (elmo-imap4-status-callback-data): Ditto.
7668 (elmo-imap4-server-diff-async-callback): New variable.
7669 (elmo-imap4-server-diff-async-callback-data): Ditto.
7670 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7671 `elmo-imap4-status-callback-data'.
7672 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7673 `elmo-imap4-status-callback-data' as nil.
7674 (elmo-imap4-server-diff): Ditto.
7675 (elmo-imap4-server-diff-async-callback-1): New function.
7676 (elmo-imap4-server-diff-async): Ditto.
7677 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7679 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7681 * elmo-util.el (elmo-list-delete): Doc fix.
7682 (elmo-delete-lists): Abolish.
7683 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7684 instead of `elmo-delete-lists'.
7686 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7688 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7691 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7693 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7694 `elmo-imap4-literal-subr'.
7695 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7696 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7698 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7700 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7701 (elmo-archive-list-folder): Fix.
7702 (elmo-archive-max-of-folder): Fix.
7704 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7706 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7707 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7708 (elmo-localdir-append-msg): Ditto.
7709 (elmo-localdir-list-folder): Fix for `nonsort'.
7710 (elmo-localdir-list-folder-subr): Fix for `killed'.
7711 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7712 (elmo-maildir-list-folder-subr): Ditto.
7713 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7714 (elmo-archive-list-folder-subr): Ditto.
7715 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7716 (elmo-internal-list-folder-subr): Ditto.
7718 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7720 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7722 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7724 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7726 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7728 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7729 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7731 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7733 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7734 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7736 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7738 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7740 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7741 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7742 before STORE command.
7744 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7746 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7748 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7749 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7751 (elmo-imap4-list-folders): Removed unused local variable.
7752 (elmo-network-initialize-session): Ditto.
7753 (elmo-imap4-delete-msg-by-id): Ditto.
7754 (elmo-imap4-parse-fetch): Ditto.
7755 (elmo-imap4-copy-msgs): Ditto.
7756 Use `dst-spec' instead of `dst-folder'.
7757 (elmo-network-authenticate-session): Check authenticate type `plain'.
7759 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7761 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7763 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7764 `elmo-imap4-response-value'.
7765 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7767 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7769 * elmo-imap4.el (elmo-imap4-send-command):
7770 Cause elmo-imap4-bye-error when current response is BYE.
7771 (elmo-imap4-arrival-filter): Changed greeting response value.
7773 * elmo2.el (elmo-imap4-bye-error): Define.
7775 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7776 (elmo-imap4-server-diff): Ditto.
7777 (elmo-imap4-response-bye-p): New macro.
7778 (elmo-imap4-response-error-text): Get text from BYE response.
7779 (elmo-imap4-read-response): Return if BYE response.
7780 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7781 (elmo-imap4-folder-exists-p): Ditto.
7782 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7783 (elmo-imap4-parse-bye): New function.
7784 (elmo-imap4-parse-response): Remove needless let.
7785 Call `elmo-imap4-parse-bye'.
7787 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7789 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7790 the mailbox does not exist.
7791 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7793 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7795 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7797 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7799 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7801 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7802 (elmo-network-initialize-session-buffer): Defined.
7804 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7806 (mmelmo-imap4-get-mime-entity): Rewrite.
7808 * elmo2.el (elmo-error): Capitalize error message.
7810 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7811 (elmo-network-session-buffer): New macro.
7812 (elmo-network-open-session): Use it.
7814 * elmo-imap4.el: Rewrite.
7816 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7818 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7820 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7822 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7823 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7824 (elmo-imap4-create-msgdb-from-overview-string): Use
7825 `elmo-msgdb-create-overview-from-buffer'.
7827 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7829 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7830 (elmo-imap4-default-hierarchy-delimiter): New variable.
7831 (elmo-imap4-list-folders): Use it.
7833 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7835 * elmo-net.el (elmo-network-open-session): Add user and
7836 stream-type for process-buffer name.
7838 * elmo-pop3.el (elmo-network-initialize-session): Call
7839 buffer-disable-undo.
7841 * elmo-imap4.el (elmo-network-initialize-session):
7842 Set current-buffer as an argument for `buffer-disable-undo'.
7844 * elmo-pop3.el (elmo-network-close-session): Don't use
7847 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7848 Set default as 'user.
7850 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7852 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7853 and `elmo-imap4-flush-connection'.
7855 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7856 (elmo-pop3-get-spec): Assume auth as symbol.
7857 (elmo-open-network-stream): Moved to `elmo-net'.
7859 * elmo-pop3.el (toplevel): Require 'elmo-net.
7860 Define `sasl-cram-md5' to silence byte compilier.
7861 (elmo-pop3-connection-cache) Abolished.
7862 (elmo-pop3-authenticator-alist) New variable.
7863 (elmo-pop3-session): Define.
7864 (elmo-pop3-connection-get-process): Abolished.
7865 (elmo-pop3-connection-get-buffer): Ditto.
7866 (elmo-pop3-close-connection): Ditto.
7867 (elmo-pop3-flush-connection): Ditto.
7868 (elmo-pop3-get-connection): Ditto.
7869 (elmo-pop3-get-session): New function.
7870 (Replacement for `elmo-pop3-get-connection').
7871 All other related modules are changed.
7872 (elmo-network-close-session): Define.
7873 (elmo-pop3-send-command): Abolished argument `buffer'.
7874 All other related modules are changed.
7875 (elmo-pop3-read-response): Likewise.
7876 (elmo-pop3-open-connection): Abolished.
7877 (elmo-pop3-auth-user): New function.
7878 (elmo-pop3-auth-apop): Ditto.
7879 (elmo-pop3-auth-cram-md5): Ditto.
7880 (elmo-pop3-auth-scram-md5): Ditto.
7881 (elmo-pop3-auth-digest-md5): Ditto.
7882 (elmo-network-initialize-session): Define.
7883 (elmo-network-authenticate-session): Ditto.
7884 (elmo-network-setup-session): Ditto.
7886 * elmo-imap4.el (toplevel): Require 'elmo-net.
7887 (elmo-imap4-session): Define.
7888 (elmo-imap4-connection-cache): Abolished.
7889 (elmo-imap4-password-key): Ditto.
7890 (elmo-imap4-flush-connection): Ditto.
7891 (elmo-imap4-get-connection): Ditto.
7892 All other related modules are changed.
7893 (elmo-imap4-get-session): New function
7894 (Replacement for `elmo-imap4-get-connection').
7895 (elmo-imap4-read-response): Abolished argument `buffer'.
7896 All other related modules are changed.
7897 (elmo-imap4-send-command): Likewise.
7898 (elmo-imap4-select-folder): Abolished.
7899 All other related modules are changed.
7900 (elmo-imap4-select-mailbox): New function.
7901 (Replacement for `elmo-imap4-select-folder').
7902 (elmo-imap4-auth-login): Simplify.
7903 (Assume current buffer as process buffer)
7904 (elmo-imap4-auth-cram-md5): Ditto.
7905 (elmo-imap4-auth-digest-md5): Ditto.
7906 (elmo-imap4-login): Ditto.
7907 (elmo-imap4-open-connection): Abolished.
7908 (elmo-imap4-open-connection-1): Abolished.
7909 (elmo-network-initialize-sessoin): Define.
7910 (elmo-network-authenticate-session): Ditto.
7911 (elmo-network-setup-session): Ditto.
7913 * elmo-net.el: New module.
7915 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7917 * elmo-util.el (elmo-define-error): New function.
7919 * elmo2.el (elmo-error): Define.
7920 (elmo-open-error): Define.
7921 (elmo-authenticate-error): Define.
7923 * elmo-imap4.el (elmo-imap4-error): Abolish.
7924 (elmo-imap4-error-type): Abolish.
7925 (elmo-imap4-error-process): Abolish.
7926 (elmo-imap4-error-message): Abolish
7927 (elmo-imap4-list-folders): Don't quote lambda.
7928 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7929 (elmo-imap4-parse-namespace): Ditto.
7930 (elmo-imap4-open-connection): Rewrite.
7931 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7932 (elmo-imap4-get-connection): Abolish local variable `result'.
7934 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7936 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7937 wrong-type-argument error when auth is nil.
7939 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7941 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7942 (elmo-default-nntp-stream-type): Ditto.
7943 (elmo-default-pop3-stream-type): Ditto.
7944 (elmo-network-stream-type-alist): Ditto.
7945 (elmo-default-imap4-ssl): Abolished.
7946 (elmo-default-nntp-ssl): Ditto.
7947 (elmo-default-pop3-ssl): Ditto.
7949 * elmo-util.el: (toplevel): Removed needless requires.
7950 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7951 (elmo-open-network-stream): Open network stream according to
7952 the value of `elmo-network-stream-type-alist'.
7953 (elmo-get-network-stream-type): New function.
7954 (elmo-network-stream-type-spec-string): New macro.
7955 (elmo-network-stream-type-symbol): Ditto.
7956 (elmo-network-stream-type-function): Ditto.
7958 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7959 network-stream-type. All other related portions are changed.
7960 (elmo-pop3-open-connection): Ditto.
7962 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7963 network-stream-type. All other related portions are changed.
7965 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7966 network-stream-type.All other related portions are changed.
7967 (elmo-imap4-error): New macro.
7968 (elmo-imap4-error-type): Ditto.
7969 (elmo-imap4-error-process): Ditto.
7970 (elmo-imap4-error-message): Ditto.
7971 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7972 (elmo-imap4-auth-cram-md5): Ditto.
7973 (elmo-imap4-auth-digest-md5): Ditto.
7974 (elmo-imap4-login): Ditto.
7975 (elmo-imap4-open-connection): Remove password entry if authentication
7977 (elmo-imap4-user-at-host): Abolished.
7978 (elmo-imap4-password-key): New buffer local variable.
7979 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7980 using protocol, port, auth and stream-type.
7982 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7984 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7986 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7988 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7990 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7991 (elmo-imap4-authenticator-alist): New variable.
7992 (elmo-imap4-open-connection-1): Rename from
7993 elmo-imap4-open-connection.
7994 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
7995 only wraps elmo-imap4-open-connection-1.
7996 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
7998 (elmo-imap4-auth-login): New function.
7999 (elmo-imap4-auth-cram-md5): New function.
8000 (elmo-imap4-auth-digest-md5): New function.
8001 (elmo-imap4-login): New function.
8003 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8005 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8008 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8010 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8012 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8014 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8016 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8018 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8019 for server responses, quote `*' regardless of where it appears.
8021 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8023 * elmo-maildir.el (elmo-maildir-commit): New alias.
8025 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8027 * elmo-util.el (elmo-display-progress):
8028 Use `progress-feedback-with-label'.
8030 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8032 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8033 (elmo-imap4-non-atom-char-regex): Ditto.
8034 (elmo-imap4-non-text-char-regex): Ditto.
8035 (elmo-imap4-literal-threshold): Ditto.
8036 (elmo-imap4-atom-p): New function.
8037 (elmo-imap4-quotable-p): Ditto.
8038 (elmo-imap4-nil): Ditto.
8039 (elmo-imap4-atom): Ditto.
8040 (elmo-imap4-quoted): Ditto.
8041 (elmo-imap4-literal-subr): Ditto.
8042 (elmo-imap4-literal): Ditto.
8043 (elmo-imap4-buffer-literal): Ditto.
8044 (elmo-imap4-string-subr): Ditto.
8045 (elmo-imap4-string): Ditto.
8046 (elmo-imap4-buffer-string): Ditto.
8047 (elmo-imap4-astring-subr): Ditto.
8048 (elmo-imap4-astring): Ditto.
8049 (elmo-imap4-buffer-astring): Ditto.
8050 (elmo-imap4-nstring): Ditto.
8051 (elmo-imap4-buffer-nstring): Ditto.
8052 (elmo-imap4-mailbox): New alias.
8053 (elmo-imap4-field-body): Ditto.
8054 (elmo-imap4-userid): Ditto.
8055 (elmo-imap4-password): Ditto.
8056 (elmo-imap4-format-quoted): New function.
8057 (elmo-imap4-send-command): Rewritten. Accept a list of command
8058 arguments and handle "atom", "quoted" and "literal" string here.
8059 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8060 `elmo-imap4-send-command'.
8061 (elmo-imap4-folder-exists-p): Likewise.
8062 (elmo-imap4-create-folder): Likewise.
8063 (elmo-imap4-delete-folder): Likewise.
8064 (elmo-imap4-rename-folder): Likewise.
8065 (elmo-imap4-max-of-folder): Likewise.
8066 (elmo-imap4-check-validity): Likewise.
8067 (elmo-imap4-sync-validity): Likewise.
8068 (elmo-imap4-server-diff): Likewise.
8069 (elmo-imap4-select-folder): Likewise.
8070 (elmo-imap4-copy-msgs): Likewise.
8071 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8072 (elmo-imap4-mark-set-on-msgs): Likewise.
8073 (elmo-imap4-read-part): Likewise.
8074 (elmo-imap4-read-msg): Likewise.
8075 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8076 `elmo-imap4-password' for `elmo-imap4-send-command'.
8077 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8078 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8079 `elmo-imap4-buffer-literal'.
8080 (elmo-imap4-append-msg): Likewise.
8082 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8083 `delete' for removing dead connection from the connection cache.
8084 Move deletion of the process buffer after that.
8085 (elmo-imap4-list): Change `defsubst' to `defun'.
8086 (elmo-imap4-commit): Make error message verbose.
8087 (elmo-imap4-search): Ditto.
8088 (elmo-imap4-list): Ditto.
8089 (elmo-imap4-select-folder): Ditto.
8090 (elmo-imap4-copy-msgs): Ditto.
8091 (elmo-imap4-delete-msg-by-id): Ditto.
8092 (elmo-imap4-append-msg-by-id): Ditto.
8093 (elmo-imap4-append-msg): Ditto.
8095 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8097 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8098 when dired is used on XEmacs.
8100 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8102 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8103 instead of `append'.
8104 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8105 `elmo-plugged-p' directly.
8106 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8107 of `elmo-plugged-p' directly.
8109 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8110 Eliminate unused variable. Use `memq' for checking a process status.
8111 Use `cons' instead of `append' for updating the connection cache.
8112 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8113 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8115 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8117 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8118 `elmo-imap4-read-point' exactly.
8120 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8121 the local variable `folder' to `mailbox'.
8122 Rename the argument `fld' to `folder'.
8124 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8126 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8127 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8129 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8131 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8132 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8133 (elmo-pop3-uidl-number-hash): Ditto.
8134 (elmo-pop3-size-hash): Ditto.
8135 (elmo-pop3-uidl-done): Ditto.
8136 (elmo-pop3-list-done): Ditto.
8137 (elmo-pop3-connection-get-process): New defmacro.
8138 (elmo-pop3-connection-get-buffer): Ditto.
8139 (elmo-pop3-close-connection): Delete buffer and process.
8140 (elmo-pop3-flush-connection): Don't delete buffer and process.
8141 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8142 Setup UIDL and size hash.
8143 (elmo-pop3-send-command-no-erase): Deleted
8144 (elmo-pop3-send-command): Added optional argument `no-erase'.
8145 (elmo-pop3-parse-uidl-response): New function.
8146 (elmo-pop3-parse-list-response): Set size hash.
8147 (elmo-pop3-list-location): New function.
8148 (elmo-pop3-list-by-uidl-subr): Ditto.
8149 (elmo-pop3-list-by-list): Ditto.
8150 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8151 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8152 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8153 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8154 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8156 (elmo-pop3-uidl-to-number): New function.
8157 (elmo-pop3-number-to-uidl): Ditto.
8158 (elmo-pop3-number-to-size): Ditto.
8159 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8160 Set number by use of uidl.
8161 (elmo-pop3-msgdb-create-message): Likewise.
8162 Set size, loc-alist in msgdb.
8163 (elmo-pop3-read-msg): Set number by use of uidl.
8164 Added optional argument `msgdb'.
8165 (elmo-pop3-delete-msg): Ditto.
8166 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8167 (elmo-pop3-commit): Close connection.
8169 * elmo-pipe.el (elmo-pipe-max-of-folder):
8170 Bind `elmo-pop3-use-uidl' as nil.
8171 (elmo-pipe-drain): Ditto.
8174 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8175 (elmo-msgdb-overview-entity-set-size): New defsubst.
8177 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8179 * elmo-vars.el (elmo-use-killed-list): New variable
8180 (Renamed from `elmo-nntp-use-killed-list').
8181 (elmo-nntp-use-killed-list): Eliminated.
8183 * elmo-msgdb.el (elmo-msgdb-expand-path):
8184 Changed expanding msgdb path for elmo-multi.
8186 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8187 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8188 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8189 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8190 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8191 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8192 (toplevel): Deleted time-stamp line.
8194 * elmo2.el (elmo-clear-killed ): Defined as function
8195 (Abolished defining as a backend function).
8196 All other related modules are changed.
8198 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8200 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8202 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8204 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8206 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8208 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8210 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8212 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8213 asynchronous folder check.
8215 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8217 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8218 `elmo-nntp-use-killed-list'.
8219 (elmo-nntp-list-folder): Use killed list.
8220 (elmo-nntp-max-of-folder): Ditto.
8221 (elmo-nntp-msgdb-create): Set killed list.
8223 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8225 * elmo2.el (elmo-clear-killed): New backend function.
8226 All other related modules are changed.
8228 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8230 * elmo-util.el (elmo-imap4-spec-folder): Use
8231 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8232 All callers changed.
8234 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8236 * mmelmo-2.el (initialize-instance):
8237 Use `mime-buffer-entity-buffer-internal' instead of
8238 `mime-entity-buffer'.
8240 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8241 (mime-entity-body): Implemented.
8242 (mime-goto-header-start-point): Deleted.
8243 (mime-goto-body-end-point): Ditto.
8244 (mime-entity-point-min): Ditto.
8245 (mime-entity-point-max): Ditto.
8246 (mime-entity-children): Ditto.
8247 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8248 instead of `mime-entity-buffer'.
8249 (mime-entity-header-buffer): Ditto.
8250 (mime-entity-body-buffer): Ditto.
8251 (mime-write-entity-content): Ditto.
8253 * pldap.el (ldap-static-if): New macro.
8254 (toplevel): Use it instead of `static-if'.
8256 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8258 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8259 included in `attrs' argument.
8261 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8263 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8265 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8266 (ldap-ldif-safe-init-char-regexp): Ditto.
8267 (ldap-ldif-safe-string-regexp): Ditto.
8268 (ldap/ldif-safe-string-p): New macro.
8269 (ldap/ldif-insert-field): Ditto.
8270 (ldap-modify): Use it.
8272 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8273 (ldap-decode-attribute): Decode only when `attr' is consp.
8274 (ldap-delete): Bind `ret'.
8275 (toplevel): Require 'cl at compile time.
8276 Removed (require 'poe) and (require 'std11).
8277 (pldap-version): Eliminated.
8278 (ldap-search-basic): Removed auth and dn binding.
8279 (ldap-ldif-field-name-regexp): New constant.
8280 (ldap-ldif-field-head-regexp): Ditto.
8281 (ldap-ldif-next-field-head-regexp): Ditto.
8282 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8283 (ldap/field-end): New function.
8284 (ldap/field-body): Use it.
8285 (ldap/collect-field): Ditto.
8286 (ldap-search-basic): Use `ldap/field-body'.
8288 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8290 * pldap.el (ldap-default-attribute-encoder): New user option.
8291 (ldap/field-body): Decode base64 string.
8292 (ldap/collect-field): Ditto.
8293 (ldap-encode-attribute): New function.
8294 (ldap-add-entries): Use it.
8295 (ldap-modify-entries): Ditto.
8296 (ldap-search-entries): Enclosed decoding function with
8297 `with-temp-buffer' and set as unibyte.
8298 (ldap-search-basic): Set process buffer as unibyte.
8300 * elmo-util.el (elmo-folder-identical-system-p):
8301 Eliminated name space checking.
8303 * pldap.el: New module.
8304 toplevel: Changed condition to detect built-in ldap feature.
8305 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8306 (ldap-add): Added error handling.
8307 (ldap-modify): Ditto.
8308 (ldap-delete): Ditto.
8310 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8312 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8313 Initialize local variables with `let'. Inline a temporary
8314 variable for the progress percentage. Sort `setq' to reduce
8315 function call in the while-loop.
8317 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8318 into the conditional branch.
8320 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8322 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8323 Move a conditional out of the while-loop.
8325 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8327 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8328 elmo-msgdb-overview-get-entity-by-number.
8329 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8332 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8334 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8335 the local variable for a packed number self descriptively.
8337 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8339 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8340 * elmo-localdir.el (elmo-localdir-pack-number): Use
8341 `elmo-msgdb-overview-get-entity' instead of
8342 `elmo-msgdb-overview-get-entity-by-number'.
8343 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8344 (elmo-msgdb-search-overview-entity): Removed.
8345 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8346 by message-id or number.
8347 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8348 instead of `elmo-msgdb-overview-get-entity-by-number'.
8350 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8352 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8353 non-nil, use hash table for overview.
8354 (elmo-hash-maximum-size): New variable.
8355 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8356 (elmo-msgdb-make-overview-hashtb): New function.
8357 (elmo-msgdb-clear-overview-hashtb): New function.
8358 (elmo-clear-hash-val): New macro.
8359 All other related modules are changed.
8361 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8363 * elmo2.el (elmo-move-msgs): If there's other message with
8364 same message-id, don't use cache.
8366 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8368 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8369 number is already packed.
8371 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8373 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8375 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8377 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8378 All other related modules are changed.
8380 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8382 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8383 of refiling failure on Maildir.
8385 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8387 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8388 decoded mime-charset with cache.
8389 (elmo-msgdb-overview-entity-get-from): Ditto.
8390 (elmo-msgdb-overview-entity-get-subject): Ditto.
8391 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8393 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8395 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8396 (elmo-remove-passwd): Fill password with 0 before erase.
8397 * elmo-vars.el (elmo-passwd-life-time): New variable.
8400 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8402 * elmo-cache.el (elmo-buffer-cache-add):
8403 Set message cache buffer as unibyte.
8405 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8407 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8410 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8412 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8413 when display is finished.
8414 (elmo-nntp-msgdb-create): Ditto.
8415 (elmo-nntp-groups-read-response): Ditto.
8416 (elmo-nntp-retrieve-headers): Ditto.
8417 (elmo-nntp-msgdb-create-message): Ditto.
8418 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8419 (elmo-pop3-msgdb-create-message): Ditto.
8421 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8423 * elmo-maildir.el (elmo-maildir-msgdb-create):
8424 Use `elmo-msgdb-sort-by-date'.
8426 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8428 * elmo2.el (elmo-read-msg-no-cache):
8429 Eliminated arguments after `outbuf'.
8430 Don't use cache even if it exists.
8431 (elmo-read-msg): Don't pass arguments after `outbuf' to
8432 `elmo-read-msg-no-cache'.
8434 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8436 * elmo-archive.el (elmo-archive-list-folders):
8437 Use `file-name-directory' if base folder does not exist.
8439 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8441 * elmo-archive.el (elmo-archive-list-folders): Don't use
8442 `file-name-directory'.
8444 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8446 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8447 If `force' is non-nil, try flushing all operation queues.
8449 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8451 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8454 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8456 * elmo-util.el (elmo-display-progress): Fixed.
8458 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8460 * elmo-util.el (elmo-display-progress): New function.
8461 All other related modules are changed.