1 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-flag.el (elmo-global-flags-initialize): Check the
4 existence of the flag directory.
6 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-access.el (elmo-folder-initialize): Call
9 `elmo-multi-connect-signals'.
11 * elmo-pipe.el (elmo-folder-close): Define.
13 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
16 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
19 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
22 * elmo-multi.el (elmo-message-entity): Don't use return value of
23 `elmo-message-entity-set-number'.
25 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
27 * modb.el (modb-generic): Added slot `mime-charset'.
29 * modb-standard.el (modb-standard): Added slot `overview-handler'.
30 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
31 and `modb-entity-handler-dump-parameters'.
32 (modb-standard-default-entity-handler): Abolish.
33 (elmo-msgdb-message-entity-handler): Save created handler by
36 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
37 (modb-entity-handler-list-parameters): New method.
38 (modb-entity-handler-equal-p): New function.
39 (modb-entity-handler-dump-parameters): Ditto.
40 (modb-entity-parse-address-string): Encode return value.
41 (modb-entity-make-address-string): Decode argument value.
42 (modb-entity-decode-string-recursive): New function.
43 (modb-entity-encode-string-recursive): Ditto.
44 (modb-standard-entity-normalizer): Set to encode field value.
45 (modb-standard-entity-specializer): Follow the above change.
46 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
47 mime-charset of handler.
48 (elmo-msgdb-message-entity-field): Ditto.
49 (elmo-msgdb-copy-message-entity): Fixed reference to internal
51 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
53 * elmo.el (elmo-folder): Added slot `mime-charset'.
54 (elmo-make-folder): Added argument `mime-charset'.
55 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
58 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
59 (elmo-make-msgdb): Likewise.
61 * elmo-internal.el (elmo-internal-folder-initialize): Call
62 `luna-make-entity' with :mime-charset parameter.
64 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
66 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
67 encoded words in `from' and `subject' field.
69 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
71 * modb.el (elmo-msgdb-message-field): Add argument `type'.
72 (elmo-msgdb-match-condition): Get handler from entity instead of
75 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
76 (modb-standard-load-entity): Treat new file format.
77 (modb-standard-save-entity-1): Save as new file format.
78 (modb-standard-save-entity): Split messages into section here.
79 (elmo-msgdb-message-field): Follow the API change.
80 (modb-standard-default-entity-handler): New internal variable.
81 (elmo-msgdb-message-entity-handler): Define.
83 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
85 (modb-entity-field-extractor-alist): New user option.
86 (elmo-msgdb-message-entity-field): Removed argument `decode' and
87 added argument `type'.
88 (elmo-msgdb-copy-message-entity): Add optional argument
90 (modb-set-field-converter): New function.
91 (modb-convert-field-value): Ditto.
92 (modb-entity-string-decoder): Ditto.
93 (modb-entity-string-encoder): Ditto.
94 (modb-entity-parse-date-string): Ditto.
95 (modb-entity-make-date-string): Ditto.
96 (modb-entity-mime-decoder): Ditto.
97 (modb-entity-mime-encoder): Ditto.
98 (modb-entity-address-list-decoder): Ditto.
99 (modb-entity-address-list-encoder): Ditto.
100 (modb-entity-parse-address-string): Ditto.
101 (modb-entity-make-address-string): Ditto.
102 (modb-entity-create-field-indices): Ditto.
103 (modb-legacy-entity-field-slots): New constant.
104 (modb-legacy-entity-field-indices): Ditto.
105 (modb-legacy-entity-normalizer): New variable.
106 (modb-legacy-entity-specializer): Ditto.
107 (modb-legacy-entity-field-index): New macro.
108 (modb-legacy-entity-set-field): New function.
109 (modb-legacy-make-message-entity): Rewrite.
110 (elmo-msgdb-create-message-entity-from-buffer): Use
111 `elmo-msgdb-get-references-from-buffer'. Use
112 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
113 Use `modb-legacy-entity-set-field' instead of
114 `elmo-msgdb-message-entity-set-field'.
115 (elmo-msgdb-message-entity-field): Rewrite.
116 (elmo-msgdb-message-entity-set-field): Ditto.
117 (elmo-msgdb-copy-message-entity): Make new entity by
118 `make-handler' if it specified.
119 (elmo-msgdb-message-match-condition): Define a method of
120 `modb-entity-handler' and follow the API change.
121 (modb-standard-entity-handler): New class.
122 (modb-entity-extract-ml-info-from-x-sequence): New function.
123 (modb-entity-extract-ml-info-from-subject): Ditto.
124 (modb-entity-extract-ml-info-from-return-path): Ditto.
125 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
126 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
127 (modb-entity-extract-mailing-list-info): Ditto.
128 (modb-entity-extract-mailing-list-info-functions): New variable.
130 * elmo.el (elmo-message-field): Add optional argument `type'.
132 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
133 from `modb-entity.el'.
135 * elmo-util.el (elmo-object-load): Decode by coding-system from
136 `set-auto-coding-function'.
137 (elmo-object-save): Use `detect-mime-charset-region' and add
138 coding cookie if encode.
139 (elmo-msgdb-get-references-from-buffer): New function.
140 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
142 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
144 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
145 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
146 instead of `shimbun-make-header' and follow the API change.
147 (elmo-shimbun-update-overview): Follow the API change.
148 (elmo-map-folder-list-message-locations): Ditto.
150 * elmo-pipe.el (elmo-message-field): Ditto.
152 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
155 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
157 * elmo-multi.el (elmo-message-field): Ditto.
159 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
160 (elmo-msgdb-sort-by-date): Ditto.
161 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
162 `elmo-message-entity-field'.
163 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
165 (elmo-msgdb-overview-entity-get-from): Ditto.
166 (elmo-msgdb-overview-entity-get-subject): Ditto.
167 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
168 (elmo-msgdb-overview-entity-get-date): Ditto.
169 (elmo-msgdb-overview-entity-get-to): Ditto.
170 (elmo-msgdb-overview-entity-get-cc): Ditto.
172 * elmo-mime.el (elmo-message-mime-entity): Ditto.
173 (elmo-mime-collect-message/partial-pieces): Ditto.
175 * elmo-filter.el (elmo-message-field): Ditto.
177 * elmo-date.el (elmo-datevec-to-time): New function.
178 (elmo-time-parse-date-string): Ditto.
179 (elmo-time-make-date-string): Ditto.
182 * elmo-version.el (elmo-version): Up to 2.15.1.
184 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
186 * elmo-flag.el (elmo-global-flags-initialize): Don't include
187 member of elmo-local-flags.
189 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
191 * elmo-version.el (elmo-version): Up to 2.15.0.
193 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
195 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
196 `ignore-msgdb' is non-nil.
198 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
200 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
201 (elmo-condition-in-msgdb-p): Ditto.
202 (elmo-file-field-primitive-condition-match): Ditto.
203 (elmo-file-field-condition-match): Ditto.
205 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
207 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
209 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
211 (elmo-global-flags-initialize): New function.
213 * elmo.el (toplevel): Added autoload setting for
214 `elmo-global-flags-initialize'.
216 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
218 * elmo.el (message-number-changed): Define new signal.
219 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
220 message-number-changed signal.
221 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
222 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
223 Respect `elmo-pack-number-check-strict'.
225 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
227 * elmo-signal.el (elmo-connect-signal): Document.
228 (elmo-emit-signal): Ditto.
229 (elmo-emit-signal): It should pass source argument to filter and
230 handler, not slot-source.
232 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
234 * modb.el (elmo-msgdb-update-entity): New API and define generic
237 * modb-standard.el (elmo-msgdb-update-entity): Define.
239 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
240 API and define generic implement.
242 * elmo.el (update-overview): New singnal.
244 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
245 `elmo-msgdb-update-entity' and emit signal `update-overview'.
246 (elmo-message-entity-parent): Define.
248 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
251 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
253 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
255 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
257 * elmo.el (elmo-folder-synchronize): Sort the return value of
260 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
263 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
265 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
266 `default-enable-multibyte-characters'.
267 (elmo-object-load): Use `with-temp-buffer' instead of
269 (elmo-object-save): Ditto.
270 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
272 (elmo-decoded-field-body): Ditto.
274 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
276 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
277 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
279 * elmo-version.el (elmo-version): Up to 2.13.3.
281 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
283 * elmo-util.el (elmo-list-diff): Fix the last change.
284 Reverse order of result lists.
286 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
288 * modb-standard.el (elmo-msgdb-set-flag): Use
289 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
290 (elmo-msgdb-unset-flag): Ditto.
292 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
295 * elmo-util.el (elmo-list-diff): Rewrite.
296 (elmo-list-diff-nonsortable): New function.
298 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
300 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
301 `elmo-multibypte-buffer-name'. All referers are updated.
303 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
305 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
306 (elmo-mime-entity-fragment-p): New function.
307 (mime-elmo-buffer-entity): Added slot `reassembled'.
308 (elmo-message-mime-entity): Added 4th argument `reassemble'.
309 (elmo-message-mime-entity-internal): New function (renamed from
310 `elmo-message-mime-entity').
311 (elmo-mime-inherit-field-list-from-enclosed): New constant.
312 (elmo-mime-make-reassembled-mime-entity): New function.
313 (elmo-message-reassembled-mime-entity): Ditto.
314 (elmo-mime-collect-message/partial-pieces): Ditto.
316 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
318 * elmo.el (elmo-message-fetch-string): Disable multibyte.
320 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
321 (elmo-with-enable-multibyte): New macro.
323 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
325 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
327 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
329 (elmo-filter-connect-signals): Follow the above change.
331 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
333 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
335 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
336 that only the first flag is used.
338 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
340 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
343 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
345 * elmo-signal.el: New file.
347 * elmo.el (toplevel): Require elmo-signal.
348 (flag-changing, flag-changed, cache-changed): New signal.
349 (elmo-folder): Remove slog `handlers'.
350 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
351 `elmo-folder-notify-event'.
352 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
353 (elmo-folder-unset-flag): Ditto.
354 (elmo-event-handler): Abolish.
355 (elmo-event-handler-flag-changed): Ditto.
356 (elmo-event-handler-cache-changed): Ditto.
357 (elmo-folder-add-handler): Ditto.
358 (elmo-folder-remove-handler): Ditto.
359 (elmo-folder-notify-event): Ditto.
361 * elmo-pipe.el (toplevel): Require elmo-signal.
362 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
363 (elmo-pipe-connect-signals): New function.
364 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
365 (elmo-folder-set-flag): Ditto.
366 (elmo-folder-unset-flag): Ditto.
367 (elmo-message-set-cached): Ditto.
369 * elmo-multi.el (toplevel): Require elmo-signal.
370 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
371 (elmo-multi-connect-signals): New function.
372 (elmo-multi-map-numbers): Ditto.
373 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
374 (elmo-message-fetch): Ditto.
375 (elmo-folder-set-flag): Ditto.
376 (elmo-folder-unset-flag): Ditto.
378 * elmo-filter.el (toplevel): Require elmo-signal.
379 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
380 (elmo-filter-connect-signals): New function.
381 (elmo-filter-add-flag-count): Ditto.
382 (elmo-message-fetch): Does not call
383 `elmo-filter-folder-countup-message-flags' and
384 `elmo-folder-notify-event'.
385 (elmo-message-set-cached): Ditto.
386 (elmo-folder-set-flag): Ditto.
387 (elmo-folder-unset-flag): Ditto.
389 * elmo-version.el (elmo-version): Up to 2.13.2.
391 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
393 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
396 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
398 * elmo-filter.el (elmo-message-set-cached): Call
399 `elmo-folder-notify-event' with event `cache-changed'.
401 * elmo-multi.el (elmo-message-set-cached): Ditto.
403 * elmo-pipe.el (elmo-message-set-cached): Ditto.
405 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
407 * elmo.el (elmo-folder-encache): Abolish.
409 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
411 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
412 (elmo-folder-next-message-number-dop): Return appropriate negative
415 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
417 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
418 clearing pending operations.
419 (elmo-folder-next-message-number-dop): Return appropriate negative
422 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
424 * elmo.el (toplevel): Added autoload setting for `md5'.
425 (elmo-msgdb-path-encode-threshold): New user option.
426 (elmo-folder-msgdb-path): Encode msgdb path if its length is
427 longer than `elmo-msgdb-path-encode-threshold'.
429 * elmo-flag.el (elmo-global-mark-migrate): Use
430 `elmo-folder-expand-msgdb-path' instead of
431 `elmo-folder-msgdb-path'.
433 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
435 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
436 element of the difference is nil.
438 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
440 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
441 to the check logic of file systems which are weak in colon character.
443 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
445 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
447 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
449 * elmo-maildir.el (elmo-maildir-move-file): New function.
450 (elmo-folder-append-buffer): Use it.
451 (elmo-folder-append-messages): Ditto.
452 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
454 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
455 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
457 * elmo-maildir.el (elmo-maildir-separator): New user option.
458 (elmo-maildir-adjust-separator): New macro.
459 (elmo-maildir-list-location): Use it.
460 (elmo-maildir-update-current): Ditto.
461 (elmo-maildir-set-mark): Ditto.
462 (elmo-maildir-delete-mark): Ditto.
463 (These changes are based on Hiroya Murata's patch [wl: 13437])
465 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
467 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
469 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
471 * elmo-flag.el (elmo-flag-valid-p): Simplify.
472 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
473 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
475 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
477 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
478 Use `with-temp-buffer'.
480 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
482 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
484 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
485 `wl-read-search-condition').
486 (elmo-read-search-condition-internal): Likewise.
488 * elmo-flag.el (elmo-flag-char-regexp): New constant.
489 (elmo-flag-valid-p): New function.
490 (elmo-folder-initialize): Check flag name is valid.
492 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
494 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
495 delimiter to obtain root mailbox itself.
497 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
499 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
502 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
504 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
507 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
509 * elmo-shimbun.el (toplevel): Require cl at compile.
511 * elmo-nntp.el (toplevel): Ditto.
513 * elmo-nmz.el (toplevel): Ditto.
515 * elmo-multi.el (toplevel): Ditto.
517 * elmo-file.el (toplevel): Ditto.
519 * elmo-dop.el (toplevel): Ditto.
521 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
523 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
525 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
528 * elmo.el (elmo-message-fetch): Return t even when the output buffer
529 size of elmo-message-fetch-internal is 0 byte.
531 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
533 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
535 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
537 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
540 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
542 * elmo-maildir.el (elmo-map-message-fetch): Call
543 `elmo-map-folder-set-flag'.
545 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
546 (elmo-message-fetch): Merge from
547 `elmo-message-fetch-with-cache-process'.
549 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
550 (elmo-message-fetch): Define.
552 * elmo-nntp.el (elmo-message-fetch): Renamed from
553 `elmo-message-fetch-with-cache-process'.
555 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
556 (elmo-message-fetch): Define.
558 * elmo-util.el (elmo-condition-parse-primitive): Downcase
561 * elmo-shimbun.el (shimbun-mua-search-id): Use
562 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
563 (elmo-shimbun-folder-shimbun-header): Ditto.
564 (elmo-shimbun-get-headers): Ditto.
565 (elmo-shimbun-update-overview): Ditto.
567 * elmo-pipe.el (elmo-folder-detach-messages): Define.
569 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
570 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
572 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
574 * elmo.el (elmo-message-fetch): Unset unread flag on server when
576 (elmo-message-fetch-string): Fixed argument.
578 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
580 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
581 exchange order of arguments `section' and `unread'.
582 (elmo-message-encache): Follow the API change.
583 (elmo-message-match-condition): Ditto.
584 (elmo-generic-folder-append-messages): Ditto.
585 (elmo-message-fetch-string): New function.
587 * elmo-split.el (elmo-split-subr): Ditto.
589 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
591 * elmo-pipe.el (elmo-message-fetch): Ditto.
593 * elmo-multi.el (elmo-message-fetch): Ditto.
595 * elmo-mime.el (elmo-message-mime-entity): Ditto.
597 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
599 * elmo-filter.el (elmo-message-fetch): Ditto.
601 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
603 * elmo-imap4.el (mime-imap-location-section-body): Use
604 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
605 follow the API change.
607 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
609 * elmo-access.el: New file.
611 * elmo-null.el: Ditto.
613 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
615 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
617 * elmo-net.el (elmo-network-session-idle-timeout): New option.
618 (elmo-network-session): New attribute `last-accessed'.
619 (elmo-network-get-session): Discard network cache if elapsed time
620 since last-accessed is larger than elmo-network-session-idle-timeout.
622 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
624 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
625 and added `number', `require-entireness'.
626 (elmo-find-fetch-strategy): Rewrite.
627 (elmo-message-fetch): Unset `unread' flag when argument unread is
630 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
632 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
633 (elmo-message-fetch): Notify event `flag-changed'.
635 * elmo-pipe.el: Likewise.
637 * elmo-mime.el (elmo-mime-entity): New class.
638 (elmo-mime-entity-display-p): New generic function.
639 (elmo-mime-entity-display): Ditto.
640 (elmo-mime-entity-display-as-is): Ditto.
641 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
643 (elmo-make-mime-message-location): Removed.
644 (elmo-mime-message-display): Ditto.
645 (elmo-mime-display-as-is): Ditto.
646 (elmo-message-mime-entity): New function.
648 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
650 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
652 (elmo-message-fetch): Re-count flagged message number and notify
653 event `flag-changed'.
655 * elmo-version.el (elmo-version): Up to 2.13.1.
657 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
659 * elmo-filter.el (elmo-message-field): Define.
660 (elmo-message-set-field): Ditto.
662 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
664 * elmo.el (elmo-message-set-cached): Call
665 `elmo-folder-notify-event' with cache-changed.
666 (elmo-event-handler-cache-changed): New generic function.
668 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
670 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
671 instead of elmo-add-name-to-file.
672 (elmo-folder-append-messages): Ditto.
674 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
676 * elmo.el (elmo-folder-update-threshold): Add nil to range.
678 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
680 * elmo-version.el (elmo-version): Up to 2.13.0.
682 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
685 * modb-standard.el (modb-standard-economize-entity-size): Changed
686 default value to `t'.
688 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
691 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
692 after parsing greeting string.
694 2004-11-23 Daishi Kato <daishi@axlight.com>
696 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
698 (elmo-spam-spamoracle-call): Use it.
700 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
702 * elmo.el (elmo-message-accessible-p): Message in dop spool
705 2004-11-23 Daishi Kato <daishi@axlight.com>
707 * elsp-spamoracle.el: New file.
709 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
711 * elmo.el (elmo-message-flags-for-append): New function.
712 (elmo-generic-folder-append-messages): Use it.
714 * elmo-split.el (elmo-split-subr): Ditto.
716 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
717 `flags' and use elmo-folder-append-buffer instead of
718 write-region-as-binary.
719 (elmo-dop-filter-pending-messages): New function.
720 (elmo-folder-append-buffer-dop): Call
721 elmo-dop-spool-folder-append-buffer with `flag'.
722 (elmo-folder-set-flag-dop): Filter messages by
723 elmo-dop-filter-pending-messages.
724 (elmo-folder-unset-flag-dop): Ditto.
725 (elmo-folder-append-buffer-dop-delayed): Use
726 elmo-message-flags-for-append to get flags of the message and
729 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
731 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
733 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
735 * elmo.el (elmo-folder): Added handlers slot.
736 (elmo-event-handler): New class.
737 (elmo-event-handler-flag-changed): New API.
738 (elmo-folder-add-handler): New function.
739 (elmo-folder-remove-handler): Ditto.
740 (elmo-folder-notify-event): Ditto.
741 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
743 (elmo-folder-unset-flag): Ditto.
745 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
746 (elmo-folder-unset-flag): Ditto.
748 * elmo-multi.el (elmo-folder-set-flag): Ditto.
749 (elmo-folder-unset-flag): Ditto.
751 * elmo-filter.el (elmo-folder-set-flag): Ditto.
752 (elmo-folder-unset-flag): Ditto.
754 * elmo-version.el (elmo-version): Up to 2.11.33.
756 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
758 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
760 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
762 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
764 * elmo-flag.el (elmo-folder-unset-flag): Define.
765 (elmo-global-flag-detach): Do process when the flag is not target
768 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
770 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
772 (elmo-msgdb-create-message-entity-from-buffer): Use it.
774 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
776 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
778 (elmo-folder-delete-messages): Detach messages before delete
779 messages from target folder.
780 (elmo-folder-detach-messages): Set updated number-list to slot.
782 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
784 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
786 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
788 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
790 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
792 * elmo.el (elmo-folder-delete-messages-internal): New API (for
794 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
796 (elmo-folder-delete-messages): Define.
797 (elmo-folder-move-messages): Don't call
798 `elmo-folder-detach-messages'.
799 (elmo-folder-synchronize): Rewrite.
800 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
802 * elmo-util.el (elmo-last): New function.
803 (elmo-set-list): Ditto.
804 (elmo-number-set-delete-list): Ditto.
805 (elmo-number-set-delete): Ditto.
807 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
809 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
810 `elmo-folder-delete-messages' and don't delete location map.
811 (elmo-folder-detach-messages): Define.
813 * elmo-imap4.el (elmo-folder-delete): Use
814 `elmo-folder-delete-messages-internal' instead of
815 `elmo-folder-delete-messages'.
817 * elmo-filter.el (elmo-folder-delete-messages): Call
818 `elmo-folder-detach-messages'.
819 (elmo-folder-detach-messages): Don't call
820 `elmo-folder-detach-messages' for target folder.
822 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
823 message deletion is succeeded.
825 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
827 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
828 from `elmo-folder-delete-messages'.
830 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
832 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
834 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
836 * elmo-version.el (elmo-version): Up to 2.11.32.
838 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
840 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
841 (elmo-global-flag-list): Added obsolete variable setting.
843 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
845 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
846 (elmo-mime-insert-header-from-buffer): Don't decode header content when
847 `elmo-mime-display-header-analysis' is nil.
849 * elmo-flag.el (elmo-global-flags): Renamed from
850 `elmo-global-flag-list' (All other related portions are changed).
851 (elmo-local-flags): New variable.
852 (elmo-local-flag-p): New function.
853 (elmo-global-flag-set-internal): Cause an error when flag is not
856 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
858 * elmo-util.el (elmo-concat-path): Treat empty path.
860 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
862 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
864 (elmo-split-address-match): Ditto.
865 (elmo-split-equal): Ditto.
866 (elmo-split-match): Ditto.
868 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
870 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
871 (elmo-generic-folder-append-messages): If src message exists but
872 has no flag, pass (read) for the FLAG argument of
873 `elmo-folder-append-buffer'. Otherwise, pass nil.
875 * elmo-split.el (elmo-split-subr): Likewise.
877 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
879 * elmo-multi.el (elmo-message-flags): Ditto.
881 * elmo-filter.el (elmo-message-flags): Ditto.
883 * elmo.el (elmo-folder-append-buffer): Fix docstring.
884 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
885 pass (read) for the FLAG argument of elmo-folder-append-buffer.
887 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
889 * elmo-split.el (elmo-split-rule): Update comment.
890 (elmo-split-address-equal): Allow 2nd argument to be a list.
891 (elmo-split-address-match): Ditto.
892 (elmo-split-equal): Ditto.
893 (elmo-split-match): Ditto.
895 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
897 * elmo.el (elmo-folder-append-buffer): Fix docstring.
898 (elmo-folder-append-msgdb): Don't treat `read'.
899 (elmo-message-flags): Don't return `read'.
901 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
902 (elmo-folder-unset-read-delayed): Ditto.
904 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
906 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
908 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
911 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
913 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
916 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
918 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
920 (elmo-msgdb-save): Bind inhibit-quit.
921 (modb-standard-message-entity): Ditto.
923 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
925 * elmo-database.el: No need to require elmo-msgdb.
927 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
929 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
930 instead of `elmo-list-subdirectories'.
932 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
934 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
936 (elmo-folder-exists-p): "[" is empty.
937 (elmo-folder-list-subfolders): Define.
938 (elmo-folder-have-subfolder-p): Ditto.
940 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
942 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
944 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
946 * elmo-filter.el (elmo-folder-local-p): Define.
948 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
950 * modb-standard.el (modb-standard-loaded-message-id): Return nil
951 when entity is garbaged.
952 (modb-standard-save-entity-1): Don't modify the original entity.
954 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
956 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
958 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
960 * elmo.el (elmo-strict-folder-diff): Use
961 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
963 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
965 * modb.el (elmo-msgdb-flag-available-p): New generic function.
966 (elmo-msgdb-message-number): Ditto.
967 (elmo-msgdb-message-field): Ditto.
969 * modb-standard.el (modb-standard-economize-entity-size): New user
971 (modb-standard-loaded-message-id): New inline function.
972 (modb-standard-load-entity): Use it.
973 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
974 throw message-id string away.
975 (elmo-msgdb-flag-available-p): Define.
976 (elmo-msgdb-message-number): Ditto.
977 (elmo-msgdb-message-field): Ditto.
979 * modb-legacy.el (modb-legacy-flag-list): Fix typo
980 (suppoted -> supported).
981 (modb-legacy-supported-flag-p): Ditto.
982 (elmo-msgdb-set-flag): Ditto.
983 (elmo-msgdb-unset-flag): Ditto.
984 (elmo-msgdb-flag-available-p): Define.
986 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
987 is `t', treat it as legacy entity.
989 * elmo.el (elmo-message-flag-available-p): New generic function.
990 (elmo-message-number): Ditto.
991 (elmo-message-field): Use `elmo-msgdb-message-field'.
993 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
995 * elmo-pipe.el (elmo-message-flag-available-p): Define.
996 (elmo-message-number): Ditto.
998 * elmo-multi.el (elmo-message-number): Define.
999 (elmo-message-flag-available-p): Ditto.
1001 * elmo-filter.el (elmo-message-flag-available-p): Define.
1002 (elmo-message-number): Ditto.
1004 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1005 (elmo-folder-initialize): Load `max-number'.
1006 (elmo-folder-commit): Save it.
1007 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1008 (elmo-global-flag-set-internal): Set up max-number slot.
1010 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1012 * elmo-version.el (elmo-version): Up to 2.11.31.
1014 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1016 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1017 unibyte string of the current buffer for the argument of `md5'
1018 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1020 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1022 * modb-legacy.el (modb-legacy-flag-list): New constant.
1023 (modb-legacy-suppoted-flag-p): New internal function.
1024 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1025 (elmo-msgdb-unset-flag): Ditto.
1027 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1029 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1031 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1034 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1036 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1037 (follow the API change).
1039 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1041 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1043 * modb-standard.el (modb-standard-digest-flags): Abolish.
1044 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1046 * elmo-vars.el (elmo-digest-flags): New variable.
1047 (elmo-preserved-flags): Moved from elmo-flag.el.
1049 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1050 (elmo-imap4-flag-to-imap-criteria): Ditto.
1051 (elmo-imap4-folder-list-flagged): Use it.
1053 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1055 * elmo.el (elmo-folder-count-flags): Changed return value.
1057 * elmo-flag.el (elmo-preserved-flags): New variable.
1058 (elmo-get-global-flags): Use it.
1060 * modb-standard.el (modb-standard-digest-flags): New variable.
1061 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1062 Changed behavior of `any'.
1064 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1065 which are defined the Internet draft
1066 (draft-melnikov-imap-keywords-03.txt).
1067 (elmo-imap4-flags-to-imap): New function.
1068 (elmo-folder-append-buffer): Use it.
1070 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1073 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1074 avoid the bug of Emacs 21.3.
1076 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1078 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1079 function find-coding-system does not exist.
1081 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1083 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1086 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1088 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1091 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1093 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1094 (elmo-network-close-session): Follow the changes in
1095 `elmo-pop3-read-response'.
1096 (elmo-pop3-auth-user): Ditto.
1097 (elmo-pop3-auth-apop): Ditto.
1098 (elmo-network-initialize-session): Ditto.
1099 (elmo-network-authenticate-session): Ditto.
1100 (elmo-network-setup-session): Ditto.
1101 (elmo-folder-status): Ditto.
1102 (elmo-message-fetch-plugged): Ditto.
1103 (elmo-pop3-delete-msg): Ditto.
1105 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1107 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1110 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1112 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1114 (elmo-bind-directory): Ditto.
1116 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1118 * elmo.el (elmo-folder-append-messages): Note on return value.
1119 * elmo-archive.el (elmo-folder-append-messages): Don't return
1120 message numbers which could not be appended.
1122 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1124 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1126 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1128 * elmo-version.el (elmo-version): Up to 2.11.30.
1130 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1132 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1135 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1137 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1138 (elmo-multi-split-numbers): Add elmo-folder object into each
1139 element of return value at first.
1140 (elmo-folder-delete-messages): Follow the above change.
1141 (elmo-folder-detach-messages): Ditto.
1143 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1144 number which is synchronized in target folder.
1146 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1149 Change default value to symbol `all'.
1150 (elmo-map-message-fetch): Change condition to update overview
1153 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1155 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1156 behavior to update overview.
1157 (elmo-shimbun-update-overview-folder-list): Note it.
1159 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1161 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1164 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1166 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1167 buffer-disable-undo, it is unnecessary.
1168 (elmo-spam-register-good-messages): Ditto.
1170 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1173 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1175 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1177 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1178 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1179 elmo-set-buffer-multibyte.
1180 (elmo-object-load): Ditto.
1181 (elmo-save-buffer): Ditto.
1182 (elmo-delete-char): Ditto.
1183 (elmo-file-field-primitive-condition-match): Ditto.
1184 (elmo-mime-string): Ditto.
1186 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1187 (elmo-archive-field-condition-match): Ditto.
1189 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1191 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1193 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1194 (elmo-nntp-msgdb-create-message): Ditto.
1196 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1198 * elmo.el (elmo-message-match-condition): Ditto.
1199 (elmo-message-match-condition): Ditto.
1201 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1204 * elmo-version.el (elmo-version): Up to 2.11.29.
1206 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1207 (elsp-header): New backend.
1209 * elmo-util.el (elmo-decoded-field-body): New function.
1211 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1213 * elmo-version.el (elmo-version): Up to 2.11.28.
1215 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1217 * elmo-filter.el: Rewrite.
1219 * elmo-version.el (elmo-version): Up to 2.11.27.
1221 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1223 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1224 msgdb path for the localdir folder with absolute path.
1226 * utf7.el: Synch up with latest gnus/utf7.el;
1227 Modified for latest Emacs.
1229 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1231 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1232 shimbun backend couldn't open.
1234 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1236 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1237 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1238 when a destination folder is a filter folder.
1240 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1242 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1243 (elmo-generic-folder-append-messages): Call elmo-message-flags
1244 with argument `msgid'.
1246 * elmo-split.el (elmo-split-subr): Ditto.
1248 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1250 * elmo-multi.el (elmo-message-flags): Ditto.
1252 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1254 * elmo.el (elmo-folder): Add new slot `flag-table'.
1255 (elmo-folder-flag-table): New API.
1256 (elmo-folder-close-flag-table): Ditto.
1257 (elmo-folder-preserve-flags): New function.
1258 (elmo-generic-folder-append-messages): Use
1259 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1260 Flag of a non-registered message, it sets to nil.
1261 Does not set flag to flag-table.
1263 * elmo-maildir.el (elmo-folder-append-buffer): Use
1264 `elmo-folder-preserve-flags'.
1265 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1266 `elmo-folder-close-flag-table'.
1268 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1269 (elmo-archive-folder-append-buffer): Use
1270 `elmo-folder-preserve-flags'.
1272 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1274 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1276 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1277 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1278 `elmo-folder-close-flag-table'.
1280 * elmo-version.el (elmo-version): Up to 2.11.26.
1282 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1284 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1286 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1287 md5's 4th and 5th argument (non-existent in flim one).
1289 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1291 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1292 message, It sets to nil.
1294 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1296 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1299 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1301 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1303 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1305 * elmo-util.el (elmo-uniq-sorted-list): New function.
1306 (elmo-make-number-list): Ditto.
1307 (elmo-number-set-to-number-list): Use elmo-make-number-list
1308 and don't use nreverse.
1310 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1312 * elmo-version.el (elmo-version): Up to 2.11.25.
1314 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1316 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1317 field not exists in message, Use md5 message digest of header.
1319 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1321 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1322 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1323 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1324 * elmo-split.el (elmo-split-subr): Check return value of
1325 elmo-folder-append-buffer.
1327 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1328 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1330 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1333 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1335 * elmo-split.el (elmo-split-subr): Append message with flag.
1337 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1338 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1339 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1341 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1343 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1344 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1345 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1347 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1349 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1350 with a function call of `process-buffer'. All callers are updated.
1351 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1352 Remove redundant `set-buffer' in a while loop.
1354 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1356 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1359 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1361 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1362 elsp-spamfilter-register-buffer-internal with current buffer.
1363 (elmo-spam-register-spam-buffer): Ditto.
1364 (elmo-spam-register-good-buffer): Ditto.
1366 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1368 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1369 if it is not contained in the response(A workaround for courier-imap).
1371 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1373 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1376 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1378 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1381 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1383 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1386 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1388 (elmo-msgdb-message-match-condition): Follow the change above.
1390 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1392 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1395 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1397 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1399 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1401 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1403 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1405 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1408 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1410 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1412 (elmo-file-command-argument): Undo last change for cygwin.
1413 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1415 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1417 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1419 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1420 value returned from elmo-file-find is nil.
1422 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1424 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1427 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1428 instead of insert-file-contents-as-binary.
1429 (elmo-message-set-field): New generic function.
1431 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1432 behavior change on `split-string'.
1434 * elmo-file.el (elmo-file-find): New function.
1435 (elmo-file-command): New user option.
1436 (elmo-file-command-argument): Ditto.
1437 (elmo-file-fetch-max-size): Ditto.
1438 (elmo-file-detect-format): New function.
1439 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1440 Use elmo-file-detect-format.
1441 (elmo-map-folder-list-message-locations): Don't treat directories.
1443 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1445 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1446 (elmo-passwd-alist-clear): Shred password before clear.
1447 (elmo-remove-passwd): Remove all mached pair.
1449 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1451 * elmo.el (elmo-folder-synchronize): Fix description of the return
1454 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1456 * elmo.el (elmo-message-fetch-bodystructure): New method.
1457 (elmo-message-fetch-bodystructure): Define default.
1459 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1460 elmo-message-fetch-bodystructure.
1461 (elmo-message-fetch-bodystructure): Define.
1463 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1465 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1467 * elmo-filter.el (elmo-message-folder): Define.
1469 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1471 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1472 elmo-delete-cr-buffer.
1474 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1476 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1478 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1480 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1481 type seems to be a text.
1483 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1485 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1486 (elmo-spam-register-good-buffer): Ditto.
1487 (elmo-spam-spamassassin-register-messages): Ditto.
1489 * elmo-util.el (elmo-string-member-ignore-case): Define with
1492 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1494 * elmo.el (elmo-folder-type): Undo last change.
1496 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1498 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1501 * elmo-file.el: New file.
1503 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1505 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1507 (elmo-spam-spamassassin-register-messages): New inline function.
1508 (elmo-spam-register-spam-messages): Define.
1509 (elmo-spam-register-good-messages): Ditto.
1511 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1514 * elmo.el (toplevel): Added autoload setting for
1515 `elmo-get-global-flags'.
1516 (elmo-message-has-global-flag-p): New function.
1517 (elmo-message-set-global-flags): Ditto.
1518 (elmo-folder-type): Improvement for name: format.
1520 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1521 availability of keyword flags.
1522 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1523 (elmo-folder-list-flagged-plugged): Renamed from
1524 elmo-folder-list-flagged-unplugged.
1525 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1526 accept any flag as keyword flag.
1527 (elmo-folder-set-flag-plugged): Accept keyword flags.
1528 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1530 * elmo-flag.el (elmo-get-global-flags): New function.
1532 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1535 * elmo-version.el (elmo-version): Up to 2.11.24.
1537 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1539 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1540 elmo-multiple-field-body instead of std11-field-body to check all
1543 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1545 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1548 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1550 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1551 unintern is unbound.
1553 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1555 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1556 Protect from infinite loop.
1558 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1560 * elsp-bogofilter.el
1561 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1562 (elmo-spam-bogofilter-register-messages): New internal function.
1563 (elmo-spam-register-spam-messages): Define.
1564 (elmo-spam-register-good-messages): Ditto.
1566 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1568 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1569 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1570 (elmo-spam-bogofilter-call): Fixed the last change.
1571 (elmo-spam-bogofilter-arguments): Ditto.
1573 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1574 Follow the options change of latest bogofilter.
1576 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1577 (elmo-spam-bogofilter-good-switch): Ditto.
1578 (elmo-spam-bogofilter-arguments-alist): New user option.
1579 (elmo-spam-bogofilter-debug): Ditto.
1580 (elmo-spam-bogofilter-call): Renamed from
1581 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1582 is non-nil, insert output in buffer for debug.
1583 (elmo-spam-bogofilter-arguments): New macro.
1584 (elmo-spam-buffer-spam-p): Use it.
1585 (elsp-bogofilter-register-buffer): Ditto.
1587 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1589 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1592 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1594 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1596 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1597 (elmo-spam-bsfilter-program): Set default value as full path for
1599 (elmo-spam-bsfilter-debug): New user option.
1600 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1601 non-nil, insert output in buffer for debug. Fix treating of
1604 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1606 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1607 `elmo-maildir-flag-specs' element instead of one.
1608 (elmo-map-folder-unset-flag): Ditto.
1609 (Reported by Ken Makimura <macky@astem.or.jp>)
1611 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1612 (elmo-folder-unset-flag-plugged): Ditto.
1614 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1616 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1617 to `reads' slot only if `in-msgdb' is nil.
1619 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1621 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1622 and complement argument list.
1624 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1626 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1627 instead of elmo-folder-list-flagged.
1629 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1631 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1633 * elsp-bsfilter.el: New file.
1635 * elmo-pipe.el (elmo-folder-list-unreads,
1636 elmo-folder-list-answereds,
1637 elmo-folder-list-importants,
1638 elmo-folder-flag-as-important,
1639 elmo-folder-unflag-important,
1640 elmo-folder-flag-as-read,
1641 elmo-folder-unflag-read,
1642 elmo-folder-flag-as-answered,
1643 elmo-folder-unflag-answered): Remove.
1644 (elmo-folder-set-flag): Define.
1645 (elmo-folder-unset-flag): Ditto.
1647 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1648 (elmo-folder-set-flag): Define.
1649 (elmo-folder-unset-flag): Ditto.
1650 (elmo-folder-list-unreads): Remove.
1651 (elmo-folder-list-flagged): Define.
1653 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1654 (elmo-folder-list-unreads,
1655 elmo-folder-list-importants,
1656 elmo-folder-list-answereds,
1657 elmo-folder-list-unreads-plugged,
1658 elmo-folder-list-importants-plugged,
1659 elmo-folder-list-answereds-plugged): Remove.
1660 (elmo-folder-list-flagged-plugged): New method.
1661 (elmo-folder-unflag-important,
1662 elmo-folder-flag-as-important,
1663 elmo-folder-unflag-read,
1664 elmo-folder-flag-as-read,
1665 elmo-folder-unflag-answered,
1666 elmo-folder-flag-as-answered,
1667 elmo-folder-flag-as-read-unplugged,
1668 elmo-folder-unflag-read-unplugged,
1669 elmo-folder-flag-as-important-unplugged,
1670 elmo-folder-unflag-important-unplugged,
1671 elmo-folder-flag-as-answered-unplugged,
1672 elmo-folder-unflag-answered-unplugged): Remove.
1673 (elmo-folder-set-flag): Define.
1674 (elmo-folder-unset-flag): Ditto.
1675 (elmo-folder-set-flag-unplugged): Ditto.
1676 (elmo-folder-unset-flag-unplugged): Ditto.
1678 * elmo-multi.el (elmo-folder-list-unreads,
1679 elmo-folder-list-answereds,
1680 elmo-folder-list-importants,
1681 elmo-folder-flag-as-important,
1682 elmo-folder-unflag-important,
1683 elmo-folder-flag-as-read,
1684 elmo-folder-unflag-read,
1685 elmo-folder-flag-as-answered,
1686 elmo-folder-unflag-answered): Remove.
1687 (elmo-folder-set-flag): Define.
1688 (elmo-folder-unset-flag): Ditto.
1690 * elmo-map.el (elmo-map-folder-unflag-important,
1691 elmo-map-folder-flag-as-important,
1692 elmo-map-folder-unflag-read,
1693 elmo-map-folder-flag-as-read,
1694 elmo-map-folder-unflag-answered,
1695 elmo-map-folder-flag-as-answered): Remove.
1696 (elmo-map-folder-set-flag): New method.
1697 (elmo-map-folder-unset-flag): Ditto.
1698 (elmo-map-folder-list-unreads,
1699 elmo-map-folder-list-importants,
1700 elmo-map-folder-list-answereds): Remove.
1701 (elmo-folder-list-flagged-internal): Define.
1702 (elmo-map-folder-list-flagged): New method.
1704 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1705 (elmo-map-folder-list-unreads,
1706 elmo-map-folder-list-importants,
1707 elmo-map-folder-list-flagged): Remove.
1708 (elmo-map-folder-list-flagged): Define.
1709 (elmo-map-folder-flag-as-important,
1710 elmo-map-folder-unflag-important,
1711 elmo-map-folder-flag-as-read,
1712 elmo-map-folder-unflag-read,
1713 elmo-map-folder-flag-as-answered,
1714 elmo-map-folder-unflag-answered): Remove.
1715 (elmo-maildir-set-mark-messages): New internal function.
1716 (elmo-map-folder-set-flag): Define.
1717 (elmo-map-folder-unset-flag): Ditto.
1719 * elmo.el (toplevel): Added autoload setting for
1720 `elmo-folder-list-global-flag-messages'.
1721 (elmo-folder-list-unreads,
1722 elmo-folder-list-importants,
1723 elmo-folder-list-answereds): Remove.
1724 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1725 Return a list whitch merged with messages have global flag.
1726 (elmo-folder-list-flagged-internal): New method.
1727 (elmo-folder-unflag-important,
1728 elmo-folder-flag-as-important,
1729 elmo-folder-unflag-read,
1730 elmo-folder-flag-as-read,
1731 elmo-folder-unflag-answered,
1732 elmo-folder-flag-as-answered): Remove.
1733 (elmo-folder-set-flag): New method.
1734 (elmo-folder-unset-flag): Ditto.
1735 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1736 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1738 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1739 (elmo-folder-list-unreads-plugged,
1740 elmo-folder-list-importants-plugged,
1741 elmo-folder-list-answereds-plugged,
1742 elmo-folder-list-flagged-unplugged,
1743 elmo-folder-unflag-important-plugged,
1744 elmo-folder-flag-as-important-plugged,
1745 elmo-folder-unflag-read-plugged,
1746 elmo-folder-flag-as-read-plugged,
1747 elmo-folder-unflag-answered-plugged,
1748 elmo-folder-flag-as-answered-plugged): Remove.
1749 (elmo-folder-set-flag-plugged,
1750 elmo-folder-unset-flag-plugged): Define.
1752 * elmo-flag.el (elmo-folder-initialize): Register to
1753 `elmo-global-flag-list' if flag is not global.
1754 (elmo-folder-append-messages): Set flag to source messages.
1756 * elmo-filter.el (elmo-filter-folder-list-unreads,
1757 elmo-folder-list-unreads,
1758 elmo-filter-folder-list-importants,
1759 elmo-folder-list-importants,
1760 elmo-folder-flag-as-read,
1761 elmo-folder-unflag-read,
1762 elmo-folder-flag-as-important,
1763 elmo-folder-unflag-important,
1764 elmo-folder-flag-as-answered,
1765 elmo-folder-unflag-answered): Remove.
1766 (elmo-folder-set-flag): Define.
1767 (elmo-folder-unset-flag): Ditto.
1769 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1770 elmo-folder-unflag-read-dop,
1771 elmo-folder-flag-as-important-dop,
1772 elmo-folder-unflag-important-dop,
1773 elmo-folder-flag-as-answered-dop,
1774 elmo-folder-unflag-answered-dop): Remove.
1775 (elmo-folder-set-flag-dop,
1776 elmo-folder-unset-flag-dop,
1777 elmo-folder-set-important-delayed,
1778 elmo-folder-unset-important-delayed,
1779 elmo-folder-set-read-delayed,
1780 elmo-folder-unset-read-delayed,
1781 elmo-folder-set-answered-delayed,
1782 elmo-folder-unset-answered-delayed): New function.
1783 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1784 (elmo-dop-queue-method-name-alist): Ditto.
1786 * elmo-version.el (elmo-version): Up to 2.11.23.
1788 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1790 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1792 * elsp-sa.el: New file.
1794 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1796 * modb-standard.el (modb-standard-message-entity): New function.
1797 (elmo-msgdb-message-entity): Use it.
1799 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1801 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1802 behavior when one-level is nil.
1804 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1806 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1808 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1810 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1812 (elmo-generic-folder-diff): Ditto.
1814 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1815 (elmo-folder-update-number): Ditto.
1817 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1818 (elmo-folder-next-message-number-dop): Ditto.
1820 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1822 * elmo-filter.el (elmo-folder-msgdb-create): Use
1823 `elmo-message-entity' and `elmo-message-flags' instead of
1824 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1826 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1828 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1831 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1835 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1837 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1839 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1841 * elmo-version.el (elmo-version): Up to 2.11.22.
1843 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1845 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1847 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1849 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1850 if the message dose not exist.
1852 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1854 * elmo-version.el (elmo-version): Up to 2.11.21.
1856 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1858 * modb-standard.el (toplevel): Don't require mime.
1860 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1862 * elsp-bogofilter.el (toplevel): Don't require path-util.
1863 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1864 (elmo-spam-bogofilter-header): Abolish.
1865 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1866 (elmo-spam-bogofilter-args): New user option.
1867 (elsp-bogofilter-call-bogofilter): New internal function.
1868 (elmo-spam-buffer-spam-p): Use it.
1869 (elsp-bogofilter-register-buffer): Renamed from
1870 `elmo-spam-bogofilter-register-buffer';
1871 Use `elsp-bogofilter-call-bogofilter'.
1872 (elmo-spam-register-spam-buffer): Follow the change above.
1873 (elmo-spam-register-good-buffer): Ditto.
1875 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1878 message-id is nil do nothing.
1880 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1882 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1884 (elmo-imap4-session): Removed use-flag slot.
1885 (elmo-imap4-session-select-mailbox): Undo last change.
1886 (elmo-folder-use-flag-p): Use
1887 elmo-imap4-disuse-server-flag-mailbox-regexp.
1889 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1891 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1892 (elmo-imap4-session-select-mailbox): Set it up.
1893 (elmo-folder-use-flag-p): Return value of use-flag slot.
1895 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1897 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1899 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1901 * modb-entity.el (elmo-message-entity-handler): Likewise.
1903 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1905 * elmo.el (toplevel): Remove setting of autoloding for
1906 elmo-global-flag-initialize.
1907 (elmo-init): Don't call elmo-global-flag-initialize.
1908 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1910 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1911 (elmo-global-mark-migrate): Don't call it.
1912 (elmo-global-mark-upgrade): Ditto.
1914 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1916 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1917 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1919 * elmo-vars.el (elmo-init-hook): New user option.
1921 * elmo.el (elmo-init): Run the elmo-init-hook.
1923 * elmo-flag.el (elmo-global-mark-migrate): New function.
1925 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1927 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1928 Undo last change (move to elmo-msgdb-unset-flag).
1929 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1932 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1934 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1936 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1937 (elmo-msgdb-unset-flag): Ditto.
1939 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1941 * elmo-split.el (elmo-split): Return split message count.
1943 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1945 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1948 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1950 * elmo.el (elmo-folder-unflag-important): Call
1951 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1954 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
1956 (elmo-global-flag-detach): Delete the message from flag folder, if
1957 `delete-if-none' is a symbol `always'.
1959 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1961 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
1962 `elmo-spam-spamfilter-decode-buffer'.
1963 (elsp-spamfilter-register-buffer-internal): New internal function.
1964 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
1965 (elmo-spam-register-spam-buffer): Ditto.
1966 (elmo-spam-register-good-buffer): Ditto.
1968 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
1970 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
1971 (elmo-spam-register-spam-buffer): Follow the API change.
1972 (elmo-spam-register-good-buffer): Ditto.
1974 * elmo-split.el (toplevel): Require elmo-spam when copmile.
1975 (elmo-split-spam-p): Added argument plist; Call
1976 `elmo-spam-buffer-spam-p' with new argument register.
1978 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
1980 (elmo-spam-message-spam-p): Ditto.
1981 (elmo-spam-register-spam-buffer): Added optional argument
1983 (elmo-spam-register-good-buffer): Ditto.
1984 (elmo-spam-register-spam-messages): Ditto.
1985 (elmo-spam-register-good-messages): Ditto.
1987 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1989 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
1990 register into good corpus.
1991 (elmo-spam-register-good-buffer): Fixed to register into bad
1994 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1996 * elmo-version.el (elmo-version): Up to 2.11.20.
1998 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2001 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2002 flag without depending on \Recent flag.
2004 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2006 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2007 (elmo-spam-modified-p): Defined.
2008 (elmo-spam-save-status): Set `modified' slot to nil.
2009 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2010 (elmo-spam-register-good-buffer): Ditto.
2012 * elmo-spam.el (elmo-spam-modified-p): New API.
2014 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2016 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2017 duplicate definition.
2019 * elmo-util.el (elmo-unfold-field-body): New function.
2020 (elmo-msgdb-get-message-id-from-buffer): Use it.
2022 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2023 Fixed the last change; Use elmo-unfold-field-body.
2025 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2027 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2030 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2032 * elmo-spam.el (elmo-spam-save-status): New API.
2034 * elsp-spamfilter.el: New file.
2036 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2038 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2040 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2042 * elmo-split.el (elmo-split-spam-p): New function.
2044 * elmo-spam.el: New file.
2046 * elsp-bogofilter.el: Ditto.
2048 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2050 * elmo.el (elmo-folder-next-message-number): New API.
2051 (elmo-folder-next-message-number): Define.
2052 (elmo-message-field): Don't check folder length.
2054 * elmo-net.el (elmo-folder-next-message-number): Define.
2055 (elmo-folder-next-message-number-unplugged): Define.
2057 * elmo-map.el (elmo-folder-next-message-number): Define.
2058 (elmo-folder-delete-messages): Clear hash value.
2060 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2062 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2063 (elmo-folder-delete-messages-dop-delayed): Always return t.
2065 * elmo-version.el (elmo-version): Up to 2.11.19.
2067 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2069 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2072 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2073 identical cons cell into the mark-alist and the hash table.
2075 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2077 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2078 elmo-folder-list-messages with argument `visible-only' as t.
2080 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2081 (elmo-folder-msgdb-create): Check the target folder.
2083 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2085 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2086 `permanentflag' instead of `flags'.
2087 (elmo-folder-open): Ditto.
2088 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2089 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2090 (elmo-folder-use-flag-p): Always return t.
2091 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2092 `permanentflags' does not exist.
2093 (elmo-folder-open): Ditto.
2095 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2097 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2099 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2101 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2102 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2104 (elmo-folder-open): Ditto.
2105 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2106 slot of the session includes the flag.
2107 (elmo-imap4-session-flag-available-p): New function.
2108 (elmo-imap4-folder-list-flagged): Ditto.
2109 (elmo-folder-list-unreads-plugged): Use it.
2110 (elmo-folder-list-importants-plugged): Ditto.
2111 (elmo-folder-list-answereds-plugged): Ditto.
2112 (elmo-imap4-search-internal-primitive): Ditto.
2113 (elmo-imap4-folder-list-any-plugged,
2114 elmo-imap4-folder-list-digest-plugged): Abolish.
2116 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2119 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2121 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2123 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2125 * elmo-util.el (elmo-get-hash-val): Simplify.
2126 (elmo-set-hash-val): Rewrite.
2128 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2130 * elmo.el (elmo-folder-list-messages): Append killed messages into
2131 result if `visible-only' is nil and `in-msgdb' is non-nil.
2133 * elmo-util.el (elmo-uniq-list): Added optional argument
2136 * modb.el (elmo-msgdb-flag-count): New API.
2138 * modb-standard.el (modb-standard): Added slot flag-count.
2139 (modb-standard-countup-flags): New function.
2140 (modb-standard-load-flag): Call it.
2141 (elmo-msgdb-append): Ditto.
2142 (elmo-msgdb-clear): Clear slot flag-count.
2143 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2144 (elmo-msgdb-unset-flag): Treat `all' flag and call
2145 modb-standard-countup-flags.
2146 (elmo-msgdb-flag-count): Define.
2147 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2148 (elmo-msgdb-delete-messages): Ditto.
2150 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2151 (elmo-msgdb-flag-count): Define.
2153 * elmo.el (elmo-folder-list-messages): Undo last change.
2154 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2155 (elmo-folder-kill-messages): Unset all flags to numbers.
2157 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2158 elmo-folder-kill-messages.
2160 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2161 (elmo-nntp-folder-delete-messages): Abolish.
2163 * elmo-version.el (elmo-version): Up to 2.11.18.
2165 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2167 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2168 (elmo-folder-kill-messages-range): New function.
2169 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2170 instead of elmo-folder-kill-messages-before.
2172 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2174 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2175 elmo-imap4-current-msgdb to decide entity handler.
2177 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2179 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2181 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2183 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2184 (elmo-msgdb-overview-entity-set-number,
2185 elmo-msgdb-overview-entity-get-references,
2186 elmo-msgdb-overview-entity-set-references,
2187 elmo-msgdb-overview-entity-get-from-no-decode,
2188 elmo-msgdb-overview-entity-get-from,
2189 elmo-msgdb-overview-entity-set-from,
2190 elmo-msgdb-overview-entity-get-subject,
2191 elmo-msgdb-overview-entity-get-subject-no-decode,
2192 elmo-msgdb-overview-entity-set-subject,
2193 elmo-msgdb-overview-entity-get-date,
2194 elmo-msgdb-overview-entity-set-date,
2195 elmo-msgdb-overview-entity-get-to,
2196 elmo-msgdb-overview-entity-get-cc,
2197 elmo-msgdb-overview-entity-get-size,
2198 elmo-msgdb-overview-entity-set-size,
2199 elmo-msgdb-overview-entity-get-extra,
2200 elmo-msgdb-overview-entity-set-extra,
2201 elmo-msgdb-overview-entity-get-extra-field,
2202 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2203 (elmo-msgdb-make-index): Use
2204 `elmo-msgdb-overview-entity-get-number-internal'.
2205 (elmo-msgdb-clear-index): Ditto.
2206 (elmo-msgdb-append-entity): Ditto;
2207 Use `elmo-msgdb-overview-entity-get-id-internal'.
2209 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2210 elmo-msgdb-overview-entity-set-number,
2211 elmo-msgdb-overview-entity-get-references,
2212 elmo-msgdb-overview-entity-set-references,
2213 elmo-msgdb-overview-entity-get-from-no-decode,
2214 elmo-msgdb-overview-entity-get-from,
2215 elmo-msgdb-overview-entity-set-from,
2216 elmo-msgdb-overview-entity-get-subject,
2217 elmo-msgdb-overview-entity-get-subject-no-decode,
2218 elmo-msgdb-overview-entity-set-subject,
2219 elmo-msgdb-overview-entity-get-date,
2220 elmo-msgdb-overview-entity-set-date,
2221 elmo-msgdb-overview-entity-get-to,
2222 elmo-msgdb-overview-entity-get-cc,
2223 elmo-msgdb-overview-entity-get-size,
2224 elmo-msgdb-overview-entity-set-size,
2225 elmo-msgdb-overview-entity-get-extra,
2226 elmo-msgdb-overview-entity-set-extra,
2227 elmo-msgdb-overview-entity-get-extra-field,
2228 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2229 and rewrote for backward compatibility.
2231 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2233 * elmo.el (elmo-message-entity-number,
2234 elmo-message-entity-set-number,
2235 elmo-message-entity-field,
2236 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2238 * elmo-msgdb.el (elmo-message-entity-number,
2239 elmo-message-entity-set-number,
2240 elmo-message-entity-field,
2241 elmo-message-entity-set-field): Moved from elmo.el.
2243 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2245 * elmo.el (toplevel): Changed definition orders.
2247 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2249 * modb.el (elmo-msgdb-search): New API .
2250 (elmo-msgdb-match-condition): Ditto.
2252 * modb-standard.el (elmo-msgdb-search): Define.
2254 * modb-legacy.el (elmo-msgdb-search): Ditto.
2256 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2257 from elmo-msgdb-match-condition-internal.
2259 * elmo.el (elmo-folder-search-fast): Abolish.
2260 (elmo-folder-search): Use elmo-msgdb-search and
2261 elmo-with-progress-display.
2263 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2266 * elmo.el (elmo-folder): Remove slot message-modified and
2268 (elmo-folder-set-message-modified): Abolish.
2269 (elmo-generic-folder-commit): Follow the change above.
2270 (elmo-folder-synchronize): Ditto.
2272 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2274 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2276 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2278 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2280 * modb-standard.el (modb-standard-make-message-entity,
2281 elmo-msgdb-make-message-entity,
2282 elmo-msgdb-create-message-entity-from-buffer,
2283 elmo-msgdb-message-entity-number,
2284 elmo-msgdb-message-entity-set-number,
2285 elmo-msgdb-message-entity-field,
2286 elmo-msgdb-message-entity-set-field,
2287 elmo-msgdb-copy-message-entity,
2288 elmo-msgdb-match-condition-internal): Remove.
2290 * modb-entity.el: New file (again).
2292 * modb.el (toplevel): Require modb-entity.
2293 (elmo-msgdb-message-entity-handler): New method.
2295 * modb-standard.el (modb-standard-entity-id): Use
2296 elmo-message-entity-handler.
2297 (modb-standard-load-entity): Ditto.
2298 (elmo-msgdb-append-entity): Ditto.
2299 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2301 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2302 elmo-msgdb-decoded-cache-hashtb,
2303 (modb-legacy-make-message-entity,
2304 elmo-msgdb-make-message-entity,
2305 elmo-msgdb-create-message-entity-from-buffer,
2306 elmo-msgdb-message-entity-number,
2307 elmo-msgdb-message-entity-set-number,
2308 elmo-msgdb-message-entity-field,
2309 elmo-msgdb-message-entity-set-field,
2310 elmo-msgdb-copy-message-entity,
2311 elmo-msgdb-match-condition-internal,
2312 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2314 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2315 (elmo-message-entity-set-number): Ditto.
2316 (elmo-message-entity-field): Ditto.
2317 (elmo-message-entity-set-field): Ditto.
2319 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2321 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2323 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2325 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2326 (elmo-nntp-msgdb-create-message): Ditto.
2328 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2329 (elmo-folder-msgdb-create): Add unread flag.
2331 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2333 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2335 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2337 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2339 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2340 elmo-msgdb-messge-entity-handler.
2341 * elmo-version.el (elmo-version): Up to 2.11.17.
2343 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2345 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2348 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2350 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2352 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2353 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2354 (elmo-msgdb-flag-table): Ditto.
2355 (elmo-msgdb-sort-by-date): Ditto.
2357 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2359 * modb-standard.el (toplevel): Require mime.
2360 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2361 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2362 elmo-msgdb-message-entity-number.
2363 (elmo-msgdb-append-entity): Ditto.
2364 (elmo-msgdb-create-message-entity-from-file): Remove.
2365 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2366 corresponds to the entity.
2367 (elmo-msgdb-message-entity-number): Do nothing currently.
2368 (elmo-msgdb-message-entity-field): Ditto.
2369 (elmo-msgdb-message-entity-set-field): Ditto.
2370 (elmo-msgdb-copy-message-entity): Ditto.
2371 (elmo-msgdb-match-condition-internal): Ditto.
2373 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2375 (elmo-msgdb-create-message-entity-from-file): Remove.
2377 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2379 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2381 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2383 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2385 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2386 (elmo-msgdb-message-entity-field): Ditto.
2387 (elmo-msgdb-message-entity-number): Ditto.
2389 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2391 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2392 Fixed how to set extra field into entity.
2393 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2396 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2397 Fixed how to set extra field into entity.
2398 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2401 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2403 * modb.el (elmo-message-entity-db): New function.
2404 (elmo-msgdb-make-message-entity): New API.
2405 (elmo-msgdb-message-entity-number): Ditto.
2406 (elmo-msgdb-message-entity-set-number): Ditto.
2407 (elmo-msgdb-message-entity-field): Ditto.
2408 (elmo-msgdb-message-entity-set-field): Ditto.
2409 (elmo-msgdb-copy-message-entity): Ditto.
2410 (elmo-msgdb-create-message-entity-from-file): Ditto.
2411 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2412 (elmo-msgdb-match-condition-internal): Ditto.
2414 * modb-standard.el (modb-legacy): Require modb-legacy.
2415 (modb-standard-make-message-entity): New inline function.
2416 (elmo-msgdb-make-message-entity): Define.
2417 (elmo-msgdb-create-message-entity-from-file): Ditto.
2418 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2419 (elmo-msgdb-message-entity-field): Ditto.
2420 (elmo-msgdb-message-entity-set-field): Ditto.
2421 (elmo-msgdb-copy-message-entity): Ditto.
2422 (elmo-msgdb-match-condition-internal): Ditto.
2424 * modb-legacy.el: Don't require modb-entity.
2425 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2426 (elmo-msgdb-match-condition-primitive): Ditto.
2427 (elmo-msgdb-get-decoded-cache): Ditto.
2428 (elmo-msgdb-overview-entity-get-id): Ditto.
2429 (elmo-msgdb-overview-entity-get-number): Ditto.
2430 (elmo-msgdb-overview-entity-set-number): Ditto.
2431 (elmo-msgdb-overview-entity-get-references): Ditto.
2432 (elmo-msgdb-overview-entity-set-references): Ditto.
2433 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2434 (elmo-msgdb-overview-entity-get-from): Ditto.
2435 (elmo-msgdb-overview-entity-set-from): Ditto.
2436 (elmo-msgdb-overview-entity-get-subject): Ditto.
2437 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2438 (elmo-msgdb-overview-entity-set-subject): Ditto.
2439 (elmo-msgdb-overview-entity-get-date): Ditto.
2440 (elmo-msgdb-overview-entity-set-date): Ditto.
2441 (elmo-msgdb-overview-entity-get-to): Ditto.
2442 (elmo-msgdb-overview-entity-get-cc): Ditto.
2443 (elmo-msgdb-overview-entity-get-size): Ditto.
2444 (elmo-msgdb-overview-entity-set-size): Ditto.
2445 (elmo-msgdb-overview-entity-get-extra): Ditto.
2446 (elmo-msgdb-overview-entity-set-extra): Ditto.
2447 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2448 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2449 (elmo-msgdb-number-load): Ditto.
2450 (elmo-msgdb-overview-load): Ditto.
2451 (elmo-msgdb-mark-load): Ditto.
2452 (elmo-msgdb-number-save): Ditto.
2453 (elmo-msgdb-mark-save): Ditto.
2454 (elmo-msgdb-overview-save): Ditto.
2455 (modb-legacy-make-message-entity): New inline function.
2456 (elmo-msgdb-insert-file-header): Ditto.
2457 (elmo-msgdb-make-message-entity): Define.
2458 (elmo-msgdb-create-message-entity-from-file): Ditto.
2459 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2460 (elmo-msgdb-message-entity-number): Ditto.
2461 (elmo-msgdb-message-entity-set-number): Ditto.
2462 (elmo-msgdb-message-entity-field): Ditto.
2463 (elmo-msgdb-message-entity-set-field): Ditto.
2464 (elmo-msgdb-copy-message-entity): Ditto.
2465 (elmo-msgdb-match-condition-internal): Ditto.
2467 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2468 (elmo-message-copy-entity): Rewrite.
2469 (elmo-message-entity-number): Ditto.
2470 (elmo-message-entity-set-number): Ditto.
2471 (elmo-message-entity-field): Use elmo-message-entity-db.
2472 (elmo-message-entity-set-field): Ditto.
2473 (elmo-message-field): Rewrite.
2475 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2477 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2479 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2480 elmo-message-entity-field.
2481 (elmo-shimbun-folder-shimbun-header): Ditto.
2482 (elmo-shimbun-entity-to-header): Ditto.
2483 (elmo-folder-msgdb-create): Ditto.
2484 (elmo-shimbun-msgdb-create-entity): Ditto;
2485 Use elmo-msgdb-create-message-entity-from-buffer.
2486 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2487 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2489 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2490 elmo-msgdb-create-message-entity-from-file and
2491 elmo-message-entity-field.
2493 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2494 elmo-message-entity-number.
2495 (elmo-pop3-msgdb-create-message): Use
2496 elmo-msgdb-create-message-entity-from-buffer,
2497 elmo-message-entity-set-field, elmo-message-entity-number and
2498 elmo-message-entity-set-number.
2500 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2501 the API change in elmo-msgdb-make-message-entity.
2502 (elmo-nntp-msgdb-create-message): Use
2503 elmo-msgdb-create-message-entity-from-buffer.
2505 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2506 elmo-message-entity-field and
2507 elmo-msgdb-create-message-entity-from-file.
2509 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2510 (elmo-msgdb-get-field): Abolish.
2511 (elmo-msgdb-get-number): Rewrite.
2512 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2513 (elmo-msgdb-flag-table): Ditto.
2514 (elmo-msgdb-get-last-message-id,
2515 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2516 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2517 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2518 (elmo-msgdb-create-overview-from-buffer,
2519 elmo-msgdb-overview-get-parent-entity): Abolish.
2521 * elmo-mime.el (elmo-mime-display-as-is): Use
2522 elmo-message-entity-field.
2524 * elmo-map.el (elmo-folder-pack-numbers): Use
2525 elmo-message-entity-set-number.
2527 * elmo-maildir.el (elmo-folder-msgdb-create):
2528 elmo-msgdb-create-message-entity-from-file instead of
2529 elmo-msgdb-create-overview-entity-from-file.
2531 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2533 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2534 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2536 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2537 elmo-messge-entity-field and elmo-message-entity-number.
2538 (elmo-imap4-fetch-callback-1): Call
2539 elmo-msgdb-create-message-entity-from-buffer instead of
2540 elmo-msgdb-create-overview-from-buffer.
2541 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2542 (elmo-find-fetch-strategy): Likewise.
2544 * elmo-flag.el (elmo-folder-msgdb-create): Call
2545 elmo-localdir-msgdb-create-entity with argument msgdb.
2547 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2548 and elmo-message-entity-set-number.
2550 * elmo-cache.el (elmo-folder-msgdb-create): Use
2551 elmo-message-entity-field.
2552 (elmo-folder-msgdb-create): Call
2553 elmo-msgdb-create-message-entity-from-file instead of
2554 elmo-msgdb-create-overview-entity-from-file.
2556 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2557 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2558 instead of elmo-msgdb-create-overview-from-buffer.
2559 (elmo-archive-msgdb-create-entity): Ditto.
2560 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2561 elmo-message-entity-field.
2562 (elmo-archive-parse-mmdf): Ditto.
2564 * modb-entity.el: Removed.
2566 * elmo-version.el (elmo-version): Up to 2.11.16.
2568 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2570 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2572 (elmo-folder-flag-as-answered): Ditto.
2574 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2576 * modb-standard.el: New file.
2578 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2579 elmo-msgdb-convert-type is `sync'.
2581 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2582 (elmo-msgdb-convert-type): New user option.
2584 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2585 (elmo-load-msgdb): Auto detect saved type.
2587 * elmo-version.el (elmo-version): Up to 2.11.15.
2589 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2591 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2593 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2594 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2595 with argument `delete-if-none' when dst-folder is 'null.
2597 * elmo-flag.el (elmo-folder-append-messages): Defined.
2598 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2600 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2602 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2604 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2606 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2607 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2608 (elmo-folder-commit): Ditto.
2610 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2612 * elmo-flag.el: New file.
2614 * elmo-mark.el: Removed.
2616 * modb-legacy.el (modb-legacy-new-mark,
2617 modb-legacy-unread-uncached-mark,
2618 modb-legacy-unread-cached-mark,
2619 modb-legacy-read-uncached-mark,
2620 modb-legacy-answered-cached-mark,
2621 modb-legacy-answered-uncached-mark,
2622 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2623 All other related portions are changed.
2625 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2626 (elmo-folder-list-messages-with-global-mark): Abolish.
2627 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2628 (elmo-folder-flag-as-important): Ditto.
2629 (elmo-folder-unflag-read): Ditto.
2630 (elmo-folder-flag-as-read): Ditto.
2631 (elmo-folder-unflag-answered): Ditto.
2632 (elmo-folder-flag-as-answered): Ditto.
2633 (elmo-message-encache): Return the cache path.
2634 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2635 (elmo-message-set-flag): Transitional implementation.
2636 (elmo-message-unset-flag): Ditto.
2637 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2638 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2639 (elmo-init): Call elmo-global-flag-initialize.
2640 (toplevel): Added autoload settings for elmo-flag.
2642 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2644 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2645 (elmo-file-cache-delete): Don't treat global-mark.
2647 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2649 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2651 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2652 `elmo-global-flags-set'.
2654 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2656 (elmo-folder-unflag-read): Ditto.
2657 (elmo-folder-unflag-important): Ditto.
2658 (elmo-folder-flag-as-important): Ditto.
2659 (elmo-folder-unflag-answered): Ditto.
2660 (elmo-folder-flag-as-answered): Ditto.
2662 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2663 `elmo-global-flags-set'.
2664 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2666 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2668 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2670 (elmo-folder-flag-as-important): Ditto.
2671 (elmo-folder-unflag-important): Ditto.
2672 (elmo-folder-flag-as-important): Ditto.
2673 (elmo-folder-unflag-read): Ditto.
2674 (elmo-folder-flag-as-read): Ditto.
2675 (elmo-folder-unflag-answered): Ditto.
2676 (elmo-folder-flag-as-answered): Ditto.
2678 * elmo-multi.el (elmo-folder-list-importants): Don't call
2679 elmo-folder-list-messages-with-global-mark.
2680 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2681 (elmo-folder-unflag-important): Ditto.
2682 (elmo-folder-flag-as-read): Ditto.
2683 (elmo-folder-unflag-read): Ditto.
2684 (elmo-folder-flag-as-answered): Ditto.
2685 (elmo-folder-unflag-answered): Ditto.
2687 * elmo-msgdb.el (elmo-msgdb-new-mark,
2688 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2689 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2690 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2691 (Moved to modb-legacy.el).
2692 (elmo-flag-table-get): Treat important flag too.
2694 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2696 (elmo-map-folder-flag-as-important): Ditto.
2697 (elmo-map-folder-unflag-read): Ditto.
2698 (elmo-map-folder-flag-as-read): Ditto.
2699 (elmo-map-folder-unflag-answered): Ditto.
2700 (elmo-map-folder-flag-as-answered): Ditto.
2701 (elmo-folder-unflag-important): Ditto.
2702 (elmo-folder-flag-as-important): Ditto.
2703 (elmo-folder-unflag-read): Ditto.
2704 (elmo-folder-flag-as-read): Ditto.
2705 (elmo-folder-unflag-answered): Ditto.
2706 (elmo-folder-flag-as-answered): Ditto.
2708 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2709 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2711 (elmo-map-folder-unflag-important): Ditto.
2712 (elmo-map-folder-flag-as-read): Ditto.
2713 (elmo-map-folder-unflag-read): Ditto.
2714 (elmo-map-folder-flag-as-answered): Ditto.
2715 (elmo-map-folder-unflag-answered): Ditto.
2717 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2718 `elmo-global-flags-set'.
2719 (elmo-global-flags-set): Added autoload setting.
2721 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2724 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2725 `elmo-msgdb-global-mark-set'.
2726 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2727 Call `elmo-global-flags-set'.
2728 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2730 (elmo-folder-flag-as-important-plugged): Ditto.
2731 (elmo-folder-unflag-read-plugged): Ditto.
2732 (elmo-folder-flag-as-read-plugged): Ditto.
2733 (elmo-folder-unflag-answered-plugged): Ditto.
2734 (elmo-folder-flag-as-answered-plugged): Ditto.
2735 (elmo-global-flags-set): Added autoload setting.
2737 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2739 (elmo-folder-unflag-read): Ditto.
2740 (elmo-folder-flag-as-important): Ditto.
2741 (elmo-folder-unflag-important): Ditto.
2742 (elmo-folder-flag-as-answered): Ditto.
2743 (elmo-folder-unflag-answered): Ditto.
2745 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2746 change of `mark'->`flag'.
2747 (elmo-dop-queue-method-name-alist): Ditto.
2748 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2749 (elmo-folder-unflag-read-dop): Ditto.
2750 (elmo-folder-flag-as-important-dop): Ditto.
2751 (elmo-folder-unflag-important-dop): Ditto.
2752 (elmo-folder-flag-as-answered-dop): Ditto.
2753 (elmo-folder-unflag-answered-dop): Ditto.
2755 * elmo-cache.el (elmo-folder-msgdb-create): Call
2756 `elmo-global-flags-set'.
2758 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2759 Call `elmo-global-flags-set'.
2760 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2761 elmo-archive-parse-mmdf with argument `folder'.
2762 (elmo-archive-parse-mmdf): Added argument `folder';
2763 Call `elmo-global-flags-set'.
2765 * elmo-version.el (elmo-version): Up to 2.11.14.
2767 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2769 * modb.el (elmo-msgdb-length): Define.
2771 * elmo.el (elmo-make-folder): Fixed.
2772 (elmo-generic-folder-append-messages): Follow the API change.
2774 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2777 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2779 * modb.el: New file.
2781 * modb-entity.el: Ditto.
2783 * modb-legacy.el: Ditto.
2785 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2786 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2787 of `elmo-msgdb-overview-get-entity'.
2788 (elmo-msgdb-get-field): Ditto.
2789 (elmo-msgdb-merge): Moved to `elmo.el'.
2790 (elmo-msgdb-length): Removed; redefine as modb method.
2791 (elmo-msgdb-change-mark): Abolish.
2792 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2793 (elmo-msgdb-match-condition): Don't use mark.
2794 (elmo-msgdb-overview-get-entity): Abolish.
2795 Split modb part into `modb*.el'.
2797 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2799 * elmo-shimbun.el (shimbun-mua-search-id): Use
2800 `elmo-msgdb-message-entity' instead of
2801 `elmo-msgdb-overview-get-entity'.
2802 (elmo-shimbun-folder-shimbun-header): Ditto.
2803 (elmo-shimbun-get-headers): Ditto.
2804 (elmo-shimbun-update-overview): Ditto.
2806 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2808 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2810 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2811 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2813 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2814 `elmo-msgdb-mark-to-flags'.
2816 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2817 `elmo-msgdb-set-path'.
2819 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2821 * elmo-version.el (elmo-version): Up to 2.11.13.
2823 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2825 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2828 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2830 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2833 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2835 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2836 instead of `elmo-msgdb-get-cached'.
2837 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2839 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2840 (elmo-msgdb-set-cached): Ditto.
2841 (elmo-msgdb-set-flag): Rewrite.
2842 (elmo-msgdb-unset-flag): Ditto.
2844 * elmo-msgdb.el: Rewrite with luna.
2846 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2847 (elmo-folder-msgdb): Follow the change above.
2848 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2849 (elmo-folder-unmark-important): Follow the API change.
2850 (elmo-folder-mark-as-important): Ditto.
2851 (elmo-folder-unmark-read): Ditto.
2852 (elmo-folder-mark-as-read): Ditto.
2853 (elmo-folder-unmark-answered): Ditto.
2854 (elmo-folder-mark-as-answered): Ditto.
2855 (elmo-folder-clear): Likewise.
2857 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2858 instead of `elmo-msgdb-load' (renamed).
2860 * elmo-version.el (elmo-version): Up to 2.11.12.
2862 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2864 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2866 (elmo-message-mark): Abolish.
2867 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2868 instead of `elmo-msgdb-change-mark'.
2870 * elmo-pipe.el (elmo-message-mark): Abolish.
2872 * elmo-multi.el (elmo-message-mark): Ditto.
2874 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2875 (elmo-msgdb-unread-uncached-mark): Ditto.
2876 (elmo-msgdb-unread-cached-mark): Ditto.
2877 (elmo-msgdb-read-uncached-mark): Ditto.
2878 (elmo-msgdb-answered-cached-mark): Ditto.
2879 (elmo-msgdb-answered-uncached-mark): Ditto.
2880 (elmo-msgdb-important-mark): Ditto.
2881 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2883 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2885 (elmo-flag-table-load): Changed flag to list of flag.
2886 (elmo-flag-table-set): If flags is nil, set read flag.
2887 (elmo-flag-table-get): Return derived flags from global mark,
2888 cache status and saved flags.
2889 (elmo-msgdb-flag-table): Follow the change above.
2890 (elmo-msgdb-out-of-date-messages): New function.
2892 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2894 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2896 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2898 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2899 (elmo-nntp-msgdb-create-message): Ditto.
2901 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2903 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2905 (elmo-folder-msgdb-create): Follow the API change.
2907 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2908 (elmo-folder-append-messages): Ditto.
2910 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2911 (elmo-folder-append-buffer): Ditto.
2913 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2915 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2917 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2918 (elmo-archive-parse-mmdf): Ditto.
2920 * elmo-version.el (elmo-version): Up to 2.11.11.
2922 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2924 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2927 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2929 * elmo-pipe.el (elmo-message-flags): Defined.
2931 * elmo-multi.el (elmo-message-flags): Ditto.
2933 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2935 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2936 `elmo-msgdb-delete-msgs'.
2938 * elmo.el (elmo-folder-count-flags): Don't use
2939 `elmo-msgdb-get-mark-alist'.
2940 (elmo-folder-detach-messages): Follow the API change.
2942 * elmo.el (elmo-folder-list-messages): Append killed messages into
2943 result if `visible-only' is nil.
2945 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2947 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2948 (elmo-folder-update-number): Likewise.
2950 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2951 (elmo-pop3-sort-msgdb-by-original-number): Use
2952 `elmo-msgdb-sort-entities'.
2954 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2955 (elmo-msgdb-sort-by-date): Use it.
2956 (elmo-msgdb-overview-sort-by-date): Abolish.
2958 * elmo-dop.el (elmo-folder-status-dop): Fixed.
2960 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
2961 (elmo-msgdb-flags): New function.
2962 (elmo-msgdb-merge): Use elmo-msgdb-append.
2964 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
2967 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2969 * elmo-dop.el (elmo-folder-status-dop): Use
2970 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
2972 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2974 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
2976 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
2978 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
2980 * elmo-util.el (elmo-with-progress-display): New macro.
2982 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
2984 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2986 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2987 `elmo-folder-list-message-entities' instead of
2988 `elmo-msgdb-get-overview'.
2989 (elmo-map-folder-list-message-locations): Ditto.
2991 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
2992 methods instead of treat directly).
2993 (elmo-msgdb-clear): Ditto.
2994 (elmo-msgdb-delete-msgs): Ditto.
2995 (elmo-msgdb-sort-by-date): Ditto.
2997 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
2999 (elmo-nntp-folder-msgdb-create): Follow the API change.
3001 * elmo-version.el (elmo-version): Up to 2.11.10.
3003 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3005 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3006 (elmo-msgdb-flags-to-mark): Ditto.
3007 (elmo-msgdb-append-entity): Ditto.
3009 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3010 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3011 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3012 (elmo-archive-parse-mmdf): Ditto.
3014 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3016 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3018 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3020 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3022 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3024 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3026 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3028 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3030 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3031 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3034 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3035 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3036 instead of directly construction.
3037 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3038 instead of construct msgdb.
3040 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3041 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3042 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3043 instead of construct msgdb.
3045 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3047 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3048 when field is from or subject.
3050 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3052 * elmo-multi.el (elmo-message-entity-parent): Define.
3053 (elmo-folder-search): Rewrite.
3055 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3057 * elmo-multi.el (elmo-message-cached-p): Define.
3059 * elmo.el (elmo-message-cached-p): New method.
3060 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3061 (elmo-message-flags): New method.
3062 (elmo-message-flagged-p): New function.
3064 * elmo-version.el (elmo-version): Up to 2.11.9.
3066 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3068 * elmo-version.el (elmo-version): Up to 2.11.8.
3070 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3072 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3074 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3076 * elmo.el (elmo-folder-detach-messages): Undo last change.
3078 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3080 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3082 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3083 only when src folder type is pop3.
3085 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3087 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3088 elmo-msgdb-overview-entity-get-number instead of
3089 elmo-message-entity-number.
3091 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3093 * elmo-version.el (elmo-version): Up to 2.11.7.
3095 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3097 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3100 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3101 (elmo-msgdb-merge): New function.
3102 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3103 (elmo-msgdb-make-index): Rewrite.
3105 * elmo-version.el (elmo-version): Up to 2.11.6.
3107 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3108 use it as a the path for loading message entities.
3110 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3112 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3114 * elmo-filter.el (elmo-folder-set-message-modified): Set
3115 message-modified slot of itself if it does not require target msgdb.
3117 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3118 if folder length is zero.
3119 (elmo-mime-display-as-is): Ditto.
3121 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3123 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3125 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3127 * elmo.el (elmo-folder-set-message-modified): New method.
3128 (elmo-generic-folder-commit): Use it.
3129 (elmo-folder-synchronize): Ditto.
3131 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3132 (elmo-folder-commit): Remove duplicate definition.
3134 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3136 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3138 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3140 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3141 (elmo-strict-folder-diff): Ditto.
3142 (elmo-folder-set-info-max-by-numdb): Simplify.
3144 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3145 elmo-msgdb-list-messages.
3147 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3148 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3150 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3152 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3153 visible-only is non-nil.
3154 (elmo-folder-confirm-appends): Changed message.
3155 (elmo-folder-synchronize): Added argument disable-killed.
3157 * elmo-multi.el (elmo-folder-synchronize): Added argument
3160 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3162 * elmo-version.el (elmo-version): Up to 2.11.5.
3164 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3167 * elmo-util.el (elmo-list-filter): Simplify.
3169 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3170 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3171 (elmo-generic-folder-diff): Abolish argument.
3172 (elmo-msgdb-load): Don't use number-alist.
3174 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3176 * elmo-pipe.el (elmo-folder-diff): Ditto.
3178 * elmo-nmz.el (elmo-folder-diff): Ditto.
3180 * elmo-net.el (elmo-folder-diff): Ditto.
3182 * elmo-maildir.el (elmo-folder-diff): Ditto.
3184 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3186 * elmo-multi.el (elmo-folder-diff): Ditto
3187 (elmo-multi-folder-diff): Rewrite.
3189 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3191 * elmo-pipe.el (elmo-folder-msgdb): Define.
3193 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3195 * elmo.el (elmo-message-set-cached): Define as a method.
3197 * elmo-pipe.el (elmo-message-set-cached): Define.
3198 (elmo-find-fetch-strategy): Ditto.
3200 * elmo-multi.el (elmo-message-set-cached): Define.
3201 (elmo-find-fetch-strategy): Rewrite.
3203 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3205 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3207 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3209 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3210 instead of number-alist.
3212 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3213 mark nor message-id when msgdb of source folder is not loaded.
3215 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3217 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3219 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3221 * elmo.el (elmo-folder-length): Don't require msgdb.
3223 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3225 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3226 (elmo-message-field): Ditto.
3228 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3229 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3231 (elmo-map-folder-list-answereds): Define.
3232 (elmo-maildir-list-location): Treat 'R' info.
3233 (elmo-folder-msgdb-create): Treat flag-table.
3234 (elmo-folder-append-messages): Save flag-table.
3236 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3238 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3239 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3241 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3243 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3245 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3246 'read when mark is null.
3248 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3250 * elmo-version.el (elmo-version): Up to 2.11.4.
3252 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3254 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3255 (elmo-folder-mark-as-answered): Ditto.
3257 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3259 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3260 (elmo-pop3-get-session): Make msgdb directory after session.
3261 (elmo-folder-exists-p): Check exactly at the first time even when the
3262 elmo-pop3-exists-exactly is nil.
3264 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3265 (elmo-folder-list-messages): Define instead of
3266 elmo-folder-list-messages-internal.
3267 (elmo-folder-check): Check destination folder.
3268 (elmo-folder-synchronize): Drain the pipe.
3270 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3271 when msgdb is not loaded.
3273 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3275 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3276 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3279 * elmo.el (elmo-folder-kill-messages-before): New function.
3280 (elmo-folder-kill-messages): Ditto.
3281 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3283 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3284 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3285 killed not by synchronize (e.g. scoring).
3287 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3289 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3291 (elmo-folder-search): Follow the change above.
3293 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3294 into the candidates of search field.
3296 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3298 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3299 (elmo-msgdb-unset-flag): Ditto.
3301 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3303 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3305 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3306 (elmo-folder-commit): Define.
3307 (elmo-folder-synchronize): Ditto.
3308 (elmo-folder-list-flagged): Ditto.
3309 (elmo-folder-commit): Ditto.
3310 (elmo-folder-length): Ditto.
3311 (elmo-folder-count-flags): Ditto.
3312 (elmo-message-mark): Ditto.
3313 (elmo-message-field): Ditto.
3314 (elmo-message-entity): Ditto.
3315 (elmo-message-folder): Ditto.
3317 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3319 * elmo.el (elmo-message-field): Define as a method.
3321 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3322 (elmo-message-field): Define.
3324 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3325 (elmo-folder-list-importants): Ditto.
3326 (elmo-folder-list-answereds): Ditto.
3328 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3330 (elmo-folder-mark-as-read): Ditto.
3331 (elmo-folder-unmark-read): Ditto.
3332 (elmo-folder-mark-as-answered): Ditto.
3333 (elmo-folder-unmark-answered): Ditto.
3334 (elmo-folder-list-flagged): Define.
3335 (elmo-folder-commit): Ditto.
3336 (elmo-folder-length): Ditto.
3337 (elmo-folder-count-flags): Ditto.
3339 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3341 * elmo.el (elmo-folder-detach-messages): New method.
3342 (elmo-folder-move-messages): Use it.
3343 (elmo-folder-synchronize): Ditto.
3345 * elmo-multi.el (elmo-folder-detach-messages): Define.
3347 * elmo.el (elmo-message-copy-entity): New function.
3348 (elmo-message-entity-set-number): Ditto.
3349 (elmo-message-mark): Define as method.
3351 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3352 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3353 (elmo-message-entity): Fixed last change.
3354 (elmo-message-mark): Define.
3355 (elmo-folder-msgdb-create): Abolish.
3356 (elmo-multi-folder-append-msgdb): Ditto.
3357 (elmo-multi-folder-diff): Fixed.
3358 (elmo-multi-split-number-alist): Removed.
3359 (elmo-multi-split-mark-alist): Removed.
3360 (elmo-folder-list-messages): Define.
3361 (elmo-folder-list-messages-internal): Removed.
3363 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3364 local file messages.
3365 (elmo-folder-msgdb-create): Fixed read mark.
3367 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3369 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3372 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3374 * elmo.el (elmo-folder-list-message-entities): Define as inline
3376 (elmo-folder-messages): Abolish.
3378 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3380 (elmo-folder-synchronize): Define.
3381 (elmo-message-entity): Define.
3383 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3385 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3386 elmo-imap4-session-select-mailbox.
3388 * elmo.el (elmo-folder-move-messages): Don't display any message.
3390 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3392 (elmo-imap4-session-check): Don't wait CHECK response.
3393 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3395 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3397 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3399 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3401 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3403 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3406 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3407 (elmo-folder-list-message-entities): Added argument in-msgdb and
3409 (elmo-folder-synchronize): Define as a method.
3411 * elmo-nntp.el (elmo-folder-initialize): Don't use
3412 elmo-nntp-default-user if zero-length username is specified
3415 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3417 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3418 server name in case with username.
3419 (XXX: this is ad-hoc fix against username includes "@", it
3420 should be solved fundamentally)
3422 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3424 * elmo-nntp.el (elmo-nntp-debug): New function.
3425 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3426 (elmo-network-authenticate-session): Hide auth-info from the log.
3428 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3429 user name if it is equal to elmo-nntp-default-user.
3431 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3433 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3434 instead of shimbun-server-internal;
3435 Use shimbun-current-group instead of shimbun-current-group-internal.
3436 (elmo-folder-plugged-p): Use shimbun-server instead of
3437 shimbun-server-internal.
3438 (elmo-folder-set-plugged): Ditto.
3439 (elmo-net-port-info): Ditto.
3440 (elmo-folder-check): Ditto.
3441 (elmo-folder-expand-msgdb-path): Ditto.
3442 (elmo-folder-list-subfolders): Ditto.
3444 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3446 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3447 Convert field-name to lower case.
3448 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3450 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3452 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3453 `message' and `error' take format string.
3455 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3457 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3459 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3461 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3462 recursive call (can't byte compile on emacs 20.7).
3464 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3466 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3467 (elmo-folder-list-message-entities): New API.
3468 (elmo-message-entity): Ditto.
3469 (elmo-message-entity-parent): Ditto.
3470 (elmo-folder-do-each-message-entity): Ditto.
3471 (elmo-message-entity-number): Ditto.
3472 (elmo-message-entity-field): Ditto.
3473 (elmo-message-entity-set-field): Ditto.
3474 (elmo-folder-count-flags): Ditto.
3475 (elmo-folder-length): Ditto.
3477 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3480 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3481 (elmo-msgdb-count-marks): Abolish.
3482 (elmo-msgdb-make-entity): Ditto.
3483 (elmo-msgdb-do-each-entity): Ditto.
3484 (elmo-msgdb-message-entity): New inline function.
3485 (elmo-msgdb-message-entity-field): Ditto.
3486 (elmo-msgdb-message-entity-set-field): Ditto.
3487 (elmo-msgdb-make-message-entity): New function.
3489 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3491 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3492 to flag. (All other related portions are changed.)
3493 (elmo-folder-msgdb-create): Likewise.
3494 (elmo-generic-folder-append-messages): Use flag-table instead of
3496 (elmo-folder-move-messages): Removed redundant process.
3497 (elmo-folder-synchronize): Likewise.
3499 * elmo-msgdb.el (elmo-flag-table-get): New function.
3500 (elmo-flag-table-save): Fixed.
3501 (elmo-msgdb-length): New inline function.
3502 (elmo-msgdb-flag-table): New function.
3503 (elmo-msgdb-mark): Add optional argument new.
3504 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3505 (elmo-msgdb-seen-list): Ditto.
3506 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3509 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3511 * elmo.el (elmo-message-set-mark): Abolish.
3512 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3513 (All related portions are changed.)
3515 * elmo-msgdb.el (toplevel): Added comment.
3516 (elmo-load-msgdb): Added 4th element `path'.
3517 (elmo-msgdb-append): Follow the change above.
3518 (elmo-msgdb-clear): Ditto.
3519 (elmo-msgdb-delete-msgs): Ditto.
3520 (elmo-msgdb-get-path): New inline function.
3521 (elmo-msgdb-set-path): Ditto.
3522 (elmo-flag-table-filename): New variable.
3523 (elmo-flag-table-load): New function.
3524 (elmo-flag-table-set): Ditto.
3525 (elmo-flag-table-save): Ditto.
3526 (elmo-msgdb-get-field-value): Abolish.
3527 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3529 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3531 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3532 the folder has been deleted successfully.
3533 * elmo-imap4.el (elmo-folder-delete): Ditto.
3534 * elmo-archive.el (elmo-folder-delete): Ditto.
3535 * elmo-localdir.el (elmo-folder-delete): Ditto.
3536 * elmo-maildir.el (elmo-folder-delete): Ditto.
3538 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3540 * elmo-util.el (elmo-string-member-ignore-case): New function.
3541 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3542 (elmo-imap4-fetch-callback-1-subr): Likewise.
3544 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3546 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3547 the case of the name attribute "\Noselect".
3549 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3551 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3553 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3554 flist, is not always a member of onum-alist.
3556 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3558 * elmo-version.el (elmo-version): Up to 2.11.3.
3560 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3562 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3563 copied from localdir's one.
3565 * elmo-pipe.el (elmo-folder-rename): New method, rename
3566 destination folder with leaving source folder as it is.
3568 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3570 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3573 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3575 * elmo-version.el (elmo-version): Up to 2.11.2.
3577 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3579 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3580 shimbun-open in case of "@".
3581 (elmo-folder-open-internal): Cope with shimbun = nil case.
3582 (elmo-folder-plugged-p): Ditto.
3583 (elmo-folder-list-subfolders): Make list for "@/" group.
3585 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3587 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3588 mailbox (e.g. for %~/something).
3590 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3592 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3593 Replace nested conditional with guard clauses.
3595 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3597 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3600 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3603 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3605 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3606 Replace nested conditional with guard clauses.
3608 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3610 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3611 (elmo-passwd-alist-save): Ditto.
3612 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3614 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3616 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3617 dir-name only if it is absolute path.
3618 (TODO: distinguish +/something and +something)
3620 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3622 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3623 path for "+~/something".
3625 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3627 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3628 as non-directory, cause error before rename-file.
3629 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3630 apropriately, mimic localdir's one.
3631 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3633 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3635 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3637 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3639 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3641 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3643 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3644 is included in the global-mark or not.
3646 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3648 * utf7.el (toplevel): Avoid error when the function
3649 find-coding-system does not exist.
3651 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3653 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3654 cache even if the folder is plugged.
3655 (elmo-nntp-search-primitive): Do nothing when body search is
3656 invoked (although it is not used by the change above).
3657 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3659 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3661 * elmo-version.el (elmo-version): Up to 2.11.1.
3663 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3665 * elmo-archive.el: Specify charset.
3667 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3669 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3670 process buffer lives or not.
3672 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3673 while flushing queues (It causes infinite loop).
3675 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3677 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3679 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3681 * utf7.el (toplevel): Check the ucs features dynamically.
3682 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3684 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3685 folder is creatabe or not if it already exists.
3687 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3689 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3691 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3693 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3694 (elmo-imap4-read-response): Take care of garbage response.
3696 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3698 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3699 just return nil instead of error.
3701 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3703 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3704 search-key is "body".
3706 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3708 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3709 of elmo-string-matched-assoc to use match-data.
3710 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3712 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3714 * elmo-split.el (elmo-split->): New function.
3715 (elmo-split-<): Ditto.
3717 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3719 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3720 workaround for invalid message-id.
3722 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3724 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3725 return normal pop3 session or pop3 biff session.
3727 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3729 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3730 info part to the cur files when the new files already have it.
3731 (Adviced by Jared Rhine <jared@wordzoo.com>)
3733 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3735 * elmo-split.el (elmo-split-default-action): New variable.
3736 (elmo-split-subr): Use it if all other conditions are passed.
3737 Extend `fname' and rename it as `action'. (implemented
3738 Teranishi-san's idea in [wl:10800])
3740 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3742 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3743 * elmo-util.el: Ditto.
3745 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3747 * elmo.el (elmo-message-accessible-p): Renamed from
3748 elmo-message-cached-p and rewritten.
3750 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3752 * elmo.el (elmo-folder-list-flagged): New generic function.
3753 (elmo-folder-list-importants): New implementation.
3754 (elmo-folder-list-answereds): Ditto.
3755 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3757 (elmo-message-cached-p): New function.
3758 (elmo-message-set-flag): Ditto (no content).
3759 (elmo-message-unset-flag): Ditto.
3760 (elmo-folder-list-messages-mark-match): Abolish.
3762 * elmo-util.el (elmo-regexp-opt): New function.
3764 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3765 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3767 (elmo-msgdb-list-flagged): New function.
3769 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3770 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3773 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3775 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3777 * elmo-version.el (elmo-version): Up to 2.11.0.
3779 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3781 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3782 `elmo-file-cache-exists-p'; use proper mark that depends on
3784 (elmo-msgdb-unset-flag): Ditto.
3785 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3787 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3788 with 4th argument `use-cache'.
3790 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3792 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3793 (elmo-folder-mark-as-important): Ditto.
3794 (elmo-folder-unmark-read): Ditto.
3795 (elmo-folder-mark-as-read): Ditto.
3796 (elmo-folder-unmark-answered): Ditto.
3797 (elmo-folder-mark-as-answered): Ditto.
3799 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3801 (elmo-msgdb-mark): Likewise.
3802 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3803 (elmo-msgdb-unset-flag): Likewise.
3805 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3807 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3809 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3812 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3814 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3815 set spool-length to 0.
3817 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3819 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3820 (elmo-dop-queue-flush): Fixed last change.
3822 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3824 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3825 if require-msgdb slot is nil.
3826 (elmo-folder-list-importants): Likewise.
3828 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3830 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3833 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3834 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3837 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3839 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3841 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3843 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3845 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3847 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3849 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3850 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3852 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3854 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3855 the problem reported by Sean Rima [wl-en:180].
3857 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3859 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3861 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3863 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3865 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3867 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3869 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3871 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3873 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3875 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3878 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3880 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3881 (elmo-folder-mark-as-read): Follow the API change.
3882 (elmo-message-set-cached): New function.
3884 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3886 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3888 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3889 (elmo-folder-mark-as-important): Ditto.
3890 (elmo-folder-unmark-read): Ditto.
3891 (elmo-folder-mark-as-read): Ditto.
3892 (elmo-folder-unmark-answered): Ditto.
3893 (elmo-folder-mark-as-answered): Ditto.
3895 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3896 (elmo-folder-unmark-important): Ditto.
3897 (elmo-folder-mark-as-read): Ditto.
3898 (elmo-folder-unmark-read): Ditto.
3899 (elmo-folder-mark-as-answered): Ditto.
3900 (elmo-folder-unmark-answered): Ditto.
3902 * elmo-mark.el (toplevel): Removed some mark method definitions.
3904 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3905 (elmo-map-folder-mark-as-answered): Ditto.
3906 (elmo-folder-unmark-important): Add :before qualifier.
3907 (elmo-folder-mark-as-important): Ditto.
3908 (elmo-folder-unmark-read): Ditto.
3909 (elmo-folder-mark-as-read): Ditto.
3910 (elmo-folder-unmark-answered): Define.
3911 (elmo-folder-mark-as-answered): Ditto.
3913 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3914 (elmo-map-folder-unmark-answered): Ditto.
3916 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3918 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3919 (elmo-folder-mark-as-important): Ditto.
3920 (elmo-folder-unmark-read): Ditto.
3921 (elmo-folder-mark-as-read): Ditto.
3922 (elmo-folder-unmark-answered): Ditto.
3923 (elmo-folder-mark-as-answered): Ditto.
3925 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3926 `mark'; evaluate mark condition.
3927 (elmo-msgdb-match-condition-internal): New function.
3928 (elmo-msgdb-match-condition): Call it; changed argument.
3930 * elmo.el (elmo-folder-search): Follow the API change on
3931 `elmo-msgdb-match-condition'.
3933 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3935 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3936 original mark is non-nil.
3938 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3940 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3941 (elmo-map-folder-list-answereds): New method.
3942 (elmo-folder-list-unreads): Add :around qualifier.
3943 (elmo-folder-list-importants): Ditto.
3944 (elmo-folder-list-answereds): Ditto.
3946 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3948 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3950 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3951 method if msgdb is not required.
3952 (elmo-filter-folder-list-importants): Don't treat global-mark.
3954 * elmo.el (elmo-folder-list-importants): Ditto.
3956 * elmo-net.el (elmo-folder-list-importants): Ditto.
3958 * elmo-map.el (elmo-folder-list-importants): Ditto.
3960 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
3962 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
3963 (elmo-imap4-folder-list-any-plugged): New function.
3964 (elmo-imap4-search-internal-primitive): Use it.
3966 * elmo-filter.el (elmo-folder-check): Synchronize original folder
3967 only when require-msgdb slot is non-nil.
3968 (elmo-folder-close): Clear target folder's msgdb.
3970 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
3972 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
3973 (elmo-pop3-msgdb-create-by-header): Ditto.
3974 (elmo-pop3-msgdb-create-message): Ditto.
3976 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3978 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3980 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3982 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3983 (elmo-folder-msgdb-create): Ditto.
3984 (elmo-nntp-folder-msgdb-create): Ditto.
3985 (elmo-nntp-msgdb-create-by-header): Ditto.
3986 (elmo-nntp-msgdb-create-message): Ditto.
3987 (elmo-folder-list-unreads): Define.
3989 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
3990 (elmo-folder-append-messages): Ditto.
3991 (elmo-folder-list-unreads): Define.
3992 (elmo-folder-list-importants): Ditto.
3993 (elmo-folder-list-answereds): Ditto.
3995 * elmo-net.el (elmo-folder-list-unreads): Define.
3996 (elmo-folder-list-importants): Ditto.
3997 (elmo-folder-list-answereds): Ditto.
3998 (elmo-folder-list-answereds-plugged): Ditto.
3999 (elmo-folder-msgdb-create): Follow the API change.
4000 (elmo-folder-msgdb-create-unplugged): Ditto.
4001 (elmo-folder-unmark-answered): Define.
4002 (elmo-folder-mark-as-answered-unplugged): Ditto.
4003 (elmo-folder-unmark-answered-unplugged): Ditto.
4005 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4006 (elmo-msgdb-unread-uncached-mark): Ditto.
4007 (elmo-msgdb-unread-cached-mark): Ditto.
4008 (elmo-msgdb-read-uncached-mark): Ditto.
4009 (elmo-msgdb-answered-cached-mark): Ditto.
4010 (elmo-msgdb-answered-uncached-mark): Ditto.
4011 (elmo-msgdb-important-mark): Ditto.
4012 (elmo-msgdb-set-mark): Rewrite.
4013 (elmo-msgdb-count-marks): Rewrite.
4014 (elmo-msgdb-mark-alist-set): Abolish.
4015 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4016 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4018 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4019 (elmo-folder-close): Define.
4020 (elmo-folder-msgdb-create): Follow the API change.
4021 (elmo-folder-list-unreads): Rewrite.
4022 (elmo-folder-mark-as-important): Ditto.
4023 (elmo-folder-unmark-important): Ditto.
4024 (elmo-folder-mark-as-read): Ditto.
4025 (elmo-folder-unmark-read): Ditto.
4026 (elmo-folder-mark-as-answered): Define.
4027 (elmo-folder-unmark-answered): Ditto.
4029 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4030 (elmo-folder-append-messages): Ditto.
4032 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4034 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4035 (elmo-folder-list-importants): Ditto.
4037 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4038 (elmo-folder-append-messages): Ditto.
4040 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4042 (elmo-folder-msgdb-create-plugged): Ditto.
4043 (elmo-folder-append-messages): Ditto.
4044 (elmo-folder-list-answereds-plugged): Define.
4045 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4046 (elmo-folder-unmark-answered-plugged): Define.
4047 (elmo-folder-mark-as-answered-plugged): Ditto.
4048 (elmo-folder-search-requires-msgdb-p): Ditto.
4050 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4051 (elmo-folder-initialize): Set it.
4052 (elmo-folder-msgdb): Define.
4053 (elmo-folder-check): Call elmo-folder-synchronize.
4054 (elmo-folder-close): Define.
4055 (elmo-folder-commit): Ditto.
4056 (elmo-folder-msgdb-create): Rewrite.
4057 (elmo-folder-list-unreads): Ditto.
4058 (elmo-folder-list-importants): Ditto.
4059 (elmo-folder-mark-as-read): Ditto.
4060 (elmo-folder-unmark-read): Ditto.
4061 (elmo-folder-mark-as-important): Ditto.
4062 (elmo-folder-unmark-important): Ditto.
4063 (elmo-folder-mark-as-answered): Define.
4064 (elmo-folder-unmark-answered): Ditto.
4066 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4067 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4068 (elmo-dop-queue-method-name-alist): Likewise.
4069 (elmo-folder-mark-as-answered-dop): New inline function.
4070 (elmo-folder-unmark-answered-dop): Ditto.
4071 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4073 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4074 (elmo-folder-msgdb-create): Ditto.
4075 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4076 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4077 (elmo-archive-parse-mmdf): Ditto.
4079 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4080 (elmo-folder-list-unreads-internal): Ditto.
4082 * elmo.el (elmo-folder-msgdb): Define as generic function.
4083 (elmo-folder-list-messages): Added argument `in-msgdb'.
4084 (elmo-folder-list-unreads): Define as generic function.
4085 (elmo-folder-list-importants): Ditto.
4086 (elmo-folder-list-answereds): Ditto.
4087 (elmo-folder-list-messages-with-global-mark): New function.
4088 (elmo-folder-msgdb-create): Removed mark arguments.
4089 (elmo-folder-unmark-answered): New generic function.
4090 (elmo-folder-mark-as-answered): Ditto.
4091 (elmo-folder-append-messages): Removed argunment `unread-marks'
4092 (elmo-folder-list-unreads-internal): Abolish.
4093 (elmo-folder-list-importants-internal): Ditto.
4094 (elmo-folder-search-requires-msgdb-p): New generic function.
4095 (elmo-folder-search-requires-msgdb-p-internal): New function.
4096 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4098 (elmo-folder-search-fast): Added key 'mark'.
4099 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4100 instead of unread-marks argument.
4101 (elmo-folder-move-messages): Removed argunment `unread-marks'
4102 (elmo-folder-unmark-important): Define.
4103 (elmo-folder-mark-as-important): Ditto.
4104 (elmo-folder-unmark-read): Ditto.
4105 (elmo-folder-mark-as-read): Ditto.
4106 (elmo-folder-unmark-answered): Ditto.
4107 (elmo-folder-mark-as-answered): Ditto.
4108 (elmo-folder-replace-marks): Abolish.
4109 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4111 (elmo-folder-synchronize): Removed mark arguments;
4112 return crosspost only number.
4114 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4116 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4117 Remove redundunt connectivity check.
4119 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4121 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4122 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4124 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4126 * pldap.el (ldap-decode-string): Return string as-is if
4127 `ldap-coding-system' is nil.
4128 (ldap-encode-string): Ditto.
4129 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4130 (ldap-default-host): Fixed docstring.
4132 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4134 * elmo-util.el (elmo-warning): Define as a macro which uses
4135 `display-warning' if it is defined as a function.
4137 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4138 (elmo-split-equal): Use it.
4139 (elmo-split-match): Ditto.
4140 (elmo-split-message-entity): New buffer-local variable.
4141 (elmo-split-subr): Set it.
4143 * elmo-version.el (elmo-version): Up to 2.9.15.
4145 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4147 * elmo-imap4.el (elmo-network-initialize-session):
4148 Check capability after starttls.
4150 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4152 * elmo-util.el (elmo-list-delete): Added optional argument
4155 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4157 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4159 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4161 * elmo-imap4.el (elmo-folder-initialize): Don't use
4162 elmo-imap4-default-mailbox.
4164 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4166 * elmo-split.el (toplevel): Use `product-provide'.
4167 (elmo-split): Checkdoc.
4169 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4171 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4172 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4173 the function `elmo-imap4-debug-1'.
4175 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4177 * elmo-split.el (elmo-split): Moved to run hooks and to show
4178 message from elmo-split-subr.
4179 (elmo-split-subr): Follow the change above.
4181 * elmo-split.el (elmo-split-subr): New function (renamed from
4183 (elmo-split): Changed to call elmo-split-subr by element of
4185 (elmo-split-folder): Changed customization type to choice.
4187 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4189 * elmo-split.el (elmo-split-and): Fixed condition.
4191 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4193 * elmo-split.el: New file.
4194 (elmo-split): Fixed logic.
4195 Display "Test:" instead of "Folder:" when reharsal.
4197 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4200 * elmo-version.el (elmo-version): Up to 2.9.14.
4202 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4205 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4207 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4208 message with no message-id field.
4210 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4212 * elmo-version.el (elmo-version): Up to 2.9.13.
4214 * elmo-dop.el (elmo-folder-status-dop): Fix.
4216 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4218 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4220 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4221 changing default value of default-mime-charset.
4222 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4224 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4226 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4227 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4228 instead of elmo-dop-queue-method-name-alist to check merging queue.
4229 (elmo-folder-delete-messages-dop): Delete from queue if negative
4231 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4232 file is already removed.
4234 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4236 * elmo-vars.el: Bind colon keywords for old Emacsen.
4238 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4240 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4241 against non-exsisting charset.
4243 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4245 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4246 Use eword-decode-and-unfold-unstructured-field-body.
4248 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4249 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4250 exists to decode raw subject string.
4251 (toplevel): Require 'mime.
4253 * elmo-version.el (elmo-version): Up to 2.9.12.
4255 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4257 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4258 (elmo-msgdb-set-mark): Ditto.
4260 * elmo-version.el (elmo-version): Up to 2.9.11.
4262 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4264 * elmo-util.el (elmo-delete-match-files): New function.
4266 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4267 instead of elmo-delete-directory.
4269 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4270 elmo-hash-minimun-size as 63.
4272 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4273 elmo-diff-unread is nil.
4275 * elmo-imap4.el (elmo-folder-open): Fix.
4277 * elmo.el (elmo-message-mark): Rewrite.
4278 (elmo-message-field): Ditto.
4279 (elmo-message-set-mark): Ditto.
4280 (elmo-folder-replace-marks): New function.
4281 (elmo-generic-folder-append-msgdb): Removed third argument for
4283 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4284 (elmo-msgdb-load): New implementation.
4286 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4288 * elmo-util.el (elmo-list-insert): New implementation.
4290 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4291 argument for elmo-msgdb-append.
4294 * elmo-msgdb.el (elmo-load-msgdb): New function.
4295 (elmo-make-msgdb): Ditto.
4296 (elmo-msgdb-get-index): New inline function.
4297 (elmo-msgdb-set-index): Ditto.
4298 (elmo-msgdb-get-entity-hashtb): Ditto.
4299 (elmo-msgdb-get-mark-hashtb): Ditto.
4300 (elmo-msgdb-get-mark): Ditto.
4301 (elmo-msgdb-set-mark): Ditto.
4302 (elmo-msgdb-count-marks): Ditto.
4303 (elmo-msgdb-get-number): Ditto.
4304 (elmo-msgdb-get-field): Ditto.
4305 (elmo-msgdb-seen-list): Ditto.
4306 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4307 (elmo-msgdb-delete-msgs): Follow the changes above.
4308 (elmo-msgdb-overview-get-entity): Ditto.
4309 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4310 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4312 (elmo-msgdb-make-index): Likewise.
4313 (elmo-msgdb-append): Removed third argument.
4314 (elmo-msgdb-clear): Clear index as nil.
4315 (elmo-folder-set-info-hashtb): Removed.
4316 (elmo-folder-set-info-max-by-numdb): Ditto.
4317 (elmo-folder-info-make-hashtb): Ditto.
4319 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4321 * elmo-map.el (elmo-folder-pack-number): Ditto.
4323 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4325 * elmo-version.el (elmo-version): Up to 2.9.10.
4327 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4329 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4331 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4333 * elmo-utils.el (elmo-make-directory): Add option.
4334 Default file mode is 700.
4336 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4338 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4340 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4342 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4345 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4348 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4350 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4351 (elmo-shimbun-folder-entity-hash): New function.
4352 (elmo-shimbun-folder-shimbun-header): Ditto.
4353 (elmo-shimbun-entity-to-header): Ditto.
4354 (elmo-shimbun-msgdb-to-headers): Removed.
4355 (elmo-shimbun-folder-setup): Ditto.
4356 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4358 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4359 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4360 Removed useless local bind.
4361 (elmo-folder-open-internal): Don't call
4362 `elmo-shimbun-folder-setup'.
4363 (elmo-folder-close-internal): Clear entity-hash slot.
4364 (elmo-folder-clear): Ditto.
4365 (elmo-shimbun-msgdb-create-entity): Use
4366 `elmo-shimbun-folder-shimbun-header'.
4367 (elmo-map-message-fetch): Ditto.
4368 (elmo-shimbun-update-overview): Use overview entity instead of
4369 shimbun header to lookup id by references.
4370 (elmo-map-folder-list-message-locations): Use not only headers but
4371 also overviews to list locations.
4373 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4375 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4378 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4380 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4382 * elmo-util.el (elmo-read-search-condition-internal): Give default
4385 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4387 * elmo-util.el (elmo-condition-parse-search-value): Accept
4388 YYYY-MM-DD format to search.
4389 * elmo-date.el (elmo-date-get-datevec): Likewise.
4391 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4393 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4396 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4398 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4401 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4403 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4404 case from `elmo-folder-exists-p'.
4405 (elmo-folder-exists-p): Removed.
4406 (elmo-folder-creatable-p) Ditto.
4408 * elmo-net.el (elmo-folder-create): Defined.
4409 (elmo-folder-create-unplugged): New function.
4410 (elmo-folder-exists-p): Changed default value to nil from t.
4412 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4413 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4415 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4416 `elmo-create-folder-dop' and append queue
4417 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4418 (elmo-folder-create-dop-delayed): New function.
4420 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4422 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4424 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4425 (elmo-folder-writable-p) : Ditto.
4427 * elmo-version.el (elmo-version): Up to 2.9.9.
4429 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4431 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4432 `elmo-message-use-cache-p' returns nil.
4433 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4434 (ignore cache file and refer the substance in local folders)
4436 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4438 * elmo-version.el (elmo-version): Up to 2.9.8.
4440 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4442 * elmo-version.el (elmo-version): Up to 2.9.7.
4444 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4446 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4448 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4450 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4452 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4454 (elmo-map-folder-list-message-locations): Reverse location list.
4456 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4458 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4460 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4462 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4464 (elmo-nntp-folder-list-subfolders): Follow the change above.
4466 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4468 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4469 name if authentication type is specified.
4471 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4473 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4475 (elmo-default-nntp-stream-type): Ditto.
4476 (elmo-default-pop3-stream-type): Ditto.
4478 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4480 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4482 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4484 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4486 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4488 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4489 (elmo-maildir-folder-path): Ditto.
4490 (elmo-maildir-list): Ditto (abolished).
4492 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4494 * elmo-version.el (elmo-version): Up to 2.9.6.
4496 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4498 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4499 (elmo-maildir-folder-path): Ditto.
4500 (elmo-msgdb-directory): Ditto.
4501 (elmo-passwd-life-time): Ditto.
4502 (elmo-msgdb-extra-fields): Ditto.
4503 (elmo-enable-disconnected-operation): Ditto.
4505 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4507 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4509 (elmo-pop3-default-authenticate-type): Ditto.
4511 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4513 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4515 (elmo-pop3-default-authenticate-type): Ditto.
4517 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4519 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4520 mailbox to new-folder.
4522 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4524 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4525 less than new, set new as unread.
4527 * elmo-util.el (elmo-string): Don't put text-property if nil.
4529 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4531 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4532 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4534 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4536 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4537 is nil on `completing-read'.
4539 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4541 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4543 (elmo-imap4-parse-namespace-subr): Ditto.
4544 (elmo-folder-list-subfolders): Append a delimiter when the specified
4545 folder path is a root with namespace and does not end with delimiter.
4547 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4549 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4552 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4554 * elmo-util.el (elmo-save-buffer): The first argument of message
4555 is a format control string.
4557 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4559 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4560 `elmo-folder-diff').
4561 (elmo-diff-unread): Likewise.
4563 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4565 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4566 is t on `completing-read'.
4568 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4570 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4571 method of target folder with self mark-alist if MARK-ALIST is nil.
4573 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4575 * elmo-version.el (elmo-version): Up to 2.9.5.
4577 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4579 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4580 (elmo-dop-merge-funcs): Remove.
4582 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4584 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4585 Return t if PATH is directory, too.
4586 Use `dolist' instead of while loop.
4588 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4590 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4593 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4595 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4597 (elmo-folder-list-messages-unplugged): Return t if
4598 elmo-enable-disconnected-operation is nil.
4600 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4601 `elmo-folder-list-messages-internal'.
4603 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4605 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4606 Change to looking-at `[23][0-9]+'.
4607 (elmo-network-initialize-session): Use 'error-msg'
4608 * elmo-net.el (elmo-network-open-session): Set unplugged
4609 if elmo-network-initialize-session returns 'elmo-open-err.
4611 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4613 * elmo-version.el (elmo-version): Up to 2.9.4.
4615 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4617 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4618 `elmo-folder-list-messages-internal'.
4620 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4622 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4623 (elmo-message-match-condition): New method.
4624 (elmo-folder-search-fast): New inline function.
4625 (elmo-msgdb-search): Removed.
4627 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4628 target folder if it is unplugged.
4629 (elmo-folder-list-messages-internal): Return t if target folder is
4630 unplugged and itself is persistent; In this case, use list be
4633 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4634 (elmo-msgdb-search-internal-primitive): Ditto.
4635 (elmo-msgdb-match-condition): New function.
4636 (elmo-msgdb-match-condition-primitive): Ditto.
4638 * elmo-util.el (elmo-filter-condition-p): New macro.
4640 * elmo-cache.el (elmo-folder-search): Removed.
4642 * elmo-localdir.el (elmo-folder-search): Ditto.
4644 * elmo-maildir.el (elmo-folder-search): Ditto.
4646 * elmo-mark.el (elmo-folder-search): Ditto.
4648 * elmo-nmz.el (elmo-folder-search): Ditto.
4650 * elmo-sendlog.el (elmo-folder-search): Ditto.
4652 * elmo-shimbun.el (elmo-folder-search): Ditto.
4654 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4655 if folder is unplugged.
4657 * elmo-nntp.el (elmo-folder-search): Likewise.
4658 (elmo-nntp-search-internal): New function.
4660 * elmo-version.el (elmo-version): Up to 2.9.3.
4662 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4664 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4666 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4668 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4670 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4672 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4674 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4676 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4677 (elmo-map-folder-list-message-locations): Do drive letter conversion
4678 on Windows environment.
4679 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4680 (elmo-map-message-fetch): Ditto.
4682 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4684 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4685 (elmo-network-initialize-session): Ditto.
4687 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4689 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4691 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4693 * elmo-util.el (elmo-progress-clear): Ditto.
4695 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4696 `DD-Mon-YYYY' type date.
4698 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4700 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4701 `elmo-date-make-sortable-string' instead of
4702 `timezone-make-date-sortable'.
4704 * elmo-date.el (elmo-date-make-sortable-string): Use
4705 `timezone-make-time-string'.
4707 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4709 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4711 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4712 `since'; Fix timezone.
4714 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4716 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4718 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4720 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4722 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4724 * elmo.el (elmo-generic-folder-append-messages): Make
4725 fetch-strategy with `use-cache' as 'maybe. Check return value of
4726 `elmo-message-fetch'.
4727 (elmo-message-fetch): Return return value of
4728 `elmo-message-fetch-with-cache-process'.
4729 (elmo-message-fetch-with-cache-process): Return non-nil if
4730 fetching was succeed. Load cache when fetching was failed and
4731 fetch-strategy-use-cache is 'maybe.
4733 * elmo-util.el (elmo-file-cache-load): New function.
4735 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4738 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4739 non-nil if fetching was succeed.
4741 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4743 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4745 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4746 (elmo-message-fetch-with-cache-process): Likwise.
4748 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4750 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4752 * elmo-version.el (elmo-version): Up to 2.9.2.
4754 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4756 * elmo.el (elmo-folder-delete): Delete msgdb path.
4758 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4760 * elmo-maildir.el (elmo-folder-delete): Ditto.
4762 * elmo-localdir.el (elmo-folder-delete): Ditto.
4764 * elmo-imap4.el (elmo-folder-delete): Ditto.
4766 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4768 * elmo.el (luna-define-class): Added `biff' slot.
4770 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4771 (elmo-pop3-debug-inhibit-logging): Abolished.
4772 (elmo-network-close-session): Eliminated needless let.
4773 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4774 (elmo-pop3-send-command): Added `no-log' argument.
4775 (elmo-pop3-process-filter): Use `with-current-buffer'.
4776 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4778 (elmo-pop3-auth-apop): Likewise.
4779 (elmo-network-authenticate-session): Likewise.
4781 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4784 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4785 string to determine protocol.
4786 (elmo-network-session-name-prefix): Abolished.
4787 (elmo-network-session-cache-key): Follow the change above.
4788 (elmo-network-open-session): Ditto.
4790 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4791 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4793 * elmo-version.el (elmo-version): Up to 2.9.1.
4795 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4796 unmatch condition checking.
4798 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4801 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4803 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4805 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4807 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4808 test for while loop to execute at least one SEARCH command.
4810 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4812 * elmo-version.el (elmo-version): Up to 2.9.0.
4814 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4816 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4817 (elmo-archive-folder-path): Define.
4818 (elmo-folder-initialize): Setup `dir-name' slot.
4819 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4820 Use `dir-name' as prefix of each subfolders.
4821 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4823 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4825 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4826 (elmo-pipe-folder-list-target-messages): New internal function.
4827 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4829 (elmo-pipe-folder-copied-list-load): New function.
4830 (elmo-pipe-folder-copied-list-save): Ditto.
4831 (elmo-folder-open-internal): Follow the change above.
4832 (elmo-folder-status): Fixed for copy.
4834 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4836 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4838 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4840 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4841 elmo-copy-file instead of elmo-add-name-to-file.
4843 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4845 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4848 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4849 of accept-process-output as 1.
4850 (elmo-pop3-read-contents): Ditto.
4851 (elmo-pop3-read-body): Ditto.
4853 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4855 * elmo-version.el (product-version-as-string): Remove define.
4857 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4859 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4860 (elmo-imap4-copy-messages): Chop number set using
4861 `elmo-imap4-number-set-chop-length'.
4862 (elmo-imap4-set-flag): Ditto.
4863 (elmo-imap4-search-internal-primitive): Ditto.
4865 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4867 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4868 `elmo-folder-make-temp-dir'
4870 * elmo-vars.el (elmo-cache-directory): New variable.
4871 (elmo-cache-dir): Abolished.
4872 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4874 * elmo-version.el (elmo-version): Up to 2.7.7.
4876 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4878 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4879 defcustom; Set default value as t.
4881 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4883 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4884 (ldap-search-program-arguments): Changed default value.
4885 (ldap-search-basic): Accept exit status 4.
4886 (ldap/field-body): Parse options.
4887 (ldap/collect-field): Ditto.
4888 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4890 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4891 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4892 (elmo-imap4-accept-ok): Ditto.
4893 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4894 'notify-bye, only BYE error is reported.
4895 (elmo-folder-exists-p-plugged): Set no-error argument of
4896 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4898 * elmo.el (elmo-imap4-bye-error): Changed message.
4900 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4901 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4902 queues (It causes infinite loop).
4904 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4906 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4907 (RECENT UNSEEN MESSAGES) extension.
4909 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4911 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4912 Check number of overview fields.
4914 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4916 * elmo.el (elmo-folder-confirm-appends): Changed message.
4917 (elmo-folder-confirm-appends): Ditto.
4919 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4921 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4923 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4925 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4926 of elmo-folder-update-threshold is nil, which can be set by
4927 wl-summary-update-confirm-threshold.
4929 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4931 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4932 (elmo-nmz-index-alias-alist): Ditto.
4933 (elmo-map-folder-list-message-locations): Follow the change above.
4935 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4937 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4939 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4941 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4943 * elmo-util.el (elmo-read): Ditto.
4944 (elmo-display-error): Ditto.
4946 * elmo-vars.el (elmo-date-match): Ditto.
4948 * pldap.el (ldap-coding-system): Ditto.
4950 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4951 `elmo-inhibit-number-mapping' as nil.
4953 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4955 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
4956 space delimiter for list response.
4958 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4960 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
4962 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4964 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
4965 (elmo-map-message-fetch): Fix.
4966 * elmo-map.el (elmo-folder-status): Fix for killed.
4968 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4970 * elmo-sendlog.el: New file.
4971 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
4973 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
4975 * acap.el (acap-logging-out): New buffer local variable.
4976 (acap-close): Set it.
4977 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
4980 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4982 * acap.el (acap-response-bye-p): New function.
4983 (acap-response-bye-message): Ditto.
4984 (acap-wait-for-response): If bye response is received, cause an error.
4985 (acap-parse-response): Make bye response when 'Bye' is received.
4987 2001-11-23 Kenichi OKADA <okada@opaopa.org>
4989 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4991 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4993 * elmo-util.el (elmo-copy-file): Added argument
4994 `ok-if-already-exists'.
4995 (elmo-copy-file): Fixed typo.
4997 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4999 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5001 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5003 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5005 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5007 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5010 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5012 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5013 (elmo-folder-initialize): Fix for `copy'.
5014 (elmo-pipe-drain): Ditto.
5015 (elmo-folder-open-internal): Ditto.
5016 (elmo-folder-newsgroups): Fix.
5018 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5020 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5023 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5024 recent value is returned from imap folder.
5026 * elmo.el (elmo-folder-newsgroups): New generic function.
5028 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5029 (elmo-folder-initialize): Set it.
5030 (elmo-folder-expand-msgdb-path): Use it.
5031 (elmo-folder-newsgroups): Define.
5033 * elmo-filter.el (elmo-folder-newsgroups): Define.
5035 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5037 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5039 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5041 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5043 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5045 (elmo-shimbun-header-extra-field): New inline function.
5046 (elmo-shimbun-header-set-extra-field): Ditto.
5047 (elmo-shimbun-folder-header-hash-setup): Ditto.
5048 (elmo-shimbun-update-overview): Ditto.
5049 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5050 (elmo-shimbun-folder-setup): Use
5051 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5052 (elmo-shimbun-get-headers): Ditto.
5053 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5054 Insert `X-Shimbun-Id:' header if extra field is set.
5055 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5056 field's value instead of `shimbun-header-id'.
5058 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5060 (elmo-msgdb-overview-entity-set-date): Ditto.
5061 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5063 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5065 * mmimap.el (mmimap-entity-section): Changed body node number from
5068 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5070 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5071 `elmo-folder-delete-messages'.
5073 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5074 (elmo-folder-initialize): Changed to expand alias into index path.
5076 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5077 `elmo-mime-insert-header-from-buffer' with 6th arg
5080 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5082 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5084 * elmo.el (elmo-diff-new): New inline function.
5085 (elmo-diff-unread): Ditto.
5086 (elmo-diff-all): Ditto.
5088 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5089 value from responseb.
5090 (elmo-imap4-folder-diff-plugged): Ditto.
5091 (elmo-imap4-server-diff-async): Added recent argument.
5092 (elmo-server-diff-async): Ditto.
5093 (elmo-imap4-folder-diff-plugged): Ditto.
5095 * elmo-version.el (elmo-version): Up to 2.7.6.
5097 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5099 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5102 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5104 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5106 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5108 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5110 * elmo-multi.el (elmo-folder-initialize): Ditto.
5112 * elmo-util.el (elmo-parse-token): New function.
5113 (elmo-parse-prefixed-element): Ditto.
5115 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5117 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5119 (elmo-imap4-accept-ok): Ditto.
5121 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5123 * mmimap.el (mime-imap-entity-header-string): Don't check first
5124 element of node-id is `0' (Follow last change).
5126 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5128 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5129 assigned irregular node-id to nested multipart section.
5130 (initialize-instance): Followed above change.
5132 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5134 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5135 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5136 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5137 `elmo-shimbun-get-headers');
5138 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5139 visible article on summary exists in headers).
5140 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5142 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5144 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5147 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5149 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5151 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5153 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5154 header separator into loop condition.
5156 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5158 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5159 Return duplicate folder if it has subfolder.
5161 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5163 * elmo.el (elmo-make-folder): Add folder name error check.
5165 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5166 (elmo-nntp-encode-group-string): New inline function.
5167 (elmo-nntp-decode-group-string): Ditto.
5168 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5169 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5170 Use `not' instead of `null';
5171 Use elmo-nntp-decode-group-string.
5173 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5175 * elmo-version.el (elmo-version): Up to 2.7.5.
5177 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5179 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5180 Hide progress gauge if `elmo-folder-move-messages' exits
5183 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5185 * elmo-imap4.el (elmo-folder-initialize): Use
5186 `elmo-imap4-encode-folder-string' for folder name.
5188 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5190 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5193 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5195 * elmo-util.el (elmo-progress-counter-alist): New internal
5197 (elmo-progress-counter-value): New macro.
5198 (elmo-progress-counter-all-value): Ditto.
5199 (elmo-progress-counter-format): Ditto.
5200 (elmo-progress-counter-set-value): Ditto.
5201 (elmo-progress-set): New function.
5202 (elmo-progress-clear): Ditto.
5203 (elmo-progress-notify): Ditto.
5205 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5208 * elmo.el (elmo-generic-folder-append-messages): Call
5209 `elmo-progress-notify'.
5210 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5212 * elmo-archive.el (elmo-folder-append-messages): Call
5213 `elmo-progress-notify'.
5215 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5217 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5219 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5221 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5223 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5225 (elmo-message-encache-dop): Added argument `read'.
5227 * elmo-shimbun.el (elmo-message-encache): Ditto.
5229 * elmo-net.el (elmo-message-encache): Ditto.
5231 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5232 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5233 elmo-imap4-seen-messages.
5234 (elmo-folder-msgdb-create-plugged): Initialize
5235 elmo-imap4-seen-messages;
5236 Set seen mark on elmo-imap4-seen-messages.
5238 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5240 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5241 elmo-folder-append-buffer.
5242 (elmo-folder-encache): Added optional argument `read'.
5243 (elmo-message-encache): Ditto.
5245 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5247 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5249 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5250 if append buffer content succeds.
5252 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5254 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5255 elmo-display-progress.
5257 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5258 Set 4th argument of mime-display-message.
5259 (elmo-mime-display-as-is): Ditto.
5261 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5263 * elmo-nmz.el (toplevel): Require 'mime-edit.
5264 (elmo-nmz-content-type-alist): Abolished.
5265 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5266 content is not a message.
5267 (elmo-map-message-fetch): Changed behavior exept for message content;
5268 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5269 content-type, Add From: and Subject: field.
5271 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5273 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5274 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5277 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5279 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5280 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5282 * elmo-archive.el (elmo-folder-writable-p): Defined.
5284 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5286 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5288 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5290 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5292 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5294 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5296 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5298 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5300 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5302 * elmo-util.el (elmo-address-quote-specials): New function;
5303 Renamed from `wl-address-quote-specials'.
5305 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5307 * elmo-version.el (elmo-version): Up to 2.7.4.
5309 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5311 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5313 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5315 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5316 both compile-time and run-time to avoid byte-compile warning.
5318 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5320 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5322 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5324 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5326 (elmo-mime-display-as-is-internal): Use it.
5328 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5329 if `read-passwd' is not defined.
5331 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5333 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5335 (elmo-folder-status): Call `elmo-folder-open-internal';
5336 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5337 (elmo-folder-close-internal): Set location-alist as nil.
5338 (elmo-folder-clear): Define.
5339 (elmo-folder-check): Don't set location-alist as nil.
5341 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5343 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5345 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5346 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5348 * mmimap.el (mime-imap-entity::requested): New slot.
5349 (mime-imap-location-fetch-entity-p): New generic function.
5350 (mime-decode-parameters): Define using `defun-maybe'.
5351 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5352 content-type structure.
5353 (mime-entity-body): Return empty body if
5354 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5356 * elmo.el (elmo-message-displaying): New variable.
5358 * elmo-mime.el (elmo-mime-message-display): Bind
5359 elmo-message-displaying as t.
5361 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5363 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5365 * acap.el (acap-open): erase buffer before starting network process.
5366 (acap-store): Rewrite.
5368 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5370 * elmo-imap4.el (elmo-imap4-default-mailbox,
5371 elmo-imap4-default-server
5372 elmo-imap4-default-authenticate-type,
5373 elmo-imap4-default-user,
5374 elmo-imap4-default-port,
5375 elmo-imap4-default-stream-type,
5376 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5378 * elmo-pop3.el (elmo-pop3-default-user,
5379 elmo-pop3-default-server,
5380 elmo-pop3-default-authenticate-type,
5381 elmo-pop3-default-port,
5382 elmo-pop3-default-stream-type,
5383 elmo-pop3-stream-type-alist): Ditto.
5385 * elmo-nntp.el (elmo-nntp-default-server,
5386 elmo-nntp-default-user,
5387 elmo-nntp-default-port,
5388 elmo-nntp-default-stream-type,
5389 elmo-nntp-stream-type-alist): Ditto.
5391 * elmo-vars.el: Follow changes above.
5392 (elmo-setting): New custom group; added 'elmo-setting group to
5395 * elmo-version.el (elmo-version): Up to 2.7.3.
5397 * acap.el (acap-parse-response): Don't delete process when BYE
5398 response (It causes hang-up on slow network environment).
5399 (toplevel): Added comment.
5401 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5403 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5405 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5407 (acap-parse-return-metadata): Ditto.
5410 (toplevel): Fixed typo.
5412 * acap.el: New file.
5413 (acap-network-stream-open): Show "Connecting..." message.
5414 (acap-parse-response): Fixed problem for BYE untagged response.
5415 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5416 (toplevel): Added tiny comments.
5418 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5420 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5421 space delimiter for uidl response.
5423 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5425 * elmo-vars.el (elmo-use-semi): Eliminated.
5427 * elmo-util.el (elmo-string-assoc-all): New function.
5429 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5431 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5432 property 'mime-preview-situation for `mime-preview-quit'.
5434 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5436 * elmo.el (elmo-message-fetch-with-cache-process): Call
5437 elmo-message-fetch-internal instead of causing an error when fetch
5438 strategy is 'entire but only 'section cache is available.
5440 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5442 * elmo-version.el (elmo-version): Up to 2.7.2.
5444 * elmo.el (elmo-generic-folder-append-messages): Make
5445 fetch-strategy with `use-cache'.
5447 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5448 (elmo-dop-queue-method-name): New macro.
5450 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5452 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5453 unbalanced parenthesis.
5455 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5457 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5459 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5461 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5462 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5464 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5466 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5469 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5471 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5472 (elmo-message-use-cache-p): Define.
5473 (elmo-folder-msgdb-create): Treat cache.
5475 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5477 * elmo-nntp.el (elmo-network-initialize-session): Call
5478 `elmo-nntp-send-mode-reader'.
5479 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5481 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5483 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5485 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5488 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5489 for `elmo-plugged-p'.
5490 (elmo-open-network-stream): Fixed stream-type argument.
5492 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5494 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5495 unknown archive type is specified.
5497 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5499 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5501 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5502 while loading msgdb.
5504 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5505 (elmo-folder-open-internal): Rewrite.
5507 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5509 * elmo-mime.el (elmo-mime-display-as-is-internal):
5510 Adjust buffer-multibyte status.
5512 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5514 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5515 of elmo-condition-find-key.
5517 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5518 (elmo-condition-in-msgdb-p): Ditto.
5519 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5522 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5524 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5526 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5528 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5529 label for elmo-display-progress.
5531 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5533 * elmo.el (elmo-folder-clear): New method.
5534 (elmo-folder-clear): Define.
5535 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5537 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5538 (elmo-folder-clear): Define.
5540 * elmo-map.el (elmo-folder-clear): Define.
5542 * elmo-version.el (elmo-version): Up to 2.7.1.
5544 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5546 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5549 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5551 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5552 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5554 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5556 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5558 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5561 * elmo-imap4.el (elmo-folder-initialize): Use
5562 elmo-get-network-stream-type.
5564 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5566 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5568 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5570 * elmo.el (elmo-message-encache): Set unread argument for
5573 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5575 * elmo.el (elmo-net-port-info): New method.
5577 * elmo-shimbun.el (elmo-net-port-info): Define.
5578 (elmo-message-encache): Ditto.
5580 * elmo-net.el (elmo-net-port-info): Define as method.
5582 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5583 unplugged status when elmo-enable-disconnected-operation is t.
5585 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5586 of spool folder before checking new number.
5588 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5590 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5591 (elmo-network-setup-session): Ditto.
5592 (elmo-message-fetch-plugged): Ditto.
5593 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5594 (elmo-network-initialize-session): Ditto.
5595 (elmo-pop3-read-response): Abolish 3rd argument.
5596 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5597 (elmo-pop3-read-contents): Ditto.
5598 (elmo-pop3-read-body): Ditto.
5599 (elmo-folder-status): Call elmo-folder-close.
5600 (elmo-pop3-lock): Abolish.
5601 (elmo-pop3-unlock): Ditto.
5602 (elmo-pop3-locked-p): Ditto.
5603 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5605 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5607 * elmo-version.el (elmo-version): Up to 2.7.0.
5609 * elmo-pop3.el (elmo-pop3-debug): New variable.
5610 (elmo-pop3-debug-inhibit-logging): Ditto.
5611 (elmo-pop3-debug): New function.
5612 (elmo-pop3-send-command): Call elmo-pop3-debug.
5613 (elmo-pop3-read-response): Added keep-lock optional argument;
5614 Don't unlock if keep-lock is non-nil.
5615 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5616 (elmo-network-authenticate-session): Bind
5617 elmo-pop3-debug-inhibit-logging as t.
5618 (elmo-network-setup-session): Call elmo-pop3-read-response with
5620 (elmo-pop3-read-msg): Ditto.
5621 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5622 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5623 (elmo-network-initialize-session): Call elmo-pop3-lock.
5624 (elmo-folder-close-internal): Don't clear location-alist slot.
5625 (elmo-folder-check): Clear location-alist slot.
5627 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5629 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5630 (elmo-pop3-send-command): Call elmo-pop3-lock.
5631 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5632 (elmo-pop3-read-contents): Ditto.
5633 (elmo-pop3-lock): New function.
5634 (elmo-pop3-unlock): Ditto.
5635 (elmo-pop3-locked-p): Ditto.
5636 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5639 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5641 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5643 * elmo-util.el (elmo-file-field-primitive-condition-match):
5644 New inline function (Don't fetch file content if "first" or "last").
5645 (elmo-file-field-condition-match): Use
5646 elmo-file-field-primitive-condition-match.
5648 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5651 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5652 (elmo-message-fetch-plugged): Fixed.
5654 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5656 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5658 * elmo.el (elmo-folder-move-messages): Bind
5659 elmo-inhibit-display-retrieval-progress as t while moving messages.
5661 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5663 (elmo-inhibit-display-retrieval-progress): Ditto.
5665 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5666 for retrieval progress;
5667 Don't display progress when total buffer size is smaller than
5668 elmo-display-retrieval-progress-threshold.
5669 (elmo-message-fetch-plugged): Don't display progress when
5670 elmo-inhibit-display-retrieval-progress is non-nil.
5672 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5673 for retrieval progress;
5674 Don't display progress when literal size is smaller than
5675 elmo-display-retrieval-progress-threshold.
5676 (elmo-imap4-message-fetch): Don't display progress when
5677 elmo-inhibit-display-retrieval-progress is non-nil.
5679 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5681 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5682 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5683 (elmo-imap4-message-fetch): Likewise.
5685 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5686 (elmo-shimbun-index-range-alist): Ditto.
5687 (elmo-shimbun-use-entire-index): Abolish.
5688 (shimbun-mua-use-entire-index): Ditto.
5689 (elmo-shimbun-folder): Added new slot `range'.
5690 (elmo-folder-initialize): Setup slot `range'.
5692 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5694 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5695 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5696 (elmo-shimbun-get-headers): Use return value of
5697 `shimbun-article-expiration-days'.
5698 (elmo-folder-close-internal): Clean up last-check slot.
5700 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5701 (elmo-pop3-total-size): New variable.
5702 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5704 * elmo.el (elmo-folder-reserve-status-p): New method.
5706 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5707 (elmo-shimbun-use-entire-index): New user option.
5708 (shimbun-elmo-mua): New class.
5709 (shimbun-mua-search-id): Define.
5710 (shimbun-mua-use-entire-index): Ditto.
5711 (elmo-shimbun-folder:last-check): New slot.
5712 (elmo-shimbun-headers-cache-header-list): Abolish.
5713 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5714 (elmo-shimbun-headers-cache-header-hash): Ditto.
5715 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5716 (elmo-shimbun-headers-cache-last-check): Ditto.
5717 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5718 (elmo-shimbun-headers-check-p): Rewrite.
5719 (elmo-shimbun-msgdb-to-headers): New function.
5720 (elmo-shimbun-get-headers): Rewrite.
5721 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5722 (elmo-folder-open-internal): Get headers only if
5723 `elmo-shimbun-headers-check-p' is non-nil.
5724 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5726 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5727 (elmo-quit): Removed.
5729 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5731 (elmo-msgdb-overview-entity-set-extra): Ditto.
5732 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5734 * elmo-map.el (elmo-folder-status): Don't call
5735 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5738 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5740 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5741 of `elmo-msgdb-search-internal-primitive' when condition's car is
5744 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5746 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5748 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5750 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5751 call `elmo-pipe-drain'.
5753 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5755 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5756 typo. (elmo-cache-folder -> elmo-mark-folder)
5758 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5760 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5761 `elmo-message-fetch'.
5763 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5765 * elmo-net.el (elmo-message-encache): Fixed typo.
5766 (elmo-message-fetch-unplugged): Changed call
5767 `elmo-message-fetch-internal' without argument `outbuf'.
5769 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5771 * elmo.el (elmo-message-encache): Define as generic function.
5772 (elmo-message-fetch-field): New generic function.
5773 (elmo-message-fetch-with-cache-process): Cause an error when
5774 fetch strategy is 'entire but only 'section cache is available.
5775 (toplevel): Fixed nmz folder definition.
5777 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5778 (elmo-msgdb-resume-list-filename): Ditto.
5779 (elmo-queue-filename): Ditto.
5780 (elmo-enable-disconnected-operation): Changed default value to t.
5782 * elmo-util.el (elmo-cache-path-section-p): New function.
5783 (elmo-file-cache-get): Use it.
5784 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5785 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5786 (elmo-dop-queue-save): Ditto.
5788 * elmo-net.el (elmo-folder-status-unplugged): Call
5789 elmo-folder-status-dop.
5790 (elmo-folder-list-messages-unplugged): Implemented.
5791 (elmo-folder-delete-messages-unplugged): Define.
5792 (elmo-folder-msgdb-create): Define.
5793 (elmo-folder-msgdb-create-unplugged): Define.
5794 (elmo-folder-mark-as-read-unplugged): Ditto.
5795 (elmo-folder-unmark-read-unplugged): Ditto.
5796 (elmo-folder-mark-as-important-unplugged): Ditto.
5797 (elmo-folder-unmark-important-unplugged): Ditto.
5798 (elmo-message-encache): Ditto.
5800 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5801 (elmo-dop-queue-save): Ditto.
5803 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5804 `elmo-folder-msgdb-create'.
5805 (elmo-folder-append-buffer): Implemented unplugged operation.
5806 (elmo-folder-append-messages): Call parent method in unplugged status.
5807 (elmo-message-fetch-unplugged): Removed definition.
5808 (elmo-message-fetch-field): Implemented.
5810 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5811 (elmo-dop-folder): Removed variable definition.
5812 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5813 (elmo-dop-queue-flush): Implemented.
5814 (elmo-dop-queue-merge): Removed definition (TODO).
5815 (elmo-dop-spool-folder): New function.
5816 (elmo-dop-spool-folder-append-buffer): Ditto.
5817 (elmo-dop-spool-folder-list-messages): Ditto.
5818 (elmo-dop-list-deleting-messages): Ditto.
5819 (elmo-folder-append-buffer-dop): Ditto.
5820 (elmo-folder-delete-messages-dop): Ditto.
5821 (elmo-message-encache-dop): New inline function.
5822 (elmo-create-folder-dop): Ditto.
5823 (elmo-folder-mark-as-read-dop): Ditto.
5824 (elmo-folder-unmark-read-dop): Ditto.
5825 (elmo-folder-mark-as-important-dop): Ditto.
5826 (elmo-folder-unmark-important-dop): Ditto.
5827 (elmo-folder-status-dop): Fixed.
5828 (elmo-folder-append-buffer-dop-delayed): New function.
5829 (elmo-folder-delete-messages-dop-delayed): Ditto.
5830 (elmo-dop-msgdb): Ditto.
5832 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5834 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5836 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5838 * elmo.el (elmo-folder-move-messages): Fixed problem when
5839 `dst-folder' is 'null.
5841 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5843 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5844 instead of current mark.
5846 * elmo-multi.el (elmo-folder-list-importants-internal): No
5847 operation if importants is not list.
5849 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5850 Return t if importants is not list.
5852 * elmo-map.el (elmo-map-folder-list-importants): Define.
5853 (elmo-folder-list-importants-internal): Check return value of
5854 `elmo-map-folder-list-importants-internal'.
5856 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5858 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5860 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5862 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5864 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5866 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5867 (Patch is provided by <kita@coe.nttdata.co.jp>).
5869 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5871 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5874 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5876 * elmo.el (elmo-message-fetch): Define.
5877 (elmo-message-fetch-with-cache-process): New generic method.
5878 (elmo-message-fetch-internal): New generic method.
5879 (elmo-folder-synchronize):
5881 * elmo-archive.el (elmo-message-fetch-internal): Define.
5882 (elmo-message-fetch): Eliminated.
5884 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5885 (elmo-message-fetch): Eliminated.
5887 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5889 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5891 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5892 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5894 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5895 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5897 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5899 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5901 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5903 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5904 (elmo-message-fetch-unplugged): New generic method.
5905 (elmo-message-fetch-internal): Remove cache process (Renamed from
5906 `elmo-message-fetch').
5908 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5909 (elmo-message-fetch): Eliminated.
5910 (elmo-message-fetch-unplugged): Ditto.
5912 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5914 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5916 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5917 of `to-be-deleted' from number-alist to number-list.
5919 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5921 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5922 (elmo-folder-mark-as-important): Ditto.
5924 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5926 * elmo.el (elmo-folder): Added process-duplicates slot.
5928 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5929 (elmo-folder-unmark-read): Ditto.
5930 (elmo-folder-unmark-important): Ditto.
5931 (elmo-folder-mark-as-important): Ditto.
5933 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5934 duplicated message processing.
5936 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5938 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5940 * elmo-util.el (elmo-list-subdirectories-1): New function.
5941 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5942 (elmo-mapcar-list-of-list): New function.
5944 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5945 `elmo-mapcar-list-of-list' instead of `mapcar'.
5947 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5949 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5950 `elmo-have-link-count'. Return the fully qualified folder name.
5952 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5954 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5955 (elmo-shimbun-headers-cache): New internal variable.
5956 (elmo-shimbun-headers-cache-header-list): New inline function.
5957 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5958 (elmo-shimbun-headers-cache-header-hash): Ditto.
5959 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5960 (elmo-shimbun-headers-cache-last-check): Ditto.
5961 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5962 (elmo-shimbun-lapse-seconds): Ditto.
5963 (elmo-shimbun-headers-cache-check-p): Ditto.
5964 (elmo-shimbun-get-headers): New function.
5965 (elmo-folder-open-internal): Call it.
5966 (elmo-quit): Define (Clear headers-cache).
5968 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
5970 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
5972 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
5973 (elmo-msgdb-flist-save): Ditto.
5975 * elmo-shimbun.el (elmo-folder-list-subfolders):
5976 Use `shimbun-groups' instead of `shimbun-groups-internal'.
5977 (elmo-folder-exists-p): Ditto.
5979 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
5980 argument for `shimbun-header-insert'.
5982 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
5984 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
5987 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
5988 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
5990 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
5992 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
5993 (elmo-folder-plugged-p): Define.
5994 (elmo-folder-set-plugged): Ditto.
5995 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
5996 (elmo-folder-list-messages-internal): Return t if unplugged.
5997 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
5999 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6000 when elmo-folder-list-messages-internal method of children returns t.
6002 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6004 (elmo-folder-open-internal): Don't update if unplugged status.
6006 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6008 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6011 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6013 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6015 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6018 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6020 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6022 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6023 (elmo-folder-open-internal): Set up headers slot.
6024 (elmo-folder-check): Call elmo-folder-close-internal and
6025 elmo-folder-open-internal.
6026 (elmo-folder-close-internal): Clean up headers slot.
6028 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6030 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6031 exactly folder list.
6032 (elmo-folder-append-messages): Fixed append archive with prefix.
6034 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6035 make temp files with start-number.
6037 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6039 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6041 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6042 argument `visible-only'.
6043 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6046 * elmo-pop3.el (elmo-folder-open-internal): Check
6047 `elmo-inhibit-number-mapping' is non-nil.
6049 * elmo-pipe.el (elmo-folder-status): Fixed.
6051 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6053 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6055 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6056 (elmo-folder-open-internal): Setup `header-hash' slot.
6057 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6059 (elmo-map-message-fetch): Ditto.
6061 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6063 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6064 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6065 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6066 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6068 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6070 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6072 * sb-airs.el: Added footer.
6074 * shimbun.el (shimbun-article): Define as luna-method.
6076 * sb-tcup.el: New file.
6078 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6079 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6081 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6083 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6084 (shimbun-get-headers): Ditto.
6086 * elmo.el: Moved obsolete variable definitions from
6087 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6089 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6092 * shimbun.el: New file.
6094 * elmo-shimbun.el: New file.
6096 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6097 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6098 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6099 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6101 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6103 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6106 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6108 * elmo.el (elmo-folder-msgdb): Define as macro.
6109 (elmo-folder-open): Added argument `load-msgdb'.
6110 (elmo-generic-folder-open): Ditto.
6111 (elmo-folder-encache): New function.
6113 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6115 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6117 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6118 Eliminated argument FOLDER and added argument MSGDB.
6119 (elmo-dop-queue-load): Moved from elmo-dop.el.
6120 (elmo-dop-queue-save): Ditto.
6122 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6124 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6126 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6127 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6128 (elmo-filter-folder-list-importants-internal): Ditto.
6130 * elmo-map.el (elmo-folder-pack-number): Ditto.
6132 * elmo-mime.el (elmo-mime-message-display): Ditto.
6134 * elmo.el (elmo-generic-folder-commit): Ditto.
6135 (elmo-folder-list-unreads): Ditto.
6136 (elmo-folder-list-importants): Ditto.
6137 (elmo-generic-folder-commit): Ditto.
6138 (elmo-message-set-mark): Ditto.
6139 (elmo-generic-folder-append-msgdb): Ditto.
6140 (elmo-folder-synchronize): Ditto.
6141 (elmo-folder-messages): Ditto.
6142 (elmo-init): Call elmo-dop-queue-load.
6143 (elmo-folder-list-messages): Ditto.
6145 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6146 (elmo-nntp-folder-process-crosspost): Ditto.
6147 (elmo-folder-list-unreads-internal): Ditto.
6149 * elmo-dop.el: Removed old functions.
6151 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6153 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6154 `folder' to `msgdb'.
6156 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6158 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6159 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6161 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6164 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6166 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6169 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6170 (mmimap-parse-parameters-from-list): Define as alias for
6171 `mime-decode-parameter-plist' if it is defined as function.
6172 (mmimap-make-mime-entity): Added argument `number'.
6173 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6175 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6177 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6179 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6181 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6183 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6185 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6187 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6188 when elmo-imap4-default-authenticate-type is nil.
6189 (elmo-folder-list-subfolders): Ditto
6190 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6191 (elmo-imap4-fetch-callback-1-subr): Renamed from
6192 `elmo-imap4-fetch-callback-1' and define as inline function.
6193 (elmo-imap4-fetch-callback-1):
6194 Renamed from `elmo-imap4-fetch-callback'.
6195 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6197 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6198 msgdb path (To keep compatibility with main trunk).
6200 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6202 * elmo-util.el (elmo-make-file-cache): Moved position of
6205 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6206 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6207 instead of `elmo-pop3-inhibit-uidl'.
6208 (elmo-folder-exists-p): Ditto.
6209 (elmo-pop3-folder-list-messages): Ditto.
6211 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6212 instead of `elmo-pop3-inhibit-uidl'.
6213 (elmo-folder-status): Ditto.
6215 * elmo-dop.el (elmo-dop-folder): New variable.
6216 (elmo-dop-lock-message): Eliminated.
6217 (elmo-dop-unlock-message): Ditto.
6218 (elmo-dop-lock-list-load): Ditto.
6219 (elmo-dop-lock-list-save): Ditto.
6220 (elmo-dop-delete-folder): Ditto.
6221 (elmo-dop-rename-folder): Ditto.
6223 * elmo.el: Removed incomplete commentary.
6225 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6227 * elmo.el (toplevel): Require 'elmo-version first;
6228 for little `recursive-load-depth' settings.
6229 Fix "ends here" comment.
6231 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6233 * elmo-util.el (toplevel): Require 'poem;
6234 Some functions are moved from elmo-cache.el.
6236 * elmo-net.el (toplevel): Require 'elmo-cache.
6238 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6240 * elmo.el (toplevel): Ditto.
6242 * elmo-cache.el: Rewrite with luna;
6243 Some functions are moved to elmo-util.el.
6245 * elmo-internal.el (elmo-internal-folder-list): New variable.
6246 (elmo-internal-folder-initialize): Rewrite.
6247 (elmo-folder-list-subfolders): Ditto.
6249 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6250 (elmo-cache-collect-sub-directories): Ditto.
6252 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6254 * elmo-version.el (elmo-version): Up to 2.5.8.
6256 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6258 * elmo-util.el (elmo-list-insert): New function.
6260 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6262 * elmo.el (elmo-init): New function.
6263 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6265 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6266 (Renamed from `elmo-localdir-header-chop-length').
6268 * elmo-pop3.el (elmo-pop3-use-cache,
6269 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6271 * elmo-nntp.el (elmo-message-fetch): Define.
6272 (elmo-message-fetch-unplugged): Ditto.
6273 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6274 (elmo-nntp-use-cache): Ditto.
6275 (elmo-nntp-max-number-precedes-list-active): Ditto.
6277 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6279 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6280 `elmo-msgdb-insert-file-header'.
6281 Use `elmo-msgdb-file-header-chop-length'.
6283 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6286 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6287 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6288 `elmo-msgdb-insert-file-header'.
6290 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6292 Define obsolete variables with `elmo-define-obsolete-variable',
6294 * elmo-util.el (elmo-warning-buffer-name): New constant.
6295 (elmo-warning): New function.
6296 (elmo-obsolete-variable-alist): New variable.
6297 (elmo-obsolete-variable-show-warnings): New variable.
6298 (elmo-define-obsolete-variable): New function.
6299 (elmo-resque-obsolete-variable): Ditto.
6300 (elmo-resque-obsolete-variables): Ditto.
6302 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6304 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6307 * elmo-pop3.el, elmo-nntp.el: Use custom.
6309 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6311 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6312 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6314 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6316 * Luna-fy Kenichi OKADA's following changes.
6317 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6319 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6321 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6323 * elmo-util.el (elmo-display-progress): Prefer
6324 `progress-feedback-with-label' to `lprogress-display'.
6326 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6328 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6330 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6332 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6333 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6334 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6335 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6336 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6337 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6338 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6339 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6340 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6341 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6342 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6343 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6344 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6346 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6348 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6349 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6351 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6353 * elmo.el (elmo-folder-process-crosspost): New generic method.
6354 (elmo-folder-writable-p): Ditto.
6355 (elmo-folder-message-appendable-p): Eliminated.
6356 (elmo-generic-folder-append-msgdb): Rewrite.
6357 (elmo-newsgroups-hashtb): New internal variable.
6358 (elmo-crosspost-message-set): Eliminated.
6359 (elmo-crosspost-message-delete): Ditto.
6360 (elmo-setup-subscribed-newsgroups): New function.
6361 (elmo-crosspost-message-alist-modified): New internal variable.
6362 (elmo-crosspost-message-alist-load): New function (Renamed from
6363 `wl-crosspost-alist-load').
6364 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6365 `wl-crosspost-alist-save').
6367 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6369 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6371 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6372 elmo-newsgroups-hashtb).
6373 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6374 `elmo-nntp-folder-update-crosspost-message-alist'.
6375 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6376 `elmo-nntp-groups-hashtb'.
6377 (elmo-nntp-make-groups-hashtb): Eliminated.
6378 (elmo-nntp-parse-newsgroups): New function (Renamed from
6379 `wl-parse-newsgroups').
6380 (elmo-folder-creatable-p, elmo-folder-writable-p,
6381 elmo-folder-close-internal, elmo-folder-mark-as-read,
6382 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6384 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6386 * elmo-net.el (elmo-message-fetch): Check buffer size.
6388 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6390 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6392 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6393 before `close' command.
6395 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6396 `mark-alist' (All other related portions are changed).
6398 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6400 * elmo-util.el (elmo-create-hash-size): Eliminated.
6401 (elmo-make-hash) Make a hash with `one less than a power of two'
6404 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6405 (elmo-hash-maximum-size): Changed value.
6407 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6409 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6410 (elmo-mime-message-display-as-is): Ditto.
6412 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6414 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6415 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6417 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6419 * elmo-mark.el: New file.
6421 * elmo-internal.el: Rewrite (Almost empty).
6423 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6425 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6426 (mime-imap-entity-header-string): Ditto.
6427 (mmimap-entity-section): Rewrite.
6429 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6431 * elmo-nmz.el: New file.
6433 * elmo-pipe.el: Rewrite with luna.
6435 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6437 * elmo-archive.el: Rewrite with luna.
6439 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6440 (elmo-folder-list-importants-internal): Ditto.
6442 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6444 * elmo-archive.el (elmo-archive-version): Abolish.
6445 (toplevel) Removed `boso' comment.
6447 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6449 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6450 elmo-msgdb-add-msgs-to-seen-list-subr;
6451 Changed argument seen-marks to unread-marks.
6453 * elmo-nntp.el: Rewrite with luna.
6455 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6457 * elmo-filter.el: Rewrite with luna.
6459 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6461 * elmo-pop3.el: Rewrite with luna.
6463 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6465 * elmo-multi.el: Rewrite with luna.
6467 * elmo-vars.el (elmo-use-killed-list): Abolish.
6468 All other related portions are changed.
6469 (elmo-filename-replace-string-alist): Renamed from
6470 elmo-msgid-replace-string-alist.
6472 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6474 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6476 * elmo-map.el: New file.
6477 * elmo-maildir.el: Rewrite with luna.
6479 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6481 * elmo.el: Changed meaning of `elmo-folder-commit'.
6482 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6484 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6486 * elmo.el (elmo-folder-append-buffer): New function.
6487 (Renamed from `elmo-append-msg')
6489 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6491 * elmo-mime.el: New file.
6493 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6495 * elmo-cache.el: Rewrite.
6497 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6499 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6501 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6503 * elmo-vars.el (elmo): New group.
6504 (elmo-strict-diff-folder-regexp): New variable.
6506 * elmo-util.el (elmo-call-func): Abolish.
6507 (elmo-folder-get-type): Ditto.
6508 (elmo-*-get-spec): Ditto.
6509 (elmo-*-spec-*): Ditto.
6510 (elmo-imap4-identical-name-space-p): Ditto.
6511 (elmo-folder-identical-system-p): Ditto.
6512 (elmo-folder-direct-copy-alist): Ditto.
6513 (elmo-folder-direct-copy-p): Ditto.
6515 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6516 (elmo-folder-initialize): Define.
6517 (elmo-folder-get-primitive-list): Ditto.
6519 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6520 (elmo-folder-initialize): Define.
6521 Renamed `elmo-network-session-host-internal' to
6522 `elmo-network-session-server-internal'.
6524 * elmo-multi.el (elmo-multi-folder): New luna class.
6525 (elmo-folder-initialize): Define.
6526 (elmo-folder-get-primitive-list): Ditto.
6527 (elmo-folder-contains-type): Ditto.
6528 (elmo-message-use-cache-p): Ditto.
6530 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6531 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6533 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6534 (elmo-folder-initialize): Define.
6536 * elmo-filter.el (elmo-filter-folder): New luna class.
6537 (elmo-folder-initialize): Define.
6538 (elmo-folder-get-primitive-list): Ditto.
6539 (elmo-folder-contains-type): Ditto.
6541 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6543 * elmo-imap4.el: Rewrite with luna.
6545 * mmimap.el: New file.
6547 * mmelmo.el, mmelmo-imap4.el: Removed.
6549 * elmo-net.el: Ditto.
6551 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6552 (elmo-folder-initialize): Define.
6554 * elmo-archive.el (elmo-archive-folder): New luna class.
6555 (elmo-folder-initialize): Define.
6557 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6558 `elmo-folder-msgdb-path'.
6559 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6562 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6564 * elmo.el: New file.
6566 * elmo2.el: Renamed to elmo.el.
6569 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6571 * elmo-cache.el (elmo-cache-expire-by-size): Count
6572 a disk usage for a cache file entry in KB even when
6573 its kind is a directory.
6575 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6577 * elmo-version.el (elmo-version): Up to 2.5.7.
6579 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6581 * elmo-version.el (elmo-version): Up to 2.5.6.
6583 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6585 * elmo-version.el (elmo-version): Up to 2.5.5.
6587 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6589 * elmo-imap4.el (elmo-network-authenticate-session):
6590 Fixed a logic for response checking.
6592 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6594 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6595 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6596 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6599 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6600 for `starttls-open-stream' and `starttls-negotiate'.
6602 * elmo-nntp.el: Remove autoload settings for
6603 `starttls-open-stream' and `starttls-negotiate'.
6605 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6606 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6607 `luna-define-class' with `eval-and-compile'.
6609 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6611 * elmo-util.el (elmo-read-search-condition-internal):
6612 Require an element of table for searching field.
6614 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6616 * elmo-version.el (elmo-version): Up to 2.5.4.
6618 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6620 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6622 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6624 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6626 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6628 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6631 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6633 * elmo-imap4.el (elmo-imap4-delete-folder):
6634 Send "close" before "delete" (Use commented out line).
6635 (elmo-imap4-rename-folder): Ditto.
6637 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6638 folder string itself.
6639 (elmo-dop-list-deleted): New function.
6640 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6643 * elmo-util.el (elmo-string-rassoc-all): New function.
6645 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6647 * elmo-version.el (elmo-version): Up to 2.5.3.
6649 * elmo-net.el (elmo-network-get-session): Changed logic for
6650 checking process status.
6652 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6654 Changed logic for checking process status.
6656 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6658 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6660 (elmo-network-setup-session): Set UIDL hash size according to
6661 the length of list response.
6662 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6663 according to the length of list response;
6664 Return the length of list response.
6665 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6667 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6669 * elmo-imap4.el (toplevel): Require 'ssl.
6670 Add autoload 'starttls.
6671 * elmo-pop3.el (toplevel): Ditto.
6672 * elmo-nntp.el (toplevel): Ditto.
6674 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6676 * elmo-imap4.el (toplevel): defun at compile time.
6677 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6678 sasl-next-step, sasl-step-data, sasl-step-set-data.
6679 * elmo-pop3.el (toplevel): Ditto.
6681 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6683 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6685 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6687 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6689 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6690 and `elmo-pop-auth-apop'.
6692 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6694 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6696 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6698 * elmo-pop3.el (elmo-network-authenticate-session): Split
6699 encoded response value.
6701 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6703 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6704 `elmo-pop3-force-login'.
6705 Redefine `sasl-mechanisms'.
6706 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6708 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6710 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6711 Delete `elmo-imap4-authenticator-alist'.
6712 (elmo-imap4-auth-cram-md5): Delete.
6713 (elmo-imap4-auth-digest-md5): Delete.
6715 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6717 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6718 (elmo-pop3-auth-scram-md5): Ditto.
6719 (elmo-pop3-auth-cram-md5): Ditto.
6721 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6723 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6724 Delete `elmo-pop3-authenticator-alist'.
6726 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6728 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6730 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6732 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6734 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6736 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6738 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6739 Fixed problem when `elmo-pop3-use-uidl' is nil.
6740 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6742 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6744 * elmo-version.el (elmo-version): Up to 2.5.2.
6746 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6748 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6750 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6751 (elmo-pop3-msgdb-create-as-numlist): Use it.
6753 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6754 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6756 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6757 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6759 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6761 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6762 when elmo-mark-as-read is called with second argument nil.
6764 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6766 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6767 Moved to elmo-util.el.
6769 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6770 Moved from elmo-pipe.el
6772 * elmo-archive.el (elmo-archive-call-process): Enclose with
6775 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6776 "RFC822" (because RFC822.PEEK is obsolete).
6777 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6779 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6781 * elmo-archive.el (elmo-archive-call-process): Don't check for
6782 the exit status when Nemacs is running.
6784 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6786 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6789 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6790 (elmo-pop3-get-spec): Set default of auth to 'user.
6792 * elmo-imap4.el (elmo-imap4-session-check):
6793 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6794 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6795 (elmo-imap4-auth-login): New function; Revival.
6796 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6797 `elmo-imap4-auth-login'.
6799 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6801 * elmo2.el (toplevel): Move `product-provide' declare.
6802 * mmelmo.el (toplevel): Ditto.
6804 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6806 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6808 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6810 * elmo-util.el (elmo-folder-get-store-type): New function.
6811 (elmo-folder-direct-copy-p): Use it.
6813 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6815 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6816 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6817 and result of `elmo-imap4-use-flag-p'.
6818 (elmo-imap4-fetch-callback-1): Set mark according to
6819 the result of `elmo-imap4-use-flag-p'.
6821 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6823 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6824 (elmo-generic-list-folder-unread): Ditto.
6825 (elmo-folder-get-info): Ditto.
6826 (elmo-folder-set-info-max-by-numdb): Ditto.
6827 (elmo-folder-get-info-max): Ditto.
6828 (elmo-folder-get-info-length): Ditto.
6829 (elmo-folder-get-info-unread): Ditto.
6830 (elmo-folder-info-make-hashtb): Ditto.
6832 * elmo2.el: Removed above functions.
6834 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6836 * elmo-imap4.el (toplevel): Require 'ssl.
6837 Add autoload 'starttls.
6838 * elmo-pop3.el (toplevel): Ditto.
6839 * elmo-nntp.el (toplevel): Ditto.
6841 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6843 * elmo-imap4.el (toplevel): defun at compile time.
6844 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6845 sasl-next-step, sasl-step-data, sasl-step-set-data.
6846 * elmo-pop3.el (toplevel): Ditto.
6848 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6850 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6852 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6854 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6856 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6857 and `elmo-pop-auth-apop'.
6859 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6861 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6863 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6865 * elmo-pop3.el (elmo-network-authenticate-session): Split
6866 encoded response value.
6868 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6870 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6871 `elmo-pop3-force-login'.
6872 Redefine `sasl-mechanisms'.
6873 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6875 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6877 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6878 Delete `elmo-imap4-authenticator-alist'.
6879 (elmo-imap4-auth-cram-md5): Delete.
6880 (elmo-imap4-auth-digest-md5): Delete.
6882 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6884 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6885 (elmo-pop3-auth-scram-md5): Ditto.
6886 (elmo-pop3-auth-cram-md5): Ditto.
6888 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6890 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6891 Delete `elmo-pop3-authenticator-alist'.
6893 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6895 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6897 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6900 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6902 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6904 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6906 * elmo-nntp.el (elmo-nntp-get-folders-info):
6907 Fixed problem when '\' character is contained in user-id.
6908 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6911 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6913 * elmo-imap4.el (elmo-imap4-delete-folder):
6914 Send "close" before "delete" (Use commented out line).
6915 (elmo-imap4-rename-folder): Ditto.
6917 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6918 folder string itself.
6919 (elmo-dop-list-deleted): New function.
6920 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6923 * elmo-util.el (elmo-string-rassoc-all): New function.
6925 * elmo-version.el (elmo-version): Up to 2.5.1.
6927 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6929 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6931 * elmo-internal.el (elmo-internal-search): Fix last change.
6933 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6935 * elmo-internal.el (elmo-internal-search): Rewrite.
6936 (Fixed problem which is pointed out by Akihiro MOTOKI
6937 <motoki@da.jp.nec.com>)
6939 * elmo-version.el (elmo-version): Up to 2.5.0.
6941 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6943 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6945 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6947 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6948 non-nil, make hierarchy.
6950 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6952 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6953 `elmo-pop3-use-uidl' must be bound to nil.
6954 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
6956 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
6958 * elmo-util.el (elmo-copy-file): Don't cause an error after
6959 `add-name-to-file' failed.
6961 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
6962 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
6964 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
6966 * elmo-version.el (elmo-version): Up to 2.3.93.
6968 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6970 * elmo-util.el (elmo-flatten): New function.
6972 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
6974 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
6976 * elmo-cache.el (toplevel): Ditto.
6977 * elmo-database.el (toplevel): Ditto.
6978 * elmo-date.el (toplevel): Ditto.
6979 * elmo-dop.el (toplevel): Ditto.
6980 * elmo-filter.el (toplevel): Ditto.
6981 * elmo-imap4.el (toplevel): Ditto.
6982 * elmo-internal.el (toplevel): Ditto.
6983 * elmo-localdir.el (toplevel): Ditto.
6984 * elmo-localnews.el (toplevel): Ditto.
6985 * elmo-maildir.el (toplevel): Ditto.
6986 * elmo-msgdb.el (toplevel): Ditto.
6987 * elmo-multi.el (toplevel): Ditto.
6988 * elmo-net.el (toplevel): Ditto.
6989 * elmo-nntp.el (toplevel): Ditto.
6990 * elmo-pipe.el (toplevel): Ditto.
6991 * elmo-pop3.el (toplevel): Ditto.
6992 * elmo-util.el (toplevel): Ditto.
6993 * elmo-vars.el (toplevel): Ditto.
6994 * elmo2.el (toplevel): Ditto.
6995 * mmelmo-imap4.el (toplevel): Ditto.
6996 * mmelmo.el (toplevel): Ditto.
6998 * elmo-version.el (elmo-version): Move to top.
7000 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7001 * elmo-imap4.el (toplevel): Ditto.
7002 * elmo-localdir.el (toplevel): Ditto.
7003 * elmo-msgdb.el (toplevel): Ditto.
7004 * elmo-nntp.el (toplevel): Ditto.
7005 * elmo-pop3.el (toplevel): Ditto.
7006 * elmo-version.el (toplevel): Ditto.
7008 * elmo-localnews.el (toplevel): Added Keyword header.
7010 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7012 * elmo-version.el (product-version-as-string): Defined using
7016 * elmo-localdir.el (toplevel): Updated copyright notice.
7017 * elmo-version.el (toplevel): Ditto.
7018 * elmo-msgdb.el (toplevel): Ditto.
7019 * elmo-imap4.el (toplevel): Ditto.
7020 * elmo-nntp.el (toplevel): Ditto.
7021 * elmo-pop3.el (toplevel): Ditto.
7023 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7025 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7028 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7029 parameter value (It sometimes contains raw kanji).
7031 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7033 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7034 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7036 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7038 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7040 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7042 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7043 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7045 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7047 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7048 value if selecting folder succceeded.
7049 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7051 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7053 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7056 * elmo-util.el (elmo-string-matched-member): New function.
7058 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7060 * elmo-util.el (elmo-unintern): New macro.
7061 (elmo-number-set-member): Fixed docstring.
7063 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7066 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7068 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7069 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7071 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7073 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7076 Return non-nil if selecting folder succeeded.
7077 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7079 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7081 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7082 `file-name-completion' returns t.
7083 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7084 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7085 directory if it does not exist.
7086 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7089 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7091 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7092 enclosure (It's harmful in unplugged status).
7094 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7096 * mmelmo-1.el: Removed.
7098 * mmelmo-2.el: Ditto.
7100 * mmelmo-imap4-1.el: Ditto.
7102 * mmelmo-imap4-2.el: Ditto.
7104 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7106 * mmelmo.el: Merged mmelmo-2.el.
7108 * elmo-version.el (elmo-version): Up to 2.3.92.
7110 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7112 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7113 elmo-update-number): Remove last period in "...done." message.
7114 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7116 * elmo-cache.el (elmo-cache-expire-by-size,
7117 elmo-cache-get-sorted-cache-file-list,
7118 elmo-cache-msgdb-create-as-numlist): Ditto.
7119 * elmo-dop.el (elmo-dop-save-pending-messages,
7120 (elmo-dop-flush-pending-append-operations): Ditto.
7121 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7122 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7123 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7124 (elmo-localdir-pack-number): Ditto.
7125 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7126 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7127 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7128 mime-write-entity-content): Ditto.
7129 * pldap.el (ldap-search-basic): Ditto.
7131 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7133 * elmo-version.el (elmo-version): Up to 2.3.91.
7135 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7136 Only when filter is 'last'.
7138 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7139 (elmo-condition-parse-search-value): Use it.
7140 (elmo-read-search-condition-internal): Quote value only when
7143 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7145 * elmo2.el (elmo-generic-folder-diff): Fix.
7147 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7149 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7150 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7151 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7152 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7153 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7154 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7156 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7158 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7161 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7163 * elmo-version.el (elmo-version): Up to 2.3.90.
7165 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7166 (elmo-imap4-list-folder-important): Ditto.
7168 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7170 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7172 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7174 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7176 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7178 * elmo-nntp.el (elmo-network-initialize-session):
7179 Add starttls negotiation.
7181 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7183 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7185 (elmo-network-setup-session): Define.
7186 Call `elmo-nntp-send-mode-reader' when session opened.
7188 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7190 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7192 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7194 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7195 an invalid SPACE character ahead of `SEARCH' command. Move
7196 a valid SPACE character following `SEARCH' from conditional
7197 `format' arguments to control-strings.
7199 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7201 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7204 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7206 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7208 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7209 `w32-get-true-file-link-count' as t.
7211 * elmo-imap4.el (elmo-imap4-read): Abolished.
7212 (Renamed to `elmo-read' and moved to elmo-util.el)
7213 All other related portions are changed.
7215 * elmo-util.el (elmo-read): New function.
7216 (elmo-condition-parse-search-value): Use it.
7218 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7220 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7222 * elmo-nntp.el (elmo-nntp-session): Define.
7223 (elmo-nntp-setting): Abolished.
7224 All other related portions are changed.
7225 (elmo-nntp-get-server-command): Changed argument.
7226 (elmo-nntp-set-server-command): Ditto.
7227 (elmo-nntp-xover-p): Ditto.
7228 (elmo-nntp-set-xover): Ditto.
7229 (elmo-nntp-listgroup-p): Ditto.
7230 (elmo-nntp-set-listgroup): Ditto.
7231 (elmo-nntp-list-active-p): Ditto.
7232 (elmo-nntp-set-list-active): Ditto.
7233 (elmo-nntp-xhdr-p): Ditto.
7234 (elmo-nntp-set-xhdr): Ditto.
7235 (elmo-nntp-flush-connection): Abolished.
7236 (elmo-nntp-get-connection): Abolished.
7237 (elmo-nntp-get-session): New function.
7238 (elmo-network-initialize-session): Defined.
7239 (elmo-network-authenticate-session): Ditto.
7240 (elmo-nntp-send-mode-reader): Changed argument.
7241 (elmo-nntp-send-command): Changed argument.
7242 All other related portions are changed.
7243 (elmo-nntp-read-response): Ditto.
7244 (elmo-nntp-read-raw-response): Ditto.
7245 (elmo-nntp-read-contents): Ditto.
7246 (elmo-nntp-read-body): Ditto.
7247 (elmo-nntp-goto-folder): Abolished.
7248 (elmo-nntp-select-group): New function.
7249 All other related portions are changed.
7250 (This function substitutes `elmo-nntp-goto-folder')
7251 (elmo-nntp-msgdb-create-by-header): Rewrite.
7252 (elmo-nntp-get-overview): Eliminated.
7253 (elmo-nntp-get-message): Ditto.
7254 (elmo-nntp-open-connection) Abolished.
7255 (elmo-nntp-read-msg): Rewrite.
7256 (elmo-nntp-post): Ditto.
7257 (elmo-nntp-send-data): Abolished.
7258 (elmo-nntp-send-buffer): New function.
7259 (elmo-nntp-send-data-line): Define as inline function.
7260 (elmo-nntp-get-folders-info-prepare): Use session as key.
7261 (elmo-nntp-groups-read-response): Changed argument.
7262 (elmo-nntp-retrieve-headers): Ditto.
7263 (elmo-nntp-msgdb-create-message): Ditto.
7265 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7266 when searching by 'since' or 'before'.
7268 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7270 * elmo-version.el (toplevel): Use product-version-as-string for set
7271 verstion-string, if defined.
7273 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7275 * elmo-util.el: Doc fixes.
7277 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7279 * elmo-archive.el (toplevel): Use product-provide.
7280 * elmo-cache.el (toplevel): Ditto.
7281 * elmo-database.el (toplevel): Ditto.
7282 * elmo-date.el (toplevel): Ditto.
7283 * elmo-dop.el (toplevel): Ditto.
7284 * elmo-filter.el (toplevel): Ditto.
7285 * elmo-imap4.el (toplevel): Ditto.
7286 * elmo-internal.el (toplevel): Ditto.
7287 * elmo-localdir.el (toplevel): Ditto.
7288 * elmo-localnews.el (toplevel): Ditto.
7289 * elmo-maildir.el (toplevel): Ditto.
7290 * elmo-msgdb.el (toplevel): Ditto.
7291 * elmo-multi.el (toplevel): Ditto.
7292 * elmo-net.el (toplevel): Ditto.
7293 * elmo-nntp.el (toplevel): Ditto.
7294 * elmo-pipe.el (toplevel): Ditto.
7295 * elmo-pop3.el (toplevel): Ditto.
7296 * elmo-util.el (toplevel): Ditto.
7297 * elmo-vars.el (toplevel): Ditto.
7298 * elmo2.el (toplevel): Ditto.
7299 * mmelmo-1.el (toplevel): Ditto.
7300 * mmelmo-2.el (toplevel): Ditto.
7301 * mmelmo-imap4-1.el (toplevel): Ditto.
7302 * mmelmo-imap4-2.el (toplevel): Ditto.
7303 * mmelmo-imap4.el (toplevel): Ditto.
7304 * mmelmo.el (toplevel): Ditto.
7306 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7308 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7309 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7311 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7313 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7315 (elmo-multi-split-number-alist): Ditto.
7317 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7319 * elmo-version.el: New file. Use product.el.
7320 * elmo2.el: Add (require 'elmo-version).
7321 * elmo-vars.el (elmo-appname, elmo-version): Move to
7324 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7326 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7327 `elmo-msgdb-expand-path'.
7328 (elmo-msgdb-load): Ditto.
7329 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7330 (elmo-generic-list-folder-unread): Rewrite.
7331 (elmo-generic-list-folder-important): Changed argument.
7332 (elmo-list-folder-unread): Ditto.
7333 (elmo-list-folder-important): Ditto.
7334 (elmo-folder-diff): Rewrite.
7335 (elmo-generic-folder-diff): New function.
7336 (elmo-multi-get-number-alist-list): Abolished
7337 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7338 (elmo-multi-folder-diff): Moved to elmo-multi.el
7339 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7341 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7342 `elmo-msgdb-expand-path'.
7343 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7344 (elmo-pop3-read-msg): Ditto.
7345 (elmo-pop3-delete-msgs): Ditto.
7346 (elmo-pop3-folder-diff): New alias.
7348 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7349 `elmo-msgdb-expand-path'.
7350 (elmo-pipe-list-folder-unread): Changed arguments.
7351 (elmo-pipe-list-folder-important): Ditto.
7352 (elmo-pipe-folder-diff): New alias.
7354 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7355 `elmo-msgdb-expand-path'.
7356 (elmo-nntp-max-of-folder): Ditto.
7357 (elmo-nntp-msgdb-create): Ditto.
7358 (elmo-nntp-delete-msgs): Ditto.
7359 (elmo-nntp-folder-diff): New alias.
7361 * elmo-multi.el (elmo-multi-folder-diff): New function.
7362 (elmo-multi-split-mark-alist): Ditto.
7363 (elmo-multi-split-number-alist): Ditto.
7364 (elmo-multi-mark-alist-list): Abolished (Renamed to
7365 elmo-multi-split-mark-alist).
7366 (elmo-multi-list-folder-unread): Rewrite.
7367 (elmo-multi-list-folder-important): Ditto.
7368 (elmo-multi-list-folder): Set `spec' as 1st argument for
7369 `elmo-msgdb-expand-path'.
7370 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7371 instead of `elmo-multi-get-number-alist-list'.
7373 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7374 If 1st argument is not string, treat as spec.
7375 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7376 `elmo-msgdb-expand-path'.
7377 (elmo-msgdb-flist-load): Ditto.
7378 (elmo-msgdb-flist-save): Ditto.
7379 (elmo-msgdb-delete-path): Ditto.
7380 (elmo-msgdb-rename-path): Ditto.
7382 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7383 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7384 (elmo-maildir-delete-mark-msgs): Ditto.
7385 (elmo-maildir-msgdb-create): Ditto.
7386 (elmo-maildir-read-msg): Ditto.
7387 (elmo-maildir-delete-msgs): Ditto.
7388 (elmo-maildir-list-folder-subr): Ditto.
7389 (elmo-maildir-search): Ditto.
7390 (elmo-maildir-get-msg-filename): Ditto.
7391 (elmo-maildir-pack-number): Ditto.
7392 (elmo-maildir-folder-diff): New alias.
7394 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7396 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7397 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7398 (elmo-localdir-folder-diff): New alias.
7400 * elmo-internal.el (elmo-internal-list-folder-subr):
7401 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7402 (elmo-internal-list-folder-by-location): Ditto.
7403 (elmo-internal-msgdb-create): Ditto.
7404 (elmo-internal-delete-msgs): Ditto.
7405 (elmo-internal-read-msg): Ditto.
7406 (elmo-internal-folder-diff): New alias.
7408 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7409 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7410 `elmo-msgdb-expand-path'.
7411 (elmo-imap4-list-folder-unread): Changed arguments.
7412 (elmo-imap4-list-folder-important): Ditto.
7414 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7415 (elmo-filter-list-folder-important): Ditto.
7416 (elmo-filter-folder-diff): New function.
7418 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7420 * elmo-cache.el (elmo-cache-list-folder):
7421 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7422 (elmo-cache-copy-msgs): Ditto.
7423 (elmo-cache-folder-diff): New alias.
7425 * elmo-archive.el (elmo-archive-list-folder-subr):
7426 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7427 (elmo-archive-get-archive-name): Ditto.
7428 (elmo-archive-create-file): Ditto.
7429 (elmo-archive-append-msg): Ditto.
7430 (elmo-archive-copy-msgs): Ditto.
7431 (elmo-archive-copy-msgs-froms): Ditto.
7432 (elmo-archive-get-msg-filename): Ditto.
7433 (elmo-archive-folder-diff): New alias.
7435 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7437 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7438 (elmo-pop3-stream-type-alist): New variable.
7439 (elmo-nntp-stream-type-alist): New variable.
7441 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7442 (elmo-kill-buffer): Ditto.
7443 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7444 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7445 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7446 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7447 (elmo-imap4-get-spec): Take into account
7448 `elmo-imap4-stream-type-alist'.
7450 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7452 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7453 (elmo-nntp-list-folders-get-cache): Ditto.
7455 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7457 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7458 character before 'uid'.
7460 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7462 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7464 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7466 * elmo-util.el (elmo-number-set-member): New function.
7467 (elmo-number-set-append-list): Ditto.
7468 (elmo-number-set-append): Ditto.
7470 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7471 Use `elmo-number-set-member'.
7472 (elmo-living-messages): Ditto.
7473 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7474 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7476 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7477 (elmo-imap4-add-to-cont-list): Abolished.
7478 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7479 instead of elmo-imap4-add-to-cont-list.
7481 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7482 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7484 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7486 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7488 * elmo-util.el (elmo-condition-parse-search-value):
7491 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7493 * elmo-util.el (elmo-condition-find-key-internal): New function.
7494 (elmo-condition-find-key): Ditto.
7496 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7497 (elmo-msgdb-search-internal): Ditto.
7498 (elmo-msgdb-search): Ditto.
7500 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7502 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7503 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7505 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7506 (elmo-nntp-search-primitive): Fixed problem when condition is
7509 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7511 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7512 (elmo-nntp-xhdr-p): New macro.
7513 (elmo-nntp-set-xhdr): Ditto.
7514 (elmo-nntp-parse-xhdr-response): New function.
7515 (elmo-nntp-retrieve-field): Ditto.
7516 (elmo-nntp-search-primitive): Ditto.
7517 (elmo-nntp-search): Implemented.
7519 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7521 * elmo-archive.el (elmo-archive-search): Set all number list to
7522 `elmo-archive-field-condition-match'
7524 * elmo-localdir.el (elmo-localdir-search): Likewise.
7526 * elmo-maildir.el (elmo-maildir-search): Likewise.
7528 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7530 * elmo-msgdb.el (elmo-living-messages): New function.
7531 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7532 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7533 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7534 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7535 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7536 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7537 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7538 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7539 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7540 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7541 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7543 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7545 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7547 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7549 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7551 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7552 arguments for `SEARCH' command.
7553 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7554 All other related portions are changed.
7556 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7558 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7559 (elmo-list-folder-unread): Rewrite.
7560 (elmo-list-folder-important): Ditto.
7562 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7563 (elmo-condition-parse-error): New inline function.
7564 (elmo-read-search-condition): New function.
7565 (elmo-read-search-condition-internal): Ditto.
7566 (elmo-parse-search-condition): Rewrite.
7567 (elmo-condition-parse): New function.
7568 (elmo-condition-parse-or-expr): Ditto.
7569 (elmo-condition-parse-and-expr): Ditto.
7570 (elmo-condition-parse-primitive): Ditto.
7571 (elmo-condition-parse-search-value): Ditto.
7572 (elmo-buffer-field-primitive-condition-match): Ditto.
7573 (elmo-buffer-field-condition-match): Rewrite.
7574 (elmo-file-field-condition-match): Ditto.
7576 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7577 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7579 * elmo-internal.el (elmo-internal-search): Set `number' and
7580 `number-list' argument of `elmo-file-field-condition-match'.
7582 * elmo-maildir.el (elmo-maildir-search): Ditto.
7584 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7585 `msgdb' as argument instead of `mark-alist'.
7586 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7589 * elmo-multi.el: Likewise.
7591 * elmo-pipe.el: Likewise.
7593 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7594 (elmo-imap4-search-internal): Rewrite.
7595 (elmo-imap4-search): Ditto.
7597 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7598 (elmo-filter-list-folder-unread): Ditto.
7599 (elmo-filter-list-folder-important): Ditto.
7600 (elmo-filter-search): Rewrite.
7602 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7603 `number-list' argument of `elmo-file-field-condition-match'.
7604 (elmo-cache-search): Ditto.
7606 * elmo-localdir.el: Likewise.
7608 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7609 number-list and pass it to `elmo-buffer-field-condition-match'.
7610 (elmo-archive-field-condition-match): Pass `number-list' to
7611 `elmo-archive-field-condition-match'
7613 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7615 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7618 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7619 (elmo-folder-diff-async-callback-data): Ditto.
7620 (elmo-folder-diff-async): New function.
7622 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7623 (elmo-network-session-cache-key): Use it as a prefix of the session
7625 (elmo-network-open-session): Ditto.
7627 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7628 (elmo-imap4-status-callback-data): Ditto.
7629 (elmo-imap4-server-diff-async-callback): New variable.
7630 (elmo-imap4-server-diff-async-callback-data): Ditto.
7631 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7632 `elmo-imap4-status-callback-data'.
7633 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7634 `elmo-imap4-status-callback-data' as nil.
7635 (elmo-imap4-server-diff): Ditto.
7636 (elmo-imap4-server-diff-async-callback-1): New function.
7637 (elmo-imap4-server-diff-async): Ditto.
7638 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7640 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7642 * elmo-util.el (elmo-list-delete): Doc fix.
7643 (elmo-delete-lists): Abolish.
7644 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7645 instead of `elmo-delete-lists'.
7647 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7649 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7652 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7654 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7655 `elmo-imap4-literal-subr'.
7656 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7657 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7659 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7661 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7662 (elmo-archive-list-folder): Fix.
7663 (elmo-archive-max-of-folder): Fix.
7665 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7667 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7668 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7669 (elmo-localdir-append-msg): Ditto.
7670 (elmo-localdir-list-folder): Fix for `nonsort'.
7671 (elmo-localdir-list-folder-subr): Fix for `killed'.
7672 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7673 (elmo-maildir-list-folder-subr): Ditto.
7674 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7675 (elmo-archive-list-folder-subr): Ditto.
7676 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7677 (elmo-internal-list-folder-subr): Ditto.
7679 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7681 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7683 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7685 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7687 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7689 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7690 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7692 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7694 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7695 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7697 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7699 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7701 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7702 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7703 before STORE command.
7705 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7707 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7709 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7710 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7712 (elmo-imap4-list-folders): Removed unused local variable.
7713 (elmo-network-initialize-session): Ditto.
7714 (elmo-imap4-delete-msg-by-id): Ditto.
7715 (elmo-imap4-parse-fetch): Ditto.
7716 (elmo-imap4-copy-msgs): Ditto.
7717 Use `dst-spec' instead of `dst-folder'.
7718 (elmo-network-authenticate-session): Check authenticate type `plain'.
7720 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7722 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7724 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7725 `elmo-imap4-response-value'.
7726 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7728 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7730 * elmo-imap4.el (elmo-imap4-send-command):
7731 Cause elmo-imap4-bye-error when current response is BYE.
7732 (elmo-imap4-arrival-filter): Changed greeting response value.
7734 * elmo2.el (elmo-imap4-bye-error): Define.
7736 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7737 (elmo-imap4-server-diff): Ditto.
7738 (elmo-imap4-response-bye-p): New macro.
7739 (elmo-imap4-response-error-text): Get text from BYE response.
7740 (elmo-imap4-read-response): Return if BYE response.
7741 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7742 (elmo-imap4-folder-exists-p): Ditto.
7743 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7744 (elmo-imap4-parse-bye): New function.
7745 (elmo-imap4-parse-response): Remove needless let.
7746 Call `elmo-imap4-parse-bye'.
7748 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7750 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7751 the mailbox does not exist.
7752 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7754 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7756 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7758 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7760 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7762 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7763 (elmo-network-initialize-session-buffer): Defined.
7765 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7767 (mmelmo-imap4-get-mime-entity): Rewrite.
7769 * elmo2.el (elmo-error): Capitalize error message.
7771 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7772 (elmo-network-session-buffer): New macro.
7773 (elmo-network-open-session): Use it.
7775 * elmo-imap4.el: Rewrite.
7777 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7779 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7781 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7783 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7784 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7785 (elmo-imap4-create-msgdb-from-overview-string): Use
7786 `elmo-msgdb-create-overview-from-buffer'.
7788 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7790 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7791 (elmo-imap4-default-hierarchy-delimiter): New variable.
7792 (elmo-imap4-list-folders): Use it.
7794 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7796 * elmo-net.el (elmo-network-open-session): Add user and
7797 stream-type for process-buffer name.
7799 * elmo-pop3.el (elmo-network-initialize-session): Call
7800 buffer-disable-undo.
7802 * elmo-imap4.el (elmo-network-initialize-session):
7803 Set current-buffer as an argument for `buffer-disable-undo'.
7805 * elmo-pop3.el (elmo-network-close-session): Don't use
7808 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7809 Set default as 'user.
7811 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7813 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7814 and `elmo-imap4-flush-connection'.
7816 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7817 (elmo-pop3-get-spec): Assume auth as symbol.
7818 (elmo-open-network-stream): Moved to `elmo-net'.
7820 * elmo-pop3.el (toplevel): Require 'elmo-net.
7821 Define `sasl-cram-md5' to silence byte compilier.
7822 (elmo-pop3-connection-cache) Abolished.
7823 (elmo-pop3-authenticator-alist) New variable.
7824 (elmo-pop3-session): Define.
7825 (elmo-pop3-connection-get-process): Abolished.
7826 (elmo-pop3-connection-get-buffer): Ditto.
7827 (elmo-pop3-close-connection): Ditto.
7828 (elmo-pop3-flush-connection): Ditto.
7829 (elmo-pop3-get-connection): Ditto.
7830 (elmo-pop3-get-session): New function.
7831 (Replacement for `elmo-pop3-get-connection').
7832 All other related modules are changed.
7833 (elmo-network-close-session): Define.
7834 (elmo-pop3-send-command): Abolished argument `buffer'.
7835 All other related modules are changed.
7836 (elmo-pop3-read-response): Likewise.
7837 (elmo-pop3-open-connection): Abolished.
7838 (elmo-pop3-auth-user): New function.
7839 (elmo-pop3-auth-apop): Ditto.
7840 (elmo-pop3-auth-cram-md5): Ditto.
7841 (elmo-pop3-auth-scram-md5): Ditto.
7842 (elmo-pop3-auth-digest-md5): Ditto.
7843 (elmo-network-initialize-session): Define.
7844 (elmo-network-authenticate-session): Ditto.
7845 (elmo-network-setup-session): Ditto.
7847 * elmo-imap4.el (toplevel): Require 'elmo-net.
7848 (elmo-imap4-session): Define.
7849 (elmo-imap4-connection-cache): Abolished.
7850 (elmo-imap4-password-key): Ditto.
7851 (elmo-imap4-flush-connection): Ditto.
7852 (elmo-imap4-get-connection): Ditto.
7853 All other related modules are changed.
7854 (elmo-imap4-get-session): New function
7855 (Replacement for `elmo-imap4-get-connection').
7856 (elmo-imap4-read-response): Abolished argument `buffer'.
7857 All other related modules are changed.
7858 (elmo-imap4-send-command): Likewise.
7859 (elmo-imap4-select-folder): Abolished.
7860 All other related modules are changed.
7861 (elmo-imap4-select-mailbox): New function.
7862 (Replacement for `elmo-imap4-select-folder').
7863 (elmo-imap4-auth-login): Simplify.
7864 (Assume current buffer as process buffer)
7865 (elmo-imap4-auth-cram-md5): Ditto.
7866 (elmo-imap4-auth-digest-md5): Ditto.
7867 (elmo-imap4-login): Ditto.
7868 (elmo-imap4-open-connection): Abolished.
7869 (elmo-imap4-open-connection-1): Abolished.
7870 (elmo-network-initialize-sessoin): Define.
7871 (elmo-network-authenticate-session): Ditto.
7872 (elmo-network-setup-session): Ditto.
7874 * elmo-net.el: New module.
7876 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7878 * elmo-util.el (elmo-define-error): New function.
7880 * elmo2.el (elmo-error): Define.
7881 (elmo-open-error): Define.
7882 (elmo-authenticate-error): Define.
7884 * elmo-imap4.el (elmo-imap4-error): Abolish.
7885 (elmo-imap4-error-type): Abolish.
7886 (elmo-imap4-error-process): Abolish.
7887 (elmo-imap4-error-message): Abolish
7888 (elmo-imap4-list-folders): Don't quote lambda.
7889 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7890 (elmo-imap4-parse-namespace): Ditto.
7891 (elmo-imap4-open-connection): Rewrite.
7892 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7893 (elmo-imap4-get-connection): Abolish local variable `result'.
7895 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7897 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7898 wrong-type-argument error when auth is nil.
7900 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7902 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7903 (elmo-default-nntp-stream-type): Ditto.
7904 (elmo-default-pop3-stream-type): Ditto.
7905 (elmo-network-stream-type-alist): Ditto.
7906 (elmo-default-imap4-ssl): Abolished.
7907 (elmo-default-nntp-ssl): Ditto.
7908 (elmo-default-pop3-ssl): Ditto.
7910 * elmo-util.el: (toplevel): Removed needless requires.
7911 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7912 (elmo-open-network-stream): Open network stream according to
7913 the value of `elmo-network-stream-type-alist'.
7914 (elmo-get-network-stream-type): New function.
7915 (elmo-network-stream-type-spec-string): New macro.
7916 (elmo-network-stream-type-symbol): Ditto.
7917 (elmo-network-stream-type-function): Ditto.
7919 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7920 network-stream-type. All other related portions are changed.
7921 (elmo-pop3-open-connection): Ditto.
7923 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7924 network-stream-type. All other related portions are changed.
7926 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7927 network-stream-type.All other related portions are changed.
7928 (elmo-imap4-error): New macro.
7929 (elmo-imap4-error-type): Ditto.
7930 (elmo-imap4-error-process): Ditto.
7931 (elmo-imap4-error-message): Ditto.
7932 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7933 (elmo-imap4-auth-cram-md5): Ditto.
7934 (elmo-imap4-auth-digest-md5): Ditto.
7935 (elmo-imap4-login): Ditto.
7936 (elmo-imap4-open-connection): Remove password entry if authentication
7938 (elmo-imap4-user-at-host): Abolished.
7939 (elmo-imap4-password-key): New buffer local variable.
7940 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7941 using protocol, port, auth and stream-type.
7943 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7945 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7947 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7949 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7951 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7952 (elmo-imap4-authenticator-alist): New variable.
7953 (elmo-imap4-open-connection-1): Rename from
7954 elmo-imap4-open-connection.
7955 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
7956 only wraps elmo-imap4-open-connection-1.
7957 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
7959 (elmo-imap4-auth-login): New function.
7960 (elmo-imap4-auth-cram-md5): New function.
7961 (elmo-imap4-auth-digest-md5): New function.
7962 (elmo-imap4-login): New function.
7964 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7966 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
7969 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7971 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
7973 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
7975 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
7977 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
7979 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
7980 for server responses, quote `*' regardless of where it appears.
7982 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7984 * elmo-maildir.el (elmo-maildir-commit): New alias.
7986 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7988 * elmo-util.el (elmo-display-progress):
7989 Use `progress-feedback-with-label'.
7991 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
7993 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
7994 (elmo-imap4-non-atom-char-regex): Ditto.
7995 (elmo-imap4-non-text-char-regex): Ditto.
7996 (elmo-imap4-literal-threshold): Ditto.
7997 (elmo-imap4-atom-p): New function.
7998 (elmo-imap4-quotable-p): Ditto.
7999 (elmo-imap4-nil): Ditto.
8000 (elmo-imap4-atom): Ditto.
8001 (elmo-imap4-quoted): Ditto.
8002 (elmo-imap4-literal-subr): Ditto.
8003 (elmo-imap4-literal): Ditto.
8004 (elmo-imap4-buffer-literal): Ditto.
8005 (elmo-imap4-string-subr): Ditto.
8006 (elmo-imap4-string): Ditto.
8007 (elmo-imap4-buffer-string): Ditto.
8008 (elmo-imap4-astring-subr): Ditto.
8009 (elmo-imap4-astring): Ditto.
8010 (elmo-imap4-buffer-astring): Ditto.
8011 (elmo-imap4-nstring): Ditto.
8012 (elmo-imap4-buffer-nstring): Ditto.
8013 (elmo-imap4-mailbox): New alias.
8014 (elmo-imap4-field-body): Ditto.
8015 (elmo-imap4-userid): Ditto.
8016 (elmo-imap4-password): Ditto.
8017 (elmo-imap4-format-quoted): New function.
8018 (elmo-imap4-send-command): Rewritten. Accept a list of command
8019 arguments and handle "atom", "quoted" and "literal" string here.
8020 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8021 `elmo-imap4-send-command'.
8022 (elmo-imap4-folder-exists-p): Likewise.
8023 (elmo-imap4-create-folder): Likewise.
8024 (elmo-imap4-delete-folder): Likewise.
8025 (elmo-imap4-rename-folder): Likewise.
8026 (elmo-imap4-max-of-folder): Likewise.
8027 (elmo-imap4-check-validity): Likewise.
8028 (elmo-imap4-sync-validity): Likewise.
8029 (elmo-imap4-server-diff): Likewise.
8030 (elmo-imap4-select-folder): Likewise.
8031 (elmo-imap4-copy-msgs): Likewise.
8032 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8033 (elmo-imap4-mark-set-on-msgs): Likewise.
8034 (elmo-imap4-read-part): Likewise.
8035 (elmo-imap4-read-msg): Likewise.
8036 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8037 `elmo-imap4-password' for `elmo-imap4-send-command'.
8038 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8039 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8040 `elmo-imap4-buffer-literal'.
8041 (elmo-imap4-append-msg): Likewise.
8043 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8044 `delete' for removing dead connection from the connection cache.
8045 Move deletion of the process buffer after that.
8046 (elmo-imap4-list): Change `defsubst' to `defun'.
8047 (elmo-imap4-commit): Make error message verbose.
8048 (elmo-imap4-search): Ditto.
8049 (elmo-imap4-list): Ditto.
8050 (elmo-imap4-select-folder): Ditto.
8051 (elmo-imap4-copy-msgs): Ditto.
8052 (elmo-imap4-delete-msg-by-id): Ditto.
8053 (elmo-imap4-append-msg-by-id): Ditto.
8054 (elmo-imap4-append-msg): Ditto.
8056 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8058 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8059 when dired is used on XEmacs.
8061 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8063 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8064 instead of `append'.
8065 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8066 `elmo-plugged-p' directly.
8067 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8068 of `elmo-plugged-p' directly.
8070 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8071 Eliminate unused variable. Use `memq' for checking a process status.
8072 Use `cons' instead of `append' for updating the connection cache.
8073 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8074 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8076 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8078 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8079 `elmo-imap4-read-point' exactly.
8081 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8082 the local variable `folder' to `mailbox'.
8083 Rename the argument `fld' to `folder'.
8085 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8087 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8088 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8090 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8092 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8093 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8094 (elmo-pop3-uidl-number-hash): Ditto.
8095 (elmo-pop3-size-hash): Ditto.
8096 (elmo-pop3-uidl-done): Ditto.
8097 (elmo-pop3-list-done): Ditto.
8098 (elmo-pop3-connection-get-process): New defmacro.
8099 (elmo-pop3-connection-get-buffer): Ditto.
8100 (elmo-pop3-close-connection): Delete buffer and process.
8101 (elmo-pop3-flush-connection): Don't delete buffer and process.
8102 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8103 Setup UIDL and size hash.
8104 (elmo-pop3-send-command-no-erase): Deleted
8105 (elmo-pop3-send-command): Added optional argument `no-erase'.
8106 (elmo-pop3-parse-uidl-response): New function.
8107 (elmo-pop3-parse-list-response): Set size hash.
8108 (elmo-pop3-list-location): New function.
8109 (elmo-pop3-list-by-uidl-subr): Ditto.
8110 (elmo-pop3-list-by-list): Ditto.
8111 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8112 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8113 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8114 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8115 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8117 (elmo-pop3-uidl-to-number): New function.
8118 (elmo-pop3-number-to-uidl): Ditto.
8119 (elmo-pop3-number-to-size): Ditto.
8120 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8121 Set number by use of uidl.
8122 (elmo-pop3-msgdb-create-message): Likewise.
8123 Set size, loc-alist in msgdb.
8124 (elmo-pop3-read-msg): Set number by use of uidl.
8125 Added optional argument `msgdb'.
8126 (elmo-pop3-delete-msg): Ditto.
8127 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8128 (elmo-pop3-commit): Close connection.
8130 * elmo-pipe.el (elmo-pipe-max-of-folder):
8131 Bind `elmo-pop3-use-uidl' as nil.
8132 (elmo-pipe-drain): Ditto.
8135 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8136 (elmo-msgdb-overview-entity-set-size): New defsubst.
8138 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8140 * elmo-vars.el (elmo-use-killed-list): New variable
8141 (Renamed from `elmo-nntp-use-killed-list').
8142 (elmo-nntp-use-killed-list): Eliminated.
8144 * elmo-msgdb.el (elmo-msgdb-expand-path):
8145 Changed expanding msgdb path for elmo-multi.
8147 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8148 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8149 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8150 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8151 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8152 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8153 (toplevel): Deleted time-stamp line.
8155 * elmo2.el (elmo-clear-killed ): Defined as function
8156 (Abolished defining as a backend function).
8157 All other related modules are changed.
8159 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8161 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8163 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8165 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8167 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8169 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8171 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8173 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8174 asynchronous folder check.
8176 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8178 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8179 `elmo-nntp-use-killed-list'.
8180 (elmo-nntp-list-folder): Use killed list.
8181 (elmo-nntp-max-of-folder): Ditto.
8182 (elmo-nntp-msgdb-create): Set killed list.
8184 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8186 * elmo2.el (elmo-clear-killed): New backend function.
8187 All other related modules are changed.
8189 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8191 * elmo-util.el (elmo-imap4-spec-folder): Use
8192 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8193 All callers changed.
8195 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8197 * mmelmo-2.el (initialize-instance):
8198 Use `mime-buffer-entity-buffer-internal' instead of
8199 `mime-entity-buffer'.
8201 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8202 (mime-entity-body): Implemented.
8203 (mime-goto-header-start-point): Deleted.
8204 (mime-goto-body-end-point): Ditto.
8205 (mime-entity-point-min): Ditto.
8206 (mime-entity-point-max): Ditto.
8207 (mime-entity-children): Ditto.
8208 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8209 instead of `mime-entity-buffer'.
8210 (mime-entity-header-buffer): Ditto.
8211 (mime-entity-body-buffer): Ditto.
8212 (mime-write-entity-content): Ditto.
8214 * pldap.el (ldap-static-if): New macro.
8215 (toplevel): Use it instead of `static-if'.
8217 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8219 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8220 included in `attrs' argument.
8222 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8224 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8226 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8227 (ldap-ldif-safe-init-char-regexp): Ditto.
8228 (ldap-ldif-safe-string-regexp): Ditto.
8229 (ldap/ldif-safe-string-p): New macro.
8230 (ldap/ldif-insert-field): Ditto.
8231 (ldap-modify): Use it.
8233 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8234 (ldap-decode-attribute): Decode only when `attr' is consp.
8235 (ldap-delete): Bind `ret'.
8236 (toplevel): Require 'cl at compile time.
8237 Removed (require 'poe) and (require 'std11).
8238 (pldap-version): Eliminated.
8239 (ldap-search-basic): Removed auth and dn binding.
8240 (ldap-ldif-field-name-regexp): New constant.
8241 (ldap-ldif-field-head-regexp): Ditto.
8242 (ldap-ldif-next-field-head-regexp): Ditto.
8243 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8244 (ldap/field-end): New function.
8245 (ldap/field-body): Use it.
8246 (ldap/collect-field): Ditto.
8247 (ldap-search-basic): Use `ldap/field-body'.
8249 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8251 * pldap.el (ldap-default-attribute-encoder): New user option.
8252 (ldap/field-body): Decode base64 string.
8253 (ldap/collect-field): Ditto.
8254 (ldap-encode-attribute): New function.
8255 (ldap-add-entries): Use it.
8256 (ldap-modify-entries): Ditto.
8257 (ldap-search-entries): Enclosed decoding function with
8258 `with-temp-buffer' and set as unibyte.
8259 (ldap-search-basic): Set process buffer as unibyte.
8261 * elmo-util.el (elmo-folder-identical-system-p):
8262 Eliminated name space checking.
8264 * pldap.el: New module.
8265 toplevel: Changed condition to detect built-in ldap feature.
8266 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8267 (ldap-add): Added error handling.
8268 (ldap-modify): Ditto.
8269 (ldap-delete): Ditto.
8271 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8273 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8274 Initialize local variables with `let'. Inline a temporary
8275 variable for the progress percentage. Sort `setq' to reduce
8276 function call in the while-loop.
8278 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8279 into the conditional branch.
8281 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8283 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8284 Move a conditional out of the while-loop.
8286 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8288 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8289 elmo-msgdb-overview-get-entity-by-number.
8290 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8293 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8295 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8296 the local variable for a packed number self descriptively.
8298 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8300 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8301 * elmo-localdir.el (elmo-localdir-pack-number): Use
8302 `elmo-msgdb-overview-get-entity' instead of
8303 `elmo-msgdb-overview-get-entity-by-number'.
8304 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8305 (elmo-msgdb-search-overview-entity): Removed.
8306 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8307 by message-id or number.
8308 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8309 instead of `elmo-msgdb-overview-get-entity-by-number'.
8311 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8313 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8314 non-nil, use hash table for overview.
8315 (elmo-hash-maximum-size): New variable.
8316 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8317 (elmo-msgdb-make-overview-hashtb): New function.
8318 (elmo-msgdb-clear-overview-hashtb): New function.
8319 (elmo-clear-hash-val): New macro.
8320 All other related modules are changed.
8322 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8324 * elmo2.el (elmo-move-msgs): If there's other message with
8325 same message-id, don't use cache.
8327 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8329 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8330 number is already packed.
8332 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8334 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8336 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8338 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8339 All other related modules are changed.
8341 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8343 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8344 of refiling failure on Maildir.
8346 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8348 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8349 decoded mime-charset with cache.
8350 (elmo-msgdb-overview-entity-get-from): Ditto.
8351 (elmo-msgdb-overview-entity-get-subject): Ditto.
8352 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8354 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8356 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8357 (elmo-remove-passwd): Fill password with 0 before erase.
8358 * elmo-vars.el (elmo-passwd-life-time): New variable.
8361 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8363 * elmo-cache.el (elmo-buffer-cache-add):
8364 Set message cache buffer as unibyte.
8366 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8368 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8371 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8373 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8374 when display is finished.
8375 (elmo-nntp-msgdb-create): Ditto.
8376 (elmo-nntp-groups-read-response): Ditto.
8377 (elmo-nntp-retrieve-headers): Ditto.
8378 (elmo-nntp-msgdb-create-message): Ditto.
8379 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8380 (elmo-pop3-msgdb-create-message): Ditto.
8382 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8384 * elmo-maildir.el (elmo-maildir-msgdb-create):
8385 Use `elmo-msgdb-sort-by-date'.
8387 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8389 * elmo2.el (elmo-read-msg-no-cache):
8390 Eliminated arguments after `outbuf'.
8391 Don't use cache even if it exists.
8392 (elmo-read-msg): Don't pass arguments after `outbuf' to
8393 `elmo-read-msg-no-cache'.
8395 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8397 * elmo-archive.el (elmo-archive-list-folders):
8398 Use `file-name-directory' if base folder does not exist.
8400 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8402 * elmo-archive.el (elmo-archive-list-folders): Don't use
8403 `file-name-directory'.
8405 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8407 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8408 If `force' is non-nil, try flushing all operation queues.
8410 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8412 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8415 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8417 * elmo-util.el (elmo-display-progress): Fixed.
8419 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8421 * elmo-util.el (elmo-display-progress): New function.
8422 All other related modules are changed.