1 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-pipe.el (elmo-folder-close): Define.
5 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
8 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
11 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
14 * elmo-multi.el (elmo-message-entity): Don't use return value of
15 `elmo-message-entity-set-number'.
17 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
19 * modb.el (modb-generic): Added slot `mime-charset'.
21 * modb-standard.el (modb-standard): Added slot `overview-handler'.
22 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
23 and `modb-entity-handler-dump-parameters'.
24 (modb-standard-default-entity-handler): Abolish.
25 (elmo-msgdb-message-entity-handler): Save created handler by
28 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
29 (modb-entity-handler-list-parameters): New method.
30 (modb-entity-handler-equal-p): New function.
31 (modb-entity-handler-dump-parameters): Ditto.
32 (modb-entity-parse-address-string): Encode return value.
33 (modb-entity-make-address-string): Decode argument value.
34 (modb-entity-decode-string-recursive): New function.
35 (modb-entity-encode-string-recursive): Ditto.
36 (modb-standard-entity-normalizer): Set to encode field value.
37 (modb-standard-entity-specializer): Follow the above change.
38 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
39 mime-charset of handler.
40 (elmo-msgdb-message-entity-field): Ditto.
41 (elmo-msgdb-copy-message-entity): Fixed reference to internal
43 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
45 * elmo.el (elmo-folder): Added slot `mime-charset'.
46 (elmo-make-folder): Added argument `mime-charset'.
47 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
50 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
51 (elmo-make-msgdb): Likewise.
53 * elmo-internal.el (elmo-internal-folder-initialize): Call
54 `luna-make-entity' with :mime-charset parameter.
56 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
58 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
59 encoded words in `from' and `subject' field.
61 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
63 * modb.el (elmo-msgdb-message-field): Add argument `type'.
64 (elmo-msgdb-match-condition): Get handler from entity instead of
67 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
68 (modb-standard-load-entity): Treat new file format.
69 (modb-standard-save-entity-1): Save as new file format.
70 (modb-standard-save-entity): Split messages into section here.
71 (elmo-msgdb-message-field): Follow the API change.
72 (modb-standard-default-entity-handler): New internal variable.
73 (elmo-msgdb-message-entity-handler): Define.
75 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
77 (modb-entity-field-extractor-alist): New user option.
78 (elmo-msgdb-message-entity-field): Removed argument `decode' and
79 added argument `type'.
80 (elmo-msgdb-copy-message-entity): Add optional argument
82 (modb-set-field-converter): New function.
83 (modb-convert-field-value): Ditto.
84 (modb-entity-string-decoder): Ditto.
85 (modb-entity-string-encoder): Ditto.
86 (modb-entity-parse-date-string): Ditto.
87 (modb-entity-make-date-string): Ditto.
88 (modb-entity-mime-decoder): Ditto.
89 (modb-entity-mime-encoder): Ditto.
90 (modb-entity-address-list-decoder): Ditto.
91 (modb-entity-address-list-encoder): Ditto.
92 (modb-entity-parse-address-string): Ditto.
93 (modb-entity-make-address-string): Ditto.
94 (modb-entity-create-field-indices): Ditto.
95 (modb-legacy-entity-field-slots): New constant.
96 (modb-legacy-entity-field-indices): Ditto.
97 (modb-legacy-entity-normalizer): New variable.
98 (modb-legacy-entity-specializer): Ditto.
99 (modb-legacy-entity-field-index): New macro.
100 (modb-legacy-entity-set-field): New function.
101 (modb-legacy-make-message-entity): Rewrite.
102 (elmo-msgdb-create-message-entity-from-buffer): Use
103 `elmo-msgdb-get-references-from-buffer'. Use
104 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
105 Use `modb-legacy-entity-set-field' instead of
106 `elmo-msgdb-message-entity-set-field'.
107 (elmo-msgdb-message-entity-field): Rewrite.
108 (elmo-msgdb-message-entity-set-field): Ditto.
109 (elmo-msgdb-copy-message-entity): Make new entity by
110 `make-handler' if it specified.
111 (elmo-msgdb-message-match-condition): Define a method of
112 `modb-entity-handler' and follow the API change.
113 (modb-standard-entity-handler): New class.
114 (modb-entity-extract-ml-info-from-x-sequence): New function.
115 (modb-entity-extract-ml-info-from-subject): Ditto.
116 (modb-entity-extract-ml-info-from-return-path): Ditto.
117 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
118 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
119 (modb-entity-extract-mailing-list-info): Ditto.
120 (modb-entity-extract-mailing-list-info-functions): New variable.
122 * elmo.el (elmo-message-field): Add optional argument `type'.
124 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
125 from `modb-entity.el'.
127 * elmo-util.el (elmo-object-load): Decode by coding-system from
128 `set-auto-coding-function'.
129 (elmo-object-save): Use `detect-mime-charset-region' and add
130 coding cookie if encode.
131 (elmo-msgdb-get-references-from-buffer): New function.
132 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
134 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
136 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
137 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
138 instead of `shimbun-make-header' and follow the API change.
139 (elmo-shimbun-update-overview): Follow the API change.
140 (elmo-map-folder-list-message-locations): Ditto.
142 * elmo-pipe.el (elmo-message-field): Ditto.
144 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
147 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
149 * elmo-multi.el (elmo-message-field): Ditto.
151 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
152 (elmo-msgdb-sort-by-date): Ditto.
153 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
154 `elmo-message-entity-field'.
155 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
157 (elmo-msgdb-overview-entity-get-from): Ditto.
158 (elmo-msgdb-overview-entity-get-subject): Ditto.
159 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
160 (elmo-msgdb-overview-entity-get-date): Ditto.
161 (elmo-msgdb-overview-entity-get-to): Ditto.
162 (elmo-msgdb-overview-entity-get-cc): Ditto.
164 * elmo-mime.el (elmo-message-mime-entity): Ditto.
165 (elmo-mime-collect-message/partial-pieces): Ditto.
167 * elmo-filter.el (elmo-message-field): Ditto.
169 * elmo-date.el (elmo-datevec-to-time): New function.
170 (elmo-time-parse-date-string): Ditto.
171 (elmo-time-make-date-string): Ditto.
174 * elmo-version.el (elmo-version): Up to 2.15.1.
176 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
178 * elmo-flag.el (elmo-global-flags-initialize): Don't include
179 member of elmo-local-flags.
181 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
183 * elmo-version.el (elmo-version): Up to 2.15.0.
185 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
187 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
188 `ignore-msgdb' is non-nil.
190 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
192 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
193 (elmo-condition-in-msgdb-p): Ditto.
194 (elmo-file-field-primitive-condition-match): Ditto.
195 (elmo-file-field-condition-match): Ditto.
197 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
199 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
201 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
203 (elmo-global-flags-initialize): New function.
205 * elmo.el (toplevel): Added autoload setting for
206 `elmo-global-flags-initialize'.
208 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
210 * elmo.el (message-number-changed): Define new signal.
211 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
212 message-number-changed signal.
213 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
214 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
215 Respect `elmo-pack-number-check-strict'.
217 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
219 * elmo-signal.el (elmo-connect-signal): Document.
220 (elmo-emit-signal): Ditto.
221 (elmo-emit-signal): It should pass source argument to filter and
222 handler, not slot-source.
224 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
226 * modb.el (elmo-msgdb-update-entity): New API and define generic
229 * modb-standard.el (elmo-msgdb-update-entity): Define.
231 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
232 API and define generic implement.
234 * elmo.el (update-overview): New singnal.
236 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
237 `elmo-msgdb-update-entity' and emit signal `update-overview'.
238 (elmo-message-entity-parent): Define.
240 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
243 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
245 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
247 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
249 * elmo.el (elmo-folder-synchronize): Sort the return value of
252 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
255 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
257 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
258 `default-enable-multibyte-characters'.
259 (elmo-object-load): Use `with-temp-buffer' instead of
261 (elmo-object-save): Ditto.
262 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
264 (elmo-decoded-field-body): Ditto.
266 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
268 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
269 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
271 * elmo-version.el (elmo-version): Up to 2.13.3.
273 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
275 * elmo-util.el (elmo-list-diff): Fix the last change.
276 Reverse order of result lists.
278 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
280 * modb-standard.el (elmo-msgdb-set-flag): Use
281 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
282 (elmo-msgdb-unset-flag): Ditto.
284 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
287 * elmo-util.el (elmo-list-diff): Rewrite.
288 (elmo-list-diff-nonsortable): New function.
290 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
292 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
293 `elmo-multibypte-buffer-name'. All referers are updated.
295 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
297 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
298 (elmo-mime-entity-fragment-p): New function.
299 (mime-elmo-buffer-entity): Added slot `reassembled'.
300 (elmo-message-mime-entity): Added 4th argument `reassemble'.
301 (elmo-message-mime-entity-internal): New function (renamed from
302 `elmo-message-mime-entity').
303 (elmo-mime-inherit-field-list-from-enclosed): New constant.
304 (elmo-mime-make-reassembled-mime-entity): New function.
305 (elmo-message-reassembled-mime-entity): Ditto.
306 (elmo-mime-collect-message/partial-pieces): Ditto.
308 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
310 * elmo.el (elmo-message-fetch-string): Disable multibyte.
312 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
313 (elmo-with-enable-multibyte): New macro.
315 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
317 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
319 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
321 (elmo-filter-connect-signals): Follow the above change.
323 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
325 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
327 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
328 that only the first flag is used.
330 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
332 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
335 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
337 * elmo-signal.el: New file.
339 * elmo.el (toplevel): Require elmo-signal.
340 (flag-changing, flag-changed, cache-changed): New signal.
341 (elmo-folder): Remove slog `handlers'.
342 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
343 `elmo-folder-notify-event'.
344 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
345 (elmo-folder-unset-flag): Ditto.
346 (elmo-event-handler): Abolish.
347 (elmo-event-handler-flag-changed): Ditto.
348 (elmo-event-handler-cache-changed): Ditto.
349 (elmo-folder-add-handler): Ditto.
350 (elmo-folder-remove-handler): Ditto.
351 (elmo-folder-notify-event): Ditto.
353 * elmo-pipe.el (toplevel): Require elmo-signal.
354 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
355 (elmo-pipe-connect-signals): New function.
356 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
357 (elmo-folder-set-flag): Ditto.
358 (elmo-folder-unset-flag): Ditto.
359 (elmo-message-set-cached): Ditto.
361 * elmo-multi.el (toplevel): Require elmo-signal.
362 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
363 (elmo-multi-connect-signals): New function.
364 (elmo-multi-map-numbers): Ditto.
365 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
366 (elmo-message-fetch): Ditto.
367 (elmo-folder-set-flag): Ditto.
368 (elmo-folder-unset-flag): Ditto.
370 * elmo-filter.el (toplevel): Require elmo-signal.
371 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
372 (elmo-filter-connect-signals): New function.
373 (elmo-filter-add-flag-count): Ditto.
374 (elmo-message-fetch): Does not call
375 `elmo-filter-folder-countup-message-flags' and
376 `elmo-folder-notify-event'.
377 (elmo-message-set-cached): Ditto.
378 (elmo-folder-set-flag): Ditto.
379 (elmo-folder-unset-flag): Ditto.
381 * elmo-version.el (elmo-version): Up to 2.13.2.
383 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
385 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
388 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
390 * elmo-filter.el (elmo-message-set-cached): Call
391 `elmo-folder-notify-event' with event `cache-changed'.
393 * elmo-multi.el (elmo-message-set-cached): Ditto.
395 * elmo-pipe.el (elmo-message-set-cached): Ditto.
397 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
399 * elmo.el (elmo-folder-encache): Abolish.
401 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
403 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
404 (elmo-folder-next-message-number-dop): Return appropriate negative
407 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
409 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
410 clearing pending operations.
411 (elmo-folder-next-message-number-dop): Return appropriate negative
414 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
416 * elmo.el (toplevel): Added autoload setting for `md5'.
417 (elmo-msgdb-path-encode-threshold): New user option.
418 (elmo-folder-msgdb-path): Encode msgdb path if its length is
419 longer than `elmo-msgdb-path-encode-threshold'.
421 * elmo-flag.el (elmo-global-mark-migrate): Use
422 `elmo-folder-expand-msgdb-path' instead of
423 `elmo-folder-msgdb-path'.
425 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
427 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
428 element of the difference is nil.
430 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
432 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
433 to the check logic of file systems which are weak in colon character.
435 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
437 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
439 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
441 * elmo-maildir.el (elmo-maildir-move-file): New function.
442 (elmo-folder-append-buffer): Use it.
443 (elmo-folder-append-messages): Ditto.
444 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
446 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
447 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
449 * elmo-maildir.el (elmo-maildir-separator): New user option.
450 (elmo-maildir-adjust-separator): New macro.
451 (elmo-maildir-list-location): Use it.
452 (elmo-maildir-update-current): Ditto.
453 (elmo-maildir-set-mark): Ditto.
454 (elmo-maildir-delete-mark): Ditto.
455 (These changes are based on Hiroya Murata's patch [wl: 13437])
457 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
461 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
463 * elmo-flag.el (elmo-flag-valid-p): Simplify.
464 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
465 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
467 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
469 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
470 Use `with-temp-buffer'.
472 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
474 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
476 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
477 `wl-read-search-condition').
478 (elmo-read-search-condition-internal): Likewise.
480 * elmo-flag.el (elmo-flag-char-regexp): New constant.
481 (elmo-flag-valid-p): New function.
482 (elmo-folder-initialize): Check flag name is valid.
484 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
486 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
487 delimiter to obtain root mailbox itself.
489 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
491 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
494 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
496 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
499 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
501 * elmo-shimbun.el (toplevel): Require cl at compile.
503 * elmo-nntp.el (toplevel): Ditto.
505 * elmo-nmz.el (toplevel): Ditto.
507 * elmo-multi.el (toplevel): Ditto.
509 * elmo-file.el (toplevel): Ditto.
511 * elmo-dop.el (toplevel): Ditto.
513 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
515 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
517 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
520 * elmo.el (elmo-message-fetch): Return t even when the output buffer
521 size of elmo-message-fetch-internal is 0 byte.
523 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
525 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
527 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
529 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
532 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
534 * elmo-maildir.el (elmo-map-message-fetch): Call
535 `elmo-map-folder-set-flag'.
537 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
538 (elmo-message-fetch): Merge from
539 `elmo-message-fetch-with-cache-process'.
541 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
542 (elmo-message-fetch): Define.
544 * elmo-nntp.el (elmo-message-fetch): Renamed from
545 `elmo-message-fetch-with-cache-process'.
547 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
548 (elmo-message-fetch): Define.
550 * elmo-util.el (elmo-condition-parse-primitive): Downcase
553 * elmo-shimbun.el (shimbun-mua-search-id): Use
554 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
555 (elmo-shimbun-folder-shimbun-header): Ditto.
556 (elmo-shimbun-get-headers): Ditto.
557 (elmo-shimbun-update-overview): Ditto.
559 * elmo-pipe.el (elmo-folder-detach-messages): Define.
561 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
562 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
564 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
566 * elmo.el (elmo-message-fetch): Unset unread flag on server when
568 (elmo-message-fetch-string): Fixed argument.
570 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
572 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
573 exchange order of arguments `section' and `unread'.
574 (elmo-message-encache): Follow the API change.
575 (elmo-message-match-condition): Ditto.
576 (elmo-generic-folder-append-messages): Ditto.
577 (elmo-message-fetch-string): New function.
579 * elmo-split.el (elmo-split-subr): Ditto.
581 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
583 * elmo-pipe.el (elmo-message-fetch): Ditto.
585 * elmo-multi.el (elmo-message-fetch): Ditto.
587 * elmo-mime.el (elmo-message-mime-entity): Ditto.
589 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
591 * elmo-filter.el (elmo-message-fetch): Ditto.
593 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
595 * elmo-imap4.el (mime-imap-location-section-body): Use
596 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
597 follow the API change.
599 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
601 * elmo-access.el: New file.
603 * elmo-null.el: Ditto.
605 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
607 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
609 * elmo-net.el (elmo-network-session-idle-timeout): New option.
610 (elmo-network-session): New attribute `last-accessed'.
611 (elmo-network-get-session): Discard network cache if elapsed time
612 since last-accessed is larger than elmo-network-session-idle-timeout.
614 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
616 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
617 and added `number', `require-entireness'.
618 (elmo-find-fetch-strategy): Rewrite.
619 (elmo-message-fetch): Unset `unread' flag when argument unread is
622 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
624 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
625 (elmo-message-fetch): Notify event `flag-changed'.
627 * elmo-pipe.el: Likewise.
629 * elmo-mime.el (elmo-mime-entity): New class.
630 (elmo-mime-entity-display-p): New generic function.
631 (elmo-mime-entity-display): Ditto.
632 (elmo-mime-entity-display-as-is): Ditto.
633 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
635 (elmo-make-mime-message-location): Removed.
636 (elmo-mime-message-display): Ditto.
637 (elmo-mime-display-as-is): Ditto.
638 (elmo-message-mime-entity): New function.
640 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
642 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
644 (elmo-message-fetch): Re-count flagged message number and notify
645 event `flag-changed'.
647 * elmo-version.el (elmo-version): Up to 2.13.1.
649 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
651 * elmo-filter.el (elmo-message-field): Define.
652 (elmo-message-set-field): Ditto.
654 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
656 * elmo.el (elmo-message-set-cached): Call
657 `elmo-folder-notify-event' with cache-changed.
658 (elmo-event-handler-cache-changed): New generic function.
660 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
662 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
663 instead of elmo-add-name-to-file.
664 (elmo-folder-append-messages): Ditto.
666 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
668 * elmo.el (elmo-folder-update-threshold): Add nil to range.
670 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
672 * elmo-version.el (elmo-version): Up to 2.13.0.
674 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
677 * modb-standard.el (modb-standard-economize-entity-size): Changed
678 default value to `t'.
680 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
683 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
684 after parsing greeting string.
686 2004-11-23 Daishi Kato <daishi@axlight.com>
688 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
690 (elmo-spam-spamoracle-call): Use it.
692 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
694 * elmo.el (elmo-message-accessible-p): Message in dop spool
697 2004-11-23 Daishi Kato <daishi@axlight.com>
699 * elsp-spamoracle.el: New file.
701 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
703 * elmo.el (elmo-message-flags-for-append): New function.
704 (elmo-generic-folder-append-messages): Use it.
706 * elmo-split.el (elmo-split-subr): Ditto.
708 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
709 `flags' and use elmo-folder-append-buffer instead of
710 write-region-as-binary.
711 (elmo-dop-filter-pending-messages): New function.
712 (elmo-folder-append-buffer-dop): Call
713 elmo-dop-spool-folder-append-buffer with `flag'.
714 (elmo-folder-set-flag-dop): Filter messages by
715 elmo-dop-filter-pending-messages.
716 (elmo-folder-unset-flag-dop): Ditto.
717 (elmo-folder-append-buffer-dop-delayed): Use
718 elmo-message-flags-for-append to get flags of the message and
721 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
723 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
725 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
727 * elmo.el (elmo-folder): Added handlers slot.
728 (elmo-event-handler): New class.
729 (elmo-event-handler-flag-changed): New API.
730 (elmo-folder-add-handler): New function.
731 (elmo-folder-remove-handler): Ditto.
732 (elmo-folder-notify-event): Ditto.
733 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
735 (elmo-folder-unset-flag): Ditto.
737 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
738 (elmo-folder-unset-flag): Ditto.
740 * elmo-multi.el (elmo-folder-set-flag): Ditto.
741 (elmo-folder-unset-flag): Ditto.
743 * elmo-filter.el (elmo-folder-set-flag): Ditto.
744 (elmo-folder-unset-flag): Ditto.
746 * elmo-version.el (elmo-version): Up to 2.11.33.
748 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
750 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
752 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
756 * elmo-flag.el (elmo-folder-unset-flag): Define.
757 (elmo-global-flag-detach): Do process when the flag is not target
760 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
762 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
764 (elmo-msgdb-create-message-entity-from-buffer): Use it.
766 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
768 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
770 (elmo-folder-delete-messages): Detach messages before delete
771 messages from target folder.
772 (elmo-folder-detach-messages): Set updated number-list to slot.
774 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
776 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
778 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
780 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
782 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
784 * elmo.el (elmo-folder-delete-messages-internal): New API (for
786 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
788 (elmo-folder-delete-messages): Define.
789 (elmo-folder-move-messages): Don't call
790 `elmo-folder-detach-messages'.
791 (elmo-folder-synchronize): Rewrite.
792 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
794 * elmo-util.el (elmo-last): New function.
795 (elmo-set-list): Ditto.
796 (elmo-number-set-delete-list): Ditto.
797 (elmo-number-set-delete): Ditto.
799 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
801 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
802 `elmo-folder-delete-messages' and don't delete location map.
803 (elmo-folder-detach-messages): Define.
805 * elmo-imap4.el (elmo-folder-delete): Use
806 `elmo-folder-delete-messages-internal' instead of
807 `elmo-folder-delete-messages'.
809 * elmo-filter.el (elmo-folder-delete-messages): Call
810 `elmo-folder-detach-messages'.
811 (elmo-folder-detach-messages): Don't call
812 `elmo-folder-detach-messages' for target folder.
814 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
815 message deletion is succeeded.
817 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
819 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
820 from `elmo-folder-delete-messages'.
822 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
824 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
826 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
828 * elmo-version.el (elmo-version): Up to 2.11.32.
830 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
832 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
833 (elmo-global-flag-list): Added obsolete variable setting.
835 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
837 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
838 (elmo-mime-insert-header-from-buffer): Don't decode header content when
839 `elmo-mime-display-header-analysis' is nil.
841 * elmo-flag.el (elmo-global-flags): Renamed from
842 `elmo-global-flag-list' (All other related portions are changed).
843 (elmo-local-flags): New variable.
844 (elmo-local-flag-p): New function.
845 (elmo-global-flag-set-internal): Cause an error when flag is not
848 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
850 * elmo-util.el (elmo-concat-path): Treat empty path.
852 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
854 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
856 (elmo-split-address-match): Ditto.
857 (elmo-split-equal): Ditto.
858 (elmo-split-match): Ditto.
860 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
862 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
863 (elmo-generic-folder-append-messages): If src message exists but
864 has no flag, pass (read) for the FLAG argument of
865 `elmo-folder-append-buffer'. Otherwise, pass nil.
867 * elmo-split.el (elmo-split-subr): Likewise.
869 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
871 * elmo-multi.el (elmo-message-flags): Ditto.
873 * elmo-filter.el (elmo-message-flags): Ditto.
875 * elmo.el (elmo-folder-append-buffer): Fix docstring.
876 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
877 pass (read) for the FLAG argument of elmo-folder-append-buffer.
879 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
881 * elmo-split.el (elmo-split-rule): Update comment.
882 (elmo-split-address-equal): Allow 2nd argument to be a list.
883 (elmo-split-address-match): Ditto.
884 (elmo-split-equal): Ditto.
885 (elmo-split-match): Ditto.
887 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
889 * elmo.el (elmo-folder-append-buffer): Fix docstring.
890 (elmo-folder-append-msgdb): Don't treat `read'.
891 (elmo-message-flags): Don't return `read'.
893 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
894 (elmo-folder-unset-read-delayed): Ditto.
896 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
898 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
900 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
903 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
905 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
908 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
910 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
912 (elmo-msgdb-save): Bind inhibit-quit.
913 (modb-standard-message-entity): Ditto.
915 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
917 * elmo-database.el: No need to require elmo-msgdb.
919 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
921 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
922 instead of `elmo-list-subdirectories'.
924 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
926 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
928 (elmo-folder-exists-p): "[" is empty.
929 (elmo-folder-list-subfolders): Define.
930 (elmo-folder-have-subfolder-p): Ditto.
932 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
934 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
936 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
938 * elmo-filter.el (elmo-folder-local-p): Define.
940 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
942 * modb-standard.el (modb-standard-loaded-message-id): Return nil
943 when entity is garbaged.
944 (modb-standard-save-entity-1): Don't modify the original entity.
946 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
948 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
950 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
952 * elmo.el (elmo-strict-folder-diff): Use
953 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
955 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
957 * modb.el (elmo-msgdb-flag-available-p): New generic function.
958 (elmo-msgdb-message-number): Ditto.
959 (elmo-msgdb-message-field): Ditto.
961 * modb-standard.el (modb-standard-economize-entity-size): New user
963 (modb-standard-loaded-message-id): New inline function.
964 (modb-standard-load-entity): Use it.
965 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
966 throw message-id string away.
967 (elmo-msgdb-flag-available-p): Define.
968 (elmo-msgdb-message-number): Ditto.
969 (elmo-msgdb-message-field): Ditto.
971 * modb-legacy.el (modb-legacy-flag-list): Fix typo
972 (suppoted -> supported).
973 (modb-legacy-supported-flag-p): Ditto.
974 (elmo-msgdb-set-flag): Ditto.
975 (elmo-msgdb-unset-flag): Ditto.
976 (elmo-msgdb-flag-available-p): Define.
978 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
979 is `t', treat it as legacy entity.
981 * elmo.el (elmo-message-flag-available-p): New generic function.
982 (elmo-message-number): Ditto.
983 (elmo-message-field): Use `elmo-msgdb-message-field'.
985 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
987 * elmo-pipe.el (elmo-message-flag-available-p): Define.
988 (elmo-message-number): Ditto.
990 * elmo-multi.el (elmo-message-number): Define.
991 (elmo-message-flag-available-p): Ditto.
993 * elmo-filter.el (elmo-message-flag-available-p): Define.
994 (elmo-message-number): Ditto.
996 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
997 (elmo-folder-initialize): Load `max-number'.
998 (elmo-folder-commit): Save it.
999 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1000 (elmo-global-flag-set-internal): Set up max-number slot.
1002 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1004 * elmo-version.el (elmo-version): Up to 2.11.31.
1006 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1008 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1009 unibyte string of the current buffer for the argument of `md5'
1010 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1012 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1014 * modb-legacy.el (modb-legacy-flag-list): New constant.
1015 (modb-legacy-suppoted-flag-p): New internal function.
1016 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1017 (elmo-msgdb-unset-flag): Ditto.
1019 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1021 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1023 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1026 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1028 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1029 (follow the API change).
1031 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1033 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1035 * modb-standard.el (modb-standard-digest-flags): Abolish.
1036 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1038 * elmo-vars.el (elmo-digest-flags): New variable.
1039 (elmo-preserved-flags): Moved from elmo-flag.el.
1041 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1042 (elmo-imap4-flag-to-imap-criteria): Ditto.
1043 (elmo-imap4-folder-list-flagged): Use it.
1045 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1047 * elmo.el (elmo-folder-count-flags): Changed return value.
1049 * elmo-flag.el (elmo-preserved-flags): New variable.
1050 (elmo-get-global-flags): Use it.
1052 * modb-standard.el (modb-standard-digest-flags): New variable.
1053 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1054 Changed behavior of `any'.
1056 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1057 which are defined the Internet draft
1058 (draft-melnikov-imap-keywords-03.txt).
1059 (elmo-imap4-flags-to-imap): New function.
1060 (elmo-folder-append-buffer): Use it.
1062 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1065 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1066 avoid the bug of Emacs 21.3.
1068 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1070 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1071 function find-coding-system does not exist.
1073 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1075 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1078 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1080 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1083 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1085 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1086 (elmo-network-close-session): Follow the changes in
1087 `elmo-pop3-read-response'.
1088 (elmo-pop3-auth-user): Ditto.
1089 (elmo-pop3-auth-apop): Ditto.
1090 (elmo-network-initialize-session): Ditto.
1091 (elmo-network-authenticate-session): Ditto.
1092 (elmo-network-setup-session): Ditto.
1093 (elmo-folder-status): Ditto.
1094 (elmo-message-fetch-plugged): Ditto.
1095 (elmo-pop3-delete-msg): Ditto.
1097 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1099 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1102 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1104 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1106 (elmo-bind-directory): Ditto.
1108 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1110 * elmo.el (elmo-folder-append-messages): Note on return value.
1111 * elmo-archive.el (elmo-folder-append-messages): Don't return
1112 message numbers which could not be appended.
1114 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1116 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1118 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1120 * elmo-version.el (elmo-version): Up to 2.11.30.
1122 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1124 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1127 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1129 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1130 (elmo-multi-split-numbers): Add elmo-folder object into each
1131 element of return value at first.
1132 (elmo-folder-delete-messages): Follow the above change.
1133 (elmo-folder-detach-messages): Ditto.
1135 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1136 number which is synchronized in target folder.
1138 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1140 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1141 Change default value to symbol `all'.
1142 (elmo-map-message-fetch): Change condition to update overview
1145 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1147 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1148 behavior to update overview.
1149 (elmo-shimbun-update-overview-folder-list): Note it.
1151 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1156 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1158 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1159 buffer-disable-undo, it is unnecessary.
1160 (elmo-spam-register-good-messages): Ditto.
1162 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1165 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1167 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1169 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1170 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1171 elmo-set-buffer-multibyte.
1172 (elmo-object-load): Ditto.
1173 (elmo-save-buffer): Ditto.
1174 (elmo-delete-char): Ditto.
1175 (elmo-file-field-primitive-condition-match): Ditto.
1176 (elmo-mime-string): Ditto.
1178 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1179 (elmo-archive-field-condition-match): Ditto.
1181 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1183 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1185 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1186 (elmo-nntp-msgdb-create-message): Ditto.
1188 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1190 * elmo.el (elmo-message-match-condition): Ditto.
1191 (elmo-message-match-condition): Ditto.
1193 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1196 * elmo-version.el (elmo-version): Up to 2.11.29.
1198 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1199 (elsp-header): New backend.
1201 * elmo-util.el (elmo-decoded-field-body): New function.
1203 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1205 * elmo-version.el (elmo-version): Up to 2.11.28.
1207 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1209 * elmo-filter.el: Rewrite.
1211 * elmo-version.el (elmo-version): Up to 2.11.27.
1213 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1215 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1216 msgdb path for the localdir folder with absolute path.
1218 * utf7.el: Synch up with latest gnus/utf7.el;
1219 Modified for latest Emacs.
1221 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1223 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1224 shimbun backend couldn't open.
1226 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1228 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1229 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1230 when a destination folder is a filter folder.
1232 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1234 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1235 (elmo-generic-folder-append-messages): Call elmo-message-flags
1236 with argument `msgid'.
1238 * elmo-split.el (elmo-split-subr): Ditto.
1240 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1242 * elmo-multi.el (elmo-message-flags): Ditto.
1244 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1246 * elmo.el (elmo-folder): Add new slot `flag-table'.
1247 (elmo-folder-flag-table): New API.
1248 (elmo-folder-close-flag-table): Ditto.
1249 (elmo-folder-preserve-flags): New function.
1250 (elmo-generic-folder-append-messages): Use
1251 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1252 Flag of a non-registered message, it sets to nil.
1253 Does not set flag to flag-table.
1255 * elmo-maildir.el (elmo-folder-append-buffer): Use
1256 `elmo-folder-preserve-flags'.
1257 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1258 `elmo-folder-close-flag-table'.
1260 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1261 (elmo-archive-folder-append-buffer): Use
1262 `elmo-folder-preserve-flags'.
1264 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1266 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1268 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1269 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1270 `elmo-folder-close-flag-table'.
1272 * elmo-version.el (elmo-version): Up to 2.11.26.
1274 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1276 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1278 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1279 md5's 4th and 5th argument (non-existent in flim one).
1281 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1283 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1284 message, It sets to nil.
1286 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1288 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1291 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1293 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1295 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1297 * elmo-util.el (elmo-uniq-sorted-list): New function.
1298 (elmo-make-number-list): Ditto.
1299 (elmo-number-set-to-number-list): Use elmo-make-number-list
1300 and don't use nreverse.
1302 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1304 * elmo-version.el (elmo-version): Up to 2.11.25.
1306 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1308 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1309 field not exists in message, Use md5 message digest of header.
1311 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1313 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1314 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1315 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1316 * elmo-split.el (elmo-split-subr): Check return value of
1317 elmo-folder-append-buffer.
1319 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1320 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1322 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1325 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1327 * elmo-split.el (elmo-split-subr): Append message with flag.
1329 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1330 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1331 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1333 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1335 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1336 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1337 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1339 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1341 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1342 with a function call of `process-buffer'. All callers are updated.
1343 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1344 Remove redundant `set-buffer' in a while loop.
1346 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1348 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1351 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1353 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1354 elsp-spamfilter-register-buffer-internal with current buffer.
1355 (elmo-spam-register-spam-buffer): Ditto.
1356 (elmo-spam-register-good-buffer): Ditto.
1358 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1360 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1361 if it is not contained in the response(A workaround for courier-imap).
1363 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1365 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1368 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1370 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1373 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1375 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1378 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1380 (elmo-msgdb-message-match-condition): Follow the change above.
1382 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1384 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1387 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1389 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1391 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1393 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1395 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1397 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1400 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1402 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1404 (elmo-file-command-argument): Undo last change for cygwin.
1405 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1407 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1409 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1411 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1412 value returned from elmo-file-find is nil.
1414 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1416 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1419 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1420 instead of insert-file-contents-as-binary.
1421 (elmo-message-set-field): New generic function.
1423 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1424 behavior change on `split-string'.
1426 * elmo-file.el (elmo-file-find): New function.
1427 (elmo-file-command): New user option.
1428 (elmo-file-command-argument): Ditto.
1429 (elmo-file-fetch-max-size): Ditto.
1430 (elmo-file-detect-format): New function.
1431 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1432 Use elmo-file-detect-format.
1433 (elmo-map-folder-list-message-locations): Don't treat directories.
1435 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1437 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1438 (elmo-passwd-alist-clear): Shred password before clear.
1439 (elmo-remove-passwd): Remove all mached pair.
1441 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1443 * elmo.el (elmo-folder-synchronize): Fix description of the return
1446 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1448 * elmo.el (elmo-message-fetch-bodystructure): New method.
1449 (elmo-message-fetch-bodystructure): Define default.
1451 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1452 elmo-message-fetch-bodystructure.
1453 (elmo-message-fetch-bodystructure): Define.
1455 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1457 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1459 * elmo-filter.el (elmo-message-folder): Define.
1461 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1463 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1464 elmo-delete-cr-buffer.
1466 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1468 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1470 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1472 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1473 type seems to be a text.
1475 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1477 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1478 (elmo-spam-register-good-buffer): Ditto.
1479 (elmo-spam-spamassassin-register-messages): Ditto.
1481 * elmo-util.el (elmo-string-member-ignore-case): Define with
1484 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1486 * elmo.el (elmo-folder-type): Undo last change.
1488 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1490 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1493 * elmo-file.el: New file.
1495 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1497 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1499 (elmo-spam-spamassassin-register-messages): New inline function.
1500 (elmo-spam-register-spam-messages): Define.
1501 (elmo-spam-register-good-messages): Ditto.
1503 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1506 * elmo.el (toplevel): Added autoload setting for
1507 `elmo-get-global-flags'.
1508 (elmo-message-has-global-flag-p): New function.
1509 (elmo-message-set-global-flags): Ditto.
1510 (elmo-folder-type): Improvement for name: format.
1512 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1513 availability of keyword flags.
1514 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1515 (elmo-folder-list-flagged-plugged): Renamed from
1516 elmo-folder-list-flagged-unplugged.
1517 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1518 accept any flag as keyword flag.
1519 (elmo-folder-set-flag-plugged): Accept keyword flags.
1520 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1522 * elmo-flag.el (elmo-get-global-flags): New function.
1524 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1527 * elmo-version.el (elmo-version): Up to 2.11.24.
1529 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1531 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1532 elmo-multiple-field-body instead of std11-field-body to check all
1535 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1537 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1540 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1542 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1543 unintern is unbound.
1545 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1547 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1548 Protect from infinite loop.
1550 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1552 * elsp-bogofilter.el
1553 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1554 (elmo-spam-bogofilter-register-messages): New internal function.
1555 (elmo-spam-register-spam-messages): Define.
1556 (elmo-spam-register-good-messages): Ditto.
1558 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1560 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1561 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1562 (elmo-spam-bogofilter-call): Fixed the last change.
1563 (elmo-spam-bogofilter-arguments): Ditto.
1565 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1566 Follow the options change of latest bogofilter.
1568 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1569 (elmo-spam-bogofilter-good-switch): Ditto.
1570 (elmo-spam-bogofilter-arguments-alist): New user option.
1571 (elmo-spam-bogofilter-debug): Ditto.
1572 (elmo-spam-bogofilter-call): Renamed from
1573 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1574 is non-nil, insert output in buffer for debug.
1575 (elmo-spam-bogofilter-arguments): New macro.
1576 (elmo-spam-buffer-spam-p): Use it.
1577 (elsp-bogofilter-register-buffer): Ditto.
1579 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1581 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1584 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1586 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1588 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1589 (elmo-spam-bsfilter-program): Set default value as full path for
1591 (elmo-spam-bsfilter-debug): New user option.
1592 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1593 non-nil, insert output in buffer for debug. Fix treating of
1596 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1598 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1599 `elmo-maildir-flag-specs' element instead of one.
1600 (elmo-map-folder-unset-flag): Ditto.
1601 (Reported by Ken Makimura <macky@astem.or.jp>)
1603 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1604 (elmo-folder-unset-flag-plugged): Ditto.
1606 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1608 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1609 to `reads' slot only if `in-msgdb' is nil.
1611 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1613 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1614 and complement argument list.
1616 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1618 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1619 instead of elmo-folder-list-flagged.
1621 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1623 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1625 * elsp-bsfilter.el: New file.
1627 * elmo-pipe.el (elmo-folder-list-unreads,
1628 elmo-folder-list-answereds,
1629 elmo-folder-list-importants,
1630 elmo-folder-flag-as-important,
1631 elmo-folder-unflag-important,
1632 elmo-folder-flag-as-read,
1633 elmo-folder-unflag-read,
1634 elmo-folder-flag-as-answered,
1635 elmo-folder-unflag-answered): Remove.
1636 (elmo-folder-set-flag): Define.
1637 (elmo-folder-unset-flag): Ditto.
1639 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1640 (elmo-folder-set-flag): Define.
1641 (elmo-folder-unset-flag): Ditto.
1642 (elmo-folder-list-unreads): Remove.
1643 (elmo-folder-list-flagged): Define.
1645 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1646 (elmo-folder-list-unreads,
1647 elmo-folder-list-importants,
1648 elmo-folder-list-answereds,
1649 elmo-folder-list-unreads-plugged,
1650 elmo-folder-list-importants-plugged,
1651 elmo-folder-list-answereds-plugged): Remove.
1652 (elmo-folder-list-flagged-plugged): New method.
1653 (elmo-folder-unflag-important,
1654 elmo-folder-flag-as-important,
1655 elmo-folder-unflag-read,
1656 elmo-folder-flag-as-read,
1657 elmo-folder-unflag-answered,
1658 elmo-folder-flag-as-answered,
1659 elmo-folder-flag-as-read-unplugged,
1660 elmo-folder-unflag-read-unplugged,
1661 elmo-folder-flag-as-important-unplugged,
1662 elmo-folder-unflag-important-unplugged,
1663 elmo-folder-flag-as-answered-unplugged,
1664 elmo-folder-unflag-answered-unplugged): Remove.
1665 (elmo-folder-set-flag): Define.
1666 (elmo-folder-unset-flag): Ditto.
1667 (elmo-folder-set-flag-unplugged): Ditto.
1668 (elmo-folder-unset-flag-unplugged): Ditto.
1670 * elmo-multi.el (elmo-folder-list-unreads,
1671 elmo-folder-list-answereds,
1672 elmo-folder-list-importants,
1673 elmo-folder-flag-as-important,
1674 elmo-folder-unflag-important,
1675 elmo-folder-flag-as-read,
1676 elmo-folder-unflag-read,
1677 elmo-folder-flag-as-answered,
1678 elmo-folder-unflag-answered): Remove.
1679 (elmo-folder-set-flag): Define.
1680 (elmo-folder-unset-flag): Ditto.
1682 * elmo-map.el (elmo-map-folder-unflag-important,
1683 elmo-map-folder-flag-as-important,
1684 elmo-map-folder-unflag-read,
1685 elmo-map-folder-flag-as-read,
1686 elmo-map-folder-unflag-answered,
1687 elmo-map-folder-flag-as-answered): Remove.
1688 (elmo-map-folder-set-flag): New method.
1689 (elmo-map-folder-unset-flag): Ditto.
1690 (elmo-map-folder-list-unreads,
1691 elmo-map-folder-list-importants,
1692 elmo-map-folder-list-answereds): Remove.
1693 (elmo-folder-list-flagged-internal): Define.
1694 (elmo-map-folder-list-flagged): New method.
1696 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1697 (elmo-map-folder-list-unreads,
1698 elmo-map-folder-list-importants,
1699 elmo-map-folder-list-flagged): Remove.
1700 (elmo-map-folder-list-flagged): Define.
1701 (elmo-map-folder-flag-as-important,
1702 elmo-map-folder-unflag-important,
1703 elmo-map-folder-flag-as-read,
1704 elmo-map-folder-unflag-read,
1705 elmo-map-folder-flag-as-answered,
1706 elmo-map-folder-unflag-answered): Remove.
1707 (elmo-maildir-set-mark-messages): New internal function.
1708 (elmo-map-folder-set-flag): Define.
1709 (elmo-map-folder-unset-flag): Ditto.
1711 * elmo.el (toplevel): Added autoload setting for
1712 `elmo-folder-list-global-flag-messages'.
1713 (elmo-folder-list-unreads,
1714 elmo-folder-list-importants,
1715 elmo-folder-list-answereds): Remove.
1716 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1717 Return a list whitch merged with messages have global flag.
1718 (elmo-folder-list-flagged-internal): New method.
1719 (elmo-folder-unflag-important,
1720 elmo-folder-flag-as-important,
1721 elmo-folder-unflag-read,
1722 elmo-folder-flag-as-read,
1723 elmo-folder-unflag-answered,
1724 elmo-folder-flag-as-answered): Remove.
1725 (elmo-folder-set-flag): New method.
1726 (elmo-folder-unset-flag): Ditto.
1727 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1728 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1730 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1731 (elmo-folder-list-unreads-plugged,
1732 elmo-folder-list-importants-plugged,
1733 elmo-folder-list-answereds-plugged,
1734 elmo-folder-list-flagged-unplugged,
1735 elmo-folder-unflag-important-plugged,
1736 elmo-folder-flag-as-important-plugged,
1737 elmo-folder-unflag-read-plugged,
1738 elmo-folder-flag-as-read-plugged,
1739 elmo-folder-unflag-answered-plugged,
1740 elmo-folder-flag-as-answered-plugged): Remove.
1741 (elmo-folder-set-flag-plugged,
1742 elmo-folder-unset-flag-plugged): Define.
1744 * elmo-flag.el (elmo-folder-initialize): Register to
1745 `elmo-global-flag-list' if flag is not global.
1746 (elmo-folder-append-messages): Set flag to source messages.
1748 * elmo-filter.el (elmo-filter-folder-list-unreads,
1749 elmo-folder-list-unreads,
1750 elmo-filter-folder-list-importants,
1751 elmo-folder-list-importants,
1752 elmo-folder-flag-as-read,
1753 elmo-folder-unflag-read,
1754 elmo-folder-flag-as-important,
1755 elmo-folder-unflag-important,
1756 elmo-folder-flag-as-answered,
1757 elmo-folder-unflag-answered): Remove.
1758 (elmo-folder-set-flag): Define.
1759 (elmo-folder-unset-flag): Ditto.
1761 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1762 elmo-folder-unflag-read-dop,
1763 elmo-folder-flag-as-important-dop,
1764 elmo-folder-unflag-important-dop,
1765 elmo-folder-flag-as-answered-dop,
1766 elmo-folder-unflag-answered-dop): Remove.
1767 (elmo-folder-set-flag-dop,
1768 elmo-folder-unset-flag-dop,
1769 elmo-folder-set-important-delayed,
1770 elmo-folder-unset-important-delayed,
1771 elmo-folder-set-read-delayed,
1772 elmo-folder-unset-read-delayed,
1773 elmo-folder-set-answered-delayed,
1774 elmo-folder-unset-answered-delayed): New function.
1775 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1776 (elmo-dop-queue-method-name-alist): Ditto.
1778 * elmo-version.el (elmo-version): Up to 2.11.23.
1780 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1782 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1784 * elsp-sa.el: New file.
1786 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1788 * modb-standard.el (modb-standard-message-entity): New function.
1789 (elmo-msgdb-message-entity): Use it.
1791 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1793 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1794 behavior when one-level is nil.
1796 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1798 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1800 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1802 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1804 (elmo-generic-folder-diff): Ditto.
1806 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1807 (elmo-folder-update-number): Ditto.
1809 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1810 (elmo-folder-next-message-number-dop): Ditto.
1812 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1814 * elmo-filter.el (elmo-folder-msgdb-create): Use
1815 `elmo-message-entity' and `elmo-message-flags' instead of
1816 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1818 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1820 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1823 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1825 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1827 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1829 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1831 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * elmo-version.el (elmo-version): Up to 2.11.22.
1835 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1837 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1839 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1841 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1842 if the message dose not exist.
1844 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1846 * elmo-version.el (elmo-version): Up to 2.11.21.
1848 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1850 * modb-standard.el (toplevel): Don't require mime.
1852 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1854 * elsp-bogofilter.el (toplevel): Don't require path-util.
1855 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1856 (elmo-spam-bogofilter-header): Abolish.
1857 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1858 (elmo-spam-bogofilter-args): New user option.
1859 (elsp-bogofilter-call-bogofilter): New internal function.
1860 (elmo-spam-buffer-spam-p): Use it.
1861 (elsp-bogofilter-register-buffer): Renamed from
1862 `elmo-spam-bogofilter-register-buffer';
1863 Use `elsp-bogofilter-call-bogofilter'.
1864 (elmo-spam-register-spam-buffer): Follow the change above.
1865 (elmo-spam-register-good-buffer): Ditto.
1867 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1869 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1870 message-id is nil do nothing.
1872 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1874 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1876 (elmo-imap4-session): Removed use-flag slot.
1877 (elmo-imap4-session-select-mailbox): Undo last change.
1878 (elmo-folder-use-flag-p): Use
1879 elmo-imap4-disuse-server-flag-mailbox-regexp.
1881 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1883 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1884 (elmo-imap4-session-select-mailbox): Set it up.
1885 (elmo-folder-use-flag-p): Return value of use-flag slot.
1887 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1889 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1891 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1893 * modb-entity.el (elmo-message-entity-handler): Likewise.
1895 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1897 * elmo.el (toplevel): Remove setting of autoloding for
1898 elmo-global-flag-initialize.
1899 (elmo-init): Don't call elmo-global-flag-initialize.
1900 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1902 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1903 (elmo-global-mark-migrate): Don't call it.
1904 (elmo-global-mark-upgrade): Ditto.
1906 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1908 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1909 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1911 * elmo-vars.el (elmo-init-hook): New user option.
1913 * elmo.el (elmo-init): Run the elmo-init-hook.
1915 * elmo-flag.el (elmo-global-mark-migrate): New function.
1917 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1919 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1920 Undo last change (move to elmo-msgdb-unset-flag).
1921 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1924 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1926 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1928 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1929 (elmo-msgdb-unset-flag): Ditto.
1931 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1933 * elmo-split.el (elmo-split): Return split message count.
1935 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1937 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1940 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1942 * elmo.el (elmo-folder-unflag-important): Call
1943 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1946 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
1948 (elmo-global-flag-detach): Delete the message from flag folder, if
1949 `delete-if-none' is a symbol `always'.
1951 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1953 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
1954 `elmo-spam-spamfilter-decode-buffer'.
1955 (elsp-spamfilter-register-buffer-internal): New internal function.
1956 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
1957 (elmo-spam-register-spam-buffer): Ditto.
1958 (elmo-spam-register-good-buffer): Ditto.
1960 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
1962 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
1963 (elmo-spam-register-spam-buffer): Follow the API change.
1964 (elmo-spam-register-good-buffer): Ditto.
1966 * elmo-split.el (toplevel): Require elmo-spam when copmile.
1967 (elmo-split-spam-p): Added argument plist; Call
1968 `elmo-spam-buffer-spam-p' with new argument register.
1970 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
1972 (elmo-spam-message-spam-p): Ditto.
1973 (elmo-spam-register-spam-buffer): Added optional argument
1975 (elmo-spam-register-good-buffer): Ditto.
1976 (elmo-spam-register-spam-messages): Ditto.
1977 (elmo-spam-register-good-messages): Ditto.
1979 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1981 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
1982 register into good corpus.
1983 (elmo-spam-register-good-buffer): Fixed to register into bad
1986 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1988 * elmo-version.el (elmo-version): Up to 2.11.20.
1990 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
1993 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
1994 flag without depending on \Recent flag.
1996 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1998 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
1999 (elmo-spam-modified-p): Defined.
2000 (elmo-spam-save-status): Set `modified' slot to nil.
2001 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2002 (elmo-spam-register-good-buffer): Ditto.
2004 * elmo-spam.el (elmo-spam-modified-p): New API.
2006 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2008 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2009 duplicate definition.
2011 * elmo-util.el (elmo-unfold-field-body): New function.
2012 (elmo-msgdb-get-message-id-from-buffer): Use it.
2014 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2015 Fixed the last change; Use elmo-unfold-field-body.
2017 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2019 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2022 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2024 * elmo-spam.el (elmo-spam-save-status): New API.
2026 * elsp-spamfilter.el: New file.
2028 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2030 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2032 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2034 * elmo-split.el (elmo-split-spam-p): New function.
2036 * elmo-spam.el: New file.
2038 * elsp-bogofilter.el: Ditto.
2040 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2042 * elmo.el (elmo-folder-next-message-number): New API.
2043 (elmo-folder-next-message-number): Define.
2044 (elmo-message-field): Don't check folder length.
2046 * elmo-net.el (elmo-folder-next-message-number): Define.
2047 (elmo-folder-next-message-number-unplugged): Define.
2049 * elmo-map.el (elmo-folder-next-message-number): Define.
2050 (elmo-folder-delete-messages): Clear hash value.
2052 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2054 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2055 (elmo-folder-delete-messages-dop-delayed): Always return t.
2057 * elmo-version.el (elmo-version): Up to 2.11.19.
2059 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2061 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2064 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2065 identical cons cell into the mark-alist and the hash table.
2067 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2069 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2070 elmo-folder-list-messages with argument `visible-only' as t.
2072 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2073 (elmo-folder-msgdb-create): Check the target folder.
2075 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2077 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2078 `permanentflag' instead of `flags'.
2079 (elmo-folder-open): Ditto.
2080 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2081 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2082 (elmo-folder-use-flag-p): Always return t.
2083 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2084 `permanentflags' does not exist.
2085 (elmo-folder-open): Ditto.
2087 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2089 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2091 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2093 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2094 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2096 (elmo-folder-open): Ditto.
2097 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2098 slot of the session includes the flag.
2099 (elmo-imap4-session-flag-available-p): New function.
2100 (elmo-imap4-folder-list-flagged): Ditto.
2101 (elmo-folder-list-unreads-plugged): Use it.
2102 (elmo-folder-list-importants-plugged): Ditto.
2103 (elmo-folder-list-answereds-plugged): Ditto.
2104 (elmo-imap4-search-internal-primitive): Ditto.
2105 (elmo-imap4-folder-list-any-plugged,
2106 elmo-imap4-folder-list-digest-plugged): Abolish.
2108 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2111 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2113 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2115 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2117 * elmo-util.el (elmo-get-hash-val): Simplify.
2118 (elmo-set-hash-val): Rewrite.
2120 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2122 * elmo.el (elmo-folder-list-messages): Append killed messages into
2123 result if `visible-only' is nil and `in-msgdb' is non-nil.
2125 * elmo-util.el (elmo-uniq-list): Added optional argument
2128 * modb.el (elmo-msgdb-flag-count): New API.
2130 * modb-standard.el (modb-standard): Added slot flag-count.
2131 (modb-standard-countup-flags): New function.
2132 (modb-standard-load-flag): Call it.
2133 (elmo-msgdb-append): Ditto.
2134 (elmo-msgdb-clear): Clear slot flag-count.
2135 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2136 (elmo-msgdb-unset-flag): Treat `all' flag and call
2137 modb-standard-countup-flags.
2138 (elmo-msgdb-flag-count): Define.
2139 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2140 (elmo-msgdb-delete-messages): Ditto.
2142 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2143 (elmo-msgdb-flag-count): Define.
2145 * elmo.el (elmo-folder-list-messages): Undo last change.
2146 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2147 (elmo-folder-kill-messages): Unset all flags to numbers.
2149 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2150 elmo-folder-kill-messages.
2152 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2153 (elmo-nntp-folder-delete-messages): Abolish.
2155 * elmo-version.el (elmo-version): Up to 2.11.18.
2157 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2159 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2160 (elmo-folder-kill-messages-range): New function.
2161 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2162 instead of elmo-folder-kill-messages-before.
2164 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2166 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2167 elmo-imap4-current-msgdb to decide entity handler.
2169 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2171 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2173 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2175 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2176 (elmo-msgdb-overview-entity-set-number,
2177 elmo-msgdb-overview-entity-get-references,
2178 elmo-msgdb-overview-entity-set-references,
2179 elmo-msgdb-overview-entity-get-from-no-decode,
2180 elmo-msgdb-overview-entity-get-from,
2181 elmo-msgdb-overview-entity-set-from,
2182 elmo-msgdb-overview-entity-get-subject,
2183 elmo-msgdb-overview-entity-get-subject-no-decode,
2184 elmo-msgdb-overview-entity-set-subject,
2185 elmo-msgdb-overview-entity-get-date,
2186 elmo-msgdb-overview-entity-set-date,
2187 elmo-msgdb-overview-entity-get-to,
2188 elmo-msgdb-overview-entity-get-cc,
2189 elmo-msgdb-overview-entity-get-size,
2190 elmo-msgdb-overview-entity-set-size,
2191 elmo-msgdb-overview-entity-get-extra,
2192 elmo-msgdb-overview-entity-set-extra,
2193 elmo-msgdb-overview-entity-get-extra-field,
2194 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2195 (elmo-msgdb-make-index): Use
2196 `elmo-msgdb-overview-entity-get-number-internal'.
2197 (elmo-msgdb-clear-index): Ditto.
2198 (elmo-msgdb-append-entity): Ditto;
2199 Use `elmo-msgdb-overview-entity-get-id-internal'.
2201 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2202 elmo-msgdb-overview-entity-set-number,
2203 elmo-msgdb-overview-entity-get-references,
2204 elmo-msgdb-overview-entity-set-references,
2205 elmo-msgdb-overview-entity-get-from-no-decode,
2206 elmo-msgdb-overview-entity-get-from,
2207 elmo-msgdb-overview-entity-set-from,
2208 elmo-msgdb-overview-entity-get-subject,
2209 elmo-msgdb-overview-entity-get-subject-no-decode,
2210 elmo-msgdb-overview-entity-set-subject,
2211 elmo-msgdb-overview-entity-get-date,
2212 elmo-msgdb-overview-entity-set-date,
2213 elmo-msgdb-overview-entity-get-to,
2214 elmo-msgdb-overview-entity-get-cc,
2215 elmo-msgdb-overview-entity-get-size,
2216 elmo-msgdb-overview-entity-set-size,
2217 elmo-msgdb-overview-entity-get-extra,
2218 elmo-msgdb-overview-entity-set-extra,
2219 elmo-msgdb-overview-entity-get-extra-field,
2220 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2221 and rewrote for backward compatibility.
2223 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2225 * elmo.el (elmo-message-entity-number,
2226 elmo-message-entity-set-number,
2227 elmo-message-entity-field,
2228 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2230 * elmo-msgdb.el (elmo-message-entity-number,
2231 elmo-message-entity-set-number,
2232 elmo-message-entity-field,
2233 elmo-message-entity-set-field): Moved from elmo.el.
2235 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2237 * elmo.el (toplevel): Changed definition orders.
2239 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2241 * modb.el (elmo-msgdb-search): New API .
2242 (elmo-msgdb-match-condition): Ditto.
2244 * modb-standard.el (elmo-msgdb-search): Define.
2246 * modb-legacy.el (elmo-msgdb-search): Ditto.
2248 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2249 from elmo-msgdb-match-condition-internal.
2251 * elmo.el (elmo-folder-search-fast): Abolish.
2252 (elmo-folder-search): Use elmo-msgdb-search and
2253 elmo-with-progress-display.
2255 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2258 * elmo.el (elmo-folder): Remove slot message-modified and
2260 (elmo-folder-set-message-modified): Abolish.
2261 (elmo-generic-folder-commit): Follow the change above.
2262 (elmo-folder-synchronize): Ditto.
2264 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2266 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2268 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2270 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2272 * modb-standard.el (modb-standard-make-message-entity,
2273 elmo-msgdb-make-message-entity,
2274 elmo-msgdb-create-message-entity-from-buffer,
2275 elmo-msgdb-message-entity-number,
2276 elmo-msgdb-message-entity-set-number,
2277 elmo-msgdb-message-entity-field,
2278 elmo-msgdb-message-entity-set-field,
2279 elmo-msgdb-copy-message-entity,
2280 elmo-msgdb-match-condition-internal): Remove.
2282 * modb-entity.el: New file (again).
2284 * modb.el (toplevel): Require modb-entity.
2285 (elmo-msgdb-message-entity-handler): New method.
2287 * modb-standard.el (modb-standard-entity-id): Use
2288 elmo-message-entity-handler.
2289 (modb-standard-load-entity): Ditto.
2290 (elmo-msgdb-append-entity): Ditto.
2291 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2293 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2294 elmo-msgdb-decoded-cache-hashtb,
2295 (modb-legacy-make-message-entity,
2296 elmo-msgdb-make-message-entity,
2297 elmo-msgdb-create-message-entity-from-buffer,
2298 elmo-msgdb-message-entity-number,
2299 elmo-msgdb-message-entity-set-number,
2300 elmo-msgdb-message-entity-field,
2301 elmo-msgdb-message-entity-set-field,
2302 elmo-msgdb-copy-message-entity,
2303 elmo-msgdb-match-condition-internal,
2304 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2306 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2307 (elmo-message-entity-set-number): Ditto.
2308 (elmo-message-entity-field): Ditto.
2309 (elmo-message-entity-set-field): Ditto.
2311 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2313 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2315 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2317 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2318 (elmo-nntp-msgdb-create-message): Ditto.
2320 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2321 (elmo-folder-msgdb-create): Add unread flag.
2323 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2325 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2327 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2329 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2331 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2332 elmo-msgdb-messge-entity-handler.
2333 * elmo-version.el (elmo-version): Up to 2.11.17.
2335 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2337 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2340 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2342 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2344 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2345 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2346 (elmo-msgdb-flag-table): Ditto.
2347 (elmo-msgdb-sort-by-date): Ditto.
2349 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2351 * modb-standard.el (toplevel): Require mime.
2352 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2353 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2354 elmo-msgdb-message-entity-number.
2355 (elmo-msgdb-append-entity): Ditto.
2356 (elmo-msgdb-create-message-entity-from-file): Remove.
2357 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2358 corresponds to the entity.
2359 (elmo-msgdb-message-entity-number): Do nothing currently.
2360 (elmo-msgdb-message-entity-field): Ditto.
2361 (elmo-msgdb-message-entity-set-field): Ditto.
2362 (elmo-msgdb-copy-message-entity): Ditto.
2363 (elmo-msgdb-match-condition-internal): Ditto.
2365 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2367 (elmo-msgdb-create-message-entity-from-file): Remove.
2369 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2371 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2373 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2375 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2377 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2378 (elmo-msgdb-message-entity-field): Ditto.
2379 (elmo-msgdb-message-entity-number): Ditto.
2381 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2383 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2384 Fixed how to set extra field into entity.
2385 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2388 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2389 Fixed how to set extra field into entity.
2390 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2393 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2395 * modb.el (elmo-message-entity-db): New function.
2396 (elmo-msgdb-make-message-entity): New API.
2397 (elmo-msgdb-message-entity-number): Ditto.
2398 (elmo-msgdb-message-entity-set-number): Ditto.
2399 (elmo-msgdb-message-entity-field): Ditto.
2400 (elmo-msgdb-message-entity-set-field): Ditto.
2401 (elmo-msgdb-copy-message-entity): Ditto.
2402 (elmo-msgdb-create-message-entity-from-file): Ditto.
2403 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2404 (elmo-msgdb-match-condition-internal): Ditto.
2406 * modb-standard.el (modb-legacy): Require modb-legacy.
2407 (modb-standard-make-message-entity): New inline function.
2408 (elmo-msgdb-make-message-entity): Define.
2409 (elmo-msgdb-create-message-entity-from-file): Ditto.
2410 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2411 (elmo-msgdb-message-entity-field): Ditto.
2412 (elmo-msgdb-message-entity-set-field): Ditto.
2413 (elmo-msgdb-copy-message-entity): Ditto.
2414 (elmo-msgdb-match-condition-internal): Ditto.
2416 * modb-legacy.el: Don't require modb-entity.
2417 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2418 (elmo-msgdb-match-condition-primitive): Ditto.
2419 (elmo-msgdb-get-decoded-cache): Ditto.
2420 (elmo-msgdb-overview-entity-get-id): Ditto.
2421 (elmo-msgdb-overview-entity-get-number): Ditto.
2422 (elmo-msgdb-overview-entity-set-number): Ditto.
2423 (elmo-msgdb-overview-entity-get-references): Ditto.
2424 (elmo-msgdb-overview-entity-set-references): Ditto.
2425 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2426 (elmo-msgdb-overview-entity-get-from): Ditto.
2427 (elmo-msgdb-overview-entity-set-from): Ditto.
2428 (elmo-msgdb-overview-entity-get-subject): Ditto.
2429 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2430 (elmo-msgdb-overview-entity-set-subject): Ditto.
2431 (elmo-msgdb-overview-entity-get-date): Ditto.
2432 (elmo-msgdb-overview-entity-set-date): Ditto.
2433 (elmo-msgdb-overview-entity-get-to): Ditto.
2434 (elmo-msgdb-overview-entity-get-cc): Ditto.
2435 (elmo-msgdb-overview-entity-get-size): Ditto.
2436 (elmo-msgdb-overview-entity-set-size): Ditto.
2437 (elmo-msgdb-overview-entity-get-extra): Ditto.
2438 (elmo-msgdb-overview-entity-set-extra): Ditto.
2439 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2440 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2441 (elmo-msgdb-number-load): Ditto.
2442 (elmo-msgdb-overview-load): Ditto.
2443 (elmo-msgdb-mark-load): Ditto.
2444 (elmo-msgdb-number-save): Ditto.
2445 (elmo-msgdb-mark-save): Ditto.
2446 (elmo-msgdb-overview-save): Ditto.
2447 (modb-legacy-make-message-entity): New inline function.
2448 (elmo-msgdb-insert-file-header): Ditto.
2449 (elmo-msgdb-make-message-entity): Define.
2450 (elmo-msgdb-create-message-entity-from-file): Ditto.
2451 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2452 (elmo-msgdb-message-entity-number): Ditto.
2453 (elmo-msgdb-message-entity-set-number): Ditto.
2454 (elmo-msgdb-message-entity-field): Ditto.
2455 (elmo-msgdb-message-entity-set-field): Ditto.
2456 (elmo-msgdb-copy-message-entity): Ditto.
2457 (elmo-msgdb-match-condition-internal): Ditto.
2459 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2460 (elmo-message-copy-entity): Rewrite.
2461 (elmo-message-entity-number): Ditto.
2462 (elmo-message-entity-set-number): Ditto.
2463 (elmo-message-entity-field): Use elmo-message-entity-db.
2464 (elmo-message-entity-set-field): Ditto.
2465 (elmo-message-field): Rewrite.
2467 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2469 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2471 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2472 elmo-message-entity-field.
2473 (elmo-shimbun-folder-shimbun-header): Ditto.
2474 (elmo-shimbun-entity-to-header): Ditto.
2475 (elmo-folder-msgdb-create): Ditto.
2476 (elmo-shimbun-msgdb-create-entity): Ditto;
2477 Use elmo-msgdb-create-message-entity-from-buffer.
2478 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2479 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2481 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2482 elmo-msgdb-create-message-entity-from-file and
2483 elmo-message-entity-field.
2485 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2486 elmo-message-entity-number.
2487 (elmo-pop3-msgdb-create-message): Use
2488 elmo-msgdb-create-message-entity-from-buffer,
2489 elmo-message-entity-set-field, elmo-message-entity-number and
2490 elmo-message-entity-set-number.
2492 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2493 the API change in elmo-msgdb-make-message-entity.
2494 (elmo-nntp-msgdb-create-message): Use
2495 elmo-msgdb-create-message-entity-from-buffer.
2497 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2498 elmo-message-entity-field and
2499 elmo-msgdb-create-message-entity-from-file.
2501 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2502 (elmo-msgdb-get-field): Abolish.
2503 (elmo-msgdb-get-number): Rewrite.
2504 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2505 (elmo-msgdb-flag-table): Ditto.
2506 (elmo-msgdb-get-last-message-id,
2507 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2508 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2509 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2510 (elmo-msgdb-create-overview-from-buffer,
2511 elmo-msgdb-overview-get-parent-entity): Abolish.
2513 * elmo-mime.el (elmo-mime-display-as-is): Use
2514 elmo-message-entity-field.
2516 * elmo-map.el (elmo-folder-pack-numbers): Use
2517 elmo-message-entity-set-number.
2519 * elmo-maildir.el (elmo-folder-msgdb-create):
2520 elmo-msgdb-create-message-entity-from-file instead of
2521 elmo-msgdb-create-overview-entity-from-file.
2523 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2525 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2526 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2528 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2529 elmo-messge-entity-field and elmo-message-entity-number.
2530 (elmo-imap4-fetch-callback-1): Call
2531 elmo-msgdb-create-message-entity-from-buffer instead of
2532 elmo-msgdb-create-overview-from-buffer.
2533 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2534 (elmo-find-fetch-strategy): Likewise.
2536 * elmo-flag.el (elmo-folder-msgdb-create): Call
2537 elmo-localdir-msgdb-create-entity with argument msgdb.
2539 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2540 and elmo-message-entity-set-number.
2542 * elmo-cache.el (elmo-folder-msgdb-create): Use
2543 elmo-message-entity-field.
2544 (elmo-folder-msgdb-create): Call
2545 elmo-msgdb-create-message-entity-from-file instead of
2546 elmo-msgdb-create-overview-entity-from-file.
2548 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2549 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2550 instead of elmo-msgdb-create-overview-from-buffer.
2551 (elmo-archive-msgdb-create-entity): Ditto.
2552 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2553 elmo-message-entity-field.
2554 (elmo-archive-parse-mmdf): Ditto.
2556 * modb-entity.el: Removed.
2558 * elmo-version.el (elmo-version): Up to 2.11.16.
2560 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2562 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2564 (elmo-folder-flag-as-answered): Ditto.
2566 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2568 * modb-standard.el: New file.
2570 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2571 elmo-msgdb-convert-type is `sync'.
2573 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2574 (elmo-msgdb-convert-type): New user option.
2576 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2577 (elmo-load-msgdb): Auto detect saved type.
2579 * elmo-version.el (elmo-version): Up to 2.11.15.
2581 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2583 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2585 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2586 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2587 with argument `delete-if-none' when dst-folder is 'null.
2589 * elmo-flag.el (elmo-folder-append-messages): Defined.
2590 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2592 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2594 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2596 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2598 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2599 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2600 (elmo-folder-commit): Ditto.
2602 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2604 * elmo-flag.el: New file.
2606 * elmo-mark.el: Removed.
2608 * modb-legacy.el (modb-legacy-new-mark,
2609 modb-legacy-unread-uncached-mark,
2610 modb-legacy-unread-cached-mark,
2611 modb-legacy-read-uncached-mark,
2612 modb-legacy-answered-cached-mark,
2613 modb-legacy-answered-uncached-mark,
2614 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2615 All other related portions are changed.
2617 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2618 (elmo-folder-list-messages-with-global-mark): Abolish.
2619 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2620 (elmo-folder-flag-as-important): Ditto.
2621 (elmo-folder-unflag-read): Ditto.
2622 (elmo-folder-flag-as-read): Ditto.
2623 (elmo-folder-unflag-answered): Ditto.
2624 (elmo-folder-flag-as-answered): Ditto.
2625 (elmo-message-encache): Return the cache path.
2626 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2627 (elmo-message-set-flag): Transitional implementation.
2628 (elmo-message-unset-flag): Ditto.
2629 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2630 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2631 (elmo-init): Call elmo-global-flag-initialize.
2632 (toplevel): Added autoload settings for elmo-flag.
2634 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2636 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2637 (elmo-file-cache-delete): Don't treat global-mark.
2639 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2641 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2643 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2644 `elmo-global-flags-set'.
2646 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2648 (elmo-folder-unflag-read): Ditto.
2649 (elmo-folder-unflag-important): Ditto.
2650 (elmo-folder-flag-as-important): Ditto.
2651 (elmo-folder-unflag-answered): Ditto.
2652 (elmo-folder-flag-as-answered): Ditto.
2654 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2655 `elmo-global-flags-set'.
2656 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2658 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2660 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2662 (elmo-folder-flag-as-important): Ditto.
2663 (elmo-folder-unflag-important): Ditto.
2664 (elmo-folder-flag-as-important): Ditto.
2665 (elmo-folder-unflag-read): Ditto.
2666 (elmo-folder-flag-as-read): Ditto.
2667 (elmo-folder-unflag-answered): Ditto.
2668 (elmo-folder-flag-as-answered): Ditto.
2670 * elmo-multi.el (elmo-folder-list-importants): Don't call
2671 elmo-folder-list-messages-with-global-mark.
2672 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2673 (elmo-folder-unflag-important): Ditto.
2674 (elmo-folder-flag-as-read): Ditto.
2675 (elmo-folder-unflag-read): Ditto.
2676 (elmo-folder-flag-as-answered): Ditto.
2677 (elmo-folder-unflag-answered): Ditto.
2679 * elmo-msgdb.el (elmo-msgdb-new-mark,
2680 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2681 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2682 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2683 (Moved to modb-legacy.el).
2684 (elmo-flag-table-get): Treat important flag too.
2686 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2688 (elmo-map-folder-flag-as-important): Ditto.
2689 (elmo-map-folder-unflag-read): Ditto.
2690 (elmo-map-folder-flag-as-read): Ditto.
2691 (elmo-map-folder-unflag-answered): Ditto.
2692 (elmo-map-folder-flag-as-answered): Ditto.
2693 (elmo-folder-unflag-important): Ditto.
2694 (elmo-folder-flag-as-important): Ditto.
2695 (elmo-folder-unflag-read): Ditto.
2696 (elmo-folder-flag-as-read): Ditto.
2697 (elmo-folder-unflag-answered): Ditto.
2698 (elmo-folder-flag-as-answered): Ditto.
2700 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2701 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2703 (elmo-map-folder-unflag-important): Ditto.
2704 (elmo-map-folder-flag-as-read): Ditto.
2705 (elmo-map-folder-unflag-read): Ditto.
2706 (elmo-map-folder-flag-as-answered): Ditto.
2707 (elmo-map-folder-unflag-answered): Ditto.
2709 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2710 `elmo-global-flags-set'.
2711 (elmo-global-flags-set): Added autoload setting.
2713 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2716 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2717 `elmo-msgdb-global-mark-set'.
2718 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2719 Call `elmo-global-flags-set'.
2720 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2722 (elmo-folder-flag-as-important-plugged): Ditto.
2723 (elmo-folder-unflag-read-plugged): Ditto.
2724 (elmo-folder-flag-as-read-plugged): Ditto.
2725 (elmo-folder-unflag-answered-plugged): Ditto.
2726 (elmo-folder-flag-as-answered-plugged): Ditto.
2727 (elmo-global-flags-set): Added autoload setting.
2729 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2731 (elmo-folder-unflag-read): Ditto.
2732 (elmo-folder-flag-as-important): Ditto.
2733 (elmo-folder-unflag-important): Ditto.
2734 (elmo-folder-flag-as-answered): Ditto.
2735 (elmo-folder-unflag-answered): Ditto.
2737 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2738 change of `mark'->`flag'.
2739 (elmo-dop-queue-method-name-alist): Ditto.
2740 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2741 (elmo-folder-unflag-read-dop): Ditto.
2742 (elmo-folder-flag-as-important-dop): Ditto.
2743 (elmo-folder-unflag-important-dop): Ditto.
2744 (elmo-folder-flag-as-answered-dop): Ditto.
2745 (elmo-folder-unflag-answered-dop): Ditto.
2747 * elmo-cache.el (elmo-folder-msgdb-create): Call
2748 `elmo-global-flags-set'.
2750 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2751 Call `elmo-global-flags-set'.
2752 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2753 elmo-archive-parse-mmdf with argument `folder'.
2754 (elmo-archive-parse-mmdf): Added argument `folder';
2755 Call `elmo-global-flags-set'.
2757 * elmo-version.el (elmo-version): Up to 2.11.14.
2759 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2761 * modb.el (elmo-msgdb-length): Define.
2763 * elmo.el (elmo-make-folder): Fixed.
2764 (elmo-generic-folder-append-messages): Follow the API change.
2766 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2769 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2771 * modb.el: New file.
2773 * modb-entity.el: Ditto.
2775 * modb-legacy.el: Ditto.
2777 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2778 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2779 of `elmo-msgdb-overview-get-entity'.
2780 (elmo-msgdb-get-field): Ditto.
2781 (elmo-msgdb-merge): Moved to `elmo.el'.
2782 (elmo-msgdb-length): Removed; redefine as modb method.
2783 (elmo-msgdb-change-mark): Abolish.
2784 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2785 (elmo-msgdb-match-condition): Don't use mark.
2786 (elmo-msgdb-overview-get-entity): Abolish.
2787 Split modb part into `modb*.el'.
2789 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2791 * elmo-shimbun.el (shimbun-mua-search-id): Use
2792 `elmo-msgdb-message-entity' instead of
2793 `elmo-msgdb-overview-get-entity'.
2794 (elmo-shimbun-folder-shimbun-header): Ditto.
2795 (elmo-shimbun-get-headers): Ditto.
2796 (elmo-shimbun-update-overview): Ditto.
2798 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2800 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2802 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2803 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2805 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2806 `elmo-msgdb-mark-to-flags'.
2808 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2809 `elmo-msgdb-set-path'.
2811 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2813 * elmo-version.el (elmo-version): Up to 2.11.13.
2815 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2817 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2820 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2822 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2825 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2827 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2828 instead of `elmo-msgdb-get-cached'.
2829 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2831 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2832 (elmo-msgdb-set-cached): Ditto.
2833 (elmo-msgdb-set-flag): Rewrite.
2834 (elmo-msgdb-unset-flag): Ditto.
2836 * elmo-msgdb.el: Rewrite with luna.
2838 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2839 (elmo-folder-msgdb): Follow the change above.
2840 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2841 (elmo-folder-unmark-important): Follow the API change.
2842 (elmo-folder-mark-as-important): Ditto.
2843 (elmo-folder-unmark-read): Ditto.
2844 (elmo-folder-mark-as-read): Ditto.
2845 (elmo-folder-unmark-answered): Ditto.
2846 (elmo-folder-mark-as-answered): Ditto.
2847 (elmo-folder-clear): Likewise.
2849 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2850 instead of `elmo-msgdb-load' (renamed).
2852 * elmo-version.el (elmo-version): Up to 2.11.12.
2854 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2856 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2858 (elmo-message-mark): Abolish.
2859 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2860 instead of `elmo-msgdb-change-mark'.
2862 * elmo-pipe.el (elmo-message-mark): Abolish.
2864 * elmo-multi.el (elmo-message-mark): Ditto.
2866 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2867 (elmo-msgdb-unread-uncached-mark): Ditto.
2868 (elmo-msgdb-unread-cached-mark): Ditto.
2869 (elmo-msgdb-read-uncached-mark): Ditto.
2870 (elmo-msgdb-answered-cached-mark): Ditto.
2871 (elmo-msgdb-answered-uncached-mark): Ditto.
2872 (elmo-msgdb-important-mark): Ditto.
2873 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2875 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2877 (elmo-flag-table-load): Changed flag to list of flag.
2878 (elmo-flag-table-set): If flags is nil, set read flag.
2879 (elmo-flag-table-get): Return derived flags from global mark,
2880 cache status and saved flags.
2881 (elmo-msgdb-flag-table): Follow the change above.
2882 (elmo-msgdb-out-of-date-messages): New function.
2884 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2886 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2888 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2890 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2891 (elmo-nntp-msgdb-create-message): Ditto.
2893 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2895 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2897 (elmo-folder-msgdb-create): Follow the API change.
2899 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2900 (elmo-folder-append-messages): Ditto.
2902 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2903 (elmo-folder-append-buffer): Ditto.
2905 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2907 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2909 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2910 (elmo-archive-parse-mmdf): Ditto.
2912 * elmo-version.el (elmo-version): Up to 2.11.11.
2914 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2916 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2919 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2921 * elmo-pipe.el (elmo-message-flags): Defined.
2923 * elmo-multi.el (elmo-message-flags): Ditto.
2925 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2927 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2928 `elmo-msgdb-delete-msgs'.
2930 * elmo.el (elmo-folder-count-flags): Don't use
2931 `elmo-msgdb-get-mark-alist'.
2932 (elmo-folder-detach-messages): Follow the API change.
2934 * elmo.el (elmo-folder-list-messages): Append killed messages into
2935 result if `visible-only' is nil.
2937 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2939 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2940 (elmo-folder-update-number): Likewise.
2942 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2943 (elmo-pop3-sort-msgdb-by-original-number): Use
2944 `elmo-msgdb-sort-entities'.
2946 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2947 (elmo-msgdb-sort-by-date): Use it.
2948 (elmo-msgdb-overview-sort-by-date): Abolish.
2950 * elmo-dop.el (elmo-folder-status-dop): Fixed.
2952 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
2953 (elmo-msgdb-flags): New function.
2954 (elmo-msgdb-merge): Use elmo-msgdb-append.
2956 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
2959 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2961 * elmo-dop.el (elmo-folder-status-dop): Use
2962 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
2964 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2966 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
2968 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
2970 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
2972 * elmo-util.el (elmo-with-progress-display): New macro.
2974 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
2976 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2978 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2979 `elmo-folder-list-message-entities' instead of
2980 `elmo-msgdb-get-overview'.
2981 (elmo-map-folder-list-message-locations): Ditto.
2983 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
2984 methods instead of treat directly).
2985 (elmo-msgdb-clear): Ditto.
2986 (elmo-msgdb-delete-msgs): Ditto.
2987 (elmo-msgdb-sort-by-date): Ditto.
2989 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
2991 (elmo-nntp-folder-msgdb-create): Follow the API change.
2993 * elmo-version.el (elmo-version): Up to 2.11.10.
2995 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2997 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
2998 (elmo-msgdb-flags-to-mark): Ditto.
2999 (elmo-msgdb-append-entity): Ditto.
3001 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3002 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3003 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3004 (elmo-archive-parse-mmdf): Ditto.
3006 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3008 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3010 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3012 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3014 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3016 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3018 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3020 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3022 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3023 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3026 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3027 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3028 instead of directly construction.
3029 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3030 instead of construct msgdb.
3032 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3033 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3034 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3035 instead of construct msgdb.
3037 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3039 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3040 when field is from or subject.
3042 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3044 * elmo-multi.el (elmo-message-entity-parent): Define.
3045 (elmo-folder-search): Rewrite.
3047 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3049 * elmo-multi.el (elmo-message-cached-p): Define.
3051 * elmo.el (elmo-message-cached-p): New method.
3052 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3053 (elmo-message-flags): New method.
3054 (elmo-message-flagged-p): New function.
3056 * elmo-version.el (elmo-version): Up to 2.11.9.
3058 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3060 * elmo-version.el (elmo-version): Up to 2.11.8.
3062 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3064 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3066 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3068 * elmo.el (elmo-folder-detach-messages): Undo last change.
3070 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3072 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3074 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3075 only when src folder type is pop3.
3077 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3079 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3080 elmo-msgdb-overview-entity-get-number instead of
3081 elmo-message-entity-number.
3083 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3085 * elmo-version.el (elmo-version): Up to 2.11.7.
3087 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3089 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3092 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3093 (elmo-msgdb-merge): New function.
3094 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3095 (elmo-msgdb-make-index): Rewrite.
3097 * elmo-version.el (elmo-version): Up to 2.11.6.
3099 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3100 use it as a the path for loading message entities.
3102 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3104 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3106 * elmo-filter.el (elmo-folder-set-message-modified): Set
3107 message-modified slot of itself if it does not require target msgdb.
3109 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3110 if folder length is zero.
3111 (elmo-mime-display-as-is): Ditto.
3113 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3115 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3117 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3119 * elmo.el (elmo-folder-set-message-modified): New method.
3120 (elmo-generic-folder-commit): Use it.
3121 (elmo-folder-synchronize): Ditto.
3123 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3124 (elmo-folder-commit): Remove duplicate definition.
3126 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3128 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3130 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3132 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3133 (elmo-strict-folder-diff): Ditto.
3134 (elmo-folder-set-info-max-by-numdb): Simplify.
3136 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3137 elmo-msgdb-list-messages.
3139 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3140 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3142 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3144 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3145 visible-only is non-nil.
3146 (elmo-folder-confirm-appends): Changed message.
3147 (elmo-folder-synchronize): Added argument disable-killed.
3149 * elmo-multi.el (elmo-folder-synchronize): Added argument
3152 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3154 * elmo-version.el (elmo-version): Up to 2.11.5.
3156 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3159 * elmo-util.el (elmo-list-filter): Simplify.
3161 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3162 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3163 (elmo-generic-folder-diff): Abolish argument.
3164 (elmo-msgdb-load): Don't use number-alist.
3166 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3168 * elmo-pipe.el (elmo-folder-diff): Ditto.
3170 * elmo-nmz.el (elmo-folder-diff): Ditto.
3172 * elmo-net.el (elmo-folder-diff): Ditto.
3174 * elmo-maildir.el (elmo-folder-diff): Ditto.
3176 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3178 * elmo-multi.el (elmo-folder-diff): Ditto
3179 (elmo-multi-folder-diff): Rewrite.
3181 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3183 * elmo-pipe.el (elmo-folder-msgdb): Define.
3185 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3187 * elmo.el (elmo-message-set-cached): Define as a method.
3189 * elmo-pipe.el (elmo-message-set-cached): Define.
3190 (elmo-find-fetch-strategy): Ditto.
3192 * elmo-multi.el (elmo-message-set-cached): Define.
3193 (elmo-find-fetch-strategy): Rewrite.
3195 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3197 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3199 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3201 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3202 instead of number-alist.
3204 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3205 mark nor message-id when msgdb of source folder is not loaded.
3207 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3209 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3211 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3213 * elmo.el (elmo-folder-length): Don't require msgdb.
3215 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3217 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3218 (elmo-message-field): Ditto.
3220 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3221 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3223 (elmo-map-folder-list-answereds): Define.
3224 (elmo-maildir-list-location): Treat 'R' info.
3225 (elmo-folder-msgdb-create): Treat flag-table.
3226 (elmo-folder-append-messages): Save flag-table.
3228 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3230 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3231 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3233 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3235 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3237 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3238 'read when mark is null.
3240 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3242 * elmo-version.el (elmo-version): Up to 2.11.4.
3244 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3246 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3247 (elmo-folder-mark-as-answered): Ditto.
3249 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3251 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3252 (elmo-pop3-get-session): Make msgdb directory after session.
3253 (elmo-folder-exists-p): Check exactly at the first time even when the
3254 elmo-pop3-exists-exactly is nil.
3256 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3257 (elmo-folder-list-messages): Define instead of
3258 elmo-folder-list-messages-internal.
3259 (elmo-folder-check): Check destination folder.
3260 (elmo-folder-synchronize): Drain the pipe.
3262 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3263 when msgdb is not loaded.
3265 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3267 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3268 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3271 * elmo.el (elmo-folder-kill-messages-before): New function.
3272 (elmo-folder-kill-messages): Ditto.
3273 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3275 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3276 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3277 killed not by synchronize (e.g. scoring).
3279 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3281 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3283 (elmo-folder-search): Follow the change above.
3285 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3286 into the candidates of search field.
3288 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3290 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3291 (elmo-msgdb-unset-flag): Ditto.
3293 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3295 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3297 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3298 (elmo-folder-commit): Define.
3299 (elmo-folder-synchronize): Ditto.
3300 (elmo-folder-list-flagged): Ditto.
3301 (elmo-folder-commit): Ditto.
3302 (elmo-folder-length): Ditto.
3303 (elmo-folder-count-flags): Ditto.
3304 (elmo-message-mark): Ditto.
3305 (elmo-message-field): Ditto.
3306 (elmo-message-entity): Ditto.
3307 (elmo-message-folder): Ditto.
3309 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3311 * elmo.el (elmo-message-field): Define as a method.
3313 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3314 (elmo-message-field): Define.
3316 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3317 (elmo-folder-list-importants): Ditto.
3318 (elmo-folder-list-answereds): Ditto.
3320 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3322 (elmo-folder-mark-as-read): Ditto.
3323 (elmo-folder-unmark-read): Ditto.
3324 (elmo-folder-mark-as-answered): Ditto.
3325 (elmo-folder-unmark-answered): Ditto.
3326 (elmo-folder-list-flagged): Define.
3327 (elmo-folder-commit): Ditto.
3328 (elmo-folder-length): Ditto.
3329 (elmo-folder-count-flags): Ditto.
3331 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3333 * elmo.el (elmo-folder-detach-messages): New method.
3334 (elmo-folder-move-messages): Use it.
3335 (elmo-folder-synchronize): Ditto.
3337 * elmo-multi.el (elmo-folder-detach-messages): Define.
3339 * elmo.el (elmo-message-copy-entity): New function.
3340 (elmo-message-entity-set-number): Ditto.
3341 (elmo-message-mark): Define as method.
3343 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3344 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3345 (elmo-message-entity): Fixed last change.
3346 (elmo-message-mark): Define.
3347 (elmo-folder-msgdb-create): Abolish.
3348 (elmo-multi-folder-append-msgdb): Ditto.
3349 (elmo-multi-folder-diff): Fixed.
3350 (elmo-multi-split-number-alist): Removed.
3351 (elmo-multi-split-mark-alist): Removed.
3352 (elmo-folder-list-messages): Define.
3353 (elmo-folder-list-messages-internal): Removed.
3355 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3356 local file messages.
3357 (elmo-folder-msgdb-create): Fixed read mark.
3359 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3361 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3364 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3366 * elmo.el (elmo-folder-list-message-entities): Define as inline
3368 (elmo-folder-messages): Abolish.
3370 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3372 (elmo-folder-synchronize): Define.
3373 (elmo-message-entity): Define.
3375 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3377 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3378 elmo-imap4-session-select-mailbox.
3380 * elmo.el (elmo-folder-move-messages): Don't display any message.
3382 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3384 (elmo-imap4-session-check): Don't wait CHECK response.
3385 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3387 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3389 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3391 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3393 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3395 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3398 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3399 (elmo-folder-list-message-entities): Added argument in-msgdb and
3401 (elmo-folder-synchronize): Define as a method.
3403 * elmo-nntp.el (elmo-folder-initialize): Don't use
3404 elmo-nntp-default-user if zero-length username is specified
3407 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3409 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3410 server name in case with username.
3411 (XXX: this is ad-hoc fix against username includes "@", it
3412 should be solved fundamentally)
3414 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3416 * elmo-nntp.el (elmo-nntp-debug): New function.
3417 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3418 (elmo-network-authenticate-session): Hide auth-info from the log.
3420 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3421 user name if it is equal to elmo-nntp-default-user.
3423 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3425 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3426 instead of shimbun-server-internal;
3427 Use shimbun-current-group instead of shimbun-current-group-internal.
3428 (elmo-folder-plugged-p): Use shimbun-server instead of
3429 shimbun-server-internal.
3430 (elmo-folder-set-plugged): Ditto.
3431 (elmo-net-port-info): Ditto.
3432 (elmo-folder-check): Ditto.
3433 (elmo-folder-expand-msgdb-path): Ditto.
3434 (elmo-folder-list-subfolders): Ditto.
3436 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3438 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3439 Convert field-name to lower case.
3440 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3442 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3444 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3445 `message' and `error' take format string.
3447 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3449 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3451 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3453 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3454 recursive call (can't byte compile on emacs 20.7).
3456 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3458 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3459 (elmo-folder-list-message-entities): New API.
3460 (elmo-message-entity): Ditto.
3461 (elmo-message-entity-parent): Ditto.
3462 (elmo-folder-do-each-message-entity): Ditto.
3463 (elmo-message-entity-number): Ditto.
3464 (elmo-message-entity-field): Ditto.
3465 (elmo-message-entity-set-field): Ditto.
3466 (elmo-folder-count-flags): Ditto.
3467 (elmo-folder-length): Ditto.
3469 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3472 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3473 (elmo-msgdb-count-marks): Abolish.
3474 (elmo-msgdb-make-entity): Ditto.
3475 (elmo-msgdb-do-each-entity): Ditto.
3476 (elmo-msgdb-message-entity): New inline function.
3477 (elmo-msgdb-message-entity-field): Ditto.
3478 (elmo-msgdb-message-entity-set-field): Ditto.
3479 (elmo-msgdb-make-message-entity): New function.
3481 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3483 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3484 to flag. (All other related portions are changed.)
3485 (elmo-folder-msgdb-create): Likewise.
3486 (elmo-generic-folder-append-messages): Use flag-table instead of
3488 (elmo-folder-move-messages): Removed redundant process.
3489 (elmo-folder-synchronize): Likewise.
3491 * elmo-msgdb.el (elmo-flag-table-get): New function.
3492 (elmo-flag-table-save): Fixed.
3493 (elmo-msgdb-length): New inline function.
3494 (elmo-msgdb-flag-table): New function.
3495 (elmo-msgdb-mark): Add optional argument new.
3496 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3497 (elmo-msgdb-seen-list): Ditto.
3498 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3501 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3503 * elmo.el (elmo-message-set-mark): Abolish.
3504 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3505 (All related portions are changed.)
3507 * elmo-msgdb.el (toplevel): Added comment.
3508 (elmo-load-msgdb): Added 4th element `path'.
3509 (elmo-msgdb-append): Follow the change above.
3510 (elmo-msgdb-clear): Ditto.
3511 (elmo-msgdb-delete-msgs): Ditto.
3512 (elmo-msgdb-get-path): New inline function.
3513 (elmo-msgdb-set-path): Ditto.
3514 (elmo-flag-table-filename): New variable.
3515 (elmo-flag-table-load): New function.
3516 (elmo-flag-table-set): Ditto.
3517 (elmo-flag-table-save): Ditto.
3518 (elmo-msgdb-get-field-value): Abolish.
3519 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3521 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3523 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3524 the folder has been deleted successfully.
3525 * elmo-imap4.el (elmo-folder-delete): Ditto.
3526 * elmo-archive.el (elmo-folder-delete): Ditto.
3527 * elmo-localdir.el (elmo-folder-delete): Ditto.
3528 * elmo-maildir.el (elmo-folder-delete): Ditto.
3530 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3532 * elmo-util.el (elmo-string-member-ignore-case): New function.
3533 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3534 (elmo-imap4-fetch-callback-1-subr): Likewise.
3536 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3538 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3539 the case of the name attribute "\Noselect".
3541 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3543 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3545 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3546 flist, is not always a member of onum-alist.
3548 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3550 * elmo-version.el (elmo-version): Up to 2.11.3.
3552 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3554 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3555 copied from localdir's one.
3557 * elmo-pipe.el (elmo-folder-rename): New method, rename
3558 destination folder with leaving source folder as it is.
3560 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3562 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3565 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3567 * elmo-version.el (elmo-version): Up to 2.11.2.
3569 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3571 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3572 shimbun-open in case of "@".
3573 (elmo-folder-open-internal): Cope with shimbun = nil case.
3574 (elmo-folder-plugged-p): Ditto.
3575 (elmo-folder-list-subfolders): Make list for "@/" group.
3577 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3579 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3580 mailbox (e.g. for %~/something).
3582 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3584 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3585 Replace nested conditional with guard clauses.
3587 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3589 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3592 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3595 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3597 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3598 Replace nested conditional with guard clauses.
3600 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3602 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3603 (elmo-passwd-alist-save): Ditto.
3604 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3606 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3608 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3609 dir-name only if it is absolute path.
3610 (TODO: distinguish +/something and +something)
3612 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3614 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3615 path for "+~/something".
3617 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3619 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3620 as non-directory, cause error before rename-file.
3621 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3622 apropriately, mimic localdir's one.
3623 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3625 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3627 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3629 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3631 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3633 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3635 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3636 is included in the global-mark or not.
3638 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3640 * utf7.el (toplevel): Avoid error when the function
3641 find-coding-system does not exist.
3643 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3645 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3646 cache even if the folder is plugged.
3647 (elmo-nntp-search-primitive): Do nothing when body search is
3648 invoked (although it is not used by the change above).
3649 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3651 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3653 * elmo-version.el (elmo-version): Up to 2.11.1.
3655 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3657 * elmo-archive.el: Specify charset.
3659 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3661 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3662 process buffer lives or not.
3664 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3665 while flushing queues (It causes infinite loop).
3667 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3669 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3671 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3673 * utf7.el (toplevel): Check the ucs features dynamically.
3674 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3676 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3677 folder is creatabe or not if it already exists.
3679 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3681 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3683 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3685 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3686 (elmo-imap4-read-response): Take care of garbage response.
3688 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3690 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3691 just return nil instead of error.
3693 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3695 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3696 search-key is "body".
3698 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3700 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3701 of elmo-string-matched-assoc to use match-data.
3702 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3704 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3706 * elmo-split.el (elmo-split->): New function.
3707 (elmo-split-<): Ditto.
3709 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3711 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3712 workaround for invalid message-id.
3714 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3716 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3717 return normal pop3 session or pop3 biff session.
3719 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3721 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3722 info part to the cur files when the new files already have it.
3723 (Adviced by Jared Rhine <jared@wordzoo.com>)
3725 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3727 * elmo-split.el (elmo-split-default-action): New variable.
3728 (elmo-split-subr): Use it if all other conditions are passed.
3729 Extend `fname' and rename it as `action'. (implemented
3730 Teranishi-san's idea in [wl:10800])
3732 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3734 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3735 * elmo-util.el: Ditto.
3737 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3739 * elmo.el (elmo-message-accessible-p): Renamed from
3740 elmo-message-cached-p and rewritten.
3742 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3744 * elmo.el (elmo-folder-list-flagged): New generic function.
3745 (elmo-folder-list-importants): New implementation.
3746 (elmo-folder-list-answereds): Ditto.
3747 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3749 (elmo-message-cached-p): New function.
3750 (elmo-message-set-flag): Ditto (no content).
3751 (elmo-message-unset-flag): Ditto.
3752 (elmo-folder-list-messages-mark-match): Abolish.
3754 * elmo-util.el (elmo-regexp-opt): New function.
3756 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3757 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3759 (elmo-msgdb-list-flagged): New function.
3761 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3762 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3765 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3767 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3769 * elmo-version.el (elmo-version): Up to 2.11.0.
3771 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3773 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3774 `elmo-file-cache-exists-p'; use proper mark that depends on
3776 (elmo-msgdb-unset-flag): Ditto.
3777 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3779 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3780 with 4th argument `use-cache'.
3782 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3784 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3785 (elmo-folder-mark-as-important): Ditto.
3786 (elmo-folder-unmark-read): Ditto.
3787 (elmo-folder-mark-as-read): Ditto.
3788 (elmo-folder-unmark-answered): Ditto.
3789 (elmo-folder-mark-as-answered): Ditto.
3791 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3793 (elmo-msgdb-mark): Likewise.
3794 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3795 (elmo-msgdb-unset-flag): Likewise.
3797 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3799 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3801 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3804 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3806 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3807 set spool-length to 0.
3809 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3811 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3812 (elmo-dop-queue-flush): Fixed last change.
3814 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3816 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3817 if require-msgdb slot is nil.
3818 (elmo-folder-list-importants): Likewise.
3820 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3822 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3825 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3826 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3829 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3831 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3833 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3835 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3837 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3839 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3841 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3842 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3844 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3846 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3847 the problem reported by Sean Rima [wl-en:180].
3849 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3851 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3853 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3855 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3857 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3859 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3861 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3863 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3865 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3867 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3870 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3872 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3873 (elmo-folder-mark-as-read): Follow the API change.
3874 (elmo-message-set-cached): New function.
3876 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3878 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3880 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3881 (elmo-folder-mark-as-important): Ditto.
3882 (elmo-folder-unmark-read): Ditto.
3883 (elmo-folder-mark-as-read): Ditto.
3884 (elmo-folder-unmark-answered): Ditto.
3885 (elmo-folder-mark-as-answered): Ditto.
3887 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3888 (elmo-folder-unmark-important): Ditto.
3889 (elmo-folder-mark-as-read): Ditto.
3890 (elmo-folder-unmark-read): Ditto.
3891 (elmo-folder-mark-as-answered): Ditto.
3892 (elmo-folder-unmark-answered): Ditto.
3894 * elmo-mark.el (toplevel): Removed some mark method definitions.
3896 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3897 (elmo-map-folder-mark-as-answered): Ditto.
3898 (elmo-folder-unmark-important): Add :before qualifier.
3899 (elmo-folder-mark-as-important): Ditto.
3900 (elmo-folder-unmark-read): Ditto.
3901 (elmo-folder-mark-as-read): Ditto.
3902 (elmo-folder-unmark-answered): Define.
3903 (elmo-folder-mark-as-answered): Ditto.
3905 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3906 (elmo-map-folder-unmark-answered): Ditto.
3908 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3910 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3911 (elmo-folder-mark-as-important): Ditto.
3912 (elmo-folder-unmark-read): Ditto.
3913 (elmo-folder-mark-as-read): Ditto.
3914 (elmo-folder-unmark-answered): Ditto.
3915 (elmo-folder-mark-as-answered): Ditto.
3917 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3918 `mark'; evaluate mark condition.
3919 (elmo-msgdb-match-condition-internal): New function.
3920 (elmo-msgdb-match-condition): Call it; changed argument.
3922 * elmo.el (elmo-folder-search): Follow the API change on
3923 `elmo-msgdb-match-condition'.
3925 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3927 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3928 original mark is non-nil.
3930 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3932 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3933 (elmo-map-folder-list-answereds): New method.
3934 (elmo-folder-list-unreads): Add :around qualifier.
3935 (elmo-folder-list-importants): Ditto.
3936 (elmo-folder-list-answereds): Ditto.
3938 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3940 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3942 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3943 method if msgdb is not required.
3944 (elmo-filter-folder-list-importants): Don't treat global-mark.
3946 * elmo.el (elmo-folder-list-importants): Ditto.
3948 * elmo-net.el (elmo-folder-list-importants): Ditto.
3950 * elmo-map.el (elmo-folder-list-importants): Ditto.
3952 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
3954 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
3955 (elmo-imap4-folder-list-any-plugged): New function.
3956 (elmo-imap4-search-internal-primitive): Use it.
3958 * elmo-filter.el (elmo-folder-check): Synchronize original folder
3959 only when require-msgdb slot is non-nil.
3960 (elmo-folder-close): Clear target folder's msgdb.
3962 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
3964 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
3965 (elmo-pop3-msgdb-create-by-header): Ditto.
3966 (elmo-pop3-msgdb-create-message): Ditto.
3968 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3970 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3972 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3974 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3975 (elmo-folder-msgdb-create): Ditto.
3976 (elmo-nntp-folder-msgdb-create): Ditto.
3977 (elmo-nntp-msgdb-create-by-header): Ditto.
3978 (elmo-nntp-msgdb-create-message): Ditto.
3979 (elmo-folder-list-unreads): Define.
3981 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
3982 (elmo-folder-append-messages): Ditto.
3983 (elmo-folder-list-unreads): Define.
3984 (elmo-folder-list-importants): Ditto.
3985 (elmo-folder-list-answereds): Ditto.
3987 * elmo-net.el (elmo-folder-list-unreads): Define.
3988 (elmo-folder-list-importants): Ditto.
3989 (elmo-folder-list-answereds): Ditto.
3990 (elmo-folder-list-answereds-plugged): Ditto.
3991 (elmo-folder-msgdb-create): Follow the API change.
3992 (elmo-folder-msgdb-create-unplugged): Ditto.
3993 (elmo-folder-unmark-answered): Define.
3994 (elmo-folder-mark-as-answered-unplugged): Ditto.
3995 (elmo-folder-unmark-answered-unplugged): Ditto.
3997 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
3998 (elmo-msgdb-unread-uncached-mark): Ditto.
3999 (elmo-msgdb-unread-cached-mark): Ditto.
4000 (elmo-msgdb-read-uncached-mark): Ditto.
4001 (elmo-msgdb-answered-cached-mark): Ditto.
4002 (elmo-msgdb-answered-uncached-mark): Ditto.
4003 (elmo-msgdb-important-mark): Ditto.
4004 (elmo-msgdb-set-mark): Rewrite.
4005 (elmo-msgdb-count-marks): Rewrite.
4006 (elmo-msgdb-mark-alist-set): Abolish.
4007 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4008 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4010 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4011 (elmo-folder-close): Define.
4012 (elmo-folder-msgdb-create): Follow the API change.
4013 (elmo-folder-list-unreads): Rewrite.
4014 (elmo-folder-mark-as-important): Ditto.
4015 (elmo-folder-unmark-important): Ditto.
4016 (elmo-folder-mark-as-read): Ditto.
4017 (elmo-folder-unmark-read): Ditto.
4018 (elmo-folder-mark-as-answered): Define.
4019 (elmo-folder-unmark-answered): Ditto.
4021 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4022 (elmo-folder-append-messages): Ditto.
4024 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4026 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4027 (elmo-folder-list-importants): Ditto.
4029 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4030 (elmo-folder-append-messages): Ditto.
4032 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4034 (elmo-folder-msgdb-create-plugged): Ditto.
4035 (elmo-folder-append-messages): Ditto.
4036 (elmo-folder-list-answereds-plugged): Define.
4037 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4038 (elmo-folder-unmark-answered-plugged): Define.
4039 (elmo-folder-mark-as-answered-plugged): Ditto.
4040 (elmo-folder-search-requires-msgdb-p): Ditto.
4042 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4043 (elmo-folder-initialize): Set it.
4044 (elmo-folder-msgdb): Define.
4045 (elmo-folder-check): Call elmo-folder-synchronize.
4046 (elmo-folder-close): Define.
4047 (elmo-folder-commit): Ditto.
4048 (elmo-folder-msgdb-create): Rewrite.
4049 (elmo-folder-list-unreads): Ditto.
4050 (elmo-folder-list-importants): Ditto.
4051 (elmo-folder-mark-as-read): Ditto.
4052 (elmo-folder-unmark-read): Ditto.
4053 (elmo-folder-mark-as-important): Ditto.
4054 (elmo-folder-unmark-important): Ditto.
4055 (elmo-folder-mark-as-answered): Define.
4056 (elmo-folder-unmark-answered): Ditto.
4058 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4059 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4060 (elmo-dop-queue-method-name-alist): Likewise.
4061 (elmo-folder-mark-as-answered-dop): New inline function.
4062 (elmo-folder-unmark-answered-dop): Ditto.
4063 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4065 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4066 (elmo-folder-msgdb-create): Ditto.
4067 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4068 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4069 (elmo-archive-parse-mmdf): Ditto.
4071 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4072 (elmo-folder-list-unreads-internal): Ditto.
4074 * elmo.el (elmo-folder-msgdb): Define as generic function.
4075 (elmo-folder-list-messages): Added argument `in-msgdb'.
4076 (elmo-folder-list-unreads): Define as generic function.
4077 (elmo-folder-list-importants): Ditto.
4078 (elmo-folder-list-answereds): Ditto.
4079 (elmo-folder-list-messages-with-global-mark): New function.
4080 (elmo-folder-msgdb-create): Removed mark arguments.
4081 (elmo-folder-unmark-answered): New generic function.
4082 (elmo-folder-mark-as-answered): Ditto.
4083 (elmo-folder-append-messages): Removed argunment `unread-marks'
4084 (elmo-folder-list-unreads-internal): Abolish.
4085 (elmo-folder-list-importants-internal): Ditto.
4086 (elmo-folder-search-requires-msgdb-p): New generic function.
4087 (elmo-folder-search-requires-msgdb-p-internal): New function.
4088 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4090 (elmo-folder-search-fast): Added key 'mark'.
4091 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4092 instead of unread-marks argument.
4093 (elmo-folder-move-messages): Removed argunment `unread-marks'
4094 (elmo-folder-unmark-important): Define.
4095 (elmo-folder-mark-as-important): Ditto.
4096 (elmo-folder-unmark-read): Ditto.
4097 (elmo-folder-mark-as-read): Ditto.
4098 (elmo-folder-unmark-answered): Ditto.
4099 (elmo-folder-mark-as-answered): Ditto.
4100 (elmo-folder-replace-marks): Abolish.
4101 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4103 (elmo-folder-synchronize): Removed mark arguments;
4104 return crosspost only number.
4106 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4108 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4109 Remove redundunt connectivity check.
4111 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4113 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4114 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4116 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4118 * pldap.el (ldap-decode-string): Return string as-is if
4119 `ldap-coding-system' is nil.
4120 (ldap-encode-string): Ditto.
4121 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4122 (ldap-default-host): Fixed docstring.
4124 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4126 * elmo-util.el (elmo-warning): Define as a macro which uses
4127 `display-warning' if it is defined as a function.
4129 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4130 (elmo-split-equal): Use it.
4131 (elmo-split-match): Ditto.
4132 (elmo-split-message-entity): New buffer-local variable.
4133 (elmo-split-subr): Set it.
4135 * elmo-version.el (elmo-version): Up to 2.9.15.
4137 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4139 * elmo-imap4.el (elmo-network-initialize-session):
4140 Check capability after starttls.
4142 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4144 * elmo-util.el (elmo-list-delete): Added optional argument
4147 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4149 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4151 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4153 * elmo-imap4.el (elmo-folder-initialize): Don't use
4154 elmo-imap4-default-mailbox.
4156 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4158 * elmo-split.el (toplevel): Use `product-provide'.
4159 (elmo-split): Checkdoc.
4161 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4163 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4164 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4165 the function `elmo-imap4-debug-1'.
4167 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4169 * elmo-split.el (elmo-split): Moved to run hooks and to show
4170 message from elmo-split-subr.
4171 (elmo-split-subr): Follow the change above.
4173 * elmo-split.el (elmo-split-subr): New function (renamed from
4175 (elmo-split): Changed to call elmo-split-subr by element of
4177 (elmo-split-folder): Changed customization type to choice.
4179 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4181 * elmo-split.el (elmo-split-and): Fixed condition.
4183 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4185 * elmo-split.el: New file.
4186 (elmo-split): Fixed logic.
4187 Display "Test:" instead of "Folder:" when reharsal.
4189 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4192 * elmo-version.el (elmo-version): Up to 2.9.14.
4194 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4197 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4199 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4200 message with no message-id field.
4202 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4204 * elmo-version.el (elmo-version): Up to 2.9.13.
4206 * elmo-dop.el (elmo-folder-status-dop): Fix.
4208 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4210 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4212 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4213 changing default value of default-mime-charset.
4214 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4216 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4218 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4219 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4220 instead of elmo-dop-queue-method-name-alist to check merging queue.
4221 (elmo-folder-delete-messages-dop): Delete from queue if negative
4223 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4224 file is already removed.
4226 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4228 * elmo-vars.el: Bind colon keywords for old Emacsen.
4230 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4232 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4233 against non-exsisting charset.
4235 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4237 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4238 Use eword-decode-and-unfold-unstructured-field-body.
4240 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4241 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4242 exists to decode raw subject string.
4243 (toplevel): Require 'mime.
4245 * elmo-version.el (elmo-version): Up to 2.9.12.
4247 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4249 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4250 (elmo-msgdb-set-mark): Ditto.
4252 * elmo-version.el (elmo-version): Up to 2.9.11.
4254 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4256 * elmo-util.el (elmo-delete-match-files): New function.
4258 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4259 instead of elmo-delete-directory.
4261 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4262 elmo-hash-minimun-size as 63.
4264 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4265 elmo-diff-unread is nil.
4267 * elmo-imap4.el (elmo-folder-open): Fix.
4269 * elmo.el (elmo-message-mark): Rewrite.
4270 (elmo-message-field): Ditto.
4271 (elmo-message-set-mark): Ditto.
4272 (elmo-folder-replace-marks): New function.
4273 (elmo-generic-folder-append-msgdb): Removed third argument for
4275 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4276 (elmo-msgdb-load): New implementation.
4278 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4280 * elmo-util.el (elmo-list-insert): New implementation.
4282 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4283 argument for elmo-msgdb-append.
4286 * elmo-msgdb.el (elmo-load-msgdb): New function.
4287 (elmo-make-msgdb): Ditto.
4288 (elmo-msgdb-get-index): New inline function.
4289 (elmo-msgdb-set-index): Ditto.
4290 (elmo-msgdb-get-entity-hashtb): Ditto.
4291 (elmo-msgdb-get-mark-hashtb): Ditto.
4292 (elmo-msgdb-get-mark): Ditto.
4293 (elmo-msgdb-set-mark): Ditto.
4294 (elmo-msgdb-count-marks): Ditto.
4295 (elmo-msgdb-get-number): Ditto.
4296 (elmo-msgdb-get-field): Ditto.
4297 (elmo-msgdb-seen-list): Ditto.
4298 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4299 (elmo-msgdb-delete-msgs): Follow the changes above.
4300 (elmo-msgdb-overview-get-entity): Ditto.
4301 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4302 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4304 (elmo-msgdb-make-index): Likewise.
4305 (elmo-msgdb-append): Removed third argument.
4306 (elmo-msgdb-clear): Clear index as nil.
4307 (elmo-folder-set-info-hashtb): Removed.
4308 (elmo-folder-set-info-max-by-numdb): Ditto.
4309 (elmo-folder-info-make-hashtb): Ditto.
4311 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4313 * elmo-map.el (elmo-folder-pack-number): Ditto.
4315 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4317 * elmo-version.el (elmo-version): Up to 2.9.10.
4319 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4321 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4323 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4325 * elmo-utils.el (elmo-make-directory): Add option.
4326 Default file mode is 700.
4328 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4330 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4332 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4334 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4337 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4340 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4342 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4343 (elmo-shimbun-folder-entity-hash): New function.
4344 (elmo-shimbun-folder-shimbun-header): Ditto.
4345 (elmo-shimbun-entity-to-header): Ditto.
4346 (elmo-shimbun-msgdb-to-headers): Removed.
4347 (elmo-shimbun-folder-setup): Ditto.
4348 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4350 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4351 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4352 Removed useless local bind.
4353 (elmo-folder-open-internal): Don't call
4354 `elmo-shimbun-folder-setup'.
4355 (elmo-folder-close-internal): Clear entity-hash slot.
4356 (elmo-folder-clear): Ditto.
4357 (elmo-shimbun-msgdb-create-entity): Use
4358 `elmo-shimbun-folder-shimbun-header'.
4359 (elmo-map-message-fetch): Ditto.
4360 (elmo-shimbun-update-overview): Use overview entity instead of
4361 shimbun header to lookup id by references.
4362 (elmo-map-folder-list-message-locations): Use not only headers but
4363 also overviews to list locations.
4365 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4367 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4370 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4372 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4374 * elmo-util.el (elmo-read-search-condition-internal): Give default
4377 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4379 * elmo-util.el (elmo-condition-parse-search-value): Accept
4380 YYYY-MM-DD format to search.
4381 * elmo-date.el (elmo-date-get-datevec): Likewise.
4383 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4385 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4388 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4390 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4393 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4395 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4396 case from `elmo-folder-exists-p'.
4397 (elmo-folder-exists-p): Removed.
4398 (elmo-folder-creatable-p) Ditto.
4400 * elmo-net.el (elmo-folder-create): Defined.
4401 (elmo-folder-create-unplugged): New function.
4402 (elmo-folder-exists-p): Changed default value to nil from t.
4404 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4405 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4407 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4408 `elmo-create-folder-dop' and append queue
4409 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4410 (elmo-folder-create-dop-delayed): New function.
4412 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4414 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4416 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4417 (elmo-folder-writable-p) : Ditto.
4419 * elmo-version.el (elmo-version): Up to 2.9.9.
4421 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4423 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4424 `elmo-message-use-cache-p' returns nil.
4425 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4426 (ignore cache file and refer the substance in local folders)
4428 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4430 * elmo-version.el (elmo-version): Up to 2.9.8.
4432 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4434 * elmo-version.el (elmo-version): Up to 2.9.7.
4436 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4438 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4440 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4442 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4444 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4446 (elmo-map-folder-list-message-locations): Reverse location list.
4448 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4450 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4452 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4454 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4456 (elmo-nntp-folder-list-subfolders): Follow the change above.
4458 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4460 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4461 name if authentication type is specified.
4463 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4465 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4467 (elmo-default-nntp-stream-type): Ditto.
4468 (elmo-default-pop3-stream-type): Ditto.
4470 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4472 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4474 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4476 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4478 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4480 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4481 (elmo-maildir-folder-path): Ditto.
4482 (elmo-maildir-list): Ditto (abolished).
4484 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4486 * elmo-version.el (elmo-version): Up to 2.9.6.
4488 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4490 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4491 (elmo-maildir-folder-path): Ditto.
4492 (elmo-msgdb-directory): Ditto.
4493 (elmo-passwd-life-time): Ditto.
4494 (elmo-msgdb-extra-fields): Ditto.
4495 (elmo-enable-disconnected-operation): Ditto.
4497 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4499 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4501 (elmo-pop3-default-authenticate-type): Ditto.
4503 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4505 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4507 (elmo-pop3-default-authenticate-type): Ditto.
4509 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4511 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4512 mailbox to new-folder.
4514 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4516 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4517 less than new, set new as unread.
4519 * elmo-util.el (elmo-string): Don't put text-property if nil.
4521 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4523 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4524 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4526 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4528 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4529 is nil on `completing-read'.
4531 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4533 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4535 (elmo-imap4-parse-namespace-subr): Ditto.
4536 (elmo-folder-list-subfolders): Append a delimiter when the specified
4537 folder path is a root with namespace and does not end with delimiter.
4539 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4541 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4544 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4546 * elmo-util.el (elmo-save-buffer): The first argument of message
4547 is a format control string.
4549 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4551 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4552 `elmo-folder-diff').
4553 (elmo-diff-unread): Likewise.
4555 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4557 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4558 is t on `completing-read'.
4560 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4562 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4563 method of target folder with self mark-alist if MARK-ALIST is nil.
4565 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4567 * elmo-version.el (elmo-version): Up to 2.9.5.
4569 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4571 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4572 (elmo-dop-merge-funcs): Remove.
4574 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4576 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4577 Return t if PATH is directory, too.
4578 Use `dolist' instead of while loop.
4580 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4582 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4585 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4587 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4589 (elmo-folder-list-messages-unplugged): Return t if
4590 elmo-enable-disconnected-operation is nil.
4592 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4593 `elmo-folder-list-messages-internal'.
4595 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4597 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4598 Change to looking-at `[23][0-9]+'.
4599 (elmo-network-initialize-session): Use 'error-msg'
4600 * elmo-net.el (elmo-network-open-session): Set unplugged
4601 if elmo-network-initialize-session returns 'elmo-open-err.
4603 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4605 * elmo-version.el (elmo-version): Up to 2.9.4.
4607 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4609 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4610 `elmo-folder-list-messages-internal'.
4612 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4614 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4615 (elmo-message-match-condition): New method.
4616 (elmo-folder-search-fast): New inline function.
4617 (elmo-msgdb-search): Removed.
4619 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4620 target folder if it is unplugged.
4621 (elmo-folder-list-messages-internal): Return t if target folder is
4622 unplugged and itself is persistent; In this case, use list be
4625 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4626 (elmo-msgdb-search-internal-primitive): Ditto.
4627 (elmo-msgdb-match-condition): New function.
4628 (elmo-msgdb-match-condition-primitive): Ditto.
4630 * elmo-util.el (elmo-filter-condition-p): New macro.
4632 * elmo-cache.el (elmo-folder-search): Removed.
4634 * elmo-localdir.el (elmo-folder-search): Ditto.
4636 * elmo-maildir.el (elmo-folder-search): Ditto.
4638 * elmo-mark.el (elmo-folder-search): Ditto.
4640 * elmo-nmz.el (elmo-folder-search): Ditto.
4642 * elmo-sendlog.el (elmo-folder-search): Ditto.
4644 * elmo-shimbun.el (elmo-folder-search): Ditto.
4646 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4647 if folder is unplugged.
4649 * elmo-nntp.el (elmo-folder-search): Likewise.
4650 (elmo-nntp-search-internal): New function.
4652 * elmo-version.el (elmo-version): Up to 2.9.3.
4654 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4656 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4658 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4660 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4662 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4664 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4666 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4668 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4669 (elmo-map-folder-list-message-locations): Do drive letter conversion
4670 on Windows environment.
4671 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4672 (elmo-map-message-fetch): Ditto.
4674 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4676 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4677 (elmo-network-initialize-session): Ditto.
4679 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4681 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4683 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4685 * elmo-util.el (elmo-progress-clear): Ditto.
4687 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4688 `DD-Mon-YYYY' type date.
4690 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4692 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4693 `elmo-date-make-sortable-string' instead of
4694 `timezone-make-date-sortable'.
4696 * elmo-date.el (elmo-date-make-sortable-string): Use
4697 `timezone-make-time-string'.
4699 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4701 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4703 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4704 `since'; Fix timezone.
4706 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4708 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4710 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4712 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4714 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4716 * elmo.el (elmo-generic-folder-append-messages): Make
4717 fetch-strategy with `use-cache' as 'maybe. Check return value of
4718 `elmo-message-fetch'.
4719 (elmo-message-fetch): Return return value of
4720 `elmo-message-fetch-with-cache-process'.
4721 (elmo-message-fetch-with-cache-process): Return non-nil if
4722 fetching was succeed. Load cache when fetching was failed and
4723 fetch-strategy-use-cache is 'maybe.
4725 * elmo-util.el (elmo-file-cache-load): New function.
4727 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4730 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4731 non-nil if fetching was succeed.
4733 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4735 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4737 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4738 (elmo-message-fetch-with-cache-process): Likwise.
4740 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4742 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4744 * elmo-version.el (elmo-version): Up to 2.9.2.
4746 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4748 * elmo.el (elmo-folder-delete): Delete msgdb path.
4750 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4752 * elmo-maildir.el (elmo-folder-delete): Ditto.
4754 * elmo-localdir.el (elmo-folder-delete): Ditto.
4756 * elmo-imap4.el (elmo-folder-delete): Ditto.
4758 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4760 * elmo.el (luna-define-class): Added `biff' slot.
4762 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4763 (elmo-pop3-debug-inhibit-logging): Abolished.
4764 (elmo-network-close-session): Eliminated needless let.
4765 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4766 (elmo-pop3-send-command): Added `no-log' argument.
4767 (elmo-pop3-process-filter): Use `with-current-buffer'.
4768 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4770 (elmo-pop3-auth-apop): Likewise.
4771 (elmo-network-authenticate-session): Likewise.
4773 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4776 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4777 string to determine protocol.
4778 (elmo-network-session-name-prefix): Abolished.
4779 (elmo-network-session-cache-key): Follow the change above.
4780 (elmo-network-open-session): Ditto.
4782 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4783 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4785 * elmo-version.el (elmo-version): Up to 2.9.1.
4787 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4788 unmatch condition checking.
4790 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4793 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4795 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4797 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4799 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4800 test for while loop to execute at least one SEARCH command.
4802 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4804 * elmo-version.el (elmo-version): Up to 2.9.0.
4806 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4808 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4809 (elmo-archive-folder-path): Define.
4810 (elmo-folder-initialize): Setup `dir-name' slot.
4811 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4812 Use `dir-name' as prefix of each subfolders.
4813 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4815 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4817 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4818 (elmo-pipe-folder-list-target-messages): New internal function.
4819 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4821 (elmo-pipe-folder-copied-list-load): New function.
4822 (elmo-pipe-folder-copied-list-save): Ditto.
4823 (elmo-folder-open-internal): Follow the change above.
4824 (elmo-folder-status): Fixed for copy.
4826 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4828 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4830 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4832 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4833 elmo-copy-file instead of elmo-add-name-to-file.
4835 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4837 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4840 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4841 of accept-process-output as 1.
4842 (elmo-pop3-read-contents): Ditto.
4843 (elmo-pop3-read-body): Ditto.
4845 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4847 * elmo-version.el (product-version-as-string): Remove define.
4849 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4851 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4852 (elmo-imap4-copy-messages): Chop number set using
4853 `elmo-imap4-number-set-chop-length'.
4854 (elmo-imap4-set-flag): Ditto.
4855 (elmo-imap4-search-internal-primitive): Ditto.
4857 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4859 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4860 `elmo-folder-make-temp-dir'
4862 * elmo-vars.el (elmo-cache-directory): New variable.
4863 (elmo-cache-dir): Abolished.
4864 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4866 * elmo-version.el (elmo-version): Up to 2.7.7.
4868 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4870 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4871 defcustom; Set default value as t.
4873 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4875 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4876 (ldap-search-program-arguments): Changed default value.
4877 (ldap-search-basic): Accept exit status 4.
4878 (ldap/field-body): Parse options.
4879 (ldap/collect-field): Ditto.
4880 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4882 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4883 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4884 (elmo-imap4-accept-ok): Ditto.
4885 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4886 'notify-bye, only BYE error is reported.
4887 (elmo-folder-exists-p-plugged): Set no-error argument of
4888 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4890 * elmo.el (elmo-imap4-bye-error): Changed message.
4892 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4893 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4894 queues (It causes infinite loop).
4896 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4898 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4899 (RECENT UNSEEN MESSAGES) extension.
4901 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4903 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4904 Check number of overview fields.
4906 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4908 * elmo.el (elmo-folder-confirm-appends): Changed message.
4909 (elmo-folder-confirm-appends): Ditto.
4911 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4913 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4915 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4917 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4918 of elmo-folder-update-threshold is nil, which can be set by
4919 wl-summary-update-confirm-threshold.
4921 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4923 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4924 (elmo-nmz-index-alias-alist): Ditto.
4925 (elmo-map-folder-list-message-locations): Follow the change above.
4927 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4929 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4931 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4933 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4935 * elmo-util.el (elmo-read): Ditto.
4936 (elmo-display-error): Ditto.
4938 * elmo-vars.el (elmo-date-match): Ditto.
4940 * pldap.el (ldap-coding-system): Ditto.
4942 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4943 `elmo-inhibit-number-mapping' as nil.
4945 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4947 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
4948 space delimiter for list response.
4950 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4952 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
4954 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4956 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
4957 (elmo-map-message-fetch): Fix.
4958 * elmo-map.el (elmo-folder-status): Fix for killed.
4960 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4962 * elmo-sendlog.el: New file.
4963 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
4965 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
4967 * acap.el (acap-logging-out): New buffer local variable.
4968 (acap-close): Set it.
4969 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
4972 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4974 * acap.el (acap-response-bye-p): New function.
4975 (acap-response-bye-message): Ditto.
4976 (acap-wait-for-response): If bye response is received, cause an error.
4977 (acap-parse-response): Make bye response when 'Bye' is received.
4979 2001-11-23 Kenichi OKADA <okada@opaopa.org>
4981 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4983 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4985 * elmo-util.el (elmo-copy-file): Added argument
4986 `ok-if-already-exists'.
4987 (elmo-copy-file): Fixed typo.
4989 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4991 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4993 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4995 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
4997 2001-11-20 Kenichi OKADA <okada@opaopa.org>
4999 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5002 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5004 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5005 (elmo-folder-initialize): Fix for `copy'.
5006 (elmo-pipe-drain): Ditto.
5007 (elmo-folder-open-internal): Ditto.
5008 (elmo-folder-newsgroups): Fix.
5010 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5012 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5015 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5016 recent value is returned from imap folder.
5018 * elmo.el (elmo-folder-newsgroups): New generic function.
5020 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5021 (elmo-folder-initialize): Set it.
5022 (elmo-folder-expand-msgdb-path): Use it.
5023 (elmo-folder-newsgroups): Define.
5025 * elmo-filter.el (elmo-folder-newsgroups): Define.
5027 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5029 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5031 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5033 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5035 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5037 (elmo-shimbun-header-extra-field): New inline function.
5038 (elmo-shimbun-header-set-extra-field): Ditto.
5039 (elmo-shimbun-folder-header-hash-setup): Ditto.
5040 (elmo-shimbun-update-overview): Ditto.
5041 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5042 (elmo-shimbun-folder-setup): Use
5043 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5044 (elmo-shimbun-get-headers): Ditto.
5045 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5046 Insert `X-Shimbun-Id:' header if extra field is set.
5047 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5048 field's value instead of `shimbun-header-id'.
5050 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5052 (elmo-msgdb-overview-entity-set-date): Ditto.
5053 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5055 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5057 * mmimap.el (mmimap-entity-section): Changed body node number from
5060 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5062 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5063 `elmo-folder-delete-messages'.
5065 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5066 (elmo-folder-initialize): Changed to expand alias into index path.
5068 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5069 `elmo-mime-insert-header-from-buffer' with 6th arg
5072 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5074 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5076 * elmo.el (elmo-diff-new): New inline function.
5077 (elmo-diff-unread): Ditto.
5078 (elmo-diff-all): Ditto.
5080 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5081 value from responseb.
5082 (elmo-imap4-folder-diff-plugged): Ditto.
5083 (elmo-imap4-server-diff-async): Added recent argument.
5084 (elmo-server-diff-async): Ditto.
5085 (elmo-imap4-folder-diff-plugged): Ditto.
5087 * elmo-version.el (elmo-version): Up to 2.7.6.
5089 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5091 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5094 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5096 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5098 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5100 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5102 * elmo-multi.el (elmo-folder-initialize): Ditto.
5104 * elmo-util.el (elmo-parse-token): New function.
5105 (elmo-parse-prefixed-element): Ditto.
5107 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5109 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5111 (elmo-imap4-accept-ok): Ditto.
5113 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5115 * mmimap.el (mime-imap-entity-header-string): Don't check first
5116 element of node-id is `0' (Follow last change).
5118 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5120 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5121 assigned irregular node-id to nested multipart section.
5122 (initialize-instance): Followed above change.
5124 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5126 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5127 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5128 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5129 `elmo-shimbun-get-headers');
5130 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5131 visible article on summary exists in headers).
5132 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5134 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5136 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5139 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5141 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5143 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5145 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5146 header separator into loop condition.
5148 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5150 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5151 Return duplicate folder if it has subfolder.
5153 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5155 * elmo.el (elmo-make-folder): Add folder name error check.
5157 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5158 (elmo-nntp-encode-group-string): New inline function.
5159 (elmo-nntp-decode-group-string): Ditto.
5160 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5161 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5162 Use `not' instead of `null';
5163 Use elmo-nntp-decode-group-string.
5165 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5167 * elmo-version.el (elmo-version): Up to 2.7.5.
5169 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5171 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5172 Hide progress gauge if `elmo-folder-move-messages' exits
5175 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5177 * elmo-imap4.el (elmo-folder-initialize): Use
5178 `elmo-imap4-encode-folder-string' for folder name.
5180 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5182 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5185 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5187 * elmo-util.el (elmo-progress-counter-alist): New internal
5189 (elmo-progress-counter-value): New macro.
5190 (elmo-progress-counter-all-value): Ditto.
5191 (elmo-progress-counter-format): Ditto.
5192 (elmo-progress-counter-set-value): Ditto.
5193 (elmo-progress-set): New function.
5194 (elmo-progress-clear): Ditto.
5195 (elmo-progress-notify): Ditto.
5197 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5200 * elmo.el (elmo-generic-folder-append-messages): Call
5201 `elmo-progress-notify'.
5202 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5204 * elmo-archive.el (elmo-folder-append-messages): Call
5205 `elmo-progress-notify'.
5207 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5209 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5211 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5213 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5215 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5217 (elmo-message-encache-dop): Added argument `read'.
5219 * elmo-shimbun.el (elmo-message-encache): Ditto.
5221 * elmo-net.el (elmo-message-encache): Ditto.
5223 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5224 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5225 elmo-imap4-seen-messages.
5226 (elmo-folder-msgdb-create-plugged): Initialize
5227 elmo-imap4-seen-messages;
5228 Set seen mark on elmo-imap4-seen-messages.
5230 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5232 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5233 elmo-folder-append-buffer.
5234 (elmo-folder-encache): Added optional argument `read'.
5235 (elmo-message-encache): Ditto.
5237 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5239 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5241 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5242 if append buffer content succeds.
5244 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5246 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5247 elmo-display-progress.
5249 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5250 Set 4th argument of mime-display-message.
5251 (elmo-mime-display-as-is): Ditto.
5253 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5255 * elmo-nmz.el (toplevel): Require 'mime-edit.
5256 (elmo-nmz-content-type-alist): Abolished.
5257 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5258 content is not a message.
5259 (elmo-map-message-fetch): Changed behavior exept for message content;
5260 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5261 content-type, Add From: and Subject: field.
5263 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5265 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5266 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5269 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5271 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5272 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5274 * elmo-archive.el (elmo-folder-writable-p): Defined.
5276 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5278 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5280 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5282 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5284 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5286 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5288 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5290 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5292 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5294 * elmo-util.el (elmo-address-quote-specials): New function;
5295 Renamed from `wl-address-quote-specials'.
5297 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5299 * elmo-version.el (elmo-version): Up to 2.7.4.
5301 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5303 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5305 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5307 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5308 both compile-time and run-time to avoid byte-compile warning.
5310 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5312 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5314 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5316 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5318 (elmo-mime-display-as-is-internal): Use it.
5320 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5321 if `read-passwd' is not defined.
5323 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5325 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5327 (elmo-folder-status): Call `elmo-folder-open-internal';
5328 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5329 (elmo-folder-close-internal): Set location-alist as nil.
5330 (elmo-folder-clear): Define.
5331 (elmo-folder-check): Don't set location-alist as nil.
5333 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5335 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5337 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5338 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5340 * mmimap.el (mime-imap-entity::requested): New slot.
5341 (mime-imap-location-fetch-entity-p): New generic function.
5342 (mime-decode-parameters): Define using `defun-maybe'.
5343 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5344 content-type structure.
5345 (mime-entity-body): Return empty body if
5346 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5348 * elmo.el (elmo-message-displaying): New variable.
5350 * elmo-mime.el (elmo-mime-message-display): Bind
5351 elmo-message-displaying as t.
5353 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5355 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5357 * acap.el (acap-open): erase buffer before starting network process.
5358 (acap-store): Rewrite.
5360 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5362 * elmo-imap4.el (elmo-imap4-default-mailbox,
5363 elmo-imap4-default-server
5364 elmo-imap4-default-authenticate-type,
5365 elmo-imap4-default-user,
5366 elmo-imap4-default-port,
5367 elmo-imap4-default-stream-type,
5368 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5370 * elmo-pop3.el (elmo-pop3-default-user,
5371 elmo-pop3-default-server,
5372 elmo-pop3-default-authenticate-type,
5373 elmo-pop3-default-port,
5374 elmo-pop3-default-stream-type,
5375 elmo-pop3-stream-type-alist): Ditto.
5377 * elmo-nntp.el (elmo-nntp-default-server,
5378 elmo-nntp-default-user,
5379 elmo-nntp-default-port,
5380 elmo-nntp-default-stream-type,
5381 elmo-nntp-stream-type-alist): Ditto.
5383 * elmo-vars.el: Follow changes above.
5384 (elmo-setting): New custom group; added 'elmo-setting group to
5387 * elmo-version.el (elmo-version): Up to 2.7.3.
5389 * acap.el (acap-parse-response): Don't delete process when BYE
5390 response (It causes hang-up on slow network environment).
5391 (toplevel): Added comment.
5393 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5395 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5397 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5399 (acap-parse-return-metadata): Ditto.
5402 (toplevel): Fixed typo.
5404 * acap.el: New file.
5405 (acap-network-stream-open): Show "Connecting..." message.
5406 (acap-parse-response): Fixed problem for BYE untagged response.
5407 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5408 (toplevel): Added tiny comments.
5410 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5412 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5413 space delimiter for uidl response.
5415 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5417 * elmo-vars.el (elmo-use-semi): Eliminated.
5419 * elmo-util.el (elmo-string-assoc-all): New function.
5421 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5423 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5424 property 'mime-preview-situation for `mime-preview-quit'.
5426 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5428 * elmo.el (elmo-message-fetch-with-cache-process): Call
5429 elmo-message-fetch-internal instead of causing an error when fetch
5430 strategy is 'entire but only 'section cache is available.
5432 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5434 * elmo-version.el (elmo-version): Up to 2.7.2.
5436 * elmo.el (elmo-generic-folder-append-messages): Make
5437 fetch-strategy with `use-cache'.
5439 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5440 (elmo-dop-queue-method-name): New macro.
5442 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5444 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5445 unbalanced parenthesis.
5447 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5449 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5451 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5453 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5454 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5456 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5458 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5461 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5463 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5464 (elmo-message-use-cache-p): Define.
5465 (elmo-folder-msgdb-create): Treat cache.
5467 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5469 * elmo-nntp.el (elmo-network-initialize-session): Call
5470 `elmo-nntp-send-mode-reader'.
5471 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5473 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5475 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5477 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5480 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5481 for `elmo-plugged-p'.
5482 (elmo-open-network-stream): Fixed stream-type argument.
5484 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5486 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5487 unknown archive type is specified.
5489 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5491 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5493 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5494 while loading msgdb.
5496 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5497 (elmo-folder-open-internal): Rewrite.
5499 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5501 * elmo-mime.el (elmo-mime-display-as-is-internal):
5502 Adjust buffer-multibyte status.
5504 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5506 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5507 of elmo-condition-find-key.
5509 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5510 (elmo-condition-in-msgdb-p): Ditto.
5511 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5514 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5516 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5518 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5520 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5521 label for elmo-display-progress.
5523 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5525 * elmo.el (elmo-folder-clear): New method.
5526 (elmo-folder-clear): Define.
5527 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5529 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5530 (elmo-folder-clear): Define.
5532 * elmo-map.el (elmo-folder-clear): Define.
5534 * elmo-version.el (elmo-version): Up to 2.7.1.
5536 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5538 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5541 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5543 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5544 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5546 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5548 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5550 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5553 * elmo-imap4.el (elmo-folder-initialize): Use
5554 elmo-get-network-stream-type.
5556 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5558 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5560 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5562 * elmo.el (elmo-message-encache): Set unread argument for
5565 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5567 * elmo.el (elmo-net-port-info): New method.
5569 * elmo-shimbun.el (elmo-net-port-info): Define.
5570 (elmo-message-encache): Ditto.
5572 * elmo-net.el (elmo-net-port-info): Define as method.
5574 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5575 unplugged status when elmo-enable-disconnected-operation is t.
5577 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5578 of spool folder before checking new number.
5580 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5582 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5583 (elmo-network-setup-session): Ditto.
5584 (elmo-message-fetch-plugged): Ditto.
5585 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5586 (elmo-network-initialize-session): Ditto.
5587 (elmo-pop3-read-response): Abolish 3rd argument.
5588 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5589 (elmo-pop3-read-contents): Ditto.
5590 (elmo-pop3-read-body): Ditto.
5591 (elmo-folder-status): Call elmo-folder-close.
5592 (elmo-pop3-lock): Abolish.
5593 (elmo-pop3-unlock): Ditto.
5594 (elmo-pop3-locked-p): Ditto.
5595 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5597 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5599 * elmo-version.el (elmo-version): Up to 2.7.0.
5601 * elmo-pop3.el (elmo-pop3-debug): New variable.
5602 (elmo-pop3-debug-inhibit-logging): Ditto.
5603 (elmo-pop3-debug): New function.
5604 (elmo-pop3-send-command): Call elmo-pop3-debug.
5605 (elmo-pop3-read-response): Added keep-lock optional argument;
5606 Don't unlock if keep-lock is non-nil.
5607 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5608 (elmo-network-authenticate-session): Bind
5609 elmo-pop3-debug-inhibit-logging as t.
5610 (elmo-network-setup-session): Call elmo-pop3-read-response with
5612 (elmo-pop3-read-msg): Ditto.
5613 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5614 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5615 (elmo-network-initialize-session): Call elmo-pop3-lock.
5616 (elmo-folder-close-internal): Don't clear location-alist slot.
5617 (elmo-folder-check): Clear location-alist slot.
5619 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5621 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5622 (elmo-pop3-send-command): Call elmo-pop3-lock.
5623 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5624 (elmo-pop3-read-contents): Ditto.
5625 (elmo-pop3-lock): New function.
5626 (elmo-pop3-unlock): Ditto.
5627 (elmo-pop3-locked-p): Ditto.
5628 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5631 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5633 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5635 * elmo-util.el (elmo-file-field-primitive-condition-match):
5636 New inline function (Don't fetch file content if "first" or "last").
5637 (elmo-file-field-condition-match): Use
5638 elmo-file-field-primitive-condition-match.
5640 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5643 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5644 (elmo-message-fetch-plugged): Fixed.
5646 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5648 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5650 * elmo.el (elmo-folder-move-messages): Bind
5651 elmo-inhibit-display-retrieval-progress as t while moving messages.
5653 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5655 (elmo-inhibit-display-retrieval-progress): Ditto.
5657 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5658 for retrieval progress;
5659 Don't display progress when total buffer size is smaller than
5660 elmo-display-retrieval-progress-threshold.
5661 (elmo-message-fetch-plugged): Don't display progress when
5662 elmo-inhibit-display-retrieval-progress is non-nil.
5664 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5665 for retrieval progress;
5666 Don't display progress when literal size is smaller than
5667 elmo-display-retrieval-progress-threshold.
5668 (elmo-imap4-message-fetch): Don't display progress when
5669 elmo-inhibit-display-retrieval-progress is non-nil.
5671 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5673 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5674 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5675 (elmo-imap4-message-fetch): Likewise.
5677 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5678 (elmo-shimbun-index-range-alist): Ditto.
5679 (elmo-shimbun-use-entire-index): Abolish.
5680 (shimbun-mua-use-entire-index): Ditto.
5681 (elmo-shimbun-folder): Added new slot `range'.
5682 (elmo-folder-initialize): Setup slot `range'.
5684 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5686 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5687 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5688 (elmo-shimbun-get-headers): Use return value of
5689 `shimbun-article-expiration-days'.
5690 (elmo-folder-close-internal): Clean up last-check slot.
5692 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5693 (elmo-pop3-total-size): New variable.
5694 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5696 * elmo.el (elmo-folder-reserve-status-p): New method.
5698 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5699 (elmo-shimbun-use-entire-index): New user option.
5700 (shimbun-elmo-mua): New class.
5701 (shimbun-mua-search-id): Define.
5702 (shimbun-mua-use-entire-index): Ditto.
5703 (elmo-shimbun-folder:last-check): New slot.
5704 (elmo-shimbun-headers-cache-header-list): Abolish.
5705 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5706 (elmo-shimbun-headers-cache-header-hash): Ditto.
5707 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5708 (elmo-shimbun-headers-cache-last-check): Ditto.
5709 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5710 (elmo-shimbun-headers-check-p): Rewrite.
5711 (elmo-shimbun-msgdb-to-headers): New function.
5712 (elmo-shimbun-get-headers): Rewrite.
5713 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5714 (elmo-folder-open-internal): Get headers only if
5715 `elmo-shimbun-headers-check-p' is non-nil.
5716 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5718 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5719 (elmo-quit): Removed.
5721 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5723 (elmo-msgdb-overview-entity-set-extra): Ditto.
5724 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5726 * elmo-map.el (elmo-folder-status): Don't call
5727 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5730 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5732 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5733 of `elmo-msgdb-search-internal-primitive' when condition's car is
5736 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5738 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5740 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5742 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5743 call `elmo-pipe-drain'.
5745 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5747 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5748 typo. (elmo-cache-folder -> elmo-mark-folder)
5750 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5752 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5753 `elmo-message-fetch'.
5755 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5757 * elmo-net.el (elmo-message-encache): Fixed typo.
5758 (elmo-message-fetch-unplugged): Changed call
5759 `elmo-message-fetch-internal' without argument `outbuf'.
5761 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5763 * elmo.el (elmo-message-encache): Define as generic function.
5764 (elmo-message-fetch-field): New generic function.
5765 (elmo-message-fetch-with-cache-process): Cause an error when
5766 fetch strategy is 'entire but only 'section cache is available.
5767 (toplevel): Fixed nmz folder definition.
5769 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5770 (elmo-msgdb-resume-list-filename): Ditto.
5771 (elmo-queue-filename): Ditto.
5772 (elmo-enable-disconnected-operation): Changed default value to t.
5774 * elmo-util.el (elmo-cache-path-section-p): New function.
5775 (elmo-file-cache-get): Use it.
5776 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5777 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5778 (elmo-dop-queue-save): Ditto.
5780 * elmo-net.el (elmo-folder-status-unplugged): Call
5781 elmo-folder-status-dop.
5782 (elmo-folder-list-messages-unplugged): Implemented.
5783 (elmo-folder-delete-messages-unplugged): Define.
5784 (elmo-folder-msgdb-create): Define.
5785 (elmo-folder-msgdb-create-unplugged): Define.
5786 (elmo-folder-mark-as-read-unplugged): Ditto.
5787 (elmo-folder-unmark-read-unplugged): Ditto.
5788 (elmo-folder-mark-as-important-unplugged): Ditto.
5789 (elmo-folder-unmark-important-unplugged): Ditto.
5790 (elmo-message-encache): Ditto.
5792 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5793 (elmo-dop-queue-save): Ditto.
5795 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5796 `elmo-folder-msgdb-create'.
5797 (elmo-folder-append-buffer): Implemented unplugged operation.
5798 (elmo-folder-append-messages): Call parent method in unplugged status.
5799 (elmo-message-fetch-unplugged): Removed definition.
5800 (elmo-message-fetch-field): Implemented.
5802 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5803 (elmo-dop-folder): Removed variable definition.
5804 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5805 (elmo-dop-queue-flush): Implemented.
5806 (elmo-dop-queue-merge): Removed definition (TODO).
5807 (elmo-dop-spool-folder): New function.
5808 (elmo-dop-spool-folder-append-buffer): Ditto.
5809 (elmo-dop-spool-folder-list-messages): Ditto.
5810 (elmo-dop-list-deleting-messages): Ditto.
5811 (elmo-folder-append-buffer-dop): Ditto.
5812 (elmo-folder-delete-messages-dop): Ditto.
5813 (elmo-message-encache-dop): New inline function.
5814 (elmo-create-folder-dop): Ditto.
5815 (elmo-folder-mark-as-read-dop): Ditto.
5816 (elmo-folder-unmark-read-dop): Ditto.
5817 (elmo-folder-mark-as-important-dop): Ditto.
5818 (elmo-folder-unmark-important-dop): Ditto.
5819 (elmo-folder-status-dop): Fixed.
5820 (elmo-folder-append-buffer-dop-delayed): New function.
5821 (elmo-folder-delete-messages-dop-delayed): Ditto.
5822 (elmo-dop-msgdb): Ditto.
5824 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5826 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5828 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5830 * elmo.el (elmo-folder-move-messages): Fixed problem when
5831 `dst-folder' is 'null.
5833 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5835 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5836 instead of current mark.
5838 * elmo-multi.el (elmo-folder-list-importants-internal): No
5839 operation if importants is not list.
5841 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5842 Return t if importants is not list.
5844 * elmo-map.el (elmo-map-folder-list-importants): Define.
5845 (elmo-folder-list-importants-internal): Check return value of
5846 `elmo-map-folder-list-importants-internal'.
5848 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5850 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5852 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5854 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5856 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5858 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5859 (Patch is provided by <kita@coe.nttdata.co.jp>).
5861 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5863 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5866 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5868 * elmo.el (elmo-message-fetch): Define.
5869 (elmo-message-fetch-with-cache-process): New generic method.
5870 (elmo-message-fetch-internal): New generic method.
5871 (elmo-folder-synchronize):
5873 * elmo-archive.el (elmo-message-fetch-internal): Define.
5874 (elmo-message-fetch): Eliminated.
5876 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5877 (elmo-message-fetch): Eliminated.
5879 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5881 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5883 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5884 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5886 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5887 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5889 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5891 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5893 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5895 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5896 (elmo-message-fetch-unplugged): New generic method.
5897 (elmo-message-fetch-internal): Remove cache process (Renamed from
5898 `elmo-message-fetch').
5900 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5901 (elmo-message-fetch): Eliminated.
5902 (elmo-message-fetch-unplugged): Ditto.
5904 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5906 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5908 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5909 of `to-be-deleted' from number-alist to number-list.
5911 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5913 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5914 (elmo-folder-mark-as-important): Ditto.
5916 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5918 * elmo.el (elmo-folder): Added process-duplicates slot.
5920 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5921 (elmo-folder-unmark-read): Ditto.
5922 (elmo-folder-unmark-important): Ditto.
5923 (elmo-folder-mark-as-important): Ditto.
5925 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5926 duplicated message processing.
5928 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5930 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5932 * elmo-util.el (elmo-list-subdirectories-1): New function.
5933 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5934 (elmo-mapcar-list-of-list): New function.
5936 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5937 `elmo-mapcar-list-of-list' instead of `mapcar'.
5939 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5941 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5942 `elmo-have-link-count'. Return the fully qualified folder name.
5944 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5946 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5947 (elmo-shimbun-headers-cache): New internal variable.
5948 (elmo-shimbun-headers-cache-header-list): New inline function.
5949 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5950 (elmo-shimbun-headers-cache-header-hash): Ditto.
5951 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5952 (elmo-shimbun-headers-cache-last-check): Ditto.
5953 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5954 (elmo-shimbun-lapse-seconds): Ditto.
5955 (elmo-shimbun-headers-cache-check-p): Ditto.
5956 (elmo-shimbun-get-headers): New function.
5957 (elmo-folder-open-internal): Call it.
5958 (elmo-quit): Define (Clear headers-cache).
5960 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
5962 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
5964 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
5965 (elmo-msgdb-flist-save): Ditto.
5967 * elmo-shimbun.el (elmo-folder-list-subfolders):
5968 Use `shimbun-groups' instead of `shimbun-groups-internal'.
5969 (elmo-folder-exists-p): Ditto.
5971 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
5972 argument for `shimbun-header-insert'.
5974 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
5976 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
5979 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
5980 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
5982 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
5984 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
5985 (elmo-folder-plugged-p): Define.
5986 (elmo-folder-set-plugged): Ditto.
5987 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
5988 (elmo-folder-list-messages-internal): Return t if unplugged.
5989 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
5991 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
5992 when elmo-folder-list-messages-internal method of children returns t.
5994 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
5996 (elmo-folder-open-internal): Don't update if unplugged status.
5998 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6000 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6003 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6005 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6007 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6010 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6012 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6014 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6015 (elmo-folder-open-internal): Set up headers slot.
6016 (elmo-folder-check): Call elmo-folder-close-internal and
6017 elmo-folder-open-internal.
6018 (elmo-folder-close-internal): Clean up headers slot.
6020 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6022 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6023 exactly folder list.
6024 (elmo-folder-append-messages): Fixed append archive with prefix.
6026 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6027 make temp files with start-number.
6029 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6031 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6033 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6034 argument `visible-only'.
6035 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6038 * elmo-pop3.el (elmo-folder-open-internal): Check
6039 `elmo-inhibit-number-mapping' is non-nil.
6041 * elmo-pipe.el (elmo-folder-status): Fixed.
6043 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6045 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6047 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6048 (elmo-folder-open-internal): Setup `header-hash' slot.
6049 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6051 (elmo-map-message-fetch): Ditto.
6053 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6055 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6056 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6057 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6058 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6060 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6062 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6064 * sb-airs.el: Added footer.
6066 * shimbun.el (shimbun-article): Define as luna-method.
6068 * sb-tcup.el: New file.
6070 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6071 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6073 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6075 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6076 (shimbun-get-headers): Ditto.
6078 * elmo.el: Moved obsolete variable definitions from
6079 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6081 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6084 * shimbun.el: New file.
6086 * elmo-shimbun.el: New file.
6088 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6089 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6090 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6091 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6093 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6095 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6098 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6100 * elmo.el (elmo-folder-msgdb): Define as macro.
6101 (elmo-folder-open): Added argument `load-msgdb'.
6102 (elmo-generic-folder-open): Ditto.
6103 (elmo-folder-encache): New function.
6105 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6107 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6109 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6110 Eliminated argument FOLDER and added argument MSGDB.
6111 (elmo-dop-queue-load): Moved from elmo-dop.el.
6112 (elmo-dop-queue-save): Ditto.
6114 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6116 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6118 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6119 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6120 (elmo-filter-folder-list-importants-internal): Ditto.
6122 * elmo-map.el (elmo-folder-pack-number): Ditto.
6124 * elmo-mime.el (elmo-mime-message-display): Ditto.
6126 * elmo.el (elmo-generic-folder-commit): Ditto.
6127 (elmo-folder-list-unreads): Ditto.
6128 (elmo-folder-list-importants): Ditto.
6129 (elmo-generic-folder-commit): Ditto.
6130 (elmo-message-set-mark): Ditto.
6131 (elmo-generic-folder-append-msgdb): Ditto.
6132 (elmo-folder-synchronize): Ditto.
6133 (elmo-folder-messages): Ditto.
6134 (elmo-init): Call elmo-dop-queue-load.
6135 (elmo-folder-list-messages): Ditto.
6137 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6138 (elmo-nntp-folder-process-crosspost): Ditto.
6139 (elmo-folder-list-unreads-internal): Ditto.
6141 * elmo-dop.el: Removed old functions.
6143 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6145 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6146 `folder' to `msgdb'.
6148 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6150 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6151 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6153 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6156 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6158 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6161 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6162 (mmimap-parse-parameters-from-list): Define as alias for
6163 `mime-decode-parameter-plist' if it is defined as function.
6164 (mmimap-make-mime-entity): Added argument `number'.
6165 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6167 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6169 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6171 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6173 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6175 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6177 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6179 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6180 when elmo-imap4-default-authenticate-type is nil.
6181 (elmo-folder-list-subfolders): Ditto
6182 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6183 (elmo-imap4-fetch-callback-1-subr): Renamed from
6184 `elmo-imap4-fetch-callback-1' and define as inline function.
6185 (elmo-imap4-fetch-callback-1):
6186 Renamed from `elmo-imap4-fetch-callback'.
6187 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6189 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6190 msgdb path (To keep compatibility with main trunk).
6192 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6194 * elmo-util.el (elmo-make-file-cache): Moved position of
6197 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6198 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6199 instead of `elmo-pop3-inhibit-uidl'.
6200 (elmo-folder-exists-p): Ditto.
6201 (elmo-pop3-folder-list-messages): Ditto.
6203 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6204 instead of `elmo-pop3-inhibit-uidl'.
6205 (elmo-folder-status): Ditto.
6207 * elmo-dop.el (elmo-dop-folder): New variable.
6208 (elmo-dop-lock-message): Eliminated.
6209 (elmo-dop-unlock-message): Ditto.
6210 (elmo-dop-lock-list-load): Ditto.
6211 (elmo-dop-lock-list-save): Ditto.
6212 (elmo-dop-delete-folder): Ditto.
6213 (elmo-dop-rename-folder): Ditto.
6215 * elmo.el: Removed incomplete commentary.
6217 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6219 * elmo.el (toplevel): Require 'elmo-version first;
6220 for little `recursive-load-depth' settings.
6221 Fix "ends here" comment.
6223 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6225 * elmo-util.el (toplevel): Require 'poem;
6226 Some functions are moved from elmo-cache.el.
6228 * elmo-net.el (toplevel): Require 'elmo-cache.
6230 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6232 * elmo.el (toplevel): Ditto.
6234 * elmo-cache.el: Rewrite with luna;
6235 Some functions are moved to elmo-util.el.
6237 * elmo-internal.el (elmo-internal-folder-list): New variable.
6238 (elmo-internal-folder-initialize): Rewrite.
6239 (elmo-folder-list-subfolders): Ditto.
6241 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6242 (elmo-cache-collect-sub-directories): Ditto.
6244 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6246 * elmo-version.el (elmo-version): Up to 2.5.8.
6248 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6250 * elmo-util.el (elmo-list-insert): New function.
6252 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6254 * elmo.el (elmo-init): New function.
6255 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6257 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6258 (Renamed from `elmo-localdir-header-chop-length').
6260 * elmo-pop3.el (elmo-pop3-use-cache,
6261 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6263 * elmo-nntp.el (elmo-message-fetch): Define.
6264 (elmo-message-fetch-unplugged): Ditto.
6265 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6266 (elmo-nntp-use-cache): Ditto.
6267 (elmo-nntp-max-number-precedes-list-active): Ditto.
6269 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6271 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6272 `elmo-msgdb-insert-file-header'.
6273 Use `elmo-msgdb-file-header-chop-length'.
6275 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6278 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6279 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6280 `elmo-msgdb-insert-file-header'.
6282 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6284 Define obsolete variables with `elmo-define-obsolete-variable',
6286 * elmo-util.el (elmo-warning-buffer-name): New constant.
6287 (elmo-warning): New function.
6288 (elmo-obsolete-variable-alist): New variable.
6289 (elmo-obsolete-variable-show-warnings): New variable.
6290 (elmo-define-obsolete-variable): New function.
6291 (elmo-resque-obsolete-variable): Ditto.
6292 (elmo-resque-obsolete-variables): Ditto.
6294 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6296 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6299 * elmo-pop3.el, elmo-nntp.el: Use custom.
6301 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6303 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6304 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6306 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6308 * Luna-fy Kenichi OKADA's following changes.
6309 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6311 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6313 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6315 * elmo-util.el (elmo-display-progress): Prefer
6316 `progress-feedback-with-label' to `lprogress-display'.
6318 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6320 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6322 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6324 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6325 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6326 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6327 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6328 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6329 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6330 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6331 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6332 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6333 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6334 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6335 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6336 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6338 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6340 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6341 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6343 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6345 * elmo.el (elmo-folder-process-crosspost): New generic method.
6346 (elmo-folder-writable-p): Ditto.
6347 (elmo-folder-message-appendable-p): Eliminated.
6348 (elmo-generic-folder-append-msgdb): Rewrite.
6349 (elmo-newsgroups-hashtb): New internal variable.
6350 (elmo-crosspost-message-set): Eliminated.
6351 (elmo-crosspost-message-delete): Ditto.
6352 (elmo-setup-subscribed-newsgroups): New function.
6353 (elmo-crosspost-message-alist-modified): New internal variable.
6354 (elmo-crosspost-message-alist-load): New function (Renamed from
6355 `wl-crosspost-alist-load').
6356 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6357 `wl-crosspost-alist-save').
6359 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6361 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6363 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6364 elmo-newsgroups-hashtb).
6365 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6366 `elmo-nntp-folder-update-crosspost-message-alist'.
6367 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6368 `elmo-nntp-groups-hashtb'.
6369 (elmo-nntp-make-groups-hashtb): Eliminated.
6370 (elmo-nntp-parse-newsgroups): New function (Renamed from
6371 `wl-parse-newsgroups').
6372 (elmo-folder-creatable-p, elmo-folder-writable-p,
6373 elmo-folder-close-internal, elmo-folder-mark-as-read,
6374 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6376 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6378 * elmo-net.el (elmo-message-fetch): Check buffer size.
6380 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6382 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6384 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6385 before `close' command.
6387 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6388 `mark-alist' (All other related portions are changed).
6390 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6392 * elmo-util.el (elmo-create-hash-size): Eliminated.
6393 (elmo-make-hash) Make a hash with `one less than a power of two'
6396 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6397 (elmo-hash-maximum-size): Changed value.
6399 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6401 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6402 (elmo-mime-message-display-as-is): Ditto.
6404 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6406 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6407 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6409 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6411 * elmo-mark.el: New file.
6413 * elmo-internal.el: Rewrite (Almost empty).
6415 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6417 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6418 (mime-imap-entity-header-string): Ditto.
6419 (mmimap-entity-section): Rewrite.
6421 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6423 * elmo-nmz.el: New file.
6425 * elmo-pipe.el: Rewrite with luna.
6427 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6429 * elmo-archive.el: Rewrite with luna.
6431 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6432 (elmo-folder-list-importants-internal): Ditto.
6434 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6436 * elmo-archive.el (elmo-archive-version): Abolish.
6437 (toplevel) Removed `boso' comment.
6439 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6441 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6442 elmo-msgdb-add-msgs-to-seen-list-subr;
6443 Changed argument seen-marks to unread-marks.
6445 * elmo-nntp.el: Rewrite with luna.
6447 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6449 * elmo-filter.el: Rewrite with luna.
6451 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6453 * elmo-pop3.el: Rewrite with luna.
6455 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6457 * elmo-multi.el: Rewrite with luna.
6459 * elmo-vars.el (elmo-use-killed-list): Abolish.
6460 All other related portions are changed.
6461 (elmo-filename-replace-string-alist): Renamed from
6462 elmo-msgid-replace-string-alist.
6464 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6466 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6468 * elmo-map.el: New file.
6469 * elmo-maildir.el: Rewrite with luna.
6471 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6473 * elmo.el: Changed meaning of `elmo-folder-commit'.
6474 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6476 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6478 * elmo.el (elmo-folder-append-buffer): New function.
6479 (Renamed from `elmo-append-msg')
6481 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6483 * elmo-mime.el: New file.
6485 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6487 * elmo-cache.el: Rewrite.
6489 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6491 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6493 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6495 * elmo-vars.el (elmo): New group.
6496 (elmo-strict-diff-folder-regexp): New variable.
6498 * elmo-util.el (elmo-call-func): Abolish.
6499 (elmo-folder-get-type): Ditto.
6500 (elmo-*-get-spec): Ditto.
6501 (elmo-*-spec-*): Ditto.
6502 (elmo-imap4-identical-name-space-p): Ditto.
6503 (elmo-folder-identical-system-p): Ditto.
6504 (elmo-folder-direct-copy-alist): Ditto.
6505 (elmo-folder-direct-copy-p): Ditto.
6507 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6508 (elmo-folder-initialize): Define.
6509 (elmo-folder-get-primitive-list): Ditto.
6511 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6512 (elmo-folder-initialize): Define.
6513 Renamed `elmo-network-session-host-internal' to
6514 `elmo-network-session-server-internal'.
6516 * elmo-multi.el (elmo-multi-folder): New luna class.
6517 (elmo-folder-initialize): Define.
6518 (elmo-folder-get-primitive-list): Ditto.
6519 (elmo-folder-contains-type): Ditto.
6520 (elmo-message-use-cache-p): Ditto.
6522 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6523 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6525 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6526 (elmo-folder-initialize): Define.
6528 * elmo-filter.el (elmo-filter-folder): New luna class.
6529 (elmo-folder-initialize): Define.
6530 (elmo-folder-get-primitive-list): Ditto.
6531 (elmo-folder-contains-type): Ditto.
6533 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6535 * elmo-imap4.el: Rewrite with luna.
6537 * mmimap.el: New file.
6539 * mmelmo.el, mmelmo-imap4.el: Removed.
6541 * elmo-net.el: Ditto.
6543 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6544 (elmo-folder-initialize): Define.
6546 * elmo-archive.el (elmo-archive-folder): New luna class.
6547 (elmo-folder-initialize): Define.
6549 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6550 `elmo-folder-msgdb-path'.
6551 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6554 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6556 * elmo.el: New file.
6558 * elmo2.el: Renamed to elmo.el.
6561 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6563 * elmo-cache.el (elmo-cache-expire-by-size): Count
6564 a disk usage for a cache file entry in KB even when
6565 its kind is a directory.
6567 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo-version.el (elmo-version): Up to 2.5.7.
6571 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6573 * elmo-version.el (elmo-version): Up to 2.5.6.
6575 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6577 * elmo-version.el (elmo-version): Up to 2.5.5.
6579 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6581 * elmo-imap4.el (elmo-network-authenticate-session):
6582 Fixed a logic for response checking.
6584 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6586 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6587 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6588 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6591 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6592 for `starttls-open-stream' and `starttls-negotiate'.
6594 * elmo-nntp.el: Remove autoload settings for
6595 `starttls-open-stream' and `starttls-negotiate'.
6597 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6598 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6599 `luna-define-class' with `eval-and-compile'.
6601 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6603 * elmo-util.el (elmo-read-search-condition-internal):
6604 Require an element of table for searching field.
6606 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6608 * elmo-version.el (elmo-version): Up to 2.5.4.
6610 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6612 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6614 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6616 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6618 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6620 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6623 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6625 * elmo-imap4.el (elmo-imap4-delete-folder):
6626 Send "close" before "delete" (Use commented out line).
6627 (elmo-imap4-rename-folder): Ditto.
6629 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6630 folder string itself.
6631 (elmo-dop-list-deleted): New function.
6632 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6635 * elmo-util.el (elmo-string-rassoc-all): New function.
6637 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6639 * elmo-version.el (elmo-version): Up to 2.5.3.
6641 * elmo-net.el (elmo-network-get-session): Changed logic for
6642 checking process status.
6644 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6646 Changed logic for checking process status.
6648 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6650 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6652 (elmo-network-setup-session): Set UIDL hash size according to
6653 the length of list response.
6654 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6655 according to the length of list response;
6656 Return the length of list response.
6657 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6659 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6661 * elmo-imap4.el (toplevel): Require 'ssl.
6662 Add autoload 'starttls.
6663 * elmo-pop3.el (toplevel): Ditto.
6664 * elmo-nntp.el (toplevel): Ditto.
6666 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6668 * elmo-imap4.el (toplevel): defun at compile time.
6669 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6670 sasl-next-step, sasl-step-data, sasl-step-set-data.
6671 * elmo-pop3.el (toplevel): Ditto.
6673 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6675 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6677 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6679 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6681 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6682 and `elmo-pop-auth-apop'.
6684 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6686 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6688 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6690 * elmo-pop3.el (elmo-network-authenticate-session): Split
6691 encoded response value.
6693 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6695 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6696 `elmo-pop3-force-login'.
6697 Redefine `sasl-mechanisms'.
6698 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6700 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6702 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6703 Delete `elmo-imap4-authenticator-alist'.
6704 (elmo-imap4-auth-cram-md5): Delete.
6705 (elmo-imap4-auth-digest-md5): Delete.
6707 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6709 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6710 (elmo-pop3-auth-scram-md5): Ditto.
6711 (elmo-pop3-auth-cram-md5): Ditto.
6713 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6715 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6716 Delete `elmo-pop3-authenticator-alist'.
6718 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6720 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6722 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6724 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6726 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6728 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6730 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6731 Fixed problem when `elmo-pop3-use-uidl' is nil.
6732 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6734 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6736 * elmo-version.el (elmo-version): Up to 2.5.2.
6738 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6740 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6742 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6743 (elmo-pop3-msgdb-create-as-numlist): Use it.
6745 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6746 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6748 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6749 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6751 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6753 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6754 when elmo-mark-as-read is called with second argument nil.
6756 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6758 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6759 Moved to elmo-util.el.
6761 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6762 Moved from elmo-pipe.el
6764 * elmo-archive.el (elmo-archive-call-process): Enclose with
6767 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6768 "RFC822" (because RFC822.PEEK is obsolete).
6769 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6771 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6773 * elmo-archive.el (elmo-archive-call-process): Don't check for
6774 the exit status when Nemacs is running.
6776 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6778 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6781 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6782 (elmo-pop3-get-spec): Set default of auth to 'user.
6784 * elmo-imap4.el (elmo-imap4-session-check):
6785 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6786 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6787 (elmo-imap4-auth-login): New function; Revival.
6788 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6789 `elmo-imap4-auth-login'.
6791 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6793 * elmo2.el (toplevel): Move `product-provide' declare.
6794 * mmelmo.el (toplevel): Ditto.
6796 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6798 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6800 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6802 * elmo-util.el (elmo-folder-get-store-type): New function.
6803 (elmo-folder-direct-copy-p): Use it.
6805 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6807 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6808 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6809 and result of `elmo-imap4-use-flag-p'.
6810 (elmo-imap4-fetch-callback-1): Set mark according to
6811 the result of `elmo-imap4-use-flag-p'.
6813 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6815 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6816 (elmo-generic-list-folder-unread): Ditto.
6817 (elmo-folder-get-info): Ditto.
6818 (elmo-folder-set-info-max-by-numdb): Ditto.
6819 (elmo-folder-get-info-max): Ditto.
6820 (elmo-folder-get-info-length): Ditto.
6821 (elmo-folder-get-info-unread): Ditto.
6822 (elmo-folder-info-make-hashtb): Ditto.
6824 * elmo2.el: Removed above functions.
6826 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6828 * elmo-imap4.el (toplevel): Require 'ssl.
6829 Add autoload 'starttls.
6830 * elmo-pop3.el (toplevel): Ditto.
6831 * elmo-nntp.el (toplevel): Ditto.
6833 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6835 * elmo-imap4.el (toplevel): defun at compile time.
6836 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6837 sasl-next-step, sasl-step-data, sasl-step-set-data.
6838 * elmo-pop3.el (toplevel): Ditto.
6840 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6842 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6844 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6846 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6848 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6849 and `elmo-pop-auth-apop'.
6851 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6853 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6855 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6857 * elmo-pop3.el (elmo-network-authenticate-session): Split
6858 encoded response value.
6860 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6862 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6863 `elmo-pop3-force-login'.
6864 Redefine `sasl-mechanisms'.
6865 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6867 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6869 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6870 Delete `elmo-imap4-authenticator-alist'.
6871 (elmo-imap4-auth-cram-md5): Delete.
6872 (elmo-imap4-auth-digest-md5): Delete.
6874 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6876 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6877 (elmo-pop3-auth-scram-md5): Ditto.
6878 (elmo-pop3-auth-cram-md5): Ditto.
6880 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6882 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6883 Delete `elmo-pop3-authenticator-alist'.
6885 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6887 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6889 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6892 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6894 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6896 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6898 * elmo-nntp.el (elmo-nntp-get-folders-info):
6899 Fixed problem when '\' character is contained in user-id.
6900 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6903 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6905 * elmo-imap4.el (elmo-imap4-delete-folder):
6906 Send "close" before "delete" (Use commented out line).
6907 (elmo-imap4-rename-folder): Ditto.
6909 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6910 folder string itself.
6911 (elmo-dop-list-deleted): New function.
6912 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6915 * elmo-util.el (elmo-string-rassoc-all): New function.
6917 * elmo-version.el (elmo-version): Up to 2.5.1.
6919 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6921 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6923 * elmo-internal.el (elmo-internal-search): Fix last change.
6925 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6927 * elmo-internal.el (elmo-internal-search): Rewrite.
6928 (Fixed problem which is pointed out by Akihiro MOTOKI
6929 <motoki@da.jp.nec.com>)
6931 * elmo-version.el (elmo-version): Up to 2.5.0.
6933 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6935 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6937 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6939 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6940 non-nil, make hierarchy.
6942 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6944 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6945 `elmo-pop3-use-uidl' must be bound to nil.
6946 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
6948 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
6950 * elmo-util.el (elmo-copy-file): Don't cause an error after
6951 `add-name-to-file' failed.
6953 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
6954 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
6956 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
6958 * elmo-version.el (elmo-version): Up to 2.3.93.
6960 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6962 * elmo-util.el (elmo-flatten): New function.
6964 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
6966 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
6968 * elmo-cache.el (toplevel): Ditto.
6969 * elmo-database.el (toplevel): Ditto.
6970 * elmo-date.el (toplevel): Ditto.
6971 * elmo-dop.el (toplevel): Ditto.
6972 * elmo-filter.el (toplevel): Ditto.
6973 * elmo-imap4.el (toplevel): Ditto.
6974 * elmo-internal.el (toplevel): Ditto.
6975 * elmo-localdir.el (toplevel): Ditto.
6976 * elmo-localnews.el (toplevel): Ditto.
6977 * elmo-maildir.el (toplevel): Ditto.
6978 * elmo-msgdb.el (toplevel): Ditto.
6979 * elmo-multi.el (toplevel): Ditto.
6980 * elmo-net.el (toplevel): Ditto.
6981 * elmo-nntp.el (toplevel): Ditto.
6982 * elmo-pipe.el (toplevel): Ditto.
6983 * elmo-pop3.el (toplevel): Ditto.
6984 * elmo-util.el (toplevel): Ditto.
6985 * elmo-vars.el (toplevel): Ditto.
6986 * elmo2.el (toplevel): Ditto.
6987 * mmelmo-imap4.el (toplevel): Ditto.
6988 * mmelmo.el (toplevel): Ditto.
6990 * elmo-version.el (elmo-version): Move to top.
6992 * elmo-cache.el (toplevel): Fixed multiple Author header format.
6993 * elmo-imap4.el (toplevel): Ditto.
6994 * elmo-localdir.el (toplevel): Ditto.
6995 * elmo-msgdb.el (toplevel): Ditto.
6996 * elmo-nntp.el (toplevel): Ditto.
6997 * elmo-pop3.el (toplevel): Ditto.
6998 * elmo-version.el (toplevel): Ditto.
7000 * elmo-localnews.el (toplevel): Added Keyword header.
7002 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7004 * elmo-version.el (product-version-as-string): Defined using
7008 * elmo-localdir.el (toplevel): Updated copyright notice.
7009 * elmo-version.el (toplevel): Ditto.
7010 * elmo-msgdb.el (toplevel): Ditto.
7011 * elmo-imap4.el (toplevel): Ditto.
7012 * elmo-nntp.el (toplevel): Ditto.
7013 * elmo-pop3.el (toplevel): Ditto.
7015 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7017 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7020 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7021 parameter value (It sometimes contains raw kanji).
7023 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7025 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7026 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7028 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7030 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7032 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7034 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7035 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7037 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7039 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7040 value if selecting folder succceeded.
7041 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7043 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7045 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7048 * elmo-util.el (elmo-string-matched-member): New function.
7050 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7052 * elmo-util.el (elmo-unintern): New macro.
7053 (elmo-number-set-member): Fixed docstring.
7055 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7058 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7060 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7061 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7063 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7065 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7068 Return non-nil if selecting folder succeeded.
7069 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7071 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7073 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7074 `file-name-completion' returns t.
7075 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7076 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7077 directory if it does not exist.
7078 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7081 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7083 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7084 enclosure (It's harmful in unplugged status).
7086 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7088 * mmelmo-1.el: Removed.
7090 * mmelmo-2.el: Ditto.
7092 * mmelmo-imap4-1.el: Ditto.
7094 * mmelmo-imap4-2.el: Ditto.
7096 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7098 * mmelmo.el: Merged mmelmo-2.el.
7100 * elmo-version.el (elmo-version): Up to 2.3.92.
7102 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7104 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7105 elmo-update-number): Remove last period in "...done." message.
7106 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7108 * elmo-cache.el (elmo-cache-expire-by-size,
7109 elmo-cache-get-sorted-cache-file-list,
7110 elmo-cache-msgdb-create-as-numlist): Ditto.
7111 * elmo-dop.el (elmo-dop-save-pending-messages,
7112 (elmo-dop-flush-pending-append-operations): Ditto.
7113 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7114 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7115 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7116 (elmo-localdir-pack-number): Ditto.
7117 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7118 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7119 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7120 mime-write-entity-content): Ditto.
7121 * pldap.el (ldap-search-basic): Ditto.
7123 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7125 * elmo-version.el (elmo-version): Up to 2.3.91.
7127 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7128 Only when filter is 'last'.
7130 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7131 (elmo-condition-parse-search-value): Use it.
7132 (elmo-read-search-condition-internal): Quote value only when
7135 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7137 * elmo2.el (elmo-generic-folder-diff): Fix.
7139 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7141 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7142 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7143 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7144 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7145 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7146 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7148 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7150 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7153 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7155 * elmo-version.el (elmo-version): Up to 2.3.90.
7157 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7158 (elmo-imap4-list-folder-important): Ditto.
7160 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7162 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7164 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7166 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7168 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7170 * elmo-nntp.el (elmo-network-initialize-session):
7171 Add starttls negotiation.
7173 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7175 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7177 (elmo-network-setup-session): Define.
7178 Call `elmo-nntp-send-mode-reader' when session opened.
7180 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7182 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7184 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7186 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7187 an invalid SPACE character ahead of `SEARCH' command. Move
7188 a valid SPACE character following `SEARCH' from conditional
7189 `format' arguments to control-strings.
7191 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7193 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7196 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7198 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7200 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7201 `w32-get-true-file-link-count' as t.
7203 * elmo-imap4.el (elmo-imap4-read): Abolished.
7204 (Renamed to `elmo-read' and moved to elmo-util.el)
7205 All other related portions are changed.
7207 * elmo-util.el (elmo-read): New function.
7208 (elmo-condition-parse-search-value): Use it.
7210 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7212 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7214 * elmo-nntp.el (elmo-nntp-session): Define.
7215 (elmo-nntp-setting): Abolished.
7216 All other related portions are changed.
7217 (elmo-nntp-get-server-command): Changed argument.
7218 (elmo-nntp-set-server-command): Ditto.
7219 (elmo-nntp-xover-p): Ditto.
7220 (elmo-nntp-set-xover): Ditto.
7221 (elmo-nntp-listgroup-p): Ditto.
7222 (elmo-nntp-set-listgroup): Ditto.
7223 (elmo-nntp-list-active-p): Ditto.
7224 (elmo-nntp-set-list-active): Ditto.
7225 (elmo-nntp-xhdr-p): Ditto.
7226 (elmo-nntp-set-xhdr): Ditto.
7227 (elmo-nntp-flush-connection): Abolished.
7228 (elmo-nntp-get-connection): Abolished.
7229 (elmo-nntp-get-session): New function.
7230 (elmo-network-initialize-session): Defined.
7231 (elmo-network-authenticate-session): Ditto.
7232 (elmo-nntp-send-mode-reader): Changed argument.
7233 (elmo-nntp-send-command): Changed argument.
7234 All other related portions are changed.
7235 (elmo-nntp-read-response): Ditto.
7236 (elmo-nntp-read-raw-response): Ditto.
7237 (elmo-nntp-read-contents): Ditto.
7238 (elmo-nntp-read-body): Ditto.
7239 (elmo-nntp-goto-folder): Abolished.
7240 (elmo-nntp-select-group): New function.
7241 All other related portions are changed.
7242 (This function substitutes `elmo-nntp-goto-folder')
7243 (elmo-nntp-msgdb-create-by-header): Rewrite.
7244 (elmo-nntp-get-overview): Eliminated.
7245 (elmo-nntp-get-message): Ditto.
7246 (elmo-nntp-open-connection) Abolished.
7247 (elmo-nntp-read-msg): Rewrite.
7248 (elmo-nntp-post): Ditto.
7249 (elmo-nntp-send-data): Abolished.
7250 (elmo-nntp-send-buffer): New function.
7251 (elmo-nntp-send-data-line): Define as inline function.
7252 (elmo-nntp-get-folders-info-prepare): Use session as key.
7253 (elmo-nntp-groups-read-response): Changed argument.
7254 (elmo-nntp-retrieve-headers): Ditto.
7255 (elmo-nntp-msgdb-create-message): Ditto.
7257 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7258 when searching by 'since' or 'before'.
7260 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7262 * elmo-version.el (toplevel): Use product-version-as-string for set
7263 verstion-string, if defined.
7265 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7267 * elmo-util.el: Doc fixes.
7269 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7271 * elmo-archive.el (toplevel): Use product-provide.
7272 * elmo-cache.el (toplevel): Ditto.
7273 * elmo-database.el (toplevel): Ditto.
7274 * elmo-date.el (toplevel): Ditto.
7275 * elmo-dop.el (toplevel): Ditto.
7276 * elmo-filter.el (toplevel): Ditto.
7277 * elmo-imap4.el (toplevel): Ditto.
7278 * elmo-internal.el (toplevel): Ditto.
7279 * elmo-localdir.el (toplevel): Ditto.
7280 * elmo-localnews.el (toplevel): Ditto.
7281 * elmo-maildir.el (toplevel): Ditto.
7282 * elmo-msgdb.el (toplevel): Ditto.
7283 * elmo-multi.el (toplevel): Ditto.
7284 * elmo-net.el (toplevel): Ditto.
7285 * elmo-nntp.el (toplevel): Ditto.
7286 * elmo-pipe.el (toplevel): Ditto.
7287 * elmo-pop3.el (toplevel): Ditto.
7288 * elmo-util.el (toplevel): Ditto.
7289 * elmo-vars.el (toplevel): Ditto.
7290 * elmo2.el (toplevel): Ditto.
7291 * mmelmo-1.el (toplevel): Ditto.
7292 * mmelmo-2.el (toplevel): Ditto.
7293 * mmelmo-imap4-1.el (toplevel): Ditto.
7294 * mmelmo-imap4-2.el (toplevel): Ditto.
7295 * mmelmo-imap4.el (toplevel): Ditto.
7296 * mmelmo.el (toplevel): Ditto.
7298 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7300 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7301 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7303 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7305 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7307 (elmo-multi-split-number-alist): Ditto.
7309 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7311 * elmo-version.el: New file. Use product.el.
7312 * elmo2.el: Add (require 'elmo-version).
7313 * elmo-vars.el (elmo-appname, elmo-version): Move to
7316 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7318 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7319 `elmo-msgdb-expand-path'.
7320 (elmo-msgdb-load): Ditto.
7321 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7322 (elmo-generic-list-folder-unread): Rewrite.
7323 (elmo-generic-list-folder-important): Changed argument.
7324 (elmo-list-folder-unread): Ditto.
7325 (elmo-list-folder-important): Ditto.
7326 (elmo-folder-diff): Rewrite.
7327 (elmo-generic-folder-diff): New function.
7328 (elmo-multi-get-number-alist-list): Abolished
7329 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7330 (elmo-multi-folder-diff): Moved to elmo-multi.el
7331 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7333 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7334 `elmo-msgdb-expand-path'.
7335 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7336 (elmo-pop3-read-msg): Ditto.
7337 (elmo-pop3-delete-msgs): Ditto.
7338 (elmo-pop3-folder-diff): New alias.
7340 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7341 `elmo-msgdb-expand-path'.
7342 (elmo-pipe-list-folder-unread): Changed arguments.
7343 (elmo-pipe-list-folder-important): Ditto.
7344 (elmo-pipe-folder-diff): New alias.
7346 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7347 `elmo-msgdb-expand-path'.
7348 (elmo-nntp-max-of-folder): Ditto.
7349 (elmo-nntp-msgdb-create): Ditto.
7350 (elmo-nntp-delete-msgs): Ditto.
7351 (elmo-nntp-folder-diff): New alias.
7353 * elmo-multi.el (elmo-multi-folder-diff): New function.
7354 (elmo-multi-split-mark-alist): Ditto.
7355 (elmo-multi-split-number-alist): Ditto.
7356 (elmo-multi-mark-alist-list): Abolished (Renamed to
7357 elmo-multi-split-mark-alist).
7358 (elmo-multi-list-folder-unread): Rewrite.
7359 (elmo-multi-list-folder-important): Ditto.
7360 (elmo-multi-list-folder): Set `spec' as 1st argument for
7361 `elmo-msgdb-expand-path'.
7362 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7363 instead of `elmo-multi-get-number-alist-list'.
7365 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7366 If 1st argument is not string, treat as spec.
7367 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7368 `elmo-msgdb-expand-path'.
7369 (elmo-msgdb-flist-load): Ditto.
7370 (elmo-msgdb-flist-save): Ditto.
7371 (elmo-msgdb-delete-path): Ditto.
7372 (elmo-msgdb-rename-path): Ditto.
7374 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7375 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7376 (elmo-maildir-delete-mark-msgs): Ditto.
7377 (elmo-maildir-msgdb-create): Ditto.
7378 (elmo-maildir-read-msg): Ditto.
7379 (elmo-maildir-delete-msgs): Ditto.
7380 (elmo-maildir-list-folder-subr): Ditto.
7381 (elmo-maildir-search): Ditto.
7382 (elmo-maildir-get-msg-filename): Ditto.
7383 (elmo-maildir-pack-number): Ditto.
7384 (elmo-maildir-folder-diff): New alias.
7386 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7388 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7389 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7390 (elmo-localdir-folder-diff): New alias.
7392 * elmo-internal.el (elmo-internal-list-folder-subr):
7393 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7394 (elmo-internal-list-folder-by-location): Ditto.
7395 (elmo-internal-msgdb-create): Ditto.
7396 (elmo-internal-delete-msgs): Ditto.
7397 (elmo-internal-read-msg): Ditto.
7398 (elmo-internal-folder-diff): New alias.
7400 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7401 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7402 `elmo-msgdb-expand-path'.
7403 (elmo-imap4-list-folder-unread): Changed arguments.
7404 (elmo-imap4-list-folder-important): Ditto.
7406 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7407 (elmo-filter-list-folder-important): Ditto.
7408 (elmo-filter-folder-diff): New function.
7410 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7412 * elmo-cache.el (elmo-cache-list-folder):
7413 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7414 (elmo-cache-copy-msgs): Ditto.
7415 (elmo-cache-folder-diff): New alias.
7417 * elmo-archive.el (elmo-archive-list-folder-subr):
7418 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7419 (elmo-archive-get-archive-name): Ditto.
7420 (elmo-archive-create-file): Ditto.
7421 (elmo-archive-append-msg): Ditto.
7422 (elmo-archive-copy-msgs): Ditto.
7423 (elmo-archive-copy-msgs-froms): Ditto.
7424 (elmo-archive-get-msg-filename): Ditto.
7425 (elmo-archive-folder-diff): New alias.
7427 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7429 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7430 (elmo-pop3-stream-type-alist): New variable.
7431 (elmo-nntp-stream-type-alist): New variable.
7433 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7434 (elmo-kill-buffer): Ditto.
7435 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7436 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7437 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7438 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7439 (elmo-imap4-get-spec): Take into account
7440 `elmo-imap4-stream-type-alist'.
7442 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7444 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7445 (elmo-nntp-list-folders-get-cache): Ditto.
7447 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7449 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7450 character before 'uid'.
7452 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7454 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7456 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7458 * elmo-util.el (elmo-number-set-member): New function.
7459 (elmo-number-set-append-list): Ditto.
7460 (elmo-number-set-append): Ditto.
7462 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7463 Use `elmo-number-set-member'.
7464 (elmo-living-messages): Ditto.
7465 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7466 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7468 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7469 (elmo-imap4-add-to-cont-list): Abolished.
7470 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7471 instead of elmo-imap4-add-to-cont-list.
7473 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7474 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7476 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7478 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7480 * elmo-util.el (elmo-condition-parse-search-value):
7483 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7485 * elmo-util.el (elmo-condition-find-key-internal): New function.
7486 (elmo-condition-find-key): Ditto.
7488 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7489 (elmo-msgdb-search-internal): Ditto.
7490 (elmo-msgdb-search): Ditto.
7492 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7494 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7495 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7497 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7498 (elmo-nntp-search-primitive): Fixed problem when condition is
7501 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7503 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7504 (elmo-nntp-xhdr-p): New macro.
7505 (elmo-nntp-set-xhdr): Ditto.
7506 (elmo-nntp-parse-xhdr-response): New function.
7507 (elmo-nntp-retrieve-field): Ditto.
7508 (elmo-nntp-search-primitive): Ditto.
7509 (elmo-nntp-search): Implemented.
7511 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7513 * elmo-archive.el (elmo-archive-search): Set all number list to
7514 `elmo-archive-field-condition-match'
7516 * elmo-localdir.el (elmo-localdir-search): Likewise.
7518 * elmo-maildir.el (elmo-maildir-search): Likewise.
7520 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7522 * elmo-msgdb.el (elmo-living-messages): New function.
7523 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7524 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7525 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7526 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7527 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7528 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7529 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7530 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7531 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7532 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7533 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7535 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7537 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7539 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7541 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7543 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7544 arguments for `SEARCH' command.
7545 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7546 All other related portions are changed.
7548 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7550 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7551 (elmo-list-folder-unread): Rewrite.
7552 (elmo-list-folder-important): Ditto.
7554 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7555 (elmo-condition-parse-error): New inline function.
7556 (elmo-read-search-condition): New function.
7557 (elmo-read-search-condition-internal): Ditto.
7558 (elmo-parse-search-condition): Rewrite.
7559 (elmo-condition-parse): New function.
7560 (elmo-condition-parse-or-expr): Ditto.
7561 (elmo-condition-parse-and-expr): Ditto.
7562 (elmo-condition-parse-primitive): Ditto.
7563 (elmo-condition-parse-search-value): Ditto.
7564 (elmo-buffer-field-primitive-condition-match): Ditto.
7565 (elmo-buffer-field-condition-match): Rewrite.
7566 (elmo-file-field-condition-match): Ditto.
7568 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7569 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7571 * elmo-internal.el (elmo-internal-search): Set `number' and
7572 `number-list' argument of `elmo-file-field-condition-match'.
7574 * elmo-maildir.el (elmo-maildir-search): Ditto.
7576 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7577 `msgdb' as argument instead of `mark-alist'.
7578 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7581 * elmo-multi.el: Likewise.
7583 * elmo-pipe.el: Likewise.
7585 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7586 (elmo-imap4-search-internal): Rewrite.
7587 (elmo-imap4-search): Ditto.
7589 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7590 (elmo-filter-list-folder-unread): Ditto.
7591 (elmo-filter-list-folder-important): Ditto.
7592 (elmo-filter-search): Rewrite.
7594 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7595 `number-list' argument of `elmo-file-field-condition-match'.
7596 (elmo-cache-search): Ditto.
7598 * elmo-localdir.el: Likewise.
7600 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7601 number-list and pass it to `elmo-buffer-field-condition-match'.
7602 (elmo-archive-field-condition-match): Pass `number-list' to
7603 `elmo-archive-field-condition-match'
7605 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7607 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7610 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7611 (elmo-folder-diff-async-callback-data): Ditto.
7612 (elmo-folder-diff-async): New function.
7614 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7615 (elmo-network-session-cache-key): Use it as a prefix of the session
7617 (elmo-network-open-session): Ditto.
7619 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7620 (elmo-imap4-status-callback-data): Ditto.
7621 (elmo-imap4-server-diff-async-callback): New variable.
7622 (elmo-imap4-server-diff-async-callback-data): Ditto.
7623 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7624 `elmo-imap4-status-callback-data'.
7625 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7626 `elmo-imap4-status-callback-data' as nil.
7627 (elmo-imap4-server-diff): Ditto.
7628 (elmo-imap4-server-diff-async-callback-1): New function.
7629 (elmo-imap4-server-diff-async): Ditto.
7630 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7632 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7634 * elmo-util.el (elmo-list-delete): Doc fix.
7635 (elmo-delete-lists): Abolish.
7636 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7637 instead of `elmo-delete-lists'.
7639 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7641 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7644 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7646 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7647 `elmo-imap4-literal-subr'.
7648 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7649 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7651 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7653 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7654 (elmo-archive-list-folder): Fix.
7655 (elmo-archive-max-of-folder): Fix.
7657 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7659 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7660 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7661 (elmo-localdir-append-msg): Ditto.
7662 (elmo-localdir-list-folder): Fix for `nonsort'.
7663 (elmo-localdir-list-folder-subr): Fix for `killed'.
7664 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7665 (elmo-maildir-list-folder-subr): Ditto.
7666 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7667 (elmo-archive-list-folder-subr): Ditto.
7668 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7669 (elmo-internal-list-folder-subr): Ditto.
7671 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7673 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7675 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7677 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7679 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7681 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7682 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7684 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7686 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7687 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7689 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7691 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7693 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7694 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7695 before STORE command.
7697 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7699 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7701 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7702 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7704 (elmo-imap4-list-folders): Removed unused local variable.
7705 (elmo-network-initialize-session): Ditto.
7706 (elmo-imap4-delete-msg-by-id): Ditto.
7707 (elmo-imap4-parse-fetch): Ditto.
7708 (elmo-imap4-copy-msgs): Ditto.
7709 Use `dst-spec' instead of `dst-folder'.
7710 (elmo-network-authenticate-session): Check authenticate type `plain'.
7712 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7714 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7716 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7717 `elmo-imap4-response-value'.
7718 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7720 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7722 * elmo-imap4.el (elmo-imap4-send-command):
7723 Cause elmo-imap4-bye-error when current response is BYE.
7724 (elmo-imap4-arrival-filter): Changed greeting response value.
7726 * elmo2.el (elmo-imap4-bye-error): Define.
7728 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7729 (elmo-imap4-server-diff): Ditto.
7730 (elmo-imap4-response-bye-p): New macro.
7731 (elmo-imap4-response-error-text): Get text from BYE response.
7732 (elmo-imap4-read-response): Return if BYE response.
7733 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7734 (elmo-imap4-folder-exists-p): Ditto.
7735 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7736 (elmo-imap4-parse-bye): New function.
7737 (elmo-imap4-parse-response): Remove needless let.
7738 Call `elmo-imap4-parse-bye'.
7740 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7742 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7743 the mailbox does not exist.
7744 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7746 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7748 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7750 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7752 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7754 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7755 (elmo-network-initialize-session-buffer): Defined.
7757 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7759 (mmelmo-imap4-get-mime-entity): Rewrite.
7761 * elmo2.el (elmo-error): Capitalize error message.
7763 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7764 (elmo-network-session-buffer): New macro.
7765 (elmo-network-open-session): Use it.
7767 * elmo-imap4.el: Rewrite.
7769 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7771 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7773 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7775 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7776 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7777 (elmo-imap4-create-msgdb-from-overview-string): Use
7778 `elmo-msgdb-create-overview-from-buffer'.
7780 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7782 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7783 (elmo-imap4-default-hierarchy-delimiter): New variable.
7784 (elmo-imap4-list-folders): Use it.
7786 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7788 * elmo-net.el (elmo-network-open-session): Add user and
7789 stream-type for process-buffer name.
7791 * elmo-pop3.el (elmo-network-initialize-session): Call
7792 buffer-disable-undo.
7794 * elmo-imap4.el (elmo-network-initialize-session):
7795 Set current-buffer as an argument for `buffer-disable-undo'.
7797 * elmo-pop3.el (elmo-network-close-session): Don't use
7800 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7801 Set default as 'user.
7803 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7805 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7806 and `elmo-imap4-flush-connection'.
7808 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7809 (elmo-pop3-get-spec): Assume auth as symbol.
7810 (elmo-open-network-stream): Moved to `elmo-net'.
7812 * elmo-pop3.el (toplevel): Require 'elmo-net.
7813 Define `sasl-cram-md5' to silence byte compilier.
7814 (elmo-pop3-connection-cache) Abolished.
7815 (elmo-pop3-authenticator-alist) New variable.
7816 (elmo-pop3-session): Define.
7817 (elmo-pop3-connection-get-process): Abolished.
7818 (elmo-pop3-connection-get-buffer): Ditto.
7819 (elmo-pop3-close-connection): Ditto.
7820 (elmo-pop3-flush-connection): Ditto.
7821 (elmo-pop3-get-connection): Ditto.
7822 (elmo-pop3-get-session): New function.
7823 (Replacement for `elmo-pop3-get-connection').
7824 All other related modules are changed.
7825 (elmo-network-close-session): Define.
7826 (elmo-pop3-send-command): Abolished argument `buffer'.
7827 All other related modules are changed.
7828 (elmo-pop3-read-response): Likewise.
7829 (elmo-pop3-open-connection): Abolished.
7830 (elmo-pop3-auth-user): New function.
7831 (elmo-pop3-auth-apop): Ditto.
7832 (elmo-pop3-auth-cram-md5): Ditto.
7833 (elmo-pop3-auth-scram-md5): Ditto.
7834 (elmo-pop3-auth-digest-md5): Ditto.
7835 (elmo-network-initialize-session): Define.
7836 (elmo-network-authenticate-session): Ditto.
7837 (elmo-network-setup-session): Ditto.
7839 * elmo-imap4.el (toplevel): Require 'elmo-net.
7840 (elmo-imap4-session): Define.
7841 (elmo-imap4-connection-cache): Abolished.
7842 (elmo-imap4-password-key): Ditto.
7843 (elmo-imap4-flush-connection): Ditto.
7844 (elmo-imap4-get-connection): Ditto.
7845 All other related modules are changed.
7846 (elmo-imap4-get-session): New function
7847 (Replacement for `elmo-imap4-get-connection').
7848 (elmo-imap4-read-response): Abolished argument `buffer'.
7849 All other related modules are changed.
7850 (elmo-imap4-send-command): Likewise.
7851 (elmo-imap4-select-folder): Abolished.
7852 All other related modules are changed.
7853 (elmo-imap4-select-mailbox): New function.
7854 (Replacement for `elmo-imap4-select-folder').
7855 (elmo-imap4-auth-login): Simplify.
7856 (Assume current buffer as process buffer)
7857 (elmo-imap4-auth-cram-md5): Ditto.
7858 (elmo-imap4-auth-digest-md5): Ditto.
7859 (elmo-imap4-login): Ditto.
7860 (elmo-imap4-open-connection): Abolished.
7861 (elmo-imap4-open-connection-1): Abolished.
7862 (elmo-network-initialize-sessoin): Define.
7863 (elmo-network-authenticate-session): Ditto.
7864 (elmo-network-setup-session): Ditto.
7866 * elmo-net.el: New module.
7868 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7870 * elmo-util.el (elmo-define-error): New function.
7872 * elmo2.el (elmo-error): Define.
7873 (elmo-open-error): Define.
7874 (elmo-authenticate-error): Define.
7876 * elmo-imap4.el (elmo-imap4-error): Abolish.
7877 (elmo-imap4-error-type): Abolish.
7878 (elmo-imap4-error-process): Abolish.
7879 (elmo-imap4-error-message): Abolish
7880 (elmo-imap4-list-folders): Don't quote lambda.
7881 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7882 (elmo-imap4-parse-namespace): Ditto.
7883 (elmo-imap4-open-connection): Rewrite.
7884 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7885 (elmo-imap4-get-connection): Abolish local variable `result'.
7887 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7889 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7890 wrong-type-argument error when auth is nil.
7892 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7894 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7895 (elmo-default-nntp-stream-type): Ditto.
7896 (elmo-default-pop3-stream-type): Ditto.
7897 (elmo-network-stream-type-alist): Ditto.
7898 (elmo-default-imap4-ssl): Abolished.
7899 (elmo-default-nntp-ssl): Ditto.
7900 (elmo-default-pop3-ssl): Ditto.
7902 * elmo-util.el: (toplevel): Removed needless requires.
7903 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7904 (elmo-open-network-stream): Open network stream according to
7905 the value of `elmo-network-stream-type-alist'.
7906 (elmo-get-network-stream-type): New function.
7907 (elmo-network-stream-type-spec-string): New macro.
7908 (elmo-network-stream-type-symbol): Ditto.
7909 (elmo-network-stream-type-function): Ditto.
7911 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7912 network-stream-type. All other related portions are changed.
7913 (elmo-pop3-open-connection): Ditto.
7915 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7916 network-stream-type. All other related portions are changed.
7918 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7919 network-stream-type.All other related portions are changed.
7920 (elmo-imap4-error): New macro.
7921 (elmo-imap4-error-type): Ditto.
7922 (elmo-imap4-error-process): Ditto.
7923 (elmo-imap4-error-message): Ditto.
7924 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7925 (elmo-imap4-auth-cram-md5): Ditto.
7926 (elmo-imap4-auth-digest-md5): Ditto.
7927 (elmo-imap4-login): Ditto.
7928 (elmo-imap4-open-connection): Remove password entry if authentication
7930 (elmo-imap4-user-at-host): Abolished.
7931 (elmo-imap4-password-key): New buffer local variable.
7932 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7933 using protocol, port, auth and stream-type.
7935 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7937 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7939 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7941 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7943 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7944 (elmo-imap4-authenticator-alist): New variable.
7945 (elmo-imap4-open-connection-1): Rename from
7946 elmo-imap4-open-connection.
7947 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
7948 only wraps elmo-imap4-open-connection-1.
7949 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
7951 (elmo-imap4-auth-login): New function.
7952 (elmo-imap4-auth-cram-md5): New function.
7953 (elmo-imap4-auth-digest-md5): New function.
7954 (elmo-imap4-login): New function.
7956 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7958 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
7961 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7963 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
7965 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
7967 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
7969 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
7971 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
7972 for server responses, quote `*' regardless of where it appears.
7974 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7976 * elmo-maildir.el (elmo-maildir-commit): New alias.
7978 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7980 * elmo-util.el (elmo-display-progress):
7981 Use `progress-feedback-with-label'.
7983 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
7985 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
7986 (elmo-imap4-non-atom-char-regex): Ditto.
7987 (elmo-imap4-non-text-char-regex): Ditto.
7988 (elmo-imap4-literal-threshold): Ditto.
7989 (elmo-imap4-atom-p): New function.
7990 (elmo-imap4-quotable-p): Ditto.
7991 (elmo-imap4-nil): Ditto.
7992 (elmo-imap4-atom): Ditto.
7993 (elmo-imap4-quoted): Ditto.
7994 (elmo-imap4-literal-subr): Ditto.
7995 (elmo-imap4-literal): Ditto.
7996 (elmo-imap4-buffer-literal): Ditto.
7997 (elmo-imap4-string-subr): Ditto.
7998 (elmo-imap4-string): Ditto.
7999 (elmo-imap4-buffer-string): Ditto.
8000 (elmo-imap4-astring-subr): Ditto.
8001 (elmo-imap4-astring): Ditto.
8002 (elmo-imap4-buffer-astring): Ditto.
8003 (elmo-imap4-nstring): Ditto.
8004 (elmo-imap4-buffer-nstring): Ditto.
8005 (elmo-imap4-mailbox): New alias.
8006 (elmo-imap4-field-body): Ditto.
8007 (elmo-imap4-userid): Ditto.
8008 (elmo-imap4-password): Ditto.
8009 (elmo-imap4-format-quoted): New function.
8010 (elmo-imap4-send-command): Rewritten. Accept a list of command
8011 arguments and handle "atom", "quoted" and "literal" string here.
8012 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8013 `elmo-imap4-send-command'.
8014 (elmo-imap4-folder-exists-p): Likewise.
8015 (elmo-imap4-create-folder): Likewise.
8016 (elmo-imap4-delete-folder): Likewise.
8017 (elmo-imap4-rename-folder): Likewise.
8018 (elmo-imap4-max-of-folder): Likewise.
8019 (elmo-imap4-check-validity): Likewise.
8020 (elmo-imap4-sync-validity): Likewise.
8021 (elmo-imap4-server-diff): Likewise.
8022 (elmo-imap4-select-folder): Likewise.
8023 (elmo-imap4-copy-msgs): Likewise.
8024 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8025 (elmo-imap4-mark-set-on-msgs): Likewise.
8026 (elmo-imap4-read-part): Likewise.
8027 (elmo-imap4-read-msg): Likewise.
8028 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8029 `elmo-imap4-password' for `elmo-imap4-send-command'.
8030 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8031 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8032 `elmo-imap4-buffer-literal'.
8033 (elmo-imap4-append-msg): Likewise.
8035 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8036 `delete' for removing dead connection from the connection cache.
8037 Move deletion of the process buffer after that.
8038 (elmo-imap4-list): Change `defsubst' to `defun'.
8039 (elmo-imap4-commit): Make error message verbose.
8040 (elmo-imap4-search): Ditto.
8041 (elmo-imap4-list): Ditto.
8042 (elmo-imap4-select-folder): Ditto.
8043 (elmo-imap4-copy-msgs): Ditto.
8044 (elmo-imap4-delete-msg-by-id): Ditto.
8045 (elmo-imap4-append-msg-by-id): Ditto.
8046 (elmo-imap4-append-msg): Ditto.
8048 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8050 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8051 when dired is used on XEmacs.
8053 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8055 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8056 instead of `append'.
8057 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8058 `elmo-plugged-p' directly.
8059 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8060 of `elmo-plugged-p' directly.
8062 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8063 Eliminate unused variable. Use `memq' for checking a process status.
8064 Use `cons' instead of `append' for updating the connection cache.
8065 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8066 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8068 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8070 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8071 `elmo-imap4-read-point' exactly.
8073 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8074 the local variable `folder' to `mailbox'.
8075 Rename the argument `fld' to `folder'.
8077 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8079 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8080 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8082 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8084 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8085 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8086 (elmo-pop3-uidl-number-hash): Ditto.
8087 (elmo-pop3-size-hash): Ditto.
8088 (elmo-pop3-uidl-done): Ditto.
8089 (elmo-pop3-list-done): Ditto.
8090 (elmo-pop3-connection-get-process): New defmacro.
8091 (elmo-pop3-connection-get-buffer): Ditto.
8092 (elmo-pop3-close-connection): Delete buffer and process.
8093 (elmo-pop3-flush-connection): Don't delete buffer and process.
8094 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8095 Setup UIDL and size hash.
8096 (elmo-pop3-send-command-no-erase): Deleted
8097 (elmo-pop3-send-command): Added optional argument `no-erase'.
8098 (elmo-pop3-parse-uidl-response): New function.
8099 (elmo-pop3-parse-list-response): Set size hash.
8100 (elmo-pop3-list-location): New function.
8101 (elmo-pop3-list-by-uidl-subr): Ditto.
8102 (elmo-pop3-list-by-list): Ditto.
8103 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8104 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8105 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8106 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8107 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8109 (elmo-pop3-uidl-to-number): New function.
8110 (elmo-pop3-number-to-uidl): Ditto.
8111 (elmo-pop3-number-to-size): Ditto.
8112 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8113 Set number by use of uidl.
8114 (elmo-pop3-msgdb-create-message): Likewise.
8115 Set size, loc-alist in msgdb.
8116 (elmo-pop3-read-msg): Set number by use of uidl.
8117 Added optional argument `msgdb'.
8118 (elmo-pop3-delete-msg): Ditto.
8119 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8120 (elmo-pop3-commit): Close connection.
8122 * elmo-pipe.el (elmo-pipe-max-of-folder):
8123 Bind `elmo-pop3-use-uidl' as nil.
8124 (elmo-pipe-drain): Ditto.
8127 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8128 (elmo-msgdb-overview-entity-set-size): New defsubst.
8130 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8132 * elmo-vars.el (elmo-use-killed-list): New variable
8133 (Renamed from `elmo-nntp-use-killed-list').
8134 (elmo-nntp-use-killed-list): Eliminated.
8136 * elmo-msgdb.el (elmo-msgdb-expand-path):
8137 Changed expanding msgdb path for elmo-multi.
8139 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8140 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8141 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8142 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8143 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8144 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8145 (toplevel): Deleted time-stamp line.
8147 * elmo2.el (elmo-clear-killed ): Defined as function
8148 (Abolished defining as a backend function).
8149 All other related modules are changed.
8151 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8153 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8155 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8157 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8159 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8161 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8163 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8165 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8166 asynchronous folder check.
8168 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8170 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8171 `elmo-nntp-use-killed-list'.
8172 (elmo-nntp-list-folder): Use killed list.
8173 (elmo-nntp-max-of-folder): Ditto.
8174 (elmo-nntp-msgdb-create): Set killed list.
8176 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8178 * elmo2.el (elmo-clear-killed): New backend function.
8179 All other related modules are changed.
8181 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8183 * elmo-util.el (elmo-imap4-spec-folder): Use
8184 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8185 All callers changed.
8187 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8189 * mmelmo-2.el (initialize-instance):
8190 Use `mime-buffer-entity-buffer-internal' instead of
8191 `mime-entity-buffer'.
8193 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8194 (mime-entity-body): Implemented.
8195 (mime-goto-header-start-point): Deleted.
8196 (mime-goto-body-end-point): Ditto.
8197 (mime-entity-point-min): Ditto.
8198 (mime-entity-point-max): Ditto.
8199 (mime-entity-children): Ditto.
8200 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8201 instead of `mime-entity-buffer'.
8202 (mime-entity-header-buffer): Ditto.
8203 (mime-entity-body-buffer): Ditto.
8204 (mime-write-entity-content): Ditto.
8206 * pldap.el (ldap-static-if): New macro.
8207 (toplevel): Use it instead of `static-if'.
8209 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8211 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8212 included in `attrs' argument.
8214 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8216 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8218 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8219 (ldap-ldif-safe-init-char-regexp): Ditto.
8220 (ldap-ldif-safe-string-regexp): Ditto.
8221 (ldap/ldif-safe-string-p): New macro.
8222 (ldap/ldif-insert-field): Ditto.
8223 (ldap-modify): Use it.
8225 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8226 (ldap-decode-attribute): Decode only when `attr' is consp.
8227 (ldap-delete): Bind `ret'.
8228 (toplevel): Require 'cl at compile time.
8229 Removed (require 'poe) and (require 'std11).
8230 (pldap-version): Eliminated.
8231 (ldap-search-basic): Removed auth and dn binding.
8232 (ldap-ldif-field-name-regexp): New constant.
8233 (ldap-ldif-field-head-regexp): Ditto.
8234 (ldap-ldif-next-field-head-regexp): Ditto.
8235 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8236 (ldap/field-end): New function.
8237 (ldap/field-body): Use it.
8238 (ldap/collect-field): Ditto.
8239 (ldap-search-basic): Use `ldap/field-body'.
8241 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8243 * pldap.el (ldap-default-attribute-encoder): New user option.
8244 (ldap/field-body): Decode base64 string.
8245 (ldap/collect-field): Ditto.
8246 (ldap-encode-attribute): New function.
8247 (ldap-add-entries): Use it.
8248 (ldap-modify-entries): Ditto.
8249 (ldap-search-entries): Enclosed decoding function with
8250 `with-temp-buffer' and set as unibyte.
8251 (ldap-search-basic): Set process buffer as unibyte.
8253 * elmo-util.el (elmo-folder-identical-system-p):
8254 Eliminated name space checking.
8256 * pldap.el: New module.
8257 toplevel: Changed condition to detect built-in ldap feature.
8258 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8259 (ldap-add): Added error handling.
8260 (ldap-modify): Ditto.
8261 (ldap-delete): Ditto.
8263 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8265 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8266 Initialize local variables with `let'. Inline a temporary
8267 variable for the progress percentage. Sort `setq' to reduce
8268 function call in the while-loop.
8270 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8271 into the conditional branch.
8273 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8275 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8276 Move a conditional out of the while-loop.
8278 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8280 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8281 elmo-msgdb-overview-get-entity-by-number.
8282 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8285 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8287 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8288 the local variable for a packed number self descriptively.
8290 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8292 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8293 * elmo-localdir.el (elmo-localdir-pack-number): Use
8294 `elmo-msgdb-overview-get-entity' instead of
8295 `elmo-msgdb-overview-get-entity-by-number'.
8296 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8297 (elmo-msgdb-search-overview-entity): Removed.
8298 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8299 by message-id or number.
8300 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8301 instead of `elmo-msgdb-overview-get-entity-by-number'.
8303 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8305 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8306 non-nil, use hash table for overview.
8307 (elmo-hash-maximum-size): New variable.
8308 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8309 (elmo-msgdb-make-overview-hashtb): New function.
8310 (elmo-msgdb-clear-overview-hashtb): New function.
8311 (elmo-clear-hash-val): New macro.
8312 All other related modules are changed.
8314 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8316 * elmo2.el (elmo-move-msgs): If there's other message with
8317 same message-id, don't use cache.
8319 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8321 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8322 number is already packed.
8324 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8326 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8328 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8330 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8331 All other related modules are changed.
8333 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8335 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8336 of refiling failure on Maildir.
8338 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8340 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8341 decoded mime-charset with cache.
8342 (elmo-msgdb-overview-entity-get-from): Ditto.
8343 (elmo-msgdb-overview-entity-get-subject): Ditto.
8344 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8346 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8348 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8349 (elmo-remove-passwd): Fill password with 0 before erase.
8350 * elmo-vars.el (elmo-passwd-life-time): New variable.
8353 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8355 * elmo-cache.el (elmo-buffer-cache-add):
8356 Set message cache buffer as unibyte.
8358 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8360 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8363 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8365 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8366 when display is finished.
8367 (elmo-nntp-msgdb-create): Ditto.
8368 (elmo-nntp-groups-read-response): Ditto.
8369 (elmo-nntp-retrieve-headers): Ditto.
8370 (elmo-nntp-msgdb-create-message): Ditto.
8371 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8372 (elmo-pop3-msgdb-create-message): Ditto.
8374 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8376 * elmo-maildir.el (elmo-maildir-msgdb-create):
8377 Use `elmo-msgdb-sort-by-date'.
8379 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8381 * elmo2.el (elmo-read-msg-no-cache):
8382 Eliminated arguments after `outbuf'.
8383 Don't use cache even if it exists.
8384 (elmo-read-msg): Don't pass arguments after `outbuf' to
8385 `elmo-read-msg-no-cache'.
8387 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8389 * elmo-archive.el (elmo-archive-list-folders):
8390 Use `file-name-directory' if base folder does not exist.
8392 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8394 * elmo-archive.el (elmo-archive-list-folders): Don't use
8395 `file-name-directory'.
8397 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8399 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8400 If `force' is non-nil, try flushing all operation queues.
8402 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8404 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8407 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8409 * elmo-util.el (elmo-display-progress): Fixed.
8411 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8413 * elmo-util.el (elmo-display-progress): New function.
8414 All other related modules are changed.