1 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
3 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
4 modification time of the file.
6 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-util.el (elmo-condition-optimize): Discriminated against
9 preserved fields, extra fields and the other weight.
11 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
13 * modb-entity.el (initialize-instance): Define.
14 (modb-entity-handler-mime-charset): New internal function.
15 (modb-standard-entity-set-field): Use it.
16 (elmo-msgdb-message-entity-field): Ditto.
17 (elmo-msgdb-message-entity-field): Ditto.
19 * modb.el (elmo-msgdb-match-condition): Rewrite with
20 `elmo-condition-match'.
21 (elmo-msgdb-match-condition-primitive): New function.
23 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
24 arguments `flags' and `numbers'.
25 (elmo-msgdb-match-condition-primitive): Abolished (merged to
26 `elmo-msgdb-message-match-condition').
27 (modb-buffer-entity-handler): New class.
29 * elmo.el (elmo-folder-search): Optimize condition to use
30 `elmo-condition-optimize'.
31 (elmo-message-buffer-match-condition): New function.
32 (elmo-message-match-condition): Use
33 `elmo-message-buffer-match-condition' instead of
34 `elmo-buffer-field-condition-match'.
36 * elmo-util.el (elmo-condition-match): New function.
37 (elmo-condition-optimize): Ditto.
38 (elmo-buffer-field-primitive-condition-match): Abolish.
39 (elmo-buffer-field-condition-match): Ditto.
41 * elmo-archive.el (elmo-archive-field-condition-match): Use
42 `elmo-message-buffer-match-condition' instead of
43 `elmo-buffer-field-condition-match'.
45 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
47 * elmo-flag.el (elmo-global-flags-initialize): Check the
48 existence of the flag directory.
50 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
52 * elmo-access.el (elmo-folder-initialize): Call
53 `elmo-multi-connect-signals'.
55 * elmo-pipe.el (elmo-folder-close): Define.
57 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
60 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
63 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
66 * elmo-multi.el (elmo-message-entity): Don't use return value of
67 `elmo-message-entity-set-number'.
69 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
71 * modb.el (modb-generic): Added slot `mime-charset'.
73 * modb-standard.el (modb-standard): Added slot `overview-handler'.
74 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
75 and `modb-entity-handler-dump-parameters'.
76 (modb-standard-default-entity-handler): Abolish.
77 (elmo-msgdb-message-entity-handler): Save created handler by
80 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
81 (modb-entity-handler-list-parameters): New method.
82 (modb-entity-handler-equal-p): New function.
83 (modb-entity-handler-dump-parameters): Ditto.
84 (modb-entity-parse-address-string): Encode return value.
85 (modb-entity-make-address-string): Decode argument value.
86 (modb-entity-decode-string-recursive): New function.
87 (modb-entity-encode-string-recursive): Ditto.
88 (modb-standard-entity-normalizer): Set to encode field value.
89 (modb-standard-entity-specializer): Follow the above change.
90 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
91 mime-charset of handler.
92 (elmo-msgdb-message-entity-field): Ditto.
93 (elmo-msgdb-copy-message-entity): Fixed reference to internal
95 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
97 * elmo.el (elmo-folder): Added slot `mime-charset'.
98 (elmo-make-folder): Added argument `mime-charset'.
99 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
102 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
103 (elmo-make-msgdb): Likewise.
105 * elmo-internal.el (elmo-internal-folder-initialize): Call
106 `luna-make-entity' with :mime-charset parameter.
108 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
110 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
111 encoded words in `from' and `subject' field.
113 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
115 * modb.el (elmo-msgdb-message-field): Add argument `type'.
116 (elmo-msgdb-match-condition): Get handler from entity instead of
119 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
120 (modb-standard-load-entity): Treat new file format.
121 (modb-standard-save-entity-1): Save as new file format.
122 (modb-standard-save-entity): Split messages into section here.
123 (elmo-msgdb-message-field): Follow the API change.
124 (modb-standard-default-entity-handler): New internal variable.
125 (elmo-msgdb-message-entity-handler): Define.
127 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
129 (modb-entity-field-extractor-alist): New user option.
130 (elmo-msgdb-message-entity-field): Removed argument `decode' and
131 added argument `type'.
132 (elmo-msgdb-copy-message-entity): Add optional argument
134 (modb-set-field-converter): New function.
135 (modb-convert-field-value): Ditto.
136 (modb-entity-string-decoder): Ditto.
137 (modb-entity-string-encoder): Ditto.
138 (modb-entity-parse-date-string): Ditto.
139 (modb-entity-make-date-string): Ditto.
140 (modb-entity-mime-decoder): Ditto.
141 (modb-entity-mime-encoder): Ditto.
142 (modb-entity-address-list-decoder): Ditto.
143 (modb-entity-address-list-encoder): Ditto.
144 (modb-entity-parse-address-string): Ditto.
145 (modb-entity-make-address-string): Ditto.
146 (modb-entity-create-field-indices): Ditto.
147 (modb-legacy-entity-field-slots): New constant.
148 (modb-legacy-entity-field-indices): Ditto.
149 (modb-legacy-entity-normalizer): New variable.
150 (modb-legacy-entity-specializer): Ditto.
151 (modb-legacy-entity-field-index): New macro.
152 (modb-legacy-entity-set-field): New function.
153 (modb-legacy-make-message-entity): Rewrite.
154 (elmo-msgdb-create-message-entity-from-buffer): Use
155 `elmo-msgdb-get-references-from-buffer'. Use
156 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
157 Use `modb-legacy-entity-set-field' instead of
158 `elmo-msgdb-message-entity-set-field'.
159 (elmo-msgdb-message-entity-field): Rewrite.
160 (elmo-msgdb-message-entity-set-field): Ditto.
161 (elmo-msgdb-copy-message-entity): Make new entity by
162 `make-handler' if it specified.
163 (elmo-msgdb-message-match-condition): Define a method of
164 `modb-entity-handler' and follow the API change.
165 (modb-standard-entity-handler): New class.
166 (modb-entity-extract-ml-info-from-x-sequence): New function.
167 (modb-entity-extract-ml-info-from-subject): Ditto.
168 (modb-entity-extract-ml-info-from-return-path): Ditto.
169 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
170 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
171 (modb-entity-extract-mailing-list-info): Ditto.
172 (modb-entity-extract-mailing-list-info-functions): New variable.
174 * elmo.el (elmo-message-field): Add optional argument `type'.
176 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
177 from `modb-entity.el'.
179 * elmo-util.el (elmo-object-load): Decode by coding-system from
180 `set-auto-coding-function'.
181 (elmo-object-save): Use `detect-mime-charset-region' and add
182 coding cookie if encode.
183 (elmo-msgdb-get-references-from-buffer): New function.
184 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
186 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
188 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
189 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
190 instead of `shimbun-make-header' and follow the API change.
191 (elmo-shimbun-update-overview): Follow the API change.
192 (elmo-map-folder-list-message-locations): Ditto.
194 * elmo-pipe.el (elmo-message-field): Ditto.
196 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
199 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
201 * elmo-multi.el (elmo-message-field): Ditto.
203 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
204 (elmo-msgdb-sort-by-date): Ditto.
205 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
206 `elmo-message-entity-field'.
207 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
209 (elmo-msgdb-overview-entity-get-from): Ditto.
210 (elmo-msgdb-overview-entity-get-subject): Ditto.
211 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
212 (elmo-msgdb-overview-entity-get-date): Ditto.
213 (elmo-msgdb-overview-entity-get-to): Ditto.
214 (elmo-msgdb-overview-entity-get-cc): Ditto.
216 * elmo-mime.el (elmo-message-mime-entity): Ditto.
217 (elmo-mime-collect-message/partial-pieces): Ditto.
219 * elmo-filter.el (elmo-message-field): Ditto.
221 * elmo-date.el (elmo-datevec-to-time): New function.
222 (elmo-time-parse-date-string): Ditto.
223 (elmo-time-make-date-string): Ditto.
226 * elmo-version.el (elmo-version): Up to 2.15.1.
228 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
230 * elmo-flag.el (elmo-global-flags-initialize): Don't include
231 member of elmo-local-flags.
233 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
235 * elmo-version.el (elmo-version): Up to 2.15.0.
237 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
239 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
240 `ignore-msgdb' is non-nil.
242 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
244 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
245 (elmo-condition-in-msgdb-p): Ditto.
246 (elmo-file-field-primitive-condition-match): Ditto.
247 (elmo-file-field-condition-match): Ditto.
249 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
251 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
253 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
255 (elmo-global-flags-initialize): New function.
257 * elmo.el (toplevel): Added autoload setting for
258 `elmo-global-flags-initialize'.
260 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
262 * elmo.el (message-number-changed): Define new signal.
263 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
264 message-number-changed signal.
265 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
266 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
267 Respect `elmo-pack-number-check-strict'.
269 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
271 * elmo-signal.el (elmo-connect-signal): Document.
272 (elmo-emit-signal): Ditto.
273 (elmo-emit-signal): It should pass source argument to filter and
274 handler, not slot-source.
276 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
278 * modb.el (elmo-msgdb-update-entity): New API and define generic
281 * modb-standard.el (elmo-msgdb-update-entity): Define.
283 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
284 API and define generic implement.
286 * elmo.el (update-overview): New singnal.
288 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
289 `elmo-msgdb-update-entity' and emit signal `update-overview'.
290 (elmo-message-entity-parent): Define.
292 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
295 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
297 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
299 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
301 * elmo.el (elmo-folder-synchronize): Sort the return value of
304 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
307 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
309 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
310 `default-enable-multibyte-characters'.
311 (elmo-object-load): Use `with-temp-buffer' instead of
313 (elmo-object-save): Ditto.
314 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
316 (elmo-decoded-field-body): Ditto.
318 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
320 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
321 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
323 * elmo-version.el (elmo-version): Up to 2.13.3.
325 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
327 * elmo-util.el (elmo-list-diff): Fix the last change.
328 Reverse order of result lists.
330 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
332 * modb-standard.el (elmo-msgdb-set-flag): Use
333 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
334 (elmo-msgdb-unset-flag): Ditto.
336 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
339 * elmo-util.el (elmo-list-diff): Rewrite.
340 (elmo-list-diff-nonsortable): New function.
342 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
344 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
345 `elmo-multibypte-buffer-name'. All referers are updated.
347 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
349 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
350 (elmo-mime-entity-fragment-p): New function.
351 (mime-elmo-buffer-entity): Added slot `reassembled'.
352 (elmo-message-mime-entity): Added 4th argument `reassemble'.
353 (elmo-message-mime-entity-internal): New function (renamed from
354 `elmo-message-mime-entity').
355 (elmo-mime-inherit-field-list-from-enclosed): New constant.
356 (elmo-mime-make-reassembled-mime-entity): New function.
357 (elmo-message-reassembled-mime-entity): Ditto.
358 (elmo-mime-collect-message/partial-pieces): Ditto.
360 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
362 * elmo.el (elmo-message-fetch-string): Disable multibyte.
364 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
365 (elmo-with-enable-multibyte): New macro.
367 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
369 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
371 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
373 (elmo-filter-connect-signals): Follow the above change.
375 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
377 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
379 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
380 that only the first flag is used.
382 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
384 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
387 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
389 * elmo-signal.el: New file.
391 * elmo.el (toplevel): Require elmo-signal.
392 (flag-changing, flag-changed, cache-changed): New signal.
393 (elmo-folder): Remove slog `handlers'.
394 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
395 `elmo-folder-notify-event'.
396 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
397 (elmo-folder-unset-flag): Ditto.
398 (elmo-event-handler): Abolish.
399 (elmo-event-handler-flag-changed): Ditto.
400 (elmo-event-handler-cache-changed): Ditto.
401 (elmo-folder-add-handler): Ditto.
402 (elmo-folder-remove-handler): Ditto.
403 (elmo-folder-notify-event): Ditto.
405 * elmo-pipe.el (toplevel): Require elmo-signal.
406 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
407 (elmo-pipe-connect-signals): New function.
408 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
409 (elmo-folder-set-flag): Ditto.
410 (elmo-folder-unset-flag): Ditto.
411 (elmo-message-set-cached): Ditto.
413 * elmo-multi.el (toplevel): Require elmo-signal.
414 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
415 (elmo-multi-connect-signals): New function.
416 (elmo-multi-map-numbers): Ditto.
417 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
418 (elmo-message-fetch): Ditto.
419 (elmo-folder-set-flag): Ditto.
420 (elmo-folder-unset-flag): Ditto.
422 * elmo-filter.el (toplevel): Require elmo-signal.
423 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
424 (elmo-filter-connect-signals): New function.
425 (elmo-filter-add-flag-count): Ditto.
426 (elmo-message-fetch): Does not call
427 `elmo-filter-folder-countup-message-flags' and
428 `elmo-folder-notify-event'.
429 (elmo-message-set-cached): Ditto.
430 (elmo-folder-set-flag): Ditto.
431 (elmo-folder-unset-flag): Ditto.
433 * elmo-version.el (elmo-version): Up to 2.13.2.
435 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
437 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
440 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
442 * elmo-filter.el (elmo-message-set-cached): Call
443 `elmo-folder-notify-event' with event `cache-changed'.
445 * elmo-multi.el (elmo-message-set-cached): Ditto.
447 * elmo-pipe.el (elmo-message-set-cached): Ditto.
449 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
451 * elmo.el (elmo-folder-encache): Abolish.
453 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
455 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
456 (elmo-folder-next-message-number-dop): Return appropriate negative
459 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
461 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
462 clearing pending operations.
463 (elmo-folder-next-message-number-dop): Return appropriate negative
466 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
468 * elmo.el (toplevel): Added autoload setting for `md5'.
469 (elmo-msgdb-path-encode-threshold): New user option.
470 (elmo-folder-msgdb-path): Encode msgdb path if its length is
471 longer than `elmo-msgdb-path-encode-threshold'.
473 * elmo-flag.el (elmo-global-mark-migrate): Use
474 `elmo-folder-expand-msgdb-path' instead of
475 `elmo-folder-msgdb-path'.
477 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
479 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
480 element of the difference is nil.
482 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
484 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
485 to the check logic of file systems which are weak in colon character.
487 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
489 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
491 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
493 * elmo-maildir.el (elmo-maildir-move-file): New function.
494 (elmo-folder-append-buffer): Use it.
495 (elmo-folder-append-messages): Ditto.
496 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
498 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
499 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
501 * elmo-maildir.el (elmo-maildir-separator): New user option.
502 (elmo-maildir-adjust-separator): New macro.
503 (elmo-maildir-list-location): Use it.
504 (elmo-maildir-update-current): Ditto.
505 (elmo-maildir-set-mark): Ditto.
506 (elmo-maildir-delete-mark): Ditto.
507 (These changes are based on Hiroya Murata's patch [wl: 13437])
509 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
511 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
513 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
515 * elmo-flag.el (elmo-flag-valid-p): Simplify.
516 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
517 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
519 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
521 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
522 Use `with-temp-buffer'.
524 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
526 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
528 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
529 `wl-read-search-condition').
530 (elmo-read-search-condition-internal): Likewise.
532 * elmo-flag.el (elmo-flag-char-regexp): New constant.
533 (elmo-flag-valid-p): New function.
534 (elmo-folder-initialize): Check flag name is valid.
536 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
538 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
539 delimiter to obtain root mailbox itself.
541 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
543 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
546 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
548 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
551 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
553 * elmo-shimbun.el (toplevel): Require cl at compile.
555 * elmo-nntp.el (toplevel): Ditto.
557 * elmo-nmz.el (toplevel): Ditto.
559 * elmo-multi.el (toplevel): Ditto.
561 * elmo-file.el (toplevel): Ditto.
563 * elmo-dop.el (toplevel): Ditto.
565 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
567 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
569 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
572 * elmo.el (elmo-message-fetch): Return t even when the output buffer
573 size of elmo-message-fetch-internal is 0 byte.
575 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
577 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
579 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
581 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
584 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
586 * elmo-maildir.el (elmo-map-message-fetch): Call
587 `elmo-map-folder-set-flag'.
589 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
590 (elmo-message-fetch): Merge from
591 `elmo-message-fetch-with-cache-process'.
593 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
594 (elmo-message-fetch): Define.
596 * elmo-nntp.el (elmo-message-fetch): Renamed from
597 `elmo-message-fetch-with-cache-process'.
599 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
600 (elmo-message-fetch): Define.
602 * elmo-util.el (elmo-condition-parse-primitive): Downcase
605 * elmo-shimbun.el (shimbun-mua-search-id): Use
606 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
607 (elmo-shimbun-folder-shimbun-header): Ditto.
608 (elmo-shimbun-get-headers): Ditto.
609 (elmo-shimbun-update-overview): Ditto.
611 * elmo-pipe.el (elmo-folder-detach-messages): Define.
613 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
614 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
616 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
618 * elmo.el (elmo-message-fetch): Unset unread flag on server when
620 (elmo-message-fetch-string): Fixed argument.
622 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
624 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
625 exchange order of arguments `section' and `unread'.
626 (elmo-message-encache): Follow the API change.
627 (elmo-message-match-condition): Ditto.
628 (elmo-generic-folder-append-messages): Ditto.
629 (elmo-message-fetch-string): New function.
631 * elmo-split.el (elmo-split-subr): Ditto.
633 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
635 * elmo-pipe.el (elmo-message-fetch): Ditto.
637 * elmo-multi.el (elmo-message-fetch): Ditto.
639 * elmo-mime.el (elmo-message-mime-entity): Ditto.
641 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
643 * elmo-filter.el (elmo-message-fetch): Ditto.
645 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
647 * elmo-imap4.el (mime-imap-location-section-body): Use
648 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
649 follow the API change.
651 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
653 * elmo-access.el: New file.
655 * elmo-null.el: Ditto.
657 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
659 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
661 * elmo-net.el (elmo-network-session-idle-timeout): New option.
662 (elmo-network-session): New attribute `last-accessed'.
663 (elmo-network-get-session): Discard network cache if elapsed time
664 since last-accessed is larger than elmo-network-session-idle-timeout.
666 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
668 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
669 and added `number', `require-entireness'.
670 (elmo-find-fetch-strategy): Rewrite.
671 (elmo-message-fetch): Unset `unread' flag when argument unread is
674 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
676 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
677 (elmo-message-fetch): Notify event `flag-changed'.
679 * elmo-pipe.el: Likewise.
681 * elmo-mime.el (elmo-mime-entity): New class.
682 (elmo-mime-entity-display-p): New generic function.
683 (elmo-mime-entity-display): Ditto.
684 (elmo-mime-entity-display-as-is): Ditto.
685 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
687 (elmo-make-mime-message-location): Removed.
688 (elmo-mime-message-display): Ditto.
689 (elmo-mime-display-as-is): Ditto.
690 (elmo-message-mime-entity): New function.
692 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
694 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
696 (elmo-message-fetch): Re-count flagged message number and notify
697 event `flag-changed'.
699 * elmo-version.el (elmo-version): Up to 2.13.1.
701 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
703 * elmo-filter.el (elmo-message-field): Define.
704 (elmo-message-set-field): Ditto.
706 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
708 * elmo.el (elmo-message-set-cached): Call
709 `elmo-folder-notify-event' with cache-changed.
710 (elmo-event-handler-cache-changed): New generic function.
712 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
714 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
715 instead of elmo-add-name-to-file.
716 (elmo-folder-append-messages): Ditto.
718 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
720 * elmo.el (elmo-folder-update-threshold): Add nil to range.
722 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
724 * elmo-version.el (elmo-version): Up to 2.13.0.
726 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
729 * modb-standard.el (modb-standard-economize-entity-size): Changed
730 default value to `t'.
732 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
735 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
736 after parsing greeting string.
738 2004-11-23 Daishi Kato <daishi@axlight.com>
740 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
742 (elmo-spam-spamoracle-call): Use it.
744 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
746 * elmo.el (elmo-message-accessible-p): Message in dop spool
749 2004-11-23 Daishi Kato <daishi@axlight.com>
751 * elsp-spamoracle.el: New file.
753 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
755 * elmo.el (elmo-message-flags-for-append): New function.
756 (elmo-generic-folder-append-messages): Use it.
758 * elmo-split.el (elmo-split-subr): Ditto.
760 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
761 `flags' and use elmo-folder-append-buffer instead of
762 write-region-as-binary.
763 (elmo-dop-filter-pending-messages): New function.
764 (elmo-folder-append-buffer-dop): Call
765 elmo-dop-spool-folder-append-buffer with `flag'.
766 (elmo-folder-set-flag-dop): Filter messages by
767 elmo-dop-filter-pending-messages.
768 (elmo-folder-unset-flag-dop): Ditto.
769 (elmo-folder-append-buffer-dop-delayed): Use
770 elmo-message-flags-for-append to get flags of the message and
773 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
775 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
777 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
779 * elmo.el (elmo-folder): Added handlers slot.
780 (elmo-event-handler): New class.
781 (elmo-event-handler-flag-changed): New API.
782 (elmo-folder-add-handler): New function.
783 (elmo-folder-remove-handler): Ditto.
784 (elmo-folder-notify-event): Ditto.
785 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
787 (elmo-folder-unset-flag): Ditto.
789 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
790 (elmo-folder-unset-flag): Ditto.
792 * elmo-multi.el (elmo-folder-set-flag): Ditto.
793 (elmo-folder-unset-flag): Ditto.
795 * elmo-filter.el (elmo-folder-set-flag): Ditto.
796 (elmo-folder-unset-flag): Ditto.
798 * elmo-version.el (elmo-version): Up to 2.11.33.
800 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
802 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
804 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
806 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
808 * elmo-flag.el (elmo-folder-unset-flag): Define.
809 (elmo-global-flag-detach): Do process when the flag is not target
812 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
814 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
816 (elmo-msgdb-create-message-entity-from-buffer): Use it.
818 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
820 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
822 (elmo-folder-delete-messages): Detach messages before delete
823 messages from target folder.
824 (elmo-folder-detach-messages): Set updated number-list to slot.
826 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
828 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
830 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
832 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
834 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
836 * elmo.el (elmo-folder-delete-messages-internal): New API (for
838 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
840 (elmo-folder-delete-messages): Define.
841 (elmo-folder-move-messages): Don't call
842 `elmo-folder-detach-messages'.
843 (elmo-folder-synchronize): Rewrite.
844 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
846 * elmo-util.el (elmo-last): New function.
847 (elmo-set-list): Ditto.
848 (elmo-number-set-delete-list): Ditto.
849 (elmo-number-set-delete): Ditto.
851 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
853 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
854 `elmo-folder-delete-messages' and don't delete location map.
855 (elmo-folder-detach-messages): Define.
857 * elmo-imap4.el (elmo-folder-delete): Use
858 `elmo-folder-delete-messages-internal' instead of
859 `elmo-folder-delete-messages'.
861 * elmo-filter.el (elmo-folder-delete-messages): Call
862 `elmo-folder-detach-messages'.
863 (elmo-folder-detach-messages): Don't call
864 `elmo-folder-detach-messages' for target folder.
866 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
867 message deletion is succeeded.
869 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
871 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
872 from `elmo-folder-delete-messages'.
874 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
876 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
878 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
880 * elmo-version.el (elmo-version): Up to 2.11.32.
882 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
884 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
885 (elmo-global-flag-list): Added obsolete variable setting.
887 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
889 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
890 (elmo-mime-insert-header-from-buffer): Don't decode header content when
891 `elmo-mime-display-header-analysis' is nil.
893 * elmo-flag.el (elmo-global-flags): Renamed from
894 `elmo-global-flag-list' (All other related portions are changed).
895 (elmo-local-flags): New variable.
896 (elmo-local-flag-p): New function.
897 (elmo-global-flag-set-internal): Cause an error when flag is not
900 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
902 * elmo-util.el (elmo-concat-path): Treat empty path.
904 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
906 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
908 (elmo-split-address-match): Ditto.
909 (elmo-split-equal): Ditto.
910 (elmo-split-match): Ditto.
912 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
914 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
915 (elmo-generic-folder-append-messages): If src message exists but
916 has no flag, pass (read) for the FLAG argument of
917 `elmo-folder-append-buffer'. Otherwise, pass nil.
919 * elmo-split.el (elmo-split-subr): Likewise.
921 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
923 * elmo-multi.el (elmo-message-flags): Ditto.
925 * elmo-filter.el (elmo-message-flags): Ditto.
927 * elmo.el (elmo-folder-append-buffer): Fix docstring.
928 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
929 pass (read) for the FLAG argument of elmo-folder-append-buffer.
931 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
933 * elmo-split.el (elmo-split-rule): Update comment.
934 (elmo-split-address-equal): Allow 2nd argument to be a list.
935 (elmo-split-address-match): Ditto.
936 (elmo-split-equal): Ditto.
937 (elmo-split-match): Ditto.
939 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
941 * elmo.el (elmo-folder-append-buffer): Fix docstring.
942 (elmo-folder-append-msgdb): Don't treat `read'.
943 (elmo-message-flags): Don't return `read'.
945 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
946 (elmo-folder-unset-read-delayed): Ditto.
948 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
950 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
952 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
955 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
957 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
960 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
962 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
964 (elmo-msgdb-save): Bind inhibit-quit.
965 (modb-standard-message-entity): Ditto.
967 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
969 * elmo-database.el: No need to require elmo-msgdb.
971 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
973 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
974 instead of `elmo-list-subdirectories'.
976 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
978 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
980 (elmo-folder-exists-p): "[" is empty.
981 (elmo-folder-list-subfolders): Define.
982 (elmo-folder-have-subfolder-p): Ditto.
984 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
986 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
988 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
990 * elmo-filter.el (elmo-folder-local-p): Define.
992 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
994 * modb-standard.el (modb-standard-loaded-message-id): Return nil
995 when entity is garbaged.
996 (modb-standard-save-entity-1): Don't modify the original entity.
998 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1000 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1002 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1004 * elmo.el (elmo-strict-folder-diff): Use
1005 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1007 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1009 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1010 (elmo-msgdb-message-number): Ditto.
1011 (elmo-msgdb-message-field): Ditto.
1013 * modb-standard.el (modb-standard-economize-entity-size): New user
1015 (modb-standard-loaded-message-id): New inline function.
1016 (modb-standard-load-entity): Use it.
1017 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1018 throw message-id string away.
1019 (elmo-msgdb-flag-available-p): Define.
1020 (elmo-msgdb-message-number): Ditto.
1021 (elmo-msgdb-message-field): Ditto.
1023 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1024 (suppoted -> supported).
1025 (modb-legacy-supported-flag-p): Ditto.
1026 (elmo-msgdb-set-flag): Ditto.
1027 (elmo-msgdb-unset-flag): Ditto.
1028 (elmo-msgdb-flag-available-p): Define.
1030 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1031 is `t', treat it as legacy entity.
1033 * elmo.el (elmo-message-flag-available-p): New generic function.
1034 (elmo-message-number): Ditto.
1035 (elmo-message-field): Use `elmo-msgdb-message-field'.
1037 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1039 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1040 (elmo-message-number): Ditto.
1042 * elmo-multi.el (elmo-message-number): Define.
1043 (elmo-message-flag-available-p): Ditto.
1045 * elmo-filter.el (elmo-message-flag-available-p): Define.
1046 (elmo-message-number): Ditto.
1048 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1049 (elmo-folder-initialize): Load `max-number'.
1050 (elmo-folder-commit): Save it.
1051 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1052 (elmo-global-flag-set-internal): Set up max-number slot.
1054 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1056 * elmo-version.el (elmo-version): Up to 2.11.31.
1058 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1060 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1061 unibyte string of the current buffer for the argument of `md5'
1062 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1064 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1066 * modb-legacy.el (modb-legacy-flag-list): New constant.
1067 (modb-legacy-suppoted-flag-p): New internal function.
1068 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1069 (elmo-msgdb-unset-flag): Ditto.
1071 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1073 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1075 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1078 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1080 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1081 (follow the API change).
1083 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1085 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1087 * modb-standard.el (modb-standard-digest-flags): Abolish.
1088 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1090 * elmo-vars.el (elmo-digest-flags): New variable.
1091 (elmo-preserved-flags): Moved from elmo-flag.el.
1093 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1094 (elmo-imap4-flag-to-imap-criteria): Ditto.
1095 (elmo-imap4-folder-list-flagged): Use it.
1097 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1099 * elmo.el (elmo-folder-count-flags): Changed return value.
1101 * elmo-flag.el (elmo-preserved-flags): New variable.
1102 (elmo-get-global-flags): Use it.
1104 * modb-standard.el (modb-standard-digest-flags): New variable.
1105 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1106 Changed behavior of `any'.
1108 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1109 which are defined the Internet draft
1110 (draft-melnikov-imap-keywords-03.txt).
1111 (elmo-imap4-flags-to-imap): New function.
1112 (elmo-folder-append-buffer): Use it.
1114 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1117 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1118 avoid the bug of Emacs 21.3.
1120 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1122 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1123 function find-coding-system does not exist.
1125 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1127 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1130 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1132 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1135 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1137 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1138 (elmo-network-close-session): Follow the changes in
1139 `elmo-pop3-read-response'.
1140 (elmo-pop3-auth-user): Ditto.
1141 (elmo-pop3-auth-apop): Ditto.
1142 (elmo-network-initialize-session): Ditto.
1143 (elmo-network-authenticate-session): Ditto.
1144 (elmo-network-setup-session): Ditto.
1145 (elmo-folder-status): Ditto.
1146 (elmo-message-fetch-plugged): Ditto.
1147 (elmo-pop3-delete-msg): Ditto.
1149 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1151 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1154 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1156 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1158 (elmo-bind-directory): Ditto.
1160 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1162 * elmo.el (elmo-folder-append-messages): Note on return value.
1163 * elmo-archive.el (elmo-folder-append-messages): Don't return
1164 message numbers which could not be appended.
1166 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1168 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1170 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1172 * elmo-version.el (elmo-version): Up to 2.11.30.
1174 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1176 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1179 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1181 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1182 (elmo-multi-split-numbers): Add elmo-folder object into each
1183 element of return value at first.
1184 (elmo-folder-delete-messages): Follow the above change.
1185 (elmo-folder-detach-messages): Ditto.
1187 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1188 number which is synchronized in target folder.
1190 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1192 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1193 Change default value to symbol `all'.
1194 (elmo-map-message-fetch): Change condition to update overview
1197 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1199 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1200 behavior to update overview.
1201 (elmo-shimbun-update-overview-folder-list): Note it.
1203 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1205 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1208 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1210 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1211 buffer-disable-undo, it is unnecessary.
1212 (elmo-spam-register-good-messages): Ditto.
1214 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1217 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1219 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1221 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1222 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1223 elmo-set-buffer-multibyte.
1224 (elmo-object-load): Ditto.
1225 (elmo-save-buffer): Ditto.
1226 (elmo-delete-char): Ditto.
1227 (elmo-file-field-primitive-condition-match): Ditto.
1228 (elmo-mime-string): Ditto.
1230 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1231 (elmo-archive-field-condition-match): Ditto.
1233 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1235 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1237 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1238 (elmo-nntp-msgdb-create-message): Ditto.
1240 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1242 * elmo.el (elmo-message-match-condition): Ditto.
1243 (elmo-message-match-condition): Ditto.
1245 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1248 * elmo-version.el (elmo-version): Up to 2.11.29.
1250 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1251 (elsp-header): New backend.
1253 * elmo-util.el (elmo-decoded-field-body): New function.
1255 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1257 * elmo-version.el (elmo-version): Up to 2.11.28.
1259 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1261 * elmo-filter.el: Rewrite.
1263 * elmo-version.el (elmo-version): Up to 2.11.27.
1265 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1267 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1268 msgdb path for the localdir folder with absolute path.
1270 * utf7.el: Synch up with latest gnus/utf7.el;
1271 Modified for latest Emacs.
1273 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1275 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1276 shimbun backend couldn't open.
1278 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1280 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1281 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1282 when a destination folder is a filter folder.
1284 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1286 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1287 (elmo-generic-folder-append-messages): Call elmo-message-flags
1288 with argument `msgid'.
1290 * elmo-split.el (elmo-split-subr): Ditto.
1292 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1294 * elmo-multi.el (elmo-message-flags): Ditto.
1296 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1298 * elmo.el (elmo-folder): Add new slot `flag-table'.
1299 (elmo-folder-flag-table): New API.
1300 (elmo-folder-close-flag-table): Ditto.
1301 (elmo-folder-preserve-flags): New function.
1302 (elmo-generic-folder-append-messages): Use
1303 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1304 Flag of a non-registered message, it sets to nil.
1305 Does not set flag to flag-table.
1307 * elmo-maildir.el (elmo-folder-append-buffer): Use
1308 `elmo-folder-preserve-flags'.
1309 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1310 `elmo-folder-close-flag-table'.
1312 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1313 (elmo-archive-folder-append-buffer): Use
1314 `elmo-folder-preserve-flags'.
1316 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1318 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1320 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1321 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1322 `elmo-folder-close-flag-table'.
1324 * elmo-version.el (elmo-version): Up to 2.11.26.
1326 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1328 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1330 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1331 md5's 4th and 5th argument (non-existent in flim one).
1333 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1335 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1336 message, It sets to nil.
1338 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1340 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1343 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1345 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1347 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1349 * elmo-util.el (elmo-uniq-sorted-list): New function.
1350 (elmo-make-number-list): Ditto.
1351 (elmo-number-set-to-number-list): Use elmo-make-number-list
1352 and don't use nreverse.
1354 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1356 * elmo-version.el (elmo-version): Up to 2.11.25.
1358 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1360 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1361 field not exists in message, Use md5 message digest of header.
1363 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1365 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1366 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1367 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1368 * elmo-split.el (elmo-split-subr): Check return value of
1369 elmo-folder-append-buffer.
1371 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1372 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1374 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1377 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1379 * elmo-split.el (elmo-split-subr): Append message with flag.
1381 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1382 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1383 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1385 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1387 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1388 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1389 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1391 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1393 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1394 with a function call of `process-buffer'. All callers are updated.
1395 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1396 Remove redundant `set-buffer' in a while loop.
1398 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1400 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1403 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1405 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1406 elsp-spamfilter-register-buffer-internal with current buffer.
1407 (elmo-spam-register-spam-buffer): Ditto.
1408 (elmo-spam-register-good-buffer): Ditto.
1410 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1412 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1413 if it is not contained in the response(A workaround for courier-imap).
1415 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1417 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1420 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1422 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1425 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1427 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1430 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1432 (elmo-msgdb-message-match-condition): Follow the change above.
1434 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1436 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1439 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1441 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1443 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1445 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1447 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1449 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1452 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1454 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1456 (elmo-file-command-argument): Undo last change for cygwin.
1457 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1459 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1461 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1463 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1464 value returned from elmo-file-find is nil.
1466 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1468 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1471 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1472 instead of insert-file-contents-as-binary.
1473 (elmo-message-set-field): New generic function.
1475 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1476 behavior change on `split-string'.
1478 * elmo-file.el (elmo-file-find): New function.
1479 (elmo-file-command): New user option.
1480 (elmo-file-command-argument): Ditto.
1481 (elmo-file-fetch-max-size): Ditto.
1482 (elmo-file-detect-format): New function.
1483 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1484 Use elmo-file-detect-format.
1485 (elmo-map-folder-list-message-locations): Don't treat directories.
1487 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1489 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1490 (elmo-passwd-alist-clear): Shred password before clear.
1491 (elmo-remove-passwd): Remove all mached pair.
1493 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1495 * elmo.el (elmo-folder-synchronize): Fix description of the return
1498 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1500 * elmo.el (elmo-message-fetch-bodystructure): New method.
1501 (elmo-message-fetch-bodystructure): Define default.
1503 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1504 elmo-message-fetch-bodystructure.
1505 (elmo-message-fetch-bodystructure): Define.
1507 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1509 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1511 * elmo-filter.el (elmo-message-folder): Define.
1513 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1515 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1516 elmo-delete-cr-buffer.
1518 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1520 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1522 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1524 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1525 type seems to be a text.
1527 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1529 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1530 (elmo-spam-register-good-buffer): Ditto.
1531 (elmo-spam-spamassassin-register-messages): Ditto.
1533 * elmo-util.el (elmo-string-member-ignore-case): Define with
1536 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1538 * elmo.el (elmo-folder-type): Undo last change.
1540 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1542 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1545 * elmo-file.el: New file.
1547 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1549 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1551 (elmo-spam-spamassassin-register-messages): New inline function.
1552 (elmo-spam-register-spam-messages): Define.
1553 (elmo-spam-register-good-messages): Ditto.
1555 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1558 * elmo.el (toplevel): Added autoload setting for
1559 `elmo-get-global-flags'.
1560 (elmo-message-has-global-flag-p): New function.
1561 (elmo-message-set-global-flags): Ditto.
1562 (elmo-folder-type): Improvement for name: format.
1564 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1565 availability of keyword flags.
1566 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1567 (elmo-folder-list-flagged-plugged): Renamed from
1568 elmo-folder-list-flagged-unplugged.
1569 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1570 accept any flag as keyword flag.
1571 (elmo-folder-set-flag-plugged): Accept keyword flags.
1572 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1574 * elmo-flag.el (elmo-get-global-flags): New function.
1576 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1579 * elmo-version.el (elmo-version): Up to 2.11.24.
1581 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1583 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1584 elmo-multiple-field-body instead of std11-field-body to check all
1587 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1589 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1592 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1594 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1595 unintern is unbound.
1597 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1599 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1600 Protect from infinite loop.
1602 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1604 * elsp-bogofilter.el
1605 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1606 (elmo-spam-bogofilter-register-messages): New internal function.
1607 (elmo-spam-register-spam-messages): Define.
1608 (elmo-spam-register-good-messages): Ditto.
1610 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1612 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1613 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1614 (elmo-spam-bogofilter-call): Fixed the last change.
1615 (elmo-spam-bogofilter-arguments): Ditto.
1617 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1618 Follow the options change of latest bogofilter.
1620 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1621 (elmo-spam-bogofilter-good-switch): Ditto.
1622 (elmo-spam-bogofilter-arguments-alist): New user option.
1623 (elmo-spam-bogofilter-debug): Ditto.
1624 (elmo-spam-bogofilter-call): Renamed from
1625 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1626 is non-nil, insert output in buffer for debug.
1627 (elmo-spam-bogofilter-arguments): New macro.
1628 (elmo-spam-buffer-spam-p): Use it.
1629 (elsp-bogofilter-register-buffer): Ditto.
1631 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1633 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1636 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1638 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1640 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1641 (elmo-spam-bsfilter-program): Set default value as full path for
1643 (elmo-spam-bsfilter-debug): New user option.
1644 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1645 non-nil, insert output in buffer for debug. Fix treating of
1648 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1650 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1651 `elmo-maildir-flag-specs' element instead of one.
1652 (elmo-map-folder-unset-flag): Ditto.
1653 (Reported by Ken Makimura <macky@astem.or.jp>)
1655 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1656 (elmo-folder-unset-flag-plugged): Ditto.
1658 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1660 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1661 to `reads' slot only if `in-msgdb' is nil.
1663 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1665 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1666 and complement argument list.
1668 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1670 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1671 instead of elmo-folder-list-flagged.
1673 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1675 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1677 * elsp-bsfilter.el: New file.
1679 * elmo-pipe.el (elmo-folder-list-unreads,
1680 elmo-folder-list-answereds,
1681 elmo-folder-list-importants,
1682 elmo-folder-flag-as-important,
1683 elmo-folder-unflag-important,
1684 elmo-folder-flag-as-read,
1685 elmo-folder-unflag-read,
1686 elmo-folder-flag-as-answered,
1687 elmo-folder-unflag-answered): Remove.
1688 (elmo-folder-set-flag): Define.
1689 (elmo-folder-unset-flag): Ditto.
1691 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1692 (elmo-folder-set-flag): Define.
1693 (elmo-folder-unset-flag): Ditto.
1694 (elmo-folder-list-unreads): Remove.
1695 (elmo-folder-list-flagged): Define.
1697 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1698 (elmo-folder-list-unreads,
1699 elmo-folder-list-importants,
1700 elmo-folder-list-answereds,
1701 elmo-folder-list-unreads-plugged,
1702 elmo-folder-list-importants-plugged,
1703 elmo-folder-list-answereds-plugged): Remove.
1704 (elmo-folder-list-flagged-plugged): New method.
1705 (elmo-folder-unflag-important,
1706 elmo-folder-flag-as-important,
1707 elmo-folder-unflag-read,
1708 elmo-folder-flag-as-read,
1709 elmo-folder-unflag-answered,
1710 elmo-folder-flag-as-answered,
1711 elmo-folder-flag-as-read-unplugged,
1712 elmo-folder-unflag-read-unplugged,
1713 elmo-folder-flag-as-important-unplugged,
1714 elmo-folder-unflag-important-unplugged,
1715 elmo-folder-flag-as-answered-unplugged,
1716 elmo-folder-unflag-answered-unplugged): Remove.
1717 (elmo-folder-set-flag): Define.
1718 (elmo-folder-unset-flag): Ditto.
1719 (elmo-folder-set-flag-unplugged): Ditto.
1720 (elmo-folder-unset-flag-unplugged): Ditto.
1722 * elmo-multi.el (elmo-folder-list-unreads,
1723 elmo-folder-list-answereds,
1724 elmo-folder-list-importants,
1725 elmo-folder-flag-as-important,
1726 elmo-folder-unflag-important,
1727 elmo-folder-flag-as-read,
1728 elmo-folder-unflag-read,
1729 elmo-folder-flag-as-answered,
1730 elmo-folder-unflag-answered): Remove.
1731 (elmo-folder-set-flag): Define.
1732 (elmo-folder-unset-flag): Ditto.
1734 * elmo-map.el (elmo-map-folder-unflag-important,
1735 elmo-map-folder-flag-as-important,
1736 elmo-map-folder-unflag-read,
1737 elmo-map-folder-flag-as-read,
1738 elmo-map-folder-unflag-answered,
1739 elmo-map-folder-flag-as-answered): Remove.
1740 (elmo-map-folder-set-flag): New method.
1741 (elmo-map-folder-unset-flag): Ditto.
1742 (elmo-map-folder-list-unreads,
1743 elmo-map-folder-list-importants,
1744 elmo-map-folder-list-answereds): Remove.
1745 (elmo-folder-list-flagged-internal): Define.
1746 (elmo-map-folder-list-flagged): New method.
1748 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1749 (elmo-map-folder-list-unreads,
1750 elmo-map-folder-list-importants,
1751 elmo-map-folder-list-flagged): Remove.
1752 (elmo-map-folder-list-flagged): Define.
1753 (elmo-map-folder-flag-as-important,
1754 elmo-map-folder-unflag-important,
1755 elmo-map-folder-flag-as-read,
1756 elmo-map-folder-unflag-read,
1757 elmo-map-folder-flag-as-answered,
1758 elmo-map-folder-unflag-answered): Remove.
1759 (elmo-maildir-set-mark-messages): New internal function.
1760 (elmo-map-folder-set-flag): Define.
1761 (elmo-map-folder-unset-flag): Ditto.
1763 * elmo.el (toplevel): Added autoload setting for
1764 `elmo-folder-list-global-flag-messages'.
1765 (elmo-folder-list-unreads,
1766 elmo-folder-list-importants,
1767 elmo-folder-list-answereds): Remove.
1768 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1769 Return a list whitch merged with messages have global flag.
1770 (elmo-folder-list-flagged-internal): New method.
1771 (elmo-folder-unflag-important,
1772 elmo-folder-flag-as-important,
1773 elmo-folder-unflag-read,
1774 elmo-folder-flag-as-read,
1775 elmo-folder-unflag-answered,
1776 elmo-folder-flag-as-answered): Remove.
1777 (elmo-folder-set-flag): New method.
1778 (elmo-folder-unset-flag): Ditto.
1779 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1780 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1782 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1783 (elmo-folder-list-unreads-plugged,
1784 elmo-folder-list-importants-plugged,
1785 elmo-folder-list-answereds-plugged,
1786 elmo-folder-list-flagged-unplugged,
1787 elmo-folder-unflag-important-plugged,
1788 elmo-folder-flag-as-important-plugged,
1789 elmo-folder-unflag-read-plugged,
1790 elmo-folder-flag-as-read-plugged,
1791 elmo-folder-unflag-answered-plugged,
1792 elmo-folder-flag-as-answered-plugged): Remove.
1793 (elmo-folder-set-flag-plugged,
1794 elmo-folder-unset-flag-plugged): Define.
1796 * elmo-flag.el (elmo-folder-initialize): Register to
1797 `elmo-global-flag-list' if flag is not global.
1798 (elmo-folder-append-messages): Set flag to source messages.
1800 * elmo-filter.el (elmo-filter-folder-list-unreads,
1801 elmo-folder-list-unreads,
1802 elmo-filter-folder-list-importants,
1803 elmo-folder-list-importants,
1804 elmo-folder-flag-as-read,
1805 elmo-folder-unflag-read,
1806 elmo-folder-flag-as-important,
1807 elmo-folder-unflag-important,
1808 elmo-folder-flag-as-answered,
1809 elmo-folder-unflag-answered): Remove.
1810 (elmo-folder-set-flag): Define.
1811 (elmo-folder-unset-flag): Ditto.
1813 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1814 elmo-folder-unflag-read-dop,
1815 elmo-folder-flag-as-important-dop,
1816 elmo-folder-unflag-important-dop,
1817 elmo-folder-flag-as-answered-dop,
1818 elmo-folder-unflag-answered-dop): Remove.
1819 (elmo-folder-set-flag-dop,
1820 elmo-folder-unset-flag-dop,
1821 elmo-folder-set-important-delayed,
1822 elmo-folder-unset-important-delayed,
1823 elmo-folder-set-read-delayed,
1824 elmo-folder-unset-read-delayed,
1825 elmo-folder-set-answered-delayed,
1826 elmo-folder-unset-answered-delayed): New function.
1827 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1828 (elmo-dop-queue-method-name-alist): Ditto.
1830 * elmo-version.el (elmo-version): Up to 2.11.23.
1832 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1834 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1836 * elsp-sa.el: New file.
1838 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1840 * modb-standard.el (modb-standard-message-entity): New function.
1841 (elmo-msgdb-message-entity): Use it.
1843 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1845 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1846 behavior when one-level is nil.
1848 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1850 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1852 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1854 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1856 (elmo-generic-folder-diff): Ditto.
1858 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1859 (elmo-folder-update-number): Ditto.
1861 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1862 (elmo-folder-next-message-number-dop): Ditto.
1864 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1866 * elmo-filter.el (elmo-folder-msgdb-create): Use
1867 `elmo-message-entity' and `elmo-message-flags' instead of
1868 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1870 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1872 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1875 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1879 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1881 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1883 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1885 * elmo-version.el (elmo-version): Up to 2.11.22.
1887 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1889 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1891 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1893 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1894 if the message dose not exist.
1896 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1898 * elmo-version.el (elmo-version): Up to 2.11.21.
1900 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1902 * modb-standard.el (toplevel): Don't require mime.
1904 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1906 * elsp-bogofilter.el (toplevel): Don't require path-util.
1907 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1908 (elmo-spam-bogofilter-header): Abolish.
1909 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1910 (elmo-spam-bogofilter-args): New user option.
1911 (elsp-bogofilter-call-bogofilter): New internal function.
1912 (elmo-spam-buffer-spam-p): Use it.
1913 (elsp-bogofilter-register-buffer): Renamed from
1914 `elmo-spam-bogofilter-register-buffer';
1915 Use `elsp-bogofilter-call-bogofilter'.
1916 (elmo-spam-register-spam-buffer): Follow the change above.
1917 (elmo-spam-register-good-buffer): Ditto.
1919 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1921 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1922 message-id is nil do nothing.
1924 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1926 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1928 (elmo-imap4-session): Removed use-flag slot.
1929 (elmo-imap4-session-select-mailbox): Undo last change.
1930 (elmo-folder-use-flag-p): Use
1931 elmo-imap4-disuse-server-flag-mailbox-regexp.
1933 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1935 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1936 (elmo-imap4-session-select-mailbox): Set it up.
1937 (elmo-folder-use-flag-p): Return value of use-flag slot.
1939 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1941 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1943 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1945 * modb-entity.el (elmo-message-entity-handler): Likewise.
1947 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1949 * elmo.el (toplevel): Remove setting of autoloding for
1950 elmo-global-flag-initialize.
1951 (elmo-init): Don't call elmo-global-flag-initialize.
1952 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1954 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1955 (elmo-global-mark-migrate): Don't call it.
1956 (elmo-global-mark-upgrade): Ditto.
1958 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1960 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1961 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1963 * elmo-vars.el (elmo-init-hook): New user option.
1965 * elmo.el (elmo-init): Run the elmo-init-hook.
1967 * elmo-flag.el (elmo-global-mark-migrate): New function.
1969 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1971 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1972 Undo last change (move to elmo-msgdb-unset-flag).
1973 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1976 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1978 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1980 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1981 (elmo-msgdb-unset-flag): Ditto.
1983 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1985 * elmo-split.el (elmo-split): Return split message count.
1987 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1989 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1992 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1994 * elmo.el (elmo-folder-unflag-important): Call
1995 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1998 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2000 (elmo-global-flag-detach): Delete the message from flag folder, if
2001 `delete-if-none' is a symbol `always'.
2003 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2005 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2006 `elmo-spam-spamfilter-decode-buffer'.
2007 (elsp-spamfilter-register-buffer-internal): New internal function.
2008 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2009 (elmo-spam-register-spam-buffer): Ditto.
2010 (elmo-spam-register-good-buffer): Ditto.
2012 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2014 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2015 (elmo-spam-register-spam-buffer): Follow the API change.
2016 (elmo-spam-register-good-buffer): Ditto.
2018 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2019 (elmo-split-spam-p): Added argument plist; Call
2020 `elmo-spam-buffer-spam-p' with new argument register.
2022 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2024 (elmo-spam-message-spam-p): Ditto.
2025 (elmo-spam-register-spam-buffer): Added optional argument
2027 (elmo-spam-register-good-buffer): Ditto.
2028 (elmo-spam-register-spam-messages): Ditto.
2029 (elmo-spam-register-good-messages): Ditto.
2031 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2033 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2034 register into good corpus.
2035 (elmo-spam-register-good-buffer): Fixed to register into bad
2038 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2040 * elmo-version.el (elmo-version): Up to 2.11.20.
2042 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2045 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2046 flag without depending on \Recent flag.
2048 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2050 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2051 (elmo-spam-modified-p): Defined.
2052 (elmo-spam-save-status): Set `modified' slot to nil.
2053 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2054 (elmo-spam-register-good-buffer): Ditto.
2056 * elmo-spam.el (elmo-spam-modified-p): New API.
2058 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2060 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2061 duplicate definition.
2063 * elmo-util.el (elmo-unfold-field-body): New function.
2064 (elmo-msgdb-get-message-id-from-buffer): Use it.
2066 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2067 Fixed the last change; Use elmo-unfold-field-body.
2069 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2071 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2074 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2076 * elmo-spam.el (elmo-spam-save-status): New API.
2078 * elsp-spamfilter.el: New file.
2080 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2082 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2084 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2086 * elmo-split.el (elmo-split-spam-p): New function.
2088 * elmo-spam.el: New file.
2090 * elsp-bogofilter.el: Ditto.
2092 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2094 * elmo.el (elmo-folder-next-message-number): New API.
2095 (elmo-folder-next-message-number): Define.
2096 (elmo-message-field): Don't check folder length.
2098 * elmo-net.el (elmo-folder-next-message-number): Define.
2099 (elmo-folder-next-message-number-unplugged): Define.
2101 * elmo-map.el (elmo-folder-next-message-number): Define.
2102 (elmo-folder-delete-messages): Clear hash value.
2104 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2106 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2107 (elmo-folder-delete-messages-dop-delayed): Always return t.
2109 * elmo-version.el (elmo-version): Up to 2.11.19.
2111 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2113 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2116 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2117 identical cons cell into the mark-alist and the hash table.
2119 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2121 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2122 elmo-folder-list-messages with argument `visible-only' as t.
2124 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2125 (elmo-folder-msgdb-create): Check the target folder.
2127 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2129 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2130 `permanentflag' instead of `flags'.
2131 (elmo-folder-open): Ditto.
2132 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2133 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2134 (elmo-folder-use-flag-p): Always return t.
2135 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2136 `permanentflags' does not exist.
2137 (elmo-folder-open): Ditto.
2139 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2141 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2143 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2145 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2146 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2148 (elmo-folder-open): Ditto.
2149 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2150 slot of the session includes the flag.
2151 (elmo-imap4-session-flag-available-p): New function.
2152 (elmo-imap4-folder-list-flagged): Ditto.
2153 (elmo-folder-list-unreads-plugged): Use it.
2154 (elmo-folder-list-importants-plugged): Ditto.
2155 (elmo-folder-list-answereds-plugged): Ditto.
2156 (elmo-imap4-search-internal-primitive): Ditto.
2157 (elmo-imap4-folder-list-any-plugged,
2158 elmo-imap4-folder-list-digest-plugged): Abolish.
2160 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2163 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2165 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2167 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2169 * elmo-util.el (elmo-get-hash-val): Simplify.
2170 (elmo-set-hash-val): Rewrite.
2172 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2174 * elmo.el (elmo-folder-list-messages): Append killed messages into
2175 result if `visible-only' is nil and `in-msgdb' is non-nil.
2177 * elmo-util.el (elmo-uniq-list): Added optional argument
2180 * modb.el (elmo-msgdb-flag-count): New API.
2182 * modb-standard.el (modb-standard): Added slot flag-count.
2183 (modb-standard-countup-flags): New function.
2184 (modb-standard-load-flag): Call it.
2185 (elmo-msgdb-append): Ditto.
2186 (elmo-msgdb-clear): Clear slot flag-count.
2187 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2188 (elmo-msgdb-unset-flag): Treat `all' flag and call
2189 modb-standard-countup-flags.
2190 (elmo-msgdb-flag-count): Define.
2191 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2192 (elmo-msgdb-delete-messages): Ditto.
2194 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2195 (elmo-msgdb-flag-count): Define.
2197 * elmo.el (elmo-folder-list-messages): Undo last change.
2198 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2199 (elmo-folder-kill-messages): Unset all flags to numbers.
2201 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2202 elmo-folder-kill-messages.
2204 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2205 (elmo-nntp-folder-delete-messages): Abolish.
2207 * elmo-version.el (elmo-version): Up to 2.11.18.
2209 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2211 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2212 (elmo-folder-kill-messages-range): New function.
2213 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2214 instead of elmo-folder-kill-messages-before.
2216 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2218 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2219 elmo-imap4-current-msgdb to decide entity handler.
2221 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2223 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2225 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2227 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2228 (elmo-msgdb-overview-entity-set-number,
2229 elmo-msgdb-overview-entity-get-references,
2230 elmo-msgdb-overview-entity-set-references,
2231 elmo-msgdb-overview-entity-get-from-no-decode,
2232 elmo-msgdb-overview-entity-get-from,
2233 elmo-msgdb-overview-entity-set-from,
2234 elmo-msgdb-overview-entity-get-subject,
2235 elmo-msgdb-overview-entity-get-subject-no-decode,
2236 elmo-msgdb-overview-entity-set-subject,
2237 elmo-msgdb-overview-entity-get-date,
2238 elmo-msgdb-overview-entity-set-date,
2239 elmo-msgdb-overview-entity-get-to,
2240 elmo-msgdb-overview-entity-get-cc,
2241 elmo-msgdb-overview-entity-get-size,
2242 elmo-msgdb-overview-entity-set-size,
2243 elmo-msgdb-overview-entity-get-extra,
2244 elmo-msgdb-overview-entity-set-extra,
2245 elmo-msgdb-overview-entity-get-extra-field,
2246 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2247 (elmo-msgdb-make-index): Use
2248 `elmo-msgdb-overview-entity-get-number-internal'.
2249 (elmo-msgdb-clear-index): Ditto.
2250 (elmo-msgdb-append-entity): Ditto;
2251 Use `elmo-msgdb-overview-entity-get-id-internal'.
2253 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2254 elmo-msgdb-overview-entity-set-number,
2255 elmo-msgdb-overview-entity-get-references,
2256 elmo-msgdb-overview-entity-set-references,
2257 elmo-msgdb-overview-entity-get-from-no-decode,
2258 elmo-msgdb-overview-entity-get-from,
2259 elmo-msgdb-overview-entity-set-from,
2260 elmo-msgdb-overview-entity-get-subject,
2261 elmo-msgdb-overview-entity-get-subject-no-decode,
2262 elmo-msgdb-overview-entity-set-subject,
2263 elmo-msgdb-overview-entity-get-date,
2264 elmo-msgdb-overview-entity-set-date,
2265 elmo-msgdb-overview-entity-get-to,
2266 elmo-msgdb-overview-entity-get-cc,
2267 elmo-msgdb-overview-entity-get-size,
2268 elmo-msgdb-overview-entity-set-size,
2269 elmo-msgdb-overview-entity-get-extra,
2270 elmo-msgdb-overview-entity-set-extra,
2271 elmo-msgdb-overview-entity-get-extra-field,
2272 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2273 and rewrote for backward compatibility.
2275 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2277 * elmo.el (elmo-message-entity-number,
2278 elmo-message-entity-set-number,
2279 elmo-message-entity-field,
2280 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2282 * elmo-msgdb.el (elmo-message-entity-number,
2283 elmo-message-entity-set-number,
2284 elmo-message-entity-field,
2285 elmo-message-entity-set-field): Moved from elmo.el.
2287 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2289 * elmo.el (toplevel): Changed definition orders.
2291 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2293 * modb.el (elmo-msgdb-search): New API .
2294 (elmo-msgdb-match-condition): Ditto.
2296 * modb-standard.el (elmo-msgdb-search): Define.
2298 * modb-legacy.el (elmo-msgdb-search): Ditto.
2300 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2301 from elmo-msgdb-match-condition-internal.
2303 * elmo.el (elmo-folder-search-fast): Abolish.
2304 (elmo-folder-search): Use elmo-msgdb-search and
2305 elmo-with-progress-display.
2307 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2310 * elmo.el (elmo-folder): Remove slot message-modified and
2312 (elmo-folder-set-message-modified): Abolish.
2313 (elmo-generic-folder-commit): Follow the change above.
2314 (elmo-folder-synchronize): Ditto.
2316 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2318 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2320 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2322 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2324 * modb-standard.el (modb-standard-make-message-entity,
2325 elmo-msgdb-make-message-entity,
2326 elmo-msgdb-create-message-entity-from-buffer,
2327 elmo-msgdb-message-entity-number,
2328 elmo-msgdb-message-entity-set-number,
2329 elmo-msgdb-message-entity-field,
2330 elmo-msgdb-message-entity-set-field,
2331 elmo-msgdb-copy-message-entity,
2332 elmo-msgdb-match-condition-internal): Remove.
2334 * modb-entity.el: New file (again).
2336 * modb.el (toplevel): Require modb-entity.
2337 (elmo-msgdb-message-entity-handler): New method.
2339 * modb-standard.el (modb-standard-entity-id): Use
2340 elmo-message-entity-handler.
2341 (modb-standard-load-entity): Ditto.
2342 (elmo-msgdb-append-entity): Ditto.
2343 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2345 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2346 elmo-msgdb-decoded-cache-hashtb,
2347 (modb-legacy-make-message-entity,
2348 elmo-msgdb-make-message-entity,
2349 elmo-msgdb-create-message-entity-from-buffer,
2350 elmo-msgdb-message-entity-number,
2351 elmo-msgdb-message-entity-set-number,
2352 elmo-msgdb-message-entity-field,
2353 elmo-msgdb-message-entity-set-field,
2354 elmo-msgdb-copy-message-entity,
2355 elmo-msgdb-match-condition-internal,
2356 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2358 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2359 (elmo-message-entity-set-number): Ditto.
2360 (elmo-message-entity-field): Ditto.
2361 (elmo-message-entity-set-field): Ditto.
2363 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2365 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2367 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2369 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2370 (elmo-nntp-msgdb-create-message): Ditto.
2372 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2373 (elmo-folder-msgdb-create): Add unread flag.
2375 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2377 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2379 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2381 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2383 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2384 elmo-msgdb-messge-entity-handler.
2385 * elmo-version.el (elmo-version): Up to 2.11.17.
2387 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2389 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2392 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2394 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2396 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2397 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2398 (elmo-msgdb-flag-table): Ditto.
2399 (elmo-msgdb-sort-by-date): Ditto.
2401 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2403 * modb-standard.el (toplevel): Require mime.
2404 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2405 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2406 elmo-msgdb-message-entity-number.
2407 (elmo-msgdb-append-entity): Ditto.
2408 (elmo-msgdb-create-message-entity-from-file): Remove.
2409 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2410 corresponds to the entity.
2411 (elmo-msgdb-message-entity-number): Do nothing currently.
2412 (elmo-msgdb-message-entity-field): Ditto.
2413 (elmo-msgdb-message-entity-set-field): Ditto.
2414 (elmo-msgdb-copy-message-entity): Ditto.
2415 (elmo-msgdb-match-condition-internal): Ditto.
2417 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2419 (elmo-msgdb-create-message-entity-from-file): Remove.
2421 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2423 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2425 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2427 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2429 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2430 (elmo-msgdb-message-entity-field): Ditto.
2431 (elmo-msgdb-message-entity-number): Ditto.
2433 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2435 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2436 Fixed how to set extra field into entity.
2437 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2440 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2441 Fixed how to set extra field into entity.
2442 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2445 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2447 * modb.el (elmo-message-entity-db): New function.
2448 (elmo-msgdb-make-message-entity): New API.
2449 (elmo-msgdb-message-entity-number): Ditto.
2450 (elmo-msgdb-message-entity-set-number): Ditto.
2451 (elmo-msgdb-message-entity-field): Ditto.
2452 (elmo-msgdb-message-entity-set-field): Ditto.
2453 (elmo-msgdb-copy-message-entity): Ditto.
2454 (elmo-msgdb-create-message-entity-from-file): Ditto.
2455 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2456 (elmo-msgdb-match-condition-internal): Ditto.
2458 * modb-standard.el (modb-legacy): Require modb-legacy.
2459 (modb-standard-make-message-entity): New inline function.
2460 (elmo-msgdb-make-message-entity): Define.
2461 (elmo-msgdb-create-message-entity-from-file): Ditto.
2462 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
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: Don't require modb-entity.
2469 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2470 (elmo-msgdb-match-condition-primitive): Ditto.
2471 (elmo-msgdb-get-decoded-cache): Ditto.
2472 (elmo-msgdb-overview-entity-get-id): Ditto.
2473 (elmo-msgdb-overview-entity-get-number): Ditto.
2474 (elmo-msgdb-overview-entity-set-number): Ditto.
2475 (elmo-msgdb-overview-entity-get-references): Ditto.
2476 (elmo-msgdb-overview-entity-set-references): Ditto.
2477 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2478 (elmo-msgdb-overview-entity-get-from): Ditto.
2479 (elmo-msgdb-overview-entity-set-from): Ditto.
2480 (elmo-msgdb-overview-entity-get-subject): Ditto.
2481 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2482 (elmo-msgdb-overview-entity-set-subject): Ditto.
2483 (elmo-msgdb-overview-entity-get-date): Ditto.
2484 (elmo-msgdb-overview-entity-set-date): Ditto.
2485 (elmo-msgdb-overview-entity-get-to): Ditto.
2486 (elmo-msgdb-overview-entity-get-cc): Ditto.
2487 (elmo-msgdb-overview-entity-get-size): Ditto.
2488 (elmo-msgdb-overview-entity-set-size): Ditto.
2489 (elmo-msgdb-overview-entity-get-extra): Ditto.
2490 (elmo-msgdb-overview-entity-set-extra): Ditto.
2491 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2492 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2493 (elmo-msgdb-number-load): Ditto.
2494 (elmo-msgdb-overview-load): Ditto.
2495 (elmo-msgdb-mark-load): Ditto.
2496 (elmo-msgdb-number-save): Ditto.
2497 (elmo-msgdb-mark-save): Ditto.
2498 (elmo-msgdb-overview-save): Ditto.
2499 (modb-legacy-make-message-entity): New inline function.
2500 (elmo-msgdb-insert-file-header): Ditto.
2501 (elmo-msgdb-make-message-entity): Define.
2502 (elmo-msgdb-create-message-entity-from-file): Ditto.
2503 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2504 (elmo-msgdb-message-entity-number): Ditto.
2505 (elmo-msgdb-message-entity-set-number): Ditto.
2506 (elmo-msgdb-message-entity-field): Ditto.
2507 (elmo-msgdb-message-entity-set-field): Ditto.
2508 (elmo-msgdb-copy-message-entity): Ditto.
2509 (elmo-msgdb-match-condition-internal): Ditto.
2511 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2512 (elmo-message-copy-entity): Rewrite.
2513 (elmo-message-entity-number): Ditto.
2514 (elmo-message-entity-set-number): Ditto.
2515 (elmo-message-entity-field): Use elmo-message-entity-db.
2516 (elmo-message-entity-set-field): Ditto.
2517 (elmo-message-field): Rewrite.
2519 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2521 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2523 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2524 elmo-message-entity-field.
2525 (elmo-shimbun-folder-shimbun-header): Ditto.
2526 (elmo-shimbun-entity-to-header): Ditto.
2527 (elmo-folder-msgdb-create): Ditto.
2528 (elmo-shimbun-msgdb-create-entity): Ditto;
2529 Use elmo-msgdb-create-message-entity-from-buffer.
2530 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2531 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2533 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2534 elmo-msgdb-create-message-entity-from-file and
2535 elmo-message-entity-field.
2537 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2538 elmo-message-entity-number.
2539 (elmo-pop3-msgdb-create-message): Use
2540 elmo-msgdb-create-message-entity-from-buffer,
2541 elmo-message-entity-set-field, elmo-message-entity-number and
2542 elmo-message-entity-set-number.
2544 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2545 the API change in elmo-msgdb-make-message-entity.
2546 (elmo-nntp-msgdb-create-message): Use
2547 elmo-msgdb-create-message-entity-from-buffer.
2549 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2550 elmo-message-entity-field and
2551 elmo-msgdb-create-message-entity-from-file.
2553 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2554 (elmo-msgdb-get-field): Abolish.
2555 (elmo-msgdb-get-number): Rewrite.
2556 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2557 (elmo-msgdb-flag-table): Ditto.
2558 (elmo-msgdb-get-last-message-id,
2559 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2560 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2561 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2562 (elmo-msgdb-create-overview-from-buffer,
2563 elmo-msgdb-overview-get-parent-entity): Abolish.
2565 * elmo-mime.el (elmo-mime-display-as-is): Use
2566 elmo-message-entity-field.
2568 * elmo-map.el (elmo-folder-pack-numbers): Use
2569 elmo-message-entity-set-number.
2571 * elmo-maildir.el (elmo-folder-msgdb-create):
2572 elmo-msgdb-create-message-entity-from-file instead of
2573 elmo-msgdb-create-overview-entity-from-file.
2575 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2577 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2578 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2580 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2581 elmo-messge-entity-field and elmo-message-entity-number.
2582 (elmo-imap4-fetch-callback-1): Call
2583 elmo-msgdb-create-message-entity-from-buffer instead of
2584 elmo-msgdb-create-overview-from-buffer.
2585 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2586 (elmo-find-fetch-strategy): Likewise.
2588 * elmo-flag.el (elmo-folder-msgdb-create): Call
2589 elmo-localdir-msgdb-create-entity with argument msgdb.
2591 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2592 and elmo-message-entity-set-number.
2594 * elmo-cache.el (elmo-folder-msgdb-create): Use
2595 elmo-message-entity-field.
2596 (elmo-folder-msgdb-create): Call
2597 elmo-msgdb-create-message-entity-from-file instead of
2598 elmo-msgdb-create-overview-entity-from-file.
2600 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2601 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2602 instead of elmo-msgdb-create-overview-from-buffer.
2603 (elmo-archive-msgdb-create-entity): Ditto.
2604 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2605 elmo-message-entity-field.
2606 (elmo-archive-parse-mmdf): Ditto.
2608 * modb-entity.el: Removed.
2610 * elmo-version.el (elmo-version): Up to 2.11.16.
2612 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2614 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2616 (elmo-folder-flag-as-answered): Ditto.
2618 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2620 * modb-standard.el: New file.
2622 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2623 elmo-msgdb-convert-type is `sync'.
2625 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2626 (elmo-msgdb-convert-type): New user option.
2628 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2629 (elmo-load-msgdb): Auto detect saved type.
2631 * elmo-version.el (elmo-version): Up to 2.11.15.
2633 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2635 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2637 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2638 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2639 with argument `delete-if-none' when dst-folder is 'null.
2641 * elmo-flag.el (elmo-folder-append-messages): Defined.
2642 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2644 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2646 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2648 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2650 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2651 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2652 (elmo-folder-commit): Ditto.
2654 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2656 * elmo-flag.el: New file.
2658 * elmo-mark.el: Removed.
2660 * modb-legacy.el (modb-legacy-new-mark,
2661 modb-legacy-unread-uncached-mark,
2662 modb-legacy-unread-cached-mark,
2663 modb-legacy-read-uncached-mark,
2664 modb-legacy-answered-cached-mark,
2665 modb-legacy-answered-uncached-mark,
2666 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2667 All other related portions are changed.
2669 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2670 (elmo-folder-list-messages-with-global-mark): Abolish.
2671 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2672 (elmo-folder-flag-as-important): Ditto.
2673 (elmo-folder-unflag-read): Ditto.
2674 (elmo-folder-flag-as-read): Ditto.
2675 (elmo-folder-unflag-answered): Ditto.
2676 (elmo-folder-flag-as-answered): Ditto.
2677 (elmo-message-encache): Return the cache path.
2678 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2679 (elmo-message-set-flag): Transitional implementation.
2680 (elmo-message-unset-flag): Ditto.
2681 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2682 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2683 (elmo-init): Call elmo-global-flag-initialize.
2684 (toplevel): Added autoload settings for elmo-flag.
2686 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2688 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2689 (elmo-file-cache-delete): Don't treat global-mark.
2691 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2693 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2695 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2696 `elmo-global-flags-set'.
2698 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2700 (elmo-folder-unflag-read): Ditto.
2701 (elmo-folder-unflag-important): Ditto.
2702 (elmo-folder-flag-as-important): Ditto.
2703 (elmo-folder-unflag-answered): Ditto.
2704 (elmo-folder-flag-as-answered): Ditto.
2706 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2707 `elmo-global-flags-set'.
2708 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2710 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2712 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2714 (elmo-folder-flag-as-important): Ditto.
2715 (elmo-folder-unflag-important): Ditto.
2716 (elmo-folder-flag-as-important): Ditto.
2717 (elmo-folder-unflag-read): Ditto.
2718 (elmo-folder-flag-as-read): Ditto.
2719 (elmo-folder-unflag-answered): Ditto.
2720 (elmo-folder-flag-as-answered): Ditto.
2722 * elmo-multi.el (elmo-folder-list-importants): Don't call
2723 elmo-folder-list-messages-with-global-mark.
2724 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2725 (elmo-folder-unflag-important): Ditto.
2726 (elmo-folder-flag-as-read): Ditto.
2727 (elmo-folder-unflag-read): Ditto.
2728 (elmo-folder-flag-as-answered): Ditto.
2729 (elmo-folder-unflag-answered): Ditto.
2731 * elmo-msgdb.el (elmo-msgdb-new-mark,
2732 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2733 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2734 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2735 (Moved to modb-legacy.el).
2736 (elmo-flag-table-get): Treat important flag too.
2738 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2740 (elmo-map-folder-flag-as-important): Ditto.
2741 (elmo-map-folder-unflag-read): Ditto.
2742 (elmo-map-folder-flag-as-read): Ditto.
2743 (elmo-map-folder-unflag-answered): Ditto.
2744 (elmo-map-folder-flag-as-answered): Ditto.
2745 (elmo-folder-unflag-important): Ditto.
2746 (elmo-folder-flag-as-important): Ditto.
2747 (elmo-folder-unflag-read): Ditto.
2748 (elmo-folder-flag-as-read): Ditto.
2749 (elmo-folder-unflag-answered): Ditto.
2750 (elmo-folder-flag-as-answered): Ditto.
2752 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2753 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2755 (elmo-map-folder-unflag-important): Ditto.
2756 (elmo-map-folder-flag-as-read): Ditto.
2757 (elmo-map-folder-unflag-read): Ditto.
2758 (elmo-map-folder-flag-as-answered): Ditto.
2759 (elmo-map-folder-unflag-answered): Ditto.
2761 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2762 `elmo-global-flags-set'.
2763 (elmo-global-flags-set): Added autoload setting.
2765 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2768 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2769 `elmo-msgdb-global-mark-set'.
2770 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2771 Call `elmo-global-flags-set'.
2772 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2774 (elmo-folder-flag-as-important-plugged): Ditto.
2775 (elmo-folder-unflag-read-plugged): Ditto.
2776 (elmo-folder-flag-as-read-plugged): Ditto.
2777 (elmo-folder-unflag-answered-plugged): Ditto.
2778 (elmo-folder-flag-as-answered-plugged): Ditto.
2779 (elmo-global-flags-set): Added autoload setting.
2781 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2783 (elmo-folder-unflag-read): Ditto.
2784 (elmo-folder-flag-as-important): Ditto.
2785 (elmo-folder-unflag-important): Ditto.
2786 (elmo-folder-flag-as-answered): Ditto.
2787 (elmo-folder-unflag-answered): Ditto.
2789 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2790 change of `mark'->`flag'.
2791 (elmo-dop-queue-method-name-alist): Ditto.
2792 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2793 (elmo-folder-unflag-read-dop): Ditto.
2794 (elmo-folder-flag-as-important-dop): Ditto.
2795 (elmo-folder-unflag-important-dop): Ditto.
2796 (elmo-folder-flag-as-answered-dop): Ditto.
2797 (elmo-folder-unflag-answered-dop): Ditto.
2799 * elmo-cache.el (elmo-folder-msgdb-create): Call
2800 `elmo-global-flags-set'.
2802 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2803 Call `elmo-global-flags-set'.
2804 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2805 elmo-archive-parse-mmdf with argument `folder'.
2806 (elmo-archive-parse-mmdf): Added argument `folder';
2807 Call `elmo-global-flags-set'.
2809 * elmo-version.el (elmo-version): Up to 2.11.14.
2811 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2813 * modb.el (elmo-msgdb-length): Define.
2815 * elmo.el (elmo-make-folder): Fixed.
2816 (elmo-generic-folder-append-messages): Follow the API change.
2818 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2821 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2823 * modb.el: New file.
2825 * modb-entity.el: Ditto.
2827 * modb-legacy.el: Ditto.
2829 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2830 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2831 of `elmo-msgdb-overview-get-entity'.
2832 (elmo-msgdb-get-field): Ditto.
2833 (elmo-msgdb-merge): Moved to `elmo.el'.
2834 (elmo-msgdb-length): Removed; redefine as modb method.
2835 (elmo-msgdb-change-mark): Abolish.
2836 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2837 (elmo-msgdb-match-condition): Don't use mark.
2838 (elmo-msgdb-overview-get-entity): Abolish.
2839 Split modb part into `modb*.el'.
2841 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2843 * elmo-shimbun.el (shimbun-mua-search-id): Use
2844 `elmo-msgdb-message-entity' instead of
2845 `elmo-msgdb-overview-get-entity'.
2846 (elmo-shimbun-folder-shimbun-header): Ditto.
2847 (elmo-shimbun-get-headers): Ditto.
2848 (elmo-shimbun-update-overview): Ditto.
2850 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2852 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2854 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2855 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2857 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2858 `elmo-msgdb-mark-to-flags'.
2860 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2861 `elmo-msgdb-set-path'.
2863 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2865 * elmo-version.el (elmo-version): Up to 2.11.13.
2867 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2869 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2872 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2874 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2877 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2879 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2880 instead of `elmo-msgdb-get-cached'.
2881 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2883 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2884 (elmo-msgdb-set-cached): Ditto.
2885 (elmo-msgdb-set-flag): Rewrite.
2886 (elmo-msgdb-unset-flag): Ditto.
2888 * elmo-msgdb.el: Rewrite with luna.
2890 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2891 (elmo-folder-msgdb): Follow the change above.
2892 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2893 (elmo-folder-unmark-important): Follow the API change.
2894 (elmo-folder-mark-as-important): Ditto.
2895 (elmo-folder-unmark-read): Ditto.
2896 (elmo-folder-mark-as-read): Ditto.
2897 (elmo-folder-unmark-answered): Ditto.
2898 (elmo-folder-mark-as-answered): Ditto.
2899 (elmo-folder-clear): Likewise.
2901 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2902 instead of `elmo-msgdb-load' (renamed).
2904 * elmo-version.el (elmo-version): Up to 2.11.12.
2906 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2908 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2910 (elmo-message-mark): Abolish.
2911 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2912 instead of `elmo-msgdb-change-mark'.
2914 * elmo-pipe.el (elmo-message-mark): Abolish.
2916 * elmo-multi.el (elmo-message-mark): Ditto.
2918 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2919 (elmo-msgdb-unread-uncached-mark): Ditto.
2920 (elmo-msgdb-unread-cached-mark): Ditto.
2921 (elmo-msgdb-read-uncached-mark): Ditto.
2922 (elmo-msgdb-answered-cached-mark): Ditto.
2923 (elmo-msgdb-answered-uncached-mark): Ditto.
2924 (elmo-msgdb-important-mark): Ditto.
2925 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2927 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2929 (elmo-flag-table-load): Changed flag to list of flag.
2930 (elmo-flag-table-set): If flags is nil, set read flag.
2931 (elmo-flag-table-get): Return derived flags from global mark,
2932 cache status and saved flags.
2933 (elmo-msgdb-flag-table): Follow the change above.
2934 (elmo-msgdb-out-of-date-messages): New function.
2936 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2938 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2940 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2942 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2943 (elmo-nntp-msgdb-create-message): Ditto.
2945 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2947 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2949 (elmo-folder-msgdb-create): Follow the API change.
2951 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2952 (elmo-folder-append-messages): Ditto.
2954 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2955 (elmo-folder-append-buffer): Ditto.
2957 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2959 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2961 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2962 (elmo-archive-parse-mmdf): Ditto.
2964 * elmo-version.el (elmo-version): Up to 2.11.11.
2966 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2968 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2971 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2973 * elmo-pipe.el (elmo-message-flags): Defined.
2975 * elmo-multi.el (elmo-message-flags): Ditto.
2977 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2979 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2980 `elmo-msgdb-delete-msgs'.
2982 * elmo.el (elmo-folder-count-flags): Don't use
2983 `elmo-msgdb-get-mark-alist'.
2984 (elmo-folder-detach-messages): Follow the API change.
2986 * elmo.el (elmo-folder-list-messages): Append killed messages into
2987 result if `visible-only' is nil.
2989 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2991 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2992 (elmo-folder-update-number): Likewise.
2994 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2995 (elmo-pop3-sort-msgdb-by-original-number): Use
2996 `elmo-msgdb-sort-entities'.
2998 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2999 (elmo-msgdb-sort-by-date): Use it.
3000 (elmo-msgdb-overview-sort-by-date): Abolish.
3002 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3004 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3005 (elmo-msgdb-flags): New function.
3006 (elmo-msgdb-merge): Use elmo-msgdb-append.
3008 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3011 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3013 * elmo-dop.el (elmo-folder-status-dop): Use
3014 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3016 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3018 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3020 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3022 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3024 * elmo-util.el (elmo-with-progress-display): New macro.
3026 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3028 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3030 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3031 `elmo-folder-list-message-entities' instead of
3032 `elmo-msgdb-get-overview'.
3033 (elmo-map-folder-list-message-locations): Ditto.
3035 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3036 methods instead of treat directly).
3037 (elmo-msgdb-clear): Ditto.
3038 (elmo-msgdb-delete-msgs): Ditto.
3039 (elmo-msgdb-sort-by-date): Ditto.
3041 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3043 (elmo-nntp-folder-msgdb-create): Follow the API change.
3045 * elmo-version.el (elmo-version): Up to 2.11.10.
3047 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3049 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3050 (elmo-msgdb-flags-to-mark): Ditto.
3051 (elmo-msgdb-append-entity): Ditto.
3053 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3054 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3055 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3056 (elmo-archive-parse-mmdf): Ditto.
3058 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3060 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3062 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3064 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3066 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3068 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3070 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3072 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3074 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3075 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3078 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3079 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3080 instead of directly construction.
3081 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3082 instead of construct msgdb.
3084 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3085 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3086 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3087 instead of construct msgdb.
3089 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3091 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3092 when field is from or subject.
3094 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3096 * elmo-multi.el (elmo-message-entity-parent): Define.
3097 (elmo-folder-search): Rewrite.
3099 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3101 * elmo-multi.el (elmo-message-cached-p): Define.
3103 * elmo.el (elmo-message-cached-p): New method.
3104 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3105 (elmo-message-flags): New method.
3106 (elmo-message-flagged-p): New function.
3108 * elmo-version.el (elmo-version): Up to 2.11.9.
3110 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3112 * elmo-version.el (elmo-version): Up to 2.11.8.
3114 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3116 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3118 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3120 * elmo.el (elmo-folder-detach-messages): Undo last change.
3122 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3124 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3126 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3127 only when src folder type is pop3.
3129 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3131 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3132 elmo-msgdb-overview-entity-get-number instead of
3133 elmo-message-entity-number.
3135 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3137 * elmo-version.el (elmo-version): Up to 2.11.7.
3139 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3141 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3144 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3145 (elmo-msgdb-merge): New function.
3146 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3147 (elmo-msgdb-make-index): Rewrite.
3149 * elmo-version.el (elmo-version): Up to 2.11.6.
3151 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3152 use it as a the path for loading message entities.
3154 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3156 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3158 * elmo-filter.el (elmo-folder-set-message-modified): Set
3159 message-modified slot of itself if it does not require target msgdb.
3161 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3162 if folder length is zero.
3163 (elmo-mime-display-as-is): Ditto.
3165 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3167 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3169 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3171 * elmo.el (elmo-folder-set-message-modified): New method.
3172 (elmo-generic-folder-commit): Use it.
3173 (elmo-folder-synchronize): Ditto.
3175 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3176 (elmo-folder-commit): Remove duplicate definition.
3178 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3180 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3182 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3184 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3185 (elmo-strict-folder-diff): Ditto.
3186 (elmo-folder-set-info-max-by-numdb): Simplify.
3188 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3189 elmo-msgdb-list-messages.
3191 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3192 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3194 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3196 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3197 visible-only is non-nil.
3198 (elmo-folder-confirm-appends): Changed message.
3199 (elmo-folder-synchronize): Added argument disable-killed.
3201 * elmo-multi.el (elmo-folder-synchronize): Added argument
3204 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3206 * elmo-version.el (elmo-version): Up to 2.11.5.
3208 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3211 * elmo-util.el (elmo-list-filter): Simplify.
3213 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3214 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3215 (elmo-generic-folder-diff): Abolish argument.
3216 (elmo-msgdb-load): Don't use number-alist.
3218 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3220 * elmo-pipe.el (elmo-folder-diff): Ditto.
3222 * elmo-nmz.el (elmo-folder-diff): Ditto.
3224 * elmo-net.el (elmo-folder-diff): Ditto.
3226 * elmo-maildir.el (elmo-folder-diff): Ditto.
3228 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3230 * elmo-multi.el (elmo-folder-diff): Ditto
3231 (elmo-multi-folder-diff): Rewrite.
3233 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3235 * elmo-pipe.el (elmo-folder-msgdb): Define.
3237 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3239 * elmo.el (elmo-message-set-cached): Define as a method.
3241 * elmo-pipe.el (elmo-message-set-cached): Define.
3242 (elmo-find-fetch-strategy): Ditto.
3244 * elmo-multi.el (elmo-message-set-cached): Define.
3245 (elmo-find-fetch-strategy): Rewrite.
3247 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3249 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3251 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3253 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3254 instead of number-alist.
3256 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3257 mark nor message-id when msgdb of source folder is not loaded.
3259 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3261 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3263 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3265 * elmo.el (elmo-folder-length): Don't require msgdb.
3267 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3269 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3270 (elmo-message-field): Ditto.
3272 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3273 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3275 (elmo-map-folder-list-answereds): Define.
3276 (elmo-maildir-list-location): Treat 'R' info.
3277 (elmo-folder-msgdb-create): Treat flag-table.
3278 (elmo-folder-append-messages): Save flag-table.
3280 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3282 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3283 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3285 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3287 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3289 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3290 'read when mark is null.
3292 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3294 * elmo-version.el (elmo-version): Up to 2.11.4.
3296 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3298 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3299 (elmo-folder-mark-as-answered): Ditto.
3301 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3303 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3304 (elmo-pop3-get-session): Make msgdb directory after session.
3305 (elmo-folder-exists-p): Check exactly at the first time even when the
3306 elmo-pop3-exists-exactly is nil.
3308 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3309 (elmo-folder-list-messages): Define instead of
3310 elmo-folder-list-messages-internal.
3311 (elmo-folder-check): Check destination folder.
3312 (elmo-folder-synchronize): Drain the pipe.
3314 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3315 when msgdb is not loaded.
3317 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3319 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3320 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3323 * elmo.el (elmo-folder-kill-messages-before): New function.
3324 (elmo-folder-kill-messages): Ditto.
3325 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3327 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3328 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3329 killed not by synchronize (e.g. scoring).
3331 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3333 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3335 (elmo-folder-search): Follow the change above.
3337 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3338 into the candidates of search field.
3340 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3342 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3343 (elmo-msgdb-unset-flag): Ditto.
3345 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3347 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3349 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3350 (elmo-folder-commit): Define.
3351 (elmo-folder-synchronize): Ditto.
3352 (elmo-folder-list-flagged): Ditto.
3353 (elmo-folder-commit): Ditto.
3354 (elmo-folder-length): Ditto.
3355 (elmo-folder-count-flags): Ditto.
3356 (elmo-message-mark): Ditto.
3357 (elmo-message-field): Ditto.
3358 (elmo-message-entity): Ditto.
3359 (elmo-message-folder): Ditto.
3361 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3363 * elmo.el (elmo-message-field): Define as a method.
3365 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3366 (elmo-message-field): Define.
3368 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3369 (elmo-folder-list-importants): Ditto.
3370 (elmo-folder-list-answereds): Ditto.
3372 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3374 (elmo-folder-mark-as-read): Ditto.
3375 (elmo-folder-unmark-read): Ditto.
3376 (elmo-folder-mark-as-answered): Ditto.
3377 (elmo-folder-unmark-answered): Ditto.
3378 (elmo-folder-list-flagged): Define.
3379 (elmo-folder-commit): Ditto.
3380 (elmo-folder-length): Ditto.
3381 (elmo-folder-count-flags): Ditto.
3383 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3385 * elmo.el (elmo-folder-detach-messages): New method.
3386 (elmo-folder-move-messages): Use it.
3387 (elmo-folder-synchronize): Ditto.
3389 * elmo-multi.el (elmo-folder-detach-messages): Define.
3391 * elmo.el (elmo-message-copy-entity): New function.
3392 (elmo-message-entity-set-number): Ditto.
3393 (elmo-message-mark): Define as method.
3395 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3396 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3397 (elmo-message-entity): Fixed last change.
3398 (elmo-message-mark): Define.
3399 (elmo-folder-msgdb-create): Abolish.
3400 (elmo-multi-folder-append-msgdb): Ditto.
3401 (elmo-multi-folder-diff): Fixed.
3402 (elmo-multi-split-number-alist): Removed.
3403 (elmo-multi-split-mark-alist): Removed.
3404 (elmo-folder-list-messages): Define.
3405 (elmo-folder-list-messages-internal): Removed.
3407 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3408 local file messages.
3409 (elmo-folder-msgdb-create): Fixed read mark.
3411 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3413 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3416 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3418 * elmo.el (elmo-folder-list-message-entities): Define as inline
3420 (elmo-folder-messages): Abolish.
3422 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3424 (elmo-folder-synchronize): Define.
3425 (elmo-message-entity): Define.
3427 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3429 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3430 elmo-imap4-session-select-mailbox.
3432 * elmo.el (elmo-folder-move-messages): Don't display any message.
3434 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3436 (elmo-imap4-session-check): Don't wait CHECK response.
3437 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3439 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3441 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3443 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3445 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3447 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3450 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3451 (elmo-folder-list-message-entities): Added argument in-msgdb and
3453 (elmo-folder-synchronize): Define as a method.
3455 * elmo-nntp.el (elmo-folder-initialize): Don't use
3456 elmo-nntp-default-user if zero-length username is specified
3459 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3461 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3462 server name in case with username.
3463 (XXX: this is ad-hoc fix against username includes "@", it
3464 should be solved fundamentally)
3466 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3468 * elmo-nntp.el (elmo-nntp-debug): New function.
3469 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3470 (elmo-network-authenticate-session): Hide auth-info from the log.
3472 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3473 user name if it is equal to elmo-nntp-default-user.
3475 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3477 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3478 instead of shimbun-server-internal;
3479 Use shimbun-current-group instead of shimbun-current-group-internal.
3480 (elmo-folder-plugged-p): Use shimbun-server instead of
3481 shimbun-server-internal.
3482 (elmo-folder-set-plugged): Ditto.
3483 (elmo-net-port-info): Ditto.
3484 (elmo-folder-check): Ditto.
3485 (elmo-folder-expand-msgdb-path): Ditto.
3486 (elmo-folder-list-subfolders): Ditto.
3488 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3490 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3491 Convert field-name to lower case.
3492 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3494 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3496 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3497 `message' and `error' take format string.
3499 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3501 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3503 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3505 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3506 recursive call (can't byte compile on emacs 20.7).
3508 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3510 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3511 (elmo-folder-list-message-entities): New API.
3512 (elmo-message-entity): Ditto.
3513 (elmo-message-entity-parent): Ditto.
3514 (elmo-folder-do-each-message-entity): Ditto.
3515 (elmo-message-entity-number): Ditto.
3516 (elmo-message-entity-field): Ditto.
3517 (elmo-message-entity-set-field): Ditto.
3518 (elmo-folder-count-flags): Ditto.
3519 (elmo-folder-length): Ditto.
3521 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3524 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3525 (elmo-msgdb-count-marks): Abolish.
3526 (elmo-msgdb-make-entity): Ditto.
3527 (elmo-msgdb-do-each-entity): Ditto.
3528 (elmo-msgdb-message-entity): New inline function.
3529 (elmo-msgdb-message-entity-field): Ditto.
3530 (elmo-msgdb-message-entity-set-field): Ditto.
3531 (elmo-msgdb-make-message-entity): New function.
3533 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3535 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3536 to flag. (All other related portions are changed.)
3537 (elmo-folder-msgdb-create): Likewise.
3538 (elmo-generic-folder-append-messages): Use flag-table instead of
3540 (elmo-folder-move-messages): Removed redundant process.
3541 (elmo-folder-synchronize): Likewise.
3543 * elmo-msgdb.el (elmo-flag-table-get): New function.
3544 (elmo-flag-table-save): Fixed.
3545 (elmo-msgdb-length): New inline function.
3546 (elmo-msgdb-flag-table): New function.
3547 (elmo-msgdb-mark): Add optional argument new.
3548 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3549 (elmo-msgdb-seen-list): Ditto.
3550 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3553 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3555 * elmo.el (elmo-message-set-mark): Abolish.
3556 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3557 (All related portions are changed.)
3559 * elmo-msgdb.el (toplevel): Added comment.
3560 (elmo-load-msgdb): Added 4th element `path'.
3561 (elmo-msgdb-append): Follow the change above.
3562 (elmo-msgdb-clear): Ditto.
3563 (elmo-msgdb-delete-msgs): Ditto.
3564 (elmo-msgdb-get-path): New inline function.
3565 (elmo-msgdb-set-path): Ditto.
3566 (elmo-flag-table-filename): New variable.
3567 (elmo-flag-table-load): New function.
3568 (elmo-flag-table-set): Ditto.
3569 (elmo-flag-table-save): Ditto.
3570 (elmo-msgdb-get-field-value): Abolish.
3571 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3573 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3575 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3576 the folder has been deleted successfully.
3577 * elmo-imap4.el (elmo-folder-delete): Ditto.
3578 * elmo-archive.el (elmo-folder-delete): Ditto.
3579 * elmo-localdir.el (elmo-folder-delete): Ditto.
3580 * elmo-maildir.el (elmo-folder-delete): Ditto.
3582 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3584 * elmo-util.el (elmo-string-member-ignore-case): New function.
3585 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3586 (elmo-imap4-fetch-callback-1-subr): Likewise.
3588 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3590 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3591 the case of the name attribute "\Noselect".
3593 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3595 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3597 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3598 flist, is not always a member of onum-alist.
3600 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3602 * elmo-version.el (elmo-version): Up to 2.11.3.
3604 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3606 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3607 copied from localdir's one.
3609 * elmo-pipe.el (elmo-folder-rename): New method, rename
3610 destination folder with leaving source folder as it is.
3612 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3614 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3617 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3619 * elmo-version.el (elmo-version): Up to 2.11.2.
3621 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3623 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3624 shimbun-open in case of "@".
3625 (elmo-folder-open-internal): Cope with shimbun = nil case.
3626 (elmo-folder-plugged-p): Ditto.
3627 (elmo-folder-list-subfolders): Make list for "@/" group.
3629 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3631 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3632 mailbox (e.g. for %~/something).
3634 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3636 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3637 Replace nested conditional with guard clauses.
3639 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3641 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3644 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3647 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3649 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3650 Replace nested conditional with guard clauses.
3652 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3654 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3655 (elmo-passwd-alist-save): Ditto.
3656 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3658 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3660 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3661 dir-name only if it is absolute path.
3662 (TODO: distinguish +/something and +something)
3664 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3666 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3667 path for "+~/something".
3669 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3671 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3672 as non-directory, cause error before rename-file.
3673 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3674 apropriately, mimic localdir's one.
3675 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3677 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3679 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3681 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3683 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3685 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3687 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3688 is included in the global-mark or not.
3690 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3692 * utf7.el (toplevel): Avoid error when the function
3693 find-coding-system does not exist.
3695 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3697 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3698 cache even if the folder is plugged.
3699 (elmo-nntp-search-primitive): Do nothing when body search is
3700 invoked (although it is not used by the change above).
3701 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3703 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3705 * elmo-version.el (elmo-version): Up to 2.11.1.
3707 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3709 * elmo-archive.el: Specify charset.
3711 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3713 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3714 process buffer lives or not.
3716 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3717 while flushing queues (It causes infinite loop).
3719 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3721 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3723 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3725 * utf7.el (toplevel): Check the ucs features dynamically.
3726 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3728 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3729 folder is creatabe or not if it already exists.
3731 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3733 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3735 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3737 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3738 (elmo-imap4-read-response): Take care of garbage response.
3740 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3742 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3743 just return nil instead of error.
3745 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3747 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3748 search-key is "body".
3750 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3752 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3753 of elmo-string-matched-assoc to use match-data.
3754 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3756 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3758 * elmo-split.el (elmo-split->): New function.
3759 (elmo-split-<): Ditto.
3761 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3763 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3764 workaround for invalid message-id.
3766 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3768 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3769 return normal pop3 session or pop3 biff session.
3771 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3773 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3774 info part to the cur files when the new files already have it.
3775 (Adviced by Jared Rhine <jared@wordzoo.com>)
3777 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3779 * elmo-split.el (elmo-split-default-action): New variable.
3780 (elmo-split-subr): Use it if all other conditions are passed.
3781 Extend `fname' and rename it as `action'. (implemented
3782 Teranishi-san's idea in [wl:10800])
3784 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3786 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3787 * elmo-util.el: Ditto.
3789 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3791 * elmo.el (elmo-message-accessible-p): Renamed from
3792 elmo-message-cached-p and rewritten.
3794 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3796 * elmo.el (elmo-folder-list-flagged): New generic function.
3797 (elmo-folder-list-importants): New implementation.
3798 (elmo-folder-list-answereds): Ditto.
3799 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3801 (elmo-message-cached-p): New function.
3802 (elmo-message-set-flag): Ditto (no content).
3803 (elmo-message-unset-flag): Ditto.
3804 (elmo-folder-list-messages-mark-match): Abolish.
3806 * elmo-util.el (elmo-regexp-opt): New function.
3808 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3809 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3811 (elmo-msgdb-list-flagged): New function.
3813 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3814 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3817 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3819 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3821 * elmo-version.el (elmo-version): Up to 2.11.0.
3823 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3825 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3826 `elmo-file-cache-exists-p'; use proper mark that depends on
3828 (elmo-msgdb-unset-flag): Ditto.
3829 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3831 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3832 with 4th argument `use-cache'.
3834 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3836 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3837 (elmo-folder-mark-as-important): Ditto.
3838 (elmo-folder-unmark-read): Ditto.
3839 (elmo-folder-mark-as-read): Ditto.
3840 (elmo-folder-unmark-answered): Ditto.
3841 (elmo-folder-mark-as-answered): Ditto.
3843 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3845 (elmo-msgdb-mark): Likewise.
3846 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3847 (elmo-msgdb-unset-flag): Likewise.
3849 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3851 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3853 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3856 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3858 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3859 set spool-length to 0.
3861 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3863 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3864 (elmo-dop-queue-flush): Fixed last change.
3866 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3868 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3869 if require-msgdb slot is nil.
3870 (elmo-folder-list-importants): Likewise.
3872 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3874 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3877 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3878 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3881 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3883 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3885 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3887 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3889 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3891 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3893 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3894 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3896 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3898 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3899 the problem reported by Sean Rima [wl-en:180].
3901 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3903 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3905 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3907 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3909 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3911 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3913 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3915 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3917 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3919 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3922 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3924 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3925 (elmo-folder-mark-as-read): Follow the API change.
3926 (elmo-message-set-cached): New function.
3928 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3930 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3932 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3933 (elmo-folder-mark-as-important): Ditto.
3934 (elmo-folder-unmark-read): Ditto.
3935 (elmo-folder-mark-as-read): Ditto.
3936 (elmo-folder-unmark-answered): Ditto.
3937 (elmo-folder-mark-as-answered): Ditto.
3939 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3940 (elmo-folder-unmark-important): Ditto.
3941 (elmo-folder-mark-as-read): Ditto.
3942 (elmo-folder-unmark-read): Ditto.
3943 (elmo-folder-mark-as-answered): Ditto.
3944 (elmo-folder-unmark-answered): Ditto.
3946 * elmo-mark.el (toplevel): Removed some mark method definitions.
3948 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3949 (elmo-map-folder-mark-as-answered): Ditto.
3950 (elmo-folder-unmark-important): Add :before qualifier.
3951 (elmo-folder-mark-as-important): Ditto.
3952 (elmo-folder-unmark-read): Ditto.
3953 (elmo-folder-mark-as-read): Ditto.
3954 (elmo-folder-unmark-answered): Define.
3955 (elmo-folder-mark-as-answered): Ditto.
3957 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3958 (elmo-map-folder-unmark-answered): Ditto.
3960 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3962 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3963 (elmo-folder-mark-as-important): Ditto.
3964 (elmo-folder-unmark-read): Ditto.
3965 (elmo-folder-mark-as-read): Ditto.
3966 (elmo-folder-unmark-answered): Ditto.
3967 (elmo-folder-mark-as-answered): Ditto.
3969 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3970 `mark'; evaluate mark condition.
3971 (elmo-msgdb-match-condition-internal): New function.
3972 (elmo-msgdb-match-condition): Call it; changed argument.
3974 * elmo.el (elmo-folder-search): Follow the API change on
3975 `elmo-msgdb-match-condition'.
3977 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3979 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3980 original mark is non-nil.
3982 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3984 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3985 (elmo-map-folder-list-answereds): New method.
3986 (elmo-folder-list-unreads): Add :around qualifier.
3987 (elmo-folder-list-importants): Ditto.
3988 (elmo-folder-list-answereds): Ditto.
3990 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3992 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3994 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3995 method if msgdb is not required.
3996 (elmo-filter-folder-list-importants): Don't treat global-mark.
3998 * elmo.el (elmo-folder-list-importants): Ditto.
4000 * elmo-net.el (elmo-folder-list-importants): Ditto.
4002 * elmo-map.el (elmo-folder-list-importants): Ditto.
4004 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4006 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4007 (elmo-imap4-folder-list-any-plugged): New function.
4008 (elmo-imap4-search-internal-primitive): Use it.
4010 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4011 only when require-msgdb slot is non-nil.
4012 (elmo-folder-close): Clear target folder's msgdb.
4014 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4016 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4017 (elmo-pop3-msgdb-create-by-header): Ditto.
4018 (elmo-pop3-msgdb-create-message): Ditto.
4020 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4022 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4024 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4026 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4027 (elmo-folder-msgdb-create): Ditto.
4028 (elmo-nntp-folder-msgdb-create): Ditto.
4029 (elmo-nntp-msgdb-create-by-header): Ditto.
4030 (elmo-nntp-msgdb-create-message): Ditto.
4031 (elmo-folder-list-unreads): Define.
4033 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4034 (elmo-folder-append-messages): Ditto.
4035 (elmo-folder-list-unreads): Define.
4036 (elmo-folder-list-importants): Ditto.
4037 (elmo-folder-list-answereds): Ditto.
4039 * elmo-net.el (elmo-folder-list-unreads): Define.
4040 (elmo-folder-list-importants): Ditto.
4041 (elmo-folder-list-answereds): Ditto.
4042 (elmo-folder-list-answereds-plugged): Ditto.
4043 (elmo-folder-msgdb-create): Follow the API change.
4044 (elmo-folder-msgdb-create-unplugged): Ditto.
4045 (elmo-folder-unmark-answered): Define.
4046 (elmo-folder-mark-as-answered-unplugged): Ditto.
4047 (elmo-folder-unmark-answered-unplugged): Ditto.
4049 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4050 (elmo-msgdb-unread-uncached-mark): Ditto.
4051 (elmo-msgdb-unread-cached-mark): Ditto.
4052 (elmo-msgdb-read-uncached-mark): Ditto.
4053 (elmo-msgdb-answered-cached-mark): Ditto.
4054 (elmo-msgdb-answered-uncached-mark): Ditto.
4055 (elmo-msgdb-important-mark): Ditto.
4056 (elmo-msgdb-set-mark): Rewrite.
4057 (elmo-msgdb-count-marks): Rewrite.
4058 (elmo-msgdb-mark-alist-set): Abolish.
4059 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4060 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4062 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4063 (elmo-folder-close): Define.
4064 (elmo-folder-msgdb-create): Follow the API change.
4065 (elmo-folder-list-unreads): Rewrite.
4066 (elmo-folder-mark-as-important): Ditto.
4067 (elmo-folder-unmark-important): Ditto.
4068 (elmo-folder-mark-as-read): Ditto.
4069 (elmo-folder-unmark-read): Ditto.
4070 (elmo-folder-mark-as-answered): Define.
4071 (elmo-folder-unmark-answered): Ditto.
4073 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4074 (elmo-folder-append-messages): Ditto.
4076 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4078 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4079 (elmo-folder-list-importants): Ditto.
4081 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4082 (elmo-folder-append-messages): Ditto.
4084 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4086 (elmo-folder-msgdb-create-plugged): Ditto.
4087 (elmo-folder-append-messages): Ditto.
4088 (elmo-folder-list-answereds-plugged): Define.
4089 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4090 (elmo-folder-unmark-answered-plugged): Define.
4091 (elmo-folder-mark-as-answered-plugged): Ditto.
4092 (elmo-folder-search-requires-msgdb-p): Ditto.
4094 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4095 (elmo-folder-initialize): Set it.
4096 (elmo-folder-msgdb): Define.
4097 (elmo-folder-check): Call elmo-folder-synchronize.
4098 (elmo-folder-close): Define.
4099 (elmo-folder-commit): Ditto.
4100 (elmo-folder-msgdb-create): Rewrite.
4101 (elmo-folder-list-unreads): Ditto.
4102 (elmo-folder-list-importants): Ditto.
4103 (elmo-folder-mark-as-read): Ditto.
4104 (elmo-folder-unmark-read): Ditto.
4105 (elmo-folder-mark-as-important): Ditto.
4106 (elmo-folder-unmark-important): Ditto.
4107 (elmo-folder-mark-as-answered): Define.
4108 (elmo-folder-unmark-answered): Ditto.
4110 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4111 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4112 (elmo-dop-queue-method-name-alist): Likewise.
4113 (elmo-folder-mark-as-answered-dop): New inline function.
4114 (elmo-folder-unmark-answered-dop): Ditto.
4115 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4117 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4118 (elmo-folder-msgdb-create): Ditto.
4119 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4120 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4121 (elmo-archive-parse-mmdf): Ditto.
4123 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4124 (elmo-folder-list-unreads-internal): Ditto.
4126 * elmo.el (elmo-folder-msgdb): Define as generic function.
4127 (elmo-folder-list-messages): Added argument `in-msgdb'.
4128 (elmo-folder-list-unreads): Define as generic function.
4129 (elmo-folder-list-importants): Ditto.
4130 (elmo-folder-list-answereds): Ditto.
4131 (elmo-folder-list-messages-with-global-mark): New function.
4132 (elmo-folder-msgdb-create): Removed mark arguments.
4133 (elmo-folder-unmark-answered): New generic function.
4134 (elmo-folder-mark-as-answered): Ditto.
4135 (elmo-folder-append-messages): Removed argunment `unread-marks'
4136 (elmo-folder-list-unreads-internal): Abolish.
4137 (elmo-folder-list-importants-internal): Ditto.
4138 (elmo-folder-search-requires-msgdb-p): New generic function.
4139 (elmo-folder-search-requires-msgdb-p-internal): New function.
4140 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4142 (elmo-folder-search-fast): Added key 'mark'.
4143 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4144 instead of unread-marks argument.
4145 (elmo-folder-move-messages): Removed argunment `unread-marks'
4146 (elmo-folder-unmark-important): Define.
4147 (elmo-folder-mark-as-important): Ditto.
4148 (elmo-folder-unmark-read): Ditto.
4149 (elmo-folder-mark-as-read): Ditto.
4150 (elmo-folder-unmark-answered): Ditto.
4151 (elmo-folder-mark-as-answered): Ditto.
4152 (elmo-folder-replace-marks): Abolish.
4153 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4155 (elmo-folder-synchronize): Removed mark arguments;
4156 return crosspost only number.
4158 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4160 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4161 Remove redundunt connectivity check.
4163 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4165 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4166 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4168 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4170 * pldap.el (ldap-decode-string): Return string as-is if
4171 `ldap-coding-system' is nil.
4172 (ldap-encode-string): Ditto.
4173 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4174 (ldap-default-host): Fixed docstring.
4176 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4178 * elmo-util.el (elmo-warning): Define as a macro which uses
4179 `display-warning' if it is defined as a function.
4181 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4182 (elmo-split-equal): Use it.
4183 (elmo-split-match): Ditto.
4184 (elmo-split-message-entity): New buffer-local variable.
4185 (elmo-split-subr): Set it.
4187 * elmo-version.el (elmo-version): Up to 2.9.15.
4189 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4191 * elmo-imap4.el (elmo-network-initialize-session):
4192 Check capability after starttls.
4194 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4196 * elmo-util.el (elmo-list-delete): Added optional argument
4199 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4201 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4203 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4205 * elmo-imap4.el (elmo-folder-initialize): Don't use
4206 elmo-imap4-default-mailbox.
4208 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4210 * elmo-split.el (toplevel): Use `product-provide'.
4211 (elmo-split): Checkdoc.
4213 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4215 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4216 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4217 the function `elmo-imap4-debug-1'.
4219 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4221 * elmo-split.el (elmo-split): Moved to run hooks and to show
4222 message from elmo-split-subr.
4223 (elmo-split-subr): Follow the change above.
4225 * elmo-split.el (elmo-split-subr): New function (renamed from
4227 (elmo-split): Changed to call elmo-split-subr by element of
4229 (elmo-split-folder): Changed customization type to choice.
4231 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4233 * elmo-split.el (elmo-split-and): Fixed condition.
4235 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4237 * elmo-split.el: New file.
4238 (elmo-split): Fixed logic.
4239 Display "Test:" instead of "Folder:" when reharsal.
4241 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4244 * elmo-version.el (elmo-version): Up to 2.9.14.
4246 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4249 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4251 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4252 message with no message-id field.
4254 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4256 * elmo-version.el (elmo-version): Up to 2.9.13.
4258 * elmo-dop.el (elmo-folder-status-dop): Fix.
4260 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4262 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4264 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4265 changing default value of default-mime-charset.
4266 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4268 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4270 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4271 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4272 instead of elmo-dop-queue-method-name-alist to check merging queue.
4273 (elmo-folder-delete-messages-dop): Delete from queue if negative
4275 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4276 file is already removed.
4278 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4280 * elmo-vars.el: Bind colon keywords for old Emacsen.
4282 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4284 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4285 against non-exsisting charset.
4287 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4289 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4290 Use eword-decode-and-unfold-unstructured-field-body.
4292 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4293 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4294 exists to decode raw subject string.
4295 (toplevel): Require 'mime.
4297 * elmo-version.el (elmo-version): Up to 2.9.12.
4299 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4301 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4302 (elmo-msgdb-set-mark): Ditto.
4304 * elmo-version.el (elmo-version): Up to 2.9.11.
4306 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4308 * elmo-util.el (elmo-delete-match-files): New function.
4310 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4311 instead of elmo-delete-directory.
4313 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4314 elmo-hash-minimun-size as 63.
4316 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4317 elmo-diff-unread is nil.
4319 * elmo-imap4.el (elmo-folder-open): Fix.
4321 * elmo.el (elmo-message-mark): Rewrite.
4322 (elmo-message-field): Ditto.
4323 (elmo-message-set-mark): Ditto.
4324 (elmo-folder-replace-marks): New function.
4325 (elmo-generic-folder-append-msgdb): Removed third argument for
4327 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4328 (elmo-msgdb-load): New implementation.
4330 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4332 * elmo-util.el (elmo-list-insert): New implementation.
4334 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4335 argument for elmo-msgdb-append.
4338 * elmo-msgdb.el (elmo-load-msgdb): New function.
4339 (elmo-make-msgdb): Ditto.
4340 (elmo-msgdb-get-index): New inline function.
4341 (elmo-msgdb-set-index): Ditto.
4342 (elmo-msgdb-get-entity-hashtb): Ditto.
4343 (elmo-msgdb-get-mark-hashtb): Ditto.
4344 (elmo-msgdb-get-mark): Ditto.
4345 (elmo-msgdb-set-mark): Ditto.
4346 (elmo-msgdb-count-marks): Ditto.
4347 (elmo-msgdb-get-number): Ditto.
4348 (elmo-msgdb-get-field): Ditto.
4349 (elmo-msgdb-seen-list): Ditto.
4350 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4351 (elmo-msgdb-delete-msgs): Follow the changes above.
4352 (elmo-msgdb-overview-get-entity): Ditto.
4353 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4354 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4356 (elmo-msgdb-make-index): Likewise.
4357 (elmo-msgdb-append): Removed third argument.
4358 (elmo-msgdb-clear): Clear index as nil.
4359 (elmo-folder-set-info-hashtb): Removed.
4360 (elmo-folder-set-info-max-by-numdb): Ditto.
4361 (elmo-folder-info-make-hashtb): Ditto.
4363 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4365 * elmo-map.el (elmo-folder-pack-number): Ditto.
4367 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4369 * elmo-version.el (elmo-version): Up to 2.9.10.
4371 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4373 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4375 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4377 * elmo-utils.el (elmo-make-directory): Add option.
4378 Default file mode is 700.
4380 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4382 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4384 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4386 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4389 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4392 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4394 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4395 (elmo-shimbun-folder-entity-hash): New function.
4396 (elmo-shimbun-folder-shimbun-header): Ditto.
4397 (elmo-shimbun-entity-to-header): Ditto.
4398 (elmo-shimbun-msgdb-to-headers): Removed.
4399 (elmo-shimbun-folder-setup): Ditto.
4400 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4402 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4403 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4404 Removed useless local bind.
4405 (elmo-folder-open-internal): Don't call
4406 `elmo-shimbun-folder-setup'.
4407 (elmo-folder-close-internal): Clear entity-hash slot.
4408 (elmo-folder-clear): Ditto.
4409 (elmo-shimbun-msgdb-create-entity): Use
4410 `elmo-shimbun-folder-shimbun-header'.
4411 (elmo-map-message-fetch): Ditto.
4412 (elmo-shimbun-update-overview): Use overview entity instead of
4413 shimbun header to lookup id by references.
4414 (elmo-map-folder-list-message-locations): Use not only headers but
4415 also overviews to list locations.
4417 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4419 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4422 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4424 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4426 * elmo-util.el (elmo-read-search-condition-internal): Give default
4429 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4431 * elmo-util.el (elmo-condition-parse-search-value): Accept
4432 YYYY-MM-DD format to search.
4433 * elmo-date.el (elmo-date-get-datevec): Likewise.
4435 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4437 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4440 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4442 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4445 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4447 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4448 case from `elmo-folder-exists-p'.
4449 (elmo-folder-exists-p): Removed.
4450 (elmo-folder-creatable-p) Ditto.
4452 * elmo-net.el (elmo-folder-create): Defined.
4453 (elmo-folder-create-unplugged): New function.
4454 (elmo-folder-exists-p): Changed default value to nil from t.
4456 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4457 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4459 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4460 `elmo-create-folder-dop' and append queue
4461 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4462 (elmo-folder-create-dop-delayed): New function.
4464 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4466 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4468 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4469 (elmo-folder-writable-p) : Ditto.
4471 * elmo-version.el (elmo-version): Up to 2.9.9.
4473 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4475 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4476 `elmo-message-use-cache-p' returns nil.
4477 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4478 (ignore cache file and refer the substance in local folders)
4480 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4482 * elmo-version.el (elmo-version): Up to 2.9.8.
4484 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4486 * elmo-version.el (elmo-version): Up to 2.9.7.
4488 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4490 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4492 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4494 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4496 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4498 (elmo-map-folder-list-message-locations): Reverse location list.
4500 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4502 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4504 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4506 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4508 (elmo-nntp-folder-list-subfolders): Follow the change above.
4510 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4512 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4513 name if authentication type is specified.
4515 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4517 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4519 (elmo-default-nntp-stream-type): Ditto.
4520 (elmo-default-pop3-stream-type): Ditto.
4522 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4524 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4526 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4528 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4530 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4532 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4533 (elmo-maildir-folder-path): Ditto.
4534 (elmo-maildir-list): Ditto (abolished).
4536 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4538 * elmo-version.el (elmo-version): Up to 2.9.6.
4540 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4542 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4543 (elmo-maildir-folder-path): Ditto.
4544 (elmo-msgdb-directory): Ditto.
4545 (elmo-passwd-life-time): Ditto.
4546 (elmo-msgdb-extra-fields): Ditto.
4547 (elmo-enable-disconnected-operation): Ditto.
4549 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4551 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4553 (elmo-pop3-default-authenticate-type): Ditto.
4555 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4557 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4559 (elmo-pop3-default-authenticate-type): Ditto.
4561 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4563 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4564 mailbox to new-folder.
4566 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4568 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4569 less than new, set new as unread.
4571 * elmo-util.el (elmo-string): Don't put text-property if nil.
4573 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4575 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4576 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4578 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4580 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4581 is nil on `completing-read'.
4583 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4585 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4587 (elmo-imap4-parse-namespace-subr): Ditto.
4588 (elmo-folder-list-subfolders): Append a delimiter when the specified
4589 folder path is a root with namespace and does not end with delimiter.
4591 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4593 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4596 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4598 * elmo-util.el (elmo-save-buffer): The first argument of message
4599 is a format control string.
4601 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4603 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4604 `elmo-folder-diff').
4605 (elmo-diff-unread): Likewise.
4607 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4609 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4610 is t on `completing-read'.
4612 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4614 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4615 method of target folder with self mark-alist if MARK-ALIST is nil.
4617 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4619 * elmo-version.el (elmo-version): Up to 2.9.5.
4621 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4623 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4624 (elmo-dop-merge-funcs): Remove.
4626 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4628 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4629 Return t if PATH is directory, too.
4630 Use `dolist' instead of while loop.
4632 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4634 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4637 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4639 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4641 (elmo-folder-list-messages-unplugged): Return t if
4642 elmo-enable-disconnected-operation is nil.
4644 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4645 `elmo-folder-list-messages-internal'.
4647 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4649 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4650 Change to looking-at `[23][0-9]+'.
4651 (elmo-network-initialize-session): Use 'error-msg'
4652 * elmo-net.el (elmo-network-open-session): Set unplugged
4653 if elmo-network-initialize-session returns 'elmo-open-err.
4655 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4657 * elmo-version.el (elmo-version): Up to 2.9.4.
4659 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4661 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4662 `elmo-folder-list-messages-internal'.
4664 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4666 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4667 (elmo-message-match-condition): New method.
4668 (elmo-folder-search-fast): New inline function.
4669 (elmo-msgdb-search): Removed.
4671 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4672 target folder if it is unplugged.
4673 (elmo-folder-list-messages-internal): Return t if target folder is
4674 unplugged and itself is persistent; In this case, use list be
4677 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4678 (elmo-msgdb-search-internal-primitive): Ditto.
4679 (elmo-msgdb-match-condition): New function.
4680 (elmo-msgdb-match-condition-primitive): Ditto.
4682 * elmo-util.el (elmo-filter-condition-p): New macro.
4684 * elmo-cache.el (elmo-folder-search): Removed.
4686 * elmo-localdir.el (elmo-folder-search): Ditto.
4688 * elmo-maildir.el (elmo-folder-search): Ditto.
4690 * elmo-mark.el (elmo-folder-search): Ditto.
4692 * elmo-nmz.el (elmo-folder-search): Ditto.
4694 * elmo-sendlog.el (elmo-folder-search): Ditto.
4696 * elmo-shimbun.el (elmo-folder-search): Ditto.
4698 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4699 if folder is unplugged.
4701 * elmo-nntp.el (elmo-folder-search): Likewise.
4702 (elmo-nntp-search-internal): New function.
4704 * elmo-version.el (elmo-version): Up to 2.9.3.
4706 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4708 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4710 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4712 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4714 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4716 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4718 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4720 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4721 (elmo-map-folder-list-message-locations): Do drive letter conversion
4722 on Windows environment.
4723 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4724 (elmo-map-message-fetch): Ditto.
4726 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4728 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4729 (elmo-network-initialize-session): Ditto.
4731 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4733 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4735 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4737 * elmo-util.el (elmo-progress-clear): Ditto.
4739 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4740 `DD-Mon-YYYY' type date.
4742 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4744 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4745 `elmo-date-make-sortable-string' instead of
4746 `timezone-make-date-sortable'.
4748 * elmo-date.el (elmo-date-make-sortable-string): Use
4749 `timezone-make-time-string'.
4751 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4753 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4755 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4756 `since'; Fix timezone.
4758 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4760 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4762 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4764 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4766 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4768 * elmo.el (elmo-generic-folder-append-messages): Make
4769 fetch-strategy with `use-cache' as 'maybe. Check return value of
4770 `elmo-message-fetch'.
4771 (elmo-message-fetch): Return return value of
4772 `elmo-message-fetch-with-cache-process'.
4773 (elmo-message-fetch-with-cache-process): Return non-nil if
4774 fetching was succeed. Load cache when fetching was failed and
4775 fetch-strategy-use-cache is 'maybe.
4777 * elmo-util.el (elmo-file-cache-load): New function.
4779 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4782 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4783 non-nil if fetching was succeed.
4785 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4787 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4789 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4790 (elmo-message-fetch-with-cache-process): Likwise.
4792 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4794 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4796 * elmo-version.el (elmo-version): Up to 2.9.2.
4798 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4800 * elmo.el (elmo-folder-delete): Delete msgdb path.
4802 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4804 * elmo-maildir.el (elmo-folder-delete): Ditto.
4806 * elmo-localdir.el (elmo-folder-delete): Ditto.
4808 * elmo-imap4.el (elmo-folder-delete): Ditto.
4810 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4812 * elmo.el (luna-define-class): Added `biff' slot.
4814 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4815 (elmo-pop3-debug-inhibit-logging): Abolished.
4816 (elmo-network-close-session): Eliminated needless let.
4817 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4818 (elmo-pop3-send-command): Added `no-log' argument.
4819 (elmo-pop3-process-filter): Use `with-current-buffer'.
4820 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4822 (elmo-pop3-auth-apop): Likewise.
4823 (elmo-network-authenticate-session): Likewise.
4825 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4828 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4829 string to determine protocol.
4830 (elmo-network-session-name-prefix): Abolished.
4831 (elmo-network-session-cache-key): Follow the change above.
4832 (elmo-network-open-session): Ditto.
4834 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4835 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4837 * elmo-version.el (elmo-version): Up to 2.9.1.
4839 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4840 unmatch condition checking.
4842 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4845 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4847 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4849 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4851 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4852 test for while loop to execute at least one SEARCH command.
4854 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4856 * elmo-version.el (elmo-version): Up to 2.9.0.
4858 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4860 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4861 (elmo-archive-folder-path): Define.
4862 (elmo-folder-initialize): Setup `dir-name' slot.
4863 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4864 Use `dir-name' as prefix of each subfolders.
4865 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4867 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4869 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4870 (elmo-pipe-folder-list-target-messages): New internal function.
4871 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4873 (elmo-pipe-folder-copied-list-load): New function.
4874 (elmo-pipe-folder-copied-list-save): Ditto.
4875 (elmo-folder-open-internal): Follow the change above.
4876 (elmo-folder-status): Fixed for copy.
4878 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4880 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4882 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4884 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4885 elmo-copy-file instead of elmo-add-name-to-file.
4887 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4889 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4892 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4893 of accept-process-output as 1.
4894 (elmo-pop3-read-contents): Ditto.
4895 (elmo-pop3-read-body): Ditto.
4897 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4899 * elmo-version.el (product-version-as-string): Remove define.
4901 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4903 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4904 (elmo-imap4-copy-messages): Chop number set using
4905 `elmo-imap4-number-set-chop-length'.
4906 (elmo-imap4-set-flag): Ditto.
4907 (elmo-imap4-search-internal-primitive): Ditto.
4909 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4911 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4912 `elmo-folder-make-temp-dir'
4914 * elmo-vars.el (elmo-cache-directory): New variable.
4915 (elmo-cache-dir): Abolished.
4916 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4918 * elmo-version.el (elmo-version): Up to 2.7.7.
4920 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4922 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4923 defcustom; Set default value as t.
4925 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4927 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4928 (ldap-search-program-arguments): Changed default value.
4929 (ldap-search-basic): Accept exit status 4.
4930 (ldap/field-body): Parse options.
4931 (ldap/collect-field): Ditto.
4932 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4934 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4935 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4936 (elmo-imap4-accept-ok): Ditto.
4937 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4938 'notify-bye, only BYE error is reported.
4939 (elmo-folder-exists-p-plugged): Set no-error argument of
4940 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4942 * elmo.el (elmo-imap4-bye-error): Changed message.
4944 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4945 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4946 queues (It causes infinite loop).
4948 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4950 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4951 (RECENT UNSEEN MESSAGES) extension.
4953 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4955 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4956 Check number of overview fields.
4958 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4960 * elmo.el (elmo-folder-confirm-appends): Changed message.
4961 (elmo-folder-confirm-appends): Ditto.
4963 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4965 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4967 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4969 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4970 of elmo-folder-update-threshold is nil, which can be set by
4971 wl-summary-update-confirm-threshold.
4973 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4975 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4976 (elmo-nmz-index-alias-alist): Ditto.
4977 (elmo-map-folder-list-message-locations): Follow the change above.
4979 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4981 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4983 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4985 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4987 * elmo-util.el (elmo-read): Ditto.
4988 (elmo-display-error): Ditto.
4990 * elmo-vars.el (elmo-date-match): Ditto.
4992 * pldap.el (ldap-coding-system): Ditto.
4994 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4995 `elmo-inhibit-number-mapping' as nil.
4997 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4999 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5000 space delimiter for list response.
5002 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5004 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5006 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5008 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5009 (elmo-map-message-fetch): Fix.
5010 * elmo-map.el (elmo-folder-status): Fix for killed.
5012 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5014 * elmo-sendlog.el: New file.
5015 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5017 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5019 * acap.el (acap-logging-out): New buffer local variable.
5020 (acap-close): Set it.
5021 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5024 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5026 * acap.el (acap-response-bye-p): New function.
5027 (acap-response-bye-message): Ditto.
5028 (acap-wait-for-response): If bye response is received, cause an error.
5029 (acap-parse-response): Make bye response when 'Bye' is received.
5031 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5033 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5035 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5037 * elmo-util.el (elmo-copy-file): Added argument
5038 `ok-if-already-exists'.
5039 (elmo-copy-file): Fixed typo.
5041 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5043 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5045 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5047 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5049 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5051 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5054 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5056 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5057 (elmo-folder-initialize): Fix for `copy'.
5058 (elmo-pipe-drain): Ditto.
5059 (elmo-folder-open-internal): Ditto.
5060 (elmo-folder-newsgroups): Fix.
5062 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5064 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5067 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5068 recent value is returned from imap folder.
5070 * elmo.el (elmo-folder-newsgroups): New generic function.
5072 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5073 (elmo-folder-initialize): Set it.
5074 (elmo-folder-expand-msgdb-path): Use it.
5075 (elmo-folder-newsgroups): Define.
5077 * elmo-filter.el (elmo-folder-newsgroups): Define.
5079 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5081 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5083 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5085 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5087 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5089 (elmo-shimbun-header-extra-field): New inline function.
5090 (elmo-shimbun-header-set-extra-field): Ditto.
5091 (elmo-shimbun-folder-header-hash-setup): Ditto.
5092 (elmo-shimbun-update-overview): Ditto.
5093 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5094 (elmo-shimbun-folder-setup): Use
5095 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5096 (elmo-shimbun-get-headers): Ditto.
5097 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5098 Insert `X-Shimbun-Id:' header if extra field is set.
5099 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5100 field's value instead of `shimbun-header-id'.
5102 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5104 (elmo-msgdb-overview-entity-set-date): Ditto.
5105 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5107 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5109 * mmimap.el (mmimap-entity-section): Changed body node number from
5112 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5114 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5115 `elmo-folder-delete-messages'.
5117 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5118 (elmo-folder-initialize): Changed to expand alias into index path.
5120 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5121 `elmo-mime-insert-header-from-buffer' with 6th arg
5124 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5126 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5128 * elmo.el (elmo-diff-new): New inline function.
5129 (elmo-diff-unread): Ditto.
5130 (elmo-diff-all): Ditto.
5132 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5133 value from responseb.
5134 (elmo-imap4-folder-diff-plugged): Ditto.
5135 (elmo-imap4-server-diff-async): Added recent argument.
5136 (elmo-server-diff-async): Ditto.
5137 (elmo-imap4-folder-diff-plugged): Ditto.
5139 * elmo-version.el (elmo-version): Up to 2.7.6.
5141 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5143 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5146 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5148 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5150 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5152 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5154 * elmo-multi.el (elmo-folder-initialize): Ditto.
5156 * elmo-util.el (elmo-parse-token): New function.
5157 (elmo-parse-prefixed-element): Ditto.
5159 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5161 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5163 (elmo-imap4-accept-ok): Ditto.
5165 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5167 * mmimap.el (mime-imap-entity-header-string): Don't check first
5168 element of node-id is `0' (Follow last change).
5170 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5172 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5173 assigned irregular node-id to nested multipart section.
5174 (initialize-instance): Followed above change.
5176 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5178 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5179 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5180 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5181 `elmo-shimbun-get-headers');
5182 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5183 visible article on summary exists in headers).
5184 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5186 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5188 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5191 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5193 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5195 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5197 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5198 header separator into loop condition.
5200 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5202 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5203 Return duplicate folder if it has subfolder.
5205 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5207 * elmo.el (elmo-make-folder): Add folder name error check.
5209 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5210 (elmo-nntp-encode-group-string): New inline function.
5211 (elmo-nntp-decode-group-string): Ditto.
5212 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5213 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5214 Use `not' instead of `null';
5215 Use elmo-nntp-decode-group-string.
5217 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5219 * elmo-version.el (elmo-version): Up to 2.7.5.
5221 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5223 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5224 Hide progress gauge if `elmo-folder-move-messages' exits
5227 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5229 * elmo-imap4.el (elmo-folder-initialize): Use
5230 `elmo-imap4-encode-folder-string' for folder name.
5232 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5234 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5237 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5239 * elmo-util.el (elmo-progress-counter-alist): New internal
5241 (elmo-progress-counter-value): New macro.
5242 (elmo-progress-counter-all-value): Ditto.
5243 (elmo-progress-counter-format): Ditto.
5244 (elmo-progress-counter-set-value): Ditto.
5245 (elmo-progress-set): New function.
5246 (elmo-progress-clear): Ditto.
5247 (elmo-progress-notify): Ditto.
5249 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5252 * elmo.el (elmo-generic-folder-append-messages): Call
5253 `elmo-progress-notify'.
5254 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5256 * elmo-archive.el (elmo-folder-append-messages): Call
5257 `elmo-progress-notify'.
5259 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5261 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5263 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5265 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5267 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5269 (elmo-message-encache-dop): Added argument `read'.
5271 * elmo-shimbun.el (elmo-message-encache): Ditto.
5273 * elmo-net.el (elmo-message-encache): Ditto.
5275 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5276 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5277 elmo-imap4-seen-messages.
5278 (elmo-folder-msgdb-create-plugged): Initialize
5279 elmo-imap4-seen-messages;
5280 Set seen mark on elmo-imap4-seen-messages.
5282 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5284 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5285 elmo-folder-append-buffer.
5286 (elmo-folder-encache): Added optional argument `read'.
5287 (elmo-message-encache): Ditto.
5289 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5291 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5293 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5294 if append buffer content succeds.
5296 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5298 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5299 elmo-display-progress.
5301 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5302 Set 4th argument of mime-display-message.
5303 (elmo-mime-display-as-is): Ditto.
5305 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5307 * elmo-nmz.el (toplevel): Require 'mime-edit.
5308 (elmo-nmz-content-type-alist): Abolished.
5309 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5310 content is not a message.
5311 (elmo-map-message-fetch): Changed behavior exept for message content;
5312 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5313 content-type, Add From: and Subject: field.
5315 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5317 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5318 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5321 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5323 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5324 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5326 * elmo-archive.el (elmo-folder-writable-p): Defined.
5328 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5330 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5332 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5334 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5336 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5338 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5340 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5342 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5344 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5346 * elmo-util.el (elmo-address-quote-specials): New function;
5347 Renamed from `wl-address-quote-specials'.
5349 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5351 * elmo-version.el (elmo-version): Up to 2.7.4.
5353 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5355 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5357 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5359 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5360 both compile-time and run-time to avoid byte-compile warning.
5362 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5364 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5366 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5368 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5370 (elmo-mime-display-as-is-internal): Use it.
5372 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5373 if `read-passwd' is not defined.
5375 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5377 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5379 (elmo-folder-status): Call `elmo-folder-open-internal';
5380 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5381 (elmo-folder-close-internal): Set location-alist as nil.
5382 (elmo-folder-clear): Define.
5383 (elmo-folder-check): Don't set location-alist as nil.
5385 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5387 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5389 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5390 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5392 * mmimap.el (mime-imap-entity::requested): New slot.
5393 (mime-imap-location-fetch-entity-p): New generic function.
5394 (mime-decode-parameters): Define using `defun-maybe'.
5395 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5396 content-type structure.
5397 (mime-entity-body): Return empty body if
5398 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5400 * elmo.el (elmo-message-displaying): New variable.
5402 * elmo-mime.el (elmo-mime-message-display): Bind
5403 elmo-message-displaying as t.
5405 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5407 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5409 * acap.el (acap-open): erase buffer before starting network process.
5410 (acap-store): Rewrite.
5412 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5414 * elmo-imap4.el (elmo-imap4-default-mailbox,
5415 elmo-imap4-default-server
5416 elmo-imap4-default-authenticate-type,
5417 elmo-imap4-default-user,
5418 elmo-imap4-default-port,
5419 elmo-imap4-default-stream-type,
5420 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5422 * elmo-pop3.el (elmo-pop3-default-user,
5423 elmo-pop3-default-server,
5424 elmo-pop3-default-authenticate-type,
5425 elmo-pop3-default-port,
5426 elmo-pop3-default-stream-type,
5427 elmo-pop3-stream-type-alist): Ditto.
5429 * elmo-nntp.el (elmo-nntp-default-server,
5430 elmo-nntp-default-user,
5431 elmo-nntp-default-port,
5432 elmo-nntp-default-stream-type,
5433 elmo-nntp-stream-type-alist): Ditto.
5435 * elmo-vars.el: Follow changes above.
5436 (elmo-setting): New custom group; added 'elmo-setting group to
5439 * elmo-version.el (elmo-version): Up to 2.7.3.
5441 * acap.el (acap-parse-response): Don't delete process when BYE
5442 response (It causes hang-up on slow network environment).
5443 (toplevel): Added comment.
5445 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5447 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5449 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5451 (acap-parse-return-metadata): Ditto.
5454 (toplevel): Fixed typo.
5456 * acap.el: New file.
5457 (acap-network-stream-open): Show "Connecting..." message.
5458 (acap-parse-response): Fixed problem for BYE untagged response.
5459 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5460 (toplevel): Added tiny comments.
5462 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5464 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5465 space delimiter for uidl response.
5467 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5469 * elmo-vars.el (elmo-use-semi): Eliminated.
5471 * elmo-util.el (elmo-string-assoc-all): New function.
5473 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5475 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5476 property 'mime-preview-situation for `mime-preview-quit'.
5478 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5480 * elmo.el (elmo-message-fetch-with-cache-process): Call
5481 elmo-message-fetch-internal instead of causing an error when fetch
5482 strategy is 'entire but only 'section cache is available.
5484 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5486 * elmo-version.el (elmo-version): Up to 2.7.2.
5488 * elmo.el (elmo-generic-folder-append-messages): Make
5489 fetch-strategy with `use-cache'.
5491 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5492 (elmo-dop-queue-method-name): New macro.
5494 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5496 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5497 unbalanced parenthesis.
5499 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5501 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5503 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5505 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5506 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5508 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5510 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5513 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5515 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5516 (elmo-message-use-cache-p): Define.
5517 (elmo-folder-msgdb-create): Treat cache.
5519 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5521 * elmo-nntp.el (elmo-network-initialize-session): Call
5522 `elmo-nntp-send-mode-reader'.
5523 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5525 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5527 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5529 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5532 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5533 for `elmo-plugged-p'.
5534 (elmo-open-network-stream): Fixed stream-type argument.
5536 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5538 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5539 unknown archive type is specified.
5541 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5543 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5545 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5546 while loading msgdb.
5548 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5549 (elmo-folder-open-internal): Rewrite.
5551 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5553 * elmo-mime.el (elmo-mime-display-as-is-internal):
5554 Adjust buffer-multibyte status.
5556 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5558 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5559 of elmo-condition-find-key.
5561 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5562 (elmo-condition-in-msgdb-p): Ditto.
5563 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5566 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5568 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5570 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5572 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5573 label for elmo-display-progress.
5575 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5577 * elmo.el (elmo-folder-clear): New method.
5578 (elmo-folder-clear): Define.
5579 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5581 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5582 (elmo-folder-clear): Define.
5584 * elmo-map.el (elmo-folder-clear): Define.
5586 * elmo-version.el (elmo-version): Up to 2.7.1.
5588 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5590 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5593 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5595 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5596 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5598 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5600 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5602 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5605 * elmo-imap4.el (elmo-folder-initialize): Use
5606 elmo-get-network-stream-type.
5608 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5610 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5612 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5614 * elmo.el (elmo-message-encache): Set unread argument for
5617 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5619 * elmo.el (elmo-net-port-info): New method.
5621 * elmo-shimbun.el (elmo-net-port-info): Define.
5622 (elmo-message-encache): Ditto.
5624 * elmo-net.el (elmo-net-port-info): Define as method.
5626 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5627 unplugged status when elmo-enable-disconnected-operation is t.
5629 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5630 of spool folder before checking new number.
5632 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5634 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5635 (elmo-network-setup-session): Ditto.
5636 (elmo-message-fetch-plugged): Ditto.
5637 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5638 (elmo-network-initialize-session): Ditto.
5639 (elmo-pop3-read-response): Abolish 3rd argument.
5640 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5641 (elmo-pop3-read-contents): Ditto.
5642 (elmo-pop3-read-body): Ditto.
5643 (elmo-folder-status): Call elmo-folder-close.
5644 (elmo-pop3-lock): Abolish.
5645 (elmo-pop3-unlock): Ditto.
5646 (elmo-pop3-locked-p): Ditto.
5647 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5649 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5651 * elmo-version.el (elmo-version): Up to 2.7.0.
5653 * elmo-pop3.el (elmo-pop3-debug): New variable.
5654 (elmo-pop3-debug-inhibit-logging): Ditto.
5655 (elmo-pop3-debug): New function.
5656 (elmo-pop3-send-command): Call elmo-pop3-debug.
5657 (elmo-pop3-read-response): Added keep-lock optional argument;
5658 Don't unlock if keep-lock is non-nil.
5659 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5660 (elmo-network-authenticate-session): Bind
5661 elmo-pop3-debug-inhibit-logging as t.
5662 (elmo-network-setup-session): Call elmo-pop3-read-response with
5664 (elmo-pop3-read-msg): Ditto.
5665 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5666 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5667 (elmo-network-initialize-session): Call elmo-pop3-lock.
5668 (elmo-folder-close-internal): Don't clear location-alist slot.
5669 (elmo-folder-check): Clear location-alist slot.
5671 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5673 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5674 (elmo-pop3-send-command): Call elmo-pop3-lock.
5675 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5676 (elmo-pop3-read-contents): Ditto.
5677 (elmo-pop3-lock): New function.
5678 (elmo-pop3-unlock): Ditto.
5679 (elmo-pop3-locked-p): Ditto.
5680 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5683 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5685 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5687 * elmo-util.el (elmo-file-field-primitive-condition-match):
5688 New inline function (Don't fetch file content if "first" or "last").
5689 (elmo-file-field-condition-match): Use
5690 elmo-file-field-primitive-condition-match.
5692 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5695 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5696 (elmo-message-fetch-plugged): Fixed.
5698 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5700 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5702 * elmo.el (elmo-folder-move-messages): Bind
5703 elmo-inhibit-display-retrieval-progress as t while moving messages.
5705 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5707 (elmo-inhibit-display-retrieval-progress): Ditto.
5709 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5710 for retrieval progress;
5711 Don't display progress when total buffer size is smaller than
5712 elmo-display-retrieval-progress-threshold.
5713 (elmo-message-fetch-plugged): Don't display progress when
5714 elmo-inhibit-display-retrieval-progress is non-nil.
5716 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5717 for retrieval progress;
5718 Don't display progress when literal size is smaller than
5719 elmo-display-retrieval-progress-threshold.
5720 (elmo-imap4-message-fetch): Don't display progress when
5721 elmo-inhibit-display-retrieval-progress is non-nil.
5723 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5725 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5726 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5727 (elmo-imap4-message-fetch): Likewise.
5729 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5730 (elmo-shimbun-index-range-alist): Ditto.
5731 (elmo-shimbun-use-entire-index): Abolish.
5732 (shimbun-mua-use-entire-index): Ditto.
5733 (elmo-shimbun-folder): Added new slot `range'.
5734 (elmo-folder-initialize): Setup slot `range'.
5736 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5738 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5739 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5740 (elmo-shimbun-get-headers): Use return value of
5741 `shimbun-article-expiration-days'.
5742 (elmo-folder-close-internal): Clean up last-check slot.
5744 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5745 (elmo-pop3-total-size): New variable.
5746 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5748 * elmo.el (elmo-folder-reserve-status-p): New method.
5750 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5751 (elmo-shimbun-use-entire-index): New user option.
5752 (shimbun-elmo-mua): New class.
5753 (shimbun-mua-search-id): Define.
5754 (shimbun-mua-use-entire-index): Ditto.
5755 (elmo-shimbun-folder:last-check): New slot.
5756 (elmo-shimbun-headers-cache-header-list): Abolish.
5757 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5758 (elmo-shimbun-headers-cache-header-hash): Ditto.
5759 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5760 (elmo-shimbun-headers-cache-last-check): Ditto.
5761 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5762 (elmo-shimbun-headers-check-p): Rewrite.
5763 (elmo-shimbun-msgdb-to-headers): New function.
5764 (elmo-shimbun-get-headers): Rewrite.
5765 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5766 (elmo-folder-open-internal): Get headers only if
5767 `elmo-shimbun-headers-check-p' is non-nil.
5768 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5770 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5771 (elmo-quit): Removed.
5773 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5775 (elmo-msgdb-overview-entity-set-extra): Ditto.
5776 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5778 * elmo-map.el (elmo-folder-status): Don't call
5779 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5782 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5784 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5785 of `elmo-msgdb-search-internal-primitive' when condition's car is
5788 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5790 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5792 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5794 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5795 call `elmo-pipe-drain'.
5797 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5799 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5800 typo. (elmo-cache-folder -> elmo-mark-folder)
5802 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5804 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5805 `elmo-message-fetch'.
5807 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5809 * elmo-net.el (elmo-message-encache): Fixed typo.
5810 (elmo-message-fetch-unplugged): Changed call
5811 `elmo-message-fetch-internal' without argument `outbuf'.
5813 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5815 * elmo.el (elmo-message-encache): Define as generic function.
5816 (elmo-message-fetch-field): New generic function.
5817 (elmo-message-fetch-with-cache-process): Cause an error when
5818 fetch strategy is 'entire but only 'section cache is available.
5819 (toplevel): Fixed nmz folder definition.
5821 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5822 (elmo-msgdb-resume-list-filename): Ditto.
5823 (elmo-queue-filename): Ditto.
5824 (elmo-enable-disconnected-operation): Changed default value to t.
5826 * elmo-util.el (elmo-cache-path-section-p): New function.
5827 (elmo-file-cache-get): Use it.
5828 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5829 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5830 (elmo-dop-queue-save): Ditto.
5832 * elmo-net.el (elmo-folder-status-unplugged): Call
5833 elmo-folder-status-dop.
5834 (elmo-folder-list-messages-unplugged): Implemented.
5835 (elmo-folder-delete-messages-unplugged): Define.
5836 (elmo-folder-msgdb-create): Define.
5837 (elmo-folder-msgdb-create-unplugged): Define.
5838 (elmo-folder-mark-as-read-unplugged): Ditto.
5839 (elmo-folder-unmark-read-unplugged): Ditto.
5840 (elmo-folder-mark-as-important-unplugged): Ditto.
5841 (elmo-folder-unmark-important-unplugged): Ditto.
5842 (elmo-message-encache): Ditto.
5844 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5845 (elmo-dop-queue-save): Ditto.
5847 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5848 `elmo-folder-msgdb-create'.
5849 (elmo-folder-append-buffer): Implemented unplugged operation.
5850 (elmo-folder-append-messages): Call parent method in unplugged status.
5851 (elmo-message-fetch-unplugged): Removed definition.
5852 (elmo-message-fetch-field): Implemented.
5854 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5855 (elmo-dop-folder): Removed variable definition.
5856 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5857 (elmo-dop-queue-flush): Implemented.
5858 (elmo-dop-queue-merge): Removed definition (TODO).
5859 (elmo-dop-spool-folder): New function.
5860 (elmo-dop-spool-folder-append-buffer): Ditto.
5861 (elmo-dop-spool-folder-list-messages): Ditto.
5862 (elmo-dop-list-deleting-messages): Ditto.
5863 (elmo-folder-append-buffer-dop): Ditto.
5864 (elmo-folder-delete-messages-dop): Ditto.
5865 (elmo-message-encache-dop): New inline function.
5866 (elmo-create-folder-dop): Ditto.
5867 (elmo-folder-mark-as-read-dop): Ditto.
5868 (elmo-folder-unmark-read-dop): Ditto.
5869 (elmo-folder-mark-as-important-dop): Ditto.
5870 (elmo-folder-unmark-important-dop): Ditto.
5871 (elmo-folder-status-dop): Fixed.
5872 (elmo-folder-append-buffer-dop-delayed): New function.
5873 (elmo-folder-delete-messages-dop-delayed): Ditto.
5874 (elmo-dop-msgdb): Ditto.
5876 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5878 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5880 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5882 * elmo.el (elmo-folder-move-messages): Fixed problem when
5883 `dst-folder' is 'null.
5885 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5887 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5888 instead of current mark.
5890 * elmo-multi.el (elmo-folder-list-importants-internal): No
5891 operation if importants is not list.
5893 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5894 Return t if importants is not list.
5896 * elmo-map.el (elmo-map-folder-list-importants): Define.
5897 (elmo-folder-list-importants-internal): Check return value of
5898 `elmo-map-folder-list-importants-internal'.
5900 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5902 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5904 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5906 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5908 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5910 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5911 (Patch is provided by <kita@coe.nttdata.co.jp>).
5913 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5915 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5918 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5920 * elmo.el (elmo-message-fetch): Define.
5921 (elmo-message-fetch-with-cache-process): New generic method.
5922 (elmo-message-fetch-internal): New generic method.
5923 (elmo-folder-synchronize):
5925 * elmo-archive.el (elmo-message-fetch-internal): Define.
5926 (elmo-message-fetch): Eliminated.
5928 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5929 (elmo-message-fetch): Eliminated.
5931 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5933 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5935 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5936 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5938 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5939 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5941 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5943 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5945 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5947 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5948 (elmo-message-fetch-unplugged): New generic method.
5949 (elmo-message-fetch-internal): Remove cache process (Renamed from
5950 `elmo-message-fetch').
5952 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5953 (elmo-message-fetch): Eliminated.
5954 (elmo-message-fetch-unplugged): Ditto.
5956 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5958 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5960 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5961 of `to-be-deleted' from number-alist to number-list.
5963 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5965 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5966 (elmo-folder-mark-as-important): Ditto.
5968 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5970 * elmo.el (elmo-folder): Added process-duplicates slot.
5972 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5973 (elmo-folder-unmark-read): Ditto.
5974 (elmo-folder-unmark-important): Ditto.
5975 (elmo-folder-mark-as-important): Ditto.
5977 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5978 duplicated message processing.
5980 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5982 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5984 * elmo-util.el (elmo-list-subdirectories-1): New function.
5985 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5986 (elmo-mapcar-list-of-list): New function.
5988 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5989 `elmo-mapcar-list-of-list' instead of `mapcar'.
5991 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5993 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5994 `elmo-have-link-count'. Return the fully qualified folder name.
5996 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5998 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5999 (elmo-shimbun-headers-cache): New internal variable.
6000 (elmo-shimbun-headers-cache-header-list): New inline function.
6001 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6002 (elmo-shimbun-headers-cache-header-hash): Ditto.
6003 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6004 (elmo-shimbun-headers-cache-last-check): Ditto.
6005 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6006 (elmo-shimbun-lapse-seconds): Ditto.
6007 (elmo-shimbun-headers-cache-check-p): Ditto.
6008 (elmo-shimbun-get-headers): New function.
6009 (elmo-folder-open-internal): Call it.
6010 (elmo-quit): Define (Clear headers-cache).
6012 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6014 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6016 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6017 (elmo-msgdb-flist-save): Ditto.
6019 * elmo-shimbun.el (elmo-folder-list-subfolders):
6020 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6021 (elmo-folder-exists-p): Ditto.
6023 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6024 argument for `shimbun-header-insert'.
6026 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6028 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6031 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6032 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6034 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6036 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6037 (elmo-folder-plugged-p): Define.
6038 (elmo-folder-set-plugged): Ditto.
6039 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6040 (elmo-folder-list-messages-internal): Return t if unplugged.
6041 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6043 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6044 when elmo-folder-list-messages-internal method of children returns t.
6046 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6048 (elmo-folder-open-internal): Don't update if unplugged status.
6050 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6052 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6055 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6057 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6059 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6062 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6064 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6066 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6067 (elmo-folder-open-internal): Set up headers slot.
6068 (elmo-folder-check): Call elmo-folder-close-internal and
6069 elmo-folder-open-internal.
6070 (elmo-folder-close-internal): Clean up headers slot.
6072 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6074 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6075 exactly folder list.
6076 (elmo-folder-append-messages): Fixed append archive with prefix.
6078 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6079 make temp files with start-number.
6081 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6083 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6085 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6086 argument `visible-only'.
6087 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6090 * elmo-pop3.el (elmo-folder-open-internal): Check
6091 `elmo-inhibit-number-mapping' is non-nil.
6093 * elmo-pipe.el (elmo-folder-status): Fixed.
6095 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6097 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6099 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6100 (elmo-folder-open-internal): Setup `header-hash' slot.
6101 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6103 (elmo-map-message-fetch): Ditto.
6105 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6107 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6108 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6109 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6110 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6112 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6114 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6116 * sb-airs.el: Added footer.
6118 * shimbun.el (shimbun-article): Define as luna-method.
6120 * sb-tcup.el: New file.
6122 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6123 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6125 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6127 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6128 (shimbun-get-headers): Ditto.
6130 * elmo.el: Moved obsolete variable definitions from
6131 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6133 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6136 * shimbun.el: New file.
6138 * elmo-shimbun.el: New file.
6140 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6141 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6142 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6143 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6145 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6147 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6150 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6152 * elmo.el (elmo-folder-msgdb): Define as macro.
6153 (elmo-folder-open): Added argument `load-msgdb'.
6154 (elmo-generic-folder-open): Ditto.
6155 (elmo-folder-encache): New function.
6157 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6159 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6161 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6162 Eliminated argument FOLDER and added argument MSGDB.
6163 (elmo-dop-queue-load): Moved from elmo-dop.el.
6164 (elmo-dop-queue-save): Ditto.
6166 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6168 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6170 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6171 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6172 (elmo-filter-folder-list-importants-internal): Ditto.
6174 * elmo-map.el (elmo-folder-pack-number): Ditto.
6176 * elmo-mime.el (elmo-mime-message-display): Ditto.
6178 * elmo.el (elmo-generic-folder-commit): Ditto.
6179 (elmo-folder-list-unreads): Ditto.
6180 (elmo-folder-list-importants): Ditto.
6181 (elmo-generic-folder-commit): Ditto.
6182 (elmo-message-set-mark): Ditto.
6183 (elmo-generic-folder-append-msgdb): Ditto.
6184 (elmo-folder-synchronize): Ditto.
6185 (elmo-folder-messages): Ditto.
6186 (elmo-init): Call elmo-dop-queue-load.
6187 (elmo-folder-list-messages): Ditto.
6189 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6190 (elmo-nntp-folder-process-crosspost): Ditto.
6191 (elmo-folder-list-unreads-internal): Ditto.
6193 * elmo-dop.el: Removed old functions.
6195 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6197 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6198 `folder' to `msgdb'.
6200 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6202 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6203 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6205 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6208 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6210 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6213 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6214 (mmimap-parse-parameters-from-list): Define as alias for
6215 `mime-decode-parameter-plist' if it is defined as function.
6216 (mmimap-make-mime-entity): Added argument `number'.
6217 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6219 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6221 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6223 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6225 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6227 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6229 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6231 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6232 when elmo-imap4-default-authenticate-type is nil.
6233 (elmo-folder-list-subfolders): Ditto
6234 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6235 (elmo-imap4-fetch-callback-1-subr): Renamed from
6236 `elmo-imap4-fetch-callback-1' and define as inline function.
6237 (elmo-imap4-fetch-callback-1):
6238 Renamed from `elmo-imap4-fetch-callback'.
6239 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6241 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6242 msgdb path (To keep compatibility with main trunk).
6244 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6246 * elmo-util.el (elmo-make-file-cache): Moved position of
6249 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6250 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6251 instead of `elmo-pop3-inhibit-uidl'.
6252 (elmo-folder-exists-p): Ditto.
6253 (elmo-pop3-folder-list-messages): Ditto.
6255 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6256 instead of `elmo-pop3-inhibit-uidl'.
6257 (elmo-folder-status): Ditto.
6259 * elmo-dop.el (elmo-dop-folder): New variable.
6260 (elmo-dop-lock-message): Eliminated.
6261 (elmo-dop-unlock-message): Ditto.
6262 (elmo-dop-lock-list-load): Ditto.
6263 (elmo-dop-lock-list-save): Ditto.
6264 (elmo-dop-delete-folder): Ditto.
6265 (elmo-dop-rename-folder): Ditto.
6267 * elmo.el: Removed incomplete commentary.
6269 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6271 * elmo.el (toplevel): Require 'elmo-version first;
6272 for little `recursive-load-depth' settings.
6273 Fix "ends here" comment.
6275 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6277 * elmo-util.el (toplevel): Require 'poem;
6278 Some functions are moved from elmo-cache.el.
6280 * elmo-net.el (toplevel): Require 'elmo-cache.
6282 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6284 * elmo.el (toplevel): Ditto.
6286 * elmo-cache.el: Rewrite with luna;
6287 Some functions are moved to elmo-util.el.
6289 * elmo-internal.el (elmo-internal-folder-list): New variable.
6290 (elmo-internal-folder-initialize): Rewrite.
6291 (elmo-folder-list-subfolders): Ditto.
6293 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6294 (elmo-cache-collect-sub-directories): Ditto.
6296 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6298 * elmo-version.el (elmo-version): Up to 2.5.8.
6300 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6302 * elmo-util.el (elmo-list-insert): New function.
6304 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6306 * elmo.el (elmo-init): New function.
6307 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6309 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6310 (Renamed from `elmo-localdir-header-chop-length').
6312 * elmo-pop3.el (elmo-pop3-use-cache,
6313 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6315 * elmo-nntp.el (elmo-message-fetch): Define.
6316 (elmo-message-fetch-unplugged): Ditto.
6317 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6318 (elmo-nntp-use-cache): Ditto.
6319 (elmo-nntp-max-number-precedes-list-active): Ditto.
6321 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6323 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6324 `elmo-msgdb-insert-file-header'.
6325 Use `elmo-msgdb-file-header-chop-length'.
6327 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6330 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6331 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6332 `elmo-msgdb-insert-file-header'.
6334 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6336 Define obsolete variables with `elmo-define-obsolete-variable',
6338 * elmo-util.el (elmo-warning-buffer-name): New constant.
6339 (elmo-warning): New function.
6340 (elmo-obsolete-variable-alist): New variable.
6341 (elmo-obsolete-variable-show-warnings): New variable.
6342 (elmo-define-obsolete-variable): New function.
6343 (elmo-resque-obsolete-variable): Ditto.
6344 (elmo-resque-obsolete-variables): Ditto.
6346 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6348 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6351 * elmo-pop3.el, elmo-nntp.el: Use custom.
6353 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6355 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6356 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6358 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6360 * Luna-fy Kenichi OKADA's following changes.
6361 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6363 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6365 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6367 * elmo-util.el (elmo-display-progress): Prefer
6368 `progress-feedback-with-label' to `lprogress-display'.
6370 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6372 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6374 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6376 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6377 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6378 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6379 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6380 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6381 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6382 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6383 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6384 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6385 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6386 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6387 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6388 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6390 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6392 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6393 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6395 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6397 * elmo.el (elmo-folder-process-crosspost): New generic method.
6398 (elmo-folder-writable-p): Ditto.
6399 (elmo-folder-message-appendable-p): Eliminated.
6400 (elmo-generic-folder-append-msgdb): Rewrite.
6401 (elmo-newsgroups-hashtb): New internal variable.
6402 (elmo-crosspost-message-set): Eliminated.
6403 (elmo-crosspost-message-delete): Ditto.
6404 (elmo-setup-subscribed-newsgroups): New function.
6405 (elmo-crosspost-message-alist-modified): New internal variable.
6406 (elmo-crosspost-message-alist-load): New function (Renamed from
6407 `wl-crosspost-alist-load').
6408 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6409 `wl-crosspost-alist-save').
6411 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6413 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6415 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6416 elmo-newsgroups-hashtb).
6417 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6418 `elmo-nntp-folder-update-crosspost-message-alist'.
6419 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6420 `elmo-nntp-groups-hashtb'.
6421 (elmo-nntp-make-groups-hashtb): Eliminated.
6422 (elmo-nntp-parse-newsgroups): New function (Renamed from
6423 `wl-parse-newsgroups').
6424 (elmo-folder-creatable-p, elmo-folder-writable-p,
6425 elmo-folder-close-internal, elmo-folder-mark-as-read,
6426 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6428 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6430 * elmo-net.el (elmo-message-fetch): Check buffer size.
6432 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6434 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6436 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6437 before `close' command.
6439 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6440 `mark-alist' (All other related portions are changed).
6442 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6444 * elmo-util.el (elmo-create-hash-size): Eliminated.
6445 (elmo-make-hash) Make a hash with `one less than a power of two'
6448 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6449 (elmo-hash-maximum-size): Changed value.
6451 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6453 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6454 (elmo-mime-message-display-as-is): Ditto.
6456 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6458 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6459 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6461 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6463 * elmo-mark.el: New file.
6465 * elmo-internal.el: Rewrite (Almost empty).
6467 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6469 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6470 (mime-imap-entity-header-string): Ditto.
6471 (mmimap-entity-section): Rewrite.
6473 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6475 * elmo-nmz.el: New file.
6477 * elmo-pipe.el: Rewrite with luna.
6479 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6481 * elmo-archive.el: Rewrite with luna.
6483 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6484 (elmo-folder-list-importants-internal): Ditto.
6486 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6488 * elmo-archive.el (elmo-archive-version): Abolish.
6489 (toplevel) Removed `boso' comment.
6491 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6493 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6494 elmo-msgdb-add-msgs-to-seen-list-subr;
6495 Changed argument seen-marks to unread-marks.
6497 * elmo-nntp.el: Rewrite with luna.
6499 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6501 * elmo-filter.el: Rewrite with luna.
6503 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6505 * elmo-pop3.el: Rewrite with luna.
6507 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6509 * elmo-multi.el: Rewrite with luna.
6511 * elmo-vars.el (elmo-use-killed-list): Abolish.
6512 All other related portions are changed.
6513 (elmo-filename-replace-string-alist): Renamed from
6514 elmo-msgid-replace-string-alist.
6516 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6518 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6520 * elmo-map.el: New file.
6521 * elmo-maildir.el: Rewrite with luna.
6523 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6525 * elmo.el: Changed meaning of `elmo-folder-commit'.
6526 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6528 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6530 * elmo.el (elmo-folder-append-buffer): New function.
6531 (Renamed from `elmo-append-msg')
6533 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6535 * elmo-mime.el: New file.
6537 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6539 * elmo-cache.el: Rewrite.
6541 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6543 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6545 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6547 * elmo-vars.el (elmo): New group.
6548 (elmo-strict-diff-folder-regexp): New variable.
6550 * elmo-util.el (elmo-call-func): Abolish.
6551 (elmo-folder-get-type): Ditto.
6552 (elmo-*-get-spec): Ditto.
6553 (elmo-*-spec-*): Ditto.
6554 (elmo-imap4-identical-name-space-p): Ditto.
6555 (elmo-folder-identical-system-p): Ditto.
6556 (elmo-folder-direct-copy-alist): Ditto.
6557 (elmo-folder-direct-copy-p): Ditto.
6559 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6560 (elmo-folder-initialize): Define.
6561 (elmo-folder-get-primitive-list): Ditto.
6563 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6564 (elmo-folder-initialize): Define.
6565 Renamed `elmo-network-session-host-internal' to
6566 `elmo-network-session-server-internal'.
6568 * elmo-multi.el (elmo-multi-folder): New luna class.
6569 (elmo-folder-initialize): Define.
6570 (elmo-folder-get-primitive-list): Ditto.
6571 (elmo-folder-contains-type): Ditto.
6572 (elmo-message-use-cache-p): Ditto.
6574 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6575 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6577 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6578 (elmo-folder-initialize): Define.
6580 * elmo-filter.el (elmo-filter-folder): New luna class.
6581 (elmo-folder-initialize): Define.
6582 (elmo-folder-get-primitive-list): Ditto.
6583 (elmo-folder-contains-type): Ditto.
6585 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6587 * elmo-imap4.el: Rewrite with luna.
6589 * mmimap.el: New file.
6591 * mmelmo.el, mmelmo-imap4.el: Removed.
6593 * elmo-net.el: Ditto.
6595 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6596 (elmo-folder-initialize): Define.
6598 * elmo-archive.el (elmo-archive-folder): New luna class.
6599 (elmo-folder-initialize): Define.
6601 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6602 `elmo-folder-msgdb-path'.
6603 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6606 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6608 * elmo.el: New file.
6610 * elmo2.el: Renamed to elmo.el.
6613 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6615 * elmo-cache.el (elmo-cache-expire-by-size): Count
6616 a disk usage for a cache file entry in KB even when
6617 its kind is a directory.
6619 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6621 * elmo-version.el (elmo-version): Up to 2.5.7.
6623 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6625 * elmo-version.el (elmo-version): Up to 2.5.6.
6627 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6629 * elmo-version.el (elmo-version): Up to 2.5.5.
6631 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6633 * elmo-imap4.el (elmo-network-authenticate-session):
6634 Fixed a logic for response checking.
6636 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6638 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6639 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6640 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6643 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6644 for `starttls-open-stream' and `starttls-negotiate'.
6646 * elmo-nntp.el: Remove autoload settings for
6647 `starttls-open-stream' and `starttls-negotiate'.
6649 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6650 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6651 `luna-define-class' with `eval-and-compile'.
6653 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6655 * elmo-util.el (elmo-read-search-condition-internal):
6656 Require an element of table for searching field.
6658 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6660 * elmo-version.el (elmo-version): Up to 2.5.4.
6662 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6664 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6666 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6668 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6670 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6672 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6675 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6677 * elmo-imap4.el (elmo-imap4-delete-folder):
6678 Send "close" before "delete" (Use commented out line).
6679 (elmo-imap4-rename-folder): Ditto.
6681 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6682 folder string itself.
6683 (elmo-dop-list-deleted): New function.
6684 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6687 * elmo-util.el (elmo-string-rassoc-all): New function.
6689 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6691 * elmo-version.el (elmo-version): Up to 2.5.3.
6693 * elmo-net.el (elmo-network-get-session): Changed logic for
6694 checking process status.
6696 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6698 Changed logic for checking process status.
6700 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6702 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6704 (elmo-network-setup-session): Set UIDL hash size according to
6705 the length of list response.
6706 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6707 according to the length of list response;
6708 Return the length of list response.
6709 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6711 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6713 * elmo-imap4.el (toplevel): Require 'ssl.
6714 Add autoload 'starttls.
6715 * elmo-pop3.el (toplevel): Ditto.
6716 * elmo-nntp.el (toplevel): Ditto.
6718 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6720 * elmo-imap4.el (toplevel): defun at compile time.
6721 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6722 sasl-next-step, sasl-step-data, sasl-step-set-data.
6723 * elmo-pop3.el (toplevel): Ditto.
6725 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6727 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6729 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6731 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6733 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6734 and `elmo-pop-auth-apop'.
6736 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6738 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6740 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6742 * elmo-pop3.el (elmo-network-authenticate-session): Split
6743 encoded response value.
6745 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6747 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6748 `elmo-pop3-force-login'.
6749 Redefine `sasl-mechanisms'.
6750 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6752 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6754 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6755 Delete `elmo-imap4-authenticator-alist'.
6756 (elmo-imap4-auth-cram-md5): Delete.
6757 (elmo-imap4-auth-digest-md5): Delete.
6759 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6761 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6762 (elmo-pop3-auth-scram-md5): Ditto.
6763 (elmo-pop3-auth-cram-md5): Ditto.
6765 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6767 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6768 Delete `elmo-pop3-authenticator-alist'.
6770 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6772 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6774 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6776 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6778 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6780 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6782 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6783 Fixed problem when `elmo-pop3-use-uidl' is nil.
6784 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6786 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6788 * elmo-version.el (elmo-version): Up to 2.5.2.
6790 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6792 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6794 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6795 (elmo-pop3-msgdb-create-as-numlist): Use it.
6797 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6798 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6800 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6801 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6803 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6805 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6806 when elmo-mark-as-read is called with second argument nil.
6808 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6810 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6811 Moved to elmo-util.el.
6813 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6814 Moved from elmo-pipe.el
6816 * elmo-archive.el (elmo-archive-call-process): Enclose with
6819 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6820 "RFC822" (because RFC822.PEEK is obsolete).
6821 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6823 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6825 * elmo-archive.el (elmo-archive-call-process): Don't check for
6826 the exit status when Nemacs is running.
6828 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6830 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6833 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6834 (elmo-pop3-get-spec): Set default of auth to 'user.
6836 * elmo-imap4.el (elmo-imap4-session-check):
6837 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6838 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6839 (elmo-imap4-auth-login): New function; Revival.
6840 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6841 `elmo-imap4-auth-login'.
6843 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6845 * elmo2.el (toplevel): Move `product-provide' declare.
6846 * mmelmo.el (toplevel): Ditto.
6848 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6850 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6852 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6854 * elmo-util.el (elmo-folder-get-store-type): New function.
6855 (elmo-folder-direct-copy-p): Use it.
6857 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6859 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6860 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6861 and result of `elmo-imap4-use-flag-p'.
6862 (elmo-imap4-fetch-callback-1): Set mark according to
6863 the result of `elmo-imap4-use-flag-p'.
6865 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6867 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6868 (elmo-generic-list-folder-unread): Ditto.
6869 (elmo-folder-get-info): Ditto.
6870 (elmo-folder-set-info-max-by-numdb): Ditto.
6871 (elmo-folder-get-info-max): Ditto.
6872 (elmo-folder-get-info-length): Ditto.
6873 (elmo-folder-get-info-unread): Ditto.
6874 (elmo-folder-info-make-hashtb): Ditto.
6876 * elmo2.el: Removed above functions.
6878 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6880 * elmo-imap4.el (toplevel): Require 'ssl.
6881 Add autoload 'starttls.
6882 * elmo-pop3.el (toplevel): Ditto.
6883 * elmo-nntp.el (toplevel): Ditto.
6885 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6887 * elmo-imap4.el (toplevel): defun at compile time.
6888 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6889 sasl-next-step, sasl-step-data, sasl-step-set-data.
6890 * elmo-pop3.el (toplevel): Ditto.
6892 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6894 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6896 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6898 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6900 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6901 and `elmo-pop-auth-apop'.
6903 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6905 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6907 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6909 * elmo-pop3.el (elmo-network-authenticate-session): Split
6910 encoded response value.
6912 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6914 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6915 `elmo-pop3-force-login'.
6916 Redefine `sasl-mechanisms'.
6917 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6919 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6921 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6922 Delete `elmo-imap4-authenticator-alist'.
6923 (elmo-imap4-auth-cram-md5): Delete.
6924 (elmo-imap4-auth-digest-md5): Delete.
6926 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6928 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6929 (elmo-pop3-auth-scram-md5): Ditto.
6930 (elmo-pop3-auth-cram-md5): Ditto.
6932 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6934 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6935 Delete `elmo-pop3-authenticator-alist'.
6937 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6939 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6941 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6944 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6946 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6948 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6950 * elmo-nntp.el (elmo-nntp-get-folders-info):
6951 Fixed problem when '\' character is contained in user-id.
6952 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6955 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6957 * elmo-imap4.el (elmo-imap4-delete-folder):
6958 Send "close" before "delete" (Use commented out line).
6959 (elmo-imap4-rename-folder): Ditto.
6961 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6962 folder string itself.
6963 (elmo-dop-list-deleted): New function.
6964 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6967 * elmo-util.el (elmo-string-rassoc-all): New function.
6969 * elmo-version.el (elmo-version): Up to 2.5.1.
6971 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6973 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6975 * elmo-internal.el (elmo-internal-search): Fix last change.
6977 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6979 * elmo-internal.el (elmo-internal-search): Rewrite.
6980 (Fixed problem which is pointed out by Akihiro MOTOKI
6981 <motoki@da.jp.nec.com>)
6983 * elmo-version.el (elmo-version): Up to 2.5.0.
6985 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6987 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6989 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6991 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6992 non-nil, make hierarchy.
6994 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6996 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6997 `elmo-pop3-use-uidl' must be bound to nil.
6998 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7000 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7002 * elmo-util.el (elmo-copy-file): Don't cause an error after
7003 `add-name-to-file' failed.
7005 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7006 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7008 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7010 * elmo-version.el (elmo-version): Up to 2.3.93.
7012 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7014 * elmo-util.el (elmo-flatten): New function.
7016 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7018 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7020 * elmo-cache.el (toplevel): Ditto.
7021 * elmo-database.el (toplevel): Ditto.
7022 * elmo-date.el (toplevel): Ditto.
7023 * elmo-dop.el (toplevel): Ditto.
7024 * elmo-filter.el (toplevel): Ditto.
7025 * elmo-imap4.el (toplevel): Ditto.
7026 * elmo-internal.el (toplevel): Ditto.
7027 * elmo-localdir.el (toplevel): Ditto.
7028 * elmo-localnews.el (toplevel): Ditto.
7029 * elmo-maildir.el (toplevel): Ditto.
7030 * elmo-msgdb.el (toplevel): Ditto.
7031 * elmo-multi.el (toplevel): Ditto.
7032 * elmo-net.el (toplevel): Ditto.
7033 * elmo-nntp.el (toplevel): Ditto.
7034 * elmo-pipe.el (toplevel): Ditto.
7035 * elmo-pop3.el (toplevel): Ditto.
7036 * elmo-util.el (toplevel): Ditto.
7037 * elmo-vars.el (toplevel): Ditto.
7038 * elmo2.el (toplevel): Ditto.
7039 * mmelmo-imap4.el (toplevel): Ditto.
7040 * mmelmo.el (toplevel): Ditto.
7042 * elmo-version.el (elmo-version): Move to top.
7044 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7045 * elmo-imap4.el (toplevel): Ditto.
7046 * elmo-localdir.el (toplevel): Ditto.
7047 * elmo-msgdb.el (toplevel): Ditto.
7048 * elmo-nntp.el (toplevel): Ditto.
7049 * elmo-pop3.el (toplevel): Ditto.
7050 * elmo-version.el (toplevel): Ditto.
7052 * elmo-localnews.el (toplevel): Added Keyword header.
7054 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7056 * elmo-version.el (product-version-as-string): Defined using
7060 * elmo-localdir.el (toplevel): Updated copyright notice.
7061 * elmo-version.el (toplevel): Ditto.
7062 * elmo-msgdb.el (toplevel): Ditto.
7063 * elmo-imap4.el (toplevel): Ditto.
7064 * elmo-nntp.el (toplevel): Ditto.
7065 * elmo-pop3.el (toplevel): Ditto.
7067 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7069 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7072 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7073 parameter value (It sometimes contains raw kanji).
7075 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7077 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7078 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7080 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7082 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7084 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7086 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7087 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7089 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7091 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7092 value if selecting folder succceeded.
7093 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7095 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7097 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7100 * elmo-util.el (elmo-string-matched-member): New function.
7102 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7104 * elmo-util.el (elmo-unintern): New macro.
7105 (elmo-number-set-member): Fixed docstring.
7107 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7110 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7112 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7113 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7115 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7117 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7120 Return non-nil if selecting folder succeeded.
7121 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7123 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7125 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7126 `file-name-completion' returns t.
7127 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7128 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7129 directory if it does not exist.
7130 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7133 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7135 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7136 enclosure (It's harmful in unplugged status).
7138 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7140 * mmelmo-1.el: Removed.
7142 * mmelmo-2.el: Ditto.
7144 * mmelmo-imap4-1.el: Ditto.
7146 * mmelmo-imap4-2.el: Ditto.
7148 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7150 * mmelmo.el: Merged mmelmo-2.el.
7152 * elmo-version.el (elmo-version): Up to 2.3.92.
7154 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7156 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7157 elmo-update-number): Remove last period in "...done." message.
7158 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7160 * elmo-cache.el (elmo-cache-expire-by-size,
7161 elmo-cache-get-sorted-cache-file-list,
7162 elmo-cache-msgdb-create-as-numlist): Ditto.
7163 * elmo-dop.el (elmo-dop-save-pending-messages,
7164 (elmo-dop-flush-pending-append-operations): Ditto.
7165 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7166 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7167 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7168 (elmo-localdir-pack-number): Ditto.
7169 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7170 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7171 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7172 mime-write-entity-content): Ditto.
7173 * pldap.el (ldap-search-basic): Ditto.
7175 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7177 * elmo-version.el (elmo-version): Up to 2.3.91.
7179 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7180 Only when filter is 'last'.
7182 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7183 (elmo-condition-parse-search-value): Use it.
7184 (elmo-read-search-condition-internal): Quote value only when
7187 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7189 * elmo2.el (elmo-generic-folder-diff): Fix.
7191 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7193 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7194 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7195 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7196 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7197 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7198 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7200 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7202 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7205 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7207 * elmo-version.el (elmo-version): Up to 2.3.90.
7209 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7210 (elmo-imap4-list-folder-important): Ditto.
7212 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7214 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7216 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7218 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7220 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7222 * elmo-nntp.el (elmo-network-initialize-session):
7223 Add starttls negotiation.
7225 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7227 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7229 (elmo-network-setup-session): Define.
7230 Call `elmo-nntp-send-mode-reader' when session opened.
7232 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7234 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7236 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7238 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7239 an invalid SPACE character ahead of `SEARCH' command. Move
7240 a valid SPACE character following `SEARCH' from conditional
7241 `format' arguments to control-strings.
7243 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7245 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7248 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7250 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7252 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7253 `w32-get-true-file-link-count' as t.
7255 * elmo-imap4.el (elmo-imap4-read): Abolished.
7256 (Renamed to `elmo-read' and moved to elmo-util.el)
7257 All other related portions are changed.
7259 * elmo-util.el (elmo-read): New function.
7260 (elmo-condition-parse-search-value): Use it.
7262 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7264 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7266 * elmo-nntp.el (elmo-nntp-session): Define.
7267 (elmo-nntp-setting): Abolished.
7268 All other related portions are changed.
7269 (elmo-nntp-get-server-command): Changed argument.
7270 (elmo-nntp-set-server-command): Ditto.
7271 (elmo-nntp-xover-p): Ditto.
7272 (elmo-nntp-set-xover): Ditto.
7273 (elmo-nntp-listgroup-p): Ditto.
7274 (elmo-nntp-set-listgroup): Ditto.
7275 (elmo-nntp-list-active-p): Ditto.
7276 (elmo-nntp-set-list-active): Ditto.
7277 (elmo-nntp-xhdr-p): Ditto.
7278 (elmo-nntp-set-xhdr): Ditto.
7279 (elmo-nntp-flush-connection): Abolished.
7280 (elmo-nntp-get-connection): Abolished.
7281 (elmo-nntp-get-session): New function.
7282 (elmo-network-initialize-session): Defined.
7283 (elmo-network-authenticate-session): Ditto.
7284 (elmo-nntp-send-mode-reader): Changed argument.
7285 (elmo-nntp-send-command): Changed argument.
7286 All other related portions are changed.
7287 (elmo-nntp-read-response): Ditto.
7288 (elmo-nntp-read-raw-response): Ditto.
7289 (elmo-nntp-read-contents): Ditto.
7290 (elmo-nntp-read-body): Ditto.
7291 (elmo-nntp-goto-folder): Abolished.
7292 (elmo-nntp-select-group): New function.
7293 All other related portions are changed.
7294 (This function substitutes `elmo-nntp-goto-folder')
7295 (elmo-nntp-msgdb-create-by-header): Rewrite.
7296 (elmo-nntp-get-overview): Eliminated.
7297 (elmo-nntp-get-message): Ditto.
7298 (elmo-nntp-open-connection) Abolished.
7299 (elmo-nntp-read-msg): Rewrite.
7300 (elmo-nntp-post): Ditto.
7301 (elmo-nntp-send-data): Abolished.
7302 (elmo-nntp-send-buffer): New function.
7303 (elmo-nntp-send-data-line): Define as inline function.
7304 (elmo-nntp-get-folders-info-prepare): Use session as key.
7305 (elmo-nntp-groups-read-response): Changed argument.
7306 (elmo-nntp-retrieve-headers): Ditto.
7307 (elmo-nntp-msgdb-create-message): Ditto.
7309 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7310 when searching by 'since' or 'before'.
7312 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7314 * elmo-version.el (toplevel): Use product-version-as-string for set
7315 verstion-string, if defined.
7317 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7319 * elmo-util.el: Doc fixes.
7321 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7323 * elmo-archive.el (toplevel): Use product-provide.
7324 * elmo-cache.el (toplevel): Ditto.
7325 * elmo-database.el (toplevel): Ditto.
7326 * elmo-date.el (toplevel): Ditto.
7327 * elmo-dop.el (toplevel): Ditto.
7328 * elmo-filter.el (toplevel): Ditto.
7329 * elmo-imap4.el (toplevel): Ditto.
7330 * elmo-internal.el (toplevel): Ditto.
7331 * elmo-localdir.el (toplevel): Ditto.
7332 * elmo-localnews.el (toplevel): Ditto.
7333 * elmo-maildir.el (toplevel): Ditto.
7334 * elmo-msgdb.el (toplevel): Ditto.
7335 * elmo-multi.el (toplevel): Ditto.
7336 * elmo-net.el (toplevel): Ditto.
7337 * elmo-nntp.el (toplevel): Ditto.
7338 * elmo-pipe.el (toplevel): Ditto.
7339 * elmo-pop3.el (toplevel): Ditto.
7340 * elmo-util.el (toplevel): Ditto.
7341 * elmo-vars.el (toplevel): Ditto.
7342 * elmo2.el (toplevel): Ditto.
7343 * mmelmo-1.el (toplevel): Ditto.
7344 * mmelmo-2.el (toplevel): Ditto.
7345 * mmelmo-imap4-1.el (toplevel): Ditto.
7346 * mmelmo-imap4-2.el (toplevel): Ditto.
7347 * mmelmo-imap4.el (toplevel): Ditto.
7348 * mmelmo.el (toplevel): Ditto.
7350 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7352 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7353 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7355 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7357 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7359 (elmo-multi-split-number-alist): Ditto.
7361 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7363 * elmo-version.el: New file. Use product.el.
7364 * elmo2.el: Add (require 'elmo-version).
7365 * elmo-vars.el (elmo-appname, elmo-version): Move to
7368 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7370 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7371 `elmo-msgdb-expand-path'.
7372 (elmo-msgdb-load): Ditto.
7373 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7374 (elmo-generic-list-folder-unread): Rewrite.
7375 (elmo-generic-list-folder-important): Changed argument.
7376 (elmo-list-folder-unread): Ditto.
7377 (elmo-list-folder-important): Ditto.
7378 (elmo-folder-diff): Rewrite.
7379 (elmo-generic-folder-diff): New function.
7380 (elmo-multi-get-number-alist-list): Abolished
7381 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7382 (elmo-multi-folder-diff): Moved to elmo-multi.el
7383 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7385 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7386 `elmo-msgdb-expand-path'.
7387 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7388 (elmo-pop3-read-msg): Ditto.
7389 (elmo-pop3-delete-msgs): Ditto.
7390 (elmo-pop3-folder-diff): New alias.
7392 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7393 `elmo-msgdb-expand-path'.
7394 (elmo-pipe-list-folder-unread): Changed arguments.
7395 (elmo-pipe-list-folder-important): Ditto.
7396 (elmo-pipe-folder-diff): New alias.
7398 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7399 `elmo-msgdb-expand-path'.
7400 (elmo-nntp-max-of-folder): Ditto.
7401 (elmo-nntp-msgdb-create): Ditto.
7402 (elmo-nntp-delete-msgs): Ditto.
7403 (elmo-nntp-folder-diff): New alias.
7405 * elmo-multi.el (elmo-multi-folder-diff): New function.
7406 (elmo-multi-split-mark-alist): Ditto.
7407 (elmo-multi-split-number-alist): Ditto.
7408 (elmo-multi-mark-alist-list): Abolished (Renamed to
7409 elmo-multi-split-mark-alist).
7410 (elmo-multi-list-folder-unread): Rewrite.
7411 (elmo-multi-list-folder-important): Ditto.
7412 (elmo-multi-list-folder): Set `spec' as 1st argument for
7413 `elmo-msgdb-expand-path'.
7414 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7415 instead of `elmo-multi-get-number-alist-list'.
7417 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7418 If 1st argument is not string, treat as spec.
7419 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7420 `elmo-msgdb-expand-path'.
7421 (elmo-msgdb-flist-load): Ditto.
7422 (elmo-msgdb-flist-save): Ditto.
7423 (elmo-msgdb-delete-path): Ditto.
7424 (elmo-msgdb-rename-path): Ditto.
7426 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7427 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7428 (elmo-maildir-delete-mark-msgs): Ditto.
7429 (elmo-maildir-msgdb-create): Ditto.
7430 (elmo-maildir-read-msg): Ditto.
7431 (elmo-maildir-delete-msgs): Ditto.
7432 (elmo-maildir-list-folder-subr): Ditto.
7433 (elmo-maildir-search): Ditto.
7434 (elmo-maildir-get-msg-filename): Ditto.
7435 (elmo-maildir-pack-number): Ditto.
7436 (elmo-maildir-folder-diff): New alias.
7438 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7440 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7441 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7442 (elmo-localdir-folder-diff): New alias.
7444 * elmo-internal.el (elmo-internal-list-folder-subr):
7445 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7446 (elmo-internal-list-folder-by-location): Ditto.
7447 (elmo-internal-msgdb-create): Ditto.
7448 (elmo-internal-delete-msgs): Ditto.
7449 (elmo-internal-read-msg): Ditto.
7450 (elmo-internal-folder-diff): New alias.
7452 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7453 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7454 `elmo-msgdb-expand-path'.
7455 (elmo-imap4-list-folder-unread): Changed arguments.
7456 (elmo-imap4-list-folder-important): Ditto.
7458 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7459 (elmo-filter-list-folder-important): Ditto.
7460 (elmo-filter-folder-diff): New function.
7462 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7464 * elmo-cache.el (elmo-cache-list-folder):
7465 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7466 (elmo-cache-copy-msgs): Ditto.
7467 (elmo-cache-folder-diff): New alias.
7469 * elmo-archive.el (elmo-archive-list-folder-subr):
7470 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7471 (elmo-archive-get-archive-name): Ditto.
7472 (elmo-archive-create-file): Ditto.
7473 (elmo-archive-append-msg): Ditto.
7474 (elmo-archive-copy-msgs): Ditto.
7475 (elmo-archive-copy-msgs-froms): Ditto.
7476 (elmo-archive-get-msg-filename): Ditto.
7477 (elmo-archive-folder-diff): New alias.
7479 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7481 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7482 (elmo-pop3-stream-type-alist): New variable.
7483 (elmo-nntp-stream-type-alist): New variable.
7485 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7486 (elmo-kill-buffer): Ditto.
7487 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7488 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7489 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7490 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7491 (elmo-imap4-get-spec): Take into account
7492 `elmo-imap4-stream-type-alist'.
7494 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7496 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7497 (elmo-nntp-list-folders-get-cache): Ditto.
7499 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7501 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7502 character before 'uid'.
7504 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7506 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7508 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7510 * elmo-util.el (elmo-number-set-member): New function.
7511 (elmo-number-set-append-list): Ditto.
7512 (elmo-number-set-append): Ditto.
7514 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7515 Use `elmo-number-set-member'.
7516 (elmo-living-messages): Ditto.
7517 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7518 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7520 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7521 (elmo-imap4-add-to-cont-list): Abolished.
7522 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7523 instead of elmo-imap4-add-to-cont-list.
7525 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7526 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7528 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7530 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7532 * elmo-util.el (elmo-condition-parse-search-value):
7535 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7537 * elmo-util.el (elmo-condition-find-key-internal): New function.
7538 (elmo-condition-find-key): Ditto.
7540 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7541 (elmo-msgdb-search-internal): Ditto.
7542 (elmo-msgdb-search): Ditto.
7544 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7546 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7547 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7549 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7550 (elmo-nntp-search-primitive): Fixed problem when condition is
7553 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7555 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7556 (elmo-nntp-xhdr-p): New macro.
7557 (elmo-nntp-set-xhdr): Ditto.
7558 (elmo-nntp-parse-xhdr-response): New function.
7559 (elmo-nntp-retrieve-field): Ditto.
7560 (elmo-nntp-search-primitive): Ditto.
7561 (elmo-nntp-search): Implemented.
7563 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7565 * elmo-archive.el (elmo-archive-search): Set all number list to
7566 `elmo-archive-field-condition-match'
7568 * elmo-localdir.el (elmo-localdir-search): Likewise.
7570 * elmo-maildir.el (elmo-maildir-search): Likewise.
7572 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7574 * elmo-msgdb.el (elmo-living-messages): New function.
7575 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7576 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7577 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7578 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7579 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7580 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7581 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7582 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7583 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7584 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7585 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7587 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7589 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7591 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7593 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7595 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7596 arguments for `SEARCH' command.
7597 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7598 All other related portions are changed.
7600 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7602 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7603 (elmo-list-folder-unread): Rewrite.
7604 (elmo-list-folder-important): Ditto.
7606 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7607 (elmo-condition-parse-error): New inline function.
7608 (elmo-read-search-condition): New function.
7609 (elmo-read-search-condition-internal): Ditto.
7610 (elmo-parse-search-condition): Rewrite.
7611 (elmo-condition-parse): New function.
7612 (elmo-condition-parse-or-expr): Ditto.
7613 (elmo-condition-parse-and-expr): Ditto.
7614 (elmo-condition-parse-primitive): Ditto.
7615 (elmo-condition-parse-search-value): Ditto.
7616 (elmo-buffer-field-primitive-condition-match): Ditto.
7617 (elmo-buffer-field-condition-match): Rewrite.
7618 (elmo-file-field-condition-match): Ditto.
7620 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7621 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7623 * elmo-internal.el (elmo-internal-search): Set `number' and
7624 `number-list' argument of `elmo-file-field-condition-match'.
7626 * elmo-maildir.el (elmo-maildir-search): Ditto.
7628 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7629 `msgdb' as argument instead of `mark-alist'.
7630 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7633 * elmo-multi.el: Likewise.
7635 * elmo-pipe.el: Likewise.
7637 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7638 (elmo-imap4-search-internal): Rewrite.
7639 (elmo-imap4-search): Ditto.
7641 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7642 (elmo-filter-list-folder-unread): Ditto.
7643 (elmo-filter-list-folder-important): Ditto.
7644 (elmo-filter-search): Rewrite.
7646 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7647 `number-list' argument of `elmo-file-field-condition-match'.
7648 (elmo-cache-search): Ditto.
7650 * elmo-localdir.el: Likewise.
7652 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7653 number-list and pass it to `elmo-buffer-field-condition-match'.
7654 (elmo-archive-field-condition-match): Pass `number-list' to
7655 `elmo-archive-field-condition-match'
7657 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7659 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7662 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7663 (elmo-folder-diff-async-callback-data): Ditto.
7664 (elmo-folder-diff-async): New function.
7666 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7667 (elmo-network-session-cache-key): Use it as a prefix of the session
7669 (elmo-network-open-session): Ditto.
7671 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7672 (elmo-imap4-status-callback-data): Ditto.
7673 (elmo-imap4-server-diff-async-callback): New variable.
7674 (elmo-imap4-server-diff-async-callback-data): Ditto.
7675 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7676 `elmo-imap4-status-callback-data'.
7677 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7678 `elmo-imap4-status-callback-data' as nil.
7679 (elmo-imap4-server-diff): Ditto.
7680 (elmo-imap4-server-diff-async-callback-1): New function.
7681 (elmo-imap4-server-diff-async): Ditto.
7682 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7684 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7686 * elmo-util.el (elmo-list-delete): Doc fix.
7687 (elmo-delete-lists): Abolish.
7688 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7689 instead of `elmo-delete-lists'.
7691 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7693 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7696 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7698 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7699 `elmo-imap4-literal-subr'.
7700 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7701 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7703 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7705 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7706 (elmo-archive-list-folder): Fix.
7707 (elmo-archive-max-of-folder): Fix.
7709 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7711 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7712 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7713 (elmo-localdir-append-msg): Ditto.
7714 (elmo-localdir-list-folder): Fix for `nonsort'.
7715 (elmo-localdir-list-folder-subr): Fix for `killed'.
7716 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7717 (elmo-maildir-list-folder-subr): Ditto.
7718 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7719 (elmo-archive-list-folder-subr): Ditto.
7720 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7721 (elmo-internal-list-folder-subr): Ditto.
7723 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7725 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7727 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7729 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7731 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7733 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7734 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7736 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7738 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7739 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7741 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7743 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7745 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7746 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7747 before STORE command.
7749 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7751 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7753 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7754 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7756 (elmo-imap4-list-folders): Removed unused local variable.
7757 (elmo-network-initialize-session): Ditto.
7758 (elmo-imap4-delete-msg-by-id): Ditto.
7759 (elmo-imap4-parse-fetch): Ditto.
7760 (elmo-imap4-copy-msgs): Ditto.
7761 Use `dst-spec' instead of `dst-folder'.
7762 (elmo-network-authenticate-session): Check authenticate type `plain'.
7764 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7766 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7768 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7769 `elmo-imap4-response-value'.
7770 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7772 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7774 * elmo-imap4.el (elmo-imap4-send-command):
7775 Cause elmo-imap4-bye-error when current response is BYE.
7776 (elmo-imap4-arrival-filter): Changed greeting response value.
7778 * elmo2.el (elmo-imap4-bye-error): Define.
7780 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7781 (elmo-imap4-server-diff): Ditto.
7782 (elmo-imap4-response-bye-p): New macro.
7783 (elmo-imap4-response-error-text): Get text from BYE response.
7784 (elmo-imap4-read-response): Return if BYE response.
7785 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7786 (elmo-imap4-folder-exists-p): Ditto.
7787 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7788 (elmo-imap4-parse-bye): New function.
7789 (elmo-imap4-parse-response): Remove needless let.
7790 Call `elmo-imap4-parse-bye'.
7792 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7794 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7795 the mailbox does not exist.
7796 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7798 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7800 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7802 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7804 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7806 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7807 (elmo-network-initialize-session-buffer): Defined.
7809 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7811 (mmelmo-imap4-get-mime-entity): Rewrite.
7813 * elmo2.el (elmo-error): Capitalize error message.
7815 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7816 (elmo-network-session-buffer): New macro.
7817 (elmo-network-open-session): Use it.
7819 * elmo-imap4.el: Rewrite.
7821 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7823 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7825 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7827 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7828 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7829 (elmo-imap4-create-msgdb-from-overview-string): Use
7830 `elmo-msgdb-create-overview-from-buffer'.
7832 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7834 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7835 (elmo-imap4-default-hierarchy-delimiter): New variable.
7836 (elmo-imap4-list-folders): Use it.
7838 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7840 * elmo-net.el (elmo-network-open-session): Add user and
7841 stream-type for process-buffer name.
7843 * elmo-pop3.el (elmo-network-initialize-session): Call
7844 buffer-disable-undo.
7846 * elmo-imap4.el (elmo-network-initialize-session):
7847 Set current-buffer as an argument for `buffer-disable-undo'.
7849 * elmo-pop3.el (elmo-network-close-session): Don't use
7852 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7853 Set default as 'user.
7855 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7857 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7858 and `elmo-imap4-flush-connection'.
7860 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7861 (elmo-pop3-get-spec): Assume auth as symbol.
7862 (elmo-open-network-stream): Moved to `elmo-net'.
7864 * elmo-pop3.el (toplevel): Require 'elmo-net.
7865 Define `sasl-cram-md5' to silence byte compilier.
7866 (elmo-pop3-connection-cache) Abolished.
7867 (elmo-pop3-authenticator-alist) New variable.
7868 (elmo-pop3-session): Define.
7869 (elmo-pop3-connection-get-process): Abolished.
7870 (elmo-pop3-connection-get-buffer): Ditto.
7871 (elmo-pop3-close-connection): Ditto.
7872 (elmo-pop3-flush-connection): Ditto.
7873 (elmo-pop3-get-connection): Ditto.
7874 (elmo-pop3-get-session): New function.
7875 (Replacement for `elmo-pop3-get-connection').
7876 All other related modules are changed.
7877 (elmo-network-close-session): Define.
7878 (elmo-pop3-send-command): Abolished argument `buffer'.
7879 All other related modules are changed.
7880 (elmo-pop3-read-response): Likewise.
7881 (elmo-pop3-open-connection): Abolished.
7882 (elmo-pop3-auth-user): New function.
7883 (elmo-pop3-auth-apop): Ditto.
7884 (elmo-pop3-auth-cram-md5): Ditto.
7885 (elmo-pop3-auth-scram-md5): Ditto.
7886 (elmo-pop3-auth-digest-md5): Ditto.
7887 (elmo-network-initialize-session): Define.
7888 (elmo-network-authenticate-session): Ditto.
7889 (elmo-network-setup-session): Ditto.
7891 * elmo-imap4.el (toplevel): Require 'elmo-net.
7892 (elmo-imap4-session): Define.
7893 (elmo-imap4-connection-cache): Abolished.
7894 (elmo-imap4-password-key): Ditto.
7895 (elmo-imap4-flush-connection): Ditto.
7896 (elmo-imap4-get-connection): Ditto.
7897 All other related modules are changed.
7898 (elmo-imap4-get-session): New function
7899 (Replacement for `elmo-imap4-get-connection').
7900 (elmo-imap4-read-response): Abolished argument `buffer'.
7901 All other related modules are changed.
7902 (elmo-imap4-send-command): Likewise.
7903 (elmo-imap4-select-folder): Abolished.
7904 All other related modules are changed.
7905 (elmo-imap4-select-mailbox): New function.
7906 (Replacement for `elmo-imap4-select-folder').
7907 (elmo-imap4-auth-login): Simplify.
7908 (Assume current buffer as process buffer)
7909 (elmo-imap4-auth-cram-md5): Ditto.
7910 (elmo-imap4-auth-digest-md5): Ditto.
7911 (elmo-imap4-login): Ditto.
7912 (elmo-imap4-open-connection): Abolished.
7913 (elmo-imap4-open-connection-1): Abolished.
7914 (elmo-network-initialize-sessoin): Define.
7915 (elmo-network-authenticate-session): Ditto.
7916 (elmo-network-setup-session): Ditto.
7918 * elmo-net.el: New module.
7920 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7922 * elmo-util.el (elmo-define-error): New function.
7924 * elmo2.el (elmo-error): Define.
7925 (elmo-open-error): Define.
7926 (elmo-authenticate-error): Define.
7928 * elmo-imap4.el (elmo-imap4-error): Abolish.
7929 (elmo-imap4-error-type): Abolish.
7930 (elmo-imap4-error-process): Abolish.
7931 (elmo-imap4-error-message): Abolish
7932 (elmo-imap4-list-folders): Don't quote lambda.
7933 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7934 (elmo-imap4-parse-namespace): Ditto.
7935 (elmo-imap4-open-connection): Rewrite.
7936 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7937 (elmo-imap4-get-connection): Abolish local variable `result'.
7939 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7941 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7942 wrong-type-argument error when auth is nil.
7944 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7946 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7947 (elmo-default-nntp-stream-type): Ditto.
7948 (elmo-default-pop3-stream-type): Ditto.
7949 (elmo-network-stream-type-alist): Ditto.
7950 (elmo-default-imap4-ssl): Abolished.
7951 (elmo-default-nntp-ssl): Ditto.
7952 (elmo-default-pop3-ssl): Ditto.
7954 * elmo-util.el: (toplevel): Removed needless requires.
7955 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7956 (elmo-open-network-stream): Open network stream according to
7957 the value of `elmo-network-stream-type-alist'.
7958 (elmo-get-network-stream-type): New function.
7959 (elmo-network-stream-type-spec-string): New macro.
7960 (elmo-network-stream-type-symbol): Ditto.
7961 (elmo-network-stream-type-function): Ditto.
7963 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7964 network-stream-type. All other related portions are changed.
7965 (elmo-pop3-open-connection): Ditto.
7967 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7968 network-stream-type. All other related portions are changed.
7970 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7971 network-stream-type.All other related portions are changed.
7972 (elmo-imap4-error): New macro.
7973 (elmo-imap4-error-type): Ditto.
7974 (elmo-imap4-error-process): Ditto.
7975 (elmo-imap4-error-message): Ditto.
7976 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7977 (elmo-imap4-auth-cram-md5): Ditto.
7978 (elmo-imap4-auth-digest-md5): Ditto.
7979 (elmo-imap4-login): Ditto.
7980 (elmo-imap4-open-connection): Remove password entry if authentication
7982 (elmo-imap4-user-at-host): Abolished.
7983 (elmo-imap4-password-key): New buffer local variable.
7984 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7985 using protocol, port, auth and stream-type.
7987 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7989 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7991 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7993 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7995 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7996 (elmo-imap4-authenticator-alist): New variable.
7997 (elmo-imap4-open-connection-1): Rename from
7998 elmo-imap4-open-connection.
7999 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8000 only wraps elmo-imap4-open-connection-1.
8001 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8003 (elmo-imap4-auth-login): New function.
8004 (elmo-imap4-auth-cram-md5): New function.
8005 (elmo-imap4-auth-digest-md5): New function.
8006 (elmo-imap4-login): New function.
8008 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8010 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8013 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8015 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8017 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8019 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8021 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8023 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8024 for server responses, quote `*' regardless of where it appears.
8026 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8028 * elmo-maildir.el (elmo-maildir-commit): New alias.
8030 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8032 * elmo-util.el (elmo-display-progress):
8033 Use `progress-feedback-with-label'.
8035 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8037 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8038 (elmo-imap4-non-atom-char-regex): Ditto.
8039 (elmo-imap4-non-text-char-regex): Ditto.
8040 (elmo-imap4-literal-threshold): Ditto.
8041 (elmo-imap4-atom-p): New function.
8042 (elmo-imap4-quotable-p): Ditto.
8043 (elmo-imap4-nil): Ditto.
8044 (elmo-imap4-atom): Ditto.
8045 (elmo-imap4-quoted): Ditto.
8046 (elmo-imap4-literal-subr): Ditto.
8047 (elmo-imap4-literal): Ditto.
8048 (elmo-imap4-buffer-literal): Ditto.
8049 (elmo-imap4-string-subr): Ditto.
8050 (elmo-imap4-string): Ditto.
8051 (elmo-imap4-buffer-string): Ditto.
8052 (elmo-imap4-astring-subr): Ditto.
8053 (elmo-imap4-astring): Ditto.
8054 (elmo-imap4-buffer-astring): Ditto.
8055 (elmo-imap4-nstring): Ditto.
8056 (elmo-imap4-buffer-nstring): Ditto.
8057 (elmo-imap4-mailbox): New alias.
8058 (elmo-imap4-field-body): Ditto.
8059 (elmo-imap4-userid): Ditto.
8060 (elmo-imap4-password): Ditto.
8061 (elmo-imap4-format-quoted): New function.
8062 (elmo-imap4-send-command): Rewritten. Accept a list of command
8063 arguments and handle "atom", "quoted" and "literal" string here.
8064 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8065 `elmo-imap4-send-command'.
8066 (elmo-imap4-folder-exists-p): Likewise.
8067 (elmo-imap4-create-folder): Likewise.
8068 (elmo-imap4-delete-folder): Likewise.
8069 (elmo-imap4-rename-folder): Likewise.
8070 (elmo-imap4-max-of-folder): Likewise.
8071 (elmo-imap4-check-validity): Likewise.
8072 (elmo-imap4-sync-validity): Likewise.
8073 (elmo-imap4-server-diff): Likewise.
8074 (elmo-imap4-select-folder): Likewise.
8075 (elmo-imap4-copy-msgs): Likewise.
8076 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8077 (elmo-imap4-mark-set-on-msgs): Likewise.
8078 (elmo-imap4-read-part): Likewise.
8079 (elmo-imap4-read-msg): Likewise.
8080 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8081 `elmo-imap4-password' for `elmo-imap4-send-command'.
8082 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8083 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8084 `elmo-imap4-buffer-literal'.
8085 (elmo-imap4-append-msg): Likewise.
8087 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8088 `delete' for removing dead connection from the connection cache.
8089 Move deletion of the process buffer after that.
8090 (elmo-imap4-list): Change `defsubst' to `defun'.
8091 (elmo-imap4-commit): Make error message verbose.
8092 (elmo-imap4-search): Ditto.
8093 (elmo-imap4-list): Ditto.
8094 (elmo-imap4-select-folder): Ditto.
8095 (elmo-imap4-copy-msgs): Ditto.
8096 (elmo-imap4-delete-msg-by-id): Ditto.
8097 (elmo-imap4-append-msg-by-id): Ditto.
8098 (elmo-imap4-append-msg): Ditto.
8100 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8102 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8103 when dired is used on XEmacs.
8105 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8107 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8108 instead of `append'.
8109 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8110 `elmo-plugged-p' directly.
8111 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8112 of `elmo-plugged-p' directly.
8114 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8115 Eliminate unused variable. Use `memq' for checking a process status.
8116 Use `cons' instead of `append' for updating the connection cache.
8117 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8118 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8120 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8122 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8123 `elmo-imap4-read-point' exactly.
8125 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8126 the local variable `folder' to `mailbox'.
8127 Rename the argument `fld' to `folder'.
8129 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8131 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8132 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8134 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8136 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8137 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8138 (elmo-pop3-uidl-number-hash): Ditto.
8139 (elmo-pop3-size-hash): Ditto.
8140 (elmo-pop3-uidl-done): Ditto.
8141 (elmo-pop3-list-done): Ditto.
8142 (elmo-pop3-connection-get-process): New defmacro.
8143 (elmo-pop3-connection-get-buffer): Ditto.
8144 (elmo-pop3-close-connection): Delete buffer and process.
8145 (elmo-pop3-flush-connection): Don't delete buffer and process.
8146 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8147 Setup UIDL and size hash.
8148 (elmo-pop3-send-command-no-erase): Deleted
8149 (elmo-pop3-send-command): Added optional argument `no-erase'.
8150 (elmo-pop3-parse-uidl-response): New function.
8151 (elmo-pop3-parse-list-response): Set size hash.
8152 (elmo-pop3-list-location): New function.
8153 (elmo-pop3-list-by-uidl-subr): Ditto.
8154 (elmo-pop3-list-by-list): Ditto.
8155 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8156 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8157 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8158 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8159 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8161 (elmo-pop3-uidl-to-number): New function.
8162 (elmo-pop3-number-to-uidl): Ditto.
8163 (elmo-pop3-number-to-size): Ditto.
8164 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8165 Set number by use of uidl.
8166 (elmo-pop3-msgdb-create-message): Likewise.
8167 Set size, loc-alist in msgdb.
8168 (elmo-pop3-read-msg): Set number by use of uidl.
8169 Added optional argument `msgdb'.
8170 (elmo-pop3-delete-msg): Ditto.
8171 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8172 (elmo-pop3-commit): Close connection.
8174 * elmo-pipe.el (elmo-pipe-max-of-folder):
8175 Bind `elmo-pop3-use-uidl' as nil.
8176 (elmo-pipe-drain): Ditto.
8179 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8180 (elmo-msgdb-overview-entity-set-size): New defsubst.
8182 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8184 * elmo-vars.el (elmo-use-killed-list): New variable
8185 (Renamed from `elmo-nntp-use-killed-list').
8186 (elmo-nntp-use-killed-list): Eliminated.
8188 * elmo-msgdb.el (elmo-msgdb-expand-path):
8189 Changed expanding msgdb path for elmo-multi.
8191 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8192 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8193 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8194 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8195 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8196 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8197 (toplevel): Deleted time-stamp line.
8199 * elmo2.el (elmo-clear-killed ): Defined as function
8200 (Abolished defining as a backend function).
8201 All other related modules are changed.
8203 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8205 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8207 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8209 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8211 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8213 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8215 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8217 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8218 asynchronous folder check.
8220 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8222 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8223 `elmo-nntp-use-killed-list'.
8224 (elmo-nntp-list-folder): Use killed list.
8225 (elmo-nntp-max-of-folder): Ditto.
8226 (elmo-nntp-msgdb-create): Set killed list.
8228 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8230 * elmo2.el (elmo-clear-killed): New backend function.
8231 All other related modules are changed.
8233 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8235 * elmo-util.el (elmo-imap4-spec-folder): Use
8236 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8237 All callers changed.
8239 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8241 * mmelmo-2.el (initialize-instance):
8242 Use `mime-buffer-entity-buffer-internal' instead of
8243 `mime-entity-buffer'.
8245 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8246 (mime-entity-body): Implemented.
8247 (mime-goto-header-start-point): Deleted.
8248 (mime-goto-body-end-point): Ditto.
8249 (mime-entity-point-min): Ditto.
8250 (mime-entity-point-max): Ditto.
8251 (mime-entity-children): Ditto.
8252 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8253 instead of `mime-entity-buffer'.
8254 (mime-entity-header-buffer): Ditto.
8255 (mime-entity-body-buffer): Ditto.
8256 (mime-write-entity-content): Ditto.
8258 * pldap.el (ldap-static-if): New macro.
8259 (toplevel): Use it instead of `static-if'.
8261 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8263 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8264 included in `attrs' argument.
8266 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8268 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8270 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8271 (ldap-ldif-safe-init-char-regexp): Ditto.
8272 (ldap-ldif-safe-string-regexp): Ditto.
8273 (ldap/ldif-safe-string-p): New macro.
8274 (ldap/ldif-insert-field): Ditto.
8275 (ldap-modify): Use it.
8277 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8278 (ldap-decode-attribute): Decode only when `attr' is consp.
8279 (ldap-delete): Bind `ret'.
8280 (toplevel): Require 'cl at compile time.
8281 Removed (require 'poe) and (require 'std11).
8282 (pldap-version): Eliminated.
8283 (ldap-search-basic): Removed auth and dn binding.
8284 (ldap-ldif-field-name-regexp): New constant.
8285 (ldap-ldif-field-head-regexp): Ditto.
8286 (ldap-ldif-next-field-head-regexp): Ditto.
8287 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8288 (ldap/field-end): New function.
8289 (ldap/field-body): Use it.
8290 (ldap/collect-field): Ditto.
8291 (ldap-search-basic): Use `ldap/field-body'.
8293 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8295 * pldap.el (ldap-default-attribute-encoder): New user option.
8296 (ldap/field-body): Decode base64 string.
8297 (ldap/collect-field): Ditto.
8298 (ldap-encode-attribute): New function.
8299 (ldap-add-entries): Use it.
8300 (ldap-modify-entries): Ditto.
8301 (ldap-search-entries): Enclosed decoding function with
8302 `with-temp-buffer' and set as unibyte.
8303 (ldap-search-basic): Set process buffer as unibyte.
8305 * elmo-util.el (elmo-folder-identical-system-p):
8306 Eliminated name space checking.
8308 * pldap.el: New module.
8309 toplevel: Changed condition to detect built-in ldap feature.
8310 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8311 (ldap-add): Added error handling.
8312 (ldap-modify): Ditto.
8313 (ldap-delete): Ditto.
8315 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8317 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8318 Initialize local variables with `let'. Inline a temporary
8319 variable for the progress percentage. Sort `setq' to reduce
8320 function call in the while-loop.
8322 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8323 into the conditional branch.
8325 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8327 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8328 Move a conditional out of the while-loop.
8330 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8332 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8333 elmo-msgdb-overview-get-entity-by-number.
8334 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8337 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8339 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8340 the local variable for a packed number self descriptively.
8342 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8344 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8345 * elmo-localdir.el (elmo-localdir-pack-number): Use
8346 `elmo-msgdb-overview-get-entity' instead of
8347 `elmo-msgdb-overview-get-entity-by-number'.
8348 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8349 (elmo-msgdb-search-overview-entity): Removed.
8350 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8351 by message-id or number.
8352 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8353 instead of `elmo-msgdb-overview-get-entity-by-number'.
8355 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8357 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8358 non-nil, use hash table for overview.
8359 (elmo-hash-maximum-size): New variable.
8360 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8361 (elmo-msgdb-make-overview-hashtb): New function.
8362 (elmo-msgdb-clear-overview-hashtb): New function.
8363 (elmo-clear-hash-val): New macro.
8364 All other related modules are changed.
8366 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8368 * elmo2.el (elmo-move-msgs): If there's other message with
8369 same message-id, don't use cache.
8371 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8373 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8374 number is already packed.
8376 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8378 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8380 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8382 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8383 All other related modules are changed.
8385 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8387 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8388 of refiling failure on Maildir.
8390 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8392 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8393 decoded mime-charset with cache.
8394 (elmo-msgdb-overview-entity-get-from): Ditto.
8395 (elmo-msgdb-overview-entity-get-subject): Ditto.
8396 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8398 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8400 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8401 (elmo-remove-passwd): Fill password with 0 before erase.
8402 * elmo-vars.el (elmo-passwd-life-time): New variable.
8405 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8407 * elmo-cache.el (elmo-buffer-cache-add):
8408 Set message cache buffer as unibyte.
8410 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8412 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8415 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8417 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8418 when display is finished.
8419 (elmo-nntp-msgdb-create): Ditto.
8420 (elmo-nntp-groups-read-response): Ditto.
8421 (elmo-nntp-retrieve-headers): Ditto.
8422 (elmo-nntp-msgdb-create-message): Ditto.
8423 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8424 (elmo-pop3-msgdb-create-message): Ditto.
8426 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8428 * elmo-maildir.el (elmo-maildir-msgdb-create):
8429 Use `elmo-msgdb-sort-by-date'.
8431 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8433 * elmo2.el (elmo-read-msg-no-cache):
8434 Eliminated arguments after `outbuf'.
8435 Don't use cache even if it exists.
8436 (elmo-read-msg): Don't pass arguments after `outbuf' to
8437 `elmo-read-msg-no-cache'.
8439 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8441 * elmo-archive.el (elmo-archive-list-folders):
8442 Use `file-name-directory' if base folder does not exist.
8444 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8446 * elmo-archive.el (elmo-archive-list-folders): Don't use
8447 `file-name-directory'.
8449 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8451 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8452 If `force' is non-nil, try flushing all operation queues.
8454 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8456 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8459 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8461 * elmo-util.el (elmo-display-progress): Fixed.
8463 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8465 * elmo-util.el (elmo-display-progress): New function.
8466 All other related modules are changed.