1 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * modb-standard.el (modb-standard-loaded-message-id): Use
4 `elmo-msgdb-message-entity-field'.
6 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
11 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
13 * elmo-util.el (elmo-set-auto-coding): New function.
14 (elmo-object-load): Use it.
16 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
18 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
19 (elmo-time<): Define as alias of `elmo-time-less-p'.
20 (elmo-time-to-datevec): New function.
22 * elmo-date.el (elmo-time-to-days): New function.
24 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
26 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
29 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
31 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
34 * elmo-util.el (elmo-map-recursive): New function.
36 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
37 (modb-entity-encode-string-recursive): Ditto.
39 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
41 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
42 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
43 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
44 compare sequence number when last modified time is nil.
46 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
48 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
50 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
52 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
54 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
55 modification time of the file.
57 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
59 * elmo-util.el (elmo-condition-optimize): Discriminated against
60 preserved fields, extra fields and the other weight.
62 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
64 * modb-entity.el (initialize-instance): Define.
65 (modb-entity-handler-mime-charset): New internal function.
66 (modb-standard-entity-set-field): Use it.
67 (elmo-msgdb-message-entity-field): Ditto.
68 (elmo-msgdb-message-entity-field): Ditto.
70 * modb.el (elmo-msgdb-match-condition): Rewrite with
71 `elmo-condition-match'.
72 (elmo-msgdb-match-condition-primitive): New function.
74 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
75 arguments `flags' and `numbers'.
76 (elmo-msgdb-match-condition-primitive): Abolished (merged to
77 `elmo-msgdb-message-match-condition').
78 (modb-buffer-entity-handler): New class.
80 * elmo.el (elmo-folder-search): Optimize condition to use
81 `elmo-condition-optimize'.
82 (elmo-message-buffer-match-condition): New function.
83 (elmo-message-match-condition): Use
84 `elmo-message-buffer-match-condition' instead of
85 `elmo-buffer-field-condition-match'.
87 * elmo-util.el (elmo-condition-match): New function.
88 (elmo-condition-optimize): Ditto.
89 (elmo-buffer-field-primitive-condition-match): Abolish.
90 (elmo-buffer-field-condition-match): Ditto.
92 * elmo-archive.el (elmo-archive-field-condition-match): Use
93 `elmo-message-buffer-match-condition' instead of
94 `elmo-buffer-field-condition-match'.
96 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
98 * elmo-flag.el (elmo-global-flags-initialize): Check the
99 existence of the flag directory.
101 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
103 * elmo-access.el (elmo-folder-initialize): Call
104 `elmo-multi-connect-signals'.
106 * elmo-pipe.el (elmo-folder-close): Define.
108 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
111 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
114 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
117 * elmo-multi.el (elmo-message-entity): Don't use return value of
118 `elmo-message-entity-set-number'.
120 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
122 * modb.el (modb-generic): Added slot `mime-charset'.
124 * modb-standard.el (modb-standard): Added slot `overview-handler'.
125 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
126 and `modb-entity-handler-dump-parameters'.
127 (modb-standard-default-entity-handler): Abolish.
128 (elmo-msgdb-message-entity-handler): Save created handler by
131 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
132 (modb-entity-handler-list-parameters): New method.
133 (modb-entity-handler-equal-p): New function.
134 (modb-entity-handler-dump-parameters): Ditto.
135 (modb-entity-parse-address-string): Encode return value.
136 (modb-entity-make-address-string): Decode argument value.
137 (modb-entity-decode-string-recursive): New function.
138 (modb-entity-encode-string-recursive): Ditto.
139 (modb-standard-entity-normalizer): Set to encode field value.
140 (modb-standard-entity-specializer): Follow the above change.
141 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
142 mime-charset of handler.
143 (elmo-msgdb-message-entity-field): Ditto.
144 (elmo-msgdb-copy-message-entity): Fixed reference to internal
146 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
148 * elmo.el (elmo-folder): Added slot `mime-charset'.
149 (elmo-make-folder): Added argument `mime-charset'.
150 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
153 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
154 (elmo-make-msgdb): Likewise.
156 * elmo-internal.el (elmo-internal-folder-initialize): Call
157 `luna-make-entity' with :mime-charset parameter.
159 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
161 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
162 encoded words in `from' and `subject' field.
164 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
166 * modb.el (elmo-msgdb-message-field): Add argument `type'.
167 (elmo-msgdb-match-condition): Get handler from entity instead of
170 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
171 (modb-standard-load-entity): Treat new file format.
172 (modb-standard-save-entity-1): Save as new file format.
173 (modb-standard-save-entity): Split messages into section here.
174 (elmo-msgdb-message-field): Follow the API change.
175 (modb-standard-default-entity-handler): New internal variable.
176 (elmo-msgdb-message-entity-handler): Define.
178 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
180 (modb-entity-field-extractor-alist): New user option.
181 (elmo-msgdb-message-entity-field): Removed argument `decode' and
182 added argument `type'.
183 (elmo-msgdb-copy-message-entity): Add optional argument
185 (modb-set-field-converter): New function.
186 (modb-convert-field-value): Ditto.
187 (modb-entity-string-decoder): Ditto.
188 (modb-entity-string-encoder): Ditto.
189 (modb-entity-parse-date-string): Ditto.
190 (modb-entity-make-date-string): Ditto.
191 (modb-entity-mime-decoder): Ditto.
192 (modb-entity-mime-encoder): Ditto.
193 (modb-entity-address-list-decoder): Ditto.
194 (modb-entity-address-list-encoder): Ditto.
195 (modb-entity-parse-address-string): Ditto.
196 (modb-entity-make-address-string): Ditto.
197 (modb-entity-create-field-indices): Ditto.
198 (modb-legacy-entity-field-slots): New constant.
199 (modb-legacy-entity-field-indices): Ditto.
200 (modb-legacy-entity-normalizer): New variable.
201 (modb-legacy-entity-specializer): Ditto.
202 (modb-legacy-entity-field-index): New macro.
203 (modb-legacy-entity-set-field): New function.
204 (modb-legacy-make-message-entity): Rewrite.
205 (elmo-msgdb-create-message-entity-from-buffer): Use
206 `elmo-msgdb-get-references-from-buffer'. Use
207 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
208 Use `modb-legacy-entity-set-field' instead of
209 `elmo-msgdb-message-entity-set-field'.
210 (elmo-msgdb-message-entity-field): Rewrite.
211 (elmo-msgdb-message-entity-set-field): Ditto.
212 (elmo-msgdb-copy-message-entity): Make new entity by
213 `make-handler' if it specified.
214 (elmo-msgdb-message-match-condition): Define a method of
215 `modb-entity-handler' and follow the API change.
216 (modb-standard-entity-handler): New class.
217 (modb-entity-extract-ml-info-from-x-sequence): New function.
218 (modb-entity-extract-ml-info-from-subject): Ditto.
219 (modb-entity-extract-ml-info-from-return-path): Ditto.
220 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
221 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
222 (modb-entity-extract-mailing-list-info): Ditto.
223 (modb-entity-extract-mailing-list-info-functions): New variable.
225 * elmo.el (elmo-message-field): Add optional argument `type'.
227 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
228 from `modb-entity.el'.
230 * elmo-util.el (elmo-object-load): Decode by coding-system from
231 `set-auto-coding-function'.
232 (elmo-object-save): Use `detect-mime-charset-region' and add
233 coding cookie if encode.
234 (elmo-msgdb-get-references-from-buffer): New function.
235 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
237 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
239 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
240 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
241 instead of `shimbun-make-header' and follow the API change.
242 (elmo-shimbun-update-overview): Follow the API change.
243 (elmo-map-folder-list-message-locations): Ditto.
245 * elmo-pipe.el (elmo-message-field): Ditto.
247 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
250 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
252 * elmo-multi.el (elmo-message-field): Ditto.
254 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
255 (elmo-msgdb-sort-by-date): Ditto.
256 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
257 `elmo-message-entity-field'.
258 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
260 (elmo-msgdb-overview-entity-get-from): Ditto.
261 (elmo-msgdb-overview-entity-get-subject): Ditto.
262 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
263 (elmo-msgdb-overview-entity-get-date): Ditto.
264 (elmo-msgdb-overview-entity-get-to): Ditto.
265 (elmo-msgdb-overview-entity-get-cc): Ditto.
267 * elmo-mime.el (elmo-message-mime-entity): Ditto.
268 (elmo-mime-collect-message/partial-pieces): Ditto.
270 * elmo-filter.el (elmo-message-field): Ditto.
272 * elmo-date.el (elmo-datevec-to-time): New function.
273 (elmo-time-parse-date-string): Ditto.
274 (elmo-time-make-date-string): Ditto.
277 * elmo-version.el (elmo-version): Up to 2.15.1.
279 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
281 * elmo-flag.el (elmo-global-flags-initialize): Don't include
282 member of elmo-local-flags.
284 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
286 * elmo-version.el (elmo-version): Up to 2.15.0.
288 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
290 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
291 `ignore-msgdb' is non-nil.
293 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
295 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
296 (elmo-condition-in-msgdb-p): Ditto.
297 (elmo-file-field-primitive-condition-match): Ditto.
298 (elmo-file-field-condition-match): Ditto.
300 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
302 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
304 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
306 (elmo-global-flags-initialize): New function.
308 * elmo.el (toplevel): Added autoload setting for
309 `elmo-global-flags-initialize'.
311 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
313 * elmo.el (message-number-changed): Define new signal.
314 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
315 message-number-changed signal.
316 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
317 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
318 Respect `elmo-pack-number-check-strict'.
320 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
322 * elmo-signal.el (elmo-connect-signal): Document.
323 (elmo-emit-signal): Ditto.
324 (elmo-emit-signal): It should pass source argument to filter and
325 handler, not slot-source.
327 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
329 * modb.el (elmo-msgdb-update-entity): New API and define generic
332 * modb-standard.el (elmo-msgdb-update-entity): Define.
334 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
335 API and define generic implement.
337 * elmo.el (update-overview): New singnal.
339 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
340 `elmo-msgdb-update-entity' and emit signal `update-overview'.
341 (elmo-message-entity-parent): Define.
343 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
346 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
348 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
350 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
352 * elmo.el (elmo-folder-synchronize): Sort the return value of
355 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
358 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
360 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
361 `default-enable-multibyte-characters'.
362 (elmo-object-load): Use `with-temp-buffer' instead of
364 (elmo-object-save): Ditto.
365 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
367 (elmo-decoded-field-body): Ditto.
369 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
371 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
372 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
374 * elmo-version.el (elmo-version): Up to 2.13.3.
376 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
378 * elmo-util.el (elmo-list-diff): Fix the last change.
379 Reverse order of result lists.
381 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
383 * modb-standard.el (elmo-msgdb-set-flag): Use
384 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
385 (elmo-msgdb-unset-flag): Ditto.
387 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
390 * elmo-util.el (elmo-list-diff): Rewrite.
391 (elmo-list-diff-nonsortable): New function.
393 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
395 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
396 `elmo-multibypte-buffer-name'. All referers are updated.
398 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
400 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
401 (elmo-mime-entity-fragment-p): New function.
402 (mime-elmo-buffer-entity): Added slot `reassembled'.
403 (elmo-message-mime-entity): Added 4th argument `reassemble'.
404 (elmo-message-mime-entity-internal): New function (renamed from
405 `elmo-message-mime-entity').
406 (elmo-mime-inherit-field-list-from-enclosed): New constant.
407 (elmo-mime-make-reassembled-mime-entity): New function.
408 (elmo-message-reassembled-mime-entity): Ditto.
409 (elmo-mime-collect-message/partial-pieces): Ditto.
411 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
413 * elmo.el (elmo-message-fetch-string): Disable multibyte.
415 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
416 (elmo-with-enable-multibyte): New macro.
418 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
420 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
422 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
424 (elmo-filter-connect-signals): Follow the above change.
426 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
428 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
430 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
431 that only the first flag is used.
433 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
435 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
438 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
440 * elmo-signal.el: New file.
442 * elmo.el (toplevel): Require elmo-signal.
443 (flag-changing, flag-changed, cache-changed): New signal.
444 (elmo-folder): Remove slog `handlers'.
445 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
446 `elmo-folder-notify-event'.
447 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
448 (elmo-folder-unset-flag): Ditto.
449 (elmo-event-handler): Abolish.
450 (elmo-event-handler-flag-changed): Ditto.
451 (elmo-event-handler-cache-changed): Ditto.
452 (elmo-folder-add-handler): Ditto.
453 (elmo-folder-remove-handler): Ditto.
454 (elmo-folder-notify-event): Ditto.
456 * elmo-pipe.el (toplevel): Require elmo-signal.
457 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
458 (elmo-pipe-connect-signals): New function.
459 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
460 (elmo-folder-set-flag): Ditto.
461 (elmo-folder-unset-flag): Ditto.
462 (elmo-message-set-cached): Ditto.
464 * elmo-multi.el (toplevel): Require elmo-signal.
465 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
466 (elmo-multi-connect-signals): New function.
467 (elmo-multi-map-numbers): Ditto.
468 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
469 (elmo-message-fetch): Ditto.
470 (elmo-folder-set-flag): Ditto.
471 (elmo-folder-unset-flag): Ditto.
473 * elmo-filter.el (toplevel): Require elmo-signal.
474 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
475 (elmo-filter-connect-signals): New function.
476 (elmo-filter-add-flag-count): Ditto.
477 (elmo-message-fetch): Does not call
478 `elmo-filter-folder-countup-message-flags' and
479 `elmo-folder-notify-event'.
480 (elmo-message-set-cached): Ditto.
481 (elmo-folder-set-flag): Ditto.
482 (elmo-folder-unset-flag): Ditto.
484 * elmo-version.el (elmo-version): Up to 2.13.2.
486 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
488 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
491 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
493 * elmo-filter.el (elmo-message-set-cached): Call
494 `elmo-folder-notify-event' with event `cache-changed'.
496 * elmo-multi.el (elmo-message-set-cached): Ditto.
498 * elmo-pipe.el (elmo-message-set-cached): Ditto.
500 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
502 * elmo.el (elmo-folder-encache): Abolish.
504 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
506 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
507 (elmo-folder-next-message-number-dop): Return appropriate negative
510 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
512 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
513 clearing pending operations.
514 (elmo-folder-next-message-number-dop): Return appropriate negative
517 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
519 * elmo.el (toplevel): Added autoload setting for `md5'.
520 (elmo-msgdb-path-encode-threshold): New user option.
521 (elmo-folder-msgdb-path): Encode msgdb path if its length is
522 longer than `elmo-msgdb-path-encode-threshold'.
524 * elmo-flag.el (elmo-global-mark-migrate): Use
525 `elmo-folder-expand-msgdb-path' instead of
526 `elmo-folder-msgdb-path'.
528 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
530 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
531 element of the difference is nil.
533 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
535 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
536 to the check logic of file systems which are weak in colon character.
538 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
540 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
542 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
544 * elmo-maildir.el (elmo-maildir-move-file): New function.
545 (elmo-folder-append-buffer): Use it.
546 (elmo-folder-append-messages): Ditto.
547 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
549 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
550 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
552 * elmo-maildir.el (elmo-maildir-separator): New user option.
553 (elmo-maildir-adjust-separator): New macro.
554 (elmo-maildir-list-location): Use it.
555 (elmo-maildir-update-current): Ditto.
556 (elmo-maildir-set-mark): Ditto.
557 (elmo-maildir-delete-mark): Ditto.
558 (These changes are based on Hiroya Murata's patch [wl: 13437])
560 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
562 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
564 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
566 * elmo-flag.el (elmo-flag-valid-p): Simplify.
567 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
568 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
570 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
572 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
573 Use `with-temp-buffer'.
575 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
577 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
579 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
580 `wl-read-search-condition').
581 (elmo-read-search-condition-internal): Likewise.
583 * elmo-flag.el (elmo-flag-char-regexp): New constant.
584 (elmo-flag-valid-p): New function.
585 (elmo-folder-initialize): Check flag name is valid.
587 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
589 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
590 delimiter to obtain root mailbox itself.
592 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
594 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
597 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
599 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
602 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
604 * elmo-shimbun.el (toplevel): Require cl at compile.
606 * elmo-nntp.el (toplevel): Ditto.
608 * elmo-nmz.el (toplevel): Ditto.
610 * elmo-multi.el (toplevel): Ditto.
612 * elmo-file.el (toplevel): Ditto.
614 * elmo-dop.el (toplevel): Ditto.
616 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
618 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
620 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
623 * elmo.el (elmo-message-fetch): Return t even when the output buffer
624 size of elmo-message-fetch-internal is 0 byte.
626 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
628 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
630 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
632 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
635 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
637 * elmo-maildir.el (elmo-map-message-fetch): Call
638 `elmo-map-folder-set-flag'.
640 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
641 (elmo-message-fetch): Merge from
642 `elmo-message-fetch-with-cache-process'.
644 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
645 (elmo-message-fetch): Define.
647 * elmo-nntp.el (elmo-message-fetch): Renamed from
648 `elmo-message-fetch-with-cache-process'.
650 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
651 (elmo-message-fetch): Define.
653 * elmo-util.el (elmo-condition-parse-primitive): Downcase
656 * elmo-shimbun.el (shimbun-mua-search-id): Use
657 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
658 (elmo-shimbun-folder-shimbun-header): Ditto.
659 (elmo-shimbun-get-headers): Ditto.
660 (elmo-shimbun-update-overview): Ditto.
662 * elmo-pipe.el (elmo-folder-detach-messages): Define.
664 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
665 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
667 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
669 * elmo.el (elmo-message-fetch): Unset unread flag on server when
671 (elmo-message-fetch-string): Fixed argument.
673 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
675 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
676 exchange order of arguments `section' and `unread'.
677 (elmo-message-encache): Follow the API change.
678 (elmo-message-match-condition): Ditto.
679 (elmo-generic-folder-append-messages): Ditto.
680 (elmo-message-fetch-string): New function.
682 * elmo-split.el (elmo-split-subr): Ditto.
684 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
686 * elmo-pipe.el (elmo-message-fetch): Ditto.
688 * elmo-multi.el (elmo-message-fetch): Ditto.
690 * elmo-mime.el (elmo-message-mime-entity): Ditto.
692 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
694 * elmo-filter.el (elmo-message-fetch): Ditto.
696 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
698 * elmo-imap4.el (mime-imap-location-section-body): Use
699 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
700 follow the API change.
702 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
704 * elmo-access.el: New file.
706 * elmo-null.el: Ditto.
708 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
710 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
712 * elmo-net.el (elmo-network-session-idle-timeout): New option.
713 (elmo-network-session): New attribute `last-accessed'.
714 (elmo-network-get-session): Discard network cache if elapsed time
715 since last-accessed is larger than elmo-network-session-idle-timeout.
717 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
719 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
720 and added `number', `require-entireness'.
721 (elmo-find-fetch-strategy): Rewrite.
722 (elmo-message-fetch): Unset `unread' flag when argument unread is
725 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
727 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
728 (elmo-message-fetch): Notify event `flag-changed'.
730 * elmo-pipe.el: Likewise.
732 * elmo-mime.el (elmo-mime-entity): New class.
733 (elmo-mime-entity-display-p): New generic function.
734 (elmo-mime-entity-display): Ditto.
735 (elmo-mime-entity-display-as-is): Ditto.
736 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
738 (elmo-make-mime-message-location): Removed.
739 (elmo-mime-message-display): Ditto.
740 (elmo-mime-display-as-is): Ditto.
741 (elmo-message-mime-entity): New function.
743 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
745 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
747 (elmo-message-fetch): Re-count flagged message number and notify
748 event `flag-changed'.
750 * elmo-version.el (elmo-version): Up to 2.13.1.
752 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo-filter.el (elmo-message-field): Define.
755 (elmo-message-set-field): Ditto.
757 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
759 * elmo.el (elmo-message-set-cached): Call
760 `elmo-folder-notify-event' with cache-changed.
761 (elmo-event-handler-cache-changed): New generic function.
763 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
765 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
766 instead of elmo-add-name-to-file.
767 (elmo-folder-append-messages): Ditto.
769 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
771 * elmo.el (elmo-folder-update-threshold): Add nil to range.
773 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
775 * elmo-version.el (elmo-version): Up to 2.13.0.
777 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
780 * modb-standard.el (modb-standard-economize-entity-size): Changed
781 default value to `t'.
783 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
786 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
787 after parsing greeting string.
789 2004-11-23 Daishi Kato <daishi@axlight.com>
791 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
793 (elmo-spam-spamoracle-call): Use it.
795 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
797 * elmo.el (elmo-message-accessible-p): Message in dop spool
800 2004-11-23 Daishi Kato <daishi@axlight.com>
802 * elsp-spamoracle.el: New file.
804 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
806 * elmo.el (elmo-message-flags-for-append): New function.
807 (elmo-generic-folder-append-messages): Use it.
809 * elmo-split.el (elmo-split-subr): Ditto.
811 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
812 `flags' and use elmo-folder-append-buffer instead of
813 write-region-as-binary.
814 (elmo-dop-filter-pending-messages): New function.
815 (elmo-folder-append-buffer-dop): Call
816 elmo-dop-spool-folder-append-buffer with `flag'.
817 (elmo-folder-set-flag-dop): Filter messages by
818 elmo-dop-filter-pending-messages.
819 (elmo-folder-unset-flag-dop): Ditto.
820 (elmo-folder-append-buffer-dop-delayed): Use
821 elmo-message-flags-for-append to get flags of the message and
824 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
826 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
828 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
830 * elmo.el (elmo-folder): Added handlers slot.
831 (elmo-event-handler): New class.
832 (elmo-event-handler-flag-changed): New API.
833 (elmo-folder-add-handler): New function.
834 (elmo-folder-remove-handler): Ditto.
835 (elmo-folder-notify-event): Ditto.
836 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
838 (elmo-folder-unset-flag): Ditto.
840 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
841 (elmo-folder-unset-flag): Ditto.
843 * elmo-multi.el (elmo-folder-set-flag): Ditto.
844 (elmo-folder-unset-flag): Ditto.
846 * elmo-filter.el (elmo-folder-set-flag): Ditto.
847 (elmo-folder-unset-flag): Ditto.
849 * elmo-version.el (elmo-version): Up to 2.11.33.
851 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
853 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
855 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
857 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
859 * elmo-flag.el (elmo-folder-unset-flag): Define.
860 (elmo-global-flag-detach): Do process when the flag is not target
863 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
865 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
867 (elmo-msgdb-create-message-entity-from-buffer): Use it.
869 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
871 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
873 (elmo-folder-delete-messages): Detach messages before delete
874 messages from target folder.
875 (elmo-folder-detach-messages): Set updated number-list to slot.
877 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
879 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
881 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
883 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
885 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
887 * elmo.el (elmo-folder-delete-messages-internal): New API (for
889 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
891 (elmo-folder-delete-messages): Define.
892 (elmo-folder-move-messages): Don't call
893 `elmo-folder-detach-messages'.
894 (elmo-folder-synchronize): Rewrite.
895 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
897 * elmo-util.el (elmo-last): New function.
898 (elmo-set-list): Ditto.
899 (elmo-number-set-delete-list): Ditto.
900 (elmo-number-set-delete): Ditto.
902 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
904 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
905 `elmo-folder-delete-messages' and don't delete location map.
906 (elmo-folder-detach-messages): Define.
908 * elmo-imap4.el (elmo-folder-delete): Use
909 `elmo-folder-delete-messages-internal' instead of
910 `elmo-folder-delete-messages'.
912 * elmo-filter.el (elmo-folder-delete-messages): Call
913 `elmo-folder-detach-messages'.
914 (elmo-folder-detach-messages): Don't call
915 `elmo-folder-detach-messages' for target folder.
917 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
918 message deletion is succeeded.
920 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
922 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
923 from `elmo-folder-delete-messages'.
925 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
927 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
929 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
931 * elmo-version.el (elmo-version): Up to 2.11.32.
933 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
935 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
936 (elmo-global-flag-list): Added obsolete variable setting.
938 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
940 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
941 (elmo-mime-insert-header-from-buffer): Don't decode header content when
942 `elmo-mime-display-header-analysis' is nil.
944 * elmo-flag.el (elmo-global-flags): Renamed from
945 `elmo-global-flag-list' (All other related portions are changed).
946 (elmo-local-flags): New variable.
947 (elmo-local-flag-p): New function.
948 (elmo-global-flag-set-internal): Cause an error when flag is not
951 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
953 * elmo-util.el (elmo-concat-path): Treat empty path.
955 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
957 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
959 (elmo-split-address-match): Ditto.
960 (elmo-split-equal): Ditto.
961 (elmo-split-match): Ditto.
963 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
965 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
966 (elmo-generic-folder-append-messages): If src message exists but
967 has no flag, pass (read) for the FLAG argument of
968 `elmo-folder-append-buffer'. Otherwise, pass nil.
970 * elmo-split.el (elmo-split-subr): Likewise.
972 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
974 * elmo-multi.el (elmo-message-flags): Ditto.
976 * elmo-filter.el (elmo-message-flags): Ditto.
978 * elmo.el (elmo-folder-append-buffer): Fix docstring.
979 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
980 pass (read) for the FLAG argument of elmo-folder-append-buffer.
982 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
984 * elmo-split.el (elmo-split-rule): Update comment.
985 (elmo-split-address-equal): Allow 2nd argument to be a list.
986 (elmo-split-address-match): Ditto.
987 (elmo-split-equal): Ditto.
988 (elmo-split-match): Ditto.
990 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
992 * elmo.el (elmo-folder-append-buffer): Fix docstring.
993 (elmo-folder-append-msgdb): Don't treat `read'.
994 (elmo-message-flags): Don't return `read'.
996 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
997 (elmo-folder-unset-read-delayed): Ditto.
999 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1001 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1003 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1006 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1008 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1011 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1013 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1015 (elmo-msgdb-save): Bind inhibit-quit.
1016 (modb-standard-message-entity): Ditto.
1018 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1020 * elmo-database.el: No need to require elmo-msgdb.
1022 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1024 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1025 instead of `elmo-list-subdirectories'.
1027 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1029 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1031 (elmo-folder-exists-p): "[" is empty.
1032 (elmo-folder-list-subfolders): Define.
1033 (elmo-folder-have-subfolder-p): Ditto.
1035 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1037 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1039 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1041 * elmo-filter.el (elmo-folder-local-p): Define.
1043 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1045 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1046 when entity is garbaged.
1047 (modb-standard-save-entity-1): Don't modify the original entity.
1049 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1051 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1053 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1055 * elmo.el (elmo-strict-folder-diff): Use
1056 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1058 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1060 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1061 (elmo-msgdb-message-number): Ditto.
1062 (elmo-msgdb-message-field): Ditto.
1064 * modb-standard.el (modb-standard-economize-entity-size): New user
1066 (modb-standard-loaded-message-id): New inline function.
1067 (modb-standard-load-entity): Use it.
1068 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1069 throw message-id string away.
1070 (elmo-msgdb-flag-available-p): Define.
1071 (elmo-msgdb-message-number): Ditto.
1072 (elmo-msgdb-message-field): Ditto.
1074 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1075 (suppoted -> supported).
1076 (modb-legacy-supported-flag-p): Ditto.
1077 (elmo-msgdb-set-flag): Ditto.
1078 (elmo-msgdb-unset-flag): Ditto.
1079 (elmo-msgdb-flag-available-p): Define.
1081 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1082 is `t', treat it as legacy entity.
1084 * elmo.el (elmo-message-flag-available-p): New generic function.
1085 (elmo-message-number): Ditto.
1086 (elmo-message-field): Use `elmo-msgdb-message-field'.
1088 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1090 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1091 (elmo-message-number): Ditto.
1093 * elmo-multi.el (elmo-message-number): Define.
1094 (elmo-message-flag-available-p): Ditto.
1096 * elmo-filter.el (elmo-message-flag-available-p): Define.
1097 (elmo-message-number): Ditto.
1099 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1100 (elmo-folder-initialize): Load `max-number'.
1101 (elmo-folder-commit): Save it.
1102 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1103 (elmo-global-flag-set-internal): Set up max-number slot.
1105 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1107 * elmo-version.el (elmo-version): Up to 2.11.31.
1109 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1111 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1112 unibyte string of the current buffer for the argument of `md5'
1113 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1115 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1117 * modb-legacy.el (modb-legacy-flag-list): New constant.
1118 (modb-legacy-suppoted-flag-p): New internal function.
1119 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1120 (elmo-msgdb-unset-flag): Ditto.
1122 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1124 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1126 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1129 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1131 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1132 (follow the API change).
1134 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1136 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1138 * modb-standard.el (modb-standard-digest-flags): Abolish.
1139 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1141 * elmo-vars.el (elmo-digest-flags): New variable.
1142 (elmo-preserved-flags): Moved from elmo-flag.el.
1144 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1145 (elmo-imap4-flag-to-imap-criteria): Ditto.
1146 (elmo-imap4-folder-list-flagged): Use it.
1148 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1150 * elmo.el (elmo-folder-count-flags): Changed return value.
1152 * elmo-flag.el (elmo-preserved-flags): New variable.
1153 (elmo-get-global-flags): Use it.
1155 * modb-standard.el (modb-standard-digest-flags): New variable.
1156 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1157 Changed behavior of `any'.
1159 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1160 which are defined the Internet draft
1161 (draft-melnikov-imap-keywords-03.txt).
1162 (elmo-imap4-flags-to-imap): New function.
1163 (elmo-folder-append-buffer): Use it.
1165 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1168 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1169 avoid the bug of Emacs 21.3.
1171 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1173 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1174 function find-coding-system does not exist.
1176 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1178 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1181 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1183 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1186 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1188 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1189 (elmo-network-close-session): Follow the changes in
1190 `elmo-pop3-read-response'.
1191 (elmo-pop3-auth-user): Ditto.
1192 (elmo-pop3-auth-apop): Ditto.
1193 (elmo-network-initialize-session): Ditto.
1194 (elmo-network-authenticate-session): Ditto.
1195 (elmo-network-setup-session): Ditto.
1196 (elmo-folder-status): Ditto.
1197 (elmo-message-fetch-plugged): Ditto.
1198 (elmo-pop3-delete-msg): Ditto.
1200 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1202 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1205 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1207 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1209 (elmo-bind-directory): Ditto.
1211 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1213 * elmo.el (elmo-folder-append-messages): Note on return value.
1214 * elmo-archive.el (elmo-folder-append-messages): Don't return
1215 message numbers which could not be appended.
1217 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1219 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1221 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1223 * elmo-version.el (elmo-version): Up to 2.11.30.
1225 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1227 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1230 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1232 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1233 (elmo-multi-split-numbers): Add elmo-folder object into each
1234 element of return value at first.
1235 (elmo-folder-delete-messages): Follow the above change.
1236 (elmo-folder-detach-messages): Ditto.
1238 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1239 number which is synchronized in target folder.
1241 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1243 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1244 Change default value to symbol `all'.
1245 (elmo-map-message-fetch): Change condition to update overview
1248 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1250 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1251 behavior to update overview.
1252 (elmo-shimbun-update-overview-folder-list): Note it.
1254 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1256 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1259 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1261 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1262 buffer-disable-undo, it is unnecessary.
1263 (elmo-spam-register-good-messages): Ditto.
1265 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1268 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1270 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1272 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1273 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1274 elmo-set-buffer-multibyte.
1275 (elmo-object-load): Ditto.
1276 (elmo-save-buffer): Ditto.
1277 (elmo-delete-char): Ditto.
1278 (elmo-file-field-primitive-condition-match): Ditto.
1279 (elmo-mime-string): Ditto.
1281 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1282 (elmo-archive-field-condition-match): Ditto.
1284 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1286 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1288 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1289 (elmo-nntp-msgdb-create-message): Ditto.
1291 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1293 * elmo.el (elmo-message-match-condition): Ditto.
1294 (elmo-message-match-condition): Ditto.
1296 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1299 * elmo-version.el (elmo-version): Up to 2.11.29.
1301 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1302 (elsp-header): New backend.
1304 * elmo-util.el (elmo-decoded-field-body): New function.
1306 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1308 * elmo-version.el (elmo-version): Up to 2.11.28.
1310 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1312 * elmo-filter.el: Rewrite.
1314 * elmo-version.el (elmo-version): Up to 2.11.27.
1316 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1318 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1319 msgdb path for the localdir folder with absolute path.
1321 * utf7.el: Synch up with latest gnus/utf7.el;
1322 Modified for latest Emacs.
1324 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1326 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1327 shimbun backend couldn't open.
1329 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1331 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1332 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1333 when a destination folder is a filter folder.
1335 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1337 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1338 (elmo-generic-folder-append-messages): Call elmo-message-flags
1339 with argument `msgid'.
1341 * elmo-split.el (elmo-split-subr): Ditto.
1343 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1345 * elmo-multi.el (elmo-message-flags): Ditto.
1347 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1349 * elmo.el (elmo-folder): Add new slot `flag-table'.
1350 (elmo-folder-flag-table): New API.
1351 (elmo-folder-close-flag-table): Ditto.
1352 (elmo-folder-preserve-flags): New function.
1353 (elmo-generic-folder-append-messages): Use
1354 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1355 Flag of a non-registered message, it sets to nil.
1356 Does not set flag to flag-table.
1358 * elmo-maildir.el (elmo-folder-append-buffer): Use
1359 `elmo-folder-preserve-flags'.
1360 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1361 `elmo-folder-close-flag-table'.
1363 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1364 (elmo-archive-folder-append-buffer): Use
1365 `elmo-folder-preserve-flags'.
1367 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1369 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1371 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1372 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1373 `elmo-folder-close-flag-table'.
1375 * elmo-version.el (elmo-version): Up to 2.11.26.
1377 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1379 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1381 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1382 md5's 4th and 5th argument (non-existent in flim one).
1384 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1386 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1387 message, It sets to nil.
1389 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1391 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1394 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1396 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1398 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1400 * elmo-util.el (elmo-uniq-sorted-list): New function.
1401 (elmo-make-number-list): Ditto.
1402 (elmo-number-set-to-number-list): Use elmo-make-number-list
1403 and don't use nreverse.
1405 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1407 * elmo-version.el (elmo-version): Up to 2.11.25.
1409 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1411 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1412 field not exists in message, Use md5 message digest of header.
1414 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1416 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1417 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1418 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1419 * elmo-split.el (elmo-split-subr): Check return value of
1420 elmo-folder-append-buffer.
1422 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1423 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1425 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1428 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1430 * elmo-split.el (elmo-split-subr): Append message with flag.
1432 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1433 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1434 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1436 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1438 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1439 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1440 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1442 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1444 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1445 with a function call of `process-buffer'. All callers are updated.
1446 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1447 Remove redundant `set-buffer' in a while loop.
1449 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1451 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1454 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1456 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1457 elsp-spamfilter-register-buffer-internal with current buffer.
1458 (elmo-spam-register-spam-buffer): Ditto.
1459 (elmo-spam-register-good-buffer): Ditto.
1461 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1463 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1464 if it is not contained in the response(A workaround for courier-imap).
1466 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1468 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1471 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1473 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1476 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1478 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1481 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1483 (elmo-msgdb-message-match-condition): Follow the change above.
1485 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1487 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1490 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1492 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1494 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1496 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1498 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1500 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1503 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1505 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1507 (elmo-file-command-argument): Undo last change for cygwin.
1508 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1510 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1512 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1514 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1515 value returned from elmo-file-find is nil.
1517 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1519 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1522 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1523 instead of insert-file-contents-as-binary.
1524 (elmo-message-set-field): New generic function.
1526 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1527 behavior change on `split-string'.
1529 * elmo-file.el (elmo-file-find): New function.
1530 (elmo-file-command): New user option.
1531 (elmo-file-command-argument): Ditto.
1532 (elmo-file-fetch-max-size): Ditto.
1533 (elmo-file-detect-format): New function.
1534 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1535 Use elmo-file-detect-format.
1536 (elmo-map-folder-list-message-locations): Don't treat directories.
1538 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1540 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1541 (elmo-passwd-alist-clear): Shred password before clear.
1542 (elmo-remove-passwd): Remove all mached pair.
1544 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1546 * elmo.el (elmo-folder-synchronize): Fix description of the return
1549 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1551 * elmo.el (elmo-message-fetch-bodystructure): New method.
1552 (elmo-message-fetch-bodystructure): Define default.
1554 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1555 elmo-message-fetch-bodystructure.
1556 (elmo-message-fetch-bodystructure): Define.
1558 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1560 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1562 * elmo-filter.el (elmo-message-folder): Define.
1564 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1566 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1567 elmo-delete-cr-buffer.
1569 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1571 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1573 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1575 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1576 type seems to be a text.
1578 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1580 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1581 (elmo-spam-register-good-buffer): Ditto.
1582 (elmo-spam-spamassassin-register-messages): Ditto.
1584 * elmo-util.el (elmo-string-member-ignore-case): Define with
1587 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1589 * elmo.el (elmo-folder-type): Undo last change.
1591 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1593 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1596 * elmo-file.el: New file.
1598 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1600 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1602 (elmo-spam-spamassassin-register-messages): New inline function.
1603 (elmo-spam-register-spam-messages): Define.
1604 (elmo-spam-register-good-messages): Ditto.
1606 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1609 * elmo.el (toplevel): Added autoload setting for
1610 `elmo-get-global-flags'.
1611 (elmo-message-has-global-flag-p): New function.
1612 (elmo-message-set-global-flags): Ditto.
1613 (elmo-folder-type): Improvement for name: format.
1615 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1616 availability of keyword flags.
1617 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1618 (elmo-folder-list-flagged-plugged): Renamed from
1619 elmo-folder-list-flagged-unplugged.
1620 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1621 accept any flag as keyword flag.
1622 (elmo-folder-set-flag-plugged): Accept keyword flags.
1623 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1625 * elmo-flag.el (elmo-get-global-flags): New function.
1627 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1630 * elmo-version.el (elmo-version): Up to 2.11.24.
1632 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1634 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1635 elmo-multiple-field-body instead of std11-field-body to check all
1638 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1640 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1643 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1645 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1646 unintern is unbound.
1648 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1650 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1651 Protect from infinite loop.
1653 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1655 * elsp-bogofilter.el
1656 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1657 (elmo-spam-bogofilter-register-messages): New internal function.
1658 (elmo-spam-register-spam-messages): Define.
1659 (elmo-spam-register-good-messages): Ditto.
1661 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1663 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1664 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1665 (elmo-spam-bogofilter-call): Fixed the last change.
1666 (elmo-spam-bogofilter-arguments): Ditto.
1668 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1669 Follow the options change of latest bogofilter.
1671 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1672 (elmo-spam-bogofilter-good-switch): Ditto.
1673 (elmo-spam-bogofilter-arguments-alist): New user option.
1674 (elmo-spam-bogofilter-debug): Ditto.
1675 (elmo-spam-bogofilter-call): Renamed from
1676 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1677 is non-nil, insert output in buffer for debug.
1678 (elmo-spam-bogofilter-arguments): New macro.
1679 (elmo-spam-buffer-spam-p): Use it.
1680 (elsp-bogofilter-register-buffer): Ditto.
1682 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1684 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1687 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1689 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1691 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1692 (elmo-spam-bsfilter-program): Set default value as full path for
1694 (elmo-spam-bsfilter-debug): New user option.
1695 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1696 non-nil, insert output in buffer for debug. Fix treating of
1699 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1701 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1702 `elmo-maildir-flag-specs' element instead of one.
1703 (elmo-map-folder-unset-flag): Ditto.
1704 (Reported by Ken Makimura <macky@astem.or.jp>)
1706 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1707 (elmo-folder-unset-flag-plugged): Ditto.
1709 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1711 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1712 to `reads' slot only if `in-msgdb' is nil.
1714 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1716 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1717 and complement argument list.
1719 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1721 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1722 instead of elmo-folder-list-flagged.
1724 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1726 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1728 * elsp-bsfilter.el: New file.
1730 * elmo-pipe.el (elmo-folder-list-unreads,
1731 elmo-folder-list-answereds,
1732 elmo-folder-list-importants,
1733 elmo-folder-flag-as-important,
1734 elmo-folder-unflag-important,
1735 elmo-folder-flag-as-read,
1736 elmo-folder-unflag-read,
1737 elmo-folder-flag-as-answered,
1738 elmo-folder-unflag-answered): Remove.
1739 (elmo-folder-set-flag): Define.
1740 (elmo-folder-unset-flag): Ditto.
1742 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1743 (elmo-folder-set-flag): Define.
1744 (elmo-folder-unset-flag): Ditto.
1745 (elmo-folder-list-unreads): Remove.
1746 (elmo-folder-list-flagged): Define.
1748 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1749 (elmo-folder-list-unreads,
1750 elmo-folder-list-importants,
1751 elmo-folder-list-answereds,
1752 elmo-folder-list-unreads-plugged,
1753 elmo-folder-list-importants-plugged,
1754 elmo-folder-list-answereds-plugged): Remove.
1755 (elmo-folder-list-flagged-plugged): New method.
1756 (elmo-folder-unflag-important,
1757 elmo-folder-flag-as-important,
1758 elmo-folder-unflag-read,
1759 elmo-folder-flag-as-read,
1760 elmo-folder-unflag-answered,
1761 elmo-folder-flag-as-answered,
1762 elmo-folder-flag-as-read-unplugged,
1763 elmo-folder-unflag-read-unplugged,
1764 elmo-folder-flag-as-important-unplugged,
1765 elmo-folder-unflag-important-unplugged,
1766 elmo-folder-flag-as-answered-unplugged,
1767 elmo-folder-unflag-answered-unplugged): Remove.
1768 (elmo-folder-set-flag): Define.
1769 (elmo-folder-unset-flag): Ditto.
1770 (elmo-folder-set-flag-unplugged): Ditto.
1771 (elmo-folder-unset-flag-unplugged): Ditto.
1773 * elmo-multi.el (elmo-folder-list-unreads,
1774 elmo-folder-list-answereds,
1775 elmo-folder-list-importants,
1776 elmo-folder-flag-as-important,
1777 elmo-folder-unflag-important,
1778 elmo-folder-flag-as-read,
1779 elmo-folder-unflag-read,
1780 elmo-folder-flag-as-answered,
1781 elmo-folder-unflag-answered): Remove.
1782 (elmo-folder-set-flag): Define.
1783 (elmo-folder-unset-flag): Ditto.
1785 * elmo-map.el (elmo-map-folder-unflag-important,
1786 elmo-map-folder-flag-as-important,
1787 elmo-map-folder-unflag-read,
1788 elmo-map-folder-flag-as-read,
1789 elmo-map-folder-unflag-answered,
1790 elmo-map-folder-flag-as-answered): Remove.
1791 (elmo-map-folder-set-flag): New method.
1792 (elmo-map-folder-unset-flag): Ditto.
1793 (elmo-map-folder-list-unreads,
1794 elmo-map-folder-list-importants,
1795 elmo-map-folder-list-answereds): Remove.
1796 (elmo-folder-list-flagged-internal): Define.
1797 (elmo-map-folder-list-flagged): New method.
1799 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1800 (elmo-map-folder-list-unreads,
1801 elmo-map-folder-list-importants,
1802 elmo-map-folder-list-flagged): Remove.
1803 (elmo-map-folder-list-flagged): Define.
1804 (elmo-map-folder-flag-as-important,
1805 elmo-map-folder-unflag-important,
1806 elmo-map-folder-flag-as-read,
1807 elmo-map-folder-unflag-read,
1808 elmo-map-folder-flag-as-answered,
1809 elmo-map-folder-unflag-answered): Remove.
1810 (elmo-maildir-set-mark-messages): New internal function.
1811 (elmo-map-folder-set-flag): Define.
1812 (elmo-map-folder-unset-flag): Ditto.
1814 * elmo.el (toplevel): Added autoload setting for
1815 `elmo-folder-list-global-flag-messages'.
1816 (elmo-folder-list-unreads,
1817 elmo-folder-list-importants,
1818 elmo-folder-list-answereds): Remove.
1819 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1820 Return a list whitch merged with messages have global flag.
1821 (elmo-folder-list-flagged-internal): New method.
1822 (elmo-folder-unflag-important,
1823 elmo-folder-flag-as-important,
1824 elmo-folder-unflag-read,
1825 elmo-folder-flag-as-read,
1826 elmo-folder-unflag-answered,
1827 elmo-folder-flag-as-answered): Remove.
1828 (elmo-folder-set-flag): New method.
1829 (elmo-folder-unset-flag): Ditto.
1830 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1831 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1833 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1834 (elmo-folder-list-unreads-plugged,
1835 elmo-folder-list-importants-plugged,
1836 elmo-folder-list-answereds-plugged,
1837 elmo-folder-list-flagged-unplugged,
1838 elmo-folder-unflag-important-plugged,
1839 elmo-folder-flag-as-important-plugged,
1840 elmo-folder-unflag-read-plugged,
1841 elmo-folder-flag-as-read-plugged,
1842 elmo-folder-unflag-answered-plugged,
1843 elmo-folder-flag-as-answered-plugged): Remove.
1844 (elmo-folder-set-flag-plugged,
1845 elmo-folder-unset-flag-plugged): Define.
1847 * elmo-flag.el (elmo-folder-initialize): Register to
1848 `elmo-global-flag-list' if flag is not global.
1849 (elmo-folder-append-messages): Set flag to source messages.
1851 * elmo-filter.el (elmo-filter-folder-list-unreads,
1852 elmo-folder-list-unreads,
1853 elmo-filter-folder-list-importants,
1854 elmo-folder-list-importants,
1855 elmo-folder-flag-as-read,
1856 elmo-folder-unflag-read,
1857 elmo-folder-flag-as-important,
1858 elmo-folder-unflag-important,
1859 elmo-folder-flag-as-answered,
1860 elmo-folder-unflag-answered): Remove.
1861 (elmo-folder-set-flag): Define.
1862 (elmo-folder-unset-flag): Ditto.
1864 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1865 elmo-folder-unflag-read-dop,
1866 elmo-folder-flag-as-important-dop,
1867 elmo-folder-unflag-important-dop,
1868 elmo-folder-flag-as-answered-dop,
1869 elmo-folder-unflag-answered-dop): Remove.
1870 (elmo-folder-set-flag-dop,
1871 elmo-folder-unset-flag-dop,
1872 elmo-folder-set-important-delayed,
1873 elmo-folder-unset-important-delayed,
1874 elmo-folder-set-read-delayed,
1875 elmo-folder-unset-read-delayed,
1876 elmo-folder-set-answered-delayed,
1877 elmo-folder-unset-answered-delayed): New function.
1878 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1879 (elmo-dop-queue-method-name-alist): Ditto.
1881 * elmo-version.el (elmo-version): Up to 2.11.23.
1883 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1885 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1887 * elsp-sa.el: New file.
1889 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1891 * modb-standard.el (modb-standard-message-entity): New function.
1892 (elmo-msgdb-message-entity): Use it.
1894 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1896 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1897 behavior when one-level is nil.
1899 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1901 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1903 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1905 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1907 (elmo-generic-folder-diff): Ditto.
1909 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1910 (elmo-folder-update-number): Ditto.
1912 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1913 (elmo-folder-next-message-number-dop): Ditto.
1915 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1917 * elmo-filter.el (elmo-folder-msgdb-create): Use
1918 `elmo-message-entity' and `elmo-message-flags' instead of
1919 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1921 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1923 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1926 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1928 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1930 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1932 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1934 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1936 * elmo-version.el (elmo-version): Up to 2.11.22.
1938 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1940 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1942 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1944 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1945 if the message dose not exist.
1947 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1949 * elmo-version.el (elmo-version): Up to 2.11.21.
1951 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1953 * modb-standard.el (toplevel): Don't require mime.
1955 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1957 * elsp-bogofilter.el (toplevel): Don't require path-util.
1958 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1959 (elmo-spam-bogofilter-header): Abolish.
1960 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1961 (elmo-spam-bogofilter-args): New user option.
1962 (elsp-bogofilter-call-bogofilter): New internal function.
1963 (elmo-spam-buffer-spam-p): Use it.
1964 (elsp-bogofilter-register-buffer): Renamed from
1965 `elmo-spam-bogofilter-register-buffer';
1966 Use `elsp-bogofilter-call-bogofilter'.
1967 (elmo-spam-register-spam-buffer): Follow the change above.
1968 (elmo-spam-register-good-buffer): Ditto.
1970 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1972 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1973 message-id is nil do nothing.
1975 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1977 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1979 (elmo-imap4-session): Removed use-flag slot.
1980 (elmo-imap4-session-select-mailbox): Undo last change.
1981 (elmo-folder-use-flag-p): Use
1982 elmo-imap4-disuse-server-flag-mailbox-regexp.
1984 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1986 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1987 (elmo-imap4-session-select-mailbox): Set it up.
1988 (elmo-folder-use-flag-p): Return value of use-flag slot.
1990 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1992 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1994 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1996 * modb-entity.el (elmo-message-entity-handler): Likewise.
1998 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2000 * elmo.el (toplevel): Remove setting of autoloding for
2001 elmo-global-flag-initialize.
2002 (elmo-init): Don't call elmo-global-flag-initialize.
2003 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2005 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2006 (elmo-global-mark-migrate): Don't call it.
2007 (elmo-global-mark-upgrade): Ditto.
2009 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2011 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2012 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2014 * elmo-vars.el (elmo-init-hook): New user option.
2016 * elmo.el (elmo-init): Run the elmo-init-hook.
2018 * elmo-flag.el (elmo-global-mark-migrate): New function.
2020 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2022 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2023 Undo last change (move to elmo-msgdb-unset-flag).
2024 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2027 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2029 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2031 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2032 (elmo-msgdb-unset-flag): Ditto.
2034 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2036 * elmo-split.el (elmo-split): Return split message count.
2038 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2040 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2043 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2045 * elmo.el (elmo-folder-unflag-important): Call
2046 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2049 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2051 (elmo-global-flag-detach): Delete the message from flag folder, if
2052 `delete-if-none' is a symbol `always'.
2054 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2056 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2057 `elmo-spam-spamfilter-decode-buffer'.
2058 (elsp-spamfilter-register-buffer-internal): New internal function.
2059 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2060 (elmo-spam-register-spam-buffer): Ditto.
2061 (elmo-spam-register-good-buffer): Ditto.
2063 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2065 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2066 (elmo-spam-register-spam-buffer): Follow the API change.
2067 (elmo-spam-register-good-buffer): Ditto.
2069 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2070 (elmo-split-spam-p): Added argument plist; Call
2071 `elmo-spam-buffer-spam-p' with new argument register.
2073 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2075 (elmo-spam-message-spam-p): Ditto.
2076 (elmo-spam-register-spam-buffer): Added optional argument
2078 (elmo-spam-register-good-buffer): Ditto.
2079 (elmo-spam-register-spam-messages): Ditto.
2080 (elmo-spam-register-good-messages): Ditto.
2082 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2084 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2085 register into good corpus.
2086 (elmo-spam-register-good-buffer): Fixed to register into bad
2089 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2091 * elmo-version.el (elmo-version): Up to 2.11.20.
2093 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2096 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2097 flag without depending on \Recent flag.
2099 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2101 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2102 (elmo-spam-modified-p): Defined.
2103 (elmo-spam-save-status): Set `modified' slot to nil.
2104 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2105 (elmo-spam-register-good-buffer): Ditto.
2107 * elmo-spam.el (elmo-spam-modified-p): New API.
2109 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2111 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2112 duplicate definition.
2114 * elmo-util.el (elmo-unfold-field-body): New function.
2115 (elmo-msgdb-get-message-id-from-buffer): Use it.
2117 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2118 Fixed the last change; Use elmo-unfold-field-body.
2120 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2122 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2125 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2127 * elmo-spam.el (elmo-spam-save-status): New API.
2129 * elsp-spamfilter.el: New file.
2131 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2133 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2135 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2137 * elmo-split.el (elmo-split-spam-p): New function.
2139 * elmo-spam.el: New file.
2141 * elsp-bogofilter.el: Ditto.
2143 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2145 * elmo.el (elmo-folder-next-message-number): New API.
2146 (elmo-folder-next-message-number): Define.
2147 (elmo-message-field): Don't check folder length.
2149 * elmo-net.el (elmo-folder-next-message-number): Define.
2150 (elmo-folder-next-message-number-unplugged): Define.
2152 * elmo-map.el (elmo-folder-next-message-number): Define.
2153 (elmo-folder-delete-messages): Clear hash value.
2155 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2157 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2158 (elmo-folder-delete-messages-dop-delayed): Always return t.
2160 * elmo-version.el (elmo-version): Up to 2.11.19.
2162 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2164 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2167 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2168 identical cons cell into the mark-alist and the hash table.
2170 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2172 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2173 elmo-folder-list-messages with argument `visible-only' as t.
2175 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2176 (elmo-folder-msgdb-create): Check the target folder.
2178 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2180 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2181 `permanentflag' instead of `flags'.
2182 (elmo-folder-open): Ditto.
2183 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2184 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2185 (elmo-folder-use-flag-p): Always return t.
2186 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2187 `permanentflags' does not exist.
2188 (elmo-folder-open): Ditto.
2190 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2192 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2194 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2196 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2197 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2199 (elmo-folder-open): Ditto.
2200 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2201 slot of the session includes the flag.
2202 (elmo-imap4-session-flag-available-p): New function.
2203 (elmo-imap4-folder-list-flagged): Ditto.
2204 (elmo-folder-list-unreads-plugged): Use it.
2205 (elmo-folder-list-importants-plugged): Ditto.
2206 (elmo-folder-list-answereds-plugged): Ditto.
2207 (elmo-imap4-search-internal-primitive): Ditto.
2208 (elmo-imap4-folder-list-any-plugged,
2209 elmo-imap4-folder-list-digest-plugged): Abolish.
2211 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2214 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2216 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2218 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2220 * elmo-util.el (elmo-get-hash-val): Simplify.
2221 (elmo-set-hash-val): Rewrite.
2223 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2225 * elmo.el (elmo-folder-list-messages): Append killed messages into
2226 result if `visible-only' is nil and `in-msgdb' is non-nil.
2228 * elmo-util.el (elmo-uniq-list): Added optional argument
2231 * modb.el (elmo-msgdb-flag-count): New API.
2233 * modb-standard.el (modb-standard): Added slot flag-count.
2234 (modb-standard-countup-flags): New function.
2235 (modb-standard-load-flag): Call it.
2236 (elmo-msgdb-append): Ditto.
2237 (elmo-msgdb-clear): Clear slot flag-count.
2238 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2239 (elmo-msgdb-unset-flag): Treat `all' flag and call
2240 modb-standard-countup-flags.
2241 (elmo-msgdb-flag-count): Define.
2242 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2243 (elmo-msgdb-delete-messages): Ditto.
2245 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2246 (elmo-msgdb-flag-count): Define.
2248 * elmo.el (elmo-folder-list-messages): Undo last change.
2249 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2250 (elmo-folder-kill-messages): Unset all flags to numbers.
2252 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2253 elmo-folder-kill-messages.
2255 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2256 (elmo-nntp-folder-delete-messages): Abolish.
2258 * elmo-version.el (elmo-version): Up to 2.11.18.
2260 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2262 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2263 (elmo-folder-kill-messages-range): New function.
2264 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2265 instead of elmo-folder-kill-messages-before.
2267 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2269 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2270 elmo-imap4-current-msgdb to decide entity handler.
2272 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2274 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2276 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2278 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2279 (elmo-msgdb-overview-entity-set-number,
2280 elmo-msgdb-overview-entity-get-references,
2281 elmo-msgdb-overview-entity-set-references,
2282 elmo-msgdb-overview-entity-get-from-no-decode,
2283 elmo-msgdb-overview-entity-get-from,
2284 elmo-msgdb-overview-entity-set-from,
2285 elmo-msgdb-overview-entity-get-subject,
2286 elmo-msgdb-overview-entity-get-subject-no-decode,
2287 elmo-msgdb-overview-entity-set-subject,
2288 elmo-msgdb-overview-entity-get-date,
2289 elmo-msgdb-overview-entity-set-date,
2290 elmo-msgdb-overview-entity-get-to,
2291 elmo-msgdb-overview-entity-get-cc,
2292 elmo-msgdb-overview-entity-get-size,
2293 elmo-msgdb-overview-entity-set-size,
2294 elmo-msgdb-overview-entity-get-extra,
2295 elmo-msgdb-overview-entity-set-extra,
2296 elmo-msgdb-overview-entity-get-extra-field,
2297 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2298 (elmo-msgdb-make-index): Use
2299 `elmo-msgdb-overview-entity-get-number-internal'.
2300 (elmo-msgdb-clear-index): Ditto.
2301 (elmo-msgdb-append-entity): Ditto;
2302 Use `elmo-msgdb-overview-entity-get-id-internal'.
2304 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2305 elmo-msgdb-overview-entity-set-number,
2306 elmo-msgdb-overview-entity-get-references,
2307 elmo-msgdb-overview-entity-set-references,
2308 elmo-msgdb-overview-entity-get-from-no-decode,
2309 elmo-msgdb-overview-entity-get-from,
2310 elmo-msgdb-overview-entity-set-from,
2311 elmo-msgdb-overview-entity-get-subject,
2312 elmo-msgdb-overview-entity-get-subject-no-decode,
2313 elmo-msgdb-overview-entity-set-subject,
2314 elmo-msgdb-overview-entity-get-date,
2315 elmo-msgdb-overview-entity-set-date,
2316 elmo-msgdb-overview-entity-get-to,
2317 elmo-msgdb-overview-entity-get-cc,
2318 elmo-msgdb-overview-entity-get-size,
2319 elmo-msgdb-overview-entity-set-size,
2320 elmo-msgdb-overview-entity-get-extra,
2321 elmo-msgdb-overview-entity-set-extra,
2322 elmo-msgdb-overview-entity-get-extra-field,
2323 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2324 and rewrote for backward compatibility.
2326 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2328 * elmo.el (elmo-message-entity-number,
2329 elmo-message-entity-set-number,
2330 elmo-message-entity-field,
2331 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2333 * elmo-msgdb.el (elmo-message-entity-number,
2334 elmo-message-entity-set-number,
2335 elmo-message-entity-field,
2336 elmo-message-entity-set-field): Moved from elmo.el.
2338 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2340 * elmo.el (toplevel): Changed definition orders.
2342 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2344 * modb.el (elmo-msgdb-search): New API .
2345 (elmo-msgdb-match-condition): Ditto.
2347 * modb-standard.el (elmo-msgdb-search): Define.
2349 * modb-legacy.el (elmo-msgdb-search): Ditto.
2351 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2352 from elmo-msgdb-match-condition-internal.
2354 * elmo.el (elmo-folder-search-fast): Abolish.
2355 (elmo-folder-search): Use elmo-msgdb-search and
2356 elmo-with-progress-display.
2358 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2361 * elmo.el (elmo-folder): Remove slot message-modified and
2363 (elmo-folder-set-message-modified): Abolish.
2364 (elmo-generic-folder-commit): Follow the change above.
2365 (elmo-folder-synchronize): Ditto.
2367 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2369 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2371 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2373 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2375 * modb-standard.el (modb-standard-make-message-entity,
2376 elmo-msgdb-make-message-entity,
2377 elmo-msgdb-create-message-entity-from-buffer,
2378 elmo-msgdb-message-entity-number,
2379 elmo-msgdb-message-entity-set-number,
2380 elmo-msgdb-message-entity-field,
2381 elmo-msgdb-message-entity-set-field,
2382 elmo-msgdb-copy-message-entity,
2383 elmo-msgdb-match-condition-internal): Remove.
2385 * modb-entity.el: New file (again).
2387 * modb.el (toplevel): Require modb-entity.
2388 (elmo-msgdb-message-entity-handler): New method.
2390 * modb-standard.el (modb-standard-entity-id): Use
2391 elmo-message-entity-handler.
2392 (modb-standard-load-entity): Ditto.
2393 (elmo-msgdb-append-entity): Ditto.
2394 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2396 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2397 elmo-msgdb-decoded-cache-hashtb,
2398 (modb-legacy-make-message-entity,
2399 elmo-msgdb-make-message-entity,
2400 elmo-msgdb-create-message-entity-from-buffer,
2401 elmo-msgdb-message-entity-number,
2402 elmo-msgdb-message-entity-set-number,
2403 elmo-msgdb-message-entity-field,
2404 elmo-msgdb-message-entity-set-field,
2405 elmo-msgdb-copy-message-entity,
2406 elmo-msgdb-match-condition-internal,
2407 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2409 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2410 (elmo-message-entity-set-number): Ditto.
2411 (elmo-message-entity-field): Ditto.
2412 (elmo-message-entity-set-field): Ditto.
2414 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2416 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2418 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2420 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2421 (elmo-nntp-msgdb-create-message): Ditto.
2423 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2424 (elmo-folder-msgdb-create): Add unread flag.
2426 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2428 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2430 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2432 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2434 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2435 elmo-msgdb-messge-entity-handler.
2436 * elmo-version.el (elmo-version): Up to 2.11.17.
2438 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2440 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2443 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2445 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2447 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2448 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2449 (elmo-msgdb-flag-table): Ditto.
2450 (elmo-msgdb-sort-by-date): Ditto.
2452 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2454 * modb-standard.el (toplevel): Require mime.
2455 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2456 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2457 elmo-msgdb-message-entity-number.
2458 (elmo-msgdb-append-entity): Ditto.
2459 (elmo-msgdb-create-message-entity-from-file): Remove.
2460 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2461 corresponds to the entity.
2462 (elmo-msgdb-message-entity-number): Do nothing currently.
2463 (elmo-msgdb-message-entity-field): Ditto.
2464 (elmo-msgdb-message-entity-set-field): Ditto.
2465 (elmo-msgdb-copy-message-entity): Ditto.
2466 (elmo-msgdb-match-condition-internal): Ditto.
2468 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2470 (elmo-msgdb-create-message-entity-from-file): Remove.
2472 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2474 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2476 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2478 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2480 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2481 (elmo-msgdb-message-entity-field): Ditto.
2482 (elmo-msgdb-message-entity-number): Ditto.
2484 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2486 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2487 Fixed how to set extra field into entity.
2488 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2491 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2492 Fixed how to set extra field into entity.
2493 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2496 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2498 * modb.el (elmo-message-entity-db): New function.
2499 (elmo-msgdb-make-message-entity): New API.
2500 (elmo-msgdb-message-entity-number): Ditto.
2501 (elmo-msgdb-message-entity-set-number): Ditto.
2502 (elmo-msgdb-message-entity-field): Ditto.
2503 (elmo-msgdb-message-entity-set-field): Ditto.
2504 (elmo-msgdb-copy-message-entity): Ditto.
2505 (elmo-msgdb-create-message-entity-from-file): Ditto.
2506 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2507 (elmo-msgdb-match-condition-internal): Ditto.
2509 * modb-standard.el (modb-legacy): Require modb-legacy.
2510 (modb-standard-make-message-entity): New inline function.
2511 (elmo-msgdb-make-message-entity): Define.
2512 (elmo-msgdb-create-message-entity-from-file): Ditto.
2513 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2514 (elmo-msgdb-message-entity-field): Ditto.
2515 (elmo-msgdb-message-entity-set-field): Ditto.
2516 (elmo-msgdb-copy-message-entity): Ditto.
2517 (elmo-msgdb-match-condition-internal): Ditto.
2519 * modb-legacy.el: Don't require modb-entity.
2520 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2521 (elmo-msgdb-match-condition-primitive): Ditto.
2522 (elmo-msgdb-get-decoded-cache): Ditto.
2523 (elmo-msgdb-overview-entity-get-id): Ditto.
2524 (elmo-msgdb-overview-entity-get-number): Ditto.
2525 (elmo-msgdb-overview-entity-set-number): Ditto.
2526 (elmo-msgdb-overview-entity-get-references): Ditto.
2527 (elmo-msgdb-overview-entity-set-references): Ditto.
2528 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2529 (elmo-msgdb-overview-entity-get-from): Ditto.
2530 (elmo-msgdb-overview-entity-set-from): Ditto.
2531 (elmo-msgdb-overview-entity-get-subject): Ditto.
2532 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2533 (elmo-msgdb-overview-entity-set-subject): Ditto.
2534 (elmo-msgdb-overview-entity-get-date): Ditto.
2535 (elmo-msgdb-overview-entity-set-date): Ditto.
2536 (elmo-msgdb-overview-entity-get-to): Ditto.
2537 (elmo-msgdb-overview-entity-get-cc): Ditto.
2538 (elmo-msgdb-overview-entity-get-size): Ditto.
2539 (elmo-msgdb-overview-entity-set-size): Ditto.
2540 (elmo-msgdb-overview-entity-get-extra): Ditto.
2541 (elmo-msgdb-overview-entity-set-extra): Ditto.
2542 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2543 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2544 (elmo-msgdb-number-load): Ditto.
2545 (elmo-msgdb-overview-load): Ditto.
2546 (elmo-msgdb-mark-load): Ditto.
2547 (elmo-msgdb-number-save): Ditto.
2548 (elmo-msgdb-mark-save): Ditto.
2549 (elmo-msgdb-overview-save): Ditto.
2550 (modb-legacy-make-message-entity): New inline function.
2551 (elmo-msgdb-insert-file-header): Ditto.
2552 (elmo-msgdb-make-message-entity): Define.
2553 (elmo-msgdb-create-message-entity-from-file): Ditto.
2554 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2555 (elmo-msgdb-message-entity-number): Ditto.
2556 (elmo-msgdb-message-entity-set-number): Ditto.
2557 (elmo-msgdb-message-entity-field): Ditto.
2558 (elmo-msgdb-message-entity-set-field): Ditto.
2559 (elmo-msgdb-copy-message-entity): Ditto.
2560 (elmo-msgdb-match-condition-internal): Ditto.
2562 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2563 (elmo-message-copy-entity): Rewrite.
2564 (elmo-message-entity-number): Ditto.
2565 (elmo-message-entity-set-number): Ditto.
2566 (elmo-message-entity-field): Use elmo-message-entity-db.
2567 (elmo-message-entity-set-field): Ditto.
2568 (elmo-message-field): Rewrite.
2570 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2572 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2574 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2575 elmo-message-entity-field.
2576 (elmo-shimbun-folder-shimbun-header): Ditto.
2577 (elmo-shimbun-entity-to-header): Ditto.
2578 (elmo-folder-msgdb-create): Ditto.
2579 (elmo-shimbun-msgdb-create-entity): Ditto;
2580 Use elmo-msgdb-create-message-entity-from-buffer.
2581 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2582 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2584 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2585 elmo-msgdb-create-message-entity-from-file and
2586 elmo-message-entity-field.
2588 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2589 elmo-message-entity-number.
2590 (elmo-pop3-msgdb-create-message): Use
2591 elmo-msgdb-create-message-entity-from-buffer,
2592 elmo-message-entity-set-field, elmo-message-entity-number and
2593 elmo-message-entity-set-number.
2595 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2596 the API change in elmo-msgdb-make-message-entity.
2597 (elmo-nntp-msgdb-create-message): Use
2598 elmo-msgdb-create-message-entity-from-buffer.
2600 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2601 elmo-message-entity-field and
2602 elmo-msgdb-create-message-entity-from-file.
2604 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2605 (elmo-msgdb-get-field): Abolish.
2606 (elmo-msgdb-get-number): Rewrite.
2607 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2608 (elmo-msgdb-flag-table): Ditto.
2609 (elmo-msgdb-get-last-message-id,
2610 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2611 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2612 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2613 (elmo-msgdb-create-overview-from-buffer,
2614 elmo-msgdb-overview-get-parent-entity): Abolish.
2616 * elmo-mime.el (elmo-mime-display-as-is): Use
2617 elmo-message-entity-field.
2619 * elmo-map.el (elmo-folder-pack-numbers): Use
2620 elmo-message-entity-set-number.
2622 * elmo-maildir.el (elmo-folder-msgdb-create):
2623 elmo-msgdb-create-message-entity-from-file instead of
2624 elmo-msgdb-create-overview-entity-from-file.
2626 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2628 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2629 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2631 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2632 elmo-messge-entity-field and elmo-message-entity-number.
2633 (elmo-imap4-fetch-callback-1): Call
2634 elmo-msgdb-create-message-entity-from-buffer instead of
2635 elmo-msgdb-create-overview-from-buffer.
2636 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2637 (elmo-find-fetch-strategy): Likewise.
2639 * elmo-flag.el (elmo-folder-msgdb-create): Call
2640 elmo-localdir-msgdb-create-entity with argument msgdb.
2642 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2643 and elmo-message-entity-set-number.
2645 * elmo-cache.el (elmo-folder-msgdb-create): Use
2646 elmo-message-entity-field.
2647 (elmo-folder-msgdb-create): Call
2648 elmo-msgdb-create-message-entity-from-file instead of
2649 elmo-msgdb-create-overview-entity-from-file.
2651 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2652 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2653 instead of elmo-msgdb-create-overview-from-buffer.
2654 (elmo-archive-msgdb-create-entity): Ditto.
2655 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2656 elmo-message-entity-field.
2657 (elmo-archive-parse-mmdf): Ditto.
2659 * modb-entity.el: Removed.
2661 * elmo-version.el (elmo-version): Up to 2.11.16.
2663 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2665 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2667 (elmo-folder-flag-as-answered): Ditto.
2669 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2671 * modb-standard.el: New file.
2673 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2674 elmo-msgdb-convert-type is `sync'.
2676 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2677 (elmo-msgdb-convert-type): New user option.
2679 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2680 (elmo-load-msgdb): Auto detect saved type.
2682 * elmo-version.el (elmo-version): Up to 2.11.15.
2684 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2686 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2688 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2689 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2690 with argument `delete-if-none' when dst-folder is 'null.
2692 * elmo-flag.el (elmo-folder-append-messages): Defined.
2693 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2695 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2697 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2699 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2701 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2702 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2703 (elmo-folder-commit): Ditto.
2705 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2707 * elmo-flag.el: New file.
2709 * elmo-mark.el: Removed.
2711 * modb-legacy.el (modb-legacy-new-mark,
2712 modb-legacy-unread-uncached-mark,
2713 modb-legacy-unread-cached-mark,
2714 modb-legacy-read-uncached-mark,
2715 modb-legacy-answered-cached-mark,
2716 modb-legacy-answered-uncached-mark,
2717 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2718 All other related portions are changed.
2720 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2721 (elmo-folder-list-messages-with-global-mark): Abolish.
2722 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2723 (elmo-folder-flag-as-important): Ditto.
2724 (elmo-folder-unflag-read): Ditto.
2725 (elmo-folder-flag-as-read): Ditto.
2726 (elmo-folder-unflag-answered): Ditto.
2727 (elmo-folder-flag-as-answered): Ditto.
2728 (elmo-message-encache): Return the cache path.
2729 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2730 (elmo-message-set-flag): Transitional implementation.
2731 (elmo-message-unset-flag): Ditto.
2732 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2733 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2734 (elmo-init): Call elmo-global-flag-initialize.
2735 (toplevel): Added autoload settings for elmo-flag.
2737 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2739 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2740 (elmo-file-cache-delete): Don't treat global-mark.
2742 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2744 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2746 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2747 `elmo-global-flags-set'.
2749 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2751 (elmo-folder-unflag-read): Ditto.
2752 (elmo-folder-unflag-important): Ditto.
2753 (elmo-folder-flag-as-important): Ditto.
2754 (elmo-folder-unflag-answered): Ditto.
2755 (elmo-folder-flag-as-answered): Ditto.
2757 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2758 `elmo-global-flags-set'.
2759 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2761 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2763 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2765 (elmo-folder-flag-as-important): Ditto.
2766 (elmo-folder-unflag-important): Ditto.
2767 (elmo-folder-flag-as-important): Ditto.
2768 (elmo-folder-unflag-read): Ditto.
2769 (elmo-folder-flag-as-read): Ditto.
2770 (elmo-folder-unflag-answered): Ditto.
2771 (elmo-folder-flag-as-answered): Ditto.
2773 * elmo-multi.el (elmo-folder-list-importants): Don't call
2774 elmo-folder-list-messages-with-global-mark.
2775 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2776 (elmo-folder-unflag-important): Ditto.
2777 (elmo-folder-flag-as-read): Ditto.
2778 (elmo-folder-unflag-read): Ditto.
2779 (elmo-folder-flag-as-answered): Ditto.
2780 (elmo-folder-unflag-answered): Ditto.
2782 * elmo-msgdb.el (elmo-msgdb-new-mark,
2783 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2784 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2785 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2786 (Moved to modb-legacy.el).
2787 (elmo-flag-table-get): Treat important flag too.
2789 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2791 (elmo-map-folder-flag-as-important): Ditto.
2792 (elmo-map-folder-unflag-read): Ditto.
2793 (elmo-map-folder-flag-as-read): Ditto.
2794 (elmo-map-folder-unflag-answered): Ditto.
2795 (elmo-map-folder-flag-as-answered): Ditto.
2796 (elmo-folder-unflag-important): Ditto.
2797 (elmo-folder-flag-as-important): Ditto.
2798 (elmo-folder-unflag-read): Ditto.
2799 (elmo-folder-flag-as-read): Ditto.
2800 (elmo-folder-unflag-answered): Ditto.
2801 (elmo-folder-flag-as-answered): Ditto.
2803 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2804 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2806 (elmo-map-folder-unflag-important): Ditto.
2807 (elmo-map-folder-flag-as-read): Ditto.
2808 (elmo-map-folder-unflag-read): Ditto.
2809 (elmo-map-folder-flag-as-answered): Ditto.
2810 (elmo-map-folder-unflag-answered): Ditto.
2812 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2813 `elmo-global-flags-set'.
2814 (elmo-global-flags-set): Added autoload setting.
2816 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2819 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2820 `elmo-msgdb-global-mark-set'.
2821 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2822 Call `elmo-global-flags-set'.
2823 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2825 (elmo-folder-flag-as-important-plugged): Ditto.
2826 (elmo-folder-unflag-read-plugged): Ditto.
2827 (elmo-folder-flag-as-read-plugged): Ditto.
2828 (elmo-folder-unflag-answered-plugged): Ditto.
2829 (elmo-folder-flag-as-answered-plugged): Ditto.
2830 (elmo-global-flags-set): Added autoload setting.
2832 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2834 (elmo-folder-unflag-read): Ditto.
2835 (elmo-folder-flag-as-important): Ditto.
2836 (elmo-folder-unflag-important): Ditto.
2837 (elmo-folder-flag-as-answered): Ditto.
2838 (elmo-folder-unflag-answered): Ditto.
2840 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2841 change of `mark'->`flag'.
2842 (elmo-dop-queue-method-name-alist): Ditto.
2843 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2844 (elmo-folder-unflag-read-dop): Ditto.
2845 (elmo-folder-flag-as-important-dop): Ditto.
2846 (elmo-folder-unflag-important-dop): Ditto.
2847 (elmo-folder-flag-as-answered-dop): Ditto.
2848 (elmo-folder-unflag-answered-dop): Ditto.
2850 * elmo-cache.el (elmo-folder-msgdb-create): Call
2851 `elmo-global-flags-set'.
2853 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2854 Call `elmo-global-flags-set'.
2855 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2856 elmo-archive-parse-mmdf with argument `folder'.
2857 (elmo-archive-parse-mmdf): Added argument `folder';
2858 Call `elmo-global-flags-set'.
2860 * elmo-version.el (elmo-version): Up to 2.11.14.
2862 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2864 * modb.el (elmo-msgdb-length): Define.
2866 * elmo.el (elmo-make-folder): Fixed.
2867 (elmo-generic-folder-append-messages): Follow the API change.
2869 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2872 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2874 * modb.el: New file.
2876 * modb-entity.el: Ditto.
2878 * modb-legacy.el: Ditto.
2880 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2881 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2882 of `elmo-msgdb-overview-get-entity'.
2883 (elmo-msgdb-get-field): Ditto.
2884 (elmo-msgdb-merge): Moved to `elmo.el'.
2885 (elmo-msgdb-length): Removed; redefine as modb method.
2886 (elmo-msgdb-change-mark): Abolish.
2887 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2888 (elmo-msgdb-match-condition): Don't use mark.
2889 (elmo-msgdb-overview-get-entity): Abolish.
2890 Split modb part into `modb*.el'.
2892 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2894 * elmo-shimbun.el (shimbun-mua-search-id): Use
2895 `elmo-msgdb-message-entity' instead of
2896 `elmo-msgdb-overview-get-entity'.
2897 (elmo-shimbun-folder-shimbun-header): Ditto.
2898 (elmo-shimbun-get-headers): Ditto.
2899 (elmo-shimbun-update-overview): Ditto.
2901 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2903 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2905 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2906 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2908 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2909 `elmo-msgdb-mark-to-flags'.
2911 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2912 `elmo-msgdb-set-path'.
2914 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2916 * elmo-version.el (elmo-version): Up to 2.11.13.
2918 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2920 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2923 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2925 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2928 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2930 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2931 instead of `elmo-msgdb-get-cached'.
2932 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2934 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2935 (elmo-msgdb-set-cached): Ditto.
2936 (elmo-msgdb-set-flag): Rewrite.
2937 (elmo-msgdb-unset-flag): Ditto.
2939 * elmo-msgdb.el: Rewrite with luna.
2941 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2942 (elmo-folder-msgdb): Follow the change above.
2943 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2944 (elmo-folder-unmark-important): Follow the API change.
2945 (elmo-folder-mark-as-important): Ditto.
2946 (elmo-folder-unmark-read): Ditto.
2947 (elmo-folder-mark-as-read): Ditto.
2948 (elmo-folder-unmark-answered): Ditto.
2949 (elmo-folder-mark-as-answered): Ditto.
2950 (elmo-folder-clear): Likewise.
2952 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2953 instead of `elmo-msgdb-load' (renamed).
2955 * elmo-version.el (elmo-version): Up to 2.11.12.
2957 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2959 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2961 (elmo-message-mark): Abolish.
2962 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2963 instead of `elmo-msgdb-change-mark'.
2965 * elmo-pipe.el (elmo-message-mark): Abolish.
2967 * elmo-multi.el (elmo-message-mark): Ditto.
2969 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2970 (elmo-msgdb-unread-uncached-mark): Ditto.
2971 (elmo-msgdb-unread-cached-mark): Ditto.
2972 (elmo-msgdb-read-uncached-mark): Ditto.
2973 (elmo-msgdb-answered-cached-mark): Ditto.
2974 (elmo-msgdb-answered-uncached-mark): Ditto.
2975 (elmo-msgdb-important-mark): Ditto.
2976 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2978 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2980 (elmo-flag-table-load): Changed flag to list of flag.
2981 (elmo-flag-table-set): If flags is nil, set read flag.
2982 (elmo-flag-table-get): Return derived flags from global mark,
2983 cache status and saved flags.
2984 (elmo-msgdb-flag-table): Follow the change above.
2985 (elmo-msgdb-out-of-date-messages): New function.
2987 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2989 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2991 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2993 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2994 (elmo-nntp-msgdb-create-message): Ditto.
2996 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2998 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3000 (elmo-folder-msgdb-create): Follow the API change.
3002 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3003 (elmo-folder-append-messages): Ditto.
3005 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3006 (elmo-folder-append-buffer): Ditto.
3008 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3010 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3012 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3013 (elmo-archive-parse-mmdf): Ditto.
3015 * elmo-version.el (elmo-version): Up to 2.11.11.
3017 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3019 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3022 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3024 * elmo-pipe.el (elmo-message-flags): Defined.
3026 * elmo-multi.el (elmo-message-flags): Ditto.
3028 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3030 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3031 `elmo-msgdb-delete-msgs'.
3033 * elmo.el (elmo-folder-count-flags): Don't use
3034 `elmo-msgdb-get-mark-alist'.
3035 (elmo-folder-detach-messages): Follow the API change.
3037 * elmo.el (elmo-folder-list-messages): Append killed messages into
3038 result if `visible-only' is nil.
3040 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3042 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3043 (elmo-folder-update-number): Likewise.
3045 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3046 (elmo-pop3-sort-msgdb-by-original-number): Use
3047 `elmo-msgdb-sort-entities'.
3049 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3050 (elmo-msgdb-sort-by-date): Use it.
3051 (elmo-msgdb-overview-sort-by-date): Abolish.
3053 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3055 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3056 (elmo-msgdb-flags): New function.
3057 (elmo-msgdb-merge): Use elmo-msgdb-append.
3059 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3062 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3064 * elmo-dop.el (elmo-folder-status-dop): Use
3065 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3067 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3069 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3071 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3073 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3075 * elmo-util.el (elmo-with-progress-display): New macro.
3077 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3079 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3081 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3082 `elmo-folder-list-message-entities' instead of
3083 `elmo-msgdb-get-overview'.
3084 (elmo-map-folder-list-message-locations): Ditto.
3086 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3087 methods instead of treat directly).
3088 (elmo-msgdb-clear): Ditto.
3089 (elmo-msgdb-delete-msgs): Ditto.
3090 (elmo-msgdb-sort-by-date): Ditto.
3092 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3094 (elmo-nntp-folder-msgdb-create): Follow the API change.
3096 * elmo-version.el (elmo-version): Up to 2.11.10.
3098 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3100 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3101 (elmo-msgdb-flags-to-mark): Ditto.
3102 (elmo-msgdb-append-entity): Ditto.
3104 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3105 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3106 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3107 (elmo-archive-parse-mmdf): Ditto.
3109 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3111 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3113 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3115 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3117 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3119 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3121 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3123 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3125 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3126 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3129 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3130 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3131 instead of directly construction.
3132 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3133 instead of construct msgdb.
3135 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3136 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3137 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3138 instead of construct msgdb.
3140 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3142 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3143 when field is from or subject.
3145 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3147 * elmo-multi.el (elmo-message-entity-parent): Define.
3148 (elmo-folder-search): Rewrite.
3150 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3152 * elmo-multi.el (elmo-message-cached-p): Define.
3154 * elmo.el (elmo-message-cached-p): New method.
3155 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3156 (elmo-message-flags): New method.
3157 (elmo-message-flagged-p): New function.
3159 * elmo-version.el (elmo-version): Up to 2.11.9.
3161 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3163 * elmo-version.el (elmo-version): Up to 2.11.8.
3165 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3167 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3169 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3171 * elmo.el (elmo-folder-detach-messages): Undo last change.
3173 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3175 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3177 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3178 only when src folder type is pop3.
3180 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3182 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3183 elmo-msgdb-overview-entity-get-number instead of
3184 elmo-message-entity-number.
3186 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3188 * elmo-version.el (elmo-version): Up to 2.11.7.
3190 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3192 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3195 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3196 (elmo-msgdb-merge): New function.
3197 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3198 (elmo-msgdb-make-index): Rewrite.
3200 * elmo-version.el (elmo-version): Up to 2.11.6.
3202 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3203 use it as a the path for loading message entities.
3205 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3207 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3209 * elmo-filter.el (elmo-folder-set-message-modified): Set
3210 message-modified slot of itself if it does not require target msgdb.
3212 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3213 if folder length is zero.
3214 (elmo-mime-display-as-is): Ditto.
3216 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3218 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3220 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3222 * elmo.el (elmo-folder-set-message-modified): New method.
3223 (elmo-generic-folder-commit): Use it.
3224 (elmo-folder-synchronize): Ditto.
3226 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3227 (elmo-folder-commit): Remove duplicate definition.
3229 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3231 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3233 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3235 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3236 (elmo-strict-folder-diff): Ditto.
3237 (elmo-folder-set-info-max-by-numdb): Simplify.
3239 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3240 elmo-msgdb-list-messages.
3242 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3243 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3245 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3247 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3248 visible-only is non-nil.
3249 (elmo-folder-confirm-appends): Changed message.
3250 (elmo-folder-synchronize): Added argument disable-killed.
3252 * elmo-multi.el (elmo-folder-synchronize): Added argument
3255 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3257 * elmo-version.el (elmo-version): Up to 2.11.5.
3259 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3262 * elmo-util.el (elmo-list-filter): Simplify.
3264 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3265 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3266 (elmo-generic-folder-diff): Abolish argument.
3267 (elmo-msgdb-load): Don't use number-alist.
3269 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3271 * elmo-pipe.el (elmo-folder-diff): Ditto.
3273 * elmo-nmz.el (elmo-folder-diff): Ditto.
3275 * elmo-net.el (elmo-folder-diff): Ditto.
3277 * elmo-maildir.el (elmo-folder-diff): Ditto.
3279 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3281 * elmo-multi.el (elmo-folder-diff): Ditto
3282 (elmo-multi-folder-diff): Rewrite.
3284 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3286 * elmo-pipe.el (elmo-folder-msgdb): Define.
3288 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3290 * elmo.el (elmo-message-set-cached): Define as a method.
3292 * elmo-pipe.el (elmo-message-set-cached): Define.
3293 (elmo-find-fetch-strategy): Ditto.
3295 * elmo-multi.el (elmo-message-set-cached): Define.
3296 (elmo-find-fetch-strategy): Rewrite.
3298 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3300 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3302 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3304 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3305 instead of number-alist.
3307 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3308 mark nor message-id when msgdb of source folder is not loaded.
3310 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3312 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3314 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3316 * elmo.el (elmo-folder-length): Don't require msgdb.
3318 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3320 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3321 (elmo-message-field): Ditto.
3323 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3324 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3326 (elmo-map-folder-list-answereds): Define.
3327 (elmo-maildir-list-location): Treat 'R' info.
3328 (elmo-folder-msgdb-create): Treat flag-table.
3329 (elmo-folder-append-messages): Save flag-table.
3331 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3333 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3334 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3336 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3338 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3340 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3341 'read when mark is null.
3343 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3345 * elmo-version.el (elmo-version): Up to 2.11.4.
3347 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3349 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3350 (elmo-folder-mark-as-answered): Ditto.
3352 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3354 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3355 (elmo-pop3-get-session): Make msgdb directory after session.
3356 (elmo-folder-exists-p): Check exactly at the first time even when the
3357 elmo-pop3-exists-exactly is nil.
3359 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3360 (elmo-folder-list-messages): Define instead of
3361 elmo-folder-list-messages-internal.
3362 (elmo-folder-check): Check destination folder.
3363 (elmo-folder-synchronize): Drain the pipe.
3365 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3366 when msgdb is not loaded.
3368 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3370 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3371 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3374 * elmo.el (elmo-folder-kill-messages-before): New function.
3375 (elmo-folder-kill-messages): Ditto.
3376 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3378 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3379 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3380 killed not by synchronize (e.g. scoring).
3382 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3384 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3386 (elmo-folder-search): Follow the change above.
3388 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3389 into the candidates of search field.
3391 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3393 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3394 (elmo-msgdb-unset-flag): Ditto.
3396 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3398 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3400 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3401 (elmo-folder-commit): Define.
3402 (elmo-folder-synchronize): Ditto.
3403 (elmo-folder-list-flagged): Ditto.
3404 (elmo-folder-commit): Ditto.
3405 (elmo-folder-length): Ditto.
3406 (elmo-folder-count-flags): Ditto.
3407 (elmo-message-mark): Ditto.
3408 (elmo-message-field): Ditto.
3409 (elmo-message-entity): Ditto.
3410 (elmo-message-folder): Ditto.
3412 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3414 * elmo.el (elmo-message-field): Define as a method.
3416 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3417 (elmo-message-field): Define.
3419 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3420 (elmo-folder-list-importants): Ditto.
3421 (elmo-folder-list-answereds): Ditto.
3423 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3425 (elmo-folder-mark-as-read): Ditto.
3426 (elmo-folder-unmark-read): Ditto.
3427 (elmo-folder-mark-as-answered): Ditto.
3428 (elmo-folder-unmark-answered): Ditto.
3429 (elmo-folder-list-flagged): Define.
3430 (elmo-folder-commit): Ditto.
3431 (elmo-folder-length): Ditto.
3432 (elmo-folder-count-flags): Ditto.
3434 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3436 * elmo.el (elmo-folder-detach-messages): New method.
3437 (elmo-folder-move-messages): Use it.
3438 (elmo-folder-synchronize): Ditto.
3440 * elmo-multi.el (elmo-folder-detach-messages): Define.
3442 * elmo.el (elmo-message-copy-entity): New function.
3443 (elmo-message-entity-set-number): Ditto.
3444 (elmo-message-mark): Define as method.
3446 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3447 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3448 (elmo-message-entity): Fixed last change.
3449 (elmo-message-mark): Define.
3450 (elmo-folder-msgdb-create): Abolish.
3451 (elmo-multi-folder-append-msgdb): Ditto.
3452 (elmo-multi-folder-diff): Fixed.
3453 (elmo-multi-split-number-alist): Removed.
3454 (elmo-multi-split-mark-alist): Removed.
3455 (elmo-folder-list-messages): Define.
3456 (elmo-folder-list-messages-internal): Removed.
3458 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3459 local file messages.
3460 (elmo-folder-msgdb-create): Fixed read mark.
3462 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3464 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3467 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3469 * elmo.el (elmo-folder-list-message-entities): Define as inline
3471 (elmo-folder-messages): Abolish.
3473 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3475 (elmo-folder-synchronize): Define.
3476 (elmo-message-entity): Define.
3478 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3480 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3481 elmo-imap4-session-select-mailbox.
3483 * elmo.el (elmo-folder-move-messages): Don't display any message.
3485 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3487 (elmo-imap4-session-check): Don't wait CHECK response.
3488 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3490 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3492 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3494 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3496 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3498 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3501 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3502 (elmo-folder-list-message-entities): Added argument in-msgdb and
3504 (elmo-folder-synchronize): Define as a method.
3506 * elmo-nntp.el (elmo-folder-initialize): Don't use
3507 elmo-nntp-default-user if zero-length username is specified
3510 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3512 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3513 server name in case with username.
3514 (XXX: this is ad-hoc fix against username includes "@", it
3515 should be solved fundamentally)
3517 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3519 * elmo-nntp.el (elmo-nntp-debug): New function.
3520 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3521 (elmo-network-authenticate-session): Hide auth-info from the log.
3523 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3524 user name if it is equal to elmo-nntp-default-user.
3526 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3528 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3529 instead of shimbun-server-internal;
3530 Use shimbun-current-group instead of shimbun-current-group-internal.
3531 (elmo-folder-plugged-p): Use shimbun-server instead of
3532 shimbun-server-internal.
3533 (elmo-folder-set-plugged): Ditto.
3534 (elmo-net-port-info): Ditto.
3535 (elmo-folder-check): Ditto.
3536 (elmo-folder-expand-msgdb-path): Ditto.
3537 (elmo-folder-list-subfolders): Ditto.
3539 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3541 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3542 Convert field-name to lower case.
3543 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3545 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3547 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3548 `message' and `error' take format string.
3550 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3552 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3554 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3556 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3557 recursive call (can't byte compile on emacs 20.7).
3559 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3561 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3562 (elmo-folder-list-message-entities): New API.
3563 (elmo-message-entity): Ditto.
3564 (elmo-message-entity-parent): Ditto.
3565 (elmo-folder-do-each-message-entity): Ditto.
3566 (elmo-message-entity-number): Ditto.
3567 (elmo-message-entity-field): Ditto.
3568 (elmo-message-entity-set-field): Ditto.
3569 (elmo-folder-count-flags): Ditto.
3570 (elmo-folder-length): Ditto.
3572 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3575 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3576 (elmo-msgdb-count-marks): Abolish.
3577 (elmo-msgdb-make-entity): Ditto.
3578 (elmo-msgdb-do-each-entity): Ditto.
3579 (elmo-msgdb-message-entity): New inline function.
3580 (elmo-msgdb-message-entity-field): Ditto.
3581 (elmo-msgdb-message-entity-set-field): Ditto.
3582 (elmo-msgdb-make-message-entity): New function.
3584 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3586 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3587 to flag. (All other related portions are changed.)
3588 (elmo-folder-msgdb-create): Likewise.
3589 (elmo-generic-folder-append-messages): Use flag-table instead of
3591 (elmo-folder-move-messages): Removed redundant process.
3592 (elmo-folder-synchronize): Likewise.
3594 * elmo-msgdb.el (elmo-flag-table-get): New function.
3595 (elmo-flag-table-save): Fixed.
3596 (elmo-msgdb-length): New inline function.
3597 (elmo-msgdb-flag-table): New function.
3598 (elmo-msgdb-mark): Add optional argument new.
3599 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3600 (elmo-msgdb-seen-list): Ditto.
3601 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3604 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3606 * elmo.el (elmo-message-set-mark): Abolish.
3607 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3608 (All related portions are changed.)
3610 * elmo-msgdb.el (toplevel): Added comment.
3611 (elmo-load-msgdb): Added 4th element `path'.
3612 (elmo-msgdb-append): Follow the change above.
3613 (elmo-msgdb-clear): Ditto.
3614 (elmo-msgdb-delete-msgs): Ditto.
3615 (elmo-msgdb-get-path): New inline function.
3616 (elmo-msgdb-set-path): Ditto.
3617 (elmo-flag-table-filename): New variable.
3618 (elmo-flag-table-load): New function.
3619 (elmo-flag-table-set): Ditto.
3620 (elmo-flag-table-save): Ditto.
3621 (elmo-msgdb-get-field-value): Abolish.
3622 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3624 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3626 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3627 the folder has been deleted successfully.
3628 * elmo-imap4.el (elmo-folder-delete): Ditto.
3629 * elmo-archive.el (elmo-folder-delete): Ditto.
3630 * elmo-localdir.el (elmo-folder-delete): Ditto.
3631 * elmo-maildir.el (elmo-folder-delete): Ditto.
3633 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3635 * elmo-util.el (elmo-string-member-ignore-case): New function.
3636 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3637 (elmo-imap4-fetch-callback-1-subr): Likewise.
3639 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3641 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3642 the case of the name attribute "\Noselect".
3644 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3646 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3648 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3649 flist, is not always a member of onum-alist.
3651 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3653 * elmo-version.el (elmo-version): Up to 2.11.3.
3655 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3657 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3658 copied from localdir's one.
3660 * elmo-pipe.el (elmo-folder-rename): New method, rename
3661 destination folder with leaving source folder as it is.
3663 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3665 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3668 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3670 * elmo-version.el (elmo-version): Up to 2.11.2.
3672 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3674 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3675 shimbun-open in case of "@".
3676 (elmo-folder-open-internal): Cope with shimbun = nil case.
3677 (elmo-folder-plugged-p): Ditto.
3678 (elmo-folder-list-subfolders): Make list for "@/" group.
3680 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3682 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3683 mailbox (e.g. for %~/something).
3685 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3687 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3688 Replace nested conditional with guard clauses.
3690 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3692 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3695 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3698 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3700 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3701 Replace nested conditional with guard clauses.
3703 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3705 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3706 (elmo-passwd-alist-save): Ditto.
3707 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3709 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3711 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3712 dir-name only if it is absolute path.
3713 (TODO: distinguish +/something and +something)
3715 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3717 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3718 path for "+~/something".
3720 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3722 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3723 as non-directory, cause error before rename-file.
3724 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3725 apropriately, mimic localdir's one.
3726 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3728 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3730 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3732 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3734 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3736 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3738 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3739 is included in the global-mark or not.
3741 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3743 * utf7.el (toplevel): Avoid error when the function
3744 find-coding-system does not exist.
3746 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3748 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3749 cache even if the folder is plugged.
3750 (elmo-nntp-search-primitive): Do nothing when body search is
3751 invoked (although it is not used by the change above).
3752 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3754 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3756 * elmo-version.el (elmo-version): Up to 2.11.1.
3758 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3760 * elmo-archive.el: Specify charset.
3762 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3764 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3765 process buffer lives or not.
3767 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3768 while flushing queues (It causes infinite loop).
3770 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3772 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3774 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3776 * utf7.el (toplevel): Check the ucs features dynamically.
3777 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3779 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3780 folder is creatabe or not if it already exists.
3782 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3784 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3786 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3788 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3789 (elmo-imap4-read-response): Take care of garbage response.
3791 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3793 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3794 just return nil instead of error.
3796 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3798 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3799 search-key is "body".
3801 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3803 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3804 of elmo-string-matched-assoc to use match-data.
3805 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3807 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3809 * elmo-split.el (elmo-split->): New function.
3810 (elmo-split-<): Ditto.
3812 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3814 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3815 workaround for invalid message-id.
3817 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3819 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3820 return normal pop3 session or pop3 biff session.
3822 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3824 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3825 info part to the cur files when the new files already have it.
3826 (Adviced by Jared Rhine <jared@wordzoo.com>)
3828 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3830 * elmo-split.el (elmo-split-default-action): New variable.
3831 (elmo-split-subr): Use it if all other conditions are passed.
3832 Extend `fname' and rename it as `action'. (implemented
3833 Teranishi-san's idea in [wl:10800])
3835 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3837 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3838 * elmo-util.el: Ditto.
3840 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3842 * elmo.el (elmo-message-accessible-p): Renamed from
3843 elmo-message-cached-p and rewritten.
3845 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3847 * elmo.el (elmo-folder-list-flagged): New generic function.
3848 (elmo-folder-list-importants): New implementation.
3849 (elmo-folder-list-answereds): Ditto.
3850 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3852 (elmo-message-cached-p): New function.
3853 (elmo-message-set-flag): Ditto (no content).
3854 (elmo-message-unset-flag): Ditto.
3855 (elmo-folder-list-messages-mark-match): Abolish.
3857 * elmo-util.el (elmo-regexp-opt): New function.
3859 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3860 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3862 (elmo-msgdb-list-flagged): New function.
3864 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3865 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3868 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3870 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3872 * elmo-version.el (elmo-version): Up to 2.11.0.
3874 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3876 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3877 `elmo-file-cache-exists-p'; use proper mark that depends on
3879 (elmo-msgdb-unset-flag): Ditto.
3880 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3882 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3883 with 4th argument `use-cache'.
3885 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3887 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3888 (elmo-folder-mark-as-important): Ditto.
3889 (elmo-folder-unmark-read): Ditto.
3890 (elmo-folder-mark-as-read): Ditto.
3891 (elmo-folder-unmark-answered): Ditto.
3892 (elmo-folder-mark-as-answered): Ditto.
3894 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3896 (elmo-msgdb-mark): Likewise.
3897 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3898 (elmo-msgdb-unset-flag): Likewise.
3900 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3902 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3904 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3907 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3909 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3910 set spool-length to 0.
3912 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3914 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3915 (elmo-dop-queue-flush): Fixed last change.
3917 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3919 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3920 if require-msgdb slot is nil.
3921 (elmo-folder-list-importants): Likewise.
3923 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3925 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3928 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3929 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3932 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3934 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3936 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3938 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3940 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3942 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3944 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3945 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3947 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3949 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3950 the problem reported by Sean Rima [wl-en:180].
3952 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3954 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3956 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3958 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3960 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3962 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3964 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3966 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3968 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3970 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3973 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3975 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3976 (elmo-folder-mark-as-read): Follow the API change.
3977 (elmo-message-set-cached): New function.
3979 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3981 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3983 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3984 (elmo-folder-mark-as-important): Ditto.
3985 (elmo-folder-unmark-read): Ditto.
3986 (elmo-folder-mark-as-read): Ditto.
3987 (elmo-folder-unmark-answered): Ditto.
3988 (elmo-folder-mark-as-answered): Ditto.
3990 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3991 (elmo-folder-unmark-important): Ditto.
3992 (elmo-folder-mark-as-read): Ditto.
3993 (elmo-folder-unmark-read): Ditto.
3994 (elmo-folder-mark-as-answered): Ditto.
3995 (elmo-folder-unmark-answered): Ditto.
3997 * elmo-mark.el (toplevel): Removed some mark method definitions.
3999 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4000 (elmo-map-folder-mark-as-answered): Ditto.
4001 (elmo-folder-unmark-important): Add :before qualifier.
4002 (elmo-folder-mark-as-important): Ditto.
4003 (elmo-folder-unmark-read): Ditto.
4004 (elmo-folder-mark-as-read): Ditto.
4005 (elmo-folder-unmark-answered): Define.
4006 (elmo-folder-mark-as-answered): Ditto.
4008 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4009 (elmo-map-folder-unmark-answered): Ditto.
4011 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4013 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4014 (elmo-folder-mark-as-important): Ditto.
4015 (elmo-folder-unmark-read): Ditto.
4016 (elmo-folder-mark-as-read): Ditto.
4017 (elmo-folder-unmark-answered): Ditto.
4018 (elmo-folder-mark-as-answered): Ditto.
4020 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4021 `mark'; evaluate mark condition.
4022 (elmo-msgdb-match-condition-internal): New function.
4023 (elmo-msgdb-match-condition): Call it; changed argument.
4025 * elmo.el (elmo-folder-search): Follow the API change on
4026 `elmo-msgdb-match-condition'.
4028 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4030 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4031 original mark is non-nil.
4033 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4035 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4036 (elmo-map-folder-list-answereds): New method.
4037 (elmo-folder-list-unreads): Add :around qualifier.
4038 (elmo-folder-list-importants): Ditto.
4039 (elmo-folder-list-answereds): Ditto.
4041 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4043 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4045 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4046 method if msgdb is not required.
4047 (elmo-filter-folder-list-importants): Don't treat global-mark.
4049 * elmo.el (elmo-folder-list-importants): Ditto.
4051 * elmo-net.el (elmo-folder-list-importants): Ditto.
4053 * elmo-map.el (elmo-folder-list-importants): Ditto.
4055 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4057 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4058 (elmo-imap4-folder-list-any-plugged): New function.
4059 (elmo-imap4-search-internal-primitive): Use it.
4061 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4062 only when require-msgdb slot is non-nil.
4063 (elmo-folder-close): Clear target folder's msgdb.
4065 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4067 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4068 (elmo-pop3-msgdb-create-by-header): Ditto.
4069 (elmo-pop3-msgdb-create-message): Ditto.
4071 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4073 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4075 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4077 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4078 (elmo-folder-msgdb-create): Ditto.
4079 (elmo-nntp-folder-msgdb-create): Ditto.
4080 (elmo-nntp-msgdb-create-by-header): Ditto.
4081 (elmo-nntp-msgdb-create-message): Ditto.
4082 (elmo-folder-list-unreads): Define.
4084 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4085 (elmo-folder-append-messages): Ditto.
4086 (elmo-folder-list-unreads): Define.
4087 (elmo-folder-list-importants): Ditto.
4088 (elmo-folder-list-answereds): Ditto.
4090 * elmo-net.el (elmo-folder-list-unreads): Define.
4091 (elmo-folder-list-importants): Ditto.
4092 (elmo-folder-list-answereds): Ditto.
4093 (elmo-folder-list-answereds-plugged): Ditto.
4094 (elmo-folder-msgdb-create): Follow the API change.
4095 (elmo-folder-msgdb-create-unplugged): Ditto.
4096 (elmo-folder-unmark-answered): Define.
4097 (elmo-folder-mark-as-answered-unplugged): Ditto.
4098 (elmo-folder-unmark-answered-unplugged): Ditto.
4100 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4101 (elmo-msgdb-unread-uncached-mark): Ditto.
4102 (elmo-msgdb-unread-cached-mark): Ditto.
4103 (elmo-msgdb-read-uncached-mark): Ditto.
4104 (elmo-msgdb-answered-cached-mark): Ditto.
4105 (elmo-msgdb-answered-uncached-mark): Ditto.
4106 (elmo-msgdb-important-mark): Ditto.
4107 (elmo-msgdb-set-mark): Rewrite.
4108 (elmo-msgdb-count-marks): Rewrite.
4109 (elmo-msgdb-mark-alist-set): Abolish.
4110 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4111 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4113 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4114 (elmo-folder-close): Define.
4115 (elmo-folder-msgdb-create): Follow the API change.
4116 (elmo-folder-list-unreads): Rewrite.
4117 (elmo-folder-mark-as-important): Ditto.
4118 (elmo-folder-unmark-important): Ditto.
4119 (elmo-folder-mark-as-read): Ditto.
4120 (elmo-folder-unmark-read): Ditto.
4121 (elmo-folder-mark-as-answered): Define.
4122 (elmo-folder-unmark-answered): Ditto.
4124 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4125 (elmo-folder-append-messages): Ditto.
4127 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4129 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4130 (elmo-folder-list-importants): Ditto.
4132 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4133 (elmo-folder-append-messages): Ditto.
4135 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4137 (elmo-folder-msgdb-create-plugged): Ditto.
4138 (elmo-folder-append-messages): Ditto.
4139 (elmo-folder-list-answereds-plugged): Define.
4140 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4141 (elmo-folder-unmark-answered-plugged): Define.
4142 (elmo-folder-mark-as-answered-plugged): Ditto.
4143 (elmo-folder-search-requires-msgdb-p): Ditto.
4145 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4146 (elmo-folder-initialize): Set it.
4147 (elmo-folder-msgdb): Define.
4148 (elmo-folder-check): Call elmo-folder-synchronize.
4149 (elmo-folder-close): Define.
4150 (elmo-folder-commit): Ditto.
4151 (elmo-folder-msgdb-create): Rewrite.
4152 (elmo-folder-list-unreads): Ditto.
4153 (elmo-folder-list-importants): Ditto.
4154 (elmo-folder-mark-as-read): Ditto.
4155 (elmo-folder-unmark-read): Ditto.
4156 (elmo-folder-mark-as-important): Ditto.
4157 (elmo-folder-unmark-important): Ditto.
4158 (elmo-folder-mark-as-answered): Define.
4159 (elmo-folder-unmark-answered): Ditto.
4161 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4162 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4163 (elmo-dop-queue-method-name-alist): Likewise.
4164 (elmo-folder-mark-as-answered-dop): New inline function.
4165 (elmo-folder-unmark-answered-dop): Ditto.
4166 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4168 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4169 (elmo-folder-msgdb-create): Ditto.
4170 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4171 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4172 (elmo-archive-parse-mmdf): Ditto.
4174 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4175 (elmo-folder-list-unreads-internal): Ditto.
4177 * elmo.el (elmo-folder-msgdb): Define as generic function.
4178 (elmo-folder-list-messages): Added argument `in-msgdb'.
4179 (elmo-folder-list-unreads): Define as generic function.
4180 (elmo-folder-list-importants): Ditto.
4181 (elmo-folder-list-answereds): Ditto.
4182 (elmo-folder-list-messages-with-global-mark): New function.
4183 (elmo-folder-msgdb-create): Removed mark arguments.
4184 (elmo-folder-unmark-answered): New generic function.
4185 (elmo-folder-mark-as-answered): Ditto.
4186 (elmo-folder-append-messages): Removed argunment `unread-marks'
4187 (elmo-folder-list-unreads-internal): Abolish.
4188 (elmo-folder-list-importants-internal): Ditto.
4189 (elmo-folder-search-requires-msgdb-p): New generic function.
4190 (elmo-folder-search-requires-msgdb-p-internal): New function.
4191 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4193 (elmo-folder-search-fast): Added key 'mark'.
4194 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4195 instead of unread-marks argument.
4196 (elmo-folder-move-messages): Removed argunment `unread-marks'
4197 (elmo-folder-unmark-important): Define.
4198 (elmo-folder-mark-as-important): Ditto.
4199 (elmo-folder-unmark-read): Ditto.
4200 (elmo-folder-mark-as-read): Ditto.
4201 (elmo-folder-unmark-answered): Ditto.
4202 (elmo-folder-mark-as-answered): Ditto.
4203 (elmo-folder-replace-marks): Abolish.
4204 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4206 (elmo-folder-synchronize): Removed mark arguments;
4207 return crosspost only number.
4209 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4211 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4212 Remove redundunt connectivity check.
4214 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4216 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4217 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4219 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4221 * pldap.el (ldap-decode-string): Return string as-is if
4222 `ldap-coding-system' is nil.
4223 (ldap-encode-string): Ditto.
4224 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4225 (ldap-default-host): Fixed docstring.
4227 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4229 * elmo-util.el (elmo-warning): Define as a macro which uses
4230 `display-warning' if it is defined as a function.
4232 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4233 (elmo-split-equal): Use it.
4234 (elmo-split-match): Ditto.
4235 (elmo-split-message-entity): New buffer-local variable.
4236 (elmo-split-subr): Set it.
4238 * elmo-version.el (elmo-version): Up to 2.9.15.
4240 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4242 * elmo-imap4.el (elmo-network-initialize-session):
4243 Check capability after starttls.
4245 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4247 * elmo-util.el (elmo-list-delete): Added optional argument
4250 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4252 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4254 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4256 * elmo-imap4.el (elmo-folder-initialize): Don't use
4257 elmo-imap4-default-mailbox.
4259 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4261 * elmo-split.el (toplevel): Use `product-provide'.
4262 (elmo-split): Checkdoc.
4264 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4266 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4267 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4268 the function `elmo-imap4-debug-1'.
4270 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4272 * elmo-split.el (elmo-split): Moved to run hooks and to show
4273 message from elmo-split-subr.
4274 (elmo-split-subr): Follow the change above.
4276 * elmo-split.el (elmo-split-subr): New function (renamed from
4278 (elmo-split): Changed to call elmo-split-subr by element of
4280 (elmo-split-folder): Changed customization type to choice.
4282 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4284 * elmo-split.el (elmo-split-and): Fixed condition.
4286 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4288 * elmo-split.el: New file.
4289 (elmo-split): Fixed logic.
4290 Display "Test:" instead of "Folder:" when reharsal.
4292 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4295 * elmo-version.el (elmo-version): Up to 2.9.14.
4297 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4300 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4302 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4303 message with no message-id field.
4305 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4307 * elmo-version.el (elmo-version): Up to 2.9.13.
4309 * elmo-dop.el (elmo-folder-status-dop): Fix.
4311 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4313 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4315 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4316 changing default value of default-mime-charset.
4317 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4319 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4321 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4322 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4323 instead of elmo-dop-queue-method-name-alist to check merging queue.
4324 (elmo-folder-delete-messages-dop): Delete from queue if negative
4326 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4327 file is already removed.
4329 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4331 * elmo-vars.el: Bind colon keywords for old Emacsen.
4333 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4335 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4336 against non-exsisting charset.
4338 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4340 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4341 Use eword-decode-and-unfold-unstructured-field-body.
4343 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4344 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4345 exists to decode raw subject string.
4346 (toplevel): Require 'mime.
4348 * elmo-version.el (elmo-version): Up to 2.9.12.
4350 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4352 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4353 (elmo-msgdb-set-mark): Ditto.
4355 * elmo-version.el (elmo-version): Up to 2.9.11.
4357 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4359 * elmo-util.el (elmo-delete-match-files): New function.
4361 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4362 instead of elmo-delete-directory.
4364 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4365 elmo-hash-minimun-size as 63.
4367 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4368 elmo-diff-unread is nil.
4370 * elmo-imap4.el (elmo-folder-open): Fix.
4372 * elmo.el (elmo-message-mark): Rewrite.
4373 (elmo-message-field): Ditto.
4374 (elmo-message-set-mark): Ditto.
4375 (elmo-folder-replace-marks): New function.
4376 (elmo-generic-folder-append-msgdb): Removed third argument for
4378 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4379 (elmo-msgdb-load): New implementation.
4381 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4383 * elmo-util.el (elmo-list-insert): New implementation.
4385 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4386 argument for elmo-msgdb-append.
4389 * elmo-msgdb.el (elmo-load-msgdb): New function.
4390 (elmo-make-msgdb): Ditto.
4391 (elmo-msgdb-get-index): New inline function.
4392 (elmo-msgdb-set-index): Ditto.
4393 (elmo-msgdb-get-entity-hashtb): Ditto.
4394 (elmo-msgdb-get-mark-hashtb): Ditto.
4395 (elmo-msgdb-get-mark): Ditto.
4396 (elmo-msgdb-set-mark): Ditto.
4397 (elmo-msgdb-count-marks): Ditto.
4398 (elmo-msgdb-get-number): Ditto.
4399 (elmo-msgdb-get-field): Ditto.
4400 (elmo-msgdb-seen-list): Ditto.
4401 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4402 (elmo-msgdb-delete-msgs): Follow the changes above.
4403 (elmo-msgdb-overview-get-entity): Ditto.
4404 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4405 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4407 (elmo-msgdb-make-index): Likewise.
4408 (elmo-msgdb-append): Removed third argument.
4409 (elmo-msgdb-clear): Clear index as nil.
4410 (elmo-folder-set-info-hashtb): Removed.
4411 (elmo-folder-set-info-max-by-numdb): Ditto.
4412 (elmo-folder-info-make-hashtb): Ditto.
4414 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4416 * elmo-map.el (elmo-folder-pack-number): Ditto.
4418 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4420 * elmo-version.el (elmo-version): Up to 2.9.10.
4422 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4424 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4426 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4428 * elmo-utils.el (elmo-make-directory): Add option.
4429 Default file mode is 700.
4431 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4433 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4435 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4437 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4440 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4443 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4445 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4446 (elmo-shimbun-folder-entity-hash): New function.
4447 (elmo-shimbun-folder-shimbun-header): Ditto.
4448 (elmo-shimbun-entity-to-header): Ditto.
4449 (elmo-shimbun-msgdb-to-headers): Removed.
4450 (elmo-shimbun-folder-setup): Ditto.
4451 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4453 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4454 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4455 Removed useless local bind.
4456 (elmo-folder-open-internal): Don't call
4457 `elmo-shimbun-folder-setup'.
4458 (elmo-folder-close-internal): Clear entity-hash slot.
4459 (elmo-folder-clear): Ditto.
4460 (elmo-shimbun-msgdb-create-entity): Use
4461 `elmo-shimbun-folder-shimbun-header'.
4462 (elmo-map-message-fetch): Ditto.
4463 (elmo-shimbun-update-overview): Use overview entity instead of
4464 shimbun header to lookup id by references.
4465 (elmo-map-folder-list-message-locations): Use not only headers but
4466 also overviews to list locations.
4468 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4470 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4473 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4475 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4477 * elmo-util.el (elmo-read-search-condition-internal): Give default
4480 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4482 * elmo-util.el (elmo-condition-parse-search-value): Accept
4483 YYYY-MM-DD format to search.
4484 * elmo-date.el (elmo-date-get-datevec): Likewise.
4486 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4488 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4491 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4493 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4496 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4498 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4499 case from `elmo-folder-exists-p'.
4500 (elmo-folder-exists-p): Removed.
4501 (elmo-folder-creatable-p) Ditto.
4503 * elmo-net.el (elmo-folder-create): Defined.
4504 (elmo-folder-create-unplugged): New function.
4505 (elmo-folder-exists-p): Changed default value to nil from t.
4507 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4508 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4510 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4511 `elmo-create-folder-dop' and append queue
4512 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4513 (elmo-folder-create-dop-delayed): New function.
4515 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4517 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4519 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4520 (elmo-folder-writable-p) : Ditto.
4522 * elmo-version.el (elmo-version): Up to 2.9.9.
4524 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4526 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4527 `elmo-message-use-cache-p' returns nil.
4528 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4529 (ignore cache file and refer the substance in local folders)
4531 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4533 * elmo-version.el (elmo-version): Up to 2.9.8.
4535 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4537 * elmo-version.el (elmo-version): Up to 2.9.7.
4539 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4541 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4543 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4545 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4547 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4549 (elmo-map-folder-list-message-locations): Reverse location list.
4551 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4553 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4555 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4557 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4559 (elmo-nntp-folder-list-subfolders): Follow the change above.
4561 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4563 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4564 name if authentication type is specified.
4566 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4568 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4570 (elmo-default-nntp-stream-type): Ditto.
4571 (elmo-default-pop3-stream-type): Ditto.
4573 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4575 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4577 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4579 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4581 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4583 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4584 (elmo-maildir-folder-path): Ditto.
4585 (elmo-maildir-list): Ditto (abolished).
4587 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4589 * elmo-version.el (elmo-version): Up to 2.9.6.
4591 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4593 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4594 (elmo-maildir-folder-path): Ditto.
4595 (elmo-msgdb-directory): Ditto.
4596 (elmo-passwd-life-time): Ditto.
4597 (elmo-msgdb-extra-fields): Ditto.
4598 (elmo-enable-disconnected-operation): Ditto.
4600 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4602 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4604 (elmo-pop3-default-authenticate-type): Ditto.
4606 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4608 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4610 (elmo-pop3-default-authenticate-type): Ditto.
4612 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4614 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4615 mailbox to new-folder.
4617 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4619 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4620 less than new, set new as unread.
4622 * elmo-util.el (elmo-string): Don't put text-property if nil.
4624 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4626 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4627 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4629 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4631 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4632 is nil on `completing-read'.
4634 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4636 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4638 (elmo-imap4-parse-namespace-subr): Ditto.
4639 (elmo-folder-list-subfolders): Append a delimiter when the specified
4640 folder path is a root with namespace and does not end with delimiter.
4642 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4644 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4647 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4649 * elmo-util.el (elmo-save-buffer): The first argument of message
4650 is a format control string.
4652 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4654 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4655 `elmo-folder-diff').
4656 (elmo-diff-unread): Likewise.
4658 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4660 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4661 is t on `completing-read'.
4663 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4665 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4666 method of target folder with self mark-alist if MARK-ALIST is nil.
4668 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4670 * elmo-version.el (elmo-version): Up to 2.9.5.
4672 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4674 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4675 (elmo-dop-merge-funcs): Remove.
4677 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4679 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4680 Return t if PATH is directory, too.
4681 Use `dolist' instead of while loop.
4683 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4685 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4688 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4690 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4692 (elmo-folder-list-messages-unplugged): Return t if
4693 elmo-enable-disconnected-operation is nil.
4695 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4696 `elmo-folder-list-messages-internal'.
4698 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4700 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4701 Change to looking-at `[23][0-9]+'.
4702 (elmo-network-initialize-session): Use 'error-msg'
4703 * elmo-net.el (elmo-network-open-session): Set unplugged
4704 if elmo-network-initialize-session returns 'elmo-open-err.
4706 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4708 * elmo-version.el (elmo-version): Up to 2.9.4.
4710 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4712 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4713 `elmo-folder-list-messages-internal'.
4715 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4717 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4718 (elmo-message-match-condition): New method.
4719 (elmo-folder-search-fast): New inline function.
4720 (elmo-msgdb-search): Removed.
4722 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4723 target folder if it is unplugged.
4724 (elmo-folder-list-messages-internal): Return t if target folder is
4725 unplugged and itself is persistent; In this case, use list be
4728 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4729 (elmo-msgdb-search-internal-primitive): Ditto.
4730 (elmo-msgdb-match-condition): New function.
4731 (elmo-msgdb-match-condition-primitive): Ditto.
4733 * elmo-util.el (elmo-filter-condition-p): New macro.
4735 * elmo-cache.el (elmo-folder-search): Removed.
4737 * elmo-localdir.el (elmo-folder-search): Ditto.
4739 * elmo-maildir.el (elmo-folder-search): Ditto.
4741 * elmo-mark.el (elmo-folder-search): Ditto.
4743 * elmo-nmz.el (elmo-folder-search): Ditto.
4745 * elmo-sendlog.el (elmo-folder-search): Ditto.
4747 * elmo-shimbun.el (elmo-folder-search): Ditto.
4749 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4750 if folder is unplugged.
4752 * elmo-nntp.el (elmo-folder-search): Likewise.
4753 (elmo-nntp-search-internal): New function.
4755 * elmo-version.el (elmo-version): Up to 2.9.3.
4757 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4759 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4761 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4763 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4765 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4767 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4769 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4771 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4772 (elmo-map-folder-list-message-locations): Do drive letter conversion
4773 on Windows environment.
4774 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4775 (elmo-map-message-fetch): Ditto.
4777 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4779 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4780 (elmo-network-initialize-session): Ditto.
4782 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4784 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4786 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4788 * elmo-util.el (elmo-progress-clear): Ditto.
4790 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4791 `DD-Mon-YYYY' type date.
4793 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4795 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4796 `elmo-date-make-sortable-string' instead of
4797 `timezone-make-date-sortable'.
4799 * elmo-date.el (elmo-date-make-sortable-string): Use
4800 `timezone-make-time-string'.
4802 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4804 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4806 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4807 `since'; Fix timezone.
4809 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4811 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4813 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4815 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4817 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4819 * elmo.el (elmo-generic-folder-append-messages): Make
4820 fetch-strategy with `use-cache' as 'maybe. Check return value of
4821 `elmo-message-fetch'.
4822 (elmo-message-fetch): Return return value of
4823 `elmo-message-fetch-with-cache-process'.
4824 (elmo-message-fetch-with-cache-process): Return non-nil if
4825 fetching was succeed. Load cache when fetching was failed and
4826 fetch-strategy-use-cache is 'maybe.
4828 * elmo-util.el (elmo-file-cache-load): New function.
4830 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4833 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4834 non-nil if fetching was succeed.
4836 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4838 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4840 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4841 (elmo-message-fetch-with-cache-process): Likwise.
4843 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4845 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4847 * elmo-version.el (elmo-version): Up to 2.9.2.
4849 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4851 * elmo.el (elmo-folder-delete): Delete msgdb path.
4853 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4855 * elmo-maildir.el (elmo-folder-delete): Ditto.
4857 * elmo-localdir.el (elmo-folder-delete): Ditto.
4859 * elmo-imap4.el (elmo-folder-delete): Ditto.
4861 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4863 * elmo.el (luna-define-class): Added `biff' slot.
4865 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4866 (elmo-pop3-debug-inhibit-logging): Abolished.
4867 (elmo-network-close-session): Eliminated needless let.
4868 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4869 (elmo-pop3-send-command): Added `no-log' argument.
4870 (elmo-pop3-process-filter): Use `with-current-buffer'.
4871 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4873 (elmo-pop3-auth-apop): Likewise.
4874 (elmo-network-authenticate-session): Likewise.
4876 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4879 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4880 string to determine protocol.
4881 (elmo-network-session-name-prefix): Abolished.
4882 (elmo-network-session-cache-key): Follow the change above.
4883 (elmo-network-open-session): Ditto.
4885 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4886 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4888 * elmo-version.el (elmo-version): Up to 2.9.1.
4890 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4891 unmatch condition checking.
4893 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4896 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4898 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4900 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4902 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4903 test for while loop to execute at least one SEARCH command.
4905 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4907 * elmo-version.el (elmo-version): Up to 2.9.0.
4909 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4911 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4912 (elmo-archive-folder-path): Define.
4913 (elmo-folder-initialize): Setup `dir-name' slot.
4914 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4915 Use `dir-name' as prefix of each subfolders.
4916 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4918 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4920 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4921 (elmo-pipe-folder-list-target-messages): New internal function.
4922 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4924 (elmo-pipe-folder-copied-list-load): New function.
4925 (elmo-pipe-folder-copied-list-save): Ditto.
4926 (elmo-folder-open-internal): Follow the change above.
4927 (elmo-folder-status): Fixed for copy.
4929 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4931 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4933 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4935 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4936 elmo-copy-file instead of elmo-add-name-to-file.
4938 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4940 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4943 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4944 of accept-process-output as 1.
4945 (elmo-pop3-read-contents): Ditto.
4946 (elmo-pop3-read-body): Ditto.
4948 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4950 * elmo-version.el (product-version-as-string): Remove define.
4952 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4954 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4955 (elmo-imap4-copy-messages): Chop number set using
4956 `elmo-imap4-number-set-chop-length'.
4957 (elmo-imap4-set-flag): Ditto.
4958 (elmo-imap4-search-internal-primitive): Ditto.
4960 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4962 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4963 `elmo-folder-make-temp-dir'
4965 * elmo-vars.el (elmo-cache-directory): New variable.
4966 (elmo-cache-dir): Abolished.
4967 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4969 * elmo-version.el (elmo-version): Up to 2.7.7.
4971 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4973 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4974 defcustom; Set default value as t.
4976 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4978 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4979 (ldap-search-program-arguments): Changed default value.
4980 (ldap-search-basic): Accept exit status 4.
4981 (ldap/field-body): Parse options.
4982 (ldap/collect-field): Ditto.
4983 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4985 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4986 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4987 (elmo-imap4-accept-ok): Ditto.
4988 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4989 'notify-bye, only BYE error is reported.
4990 (elmo-folder-exists-p-plugged): Set no-error argument of
4991 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4993 * elmo.el (elmo-imap4-bye-error): Changed message.
4995 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4996 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4997 queues (It causes infinite loop).
4999 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5001 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5002 (RECENT UNSEEN MESSAGES) extension.
5004 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5006 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5007 Check number of overview fields.
5009 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5011 * elmo.el (elmo-folder-confirm-appends): Changed message.
5012 (elmo-folder-confirm-appends): Ditto.
5014 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5016 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5018 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5020 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5021 of elmo-folder-update-threshold is nil, which can be set by
5022 wl-summary-update-confirm-threshold.
5024 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5026 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5027 (elmo-nmz-index-alias-alist): Ditto.
5028 (elmo-map-folder-list-message-locations): Follow the change above.
5030 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5032 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5034 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5036 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5038 * elmo-util.el (elmo-read): Ditto.
5039 (elmo-display-error): Ditto.
5041 * elmo-vars.el (elmo-date-match): Ditto.
5043 * pldap.el (ldap-coding-system): Ditto.
5045 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5046 `elmo-inhibit-number-mapping' as nil.
5048 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5050 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5051 space delimiter for list response.
5053 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5055 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5057 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5059 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5060 (elmo-map-message-fetch): Fix.
5061 * elmo-map.el (elmo-folder-status): Fix for killed.
5063 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5065 * elmo-sendlog.el: New file.
5066 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5068 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5070 * acap.el (acap-logging-out): New buffer local variable.
5071 (acap-close): Set it.
5072 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5075 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5077 * acap.el (acap-response-bye-p): New function.
5078 (acap-response-bye-message): Ditto.
5079 (acap-wait-for-response): If bye response is received, cause an error.
5080 (acap-parse-response): Make bye response when 'Bye' is received.
5082 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5084 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5086 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5088 * elmo-util.el (elmo-copy-file): Added argument
5089 `ok-if-already-exists'.
5090 (elmo-copy-file): Fixed typo.
5092 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5094 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5096 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5098 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5100 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5102 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5105 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5107 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5108 (elmo-folder-initialize): Fix for `copy'.
5109 (elmo-pipe-drain): Ditto.
5110 (elmo-folder-open-internal): Ditto.
5111 (elmo-folder-newsgroups): Fix.
5113 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5115 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5118 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5119 recent value is returned from imap folder.
5121 * elmo.el (elmo-folder-newsgroups): New generic function.
5123 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5124 (elmo-folder-initialize): Set it.
5125 (elmo-folder-expand-msgdb-path): Use it.
5126 (elmo-folder-newsgroups): Define.
5128 * elmo-filter.el (elmo-folder-newsgroups): Define.
5130 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5132 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5134 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5136 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5138 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5140 (elmo-shimbun-header-extra-field): New inline function.
5141 (elmo-shimbun-header-set-extra-field): Ditto.
5142 (elmo-shimbun-folder-header-hash-setup): Ditto.
5143 (elmo-shimbun-update-overview): Ditto.
5144 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5145 (elmo-shimbun-folder-setup): Use
5146 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5147 (elmo-shimbun-get-headers): Ditto.
5148 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5149 Insert `X-Shimbun-Id:' header if extra field is set.
5150 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5151 field's value instead of `shimbun-header-id'.
5153 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5155 (elmo-msgdb-overview-entity-set-date): Ditto.
5156 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5158 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5160 * mmimap.el (mmimap-entity-section): Changed body node number from
5163 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5165 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5166 `elmo-folder-delete-messages'.
5168 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5169 (elmo-folder-initialize): Changed to expand alias into index path.
5171 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5172 `elmo-mime-insert-header-from-buffer' with 6th arg
5175 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5177 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5179 * elmo.el (elmo-diff-new): New inline function.
5180 (elmo-diff-unread): Ditto.
5181 (elmo-diff-all): Ditto.
5183 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5184 value from responseb.
5185 (elmo-imap4-folder-diff-plugged): Ditto.
5186 (elmo-imap4-server-diff-async): Added recent argument.
5187 (elmo-server-diff-async): Ditto.
5188 (elmo-imap4-folder-diff-plugged): Ditto.
5190 * elmo-version.el (elmo-version): Up to 2.7.6.
5192 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5194 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5197 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5199 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5201 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5203 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5205 * elmo-multi.el (elmo-folder-initialize): Ditto.
5207 * elmo-util.el (elmo-parse-token): New function.
5208 (elmo-parse-prefixed-element): Ditto.
5210 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5212 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5214 (elmo-imap4-accept-ok): Ditto.
5216 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5218 * mmimap.el (mime-imap-entity-header-string): Don't check first
5219 element of node-id is `0' (Follow last change).
5221 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5223 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5224 assigned irregular node-id to nested multipart section.
5225 (initialize-instance): Followed above change.
5227 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5229 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5230 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5231 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5232 `elmo-shimbun-get-headers');
5233 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5234 visible article on summary exists in headers).
5235 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5237 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5239 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5242 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5244 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5246 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5248 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5249 header separator into loop condition.
5251 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5253 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5254 Return duplicate folder if it has subfolder.
5256 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5258 * elmo.el (elmo-make-folder): Add folder name error check.
5260 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5261 (elmo-nntp-encode-group-string): New inline function.
5262 (elmo-nntp-decode-group-string): Ditto.
5263 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5264 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5265 Use `not' instead of `null';
5266 Use elmo-nntp-decode-group-string.
5268 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5270 * elmo-version.el (elmo-version): Up to 2.7.5.
5272 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5274 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5275 Hide progress gauge if `elmo-folder-move-messages' exits
5278 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5280 * elmo-imap4.el (elmo-folder-initialize): Use
5281 `elmo-imap4-encode-folder-string' for folder name.
5283 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5285 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5288 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5290 * elmo-util.el (elmo-progress-counter-alist): New internal
5292 (elmo-progress-counter-value): New macro.
5293 (elmo-progress-counter-all-value): Ditto.
5294 (elmo-progress-counter-format): Ditto.
5295 (elmo-progress-counter-set-value): Ditto.
5296 (elmo-progress-set): New function.
5297 (elmo-progress-clear): Ditto.
5298 (elmo-progress-notify): Ditto.
5300 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5303 * elmo.el (elmo-generic-folder-append-messages): Call
5304 `elmo-progress-notify'.
5305 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5307 * elmo-archive.el (elmo-folder-append-messages): Call
5308 `elmo-progress-notify'.
5310 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5312 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5314 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5316 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5318 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5320 (elmo-message-encache-dop): Added argument `read'.
5322 * elmo-shimbun.el (elmo-message-encache): Ditto.
5324 * elmo-net.el (elmo-message-encache): Ditto.
5326 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5327 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5328 elmo-imap4-seen-messages.
5329 (elmo-folder-msgdb-create-plugged): Initialize
5330 elmo-imap4-seen-messages;
5331 Set seen mark on elmo-imap4-seen-messages.
5333 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5335 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5336 elmo-folder-append-buffer.
5337 (elmo-folder-encache): Added optional argument `read'.
5338 (elmo-message-encache): Ditto.
5340 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5342 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5344 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5345 if append buffer content succeds.
5347 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5349 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5350 elmo-display-progress.
5352 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5353 Set 4th argument of mime-display-message.
5354 (elmo-mime-display-as-is): Ditto.
5356 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5358 * elmo-nmz.el (toplevel): Require 'mime-edit.
5359 (elmo-nmz-content-type-alist): Abolished.
5360 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5361 content is not a message.
5362 (elmo-map-message-fetch): Changed behavior exept for message content;
5363 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5364 content-type, Add From: and Subject: field.
5366 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5368 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5369 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5372 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5374 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5375 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5377 * elmo-archive.el (elmo-folder-writable-p): Defined.
5379 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5381 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5383 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5385 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5387 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5389 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5391 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5393 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5395 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5397 * elmo-util.el (elmo-address-quote-specials): New function;
5398 Renamed from `wl-address-quote-specials'.
5400 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5402 * elmo-version.el (elmo-version): Up to 2.7.4.
5404 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5406 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5408 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5410 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5411 both compile-time and run-time to avoid byte-compile warning.
5413 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5415 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5417 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5419 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5421 (elmo-mime-display-as-is-internal): Use it.
5423 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5424 if `read-passwd' is not defined.
5426 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5428 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5430 (elmo-folder-status): Call `elmo-folder-open-internal';
5431 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5432 (elmo-folder-close-internal): Set location-alist as nil.
5433 (elmo-folder-clear): Define.
5434 (elmo-folder-check): Don't set location-alist as nil.
5436 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5438 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5440 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5441 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5443 * mmimap.el (mime-imap-entity::requested): New slot.
5444 (mime-imap-location-fetch-entity-p): New generic function.
5445 (mime-decode-parameters): Define using `defun-maybe'.
5446 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5447 content-type structure.
5448 (mime-entity-body): Return empty body if
5449 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5451 * elmo.el (elmo-message-displaying): New variable.
5453 * elmo-mime.el (elmo-mime-message-display): Bind
5454 elmo-message-displaying as t.
5456 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5458 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5460 * acap.el (acap-open): erase buffer before starting network process.
5461 (acap-store): Rewrite.
5463 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5465 * elmo-imap4.el (elmo-imap4-default-mailbox,
5466 elmo-imap4-default-server
5467 elmo-imap4-default-authenticate-type,
5468 elmo-imap4-default-user,
5469 elmo-imap4-default-port,
5470 elmo-imap4-default-stream-type,
5471 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5473 * elmo-pop3.el (elmo-pop3-default-user,
5474 elmo-pop3-default-server,
5475 elmo-pop3-default-authenticate-type,
5476 elmo-pop3-default-port,
5477 elmo-pop3-default-stream-type,
5478 elmo-pop3-stream-type-alist): Ditto.
5480 * elmo-nntp.el (elmo-nntp-default-server,
5481 elmo-nntp-default-user,
5482 elmo-nntp-default-port,
5483 elmo-nntp-default-stream-type,
5484 elmo-nntp-stream-type-alist): Ditto.
5486 * elmo-vars.el: Follow changes above.
5487 (elmo-setting): New custom group; added 'elmo-setting group to
5490 * elmo-version.el (elmo-version): Up to 2.7.3.
5492 * acap.el (acap-parse-response): Don't delete process when BYE
5493 response (It causes hang-up on slow network environment).
5494 (toplevel): Added comment.
5496 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5498 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5500 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5502 (acap-parse-return-metadata): Ditto.
5505 (toplevel): Fixed typo.
5507 * acap.el: New file.
5508 (acap-network-stream-open): Show "Connecting..." message.
5509 (acap-parse-response): Fixed problem for BYE untagged response.
5510 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5511 (toplevel): Added tiny comments.
5513 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5515 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5516 space delimiter for uidl response.
5518 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5520 * elmo-vars.el (elmo-use-semi): Eliminated.
5522 * elmo-util.el (elmo-string-assoc-all): New function.
5524 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5526 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5527 property 'mime-preview-situation for `mime-preview-quit'.
5529 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5531 * elmo.el (elmo-message-fetch-with-cache-process): Call
5532 elmo-message-fetch-internal instead of causing an error when fetch
5533 strategy is 'entire but only 'section cache is available.
5535 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5537 * elmo-version.el (elmo-version): Up to 2.7.2.
5539 * elmo.el (elmo-generic-folder-append-messages): Make
5540 fetch-strategy with `use-cache'.
5542 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5543 (elmo-dop-queue-method-name): New macro.
5545 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5547 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5548 unbalanced parenthesis.
5550 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5552 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5554 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5556 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5557 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5559 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5561 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5564 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5566 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5567 (elmo-message-use-cache-p): Define.
5568 (elmo-folder-msgdb-create): Treat cache.
5570 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5572 * elmo-nntp.el (elmo-network-initialize-session): Call
5573 `elmo-nntp-send-mode-reader'.
5574 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5576 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5578 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5580 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5583 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5584 for `elmo-plugged-p'.
5585 (elmo-open-network-stream): Fixed stream-type argument.
5587 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5589 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5590 unknown archive type is specified.
5592 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5594 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5596 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5597 while loading msgdb.
5599 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5600 (elmo-folder-open-internal): Rewrite.
5602 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5604 * elmo-mime.el (elmo-mime-display-as-is-internal):
5605 Adjust buffer-multibyte status.
5607 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5609 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5610 of elmo-condition-find-key.
5612 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5613 (elmo-condition-in-msgdb-p): Ditto.
5614 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5617 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5619 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5621 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5623 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5624 label for elmo-display-progress.
5626 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5628 * elmo.el (elmo-folder-clear): New method.
5629 (elmo-folder-clear): Define.
5630 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5632 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5633 (elmo-folder-clear): Define.
5635 * elmo-map.el (elmo-folder-clear): Define.
5637 * elmo-version.el (elmo-version): Up to 2.7.1.
5639 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5641 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5644 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5646 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5647 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5649 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5651 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5653 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5656 * elmo-imap4.el (elmo-folder-initialize): Use
5657 elmo-get-network-stream-type.
5659 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5661 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5663 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5665 * elmo.el (elmo-message-encache): Set unread argument for
5668 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5670 * elmo.el (elmo-net-port-info): New method.
5672 * elmo-shimbun.el (elmo-net-port-info): Define.
5673 (elmo-message-encache): Ditto.
5675 * elmo-net.el (elmo-net-port-info): Define as method.
5677 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5678 unplugged status when elmo-enable-disconnected-operation is t.
5680 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5681 of spool folder before checking new number.
5683 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5685 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5686 (elmo-network-setup-session): Ditto.
5687 (elmo-message-fetch-plugged): Ditto.
5688 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5689 (elmo-network-initialize-session): Ditto.
5690 (elmo-pop3-read-response): Abolish 3rd argument.
5691 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5692 (elmo-pop3-read-contents): Ditto.
5693 (elmo-pop3-read-body): Ditto.
5694 (elmo-folder-status): Call elmo-folder-close.
5695 (elmo-pop3-lock): Abolish.
5696 (elmo-pop3-unlock): Ditto.
5697 (elmo-pop3-locked-p): Ditto.
5698 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5700 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5702 * elmo-version.el (elmo-version): Up to 2.7.0.
5704 * elmo-pop3.el (elmo-pop3-debug): New variable.
5705 (elmo-pop3-debug-inhibit-logging): Ditto.
5706 (elmo-pop3-debug): New function.
5707 (elmo-pop3-send-command): Call elmo-pop3-debug.
5708 (elmo-pop3-read-response): Added keep-lock optional argument;
5709 Don't unlock if keep-lock is non-nil.
5710 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5711 (elmo-network-authenticate-session): Bind
5712 elmo-pop3-debug-inhibit-logging as t.
5713 (elmo-network-setup-session): Call elmo-pop3-read-response with
5715 (elmo-pop3-read-msg): Ditto.
5716 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5717 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5718 (elmo-network-initialize-session): Call elmo-pop3-lock.
5719 (elmo-folder-close-internal): Don't clear location-alist slot.
5720 (elmo-folder-check): Clear location-alist slot.
5722 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5724 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5725 (elmo-pop3-send-command): Call elmo-pop3-lock.
5726 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5727 (elmo-pop3-read-contents): Ditto.
5728 (elmo-pop3-lock): New function.
5729 (elmo-pop3-unlock): Ditto.
5730 (elmo-pop3-locked-p): Ditto.
5731 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5734 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5736 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5738 * elmo-util.el (elmo-file-field-primitive-condition-match):
5739 New inline function (Don't fetch file content if "first" or "last").
5740 (elmo-file-field-condition-match): Use
5741 elmo-file-field-primitive-condition-match.
5743 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5746 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5747 (elmo-message-fetch-plugged): Fixed.
5749 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5751 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5753 * elmo.el (elmo-folder-move-messages): Bind
5754 elmo-inhibit-display-retrieval-progress as t while moving messages.
5756 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5758 (elmo-inhibit-display-retrieval-progress): Ditto.
5760 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5761 for retrieval progress;
5762 Don't display progress when total buffer size is smaller than
5763 elmo-display-retrieval-progress-threshold.
5764 (elmo-message-fetch-plugged): Don't display progress when
5765 elmo-inhibit-display-retrieval-progress is non-nil.
5767 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5768 for retrieval progress;
5769 Don't display progress when literal size is smaller than
5770 elmo-display-retrieval-progress-threshold.
5771 (elmo-imap4-message-fetch): Don't display progress when
5772 elmo-inhibit-display-retrieval-progress is non-nil.
5774 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5776 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5777 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5778 (elmo-imap4-message-fetch): Likewise.
5780 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5781 (elmo-shimbun-index-range-alist): Ditto.
5782 (elmo-shimbun-use-entire-index): Abolish.
5783 (shimbun-mua-use-entire-index): Ditto.
5784 (elmo-shimbun-folder): Added new slot `range'.
5785 (elmo-folder-initialize): Setup slot `range'.
5787 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5789 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5790 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5791 (elmo-shimbun-get-headers): Use return value of
5792 `shimbun-article-expiration-days'.
5793 (elmo-folder-close-internal): Clean up last-check slot.
5795 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5796 (elmo-pop3-total-size): New variable.
5797 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5799 * elmo.el (elmo-folder-reserve-status-p): New method.
5801 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5802 (elmo-shimbun-use-entire-index): New user option.
5803 (shimbun-elmo-mua): New class.
5804 (shimbun-mua-search-id): Define.
5805 (shimbun-mua-use-entire-index): Ditto.
5806 (elmo-shimbun-folder:last-check): New slot.
5807 (elmo-shimbun-headers-cache-header-list): Abolish.
5808 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5809 (elmo-shimbun-headers-cache-header-hash): Ditto.
5810 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5811 (elmo-shimbun-headers-cache-last-check): Ditto.
5812 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5813 (elmo-shimbun-headers-check-p): Rewrite.
5814 (elmo-shimbun-msgdb-to-headers): New function.
5815 (elmo-shimbun-get-headers): Rewrite.
5816 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5817 (elmo-folder-open-internal): Get headers only if
5818 `elmo-shimbun-headers-check-p' is non-nil.
5819 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5821 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5822 (elmo-quit): Removed.
5824 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5826 (elmo-msgdb-overview-entity-set-extra): Ditto.
5827 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5829 * elmo-map.el (elmo-folder-status): Don't call
5830 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5833 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5835 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5836 of `elmo-msgdb-search-internal-primitive' when condition's car is
5839 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5841 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5843 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5845 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5846 call `elmo-pipe-drain'.
5848 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5850 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5851 typo. (elmo-cache-folder -> elmo-mark-folder)
5853 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5855 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5856 `elmo-message-fetch'.
5858 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5860 * elmo-net.el (elmo-message-encache): Fixed typo.
5861 (elmo-message-fetch-unplugged): Changed call
5862 `elmo-message-fetch-internal' without argument `outbuf'.
5864 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5866 * elmo.el (elmo-message-encache): Define as generic function.
5867 (elmo-message-fetch-field): New generic function.
5868 (elmo-message-fetch-with-cache-process): Cause an error when
5869 fetch strategy is 'entire but only 'section cache is available.
5870 (toplevel): Fixed nmz folder definition.
5872 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5873 (elmo-msgdb-resume-list-filename): Ditto.
5874 (elmo-queue-filename): Ditto.
5875 (elmo-enable-disconnected-operation): Changed default value to t.
5877 * elmo-util.el (elmo-cache-path-section-p): New function.
5878 (elmo-file-cache-get): Use it.
5879 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5880 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5881 (elmo-dop-queue-save): Ditto.
5883 * elmo-net.el (elmo-folder-status-unplugged): Call
5884 elmo-folder-status-dop.
5885 (elmo-folder-list-messages-unplugged): Implemented.
5886 (elmo-folder-delete-messages-unplugged): Define.
5887 (elmo-folder-msgdb-create): Define.
5888 (elmo-folder-msgdb-create-unplugged): Define.
5889 (elmo-folder-mark-as-read-unplugged): Ditto.
5890 (elmo-folder-unmark-read-unplugged): Ditto.
5891 (elmo-folder-mark-as-important-unplugged): Ditto.
5892 (elmo-folder-unmark-important-unplugged): Ditto.
5893 (elmo-message-encache): Ditto.
5895 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5896 (elmo-dop-queue-save): Ditto.
5898 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5899 `elmo-folder-msgdb-create'.
5900 (elmo-folder-append-buffer): Implemented unplugged operation.
5901 (elmo-folder-append-messages): Call parent method in unplugged status.
5902 (elmo-message-fetch-unplugged): Removed definition.
5903 (elmo-message-fetch-field): Implemented.
5905 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5906 (elmo-dop-folder): Removed variable definition.
5907 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5908 (elmo-dop-queue-flush): Implemented.
5909 (elmo-dop-queue-merge): Removed definition (TODO).
5910 (elmo-dop-spool-folder): New function.
5911 (elmo-dop-spool-folder-append-buffer): Ditto.
5912 (elmo-dop-spool-folder-list-messages): Ditto.
5913 (elmo-dop-list-deleting-messages): Ditto.
5914 (elmo-folder-append-buffer-dop): Ditto.
5915 (elmo-folder-delete-messages-dop): Ditto.
5916 (elmo-message-encache-dop): New inline function.
5917 (elmo-create-folder-dop): Ditto.
5918 (elmo-folder-mark-as-read-dop): Ditto.
5919 (elmo-folder-unmark-read-dop): Ditto.
5920 (elmo-folder-mark-as-important-dop): Ditto.
5921 (elmo-folder-unmark-important-dop): Ditto.
5922 (elmo-folder-status-dop): Fixed.
5923 (elmo-folder-append-buffer-dop-delayed): New function.
5924 (elmo-folder-delete-messages-dop-delayed): Ditto.
5925 (elmo-dop-msgdb): Ditto.
5927 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5929 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5931 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5933 * elmo.el (elmo-folder-move-messages): Fixed problem when
5934 `dst-folder' is 'null.
5936 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5938 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5939 instead of current mark.
5941 * elmo-multi.el (elmo-folder-list-importants-internal): No
5942 operation if importants is not list.
5944 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5945 Return t if importants is not list.
5947 * elmo-map.el (elmo-map-folder-list-importants): Define.
5948 (elmo-folder-list-importants-internal): Check return value of
5949 `elmo-map-folder-list-importants-internal'.
5951 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5953 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5955 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5957 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5959 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5961 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5962 (Patch is provided by <kita@coe.nttdata.co.jp>).
5964 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5966 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5969 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5971 * elmo.el (elmo-message-fetch): Define.
5972 (elmo-message-fetch-with-cache-process): New generic method.
5973 (elmo-message-fetch-internal): New generic method.
5974 (elmo-folder-synchronize):
5976 * elmo-archive.el (elmo-message-fetch-internal): Define.
5977 (elmo-message-fetch): Eliminated.
5979 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5980 (elmo-message-fetch): Eliminated.
5982 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5984 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5986 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5987 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5989 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5990 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5992 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5994 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5996 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5998 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5999 (elmo-message-fetch-unplugged): New generic method.
6000 (elmo-message-fetch-internal): Remove cache process (Renamed from
6001 `elmo-message-fetch').
6003 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6004 (elmo-message-fetch): Eliminated.
6005 (elmo-message-fetch-unplugged): Ditto.
6007 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6009 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6011 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6012 of `to-be-deleted' from number-alist to number-list.
6014 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6016 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6017 (elmo-folder-mark-as-important): Ditto.
6019 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6021 * elmo.el (elmo-folder): Added process-duplicates slot.
6023 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6024 (elmo-folder-unmark-read): Ditto.
6025 (elmo-folder-unmark-important): Ditto.
6026 (elmo-folder-mark-as-important): Ditto.
6028 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6029 duplicated message processing.
6031 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6033 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6035 * elmo-util.el (elmo-list-subdirectories-1): New function.
6036 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6037 (elmo-mapcar-list-of-list): New function.
6039 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6040 `elmo-mapcar-list-of-list' instead of `mapcar'.
6042 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6044 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6045 `elmo-have-link-count'. Return the fully qualified folder name.
6047 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6049 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6050 (elmo-shimbun-headers-cache): New internal variable.
6051 (elmo-shimbun-headers-cache-header-list): New inline function.
6052 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6053 (elmo-shimbun-headers-cache-header-hash): Ditto.
6054 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6055 (elmo-shimbun-headers-cache-last-check): Ditto.
6056 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6057 (elmo-shimbun-lapse-seconds): Ditto.
6058 (elmo-shimbun-headers-cache-check-p): Ditto.
6059 (elmo-shimbun-get-headers): New function.
6060 (elmo-folder-open-internal): Call it.
6061 (elmo-quit): Define (Clear headers-cache).
6063 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6065 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6067 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6068 (elmo-msgdb-flist-save): Ditto.
6070 * elmo-shimbun.el (elmo-folder-list-subfolders):
6071 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6072 (elmo-folder-exists-p): Ditto.
6074 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6075 argument for `shimbun-header-insert'.
6077 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6079 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6082 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6083 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6085 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6087 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6088 (elmo-folder-plugged-p): Define.
6089 (elmo-folder-set-plugged): Ditto.
6090 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6091 (elmo-folder-list-messages-internal): Return t if unplugged.
6092 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6094 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6095 when elmo-folder-list-messages-internal method of children returns t.
6097 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6099 (elmo-folder-open-internal): Don't update if unplugged status.
6101 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6103 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6106 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6108 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6110 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6113 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6115 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6117 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6118 (elmo-folder-open-internal): Set up headers slot.
6119 (elmo-folder-check): Call elmo-folder-close-internal and
6120 elmo-folder-open-internal.
6121 (elmo-folder-close-internal): Clean up headers slot.
6123 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6125 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6126 exactly folder list.
6127 (elmo-folder-append-messages): Fixed append archive with prefix.
6129 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6130 make temp files with start-number.
6132 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6134 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6136 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6137 argument `visible-only'.
6138 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6141 * elmo-pop3.el (elmo-folder-open-internal): Check
6142 `elmo-inhibit-number-mapping' is non-nil.
6144 * elmo-pipe.el (elmo-folder-status): Fixed.
6146 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6148 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6150 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6151 (elmo-folder-open-internal): Setup `header-hash' slot.
6152 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6154 (elmo-map-message-fetch): Ditto.
6156 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6158 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6159 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6160 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6161 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6163 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6165 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6167 * sb-airs.el: Added footer.
6169 * shimbun.el (shimbun-article): Define as luna-method.
6171 * sb-tcup.el: New file.
6173 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6174 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6176 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6178 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6179 (shimbun-get-headers): Ditto.
6181 * elmo.el: Moved obsolete variable definitions from
6182 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6184 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6187 * shimbun.el: New file.
6189 * elmo-shimbun.el: New file.
6191 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6192 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6193 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6194 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6196 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6198 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6201 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6203 * elmo.el (elmo-folder-msgdb): Define as macro.
6204 (elmo-folder-open): Added argument `load-msgdb'.
6205 (elmo-generic-folder-open): Ditto.
6206 (elmo-folder-encache): New function.
6208 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6210 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6212 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6213 Eliminated argument FOLDER and added argument MSGDB.
6214 (elmo-dop-queue-load): Moved from elmo-dop.el.
6215 (elmo-dop-queue-save): Ditto.
6217 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6219 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6221 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6222 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6223 (elmo-filter-folder-list-importants-internal): Ditto.
6225 * elmo-map.el (elmo-folder-pack-number): Ditto.
6227 * elmo-mime.el (elmo-mime-message-display): Ditto.
6229 * elmo.el (elmo-generic-folder-commit): Ditto.
6230 (elmo-folder-list-unreads): Ditto.
6231 (elmo-folder-list-importants): Ditto.
6232 (elmo-generic-folder-commit): Ditto.
6233 (elmo-message-set-mark): Ditto.
6234 (elmo-generic-folder-append-msgdb): Ditto.
6235 (elmo-folder-synchronize): Ditto.
6236 (elmo-folder-messages): Ditto.
6237 (elmo-init): Call elmo-dop-queue-load.
6238 (elmo-folder-list-messages): Ditto.
6240 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6241 (elmo-nntp-folder-process-crosspost): Ditto.
6242 (elmo-folder-list-unreads-internal): Ditto.
6244 * elmo-dop.el: Removed old functions.
6246 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6248 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6249 `folder' to `msgdb'.
6251 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6253 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6254 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6256 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6259 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6261 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6264 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6265 (mmimap-parse-parameters-from-list): Define as alias for
6266 `mime-decode-parameter-plist' if it is defined as function.
6267 (mmimap-make-mime-entity): Added argument `number'.
6268 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6270 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6272 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6274 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6276 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6278 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6280 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6282 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6283 when elmo-imap4-default-authenticate-type is nil.
6284 (elmo-folder-list-subfolders): Ditto
6285 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6286 (elmo-imap4-fetch-callback-1-subr): Renamed from
6287 `elmo-imap4-fetch-callback-1' and define as inline function.
6288 (elmo-imap4-fetch-callback-1):
6289 Renamed from `elmo-imap4-fetch-callback'.
6290 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6292 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6293 msgdb path (To keep compatibility with main trunk).
6295 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6297 * elmo-util.el (elmo-make-file-cache): Moved position of
6300 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6301 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6302 instead of `elmo-pop3-inhibit-uidl'.
6303 (elmo-folder-exists-p): Ditto.
6304 (elmo-pop3-folder-list-messages): Ditto.
6306 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6307 instead of `elmo-pop3-inhibit-uidl'.
6308 (elmo-folder-status): Ditto.
6310 * elmo-dop.el (elmo-dop-folder): New variable.
6311 (elmo-dop-lock-message): Eliminated.
6312 (elmo-dop-unlock-message): Ditto.
6313 (elmo-dop-lock-list-load): Ditto.
6314 (elmo-dop-lock-list-save): Ditto.
6315 (elmo-dop-delete-folder): Ditto.
6316 (elmo-dop-rename-folder): Ditto.
6318 * elmo.el: Removed incomplete commentary.
6320 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6322 * elmo.el (toplevel): Require 'elmo-version first;
6323 for little `recursive-load-depth' settings.
6324 Fix "ends here" comment.
6326 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6328 * elmo-util.el (toplevel): Require 'poem;
6329 Some functions are moved from elmo-cache.el.
6331 * elmo-net.el (toplevel): Require 'elmo-cache.
6333 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6335 * elmo.el (toplevel): Ditto.
6337 * elmo-cache.el: Rewrite with luna;
6338 Some functions are moved to elmo-util.el.
6340 * elmo-internal.el (elmo-internal-folder-list): New variable.
6341 (elmo-internal-folder-initialize): Rewrite.
6342 (elmo-folder-list-subfolders): Ditto.
6344 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6345 (elmo-cache-collect-sub-directories): Ditto.
6347 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6349 * elmo-version.el (elmo-version): Up to 2.5.8.
6351 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6353 * elmo-util.el (elmo-list-insert): New function.
6355 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6357 * elmo.el (elmo-init): New function.
6358 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6360 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6361 (Renamed from `elmo-localdir-header-chop-length').
6363 * elmo-pop3.el (elmo-pop3-use-cache,
6364 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6366 * elmo-nntp.el (elmo-message-fetch): Define.
6367 (elmo-message-fetch-unplugged): Ditto.
6368 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6369 (elmo-nntp-use-cache): Ditto.
6370 (elmo-nntp-max-number-precedes-list-active): Ditto.
6372 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6374 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6375 `elmo-msgdb-insert-file-header'.
6376 Use `elmo-msgdb-file-header-chop-length'.
6378 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6381 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6382 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6383 `elmo-msgdb-insert-file-header'.
6385 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6387 Define obsolete variables with `elmo-define-obsolete-variable',
6389 * elmo-util.el (elmo-warning-buffer-name): New constant.
6390 (elmo-warning): New function.
6391 (elmo-obsolete-variable-alist): New variable.
6392 (elmo-obsolete-variable-show-warnings): New variable.
6393 (elmo-define-obsolete-variable): New function.
6394 (elmo-resque-obsolete-variable): Ditto.
6395 (elmo-resque-obsolete-variables): Ditto.
6397 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6399 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6402 * elmo-pop3.el, elmo-nntp.el: Use custom.
6404 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6406 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6407 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6409 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6411 * Luna-fy Kenichi OKADA's following changes.
6412 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6414 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6416 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6418 * elmo-util.el (elmo-display-progress): Prefer
6419 `progress-feedback-with-label' to `lprogress-display'.
6421 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6423 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6425 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6427 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6428 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6429 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6430 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6431 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6432 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6433 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6434 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6435 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6436 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6437 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6438 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6439 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6441 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6443 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6444 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6446 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6448 * elmo.el (elmo-folder-process-crosspost): New generic method.
6449 (elmo-folder-writable-p): Ditto.
6450 (elmo-folder-message-appendable-p): Eliminated.
6451 (elmo-generic-folder-append-msgdb): Rewrite.
6452 (elmo-newsgroups-hashtb): New internal variable.
6453 (elmo-crosspost-message-set): Eliminated.
6454 (elmo-crosspost-message-delete): Ditto.
6455 (elmo-setup-subscribed-newsgroups): New function.
6456 (elmo-crosspost-message-alist-modified): New internal variable.
6457 (elmo-crosspost-message-alist-load): New function (Renamed from
6458 `wl-crosspost-alist-load').
6459 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6460 `wl-crosspost-alist-save').
6462 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6464 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6466 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6467 elmo-newsgroups-hashtb).
6468 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6469 `elmo-nntp-folder-update-crosspost-message-alist'.
6470 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6471 `elmo-nntp-groups-hashtb'.
6472 (elmo-nntp-make-groups-hashtb): Eliminated.
6473 (elmo-nntp-parse-newsgroups): New function (Renamed from
6474 `wl-parse-newsgroups').
6475 (elmo-folder-creatable-p, elmo-folder-writable-p,
6476 elmo-folder-close-internal, elmo-folder-mark-as-read,
6477 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6479 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6481 * elmo-net.el (elmo-message-fetch): Check buffer size.
6483 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6485 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6487 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6488 before `close' command.
6490 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6491 `mark-alist' (All other related portions are changed).
6493 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6495 * elmo-util.el (elmo-create-hash-size): Eliminated.
6496 (elmo-make-hash) Make a hash with `one less than a power of two'
6499 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6500 (elmo-hash-maximum-size): Changed value.
6502 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6504 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6505 (elmo-mime-message-display-as-is): Ditto.
6507 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6509 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6510 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6512 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6514 * elmo-mark.el: New file.
6516 * elmo-internal.el: Rewrite (Almost empty).
6518 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6520 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6521 (mime-imap-entity-header-string): Ditto.
6522 (mmimap-entity-section): Rewrite.
6524 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6526 * elmo-nmz.el: New file.
6528 * elmo-pipe.el: Rewrite with luna.
6530 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6532 * elmo-archive.el: Rewrite with luna.
6534 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6535 (elmo-folder-list-importants-internal): Ditto.
6537 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6539 * elmo-archive.el (elmo-archive-version): Abolish.
6540 (toplevel) Removed `boso' comment.
6542 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6544 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6545 elmo-msgdb-add-msgs-to-seen-list-subr;
6546 Changed argument seen-marks to unread-marks.
6548 * elmo-nntp.el: Rewrite with luna.
6550 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6552 * elmo-filter.el: Rewrite with luna.
6554 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6556 * elmo-pop3.el: Rewrite with luna.
6558 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6560 * elmo-multi.el: Rewrite with luna.
6562 * elmo-vars.el (elmo-use-killed-list): Abolish.
6563 All other related portions are changed.
6564 (elmo-filename-replace-string-alist): Renamed from
6565 elmo-msgid-replace-string-alist.
6567 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6571 * elmo-map.el: New file.
6572 * elmo-maildir.el: Rewrite with luna.
6574 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6576 * elmo.el: Changed meaning of `elmo-folder-commit'.
6577 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6579 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6581 * elmo.el (elmo-folder-append-buffer): New function.
6582 (Renamed from `elmo-append-msg')
6584 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6586 * elmo-mime.el: New file.
6588 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6590 * elmo-cache.el: Rewrite.
6592 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6594 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6596 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6598 * elmo-vars.el (elmo): New group.
6599 (elmo-strict-diff-folder-regexp): New variable.
6601 * elmo-util.el (elmo-call-func): Abolish.
6602 (elmo-folder-get-type): Ditto.
6603 (elmo-*-get-spec): Ditto.
6604 (elmo-*-spec-*): Ditto.
6605 (elmo-imap4-identical-name-space-p): Ditto.
6606 (elmo-folder-identical-system-p): Ditto.
6607 (elmo-folder-direct-copy-alist): Ditto.
6608 (elmo-folder-direct-copy-p): Ditto.
6610 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6611 (elmo-folder-initialize): Define.
6612 (elmo-folder-get-primitive-list): Ditto.
6614 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6615 (elmo-folder-initialize): Define.
6616 Renamed `elmo-network-session-host-internal' to
6617 `elmo-network-session-server-internal'.
6619 * elmo-multi.el (elmo-multi-folder): New luna class.
6620 (elmo-folder-initialize): Define.
6621 (elmo-folder-get-primitive-list): Ditto.
6622 (elmo-folder-contains-type): Ditto.
6623 (elmo-message-use-cache-p): Ditto.
6625 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6626 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6628 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6629 (elmo-folder-initialize): Define.
6631 * elmo-filter.el (elmo-filter-folder): New luna class.
6632 (elmo-folder-initialize): Define.
6633 (elmo-folder-get-primitive-list): Ditto.
6634 (elmo-folder-contains-type): Ditto.
6636 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6638 * elmo-imap4.el: Rewrite with luna.
6640 * mmimap.el: New file.
6642 * mmelmo.el, mmelmo-imap4.el: Removed.
6644 * elmo-net.el: Ditto.
6646 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6647 (elmo-folder-initialize): Define.
6649 * elmo-archive.el (elmo-archive-folder): New luna class.
6650 (elmo-folder-initialize): Define.
6652 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6653 `elmo-folder-msgdb-path'.
6654 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6657 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6659 * elmo.el: New file.
6661 * elmo2.el: Renamed to elmo.el.
6664 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6666 * elmo-cache.el (elmo-cache-expire-by-size): Count
6667 a disk usage for a cache file entry in KB even when
6668 its kind is a directory.
6670 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6672 * elmo-version.el (elmo-version): Up to 2.5.7.
6674 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6676 * elmo-version.el (elmo-version): Up to 2.5.6.
6678 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6680 * elmo-version.el (elmo-version): Up to 2.5.5.
6682 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6684 * elmo-imap4.el (elmo-network-authenticate-session):
6685 Fixed a logic for response checking.
6687 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6689 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6690 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6691 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6694 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6695 for `starttls-open-stream' and `starttls-negotiate'.
6697 * elmo-nntp.el: Remove autoload settings for
6698 `starttls-open-stream' and `starttls-negotiate'.
6700 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6701 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6702 `luna-define-class' with `eval-and-compile'.
6704 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6706 * elmo-util.el (elmo-read-search-condition-internal):
6707 Require an element of table for searching field.
6709 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6711 * elmo-version.el (elmo-version): Up to 2.5.4.
6713 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6715 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6717 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6719 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6721 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6723 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6726 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6728 * elmo-imap4.el (elmo-imap4-delete-folder):
6729 Send "close" before "delete" (Use commented out line).
6730 (elmo-imap4-rename-folder): Ditto.
6732 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6733 folder string itself.
6734 (elmo-dop-list-deleted): New function.
6735 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6738 * elmo-util.el (elmo-string-rassoc-all): New function.
6740 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6742 * elmo-version.el (elmo-version): Up to 2.5.3.
6744 * elmo-net.el (elmo-network-get-session): Changed logic for
6745 checking process status.
6747 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6749 Changed logic for checking process status.
6751 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6753 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6755 (elmo-network-setup-session): Set UIDL hash size according to
6756 the length of list response.
6757 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6758 according to the length of list response;
6759 Return the length of list response.
6760 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6762 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6764 * elmo-imap4.el (toplevel): Require 'ssl.
6765 Add autoload 'starttls.
6766 * elmo-pop3.el (toplevel): Ditto.
6767 * elmo-nntp.el (toplevel): Ditto.
6769 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6771 * elmo-imap4.el (toplevel): defun at compile time.
6772 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6773 sasl-next-step, sasl-step-data, sasl-step-set-data.
6774 * elmo-pop3.el (toplevel): Ditto.
6776 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6778 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6780 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6782 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6784 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6785 and `elmo-pop-auth-apop'.
6787 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6789 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6791 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6793 * elmo-pop3.el (elmo-network-authenticate-session): Split
6794 encoded response value.
6796 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6798 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6799 `elmo-pop3-force-login'.
6800 Redefine `sasl-mechanisms'.
6801 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6803 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6805 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6806 Delete `elmo-imap4-authenticator-alist'.
6807 (elmo-imap4-auth-cram-md5): Delete.
6808 (elmo-imap4-auth-digest-md5): Delete.
6810 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6812 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6813 (elmo-pop3-auth-scram-md5): Ditto.
6814 (elmo-pop3-auth-cram-md5): Ditto.
6816 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6818 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6819 Delete `elmo-pop3-authenticator-alist'.
6821 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6823 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6825 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6827 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6829 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6831 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6833 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6834 Fixed problem when `elmo-pop3-use-uidl' is nil.
6835 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6837 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6839 * elmo-version.el (elmo-version): Up to 2.5.2.
6841 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6843 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6845 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6846 (elmo-pop3-msgdb-create-as-numlist): Use it.
6848 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6849 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6851 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6852 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6854 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6856 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6857 when elmo-mark-as-read is called with second argument nil.
6859 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6861 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6862 Moved to elmo-util.el.
6864 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6865 Moved from elmo-pipe.el
6867 * elmo-archive.el (elmo-archive-call-process): Enclose with
6870 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6871 "RFC822" (because RFC822.PEEK is obsolete).
6872 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6874 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6876 * elmo-archive.el (elmo-archive-call-process): Don't check for
6877 the exit status when Nemacs is running.
6879 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6881 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6884 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6885 (elmo-pop3-get-spec): Set default of auth to 'user.
6887 * elmo-imap4.el (elmo-imap4-session-check):
6888 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6889 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6890 (elmo-imap4-auth-login): New function; Revival.
6891 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6892 `elmo-imap4-auth-login'.
6894 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6896 * elmo2.el (toplevel): Move `product-provide' declare.
6897 * mmelmo.el (toplevel): Ditto.
6899 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6901 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6903 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6905 * elmo-util.el (elmo-folder-get-store-type): New function.
6906 (elmo-folder-direct-copy-p): Use it.
6908 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6910 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6911 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6912 and result of `elmo-imap4-use-flag-p'.
6913 (elmo-imap4-fetch-callback-1): Set mark according to
6914 the result of `elmo-imap4-use-flag-p'.
6916 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6918 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6919 (elmo-generic-list-folder-unread): Ditto.
6920 (elmo-folder-get-info): Ditto.
6921 (elmo-folder-set-info-max-by-numdb): Ditto.
6922 (elmo-folder-get-info-max): Ditto.
6923 (elmo-folder-get-info-length): Ditto.
6924 (elmo-folder-get-info-unread): Ditto.
6925 (elmo-folder-info-make-hashtb): Ditto.
6927 * elmo2.el: Removed above functions.
6929 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6931 * elmo-imap4.el (toplevel): Require 'ssl.
6932 Add autoload 'starttls.
6933 * elmo-pop3.el (toplevel): Ditto.
6934 * elmo-nntp.el (toplevel): Ditto.
6936 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6938 * elmo-imap4.el (toplevel): defun at compile time.
6939 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6940 sasl-next-step, sasl-step-data, sasl-step-set-data.
6941 * elmo-pop3.el (toplevel): Ditto.
6943 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6945 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6947 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6949 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6951 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6952 and `elmo-pop-auth-apop'.
6954 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6956 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6958 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6960 * elmo-pop3.el (elmo-network-authenticate-session): Split
6961 encoded response value.
6963 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6965 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6966 `elmo-pop3-force-login'.
6967 Redefine `sasl-mechanisms'.
6968 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6970 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6972 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6973 Delete `elmo-imap4-authenticator-alist'.
6974 (elmo-imap4-auth-cram-md5): Delete.
6975 (elmo-imap4-auth-digest-md5): Delete.
6977 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6979 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6980 (elmo-pop3-auth-scram-md5): Ditto.
6981 (elmo-pop3-auth-cram-md5): Ditto.
6983 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6985 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6986 Delete `elmo-pop3-authenticator-alist'.
6988 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6990 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6992 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6995 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6997 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6999 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7001 * elmo-nntp.el (elmo-nntp-get-folders-info):
7002 Fixed problem when '\' character is contained in user-id.
7003 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7006 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7008 * elmo-imap4.el (elmo-imap4-delete-folder):
7009 Send "close" before "delete" (Use commented out line).
7010 (elmo-imap4-rename-folder): Ditto.
7012 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7013 folder string itself.
7014 (elmo-dop-list-deleted): New function.
7015 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7018 * elmo-util.el (elmo-string-rassoc-all): New function.
7020 * elmo-version.el (elmo-version): Up to 2.5.1.
7022 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7024 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7026 * elmo-internal.el (elmo-internal-search): Fix last change.
7028 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7030 * elmo-internal.el (elmo-internal-search): Rewrite.
7031 (Fixed problem which is pointed out by Akihiro MOTOKI
7032 <motoki@da.jp.nec.com>)
7034 * elmo-version.el (elmo-version): Up to 2.5.0.
7036 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7038 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7040 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7042 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7043 non-nil, make hierarchy.
7045 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7047 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7048 `elmo-pop3-use-uidl' must be bound to nil.
7049 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7051 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo-util.el (elmo-copy-file): Don't cause an error after
7054 `add-name-to-file' failed.
7056 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7057 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7059 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7061 * elmo-version.el (elmo-version): Up to 2.3.93.
7063 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7065 * elmo-util.el (elmo-flatten): New function.
7067 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7069 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7071 * elmo-cache.el (toplevel): Ditto.
7072 * elmo-database.el (toplevel): Ditto.
7073 * elmo-date.el (toplevel): Ditto.
7074 * elmo-dop.el (toplevel): Ditto.
7075 * elmo-filter.el (toplevel): Ditto.
7076 * elmo-imap4.el (toplevel): Ditto.
7077 * elmo-internal.el (toplevel): Ditto.
7078 * elmo-localdir.el (toplevel): Ditto.
7079 * elmo-localnews.el (toplevel): Ditto.
7080 * elmo-maildir.el (toplevel): Ditto.
7081 * elmo-msgdb.el (toplevel): Ditto.
7082 * elmo-multi.el (toplevel): Ditto.
7083 * elmo-net.el (toplevel): Ditto.
7084 * elmo-nntp.el (toplevel): Ditto.
7085 * elmo-pipe.el (toplevel): Ditto.
7086 * elmo-pop3.el (toplevel): Ditto.
7087 * elmo-util.el (toplevel): Ditto.
7088 * elmo-vars.el (toplevel): Ditto.
7089 * elmo2.el (toplevel): Ditto.
7090 * mmelmo-imap4.el (toplevel): Ditto.
7091 * mmelmo.el (toplevel): Ditto.
7093 * elmo-version.el (elmo-version): Move to top.
7095 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7096 * elmo-imap4.el (toplevel): Ditto.
7097 * elmo-localdir.el (toplevel): Ditto.
7098 * elmo-msgdb.el (toplevel): Ditto.
7099 * elmo-nntp.el (toplevel): Ditto.
7100 * elmo-pop3.el (toplevel): Ditto.
7101 * elmo-version.el (toplevel): Ditto.
7103 * elmo-localnews.el (toplevel): Added Keyword header.
7105 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7107 * elmo-version.el (product-version-as-string): Defined using
7111 * elmo-localdir.el (toplevel): Updated copyright notice.
7112 * elmo-version.el (toplevel): Ditto.
7113 * elmo-msgdb.el (toplevel): Ditto.
7114 * elmo-imap4.el (toplevel): Ditto.
7115 * elmo-nntp.el (toplevel): Ditto.
7116 * elmo-pop3.el (toplevel): Ditto.
7118 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7120 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7123 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7124 parameter value (It sometimes contains raw kanji).
7126 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7128 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7129 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7131 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7133 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7135 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7137 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7138 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7140 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7142 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7143 value if selecting folder succceeded.
7144 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7146 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7148 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7151 * elmo-util.el (elmo-string-matched-member): New function.
7153 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7155 * elmo-util.el (elmo-unintern): New macro.
7156 (elmo-number-set-member): Fixed docstring.
7158 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7161 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7163 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7164 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7166 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7168 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7171 Return non-nil if selecting folder succeeded.
7172 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7174 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7176 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7177 `file-name-completion' returns t.
7178 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7179 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7180 directory if it does not exist.
7181 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7184 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7186 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7187 enclosure (It's harmful in unplugged status).
7189 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7191 * mmelmo-1.el: Removed.
7193 * mmelmo-2.el: Ditto.
7195 * mmelmo-imap4-1.el: Ditto.
7197 * mmelmo-imap4-2.el: Ditto.
7199 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7201 * mmelmo.el: Merged mmelmo-2.el.
7203 * elmo-version.el (elmo-version): Up to 2.3.92.
7205 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7207 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7208 elmo-update-number): Remove last period in "...done." message.
7209 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7211 * elmo-cache.el (elmo-cache-expire-by-size,
7212 elmo-cache-get-sorted-cache-file-list,
7213 elmo-cache-msgdb-create-as-numlist): Ditto.
7214 * elmo-dop.el (elmo-dop-save-pending-messages,
7215 (elmo-dop-flush-pending-append-operations): Ditto.
7216 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7217 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7218 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7219 (elmo-localdir-pack-number): Ditto.
7220 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7221 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7222 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7223 mime-write-entity-content): Ditto.
7224 * pldap.el (ldap-search-basic): Ditto.
7226 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7228 * elmo-version.el (elmo-version): Up to 2.3.91.
7230 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7231 Only when filter is 'last'.
7233 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7234 (elmo-condition-parse-search-value): Use it.
7235 (elmo-read-search-condition-internal): Quote value only when
7238 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7240 * elmo2.el (elmo-generic-folder-diff): Fix.
7242 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7244 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7245 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7246 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7247 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7248 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7249 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7251 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7253 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7256 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7258 * elmo-version.el (elmo-version): Up to 2.3.90.
7260 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7261 (elmo-imap4-list-folder-important): Ditto.
7263 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7265 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7267 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7269 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7271 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7273 * elmo-nntp.el (elmo-network-initialize-session):
7274 Add starttls negotiation.
7276 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7278 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7280 (elmo-network-setup-session): Define.
7281 Call `elmo-nntp-send-mode-reader' when session opened.
7283 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7285 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7287 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7289 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7290 an invalid SPACE character ahead of `SEARCH' command. Move
7291 a valid SPACE character following `SEARCH' from conditional
7292 `format' arguments to control-strings.
7294 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7296 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7299 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7301 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7303 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7304 `w32-get-true-file-link-count' as t.
7306 * elmo-imap4.el (elmo-imap4-read): Abolished.
7307 (Renamed to `elmo-read' and moved to elmo-util.el)
7308 All other related portions are changed.
7310 * elmo-util.el (elmo-read): New function.
7311 (elmo-condition-parse-search-value): Use it.
7313 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7315 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7317 * elmo-nntp.el (elmo-nntp-session): Define.
7318 (elmo-nntp-setting): Abolished.
7319 All other related portions are changed.
7320 (elmo-nntp-get-server-command): Changed argument.
7321 (elmo-nntp-set-server-command): Ditto.
7322 (elmo-nntp-xover-p): Ditto.
7323 (elmo-nntp-set-xover): Ditto.
7324 (elmo-nntp-listgroup-p): Ditto.
7325 (elmo-nntp-set-listgroup): Ditto.
7326 (elmo-nntp-list-active-p): Ditto.
7327 (elmo-nntp-set-list-active): Ditto.
7328 (elmo-nntp-xhdr-p): Ditto.
7329 (elmo-nntp-set-xhdr): Ditto.
7330 (elmo-nntp-flush-connection): Abolished.
7331 (elmo-nntp-get-connection): Abolished.
7332 (elmo-nntp-get-session): New function.
7333 (elmo-network-initialize-session): Defined.
7334 (elmo-network-authenticate-session): Ditto.
7335 (elmo-nntp-send-mode-reader): Changed argument.
7336 (elmo-nntp-send-command): Changed argument.
7337 All other related portions are changed.
7338 (elmo-nntp-read-response): Ditto.
7339 (elmo-nntp-read-raw-response): Ditto.
7340 (elmo-nntp-read-contents): Ditto.
7341 (elmo-nntp-read-body): Ditto.
7342 (elmo-nntp-goto-folder): Abolished.
7343 (elmo-nntp-select-group): New function.
7344 All other related portions are changed.
7345 (This function substitutes `elmo-nntp-goto-folder')
7346 (elmo-nntp-msgdb-create-by-header): Rewrite.
7347 (elmo-nntp-get-overview): Eliminated.
7348 (elmo-nntp-get-message): Ditto.
7349 (elmo-nntp-open-connection) Abolished.
7350 (elmo-nntp-read-msg): Rewrite.
7351 (elmo-nntp-post): Ditto.
7352 (elmo-nntp-send-data): Abolished.
7353 (elmo-nntp-send-buffer): New function.
7354 (elmo-nntp-send-data-line): Define as inline function.
7355 (elmo-nntp-get-folders-info-prepare): Use session as key.
7356 (elmo-nntp-groups-read-response): Changed argument.
7357 (elmo-nntp-retrieve-headers): Ditto.
7358 (elmo-nntp-msgdb-create-message): Ditto.
7360 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7361 when searching by 'since' or 'before'.
7363 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7365 * elmo-version.el (toplevel): Use product-version-as-string for set
7366 verstion-string, if defined.
7368 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7370 * elmo-util.el: Doc fixes.
7372 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7374 * elmo-archive.el (toplevel): Use product-provide.
7375 * elmo-cache.el (toplevel): Ditto.
7376 * elmo-database.el (toplevel): Ditto.
7377 * elmo-date.el (toplevel): Ditto.
7378 * elmo-dop.el (toplevel): Ditto.
7379 * elmo-filter.el (toplevel): Ditto.
7380 * elmo-imap4.el (toplevel): Ditto.
7381 * elmo-internal.el (toplevel): Ditto.
7382 * elmo-localdir.el (toplevel): Ditto.
7383 * elmo-localnews.el (toplevel): Ditto.
7384 * elmo-maildir.el (toplevel): Ditto.
7385 * elmo-msgdb.el (toplevel): Ditto.
7386 * elmo-multi.el (toplevel): Ditto.
7387 * elmo-net.el (toplevel): Ditto.
7388 * elmo-nntp.el (toplevel): Ditto.
7389 * elmo-pipe.el (toplevel): Ditto.
7390 * elmo-pop3.el (toplevel): Ditto.
7391 * elmo-util.el (toplevel): Ditto.
7392 * elmo-vars.el (toplevel): Ditto.
7393 * elmo2.el (toplevel): Ditto.
7394 * mmelmo-1.el (toplevel): Ditto.
7395 * mmelmo-2.el (toplevel): Ditto.
7396 * mmelmo-imap4-1.el (toplevel): Ditto.
7397 * mmelmo-imap4-2.el (toplevel): Ditto.
7398 * mmelmo-imap4.el (toplevel): Ditto.
7399 * mmelmo.el (toplevel): Ditto.
7401 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7403 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7404 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7406 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7408 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7410 (elmo-multi-split-number-alist): Ditto.
7412 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7414 * elmo-version.el: New file. Use product.el.
7415 * elmo2.el: Add (require 'elmo-version).
7416 * elmo-vars.el (elmo-appname, elmo-version): Move to
7419 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7421 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7422 `elmo-msgdb-expand-path'.
7423 (elmo-msgdb-load): Ditto.
7424 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7425 (elmo-generic-list-folder-unread): Rewrite.
7426 (elmo-generic-list-folder-important): Changed argument.
7427 (elmo-list-folder-unread): Ditto.
7428 (elmo-list-folder-important): Ditto.
7429 (elmo-folder-diff): Rewrite.
7430 (elmo-generic-folder-diff): New function.
7431 (elmo-multi-get-number-alist-list): Abolished
7432 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7433 (elmo-multi-folder-diff): Moved to elmo-multi.el
7434 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7436 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7437 `elmo-msgdb-expand-path'.
7438 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7439 (elmo-pop3-read-msg): Ditto.
7440 (elmo-pop3-delete-msgs): Ditto.
7441 (elmo-pop3-folder-diff): New alias.
7443 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7444 `elmo-msgdb-expand-path'.
7445 (elmo-pipe-list-folder-unread): Changed arguments.
7446 (elmo-pipe-list-folder-important): Ditto.
7447 (elmo-pipe-folder-diff): New alias.
7449 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7450 `elmo-msgdb-expand-path'.
7451 (elmo-nntp-max-of-folder): Ditto.
7452 (elmo-nntp-msgdb-create): Ditto.
7453 (elmo-nntp-delete-msgs): Ditto.
7454 (elmo-nntp-folder-diff): New alias.
7456 * elmo-multi.el (elmo-multi-folder-diff): New function.
7457 (elmo-multi-split-mark-alist): Ditto.
7458 (elmo-multi-split-number-alist): Ditto.
7459 (elmo-multi-mark-alist-list): Abolished (Renamed to
7460 elmo-multi-split-mark-alist).
7461 (elmo-multi-list-folder-unread): Rewrite.
7462 (elmo-multi-list-folder-important): Ditto.
7463 (elmo-multi-list-folder): Set `spec' as 1st argument for
7464 `elmo-msgdb-expand-path'.
7465 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7466 instead of `elmo-multi-get-number-alist-list'.
7468 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7469 If 1st argument is not string, treat as spec.
7470 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7471 `elmo-msgdb-expand-path'.
7472 (elmo-msgdb-flist-load): Ditto.
7473 (elmo-msgdb-flist-save): Ditto.
7474 (elmo-msgdb-delete-path): Ditto.
7475 (elmo-msgdb-rename-path): Ditto.
7477 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7478 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7479 (elmo-maildir-delete-mark-msgs): Ditto.
7480 (elmo-maildir-msgdb-create): Ditto.
7481 (elmo-maildir-read-msg): Ditto.
7482 (elmo-maildir-delete-msgs): Ditto.
7483 (elmo-maildir-list-folder-subr): Ditto.
7484 (elmo-maildir-search): Ditto.
7485 (elmo-maildir-get-msg-filename): Ditto.
7486 (elmo-maildir-pack-number): Ditto.
7487 (elmo-maildir-folder-diff): New alias.
7489 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7491 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7492 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7493 (elmo-localdir-folder-diff): New alias.
7495 * elmo-internal.el (elmo-internal-list-folder-subr):
7496 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7497 (elmo-internal-list-folder-by-location): Ditto.
7498 (elmo-internal-msgdb-create): Ditto.
7499 (elmo-internal-delete-msgs): Ditto.
7500 (elmo-internal-read-msg): Ditto.
7501 (elmo-internal-folder-diff): New alias.
7503 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7504 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7505 `elmo-msgdb-expand-path'.
7506 (elmo-imap4-list-folder-unread): Changed arguments.
7507 (elmo-imap4-list-folder-important): Ditto.
7509 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7510 (elmo-filter-list-folder-important): Ditto.
7511 (elmo-filter-folder-diff): New function.
7513 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7515 * elmo-cache.el (elmo-cache-list-folder):
7516 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7517 (elmo-cache-copy-msgs): Ditto.
7518 (elmo-cache-folder-diff): New alias.
7520 * elmo-archive.el (elmo-archive-list-folder-subr):
7521 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7522 (elmo-archive-get-archive-name): Ditto.
7523 (elmo-archive-create-file): Ditto.
7524 (elmo-archive-append-msg): Ditto.
7525 (elmo-archive-copy-msgs): Ditto.
7526 (elmo-archive-copy-msgs-froms): Ditto.
7527 (elmo-archive-get-msg-filename): Ditto.
7528 (elmo-archive-folder-diff): New alias.
7530 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7532 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7533 (elmo-pop3-stream-type-alist): New variable.
7534 (elmo-nntp-stream-type-alist): New variable.
7536 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7537 (elmo-kill-buffer): Ditto.
7538 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7539 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7540 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7541 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7542 (elmo-imap4-get-spec): Take into account
7543 `elmo-imap4-stream-type-alist'.
7545 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7547 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7548 (elmo-nntp-list-folders-get-cache): Ditto.
7550 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7552 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7553 character before 'uid'.
7555 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7557 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7559 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7561 * elmo-util.el (elmo-number-set-member): New function.
7562 (elmo-number-set-append-list): Ditto.
7563 (elmo-number-set-append): Ditto.
7565 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7566 Use `elmo-number-set-member'.
7567 (elmo-living-messages): Ditto.
7568 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7569 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7571 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7572 (elmo-imap4-add-to-cont-list): Abolished.
7573 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7574 instead of elmo-imap4-add-to-cont-list.
7576 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7577 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7579 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7581 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7583 * elmo-util.el (elmo-condition-parse-search-value):
7586 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7588 * elmo-util.el (elmo-condition-find-key-internal): New function.
7589 (elmo-condition-find-key): Ditto.
7591 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7592 (elmo-msgdb-search-internal): Ditto.
7593 (elmo-msgdb-search): Ditto.
7595 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7597 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7598 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7600 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7601 (elmo-nntp-search-primitive): Fixed problem when condition is
7604 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7606 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7607 (elmo-nntp-xhdr-p): New macro.
7608 (elmo-nntp-set-xhdr): Ditto.
7609 (elmo-nntp-parse-xhdr-response): New function.
7610 (elmo-nntp-retrieve-field): Ditto.
7611 (elmo-nntp-search-primitive): Ditto.
7612 (elmo-nntp-search): Implemented.
7614 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7616 * elmo-archive.el (elmo-archive-search): Set all number list to
7617 `elmo-archive-field-condition-match'
7619 * elmo-localdir.el (elmo-localdir-search): Likewise.
7621 * elmo-maildir.el (elmo-maildir-search): Likewise.
7623 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7625 * elmo-msgdb.el (elmo-living-messages): New function.
7626 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7627 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7628 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7629 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7630 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7631 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7632 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7633 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7634 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7635 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7636 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7638 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7640 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7642 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7644 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7646 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7647 arguments for `SEARCH' command.
7648 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7649 All other related portions are changed.
7651 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7653 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7654 (elmo-list-folder-unread): Rewrite.
7655 (elmo-list-folder-important): Ditto.
7657 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7658 (elmo-condition-parse-error): New inline function.
7659 (elmo-read-search-condition): New function.
7660 (elmo-read-search-condition-internal): Ditto.
7661 (elmo-parse-search-condition): Rewrite.
7662 (elmo-condition-parse): New function.
7663 (elmo-condition-parse-or-expr): Ditto.
7664 (elmo-condition-parse-and-expr): Ditto.
7665 (elmo-condition-parse-primitive): Ditto.
7666 (elmo-condition-parse-search-value): Ditto.
7667 (elmo-buffer-field-primitive-condition-match): Ditto.
7668 (elmo-buffer-field-condition-match): Rewrite.
7669 (elmo-file-field-condition-match): Ditto.
7671 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7672 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7674 * elmo-internal.el (elmo-internal-search): Set `number' and
7675 `number-list' argument of `elmo-file-field-condition-match'.
7677 * elmo-maildir.el (elmo-maildir-search): Ditto.
7679 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7680 `msgdb' as argument instead of `mark-alist'.
7681 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7684 * elmo-multi.el: Likewise.
7686 * elmo-pipe.el: Likewise.
7688 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7689 (elmo-imap4-search-internal): Rewrite.
7690 (elmo-imap4-search): Ditto.
7692 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7693 (elmo-filter-list-folder-unread): Ditto.
7694 (elmo-filter-list-folder-important): Ditto.
7695 (elmo-filter-search): Rewrite.
7697 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7698 `number-list' argument of `elmo-file-field-condition-match'.
7699 (elmo-cache-search): Ditto.
7701 * elmo-localdir.el: Likewise.
7703 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7704 number-list and pass it to `elmo-buffer-field-condition-match'.
7705 (elmo-archive-field-condition-match): Pass `number-list' to
7706 `elmo-archive-field-condition-match'
7708 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7710 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7713 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7714 (elmo-folder-diff-async-callback-data): Ditto.
7715 (elmo-folder-diff-async): New function.
7717 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7718 (elmo-network-session-cache-key): Use it as a prefix of the session
7720 (elmo-network-open-session): Ditto.
7722 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7723 (elmo-imap4-status-callback-data): Ditto.
7724 (elmo-imap4-server-diff-async-callback): New variable.
7725 (elmo-imap4-server-diff-async-callback-data): Ditto.
7726 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7727 `elmo-imap4-status-callback-data'.
7728 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7729 `elmo-imap4-status-callback-data' as nil.
7730 (elmo-imap4-server-diff): Ditto.
7731 (elmo-imap4-server-diff-async-callback-1): New function.
7732 (elmo-imap4-server-diff-async): Ditto.
7733 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7735 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7737 * elmo-util.el (elmo-list-delete): Doc fix.
7738 (elmo-delete-lists): Abolish.
7739 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7740 instead of `elmo-delete-lists'.
7742 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7744 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7747 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7749 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7750 `elmo-imap4-literal-subr'.
7751 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7752 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7754 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7756 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7757 (elmo-archive-list-folder): Fix.
7758 (elmo-archive-max-of-folder): Fix.
7760 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7762 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7763 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7764 (elmo-localdir-append-msg): Ditto.
7765 (elmo-localdir-list-folder): Fix for `nonsort'.
7766 (elmo-localdir-list-folder-subr): Fix for `killed'.
7767 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7768 (elmo-maildir-list-folder-subr): Ditto.
7769 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7770 (elmo-archive-list-folder-subr): Ditto.
7771 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7772 (elmo-internal-list-folder-subr): Ditto.
7774 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7776 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7778 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7780 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7782 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7784 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7785 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7787 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7789 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7790 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7792 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7794 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7796 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7797 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7798 before STORE command.
7800 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7802 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7804 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7805 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7807 (elmo-imap4-list-folders): Removed unused local variable.
7808 (elmo-network-initialize-session): Ditto.
7809 (elmo-imap4-delete-msg-by-id): Ditto.
7810 (elmo-imap4-parse-fetch): Ditto.
7811 (elmo-imap4-copy-msgs): Ditto.
7812 Use `dst-spec' instead of `dst-folder'.
7813 (elmo-network-authenticate-session): Check authenticate type `plain'.
7815 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7817 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7819 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7820 `elmo-imap4-response-value'.
7821 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7823 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7825 * elmo-imap4.el (elmo-imap4-send-command):
7826 Cause elmo-imap4-bye-error when current response is BYE.
7827 (elmo-imap4-arrival-filter): Changed greeting response value.
7829 * elmo2.el (elmo-imap4-bye-error): Define.
7831 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7832 (elmo-imap4-server-diff): Ditto.
7833 (elmo-imap4-response-bye-p): New macro.
7834 (elmo-imap4-response-error-text): Get text from BYE response.
7835 (elmo-imap4-read-response): Return if BYE response.
7836 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7837 (elmo-imap4-folder-exists-p): Ditto.
7838 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7839 (elmo-imap4-parse-bye): New function.
7840 (elmo-imap4-parse-response): Remove needless let.
7841 Call `elmo-imap4-parse-bye'.
7843 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7845 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7846 the mailbox does not exist.
7847 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7849 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7851 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7853 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7855 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7857 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7858 (elmo-network-initialize-session-buffer): Defined.
7860 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7862 (mmelmo-imap4-get-mime-entity): Rewrite.
7864 * elmo2.el (elmo-error): Capitalize error message.
7866 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7867 (elmo-network-session-buffer): New macro.
7868 (elmo-network-open-session): Use it.
7870 * elmo-imap4.el: Rewrite.
7872 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7874 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7876 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7878 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7879 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7880 (elmo-imap4-create-msgdb-from-overview-string): Use
7881 `elmo-msgdb-create-overview-from-buffer'.
7883 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7885 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7886 (elmo-imap4-default-hierarchy-delimiter): New variable.
7887 (elmo-imap4-list-folders): Use it.
7889 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7891 * elmo-net.el (elmo-network-open-session): Add user and
7892 stream-type for process-buffer name.
7894 * elmo-pop3.el (elmo-network-initialize-session): Call
7895 buffer-disable-undo.
7897 * elmo-imap4.el (elmo-network-initialize-session):
7898 Set current-buffer as an argument for `buffer-disable-undo'.
7900 * elmo-pop3.el (elmo-network-close-session): Don't use
7903 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7904 Set default as 'user.
7906 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7908 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7909 and `elmo-imap4-flush-connection'.
7911 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7912 (elmo-pop3-get-spec): Assume auth as symbol.
7913 (elmo-open-network-stream): Moved to `elmo-net'.
7915 * elmo-pop3.el (toplevel): Require 'elmo-net.
7916 Define `sasl-cram-md5' to silence byte compilier.
7917 (elmo-pop3-connection-cache) Abolished.
7918 (elmo-pop3-authenticator-alist) New variable.
7919 (elmo-pop3-session): Define.
7920 (elmo-pop3-connection-get-process): Abolished.
7921 (elmo-pop3-connection-get-buffer): Ditto.
7922 (elmo-pop3-close-connection): Ditto.
7923 (elmo-pop3-flush-connection): Ditto.
7924 (elmo-pop3-get-connection): Ditto.
7925 (elmo-pop3-get-session): New function.
7926 (Replacement for `elmo-pop3-get-connection').
7927 All other related modules are changed.
7928 (elmo-network-close-session): Define.
7929 (elmo-pop3-send-command): Abolished argument `buffer'.
7930 All other related modules are changed.
7931 (elmo-pop3-read-response): Likewise.
7932 (elmo-pop3-open-connection): Abolished.
7933 (elmo-pop3-auth-user): New function.
7934 (elmo-pop3-auth-apop): Ditto.
7935 (elmo-pop3-auth-cram-md5): Ditto.
7936 (elmo-pop3-auth-scram-md5): Ditto.
7937 (elmo-pop3-auth-digest-md5): Ditto.
7938 (elmo-network-initialize-session): Define.
7939 (elmo-network-authenticate-session): Ditto.
7940 (elmo-network-setup-session): Ditto.
7942 * elmo-imap4.el (toplevel): Require 'elmo-net.
7943 (elmo-imap4-session): Define.
7944 (elmo-imap4-connection-cache): Abolished.
7945 (elmo-imap4-password-key): Ditto.
7946 (elmo-imap4-flush-connection): Ditto.
7947 (elmo-imap4-get-connection): Ditto.
7948 All other related modules are changed.
7949 (elmo-imap4-get-session): New function
7950 (Replacement for `elmo-imap4-get-connection').
7951 (elmo-imap4-read-response): Abolished argument `buffer'.
7952 All other related modules are changed.
7953 (elmo-imap4-send-command): Likewise.
7954 (elmo-imap4-select-folder): Abolished.
7955 All other related modules are changed.
7956 (elmo-imap4-select-mailbox): New function.
7957 (Replacement for `elmo-imap4-select-folder').
7958 (elmo-imap4-auth-login): Simplify.
7959 (Assume current buffer as process buffer)
7960 (elmo-imap4-auth-cram-md5): Ditto.
7961 (elmo-imap4-auth-digest-md5): Ditto.
7962 (elmo-imap4-login): Ditto.
7963 (elmo-imap4-open-connection): Abolished.
7964 (elmo-imap4-open-connection-1): Abolished.
7965 (elmo-network-initialize-sessoin): Define.
7966 (elmo-network-authenticate-session): Ditto.
7967 (elmo-network-setup-session): Ditto.
7969 * elmo-net.el: New module.
7971 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7973 * elmo-util.el (elmo-define-error): New function.
7975 * elmo2.el (elmo-error): Define.
7976 (elmo-open-error): Define.
7977 (elmo-authenticate-error): Define.
7979 * elmo-imap4.el (elmo-imap4-error): Abolish.
7980 (elmo-imap4-error-type): Abolish.
7981 (elmo-imap4-error-process): Abolish.
7982 (elmo-imap4-error-message): Abolish
7983 (elmo-imap4-list-folders): Don't quote lambda.
7984 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7985 (elmo-imap4-parse-namespace): Ditto.
7986 (elmo-imap4-open-connection): Rewrite.
7987 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7988 (elmo-imap4-get-connection): Abolish local variable `result'.
7990 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7992 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7993 wrong-type-argument error when auth is nil.
7995 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7997 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7998 (elmo-default-nntp-stream-type): Ditto.
7999 (elmo-default-pop3-stream-type): Ditto.
8000 (elmo-network-stream-type-alist): Ditto.
8001 (elmo-default-imap4-ssl): Abolished.
8002 (elmo-default-nntp-ssl): Ditto.
8003 (elmo-default-pop3-ssl): Ditto.
8005 * elmo-util.el: (toplevel): Removed needless requires.
8006 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8007 (elmo-open-network-stream): Open network stream according to
8008 the value of `elmo-network-stream-type-alist'.
8009 (elmo-get-network-stream-type): New function.
8010 (elmo-network-stream-type-spec-string): New macro.
8011 (elmo-network-stream-type-symbol): Ditto.
8012 (elmo-network-stream-type-function): Ditto.
8014 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8015 network-stream-type. All other related portions are changed.
8016 (elmo-pop3-open-connection): Ditto.
8018 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8019 network-stream-type. All other related portions are changed.
8021 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8022 network-stream-type.All other related portions are changed.
8023 (elmo-imap4-error): New macro.
8024 (elmo-imap4-error-type): Ditto.
8025 (elmo-imap4-error-process): Ditto.
8026 (elmo-imap4-error-message): Ditto.
8027 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8028 (elmo-imap4-auth-cram-md5): Ditto.
8029 (elmo-imap4-auth-digest-md5): Ditto.
8030 (elmo-imap4-login): Ditto.
8031 (elmo-imap4-open-connection): Remove password entry if authentication
8033 (elmo-imap4-user-at-host): Abolished.
8034 (elmo-imap4-password-key): New buffer local variable.
8035 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8036 using protocol, port, auth and stream-type.
8038 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8040 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8042 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8044 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8046 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8047 (elmo-imap4-authenticator-alist): New variable.
8048 (elmo-imap4-open-connection-1): Rename from
8049 elmo-imap4-open-connection.
8050 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8051 only wraps elmo-imap4-open-connection-1.
8052 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8054 (elmo-imap4-auth-login): New function.
8055 (elmo-imap4-auth-cram-md5): New function.
8056 (elmo-imap4-auth-digest-md5): New function.
8057 (elmo-imap4-login): New function.
8059 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8061 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8064 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8066 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8068 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8070 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8072 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8074 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8075 for server responses, quote `*' regardless of where it appears.
8077 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8079 * elmo-maildir.el (elmo-maildir-commit): New alias.
8081 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8083 * elmo-util.el (elmo-display-progress):
8084 Use `progress-feedback-with-label'.
8086 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8088 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8089 (elmo-imap4-non-atom-char-regex): Ditto.
8090 (elmo-imap4-non-text-char-regex): Ditto.
8091 (elmo-imap4-literal-threshold): Ditto.
8092 (elmo-imap4-atom-p): New function.
8093 (elmo-imap4-quotable-p): Ditto.
8094 (elmo-imap4-nil): Ditto.
8095 (elmo-imap4-atom): Ditto.
8096 (elmo-imap4-quoted): Ditto.
8097 (elmo-imap4-literal-subr): Ditto.
8098 (elmo-imap4-literal): Ditto.
8099 (elmo-imap4-buffer-literal): Ditto.
8100 (elmo-imap4-string-subr): Ditto.
8101 (elmo-imap4-string): Ditto.
8102 (elmo-imap4-buffer-string): Ditto.
8103 (elmo-imap4-astring-subr): Ditto.
8104 (elmo-imap4-astring): Ditto.
8105 (elmo-imap4-buffer-astring): Ditto.
8106 (elmo-imap4-nstring): Ditto.
8107 (elmo-imap4-buffer-nstring): Ditto.
8108 (elmo-imap4-mailbox): New alias.
8109 (elmo-imap4-field-body): Ditto.
8110 (elmo-imap4-userid): Ditto.
8111 (elmo-imap4-password): Ditto.
8112 (elmo-imap4-format-quoted): New function.
8113 (elmo-imap4-send-command): Rewritten. Accept a list of command
8114 arguments and handle "atom", "quoted" and "literal" string here.
8115 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8116 `elmo-imap4-send-command'.
8117 (elmo-imap4-folder-exists-p): Likewise.
8118 (elmo-imap4-create-folder): Likewise.
8119 (elmo-imap4-delete-folder): Likewise.
8120 (elmo-imap4-rename-folder): Likewise.
8121 (elmo-imap4-max-of-folder): Likewise.
8122 (elmo-imap4-check-validity): Likewise.
8123 (elmo-imap4-sync-validity): Likewise.
8124 (elmo-imap4-server-diff): Likewise.
8125 (elmo-imap4-select-folder): Likewise.
8126 (elmo-imap4-copy-msgs): Likewise.
8127 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8128 (elmo-imap4-mark-set-on-msgs): Likewise.
8129 (elmo-imap4-read-part): Likewise.
8130 (elmo-imap4-read-msg): Likewise.
8131 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8132 `elmo-imap4-password' for `elmo-imap4-send-command'.
8133 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8134 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8135 `elmo-imap4-buffer-literal'.
8136 (elmo-imap4-append-msg): Likewise.
8138 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8139 `delete' for removing dead connection from the connection cache.
8140 Move deletion of the process buffer after that.
8141 (elmo-imap4-list): Change `defsubst' to `defun'.
8142 (elmo-imap4-commit): Make error message verbose.
8143 (elmo-imap4-search): Ditto.
8144 (elmo-imap4-list): Ditto.
8145 (elmo-imap4-select-folder): Ditto.
8146 (elmo-imap4-copy-msgs): Ditto.
8147 (elmo-imap4-delete-msg-by-id): Ditto.
8148 (elmo-imap4-append-msg-by-id): Ditto.
8149 (elmo-imap4-append-msg): Ditto.
8151 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8153 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8154 when dired is used on XEmacs.
8156 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8158 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8159 instead of `append'.
8160 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8161 `elmo-plugged-p' directly.
8162 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8163 of `elmo-plugged-p' directly.
8165 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8166 Eliminate unused variable. Use `memq' for checking a process status.
8167 Use `cons' instead of `append' for updating the connection cache.
8168 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8169 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8171 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8173 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8174 `elmo-imap4-read-point' exactly.
8176 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8177 the local variable `folder' to `mailbox'.
8178 Rename the argument `fld' to `folder'.
8180 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8182 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8183 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8185 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8187 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8188 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8189 (elmo-pop3-uidl-number-hash): Ditto.
8190 (elmo-pop3-size-hash): Ditto.
8191 (elmo-pop3-uidl-done): Ditto.
8192 (elmo-pop3-list-done): Ditto.
8193 (elmo-pop3-connection-get-process): New defmacro.
8194 (elmo-pop3-connection-get-buffer): Ditto.
8195 (elmo-pop3-close-connection): Delete buffer and process.
8196 (elmo-pop3-flush-connection): Don't delete buffer and process.
8197 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8198 Setup UIDL and size hash.
8199 (elmo-pop3-send-command-no-erase): Deleted
8200 (elmo-pop3-send-command): Added optional argument `no-erase'.
8201 (elmo-pop3-parse-uidl-response): New function.
8202 (elmo-pop3-parse-list-response): Set size hash.
8203 (elmo-pop3-list-location): New function.
8204 (elmo-pop3-list-by-uidl-subr): Ditto.
8205 (elmo-pop3-list-by-list): Ditto.
8206 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8207 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8208 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8209 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8210 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8212 (elmo-pop3-uidl-to-number): New function.
8213 (elmo-pop3-number-to-uidl): Ditto.
8214 (elmo-pop3-number-to-size): Ditto.
8215 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8216 Set number by use of uidl.
8217 (elmo-pop3-msgdb-create-message): Likewise.
8218 Set size, loc-alist in msgdb.
8219 (elmo-pop3-read-msg): Set number by use of uidl.
8220 Added optional argument `msgdb'.
8221 (elmo-pop3-delete-msg): Ditto.
8222 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8223 (elmo-pop3-commit): Close connection.
8225 * elmo-pipe.el (elmo-pipe-max-of-folder):
8226 Bind `elmo-pop3-use-uidl' as nil.
8227 (elmo-pipe-drain): Ditto.
8230 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8231 (elmo-msgdb-overview-entity-set-size): New defsubst.
8233 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8235 * elmo-vars.el (elmo-use-killed-list): New variable
8236 (Renamed from `elmo-nntp-use-killed-list').
8237 (elmo-nntp-use-killed-list): Eliminated.
8239 * elmo-msgdb.el (elmo-msgdb-expand-path):
8240 Changed expanding msgdb path for elmo-multi.
8242 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8243 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8244 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8245 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8246 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8247 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8248 (toplevel): Deleted time-stamp line.
8250 * elmo2.el (elmo-clear-killed ): Defined as function
8251 (Abolished defining as a backend function).
8252 All other related modules are changed.
8254 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8256 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8258 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8260 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8262 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8264 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8266 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8268 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8269 asynchronous folder check.
8271 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8273 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8274 `elmo-nntp-use-killed-list'.
8275 (elmo-nntp-list-folder): Use killed list.
8276 (elmo-nntp-max-of-folder): Ditto.
8277 (elmo-nntp-msgdb-create): Set killed list.
8279 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8281 * elmo2.el (elmo-clear-killed): New backend function.
8282 All other related modules are changed.
8284 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8286 * elmo-util.el (elmo-imap4-spec-folder): Use
8287 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8288 All callers changed.
8290 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8292 * mmelmo-2.el (initialize-instance):
8293 Use `mime-buffer-entity-buffer-internal' instead of
8294 `mime-entity-buffer'.
8296 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8297 (mime-entity-body): Implemented.
8298 (mime-goto-header-start-point): Deleted.
8299 (mime-goto-body-end-point): Ditto.
8300 (mime-entity-point-min): Ditto.
8301 (mime-entity-point-max): Ditto.
8302 (mime-entity-children): Ditto.
8303 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8304 instead of `mime-entity-buffer'.
8305 (mime-entity-header-buffer): Ditto.
8306 (mime-entity-body-buffer): Ditto.
8307 (mime-write-entity-content): Ditto.
8309 * pldap.el (ldap-static-if): New macro.
8310 (toplevel): Use it instead of `static-if'.
8312 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8314 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8315 included in `attrs' argument.
8317 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8319 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8321 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8322 (ldap-ldif-safe-init-char-regexp): Ditto.
8323 (ldap-ldif-safe-string-regexp): Ditto.
8324 (ldap/ldif-safe-string-p): New macro.
8325 (ldap/ldif-insert-field): Ditto.
8326 (ldap-modify): Use it.
8328 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8329 (ldap-decode-attribute): Decode only when `attr' is consp.
8330 (ldap-delete): Bind `ret'.
8331 (toplevel): Require 'cl at compile time.
8332 Removed (require 'poe) and (require 'std11).
8333 (pldap-version): Eliminated.
8334 (ldap-search-basic): Removed auth and dn binding.
8335 (ldap-ldif-field-name-regexp): New constant.
8336 (ldap-ldif-field-head-regexp): Ditto.
8337 (ldap-ldif-next-field-head-regexp): Ditto.
8338 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8339 (ldap/field-end): New function.
8340 (ldap/field-body): Use it.
8341 (ldap/collect-field): Ditto.
8342 (ldap-search-basic): Use `ldap/field-body'.
8344 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8346 * pldap.el (ldap-default-attribute-encoder): New user option.
8347 (ldap/field-body): Decode base64 string.
8348 (ldap/collect-field): Ditto.
8349 (ldap-encode-attribute): New function.
8350 (ldap-add-entries): Use it.
8351 (ldap-modify-entries): Ditto.
8352 (ldap-search-entries): Enclosed decoding function with
8353 `with-temp-buffer' and set as unibyte.
8354 (ldap-search-basic): Set process buffer as unibyte.
8356 * elmo-util.el (elmo-folder-identical-system-p):
8357 Eliminated name space checking.
8359 * pldap.el: New module.
8360 toplevel: Changed condition to detect built-in ldap feature.
8361 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8362 (ldap-add): Added error handling.
8363 (ldap-modify): Ditto.
8364 (ldap-delete): Ditto.
8366 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8368 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8369 Initialize local variables with `let'. Inline a temporary
8370 variable for the progress percentage. Sort `setq' to reduce
8371 function call in the while-loop.
8373 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8374 into the conditional branch.
8376 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8378 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8379 Move a conditional out of the while-loop.
8381 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8383 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8384 elmo-msgdb-overview-get-entity-by-number.
8385 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8388 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8390 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8391 the local variable for a packed number self descriptively.
8393 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8395 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8396 * elmo-localdir.el (elmo-localdir-pack-number): Use
8397 `elmo-msgdb-overview-get-entity' instead of
8398 `elmo-msgdb-overview-get-entity-by-number'.
8399 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8400 (elmo-msgdb-search-overview-entity): Removed.
8401 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8402 by message-id or number.
8403 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8404 instead of `elmo-msgdb-overview-get-entity-by-number'.
8406 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8408 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8409 non-nil, use hash table for overview.
8410 (elmo-hash-maximum-size): New variable.
8411 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8412 (elmo-msgdb-make-overview-hashtb): New function.
8413 (elmo-msgdb-clear-overview-hashtb): New function.
8414 (elmo-clear-hash-val): New macro.
8415 All other related modules are changed.
8417 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8419 * elmo2.el (elmo-move-msgs): If there's other message with
8420 same message-id, don't use cache.
8422 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8424 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8425 number is already packed.
8427 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8429 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8431 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8433 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8434 All other related modules are changed.
8436 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8438 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8439 of refiling failure on Maildir.
8441 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8443 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8444 decoded mime-charset with cache.
8445 (elmo-msgdb-overview-entity-get-from): Ditto.
8446 (elmo-msgdb-overview-entity-get-subject): Ditto.
8447 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8449 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8451 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8452 (elmo-remove-passwd): Fill password with 0 before erase.
8453 * elmo-vars.el (elmo-passwd-life-time): New variable.
8456 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8458 * elmo-cache.el (elmo-buffer-cache-add):
8459 Set message cache buffer as unibyte.
8461 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8463 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8466 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8468 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8469 when display is finished.
8470 (elmo-nntp-msgdb-create): Ditto.
8471 (elmo-nntp-groups-read-response): Ditto.
8472 (elmo-nntp-retrieve-headers): Ditto.
8473 (elmo-nntp-msgdb-create-message): Ditto.
8474 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8475 (elmo-pop3-msgdb-create-message): Ditto.
8477 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8479 * elmo-maildir.el (elmo-maildir-msgdb-create):
8480 Use `elmo-msgdb-sort-by-date'.
8482 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8484 * elmo2.el (elmo-read-msg-no-cache):
8485 Eliminated arguments after `outbuf'.
8486 Don't use cache even if it exists.
8487 (elmo-read-msg): Don't pass arguments after `outbuf' to
8488 `elmo-read-msg-no-cache'.
8490 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8492 * elmo-archive.el (elmo-archive-list-folders):
8493 Use `file-name-directory' if base folder does not exist.
8495 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8497 * elmo-archive.el (elmo-archive-list-folders): Don't use
8498 `file-name-directory'.
8500 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8502 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8503 If `force' is non-nil, try flushing all operation queues.
8505 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8507 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8510 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8512 * elmo-util.el (elmo-display-progress): Fixed.
8514 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8516 * elmo-util.el (elmo-display-progress): New function.
8517 All other related modules are changed.