1 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * modb.el (elmo-msgdb-match-condition): Rewrite with
4 `elmo-condition-match'.
5 (elmo-msgdb-match-condition-primitive): New function.
7 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
8 arguments `flags' and `numbers'.
9 (elmo-msgdb-match-condition-primitive): Abolished (merged to
10 `elmo-msgdb-message-match-condition').
11 (modb-buffer-entity-handler): New class.
13 * elmo.el (elmo-folder-search): Optimize condition to use
14 `elmo-condition-optimize'.
15 (elmo-message-buffer-match-condition): New function.
16 (elmo-message-match-condition): Use
17 `elmo-message-buffer-match-condition' instead of
18 `elmo-buffer-field-condition-match'.
20 * elmo-util.el (elmo-condition-match): New function.
21 (elmo-condition-optimize): Ditto.
22 (elmo-buffer-field-primitive-condition-match): Abolish.
23 (elmo-buffer-field-condition-match): Ditto.
25 * elmo-archive.el (elmo-archive-field-condition-match): Use
26 `elmo-message-buffer-match-condition' instead of
27 `elmo-buffer-field-condition-match'.
29 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
31 * elmo-flag.el (elmo-global-flags-initialize): Check the
32 existence of the flag directory.
34 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
36 * elmo-access.el (elmo-folder-initialize): Call
37 `elmo-multi-connect-signals'.
39 * elmo-pipe.el (elmo-folder-close): Define.
41 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
44 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
47 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
50 * elmo-multi.el (elmo-message-entity): Don't use return value of
51 `elmo-message-entity-set-number'.
53 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
55 * modb.el (modb-generic): Added slot `mime-charset'.
57 * modb-standard.el (modb-standard): Added slot `overview-handler'.
58 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
59 and `modb-entity-handler-dump-parameters'.
60 (modb-standard-default-entity-handler): Abolish.
61 (elmo-msgdb-message-entity-handler): Save created handler by
64 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
65 (modb-entity-handler-list-parameters): New method.
66 (modb-entity-handler-equal-p): New function.
67 (modb-entity-handler-dump-parameters): Ditto.
68 (modb-entity-parse-address-string): Encode return value.
69 (modb-entity-make-address-string): Decode argument value.
70 (modb-entity-decode-string-recursive): New function.
71 (modb-entity-encode-string-recursive): Ditto.
72 (modb-standard-entity-normalizer): Set to encode field value.
73 (modb-standard-entity-specializer): Follow the above change.
74 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
75 mime-charset of handler.
76 (elmo-msgdb-message-entity-field): Ditto.
77 (elmo-msgdb-copy-message-entity): Fixed reference to internal
79 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
81 * elmo.el (elmo-folder): Added slot `mime-charset'.
82 (elmo-make-folder): Added argument `mime-charset'.
83 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
86 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
87 (elmo-make-msgdb): Likewise.
89 * elmo-internal.el (elmo-internal-folder-initialize): Call
90 `luna-make-entity' with :mime-charset parameter.
92 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
94 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
95 encoded words in `from' and `subject' field.
97 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
99 * modb.el (elmo-msgdb-message-field): Add argument `type'.
100 (elmo-msgdb-match-condition): Get handler from entity instead of
103 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
104 (modb-standard-load-entity): Treat new file format.
105 (modb-standard-save-entity-1): Save as new file format.
106 (modb-standard-save-entity): Split messages into section here.
107 (elmo-msgdb-message-field): Follow the API change.
108 (modb-standard-default-entity-handler): New internal variable.
109 (elmo-msgdb-message-entity-handler): Define.
111 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
113 (modb-entity-field-extractor-alist): New user option.
114 (elmo-msgdb-message-entity-field): Removed argument `decode' and
115 added argument `type'.
116 (elmo-msgdb-copy-message-entity): Add optional argument
118 (modb-set-field-converter): New function.
119 (modb-convert-field-value): Ditto.
120 (modb-entity-string-decoder): Ditto.
121 (modb-entity-string-encoder): Ditto.
122 (modb-entity-parse-date-string): Ditto.
123 (modb-entity-make-date-string): Ditto.
124 (modb-entity-mime-decoder): Ditto.
125 (modb-entity-mime-encoder): Ditto.
126 (modb-entity-address-list-decoder): Ditto.
127 (modb-entity-address-list-encoder): Ditto.
128 (modb-entity-parse-address-string): Ditto.
129 (modb-entity-make-address-string): Ditto.
130 (modb-entity-create-field-indices): Ditto.
131 (modb-legacy-entity-field-slots): New constant.
132 (modb-legacy-entity-field-indices): Ditto.
133 (modb-legacy-entity-normalizer): New variable.
134 (modb-legacy-entity-specializer): Ditto.
135 (modb-legacy-entity-field-index): New macro.
136 (modb-legacy-entity-set-field): New function.
137 (modb-legacy-make-message-entity): Rewrite.
138 (elmo-msgdb-create-message-entity-from-buffer): Use
139 `elmo-msgdb-get-references-from-buffer'. Use
140 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
141 Use `modb-legacy-entity-set-field' instead of
142 `elmo-msgdb-message-entity-set-field'.
143 (elmo-msgdb-message-entity-field): Rewrite.
144 (elmo-msgdb-message-entity-set-field): Ditto.
145 (elmo-msgdb-copy-message-entity): Make new entity by
146 `make-handler' if it specified.
147 (elmo-msgdb-message-match-condition): Define a method of
148 `modb-entity-handler' and follow the API change.
149 (modb-standard-entity-handler): New class.
150 (modb-entity-extract-ml-info-from-x-sequence): New function.
151 (modb-entity-extract-ml-info-from-subject): Ditto.
152 (modb-entity-extract-ml-info-from-return-path): Ditto.
153 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
154 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
155 (modb-entity-extract-mailing-list-info): Ditto.
156 (modb-entity-extract-mailing-list-info-functions): New variable.
158 * elmo.el (elmo-message-field): Add optional argument `type'.
160 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
161 from `modb-entity.el'.
163 * elmo-util.el (elmo-object-load): Decode by coding-system from
164 `set-auto-coding-function'.
165 (elmo-object-save): Use `detect-mime-charset-region' and add
166 coding cookie if encode.
167 (elmo-msgdb-get-references-from-buffer): New function.
168 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
170 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
172 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
173 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
174 instead of `shimbun-make-header' and follow the API change.
175 (elmo-shimbun-update-overview): Follow the API change.
176 (elmo-map-folder-list-message-locations): Ditto.
178 * elmo-pipe.el (elmo-message-field): Ditto.
180 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
183 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
185 * elmo-multi.el (elmo-message-field): Ditto.
187 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
188 (elmo-msgdb-sort-by-date): Ditto.
189 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
190 `elmo-message-entity-field'.
191 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
193 (elmo-msgdb-overview-entity-get-from): Ditto.
194 (elmo-msgdb-overview-entity-get-subject): Ditto.
195 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
196 (elmo-msgdb-overview-entity-get-date): Ditto.
197 (elmo-msgdb-overview-entity-get-to): Ditto.
198 (elmo-msgdb-overview-entity-get-cc): Ditto.
200 * elmo-mime.el (elmo-message-mime-entity): Ditto.
201 (elmo-mime-collect-message/partial-pieces): Ditto.
203 * elmo-filter.el (elmo-message-field): Ditto.
205 * elmo-date.el (elmo-datevec-to-time): New function.
206 (elmo-time-parse-date-string): Ditto.
207 (elmo-time-make-date-string): Ditto.
210 * elmo-version.el (elmo-version): Up to 2.15.1.
212 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
214 * elmo-flag.el (elmo-global-flags-initialize): Don't include
215 member of elmo-local-flags.
217 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
219 * elmo-version.el (elmo-version): Up to 2.15.0.
221 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
223 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
224 `ignore-msgdb' is non-nil.
226 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
228 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
229 (elmo-condition-in-msgdb-p): Ditto.
230 (elmo-file-field-primitive-condition-match): Ditto.
231 (elmo-file-field-condition-match): Ditto.
233 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
235 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
237 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
239 (elmo-global-flags-initialize): New function.
241 * elmo.el (toplevel): Added autoload setting for
242 `elmo-global-flags-initialize'.
244 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
246 * elmo.el (message-number-changed): Define new signal.
247 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
248 message-number-changed signal.
249 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
250 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
251 Respect `elmo-pack-number-check-strict'.
253 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
255 * elmo-signal.el (elmo-connect-signal): Document.
256 (elmo-emit-signal): Ditto.
257 (elmo-emit-signal): It should pass source argument to filter and
258 handler, not slot-source.
260 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
262 * modb.el (elmo-msgdb-update-entity): New API and define generic
265 * modb-standard.el (elmo-msgdb-update-entity): Define.
267 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
268 API and define generic implement.
270 * elmo.el (update-overview): New singnal.
272 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
273 `elmo-msgdb-update-entity' and emit signal `update-overview'.
274 (elmo-message-entity-parent): Define.
276 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
279 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
281 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
283 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
285 * elmo.el (elmo-folder-synchronize): Sort the return value of
288 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
291 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
293 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
294 `default-enable-multibyte-characters'.
295 (elmo-object-load): Use `with-temp-buffer' instead of
297 (elmo-object-save): Ditto.
298 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
300 (elmo-decoded-field-body): Ditto.
302 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
304 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
305 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
307 * elmo-version.el (elmo-version): Up to 2.13.3.
309 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
311 * elmo-util.el (elmo-list-diff): Fix the last change.
312 Reverse order of result lists.
314 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
316 * modb-standard.el (elmo-msgdb-set-flag): Use
317 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
318 (elmo-msgdb-unset-flag): Ditto.
320 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
323 * elmo-util.el (elmo-list-diff): Rewrite.
324 (elmo-list-diff-nonsortable): New function.
326 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
328 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
329 `elmo-multibypte-buffer-name'. All referers are updated.
331 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
333 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
334 (elmo-mime-entity-fragment-p): New function.
335 (mime-elmo-buffer-entity): Added slot `reassembled'.
336 (elmo-message-mime-entity): Added 4th argument `reassemble'.
337 (elmo-message-mime-entity-internal): New function (renamed from
338 `elmo-message-mime-entity').
339 (elmo-mime-inherit-field-list-from-enclosed): New constant.
340 (elmo-mime-make-reassembled-mime-entity): New function.
341 (elmo-message-reassembled-mime-entity): Ditto.
342 (elmo-mime-collect-message/partial-pieces): Ditto.
344 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
346 * elmo.el (elmo-message-fetch-string): Disable multibyte.
348 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
349 (elmo-with-enable-multibyte): New macro.
351 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
353 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
355 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
357 (elmo-filter-connect-signals): Follow the above change.
359 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
361 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
363 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
364 that only the first flag is used.
366 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
368 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
371 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
373 * elmo-signal.el: New file.
375 * elmo.el (toplevel): Require elmo-signal.
376 (flag-changing, flag-changed, cache-changed): New signal.
377 (elmo-folder): Remove slog `handlers'.
378 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
379 `elmo-folder-notify-event'.
380 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
381 (elmo-folder-unset-flag): Ditto.
382 (elmo-event-handler): Abolish.
383 (elmo-event-handler-flag-changed): Ditto.
384 (elmo-event-handler-cache-changed): Ditto.
385 (elmo-folder-add-handler): Ditto.
386 (elmo-folder-remove-handler): Ditto.
387 (elmo-folder-notify-event): Ditto.
389 * elmo-pipe.el (toplevel): Require elmo-signal.
390 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
391 (elmo-pipe-connect-signals): New function.
392 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
393 (elmo-folder-set-flag): Ditto.
394 (elmo-folder-unset-flag): Ditto.
395 (elmo-message-set-cached): Ditto.
397 * elmo-multi.el (toplevel): Require elmo-signal.
398 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
399 (elmo-multi-connect-signals): New function.
400 (elmo-multi-map-numbers): Ditto.
401 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
402 (elmo-message-fetch): Ditto.
403 (elmo-folder-set-flag): Ditto.
404 (elmo-folder-unset-flag): Ditto.
406 * elmo-filter.el (toplevel): Require elmo-signal.
407 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
408 (elmo-filter-connect-signals): New function.
409 (elmo-filter-add-flag-count): Ditto.
410 (elmo-message-fetch): Does not call
411 `elmo-filter-folder-countup-message-flags' and
412 `elmo-folder-notify-event'.
413 (elmo-message-set-cached): Ditto.
414 (elmo-folder-set-flag): Ditto.
415 (elmo-folder-unset-flag): Ditto.
417 * elmo-version.el (elmo-version): Up to 2.13.2.
419 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
421 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
424 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
426 * elmo-filter.el (elmo-message-set-cached): Call
427 `elmo-folder-notify-event' with event `cache-changed'.
429 * elmo-multi.el (elmo-message-set-cached): Ditto.
431 * elmo-pipe.el (elmo-message-set-cached): Ditto.
433 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
435 * elmo.el (elmo-folder-encache): Abolish.
437 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
439 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
440 (elmo-folder-next-message-number-dop): Return appropriate negative
443 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
445 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
446 clearing pending operations.
447 (elmo-folder-next-message-number-dop): Return appropriate negative
450 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
452 * elmo.el (toplevel): Added autoload setting for `md5'.
453 (elmo-msgdb-path-encode-threshold): New user option.
454 (elmo-folder-msgdb-path): Encode msgdb path if its length is
455 longer than `elmo-msgdb-path-encode-threshold'.
457 * elmo-flag.el (elmo-global-mark-migrate): Use
458 `elmo-folder-expand-msgdb-path' instead of
459 `elmo-folder-msgdb-path'.
461 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
463 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
464 element of the difference is nil.
466 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
468 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
469 to the check logic of file systems which are weak in colon character.
471 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
473 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
475 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
477 * elmo-maildir.el (elmo-maildir-move-file): New function.
478 (elmo-folder-append-buffer): Use it.
479 (elmo-folder-append-messages): Ditto.
480 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
482 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
483 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
485 * elmo-maildir.el (elmo-maildir-separator): New user option.
486 (elmo-maildir-adjust-separator): New macro.
487 (elmo-maildir-list-location): Use it.
488 (elmo-maildir-update-current): Ditto.
489 (elmo-maildir-set-mark): Ditto.
490 (elmo-maildir-delete-mark): Ditto.
491 (These changes are based on Hiroya Murata's patch [wl: 13437])
493 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
495 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
497 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
499 * elmo-flag.el (elmo-flag-valid-p): Simplify.
500 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
501 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
503 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
505 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
506 Use `with-temp-buffer'.
508 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
510 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
512 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
513 `wl-read-search-condition').
514 (elmo-read-search-condition-internal): Likewise.
516 * elmo-flag.el (elmo-flag-char-regexp): New constant.
517 (elmo-flag-valid-p): New function.
518 (elmo-folder-initialize): Check flag name is valid.
520 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
522 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
523 delimiter to obtain root mailbox itself.
525 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
527 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
530 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
532 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
535 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
537 * elmo-shimbun.el (toplevel): Require cl at compile.
539 * elmo-nntp.el (toplevel): Ditto.
541 * elmo-nmz.el (toplevel): Ditto.
543 * elmo-multi.el (toplevel): Ditto.
545 * elmo-file.el (toplevel): Ditto.
547 * elmo-dop.el (toplevel): Ditto.
549 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
551 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
553 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
556 * elmo.el (elmo-message-fetch): Return t even when the output buffer
557 size of elmo-message-fetch-internal is 0 byte.
559 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
561 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
563 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
565 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
568 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
570 * elmo-maildir.el (elmo-map-message-fetch): Call
571 `elmo-map-folder-set-flag'.
573 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
574 (elmo-message-fetch): Merge from
575 `elmo-message-fetch-with-cache-process'.
577 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
578 (elmo-message-fetch): Define.
580 * elmo-nntp.el (elmo-message-fetch): Renamed from
581 `elmo-message-fetch-with-cache-process'.
583 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
584 (elmo-message-fetch): Define.
586 * elmo-util.el (elmo-condition-parse-primitive): Downcase
589 * elmo-shimbun.el (shimbun-mua-search-id): Use
590 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
591 (elmo-shimbun-folder-shimbun-header): Ditto.
592 (elmo-shimbun-get-headers): Ditto.
593 (elmo-shimbun-update-overview): Ditto.
595 * elmo-pipe.el (elmo-folder-detach-messages): Define.
597 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
598 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
600 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
602 * elmo.el (elmo-message-fetch): Unset unread flag on server when
604 (elmo-message-fetch-string): Fixed argument.
606 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
608 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
609 exchange order of arguments `section' and `unread'.
610 (elmo-message-encache): Follow the API change.
611 (elmo-message-match-condition): Ditto.
612 (elmo-generic-folder-append-messages): Ditto.
613 (elmo-message-fetch-string): New function.
615 * elmo-split.el (elmo-split-subr): Ditto.
617 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
619 * elmo-pipe.el (elmo-message-fetch): Ditto.
621 * elmo-multi.el (elmo-message-fetch): Ditto.
623 * elmo-mime.el (elmo-message-mime-entity): Ditto.
625 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
627 * elmo-filter.el (elmo-message-fetch): Ditto.
629 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
631 * elmo-imap4.el (mime-imap-location-section-body): Use
632 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
633 follow the API change.
635 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
637 * elmo-access.el: New file.
639 * elmo-null.el: Ditto.
641 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
643 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
645 * elmo-net.el (elmo-network-session-idle-timeout): New option.
646 (elmo-network-session): New attribute `last-accessed'.
647 (elmo-network-get-session): Discard network cache if elapsed time
648 since last-accessed is larger than elmo-network-session-idle-timeout.
650 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
652 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
653 and added `number', `require-entireness'.
654 (elmo-find-fetch-strategy): Rewrite.
655 (elmo-message-fetch): Unset `unread' flag when argument unread is
658 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
660 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
661 (elmo-message-fetch): Notify event `flag-changed'.
663 * elmo-pipe.el: Likewise.
665 * elmo-mime.el (elmo-mime-entity): New class.
666 (elmo-mime-entity-display-p): New generic function.
667 (elmo-mime-entity-display): Ditto.
668 (elmo-mime-entity-display-as-is): Ditto.
669 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
671 (elmo-make-mime-message-location): Removed.
672 (elmo-mime-message-display): Ditto.
673 (elmo-mime-display-as-is): Ditto.
674 (elmo-message-mime-entity): New function.
676 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
678 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
680 (elmo-message-fetch): Re-count flagged message number and notify
681 event `flag-changed'.
683 * elmo-version.el (elmo-version): Up to 2.13.1.
685 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
687 * elmo-filter.el (elmo-message-field): Define.
688 (elmo-message-set-field): Ditto.
690 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
692 * elmo.el (elmo-message-set-cached): Call
693 `elmo-folder-notify-event' with cache-changed.
694 (elmo-event-handler-cache-changed): New generic function.
696 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
698 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
699 instead of elmo-add-name-to-file.
700 (elmo-folder-append-messages): Ditto.
702 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
704 * elmo.el (elmo-folder-update-threshold): Add nil to range.
706 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
708 * elmo-version.el (elmo-version): Up to 2.13.0.
710 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
713 * modb-standard.el (modb-standard-economize-entity-size): Changed
714 default value to `t'.
716 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
719 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
720 after parsing greeting string.
722 2004-11-23 Daishi Kato <daishi@axlight.com>
724 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
726 (elmo-spam-spamoracle-call): Use it.
728 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
730 * elmo.el (elmo-message-accessible-p): Message in dop spool
733 2004-11-23 Daishi Kato <daishi@axlight.com>
735 * elsp-spamoracle.el: New file.
737 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
739 * elmo.el (elmo-message-flags-for-append): New function.
740 (elmo-generic-folder-append-messages): Use it.
742 * elmo-split.el (elmo-split-subr): Ditto.
744 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
745 `flags' and use elmo-folder-append-buffer instead of
746 write-region-as-binary.
747 (elmo-dop-filter-pending-messages): New function.
748 (elmo-folder-append-buffer-dop): Call
749 elmo-dop-spool-folder-append-buffer with `flag'.
750 (elmo-folder-set-flag-dop): Filter messages by
751 elmo-dop-filter-pending-messages.
752 (elmo-folder-unset-flag-dop): Ditto.
753 (elmo-folder-append-buffer-dop-delayed): Use
754 elmo-message-flags-for-append to get flags of the message and
757 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
759 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
761 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
763 * elmo.el (elmo-folder): Added handlers slot.
764 (elmo-event-handler): New class.
765 (elmo-event-handler-flag-changed): New API.
766 (elmo-folder-add-handler): New function.
767 (elmo-folder-remove-handler): Ditto.
768 (elmo-folder-notify-event): Ditto.
769 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
771 (elmo-folder-unset-flag): Ditto.
773 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
774 (elmo-folder-unset-flag): Ditto.
776 * elmo-multi.el (elmo-folder-set-flag): Ditto.
777 (elmo-folder-unset-flag): Ditto.
779 * elmo-filter.el (elmo-folder-set-flag): Ditto.
780 (elmo-folder-unset-flag): Ditto.
782 * elmo-version.el (elmo-version): Up to 2.11.33.
784 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
786 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
788 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
790 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
792 * elmo-flag.el (elmo-folder-unset-flag): Define.
793 (elmo-global-flag-detach): Do process when the flag is not target
796 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
798 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
800 (elmo-msgdb-create-message-entity-from-buffer): Use it.
802 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
804 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
806 (elmo-folder-delete-messages): Detach messages before delete
807 messages from target folder.
808 (elmo-folder-detach-messages): Set updated number-list to slot.
810 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
812 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
814 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
816 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
818 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
820 * elmo.el (elmo-folder-delete-messages-internal): New API (for
822 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
824 (elmo-folder-delete-messages): Define.
825 (elmo-folder-move-messages): Don't call
826 `elmo-folder-detach-messages'.
827 (elmo-folder-synchronize): Rewrite.
828 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
830 * elmo-util.el (elmo-last): New function.
831 (elmo-set-list): Ditto.
832 (elmo-number-set-delete-list): Ditto.
833 (elmo-number-set-delete): Ditto.
835 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
837 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
838 `elmo-folder-delete-messages' and don't delete location map.
839 (elmo-folder-detach-messages): Define.
841 * elmo-imap4.el (elmo-folder-delete): Use
842 `elmo-folder-delete-messages-internal' instead of
843 `elmo-folder-delete-messages'.
845 * elmo-filter.el (elmo-folder-delete-messages): Call
846 `elmo-folder-detach-messages'.
847 (elmo-folder-detach-messages): Don't call
848 `elmo-folder-detach-messages' for target folder.
850 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
851 message deletion is succeeded.
853 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
855 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
856 from `elmo-folder-delete-messages'.
858 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
860 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
862 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
864 * elmo-version.el (elmo-version): Up to 2.11.32.
866 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
868 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
869 (elmo-global-flag-list): Added obsolete variable setting.
871 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
873 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
874 (elmo-mime-insert-header-from-buffer): Don't decode header content when
875 `elmo-mime-display-header-analysis' is nil.
877 * elmo-flag.el (elmo-global-flags): Renamed from
878 `elmo-global-flag-list' (All other related portions are changed).
879 (elmo-local-flags): New variable.
880 (elmo-local-flag-p): New function.
881 (elmo-global-flag-set-internal): Cause an error when flag is not
884 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
886 * elmo-util.el (elmo-concat-path): Treat empty path.
888 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
890 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
892 (elmo-split-address-match): Ditto.
893 (elmo-split-equal): Ditto.
894 (elmo-split-match): Ditto.
896 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
898 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
899 (elmo-generic-folder-append-messages): If src message exists but
900 has no flag, pass (read) for the FLAG argument of
901 `elmo-folder-append-buffer'. Otherwise, pass nil.
903 * elmo-split.el (elmo-split-subr): Likewise.
905 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
907 * elmo-multi.el (elmo-message-flags): Ditto.
909 * elmo-filter.el (elmo-message-flags): Ditto.
911 * elmo.el (elmo-folder-append-buffer): Fix docstring.
912 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
913 pass (read) for the FLAG argument of elmo-folder-append-buffer.
915 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
917 * elmo-split.el (elmo-split-rule): Update comment.
918 (elmo-split-address-equal): Allow 2nd argument to be a list.
919 (elmo-split-address-match): Ditto.
920 (elmo-split-equal): Ditto.
921 (elmo-split-match): Ditto.
923 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
925 * elmo.el (elmo-folder-append-buffer): Fix docstring.
926 (elmo-folder-append-msgdb): Don't treat `read'.
927 (elmo-message-flags): Don't return `read'.
929 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
930 (elmo-folder-unset-read-delayed): Ditto.
932 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
934 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
936 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
939 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
941 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
944 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
946 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
948 (elmo-msgdb-save): Bind inhibit-quit.
949 (modb-standard-message-entity): Ditto.
951 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
953 * elmo-database.el: No need to require elmo-msgdb.
955 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
957 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
958 instead of `elmo-list-subdirectories'.
960 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
962 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
964 (elmo-folder-exists-p): "[" is empty.
965 (elmo-folder-list-subfolders): Define.
966 (elmo-folder-have-subfolder-p): Ditto.
968 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
970 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
972 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
974 * elmo-filter.el (elmo-folder-local-p): Define.
976 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
978 * modb-standard.el (modb-standard-loaded-message-id): Return nil
979 when entity is garbaged.
980 (modb-standard-save-entity-1): Don't modify the original entity.
982 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
984 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
986 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
988 * elmo.el (elmo-strict-folder-diff): Use
989 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
991 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
993 * modb.el (elmo-msgdb-flag-available-p): New generic function.
994 (elmo-msgdb-message-number): Ditto.
995 (elmo-msgdb-message-field): Ditto.
997 * modb-standard.el (modb-standard-economize-entity-size): New user
999 (modb-standard-loaded-message-id): New inline function.
1000 (modb-standard-load-entity): Use it.
1001 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1002 throw message-id string away.
1003 (elmo-msgdb-flag-available-p): Define.
1004 (elmo-msgdb-message-number): Ditto.
1005 (elmo-msgdb-message-field): Ditto.
1007 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1008 (suppoted -> supported).
1009 (modb-legacy-supported-flag-p): Ditto.
1010 (elmo-msgdb-set-flag): Ditto.
1011 (elmo-msgdb-unset-flag): Ditto.
1012 (elmo-msgdb-flag-available-p): Define.
1014 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1015 is `t', treat it as legacy entity.
1017 * elmo.el (elmo-message-flag-available-p): New generic function.
1018 (elmo-message-number): Ditto.
1019 (elmo-message-field): Use `elmo-msgdb-message-field'.
1021 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1023 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1024 (elmo-message-number): Ditto.
1026 * elmo-multi.el (elmo-message-number): Define.
1027 (elmo-message-flag-available-p): Ditto.
1029 * elmo-filter.el (elmo-message-flag-available-p): Define.
1030 (elmo-message-number): Ditto.
1032 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1033 (elmo-folder-initialize): Load `max-number'.
1034 (elmo-folder-commit): Save it.
1035 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1036 (elmo-global-flag-set-internal): Set up max-number slot.
1038 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1040 * elmo-version.el (elmo-version): Up to 2.11.31.
1042 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1044 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1045 unibyte string of the current buffer for the argument of `md5'
1046 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1048 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1050 * modb-legacy.el (modb-legacy-flag-list): New constant.
1051 (modb-legacy-suppoted-flag-p): New internal function.
1052 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1053 (elmo-msgdb-unset-flag): Ditto.
1055 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1057 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1059 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1062 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1064 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1065 (follow the API change).
1067 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1069 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1071 * modb-standard.el (modb-standard-digest-flags): Abolish.
1072 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1074 * elmo-vars.el (elmo-digest-flags): New variable.
1075 (elmo-preserved-flags): Moved from elmo-flag.el.
1077 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1078 (elmo-imap4-flag-to-imap-criteria): Ditto.
1079 (elmo-imap4-folder-list-flagged): Use it.
1081 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1083 * elmo.el (elmo-folder-count-flags): Changed return value.
1085 * elmo-flag.el (elmo-preserved-flags): New variable.
1086 (elmo-get-global-flags): Use it.
1088 * modb-standard.el (modb-standard-digest-flags): New variable.
1089 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1090 Changed behavior of `any'.
1092 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1093 which are defined the Internet draft
1094 (draft-melnikov-imap-keywords-03.txt).
1095 (elmo-imap4-flags-to-imap): New function.
1096 (elmo-folder-append-buffer): Use it.
1098 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1101 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1102 avoid the bug of Emacs 21.3.
1104 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1106 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1107 function find-coding-system does not exist.
1109 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1111 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1114 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1116 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1119 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1121 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1122 (elmo-network-close-session): Follow the changes in
1123 `elmo-pop3-read-response'.
1124 (elmo-pop3-auth-user): Ditto.
1125 (elmo-pop3-auth-apop): Ditto.
1126 (elmo-network-initialize-session): Ditto.
1127 (elmo-network-authenticate-session): Ditto.
1128 (elmo-network-setup-session): Ditto.
1129 (elmo-folder-status): Ditto.
1130 (elmo-message-fetch-plugged): Ditto.
1131 (elmo-pop3-delete-msg): Ditto.
1133 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1135 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1138 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1140 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1142 (elmo-bind-directory): Ditto.
1144 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1146 * elmo.el (elmo-folder-append-messages): Note on return value.
1147 * elmo-archive.el (elmo-folder-append-messages): Don't return
1148 message numbers which could not be appended.
1150 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1152 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1154 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1156 * elmo-version.el (elmo-version): Up to 2.11.30.
1158 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1160 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1163 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1165 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1166 (elmo-multi-split-numbers): Add elmo-folder object into each
1167 element of return value at first.
1168 (elmo-folder-delete-messages): Follow the above change.
1169 (elmo-folder-detach-messages): Ditto.
1171 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1172 number which is synchronized in target folder.
1174 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1176 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1177 Change default value to symbol `all'.
1178 (elmo-map-message-fetch): Change condition to update overview
1181 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1183 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1184 behavior to update overview.
1185 (elmo-shimbun-update-overview-folder-list): Note it.
1187 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1189 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1192 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1194 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1195 buffer-disable-undo, it is unnecessary.
1196 (elmo-spam-register-good-messages): Ditto.
1198 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1201 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1203 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1205 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1206 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1207 elmo-set-buffer-multibyte.
1208 (elmo-object-load): Ditto.
1209 (elmo-save-buffer): Ditto.
1210 (elmo-delete-char): Ditto.
1211 (elmo-file-field-primitive-condition-match): Ditto.
1212 (elmo-mime-string): Ditto.
1214 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1215 (elmo-archive-field-condition-match): Ditto.
1217 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1219 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1221 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1222 (elmo-nntp-msgdb-create-message): Ditto.
1224 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1226 * elmo.el (elmo-message-match-condition): Ditto.
1227 (elmo-message-match-condition): Ditto.
1229 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1232 * elmo-version.el (elmo-version): Up to 2.11.29.
1234 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1235 (elsp-header): New backend.
1237 * elmo-util.el (elmo-decoded-field-body): New function.
1239 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1241 * elmo-version.el (elmo-version): Up to 2.11.28.
1243 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1245 * elmo-filter.el: Rewrite.
1247 * elmo-version.el (elmo-version): Up to 2.11.27.
1249 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1251 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1252 msgdb path for the localdir folder with absolute path.
1254 * utf7.el: Synch up with latest gnus/utf7.el;
1255 Modified for latest Emacs.
1257 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1259 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1260 shimbun backend couldn't open.
1262 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1264 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1265 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1266 when a destination folder is a filter folder.
1268 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1270 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1271 (elmo-generic-folder-append-messages): Call elmo-message-flags
1272 with argument `msgid'.
1274 * elmo-split.el (elmo-split-subr): Ditto.
1276 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1278 * elmo-multi.el (elmo-message-flags): Ditto.
1280 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1282 * elmo.el (elmo-folder): Add new slot `flag-table'.
1283 (elmo-folder-flag-table): New API.
1284 (elmo-folder-close-flag-table): Ditto.
1285 (elmo-folder-preserve-flags): New function.
1286 (elmo-generic-folder-append-messages): Use
1287 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1288 Flag of a non-registered message, it sets to nil.
1289 Does not set flag to flag-table.
1291 * elmo-maildir.el (elmo-folder-append-buffer): Use
1292 `elmo-folder-preserve-flags'.
1293 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1294 `elmo-folder-close-flag-table'.
1296 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1297 (elmo-archive-folder-append-buffer): Use
1298 `elmo-folder-preserve-flags'.
1300 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1302 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1304 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1305 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1306 `elmo-folder-close-flag-table'.
1308 * elmo-version.el (elmo-version): Up to 2.11.26.
1310 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1312 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1314 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1315 md5's 4th and 5th argument (non-existent in flim one).
1317 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1319 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1320 message, It sets to nil.
1322 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1324 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1327 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1329 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1331 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1333 * elmo-util.el (elmo-uniq-sorted-list): New function.
1334 (elmo-make-number-list): Ditto.
1335 (elmo-number-set-to-number-list): Use elmo-make-number-list
1336 and don't use nreverse.
1338 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1340 * elmo-version.el (elmo-version): Up to 2.11.25.
1342 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1344 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1345 field not exists in message, Use md5 message digest of header.
1347 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1349 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1350 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1351 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1352 * elmo-split.el (elmo-split-subr): Check return value of
1353 elmo-folder-append-buffer.
1355 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1356 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1358 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1361 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1363 * elmo-split.el (elmo-split-subr): Append message with flag.
1365 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1366 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1367 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1369 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1371 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1372 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1373 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1375 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1377 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1378 with a function call of `process-buffer'. All callers are updated.
1379 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1380 Remove redundant `set-buffer' in a while loop.
1382 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1384 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1387 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1389 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1390 elsp-spamfilter-register-buffer-internal with current buffer.
1391 (elmo-spam-register-spam-buffer): Ditto.
1392 (elmo-spam-register-good-buffer): Ditto.
1394 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1396 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1397 if it is not contained in the response(A workaround for courier-imap).
1399 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1401 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1404 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1406 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1409 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1411 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1414 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1416 (elmo-msgdb-message-match-condition): Follow the change above.
1418 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1420 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1423 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1425 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1427 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1429 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1431 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1433 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1436 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1438 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1440 (elmo-file-command-argument): Undo last change for cygwin.
1441 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1443 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1445 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1447 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1448 value returned from elmo-file-find is nil.
1450 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1452 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1455 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1456 instead of insert-file-contents-as-binary.
1457 (elmo-message-set-field): New generic function.
1459 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1460 behavior change on `split-string'.
1462 * elmo-file.el (elmo-file-find): New function.
1463 (elmo-file-command): New user option.
1464 (elmo-file-command-argument): Ditto.
1465 (elmo-file-fetch-max-size): Ditto.
1466 (elmo-file-detect-format): New function.
1467 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1468 Use elmo-file-detect-format.
1469 (elmo-map-folder-list-message-locations): Don't treat directories.
1471 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1473 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1474 (elmo-passwd-alist-clear): Shred password before clear.
1475 (elmo-remove-passwd): Remove all mached pair.
1477 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1479 * elmo.el (elmo-folder-synchronize): Fix description of the return
1482 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1484 * elmo.el (elmo-message-fetch-bodystructure): New method.
1485 (elmo-message-fetch-bodystructure): Define default.
1487 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1488 elmo-message-fetch-bodystructure.
1489 (elmo-message-fetch-bodystructure): Define.
1491 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1493 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1495 * elmo-filter.el (elmo-message-folder): Define.
1497 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1499 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1500 elmo-delete-cr-buffer.
1502 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1504 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1506 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1508 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1509 type seems to be a text.
1511 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1513 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1514 (elmo-spam-register-good-buffer): Ditto.
1515 (elmo-spam-spamassassin-register-messages): Ditto.
1517 * elmo-util.el (elmo-string-member-ignore-case): Define with
1520 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1522 * elmo.el (elmo-folder-type): Undo last change.
1524 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1526 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1529 * elmo-file.el: New file.
1531 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1533 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1535 (elmo-spam-spamassassin-register-messages): New inline function.
1536 (elmo-spam-register-spam-messages): Define.
1537 (elmo-spam-register-good-messages): Ditto.
1539 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1542 * elmo.el (toplevel): Added autoload setting for
1543 `elmo-get-global-flags'.
1544 (elmo-message-has-global-flag-p): New function.
1545 (elmo-message-set-global-flags): Ditto.
1546 (elmo-folder-type): Improvement for name: format.
1548 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1549 availability of keyword flags.
1550 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1551 (elmo-folder-list-flagged-plugged): Renamed from
1552 elmo-folder-list-flagged-unplugged.
1553 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1554 accept any flag as keyword flag.
1555 (elmo-folder-set-flag-plugged): Accept keyword flags.
1556 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1558 * elmo-flag.el (elmo-get-global-flags): New function.
1560 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1563 * elmo-version.el (elmo-version): Up to 2.11.24.
1565 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1567 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1568 elmo-multiple-field-body instead of std11-field-body to check all
1571 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1573 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1576 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1578 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1579 unintern is unbound.
1581 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1583 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1584 Protect from infinite loop.
1586 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1588 * elsp-bogofilter.el
1589 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1590 (elmo-spam-bogofilter-register-messages): New internal function.
1591 (elmo-spam-register-spam-messages): Define.
1592 (elmo-spam-register-good-messages): Ditto.
1594 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1596 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1597 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1598 (elmo-spam-bogofilter-call): Fixed the last change.
1599 (elmo-spam-bogofilter-arguments): Ditto.
1601 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1602 Follow the options change of latest bogofilter.
1604 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1605 (elmo-spam-bogofilter-good-switch): Ditto.
1606 (elmo-spam-bogofilter-arguments-alist): New user option.
1607 (elmo-spam-bogofilter-debug): Ditto.
1608 (elmo-spam-bogofilter-call): Renamed from
1609 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1610 is non-nil, insert output in buffer for debug.
1611 (elmo-spam-bogofilter-arguments): New macro.
1612 (elmo-spam-buffer-spam-p): Use it.
1613 (elsp-bogofilter-register-buffer): Ditto.
1615 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1617 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1620 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1622 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1624 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1625 (elmo-spam-bsfilter-program): Set default value as full path for
1627 (elmo-spam-bsfilter-debug): New user option.
1628 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1629 non-nil, insert output in buffer for debug. Fix treating of
1632 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1634 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1635 `elmo-maildir-flag-specs' element instead of one.
1636 (elmo-map-folder-unset-flag): Ditto.
1637 (Reported by Ken Makimura <macky@astem.or.jp>)
1639 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1640 (elmo-folder-unset-flag-plugged): Ditto.
1642 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1644 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1645 to `reads' slot only if `in-msgdb' is nil.
1647 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1649 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1650 and complement argument list.
1652 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1654 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1655 instead of elmo-folder-list-flagged.
1657 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1659 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1661 * elsp-bsfilter.el: New file.
1663 * elmo-pipe.el (elmo-folder-list-unreads,
1664 elmo-folder-list-answereds,
1665 elmo-folder-list-importants,
1666 elmo-folder-flag-as-important,
1667 elmo-folder-unflag-important,
1668 elmo-folder-flag-as-read,
1669 elmo-folder-unflag-read,
1670 elmo-folder-flag-as-answered,
1671 elmo-folder-unflag-answered): Remove.
1672 (elmo-folder-set-flag): Define.
1673 (elmo-folder-unset-flag): Ditto.
1675 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1676 (elmo-folder-set-flag): Define.
1677 (elmo-folder-unset-flag): Ditto.
1678 (elmo-folder-list-unreads): Remove.
1679 (elmo-folder-list-flagged): Define.
1681 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1682 (elmo-folder-list-unreads,
1683 elmo-folder-list-importants,
1684 elmo-folder-list-answereds,
1685 elmo-folder-list-unreads-plugged,
1686 elmo-folder-list-importants-plugged,
1687 elmo-folder-list-answereds-plugged): Remove.
1688 (elmo-folder-list-flagged-plugged): New method.
1689 (elmo-folder-unflag-important,
1690 elmo-folder-flag-as-important,
1691 elmo-folder-unflag-read,
1692 elmo-folder-flag-as-read,
1693 elmo-folder-unflag-answered,
1694 elmo-folder-flag-as-answered,
1695 elmo-folder-flag-as-read-unplugged,
1696 elmo-folder-unflag-read-unplugged,
1697 elmo-folder-flag-as-important-unplugged,
1698 elmo-folder-unflag-important-unplugged,
1699 elmo-folder-flag-as-answered-unplugged,
1700 elmo-folder-unflag-answered-unplugged): Remove.
1701 (elmo-folder-set-flag): Define.
1702 (elmo-folder-unset-flag): Ditto.
1703 (elmo-folder-set-flag-unplugged): Ditto.
1704 (elmo-folder-unset-flag-unplugged): Ditto.
1706 * elmo-multi.el (elmo-folder-list-unreads,
1707 elmo-folder-list-answereds,
1708 elmo-folder-list-importants,
1709 elmo-folder-flag-as-important,
1710 elmo-folder-unflag-important,
1711 elmo-folder-flag-as-read,
1712 elmo-folder-unflag-read,
1713 elmo-folder-flag-as-answered,
1714 elmo-folder-unflag-answered): Remove.
1715 (elmo-folder-set-flag): Define.
1716 (elmo-folder-unset-flag): Ditto.
1718 * elmo-map.el (elmo-map-folder-unflag-important,
1719 elmo-map-folder-flag-as-important,
1720 elmo-map-folder-unflag-read,
1721 elmo-map-folder-flag-as-read,
1722 elmo-map-folder-unflag-answered,
1723 elmo-map-folder-flag-as-answered): Remove.
1724 (elmo-map-folder-set-flag): New method.
1725 (elmo-map-folder-unset-flag): Ditto.
1726 (elmo-map-folder-list-unreads,
1727 elmo-map-folder-list-importants,
1728 elmo-map-folder-list-answereds): Remove.
1729 (elmo-folder-list-flagged-internal): Define.
1730 (elmo-map-folder-list-flagged): New method.
1732 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1733 (elmo-map-folder-list-unreads,
1734 elmo-map-folder-list-importants,
1735 elmo-map-folder-list-flagged): Remove.
1736 (elmo-map-folder-list-flagged): Define.
1737 (elmo-map-folder-flag-as-important,
1738 elmo-map-folder-unflag-important,
1739 elmo-map-folder-flag-as-read,
1740 elmo-map-folder-unflag-read,
1741 elmo-map-folder-flag-as-answered,
1742 elmo-map-folder-unflag-answered): Remove.
1743 (elmo-maildir-set-mark-messages): New internal function.
1744 (elmo-map-folder-set-flag): Define.
1745 (elmo-map-folder-unset-flag): Ditto.
1747 * elmo.el (toplevel): Added autoload setting for
1748 `elmo-folder-list-global-flag-messages'.
1749 (elmo-folder-list-unreads,
1750 elmo-folder-list-importants,
1751 elmo-folder-list-answereds): Remove.
1752 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1753 Return a list whitch merged with messages have global flag.
1754 (elmo-folder-list-flagged-internal): New method.
1755 (elmo-folder-unflag-important,
1756 elmo-folder-flag-as-important,
1757 elmo-folder-unflag-read,
1758 elmo-folder-flag-as-read,
1759 elmo-folder-unflag-answered,
1760 elmo-folder-flag-as-answered): Remove.
1761 (elmo-folder-set-flag): New method.
1762 (elmo-folder-unset-flag): Ditto.
1763 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1764 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1766 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1767 (elmo-folder-list-unreads-plugged,
1768 elmo-folder-list-importants-plugged,
1769 elmo-folder-list-answereds-plugged,
1770 elmo-folder-list-flagged-unplugged,
1771 elmo-folder-unflag-important-plugged,
1772 elmo-folder-flag-as-important-plugged,
1773 elmo-folder-unflag-read-plugged,
1774 elmo-folder-flag-as-read-plugged,
1775 elmo-folder-unflag-answered-plugged,
1776 elmo-folder-flag-as-answered-plugged): Remove.
1777 (elmo-folder-set-flag-plugged,
1778 elmo-folder-unset-flag-plugged): Define.
1780 * elmo-flag.el (elmo-folder-initialize): Register to
1781 `elmo-global-flag-list' if flag is not global.
1782 (elmo-folder-append-messages): Set flag to source messages.
1784 * elmo-filter.el (elmo-filter-folder-list-unreads,
1785 elmo-folder-list-unreads,
1786 elmo-filter-folder-list-importants,
1787 elmo-folder-list-importants,
1788 elmo-folder-flag-as-read,
1789 elmo-folder-unflag-read,
1790 elmo-folder-flag-as-important,
1791 elmo-folder-unflag-important,
1792 elmo-folder-flag-as-answered,
1793 elmo-folder-unflag-answered): Remove.
1794 (elmo-folder-set-flag): Define.
1795 (elmo-folder-unset-flag): Ditto.
1797 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1798 elmo-folder-unflag-read-dop,
1799 elmo-folder-flag-as-important-dop,
1800 elmo-folder-unflag-important-dop,
1801 elmo-folder-flag-as-answered-dop,
1802 elmo-folder-unflag-answered-dop): Remove.
1803 (elmo-folder-set-flag-dop,
1804 elmo-folder-unset-flag-dop,
1805 elmo-folder-set-important-delayed,
1806 elmo-folder-unset-important-delayed,
1807 elmo-folder-set-read-delayed,
1808 elmo-folder-unset-read-delayed,
1809 elmo-folder-set-answered-delayed,
1810 elmo-folder-unset-answered-delayed): New function.
1811 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1812 (elmo-dop-queue-method-name-alist): Ditto.
1814 * elmo-version.el (elmo-version): Up to 2.11.23.
1816 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1818 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1820 * elsp-sa.el: New file.
1822 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1824 * modb-standard.el (modb-standard-message-entity): New function.
1825 (elmo-msgdb-message-entity): Use it.
1827 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1829 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1830 behavior when one-level is nil.
1832 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1834 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1836 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1838 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1840 (elmo-generic-folder-diff): Ditto.
1842 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1843 (elmo-folder-update-number): Ditto.
1845 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1846 (elmo-folder-next-message-number-dop): Ditto.
1848 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1850 * elmo-filter.el (elmo-folder-msgdb-create): Use
1851 `elmo-message-entity' and `elmo-message-flags' instead of
1852 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1854 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1856 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1859 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1861 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1863 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1865 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1867 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1869 * elmo-version.el (elmo-version): Up to 2.11.22.
1871 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1873 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1875 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1878 if the message dose not exist.
1880 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1882 * elmo-version.el (elmo-version): Up to 2.11.21.
1884 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1886 * modb-standard.el (toplevel): Don't require mime.
1888 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1890 * elsp-bogofilter.el (toplevel): Don't require path-util.
1891 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1892 (elmo-spam-bogofilter-header): Abolish.
1893 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1894 (elmo-spam-bogofilter-args): New user option.
1895 (elsp-bogofilter-call-bogofilter): New internal function.
1896 (elmo-spam-buffer-spam-p): Use it.
1897 (elsp-bogofilter-register-buffer): Renamed from
1898 `elmo-spam-bogofilter-register-buffer';
1899 Use `elsp-bogofilter-call-bogofilter'.
1900 (elmo-spam-register-spam-buffer): Follow the change above.
1901 (elmo-spam-register-good-buffer): Ditto.
1903 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1905 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1906 message-id is nil do nothing.
1908 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1910 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1912 (elmo-imap4-session): Removed use-flag slot.
1913 (elmo-imap4-session-select-mailbox): Undo last change.
1914 (elmo-folder-use-flag-p): Use
1915 elmo-imap4-disuse-server-flag-mailbox-regexp.
1917 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1919 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1920 (elmo-imap4-session-select-mailbox): Set it up.
1921 (elmo-folder-use-flag-p): Return value of use-flag slot.
1923 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1925 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1927 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1929 * modb-entity.el (elmo-message-entity-handler): Likewise.
1931 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1933 * elmo.el (toplevel): Remove setting of autoloding for
1934 elmo-global-flag-initialize.
1935 (elmo-init): Don't call elmo-global-flag-initialize.
1936 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1938 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1939 (elmo-global-mark-migrate): Don't call it.
1940 (elmo-global-mark-upgrade): Ditto.
1942 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1944 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1945 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1947 * elmo-vars.el (elmo-init-hook): New user option.
1949 * elmo.el (elmo-init): Run the elmo-init-hook.
1951 * elmo-flag.el (elmo-global-mark-migrate): New function.
1953 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1955 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1956 Undo last change (move to elmo-msgdb-unset-flag).
1957 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1960 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1962 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1964 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1965 (elmo-msgdb-unset-flag): Ditto.
1967 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1969 * elmo-split.el (elmo-split): Return split message count.
1971 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1973 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1976 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1978 * elmo.el (elmo-folder-unflag-important): Call
1979 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1982 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
1984 (elmo-global-flag-detach): Delete the message from flag folder, if
1985 `delete-if-none' is a symbol `always'.
1987 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1989 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
1990 `elmo-spam-spamfilter-decode-buffer'.
1991 (elsp-spamfilter-register-buffer-internal): New internal function.
1992 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
1993 (elmo-spam-register-spam-buffer): Ditto.
1994 (elmo-spam-register-good-buffer): Ditto.
1996 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
1998 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
1999 (elmo-spam-register-spam-buffer): Follow the API change.
2000 (elmo-spam-register-good-buffer): Ditto.
2002 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2003 (elmo-split-spam-p): Added argument plist; Call
2004 `elmo-spam-buffer-spam-p' with new argument register.
2006 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2008 (elmo-spam-message-spam-p): Ditto.
2009 (elmo-spam-register-spam-buffer): Added optional argument
2011 (elmo-spam-register-good-buffer): Ditto.
2012 (elmo-spam-register-spam-messages): Ditto.
2013 (elmo-spam-register-good-messages): Ditto.
2015 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2017 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2018 register into good corpus.
2019 (elmo-spam-register-good-buffer): Fixed to register into bad
2022 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2024 * elmo-version.el (elmo-version): Up to 2.11.20.
2026 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2029 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2030 flag without depending on \Recent flag.
2032 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2034 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2035 (elmo-spam-modified-p): Defined.
2036 (elmo-spam-save-status): Set `modified' slot to nil.
2037 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2038 (elmo-spam-register-good-buffer): Ditto.
2040 * elmo-spam.el (elmo-spam-modified-p): New API.
2042 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2044 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2045 duplicate definition.
2047 * elmo-util.el (elmo-unfold-field-body): New function.
2048 (elmo-msgdb-get-message-id-from-buffer): Use it.
2050 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2051 Fixed the last change; Use elmo-unfold-field-body.
2053 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2055 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2058 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2060 * elmo-spam.el (elmo-spam-save-status): New API.
2062 * elsp-spamfilter.el: New file.
2064 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2066 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2068 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2070 * elmo-split.el (elmo-split-spam-p): New function.
2072 * elmo-spam.el: New file.
2074 * elsp-bogofilter.el: Ditto.
2076 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2078 * elmo.el (elmo-folder-next-message-number): New API.
2079 (elmo-folder-next-message-number): Define.
2080 (elmo-message-field): Don't check folder length.
2082 * elmo-net.el (elmo-folder-next-message-number): Define.
2083 (elmo-folder-next-message-number-unplugged): Define.
2085 * elmo-map.el (elmo-folder-next-message-number): Define.
2086 (elmo-folder-delete-messages): Clear hash value.
2088 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2090 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2091 (elmo-folder-delete-messages-dop-delayed): Always return t.
2093 * elmo-version.el (elmo-version): Up to 2.11.19.
2095 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2097 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2100 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2101 identical cons cell into the mark-alist and the hash table.
2103 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2105 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2106 elmo-folder-list-messages with argument `visible-only' as t.
2108 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2109 (elmo-folder-msgdb-create): Check the target folder.
2111 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2113 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2114 `permanentflag' instead of `flags'.
2115 (elmo-folder-open): Ditto.
2116 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2117 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2118 (elmo-folder-use-flag-p): Always return t.
2119 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2120 `permanentflags' does not exist.
2121 (elmo-folder-open): Ditto.
2123 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2125 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2127 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2129 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2130 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2132 (elmo-folder-open): Ditto.
2133 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2134 slot of the session includes the flag.
2135 (elmo-imap4-session-flag-available-p): New function.
2136 (elmo-imap4-folder-list-flagged): Ditto.
2137 (elmo-folder-list-unreads-plugged): Use it.
2138 (elmo-folder-list-importants-plugged): Ditto.
2139 (elmo-folder-list-answereds-plugged): Ditto.
2140 (elmo-imap4-search-internal-primitive): Ditto.
2141 (elmo-imap4-folder-list-any-plugged,
2142 elmo-imap4-folder-list-digest-plugged): Abolish.
2144 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2147 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2149 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2151 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2153 * elmo-util.el (elmo-get-hash-val): Simplify.
2154 (elmo-set-hash-val): Rewrite.
2156 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2158 * elmo.el (elmo-folder-list-messages): Append killed messages into
2159 result if `visible-only' is nil and `in-msgdb' is non-nil.
2161 * elmo-util.el (elmo-uniq-list): Added optional argument
2164 * modb.el (elmo-msgdb-flag-count): New API.
2166 * modb-standard.el (modb-standard): Added slot flag-count.
2167 (modb-standard-countup-flags): New function.
2168 (modb-standard-load-flag): Call it.
2169 (elmo-msgdb-append): Ditto.
2170 (elmo-msgdb-clear): Clear slot flag-count.
2171 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2172 (elmo-msgdb-unset-flag): Treat `all' flag and call
2173 modb-standard-countup-flags.
2174 (elmo-msgdb-flag-count): Define.
2175 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2176 (elmo-msgdb-delete-messages): Ditto.
2178 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2179 (elmo-msgdb-flag-count): Define.
2181 * elmo.el (elmo-folder-list-messages): Undo last change.
2182 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2183 (elmo-folder-kill-messages): Unset all flags to numbers.
2185 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2186 elmo-folder-kill-messages.
2188 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2189 (elmo-nntp-folder-delete-messages): Abolish.
2191 * elmo-version.el (elmo-version): Up to 2.11.18.
2193 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2195 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2196 (elmo-folder-kill-messages-range): New function.
2197 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2198 instead of elmo-folder-kill-messages-before.
2200 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2202 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2203 elmo-imap4-current-msgdb to decide entity handler.
2205 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2207 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2209 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2211 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2212 (elmo-msgdb-overview-entity-set-number,
2213 elmo-msgdb-overview-entity-get-references,
2214 elmo-msgdb-overview-entity-set-references,
2215 elmo-msgdb-overview-entity-get-from-no-decode,
2216 elmo-msgdb-overview-entity-get-from,
2217 elmo-msgdb-overview-entity-set-from,
2218 elmo-msgdb-overview-entity-get-subject,
2219 elmo-msgdb-overview-entity-get-subject-no-decode,
2220 elmo-msgdb-overview-entity-set-subject,
2221 elmo-msgdb-overview-entity-get-date,
2222 elmo-msgdb-overview-entity-set-date,
2223 elmo-msgdb-overview-entity-get-to,
2224 elmo-msgdb-overview-entity-get-cc,
2225 elmo-msgdb-overview-entity-get-size,
2226 elmo-msgdb-overview-entity-set-size,
2227 elmo-msgdb-overview-entity-get-extra,
2228 elmo-msgdb-overview-entity-set-extra,
2229 elmo-msgdb-overview-entity-get-extra-field,
2230 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2231 (elmo-msgdb-make-index): Use
2232 `elmo-msgdb-overview-entity-get-number-internal'.
2233 (elmo-msgdb-clear-index): Ditto.
2234 (elmo-msgdb-append-entity): Ditto;
2235 Use `elmo-msgdb-overview-entity-get-id-internal'.
2237 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2238 elmo-msgdb-overview-entity-set-number,
2239 elmo-msgdb-overview-entity-get-references,
2240 elmo-msgdb-overview-entity-set-references,
2241 elmo-msgdb-overview-entity-get-from-no-decode,
2242 elmo-msgdb-overview-entity-get-from,
2243 elmo-msgdb-overview-entity-set-from,
2244 elmo-msgdb-overview-entity-get-subject,
2245 elmo-msgdb-overview-entity-get-subject-no-decode,
2246 elmo-msgdb-overview-entity-set-subject,
2247 elmo-msgdb-overview-entity-get-date,
2248 elmo-msgdb-overview-entity-set-date,
2249 elmo-msgdb-overview-entity-get-to,
2250 elmo-msgdb-overview-entity-get-cc,
2251 elmo-msgdb-overview-entity-get-size,
2252 elmo-msgdb-overview-entity-set-size,
2253 elmo-msgdb-overview-entity-get-extra,
2254 elmo-msgdb-overview-entity-set-extra,
2255 elmo-msgdb-overview-entity-get-extra-field,
2256 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2257 and rewrote for backward compatibility.
2259 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2261 * elmo.el (elmo-message-entity-number,
2262 elmo-message-entity-set-number,
2263 elmo-message-entity-field,
2264 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2266 * elmo-msgdb.el (elmo-message-entity-number,
2267 elmo-message-entity-set-number,
2268 elmo-message-entity-field,
2269 elmo-message-entity-set-field): Moved from elmo.el.
2271 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2273 * elmo.el (toplevel): Changed definition orders.
2275 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2277 * modb.el (elmo-msgdb-search): New API .
2278 (elmo-msgdb-match-condition): Ditto.
2280 * modb-standard.el (elmo-msgdb-search): Define.
2282 * modb-legacy.el (elmo-msgdb-search): Ditto.
2284 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2285 from elmo-msgdb-match-condition-internal.
2287 * elmo.el (elmo-folder-search-fast): Abolish.
2288 (elmo-folder-search): Use elmo-msgdb-search and
2289 elmo-with-progress-display.
2291 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2294 * elmo.el (elmo-folder): Remove slot message-modified and
2296 (elmo-folder-set-message-modified): Abolish.
2297 (elmo-generic-folder-commit): Follow the change above.
2298 (elmo-folder-synchronize): Ditto.
2300 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2302 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2304 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2306 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2308 * modb-standard.el (modb-standard-make-message-entity,
2309 elmo-msgdb-make-message-entity,
2310 elmo-msgdb-create-message-entity-from-buffer,
2311 elmo-msgdb-message-entity-number,
2312 elmo-msgdb-message-entity-set-number,
2313 elmo-msgdb-message-entity-field,
2314 elmo-msgdb-message-entity-set-field,
2315 elmo-msgdb-copy-message-entity,
2316 elmo-msgdb-match-condition-internal): Remove.
2318 * modb-entity.el: New file (again).
2320 * modb.el (toplevel): Require modb-entity.
2321 (elmo-msgdb-message-entity-handler): New method.
2323 * modb-standard.el (modb-standard-entity-id): Use
2324 elmo-message-entity-handler.
2325 (modb-standard-load-entity): Ditto.
2326 (elmo-msgdb-append-entity): Ditto.
2327 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2329 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2330 elmo-msgdb-decoded-cache-hashtb,
2331 (modb-legacy-make-message-entity,
2332 elmo-msgdb-make-message-entity,
2333 elmo-msgdb-create-message-entity-from-buffer,
2334 elmo-msgdb-message-entity-number,
2335 elmo-msgdb-message-entity-set-number,
2336 elmo-msgdb-message-entity-field,
2337 elmo-msgdb-message-entity-set-field,
2338 elmo-msgdb-copy-message-entity,
2339 elmo-msgdb-match-condition-internal,
2340 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2342 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2343 (elmo-message-entity-set-number): Ditto.
2344 (elmo-message-entity-field): Ditto.
2345 (elmo-message-entity-set-field): Ditto.
2347 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2349 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2351 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2353 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2354 (elmo-nntp-msgdb-create-message): Ditto.
2356 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2357 (elmo-folder-msgdb-create): Add unread flag.
2359 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2361 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2363 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2365 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2367 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2368 elmo-msgdb-messge-entity-handler.
2369 * elmo-version.el (elmo-version): Up to 2.11.17.
2371 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2373 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2376 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2378 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2380 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2381 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2382 (elmo-msgdb-flag-table): Ditto.
2383 (elmo-msgdb-sort-by-date): Ditto.
2385 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2387 * modb-standard.el (toplevel): Require mime.
2388 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2389 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2390 elmo-msgdb-message-entity-number.
2391 (elmo-msgdb-append-entity): Ditto.
2392 (elmo-msgdb-create-message-entity-from-file): Remove.
2393 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2394 corresponds to the entity.
2395 (elmo-msgdb-message-entity-number): Do nothing currently.
2396 (elmo-msgdb-message-entity-field): Ditto.
2397 (elmo-msgdb-message-entity-set-field): Ditto.
2398 (elmo-msgdb-copy-message-entity): Ditto.
2399 (elmo-msgdb-match-condition-internal): Ditto.
2401 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2403 (elmo-msgdb-create-message-entity-from-file): Remove.
2405 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2407 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2409 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2411 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2413 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2414 (elmo-msgdb-message-entity-field): Ditto.
2415 (elmo-msgdb-message-entity-number): Ditto.
2417 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2419 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2420 Fixed how to set extra field into entity.
2421 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2424 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2425 Fixed how to set extra field into entity.
2426 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2429 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2431 * modb.el (elmo-message-entity-db): New function.
2432 (elmo-msgdb-make-message-entity): New API.
2433 (elmo-msgdb-message-entity-number): Ditto.
2434 (elmo-msgdb-message-entity-set-number): Ditto.
2435 (elmo-msgdb-message-entity-field): Ditto.
2436 (elmo-msgdb-message-entity-set-field): Ditto.
2437 (elmo-msgdb-copy-message-entity): Ditto.
2438 (elmo-msgdb-create-message-entity-from-file): Ditto.
2439 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2440 (elmo-msgdb-match-condition-internal): Ditto.
2442 * modb-standard.el (modb-legacy): Require modb-legacy.
2443 (modb-standard-make-message-entity): New inline function.
2444 (elmo-msgdb-make-message-entity): Define.
2445 (elmo-msgdb-create-message-entity-from-file): Ditto.
2446 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2447 (elmo-msgdb-message-entity-field): Ditto.
2448 (elmo-msgdb-message-entity-set-field): Ditto.
2449 (elmo-msgdb-copy-message-entity): Ditto.
2450 (elmo-msgdb-match-condition-internal): Ditto.
2452 * modb-legacy.el: Don't require modb-entity.
2453 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2454 (elmo-msgdb-match-condition-primitive): Ditto.
2455 (elmo-msgdb-get-decoded-cache): Ditto.
2456 (elmo-msgdb-overview-entity-get-id): Ditto.
2457 (elmo-msgdb-overview-entity-get-number): Ditto.
2458 (elmo-msgdb-overview-entity-set-number): Ditto.
2459 (elmo-msgdb-overview-entity-get-references): Ditto.
2460 (elmo-msgdb-overview-entity-set-references): Ditto.
2461 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2462 (elmo-msgdb-overview-entity-get-from): Ditto.
2463 (elmo-msgdb-overview-entity-set-from): Ditto.
2464 (elmo-msgdb-overview-entity-get-subject): Ditto.
2465 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2466 (elmo-msgdb-overview-entity-set-subject): Ditto.
2467 (elmo-msgdb-overview-entity-get-date): Ditto.
2468 (elmo-msgdb-overview-entity-set-date): Ditto.
2469 (elmo-msgdb-overview-entity-get-to): Ditto.
2470 (elmo-msgdb-overview-entity-get-cc): Ditto.
2471 (elmo-msgdb-overview-entity-get-size): Ditto.
2472 (elmo-msgdb-overview-entity-set-size): Ditto.
2473 (elmo-msgdb-overview-entity-get-extra): Ditto.
2474 (elmo-msgdb-overview-entity-set-extra): Ditto.
2475 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2476 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2477 (elmo-msgdb-number-load): Ditto.
2478 (elmo-msgdb-overview-load): Ditto.
2479 (elmo-msgdb-mark-load): Ditto.
2480 (elmo-msgdb-number-save): Ditto.
2481 (elmo-msgdb-mark-save): Ditto.
2482 (elmo-msgdb-overview-save): Ditto.
2483 (modb-legacy-make-message-entity): New inline function.
2484 (elmo-msgdb-insert-file-header): Ditto.
2485 (elmo-msgdb-make-message-entity): Define.
2486 (elmo-msgdb-create-message-entity-from-file): Ditto.
2487 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2488 (elmo-msgdb-message-entity-number): Ditto.
2489 (elmo-msgdb-message-entity-set-number): Ditto.
2490 (elmo-msgdb-message-entity-field): Ditto.
2491 (elmo-msgdb-message-entity-set-field): Ditto.
2492 (elmo-msgdb-copy-message-entity): Ditto.
2493 (elmo-msgdb-match-condition-internal): Ditto.
2495 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2496 (elmo-message-copy-entity): Rewrite.
2497 (elmo-message-entity-number): Ditto.
2498 (elmo-message-entity-set-number): Ditto.
2499 (elmo-message-entity-field): Use elmo-message-entity-db.
2500 (elmo-message-entity-set-field): Ditto.
2501 (elmo-message-field): Rewrite.
2503 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2505 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2507 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2508 elmo-message-entity-field.
2509 (elmo-shimbun-folder-shimbun-header): Ditto.
2510 (elmo-shimbun-entity-to-header): Ditto.
2511 (elmo-folder-msgdb-create): Ditto.
2512 (elmo-shimbun-msgdb-create-entity): Ditto;
2513 Use elmo-msgdb-create-message-entity-from-buffer.
2514 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2515 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2517 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2518 elmo-msgdb-create-message-entity-from-file and
2519 elmo-message-entity-field.
2521 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2522 elmo-message-entity-number.
2523 (elmo-pop3-msgdb-create-message): Use
2524 elmo-msgdb-create-message-entity-from-buffer,
2525 elmo-message-entity-set-field, elmo-message-entity-number and
2526 elmo-message-entity-set-number.
2528 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2529 the API change in elmo-msgdb-make-message-entity.
2530 (elmo-nntp-msgdb-create-message): Use
2531 elmo-msgdb-create-message-entity-from-buffer.
2533 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2534 elmo-message-entity-field and
2535 elmo-msgdb-create-message-entity-from-file.
2537 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2538 (elmo-msgdb-get-field): Abolish.
2539 (elmo-msgdb-get-number): Rewrite.
2540 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2541 (elmo-msgdb-flag-table): Ditto.
2542 (elmo-msgdb-get-last-message-id,
2543 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2544 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2545 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2546 (elmo-msgdb-create-overview-from-buffer,
2547 elmo-msgdb-overview-get-parent-entity): Abolish.
2549 * elmo-mime.el (elmo-mime-display-as-is): Use
2550 elmo-message-entity-field.
2552 * elmo-map.el (elmo-folder-pack-numbers): Use
2553 elmo-message-entity-set-number.
2555 * elmo-maildir.el (elmo-folder-msgdb-create):
2556 elmo-msgdb-create-message-entity-from-file instead of
2557 elmo-msgdb-create-overview-entity-from-file.
2559 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2561 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2562 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2564 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2565 elmo-messge-entity-field and elmo-message-entity-number.
2566 (elmo-imap4-fetch-callback-1): Call
2567 elmo-msgdb-create-message-entity-from-buffer instead of
2568 elmo-msgdb-create-overview-from-buffer.
2569 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2570 (elmo-find-fetch-strategy): Likewise.
2572 * elmo-flag.el (elmo-folder-msgdb-create): Call
2573 elmo-localdir-msgdb-create-entity with argument msgdb.
2575 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2576 and elmo-message-entity-set-number.
2578 * elmo-cache.el (elmo-folder-msgdb-create): Use
2579 elmo-message-entity-field.
2580 (elmo-folder-msgdb-create): Call
2581 elmo-msgdb-create-message-entity-from-file instead of
2582 elmo-msgdb-create-overview-entity-from-file.
2584 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2585 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2586 instead of elmo-msgdb-create-overview-from-buffer.
2587 (elmo-archive-msgdb-create-entity): Ditto.
2588 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2589 elmo-message-entity-field.
2590 (elmo-archive-parse-mmdf): Ditto.
2592 * modb-entity.el: Removed.
2594 * elmo-version.el (elmo-version): Up to 2.11.16.
2596 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2598 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2600 (elmo-folder-flag-as-answered): Ditto.
2602 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2604 * modb-standard.el: New file.
2606 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2607 elmo-msgdb-convert-type is `sync'.
2609 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2610 (elmo-msgdb-convert-type): New user option.
2612 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2613 (elmo-load-msgdb): Auto detect saved type.
2615 * elmo-version.el (elmo-version): Up to 2.11.15.
2617 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2619 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2621 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2622 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2623 with argument `delete-if-none' when dst-folder is 'null.
2625 * elmo-flag.el (elmo-folder-append-messages): Defined.
2626 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2628 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2630 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2632 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2634 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2635 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2636 (elmo-folder-commit): Ditto.
2638 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2640 * elmo-flag.el: New file.
2642 * elmo-mark.el: Removed.
2644 * modb-legacy.el (modb-legacy-new-mark,
2645 modb-legacy-unread-uncached-mark,
2646 modb-legacy-unread-cached-mark,
2647 modb-legacy-read-uncached-mark,
2648 modb-legacy-answered-cached-mark,
2649 modb-legacy-answered-uncached-mark,
2650 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2651 All other related portions are changed.
2653 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2654 (elmo-folder-list-messages-with-global-mark): Abolish.
2655 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2656 (elmo-folder-flag-as-important): Ditto.
2657 (elmo-folder-unflag-read): Ditto.
2658 (elmo-folder-flag-as-read): Ditto.
2659 (elmo-folder-unflag-answered): Ditto.
2660 (elmo-folder-flag-as-answered): Ditto.
2661 (elmo-message-encache): Return the cache path.
2662 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2663 (elmo-message-set-flag): Transitional implementation.
2664 (elmo-message-unset-flag): Ditto.
2665 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2666 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2667 (elmo-init): Call elmo-global-flag-initialize.
2668 (toplevel): Added autoload settings for elmo-flag.
2670 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2672 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2673 (elmo-file-cache-delete): Don't treat global-mark.
2675 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2677 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2679 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2680 `elmo-global-flags-set'.
2682 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2684 (elmo-folder-unflag-read): Ditto.
2685 (elmo-folder-unflag-important): Ditto.
2686 (elmo-folder-flag-as-important): Ditto.
2687 (elmo-folder-unflag-answered): Ditto.
2688 (elmo-folder-flag-as-answered): Ditto.
2690 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2691 `elmo-global-flags-set'.
2692 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2694 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2696 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2698 (elmo-folder-flag-as-important): Ditto.
2699 (elmo-folder-unflag-important): Ditto.
2700 (elmo-folder-flag-as-important): Ditto.
2701 (elmo-folder-unflag-read): Ditto.
2702 (elmo-folder-flag-as-read): Ditto.
2703 (elmo-folder-unflag-answered): Ditto.
2704 (elmo-folder-flag-as-answered): Ditto.
2706 * elmo-multi.el (elmo-folder-list-importants): Don't call
2707 elmo-folder-list-messages-with-global-mark.
2708 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2709 (elmo-folder-unflag-important): Ditto.
2710 (elmo-folder-flag-as-read): Ditto.
2711 (elmo-folder-unflag-read): Ditto.
2712 (elmo-folder-flag-as-answered): Ditto.
2713 (elmo-folder-unflag-answered): Ditto.
2715 * elmo-msgdb.el (elmo-msgdb-new-mark,
2716 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2717 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2718 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2719 (Moved to modb-legacy.el).
2720 (elmo-flag-table-get): Treat important flag too.
2722 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2724 (elmo-map-folder-flag-as-important): Ditto.
2725 (elmo-map-folder-unflag-read): Ditto.
2726 (elmo-map-folder-flag-as-read): Ditto.
2727 (elmo-map-folder-unflag-answered): Ditto.
2728 (elmo-map-folder-flag-as-answered): Ditto.
2729 (elmo-folder-unflag-important): Ditto.
2730 (elmo-folder-flag-as-important): Ditto.
2731 (elmo-folder-unflag-read): Ditto.
2732 (elmo-folder-flag-as-read): Ditto.
2733 (elmo-folder-unflag-answered): Ditto.
2734 (elmo-folder-flag-as-answered): Ditto.
2736 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2737 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2739 (elmo-map-folder-unflag-important): Ditto.
2740 (elmo-map-folder-flag-as-read): Ditto.
2741 (elmo-map-folder-unflag-read): Ditto.
2742 (elmo-map-folder-flag-as-answered): Ditto.
2743 (elmo-map-folder-unflag-answered): Ditto.
2745 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2746 `elmo-global-flags-set'.
2747 (elmo-global-flags-set): Added autoload setting.
2749 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2752 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2753 `elmo-msgdb-global-mark-set'.
2754 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2755 Call `elmo-global-flags-set'.
2756 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2758 (elmo-folder-flag-as-important-plugged): Ditto.
2759 (elmo-folder-unflag-read-plugged): Ditto.
2760 (elmo-folder-flag-as-read-plugged): Ditto.
2761 (elmo-folder-unflag-answered-plugged): Ditto.
2762 (elmo-folder-flag-as-answered-plugged): Ditto.
2763 (elmo-global-flags-set): Added autoload setting.
2765 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2767 (elmo-folder-unflag-read): Ditto.
2768 (elmo-folder-flag-as-important): Ditto.
2769 (elmo-folder-unflag-important): Ditto.
2770 (elmo-folder-flag-as-answered): Ditto.
2771 (elmo-folder-unflag-answered): Ditto.
2773 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2774 change of `mark'->`flag'.
2775 (elmo-dop-queue-method-name-alist): Ditto.
2776 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2777 (elmo-folder-unflag-read-dop): Ditto.
2778 (elmo-folder-flag-as-important-dop): Ditto.
2779 (elmo-folder-unflag-important-dop): Ditto.
2780 (elmo-folder-flag-as-answered-dop): Ditto.
2781 (elmo-folder-unflag-answered-dop): Ditto.
2783 * elmo-cache.el (elmo-folder-msgdb-create): Call
2784 `elmo-global-flags-set'.
2786 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2787 Call `elmo-global-flags-set'.
2788 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2789 elmo-archive-parse-mmdf with argument `folder'.
2790 (elmo-archive-parse-mmdf): Added argument `folder';
2791 Call `elmo-global-flags-set'.
2793 * elmo-version.el (elmo-version): Up to 2.11.14.
2795 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2797 * modb.el (elmo-msgdb-length): Define.
2799 * elmo.el (elmo-make-folder): Fixed.
2800 (elmo-generic-folder-append-messages): Follow the API change.
2802 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2805 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2807 * modb.el: New file.
2809 * modb-entity.el: Ditto.
2811 * modb-legacy.el: Ditto.
2813 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2814 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2815 of `elmo-msgdb-overview-get-entity'.
2816 (elmo-msgdb-get-field): Ditto.
2817 (elmo-msgdb-merge): Moved to `elmo.el'.
2818 (elmo-msgdb-length): Removed; redefine as modb method.
2819 (elmo-msgdb-change-mark): Abolish.
2820 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2821 (elmo-msgdb-match-condition): Don't use mark.
2822 (elmo-msgdb-overview-get-entity): Abolish.
2823 Split modb part into `modb*.el'.
2825 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2827 * elmo-shimbun.el (shimbun-mua-search-id): Use
2828 `elmo-msgdb-message-entity' instead of
2829 `elmo-msgdb-overview-get-entity'.
2830 (elmo-shimbun-folder-shimbun-header): Ditto.
2831 (elmo-shimbun-get-headers): Ditto.
2832 (elmo-shimbun-update-overview): Ditto.
2834 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2836 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2838 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2839 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2841 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2842 `elmo-msgdb-mark-to-flags'.
2844 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2845 `elmo-msgdb-set-path'.
2847 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2849 * elmo-version.el (elmo-version): Up to 2.11.13.
2851 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2853 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2856 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2858 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2861 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2863 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2864 instead of `elmo-msgdb-get-cached'.
2865 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2867 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2868 (elmo-msgdb-set-cached): Ditto.
2869 (elmo-msgdb-set-flag): Rewrite.
2870 (elmo-msgdb-unset-flag): Ditto.
2872 * elmo-msgdb.el: Rewrite with luna.
2874 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2875 (elmo-folder-msgdb): Follow the change above.
2876 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2877 (elmo-folder-unmark-important): Follow the API change.
2878 (elmo-folder-mark-as-important): Ditto.
2879 (elmo-folder-unmark-read): Ditto.
2880 (elmo-folder-mark-as-read): Ditto.
2881 (elmo-folder-unmark-answered): Ditto.
2882 (elmo-folder-mark-as-answered): Ditto.
2883 (elmo-folder-clear): Likewise.
2885 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2886 instead of `elmo-msgdb-load' (renamed).
2888 * elmo-version.el (elmo-version): Up to 2.11.12.
2890 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2892 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2894 (elmo-message-mark): Abolish.
2895 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2896 instead of `elmo-msgdb-change-mark'.
2898 * elmo-pipe.el (elmo-message-mark): Abolish.
2900 * elmo-multi.el (elmo-message-mark): Ditto.
2902 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2903 (elmo-msgdb-unread-uncached-mark): Ditto.
2904 (elmo-msgdb-unread-cached-mark): Ditto.
2905 (elmo-msgdb-read-uncached-mark): Ditto.
2906 (elmo-msgdb-answered-cached-mark): Ditto.
2907 (elmo-msgdb-answered-uncached-mark): Ditto.
2908 (elmo-msgdb-important-mark): Ditto.
2909 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2911 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2913 (elmo-flag-table-load): Changed flag to list of flag.
2914 (elmo-flag-table-set): If flags is nil, set read flag.
2915 (elmo-flag-table-get): Return derived flags from global mark,
2916 cache status and saved flags.
2917 (elmo-msgdb-flag-table): Follow the change above.
2918 (elmo-msgdb-out-of-date-messages): New function.
2920 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2922 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2924 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2926 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2927 (elmo-nntp-msgdb-create-message): Ditto.
2929 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2931 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2933 (elmo-folder-msgdb-create): Follow the API change.
2935 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2936 (elmo-folder-append-messages): Ditto.
2938 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2939 (elmo-folder-append-buffer): Ditto.
2941 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2943 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2945 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2946 (elmo-archive-parse-mmdf): Ditto.
2948 * elmo-version.el (elmo-version): Up to 2.11.11.
2950 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2952 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2955 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2957 * elmo-pipe.el (elmo-message-flags): Defined.
2959 * elmo-multi.el (elmo-message-flags): Ditto.
2961 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2963 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2964 `elmo-msgdb-delete-msgs'.
2966 * elmo.el (elmo-folder-count-flags): Don't use
2967 `elmo-msgdb-get-mark-alist'.
2968 (elmo-folder-detach-messages): Follow the API change.
2970 * elmo.el (elmo-folder-list-messages): Append killed messages into
2971 result if `visible-only' is nil.
2973 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2975 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2976 (elmo-folder-update-number): Likewise.
2978 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2979 (elmo-pop3-sort-msgdb-by-original-number): Use
2980 `elmo-msgdb-sort-entities'.
2982 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2983 (elmo-msgdb-sort-by-date): Use it.
2984 (elmo-msgdb-overview-sort-by-date): Abolish.
2986 * elmo-dop.el (elmo-folder-status-dop): Fixed.
2988 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
2989 (elmo-msgdb-flags): New function.
2990 (elmo-msgdb-merge): Use elmo-msgdb-append.
2992 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
2995 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2997 * elmo-dop.el (elmo-folder-status-dop): Use
2998 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3000 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3002 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3004 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3006 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3008 * elmo-util.el (elmo-with-progress-display): New macro.
3010 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3012 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3014 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3015 `elmo-folder-list-message-entities' instead of
3016 `elmo-msgdb-get-overview'.
3017 (elmo-map-folder-list-message-locations): Ditto.
3019 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3020 methods instead of treat directly).
3021 (elmo-msgdb-clear): Ditto.
3022 (elmo-msgdb-delete-msgs): Ditto.
3023 (elmo-msgdb-sort-by-date): Ditto.
3025 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3027 (elmo-nntp-folder-msgdb-create): Follow the API change.
3029 * elmo-version.el (elmo-version): Up to 2.11.10.
3031 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3033 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3034 (elmo-msgdb-flags-to-mark): Ditto.
3035 (elmo-msgdb-append-entity): Ditto.
3037 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3038 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3039 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3040 (elmo-archive-parse-mmdf): Ditto.
3042 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3044 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3046 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3048 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3050 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3052 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3054 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3056 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3058 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3059 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3062 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3063 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3064 instead of directly construction.
3065 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3066 instead of construct msgdb.
3068 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3069 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3070 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3071 instead of construct msgdb.
3073 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3075 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3076 when field is from or subject.
3078 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3080 * elmo-multi.el (elmo-message-entity-parent): Define.
3081 (elmo-folder-search): Rewrite.
3083 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3085 * elmo-multi.el (elmo-message-cached-p): Define.
3087 * elmo.el (elmo-message-cached-p): New method.
3088 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3089 (elmo-message-flags): New method.
3090 (elmo-message-flagged-p): New function.
3092 * elmo-version.el (elmo-version): Up to 2.11.9.
3094 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3096 * elmo-version.el (elmo-version): Up to 2.11.8.
3098 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3100 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3102 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3104 * elmo.el (elmo-folder-detach-messages): Undo last change.
3106 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3108 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3110 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3111 only when src folder type is pop3.
3113 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3115 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3116 elmo-msgdb-overview-entity-get-number instead of
3117 elmo-message-entity-number.
3119 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3121 * elmo-version.el (elmo-version): Up to 2.11.7.
3123 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3125 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3128 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3129 (elmo-msgdb-merge): New function.
3130 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3131 (elmo-msgdb-make-index): Rewrite.
3133 * elmo-version.el (elmo-version): Up to 2.11.6.
3135 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3136 use it as a the path for loading message entities.
3138 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3140 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3142 * elmo-filter.el (elmo-folder-set-message-modified): Set
3143 message-modified slot of itself if it does not require target msgdb.
3145 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3146 if folder length is zero.
3147 (elmo-mime-display-as-is): Ditto.
3149 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3151 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3153 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3155 * elmo.el (elmo-folder-set-message-modified): New method.
3156 (elmo-generic-folder-commit): Use it.
3157 (elmo-folder-synchronize): Ditto.
3159 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3160 (elmo-folder-commit): Remove duplicate definition.
3162 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3164 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3166 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3168 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3169 (elmo-strict-folder-diff): Ditto.
3170 (elmo-folder-set-info-max-by-numdb): Simplify.
3172 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3173 elmo-msgdb-list-messages.
3175 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3176 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3178 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3180 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3181 visible-only is non-nil.
3182 (elmo-folder-confirm-appends): Changed message.
3183 (elmo-folder-synchronize): Added argument disable-killed.
3185 * elmo-multi.el (elmo-folder-synchronize): Added argument
3188 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3190 * elmo-version.el (elmo-version): Up to 2.11.5.
3192 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3195 * elmo-util.el (elmo-list-filter): Simplify.
3197 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3198 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3199 (elmo-generic-folder-diff): Abolish argument.
3200 (elmo-msgdb-load): Don't use number-alist.
3202 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3204 * elmo-pipe.el (elmo-folder-diff): Ditto.
3206 * elmo-nmz.el (elmo-folder-diff): Ditto.
3208 * elmo-net.el (elmo-folder-diff): Ditto.
3210 * elmo-maildir.el (elmo-folder-diff): Ditto.
3212 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3214 * elmo-multi.el (elmo-folder-diff): Ditto
3215 (elmo-multi-folder-diff): Rewrite.
3217 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3219 * elmo-pipe.el (elmo-folder-msgdb): Define.
3221 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3223 * elmo.el (elmo-message-set-cached): Define as a method.
3225 * elmo-pipe.el (elmo-message-set-cached): Define.
3226 (elmo-find-fetch-strategy): Ditto.
3228 * elmo-multi.el (elmo-message-set-cached): Define.
3229 (elmo-find-fetch-strategy): Rewrite.
3231 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3233 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3235 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3237 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3238 instead of number-alist.
3240 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3241 mark nor message-id when msgdb of source folder is not loaded.
3243 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3245 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3247 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3249 * elmo.el (elmo-folder-length): Don't require msgdb.
3251 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3253 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3254 (elmo-message-field): Ditto.
3256 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3257 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3259 (elmo-map-folder-list-answereds): Define.
3260 (elmo-maildir-list-location): Treat 'R' info.
3261 (elmo-folder-msgdb-create): Treat flag-table.
3262 (elmo-folder-append-messages): Save flag-table.
3264 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3266 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3267 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3269 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3271 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3273 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3274 'read when mark is null.
3276 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3278 * elmo-version.el (elmo-version): Up to 2.11.4.
3280 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3282 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3283 (elmo-folder-mark-as-answered): Ditto.
3285 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3287 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3288 (elmo-pop3-get-session): Make msgdb directory after session.
3289 (elmo-folder-exists-p): Check exactly at the first time even when the
3290 elmo-pop3-exists-exactly is nil.
3292 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3293 (elmo-folder-list-messages): Define instead of
3294 elmo-folder-list-messages-internal.
3295 (elmo-folder-check): Check destination folder.
3296 (elmo-folder-synchronize): Drain the pipe.
3298 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3299 when msgdb is not loaded.
3301 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3303 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3304 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3307 * elmo.el (elmo-folder-kill-messages-before): New function.
3308 (elmo-folder-kill-messages): Ditto.
3309 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3311 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3312 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3313 killed not by synchronize (e.g. scoring).
3315 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3317 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3319 (elmo-folder-search): Follow the change above.
3321 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3322 into the candidates of search field.
3324 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3326 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3327 (elmo-msgdb-unset-flag): Ditto.
3329 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3331 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3333 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3334 (elmo-folder-commit): Define.
3335 (elmo-folder-synchronize): Ditto.
3336 (elmo-folder-list-flagged): Ditto.
3337 (elmo-folder-commit): Ditto.
3338 (elmo-folder-length): Ditto.
3339 (elmo-folder-count-flags): Ditto.
3340 (elmo-message-mark): Ditto.
3341 (elmo-message-field): Ditto.
3342 (elmo-message-entity): Ditto.
3343 (elmo-message-folder): Ditto.
3345 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3347 * elmo.el (elmo-message-field): Define as a method.
3349 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3350 (elmo-message-field): Define.
3352 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3353 (elmo-folder-list-importants): Ditto.
3354 (elmo-folder-list-answereds): Ditto.
3356 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3358 (elmo-folder-mark-as-read): Ditto.
3359 (elmo-folder-unmark-read): Ditto.
3360 (elmo-folder-mark-as-answered): Ditto.
3361 (elmo-folder-unmark-answered): Ditto.
3362 (elmo-folder-list-flagged): Define.
3363 (elmo-folder-commit): Ditto.
3364 (elmo-folder-length): Ditto.
3365 (elmo-folder-count-flags): Ditto.
3367 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3369 * elmo.el (elmo-folder-detach-messages): New method.
3370 (elmo-folder-move-messages): Use it.
3371 (elmo-folder-synchronize): Ditto.
3373 * elmo-multi.el (elmo-folder-detach-messages): Define.
3375 * elmo.el (elmo-message-copy-entity): New function.
3376 (elmo-message-entity-set-number): Ditto.
3377 (elmo-message-mark): Define as method.
3379 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3380 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3381 (elmo-message-entity): Fixed last change.
3382 (elmo-message-mark): Define.
3383 (elmo-folder-msgdb-create): Abolish.
3384 (elmo-multi-folder-append-msgdb): Ditto.
3385 (elmo-multi-folder-diff): Fixed.
3386 (elmo-multi-split-number-alist): Removed.
3387 (elmo-multi-split-mark-alist): Removed.
3388 (elmo-folder-list-messages): Define.
3389 (elmo-folder-list-messages-internal): Removed.
3391 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3392 local file messages.
3393 (elmo-folder-msgdb-create): Fixed read mark.
3395 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3397 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3400 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3402 * elmo.el (elmo-folder-list-message-entities): Define as inline
3404 (elmo-folder-messages): Abolish.
3406 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3408 (elmo-folder-synchronize): Define.
3409 (elmo-message-entity): Define.
3411 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3413 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3414 elmo-imap4-session-select-mailbox.
3416 * elmo.el (elmo-folder-move-messages): Don't display any message.
3418 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3420 (elmo-imap4-session-check): Don't wait CHECK response.
3421 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3423 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3425 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3427 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3429 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3431 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3434 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3435 (elmo-folder-list-message-entities): Added argument in-msgdb and
3437 (elmo-folder-synchronize): Define as a method.
3439 * elmo-nntp.el (elmo-folder-initialize): Don't use
3440 elmo-nntp-default-user if zero-length username is specified
3443 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3445 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3446 server name in case with username.
3447 (XXX: this is ad-hoc fix against username includes "@", it
3448 should be solved fundamentally)
3450 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3452 * elmo-nntp.el (elmo-nntp-debug): New function.
3453 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3454 (elmo-network-authenticate-session): Hide auth-info from the log.
3456 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3457 user name if it is equal to elmo-nntp-default-user.
3459 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3461 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3462 instead of shimbun-server-internal;
3463 Use shimbun-current-group instead of shimbun-current-group-internal.
3464 (elmo-folder-plugged-p): Use shimbun-server instead of
3465 shimbun-server-internal.
3466 (elmo-folder-set-plugged): Ditto.
3467 (elmo-net-port-info): Ditto.
3468 (elmo-folder-check): Ditto.
3469 (elmo-folder-expand-msgdb-path): Ditto.
3470 (elmo-folder-list-subfolders): Ditto.
3472 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3474 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3475 Convert field-name to lower case.
3476 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3478 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3480 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3481 `message' and `error' take format string.
3483 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3485 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3487 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3489 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3490 recursive call (can't byte compile on emacs 20.7).
3492 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3494 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3495 (elmo-folder-list-message-entities): New API.
3496 (elmo-message-entity): Ditto.
3497 (elmo-message-entity-parent): Ditto.
3498 (elmo-folder-do-each-message-entity): Ditto.
3499 (elmo-message-entity-number): Ditto.
3500 (elmo-message-entity-field): Ditto.
3501 (elmo-message-entity-set-field): Ditto.
3502 (elmo-folder-count-flags): Ditto.
3503 (elmo-folder-length): Ditto.
3505 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3508 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3509 (elmo-msgdb-count-marks): Abolish.
3510 (elmo-msgdb-make-entity): Ditto.
3511 (elmo-msgdb-do-each-entity): Ditto.
3512 (elmo-msgdb-message-entity): New inline function.
3513 (elmo-msgdb-message-entity-field): Ditto.
3514 (elmo-msgdb-message-entity-set-field): Ditto.
3515 (elmo-msgdb-make-message-entity): New function.
3517 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3519 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3520 to flag. (All other related portions are changed.)
3521 (elmo-folder-msgdb-create): Likewise.
3522 (elmo-generic-folder-append-messages): Use flag-table instead of
3524 (elmo-folder-move-messages): Removed redundant process.
3525 (elmo-folder-synchronize): Likewise.
3527 * elmo-msgdb.el (elmo-flag-table-get): New function.
3528 (elmo-flag-table-save): Fixed.
3529 (elmo-msgdb-length): New inline function.
3530 (elmo-msgdb-flag-table): New function.
3531 (elmo-msgdb-mark): Add optional argument new.
3532 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3533 (elmo-msgdb-seen-list): Ditto.
3534 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3537 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3539 * elmo.el (elmo-message-set-mark): Abolish.
3540 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3541 (All related portions are changed.)
3543 * elmo-msgdb.el (toplevel): Added comment.
3544 (elmo-load-msgdb): Added 4th element `path'.
3545 (elmo-msgdb-append): Follow the change above.
3546 (elmo-msgdb-clear): Ditto.
3547 (elmo-msgdb-delete-msgs): Ditto.
3548 (elmo-msgdb-get-path): New inline function.
3549 (elmo-msgdb-set-path): Ditto.
3550 (elmo-flag-table-filename): New variable.
3551 (elmo-flag-table-load): New function.
3552 (elmo-flag-table-set): Ditto.
3553 (elmo-flag-table-save): Ditto.
3554 (elmo-msgdb-get-field-value): Abolish.
3555 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3557 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3559 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3560 the folder has been deleted successfully.
3561 * elmo-imap4.el (elmo-folder-delete): Ditto.
3562 * elmo-archive.el (elmo-folder-delete): Ditto.
3563 * elmo-localdir.el (elmo-folder-delete): Ditto.
3564 * elmo-maildir.el (elmo-folder-delete): Ditto.
3566 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3568 * elmo-util.el (elmo-string-member-ignore-case): New function.
3569 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3570 (elmo-imap4-fetch-callback-1-subr): Likewise.
3572 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3574 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3575 the case of the name attribute "\Noselect".
3577 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3579 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3581 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3582 flist, is not always a member of onum-alist.
3584 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3586 * elmo-version.el (elmo-version): Up to 2.11.3.
3588 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3590 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3591 copied from localdir's one.
3593 * elmo-pipe.el (elmo-folder-rename): New method, rename
3594 destination folder with leaving source folder as it is.
3596 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3598 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3601 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3603 * elmo-version.el (elmo-version): Up to 2.11.2.
3605 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3607 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3608 shimbun-open in case of "@".
3609 (elmo-folder-open-internal): Cope with shimbun = nil case.
3610 (elmo-folder-plugged-p): Ditto.
3611 (elmo-folder-list-subfolders): Make list for "@/" group.
3613 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3615 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3616 mailbox (e.g. for %~/something).
3618 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3620 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3621 Replace nested conditional with guard clauses.
3623 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3625 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3628 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3631 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3633 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3634 Replace nested conditional with guard clauses.
3636 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3638 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3639 (elmo-passwd-alist-save): Ditto.
3640 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3642 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3644 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3645 dir-name only if it is absolute path.
3646 (TODO: distinguish +/something and +something)
3648 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3650 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3651 path for "+~/something".
3653 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3655 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3656 as non-directory, cause error before rename-file.
3657 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3658 apropriately, mimic localdir's one.
3659 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3661 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3663 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3665 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3667 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3669 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3671 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3672 is included in the global-mark or not.
3674 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3676 * utf7.el (toplevel): Avoid error when the function
3677 find-coding-system does not exist.
3679 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3681 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3682 cache even if the folder is plugged.
3683 (elmo-nntp-search-primitive): Do nothing when body search is
3684 invoked (although it is not used by the change above).
3685 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3687 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3689 * elmo-version.el (elmo-version): Up to 2.11.1.
3691 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3693 * elmo-archive.el: Specify charset.
3695 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3697 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3698 process buffer lives or not.
3700 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3701 while flushing queues (It causes infinite loop).
3703 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3705 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3707 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3709 * utf7.el (toplevel): Check the ucs features dynamically.
3710 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3712 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3713 folder is creatabe or not if it already exists.
3715 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3717 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3719 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3721 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3722 (elmo-imap4-read-response): Take care of garbage response.
3724 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3726 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3727 just return nil instead of error.
3729 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3731 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3732 search-key is "body".
3734 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3736 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3737 of elmo-string-matched-assoc to use match-data.
3738 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3740 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3742 * elmo-split.el (elmo-split->): New function.
3743 (elmo-split-<): Ditto.
3745 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3747 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3748 workaround for invalid message-id.
3750 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3752 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3753 return normal pop3 session or pop3 biff session.
3755 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3757 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3758 info part to the cur files when the new files already have it.
3759 (Adviced by Jared Rhine <jared@wordzoo.com>)
3761 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3763 * elmo-split.el (elmo-split-default-action): New variable.
3764 (elmo-split-subr): Use it if all other conditions are passed.
3765 Extend `fname' and rename it as `action'. (implemented
3766 Teranishi-san's idea in [wl:10800])
3768 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3770 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3771 * elmo-util.el: Ditto.
3773 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3775 * elmo.el (elmo-message-accessible-p): Renamed from
3776 elmo-message-cached-p and rewritten.
3778 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3780 * elmo.el (elmo-folder-list-flagged): New generic function.
3781 (elmo-folder-list-importants): New implementation.
3782 (elmo-folder-list-answereds): Ditto.
3783 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3785 (elmo-message-cached-p): New function.
3786 (elmo-message-set-flag): Ditto (no content).
3787 (elmo-message-unset-flag): Ditto.
3788 (elmo-folder-list-messages-mark-match): Abolish.
3790 * elmo-util.el (elmo-regexp-opt): New function.
3792 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3793 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3795 (elmo-msgdb-list-flagged): New function.
3797 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3798 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3801 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3803 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3805 * elmo-version.el (elmo-version): Up to 2.11.0.
3807 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3809 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3810 `elmo-file-cache-exists-p'; use proper mark that depends on
3812 (elmo-msgdb-unset-flag): Ditto.
3813 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3815 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3816 with 4th argument `use-cache'.
3818 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3820 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3821 (elmo-folder-mark-as-important): Ditto.
3822 (elmo-folder-unmark-read): Ditto.
3823 (elmo-folder-mark-as-read): Ditto.
3824 (elmo-folder-unmark-answered): Ditto.
3825 (elmo-folder-mark-as-answered): Ditto.
3827 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3829 (elmo-msgdb-mark): Likewise.
3830 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3831 (elmo-msgdb-unset-flag): Likewise.
3833 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3835 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3837 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3840 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3842 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3843 set spool-length to 0.
3845 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3847 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3848 (elmo-dop-queue-flush): Fixed last change.
3850 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3852 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3853 if require-msgdb slot is nil.
3854 (elmo-folder-list-importants): Likewise.
3856 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3858 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3861 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3862 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3865 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3867 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3869 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3871 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3873 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3875 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3877 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3878 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3880 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3882 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3883 the problem reported by Sean Rima [wl-en:180].
3885 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3887 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3889 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3891 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3893 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3895 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3897 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3899 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3901 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3903 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3906 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3908 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3909 (elmo-folder-mark-as-read): Follow the API change.
3910 (elmo-message-set-cached): New function.
3912 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3914 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3916 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3917 (elmo-folder-mark-as-important): Ditto.
3918 (elmo-folder-unmark-read): Ditto.
3919 (elmo-folder-mark-as-read): Ditto.
3920 (elmo-folder-unmark-answered): Ditto.
3921 (elmo-folder-mark-as-answered): Ditto.
3923 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3924 (elmo-folder-unmark-important): Ditto.
3925 (elmo-folder-mark-as-read): Ditto.
3926 (elmo-folder-unmark-read): Ditto.
3927 (elmo-folder-mark-as-answered): Ditto.
3928 (elmo-folder-unmark-answered): Ditto.
3930 * elmo-mark.el (toplevel): Removed some mark method definitions.
3932 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3933 (elmo-map-folder-mark-as-answered): Ditto.
3934 (elmo-folder-unmark-important): Add :before qualifier.
3935 (elmo-folder-mark-as-important): Ditto.
3936 (elmo-folder-unmark-read): Ditto.
3937 (elmo-folder-mark-as-read): Ditto.
3938 (elmo-folder-unmark-answered): Define.
3939 (elmo-folder-mark-as-answered): Ditto.
3941 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3942 (elmo-map-folder-unmark-answered): Ditto.
3944 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3946 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3947 (elmo-folder-mark-as-important): Ditto.
3948 (elmo-folder-unmark-read): Ditto.
3949 (elmo-folder-mark-as-read): Ditto.
3950 (elmo-folder-unmark-answered): Ditto.
3951 (elmo-folder-mark-as-answered): Ditto.
3953 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3954 `mark'; evaluate mark condition.
3955 (elmo-msgdb-match-condition-internal): New function.
3956 (elmo-msgdb-match-condition): Call it; changed argument.
3958 * elmo.el (elmo-folder-search): Follow the API change on
3959 `elmo-msgdb-match-condition'.
3961 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3963 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3964 original mark is non-nil.
3966 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3968 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3969 (elmo-map-folder-list-answereds): New method.
3970 (elmo-folder-list-unreads): Add :around qualifier.
3971 (elmo-folder-list-importants): Ditto.
3972 (elmo-folder-list-answereds): Ditto.
3974 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3976 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3978 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3979 method if msgdb is not required.
3980 (elmo-filter-folder-list-importants): Don't treat global-mark.
3982 * elmo.el (elmo-folder-list-importants): Ditto.
3984 * elmo-net.el (elmo-folder-list-importants): Ditto.
3986 * elmo-map.el (elmo-folder-list-importants): Ditto.
3988 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
3990 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
3991 (elmo-imap4-folder-list-any-plugged): New function.
3992 (elmo-imap4-search-internal-primitive): Use it.
3994 * elmo-filter.el (elmo-folder-check): Synchronize original folder
3995 only when require-msgdb slot is non-nil.
3996 (elmo-folder-close): Clear target folder's msgdb.
3998 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4000 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4001 (elmo-pop3-msgdb-create-by-header): Ditto.
4002 (elmo-pop3-msgdb-create-message): Ditto.
4004 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4006 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4008 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4010 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4011 (elmo-folder-msgdb-create): Ditto.
4012 (elmo-nntp-folder-msgdb-create): Ditto.
4013 (elmo-nntp-msgdb-create-by-header): Ditto.
4014 (elmo-nntp-msgdb-create-message): Ditto.
4015 (elmo-folder-list-unreads): Define.
4017 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4018 (elmo-folder-append-messages): Ditto.
4019 (elmo-folder-list-unreads): Define.
4020 (elmo-folder-list-importants): Ditto.
4021 (elmo-folder-list-answereds): Ditto.
4023 * elmo-net.el (elmo-folder-list-unreads): Define.
4024 (elmo-folder-list-importants): Ditto.
4025 (elmo-folder-list-answereds): Ditto.
4026 (elmo-folder-list-answereds-plugged): Ditto.
4027 (elmo-folder-msgdb-create): Follow the API change.
4028 (elmo-folder-msgdb-create-unplugged): Ditto.
4029 (elmo-folder-unmark-answered): Define.
4030 (elmo-folder-mark-as-answered-unplugged): Ditto.
4031 (elmo-folder-unmark-answered-unplugged): Ditto.
4033 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4034 (elmo-msgdb-unread-uncached-mark): Ditto.
4035 (elmo-msgdb-unread-cached-mark): Ditto.
4036 (elmo-msgdb-read-uncached-mark): Ditto.
4037 (elmo-msgdb-answered-cached-mark): Ditto.
4038 (elmo-msgdb-answered-uncached-mark): Ditto.
4039 (elmo-msgdb-important-mark): Ditto.
4040 (elmo-msgdb-set-mark): Rewrite.
4041 (elmo-msgdb-count-marks): Rewrite.
4042 (elmo-msgdb-mark-alist-set): Abolish.
4043 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4044 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4046 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4047 (elmo-folder-close): Define.
4048 (elmo-folder-msgdb-create): Follow the API change.
4049 (elmo-folder-list-unreads): Rewrite.
4050 (elmo-folder-mark-as-important): Ditto.
4051 (elmo-folder-unmark-important): Ditto.
4052 (elmo-folder-mark-as-read): Ditto.
4053 (elmo-folder-unmark-read): Ditto.
4054 (elmo-folder-mark-as-answered): Define.
4055 (elmo-folder-unmark-answered): Ditto.
4057 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4058 (elmo-folder-append-messages): Ditto.
4060 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4062 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4063 (elmo-folder-list-importants): Ditto.
4065 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4066 (elmo-folder-append-messages): Ditto.
4068 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4070 (elmo-folder-msgdb-create-plugged): Ditto.
4071 (elmo-folder-append-messages): Ditto.
4072 (elmo-folder-list-answereds-plugged): Define.
4073 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4074 (elmo-folder-unmark-answered-plugged): Define.
4075 (elmo-folder-mark-as-answered-plugged): Ditto.
4076 (elmo-folder-search-requires-msgdb-p): Ditto.
4078 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4079 (elmo-folder-initialize): Set it.
4080 (elmo-folder-msgdb): Define.
4081 (elmo-folder-check): Call elmo-folder-synchronize.
4082 (elmo-folder-close): Define.
4083 (elmo-folder-commit): Ditto.
4084 (elmo-folder-msgdb-create): Rewrite.
4085 (elmo-folder-list-unreads): Ditto.
4086 (elmo-folder-list-importants): Ditto.
4087 (elmo-folder-mark-as-read): Ditto.
4088 (elmo-folder-unmark-read): Ditto.
4089 (elmo-folder-mark-as-important): Ditto.
4090 (elmo-folder-unmark-important): Ditto.
4091 (elmo-folder-mark-as-answered): Define.
4092 (elmo-folder-unmark-answered): Ditto.
4094 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4095 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4096 (elmo-dop-queue-method-name-alist): Likewise.
4097 (elmo-folder-mark-as-answered-dop): New inline function.
4098 (elmo-folder-unmark-answered-dop): Ditto.
4099 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4101 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4102 (elmo-folder-msgdb-create): Ditto.
4103 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4104 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4105 (elmo-archive-parse-mmdf): Ditto.
4107 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4108 (elmo-folder-list-unreads-internal): Ditto.
4110 * elmo.el (elmo-folder-msgdb): Define as generic function.
4111 (elmo-folder-list-messages): Added argument `in-msgdb'.
4112 (elmo-folder-list-unreads): Define as generic function.
4113 (elmo-folder-list-importants): Ditto.
4114 (elmo-folder-list-answereds): Ditto.
4115 (elmo-folder-list-messages-with-global-mark): New function.
4116 (elmo-folder-msgdb-create): Removed mark arguments.
4117 (elmo-folder-unmark-answered): New generic function.
4118 (elmo-folder-mark-as-answered): Ditto.
4119 (elmo-folder-append-messages): Removed argunment `unread-marks'
4120 (elmo-folder-list-unreads-internal): Abolish.
4121 (elmo-folder-list-importants-internal): Ditto.
4122 (elmo-folder-search-requires-msgdb-p): New generic function.
4123 (elmo-folder-search-requires-msgdb-p-internal): New function.
4124 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4126 (elmo-folder-search-fast): Added key 'mark'.
4127 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4128 instead of unread-marks argument.
4129 (elmo-folder-move-messages): Removed argunment `unread-marks'
4130 (elmo-folder-unmark-important): Define.
4131 (elmo-folder-mark-as-important): Ditto.
4132 (elmo-folder-unmark-read): Ditto.
4133 (elmo-folder-mark-as-read): Ditto.
4134 (elmo-folder-unmark-answered): Ditto.
4135 (elmo-folder-mark-as-answered): Ditto.
4136 (elmo-folder-replace-marks): Abolish.
4137 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4139 (elmo-folder-synchronize): Removed mark arguments;
4140 return crosspost only number.
4142 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4144 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4145 Remove redundunt connectivity check.
4147 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4149 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4150 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4152 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4154 * pldap.el (ldap-decode-string): Return string as-is if
4155 `ldap-coding-system' is nil.
4156 (ldap-encode-string): Ditto.
4157 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4158 (ldap-default-host): Fixed docstring.
4160 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4162 * elmo-util.el (elmo-warning): Define as a macro which uses
4163 `display-warning' if it is defined as a function.
4165 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4166 (elmo-split-equal): Use it.
4167 (elmo-split-match): Ditto.
4168 (elmo-split-message-entity): New buffer-local variable.
4169 (elmo-split-subr): Set it.
4171 * elmo-version.el (elmo-version): Up to 2.9.15.
4173 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4175 * elmo-imap4.el (elmo-network-initialize-session):
4176 Check capability after starttls.
4178 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4180 * elmo-util.el (elmo-list-delete): Added optional argument
4183 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4185 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4187 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4189 * elmo-imap4.el (elmo-folder-initialize): Don't use
4190 elmo-imap4-default-mailbox.
4192 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4194 * elmo-split.el (toplevel): Use `product-provide'.
4195 (elmo-split): Checkdoc.
4197 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4199 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4200 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4201 the function `elmo-imap4-debug-1'.
4203 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4205 * elmo-split.el (elmo-split): Moved to run hooks and to show
4206 message from elmo-split-subr.
4207 (elmo-split-subr): Follow the change above.
4209 * elmo-split.el (elmo-split-subr): New function (renamed from
4211 (elmo-split): Changed to call elmo-split-subr by element of
4213 (elmo-split-folder): Changed customization type to choice.
4215 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4217 * elmo-split.el (elmo-split-and): Fixed condition.
4219 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4221 * elmo-split.el: New file.
4222 (elmo-split): Fixed logic.
4223 Display "Test:" instead of "Folder:" when reharsal.
4225 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4228 * elmo-version.el (elmo-version): Up to 2.9.14.
4230 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4233 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4235 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4236 message with no message-id field.
4238 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4240 * elmo-version.el (elmo-version): Up to 2.9.13.
4242 * elmo-dop.el (elmo-folder-status-dop): Fix.
4244 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4246 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4248 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4249 changing default value of default-mime-charset.
4250 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4252 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4254 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4255 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4256 instead of elmo-dop-queue-method-name-alist to check merging queue.
4257 (elmo-folder-delete-messages-dop): Delete from queue if negative
4259 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4260 file is already removed.
4262 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4264 * elmo-vars.el: Bind colon keywords for old Emacsen.
4266 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4268 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4269 against non-exsisting charset.
4271 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4273 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4274 Use eword-decode-and-unfold-unstructured-field-body.
4276 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4277 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4278 exists to decode raw subject string.
4279 (toplevel): Require 'mime.
4281 * elmo-version.el (elmo-version): Up to 2.9.12.
4283 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4285 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4286 (elmo-msgdb-set-mark): Ditto.
4288 * elmo-version.el (elmo-version): Up to 2.9.11.
4290 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4292 * elmo-util.el (elmo-delete-match-files): New function.
4294 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4295 instead of elmo-delete-directory.
4297 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4298 elmo-hash-minimun-size as 63.
4300 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4301 elmo-diff-unread is nil.
4303 * elmo-imap4.el (elmo-folder-open): Fix.
4305 * elmo.el (elmo-message-mark): Rewrite.
4306 (elmo-message-field): Ditto.
4307 (elmo-message-set-mark): Ditto.
4308 (elmo-folder-replace-marks): New function.
4309 (elmo-generic-folder-append-msgdb): Removed third argument for
4311 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4312 (elmo-msgdb-load): New implementation.
4314 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4316 * elmo-util.el (elmo-list-insert): New implementation.
4318 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4319 argument for elmo-msgdb-append.
4322 * elmo-msgdb.el (elmo-load-msgdb): New function.
4323 (elmo-make-msgdb): Ditto.
4324 (elmo-msgdb-get-index): New inline function.
4325 (elmo-msgdb-set-index): Ditto.
4326 (elmo-msgdb-get-entity-hashtb): Ditto.
4327 (elmo-msgdb-get-mark-hashtb): Ditto.
4328 (elmo-msgdb-get-mark): Ditto.
4329 (elmo-msgdb-set-mark): Ditto.
4330 (elmo-msgdb-count-marks): Ditto.
4331 (elmo-msgdb-get-number): Ditto.
4332 (elmo-msgdb-get-field): Ditto.
4333 (elmo-msgdb-seen-list): Ditto.
4334 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4335 (elmo-msgdb-delete-msgs): Follow the changes above.
4336 (elmo-msgdb-overview-get-entity): Ditto.
4337 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4338 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4340 (elmo-msgdb-make-index): Likewise.
4341 (elmo-msgdb-append): Removed third argument.
4342 (elmo-msgdb-clear): Clear index as nil.
4343 (elmo-folder-set-info-hashtb): Removed.
4344 (elmo-folder-set-info-max-by-numdb): Ditto.
4345 (elmo-folder-info-make-hashtb): Ditto.
4347 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4349 * elmo-map.el (elmo-folder-pack-number): Ditto.
4351 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4353 * elmo-version.el (elmo-version): Up to 2.9.10.
4355 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4357 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4359 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4361 * elmo-utils.el (elmo-make-directory): Add option.
4362 Default file mode is 700.
4364 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4366 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4368 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4370 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4373 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4376 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4378 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4379 (elmo-shimbun-folder-entity-hash): New function.
4380 (elmo-shimbun-folder-shimbun-header): Ditto.
4381 (elmo-shimbun-entity-to-header): Ditto.
4382 (elmo-shimbun-msgdb-to-headers): Removed.
4383 (elmo-shimbun-folder-setup): Ditto.
4384 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4386 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4387 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4388 Removed useless local bind.
4389 (elmo-folder-open-internal): Don't call
4390 `elmo-shimbun-folder-setup'.
4391 (elmo-folder-close-internal): Clear entity-hash slot.
4392 (elmo-folder-clear): Ditto.
4393 (elmo-shimbun-msgdb-create-entity): Use
4394 `elmo-shimbun-folder-shimbun-header'.
4395 (elmo-map-message-fetch): Ditto.
4396 (elmo-shimbun-update-overview): Use overview entity instead of
4397 shimbun header to lookup id by references.
4398 (elmo-map-folder-list-message-locations): Use not only headers but
4399 also overviews to list locations.
4401 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4403 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4406 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4408 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4410 * elmo-util.el (elmo-read-search-condition-internal): Give default
4413 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4415 * elmo-util.el (elmo-condition-parse-search-value): Accept
4416 YYYY-MM-DD format to search.
4417 * elmo-date.el (elmo-date-get-datevec): Likewise.
4419 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4421 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4424 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4426 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4429 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4431 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4432 case from `elmo-folder-exists-p'.
4433 (elmo-folder-exists-p): Removed.
4434 (elmo-folder-creatable-p) Ditto.
4436 * elmo-net.el (elmo-folder-create): Defined.
4437 (elmo-folder-create-unplugged): New function.
4438 (elmo-folder-exists-p): Changed default value to nil from t.
4440 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4441 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4443 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4444 `elmo-create-folder-dop' and append queue
4445 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4446 (elmo-folder-create-dop-delayed): New function.
4448 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4450 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4452 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4453 (elmo-folder-writable-p) : Ditto.
4455 * elmo-version.el (elmo-version): Up to 2.9.9.
4457 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4459 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4460 `elmo-message-use-cache-p' returns nil.
4461 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4462 (ignore cache file and refer the substance in local folders)
4464 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4466 * elmo-version.el (elmo-version): Up to 2.9.8.
4468 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4470 * elmo-version.el (elmo-version): Up to 2.9.7.
4472 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4474 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4476 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4478 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4480 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4482 (elmo-map-folder-list-message-locations): Reverse location list.
4484 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4486 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4488 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4490 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4492 (elmo-nntp-folder-list-subfolders): Follow the change above.
4494 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4496 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4497 name if authentication type is specified.
4499 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4501 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4503 (elmo-default-nntp-stream-type): Ditto.
4504 (elmo-default-pop3-stream-type): Ditto.
4506 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4508 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4510 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4512 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4514 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4516 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4517 (elmo-maildir-folder-path): Ditto.
4518 (elmo-maildir-list): Ditto (abolished).
4520 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4522 * elmo-version.el (elmo-version): Up to 2.9.6.
4524 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4526 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4527 (elmo-maildir-folder-path): Ditto.
4528 (elmo-msgdb-directory): Ditto.
4529 (elmo-passwd-life-time): Ditto.
4530 (elmo-msgdb-extra-fields): Ditto.
4531 (elmo-enable-disconnected-operation): Ditto.
4533 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4535 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4537 (elmo-pop3-default-authenticate-type): Ditto.
4539 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4541 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4543 (elmo-pop3-default-authenticate-type): Ditto.
4545 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4547 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4548 mailbox to new-folder.
4550 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4552 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4553 less than new, set new as unread.
4555 * elmo-util.el (elmo-string): Don't put text-property if nil.
4557 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4559 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4560 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4562 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4564 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4565 is nil on `completing-read'.
4567 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4569 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4571 (elmo-imap4-parse-namespace-subr): Ditto.
4572 (elmo-folder-list-subfolders): Append a delimiter when the specified
4573 folder path is a root with namespace and does not end with delimiter.
4575 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4577 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4580 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4582 * elmo-util.el (elmo-save-buffer): The first argument of message
4583 is a format control string.
4585 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4587 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4588 `elmo-folder-diff').
4589 (elmo-diff-unread): Likewise.
4591 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4593 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4594 is t on `completing-read'.
4596 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4598 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4599 method of target folder with self mark-alist if MARK-ALIST is nil.
4601 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4603 * elmo-version.el (elmo-version): Up to 2.9.5.
4605 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4607 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4608 (elmo-dop-merge-funcs): Remove.
4610 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4612 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4613 Return t if PATH is directory, too.
4614 Use `dolist' instead of while loop.
4616 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4618 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4621 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4623 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4625 (elmo-folder-list-messages-unplugged): Return t if
4626 elmo-enable-disconnected-operation is nil.
4628 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4629 `elmo-folder-list-messages-internal'.
4631 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4633 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4634 Change to looking-at `[23][0-9]+'.
4635 (elmo-network-initialize-session): Use 'error-msg'
4636 * elmo-net.el (elmo-network-open-session): Set unplugged
4637 if elmo-network-initialize-session returns 'elmo-open-err.
4639 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4641 * elmo-version.el (elmo-version): Up to 2.9.4.
4643 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4645 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4646 `elmo-folder-list-messages-internal'.
4648 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4650 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4651 (elmo-message-match-condition): New method.
4652 (elmo-folder-search-fast): New inline function.
4653 (elmo-msgdb-search): Removed.
4655 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4656 target folder if it is unplugged.
4657 (elmo-folder-list-messages-internal): Return t if target folder is
4658 unplugged and itself is persistent; In this case, use list be
4661 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4662 (elmo-msgdb-search-internal-primitive): Ditto.
4663 (elmo-msgdb-match-condition): New function.
4664 (elmo-msgdb-match-condition-primitive): Ditto.
4666 * elmo-util.el (elmo-filter-condition-p): New macro.
4668 * elmo-cache.el (elmo-folder-search): Removed.
4670 * elmo-localdir.el (elmo-folder-search): Ditto.
4672 * elmo-maildir.el (elmo-folder-search): Ditto.
4674 * elmo-mark.el (elmo-folder-search): Ditto.
4676 * elmo-nmz.el (elmo-folder-search): Ditto.
4678 * elmo-sendlog.el (elmo-folder-search): Ditto.
4680 * elmo-shimbun.el (elmo-folder-search): Ditto.
4682 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4683 if folder is unplugged.
4685 * elmo-nntp.el (elmo-folder-search): Likewise.
4686 (elmo-nntp-search-internal): New function.
4688 * elmo-version.el (elmo-version): Up to 2.9.3.
4690 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4692 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4694 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4696 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4698 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4700 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4702 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4704 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4705 (elmo-map-folder-list-message-locations): Do drive letter conversion
4706 on Windows environment.
4707 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4708 (elmo-map-message-fetch): Ditto.
4710 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4712 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4713 (elmo-network-initialize-session): Ditto.
4715 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4717 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4719 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4721 * elmo-util.el (elmo-progress-clear): Ditto.
4723 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4724 `DD-Mon-YYYY' type date.
4726 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4728 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4729 `elmo-date-make-sortable-string' instead of
4730 `timezone-make-date-sortable'.
4732 * elmo-date.el (elmo-date-make-sortable-string): Use
4733 `timezone-make-time-string'.
4735 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4737 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4739 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4740 `since'; Fix timezone.
4742 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4744 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4746 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4748 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4750 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4752 * elmo.el (elmo-generic-folder-append-messages): Make
4753 fetch-strategy with `use-cache' as 'maybe. Check return value of
4754 `elmo-message-fetch'.
4755 (elmo-message-fetch): Return return value of
4756 `elmo-message-fetch-with-cache-process'.
4757 (elmo-message-fetch-with-cache-process): Return non-nil if
4758 fetching was succeed. Load cache when fetching was failed and
4759 fetch-strategy-use-cache is 'maybe.
4761 * elmo-util.el (elmo-file-cache-load): New function.
4763 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4766 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4767 non-nil if fetching was succeed.
4769 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4771 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4773 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4774 (elmo-message-fetch-with-cache-process): Likwise.
4776 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4778 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4780 * elmo-version.el (elmo-version): Up to 2.9.2.
4782 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4784 * elmo.el (elmo-folder-delete): Delete msgdb path.
4786 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4788 * elmo-maildir.el (elmo-folder-delete): Ditto.
4790 * elmo-localdir.el (elmo-folder-delete): Ditto.
4792 * elmo-imap4.el (elmo-folder-delete): Ditto.
4794 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4796 * elmo.el (luna-define-class): Added `biff' slot.
4798 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4799 (elmo-pop3-debug-inhibit-logging): Abolished.
4800 (elmo-network-close-session): Eliminated needless let.
4801 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4802 (elmo-pop3-send-command): Added `no-log' argument.
4803 (elmo-pop3-process-filter): Use `with-current-buffer'.
4804 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4806 (elmo-pop3-auth-apop): Likewise.
4807 (elmo-network-authenticate-session): Likewise.
4809 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4812 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4813 string to determine protocol.
4814 (elmo-network-session-name-prefix): Abolished.
4815 (elmo-network-session-cache-key): Follow the change above.
4816 (elmo-network-open-session): Ditto.
4818 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4819 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4821 * elmo-version.el (elmo-version): Up to 2.9.1.
4823 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4824 unmatch condition checking.
4826 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4829 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4831 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4833 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4835 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4836 test for while loop to execute at least one SEARCH command.
4838 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4840 * elmo-version.el (elmo-version): Up to 2.9.0.
4842 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4844 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4845 (elmo-archive-folder-path): Define.
4846 (elmo-folder-initialize): Setup `dir-name' slot.
4847 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4848 Use `dir-name' as prefix of each subfolders.
4849 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4851 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4853 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4854 (elmo-pipe-folder-list-target-messages): New internal function.
4855 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4857 (elmo-pipe-folder-copied-list-load): New function.
4858 (elmo-pipe-folder-copied-list-save): Ditto.
4859 (elmo-folder-open-internal): Follow the change above.
4860 (elmo-folder-status): Fixed for copy.
4862 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4864 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4866 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4868 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4869 elmo-copy-file instead of elmo-add-name-to-file.
4871 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4873 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4876 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4877 of accept-process-output as 1.
4878 (elmo-pop3-read-contents): Ditto.
4879 (elmo-pop3-read-body): Ditto.
4881 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4883 * elmo-version.el (product-version-as-string): Remove define.
4885 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4887 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4888 (elmo-imap4-copy-messages): Chop number set using
4889 `elmo-imap4-number-set-chop-length'.
4890 (elmo-imap4-set-flag): Ditto.
4891 (elmo-imap4-search-internal-primitive): Ditto.
4893 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4895 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4896 `elmo-folder-make-temp-dir'
4898 * elmo-vars.el (elmo-cache-directory): New variable.
4899 (elmo-cache-dir): Abolished.
4900 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4902 * elmo-version.el (elmo-version): Up to 2.7.7.
4904 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4906 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4907 defcustom; Set default value as t.
4909 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4911 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4912 (ldap-search-program-arguments): Changed default value.
4913 (ldap-search-basic): Accept exit status 4.
4914 (ldap/field-body): Parse options.
4915 (ldap/collect-field): Ditto.
4916 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4918 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4919 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4920 (elmo-imap4-accept-ok): Ditto.
4921 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4922 'notify-bye, only BYE error is reported.
4923 (elmo-folder-exists-p-plugged): Set no-error argument of
4924 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4926 * elmo.el (elmo-imap4-bye-error): Changed message.
4928 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4929 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4930 queues (It causes infinite loop).
4932 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4934 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4935 (RECENT UNSEEN MESSAGES) extension.
4937 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4939 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4940 Check number of overview fields.
4942 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4944 * elmo.el (elmo-folder-confirm-appends): Changed message.
4945 (elmo-folder-confirm-appends): Ditto.
4947 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4949 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4951 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4953 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4954 of elmo-folder-update-threshold is nil, which can be set by
4955 wl-summary-update-confirm-threshold.
4957 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4959 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4960 (elmo-nmz-index-alias-alist): Ditto.
4961 (elmo-map-folder-list-message-locations): Follow the change above.
4963 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4965 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4967 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4969 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4971 * elmo-util.el (elmo-read): Ditto.
4972 (elmo-display-error): Ditto.
4974 * elmo-vars.el (elmo-date-match): Ditto.
4976 * pldap.el (ldap-coding-system): Ditto.
4978 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4979 `elmo-inhibit-number-mapping' as nil.
4981 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4983 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
4984 space delimiter for list response.
4986 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4988 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
4990 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4992 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
4993 (elmo-map-message-fetch): Fix.
4994 * elmo-map.el (elmo-folder-status): Fix for killed.
4996 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4998 * elmo-sendlog.el: New file.
4999 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5001 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5003 * acap.el (acap-logging-out): New buffer local variable.
5004 (acap-close): Set it.
5005 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5008 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5010 * acap.el (acap-response-bye-p): New function.
5011 (acap-response-bye-message): Ditto.
5012 (acap-wait-for-response): If bye response is received, cause an error.
5013 (acap-parse-response): Make bye response when 'Bye' is received.
5015 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5017 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5019 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5021 * elmo-util.el (elmo-copy-file): Added argument
5022 `ok-if-already-exists'.
5023 (elmo-copy-file): Fixed typo.
5025 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5027 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5029 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5031 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5033 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5035 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5038 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5040 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5041 (elmo-folder-initialize): Fix for `copy'.
5042 (elmo-pipe-drain): Ditto.
5043 (elmo-folder-open-internal): Ditto.
5044 (elmo-folder-newsgroups): Fix.
5046 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5048 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5051 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5052 recent value is returned from imap folder.
5054 * elmo.el (elmo-folder-newsgroups): New generic function.
5056 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5057 (elmo-folder-initialize): Set it.
5058 (elmo-folder-expand-msgdb-path): Use it.
5059 (elmo-folder-newsgroups): Define.
5061 * elmo-filter.el (elmo-folder-newsgroups): Define.
5063 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5065 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5067 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5069 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5071 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5073 (elmo-shimbun-header-extra-field): New inline function.
5074 (elmo-shimbun-header-set-extra-field): Ditto.
5075 (elmo-shimbun-folder-header-hash-setup): Ditto.
5076 (elmo-shimbun-update-overview): Ditto.
5077 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5078 (elmo-shimbun-folder-setup): Use
5079 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5080 (elmo-shimbun-get-headers): Ditto.
5081 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5082 Insert `X-Shimbun-Id:' header if extra field is set.
5083 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5084 field's value instead of `shimbun-header-id'.
5086 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5088 (elmo-msgdb-overview-entity-set-date): Ditto.
5089 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5091 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5093 * mmimap.el (mmimap-entity-section): Changed body node number from
5096 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5098 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5099 `elmo-folder-delete-messages'.
5101 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5102 (elmo-folder-initialize): Changed to expand alias into index path.
5104 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5105 `elmo-mime-insert-header-from-buffer' with 6th arg
5108 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5110 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5112 * elmo.el (elmo-diff-new): New inline function.
5113 (elmo-diff-unread): Ditto.
5114 (elmo-diff-all): Ditto.
5116 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5117 value from responseb.
5118 (elmo-imap4-folder-diff-plugged): Ditto.
5119 (elmo-imap4-server-diff-async): Added recent argument.
5120 (elmo-server-diff-async): Ditto.
5121 (elmo-imap4-folder-diff-plugged): Ditto.
5123 * elmo-version.el (elmo-version): Up to 2.7.6.
5125 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5127 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5130 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5132 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5134 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5136 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5138 * elmo-multi.el (elmo-folder-initialize): Ditto.
5140 * elmo-util.el (elmo-parse-token): New function.
5141 (elmo-parse-prefixed-element): Ditto.
5143 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5145 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5147 (elmo-imap4-accept-ok): Ditto.
5149 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5151 * mmimap.el (mime-imap-entity-header-string): Don't check first
5152 element of node-id is `0' (Follow last change).
5154 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5156 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5157 assigned irregular node-id to nested multipart section.
5158 (initialize-instance): Followed above change.
5160 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5162 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5163 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5164 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5165 `elmo-shimbun-get-headers');
5166 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5167 visible article on summary exists in headers).
5168 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5170 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5172 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5175 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5177 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5179 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5181 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5182 header separator into loop condition.
5184 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5186 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5187 Return duplicate folder if it has subfolder.
5189 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5191 * elmo.el (elmo-make-folder): Add folder name error check.
5193 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5194 (elmo-nntp-encode-group-string): New inline function.
5195 (elmo-nntp-decode-group-string): Ditto.
5196 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5197 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5198 Use `not' instead of `null';
5199 Use elmo-nntp-decode-group-string.
5201 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5203 * elmo-version.el (elmo-version): Up to 2.7.5.
5205 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5207 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5208 Hide progress gauge if `elmo-folder-move-messages' exits
5211 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5213 * elmo-imap4.el (elmo-folder-initialize): Use
5214 `elmo-imap4-encode-folder-string' for folder name.
5216 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5218 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5221 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5223 * elmo-util.el (elmo-progress-counter-alist): New internal
5225 (elmo-progress-counter-value): New macro.
5226 (elmo-progress-counter-all-value): Ditto.
5227 (elmo-progress-counter-format): Ditto.
5228 (elmo-progress-counter-set-value): Ditto.
5229 (elmo-progress-set): New function.
5230 (elmo-progress-clear): Ditto.
5231 (elmo-progress-notify): Ditto.
5233 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5236 * elmo.el (elmo-generic-folder-append-messages): Call
5237 `elmo-progress-notify'.
5238 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5240 * elmo-archive.el (elmo-folder-append-messages): Call
5241 `elmo-progress-notify'.
5243 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5245 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5247 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5249 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5251 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5253 (elmo-message-encache-dop): Added argument `read'.
5255 * elmo-shimbun.el (elmo-message-encache): Ditto.
5257 * elmo-net.el (elmo-message-encache): Ditto.
5259 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5260 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5261 elmo-imap4-seen-messages.
5262 (elmo-folder-msgdb-create-plugged): Initialize
5263 elmo-imap4-seen-messages;
5264 Set seen mark on elmo-imap4-seen-messages.
5266 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5268 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5269 elmo-folder-append-buffer.
5270 (elmo-folder-encache): Added optional argument `read'.
5271 (elmo-message-encache): Ditto.
5273 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5275 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5277 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5278 if append buffer content succeds.
5280 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5282 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5283 elmo-display-progress.
5285 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5286 Set 4th argument of mime-display-message.
5287 (elmo-mime-display-as-is): Ditto.
5289 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5291 * elmo-nmz.el (toplevel): Require 'mime-edit.
5292 (elmo-nmz-content-type-alist): Abolished.
5293 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5294 content is not a message.
5295 (elmo-map-message-fetch): Changed behavior exept for message content;
5296 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5297 content-type, Add From: and Subject: field.
5299 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5301 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5302 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5305 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5307 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5308 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5310 * elmo-archive.el (elmo-folder-writable-p): Defined.
5312 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5314 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5316 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5318 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5320 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5322 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5324 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5326 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5328 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5330 * elmo-util.el (elmo-address-quote-specials): New function;
5331 Renamed from `wl-address-quote-specials'.
5333 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5335 * elmo-version.el (elmo-version): Up to 2.7.4.
5337 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5339 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5341 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5343 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5344 both compile-time and run-time to avoid byte-compile warning.
5346 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5348 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5350 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5352 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5354 (elmo-mime-display-as-is-internal): Use it.
5356 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5357 if `read-passwd' is not defined.
5359 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5361 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5363 (elmo-folder-status): Call `elmo-folder-open-internal';
5364 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5365 (elmo-folder-close-internal): Set location-alist as nil.
5366 (elmo-folder-clear): Define.
5367 (elmo-folder-check): Don't set location-alist as nil.
5369 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5371 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5373 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5374 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5376 * mmimap.el (mime-imap-entity::requested): New slot.
5377 (mime-imap-location-fetch-entity-p): New generic function.
5378 (mime-decode-parameters): Define using `defun-maybe'.
5379 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5380 content-type structure.
5381 (mime-entity-body): Return empty body if
5382 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5384 * elmo.el (elmo-message-displaying): New variable.
5386 * elmo-mime.el (elmo-mime-message-display): Bind
5387 elmo-message-displaying as t.
5389 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5391 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5393 * acap.el (acap-open): erase buffer before starting network process.
5394 (acap-store): Rewrite.
5396 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5398 * elmo-imap4.el (elmo-imap4-default-mailbox,
5399 elmo-imap4-default-server
5400 elmo-imap4-default-authenticate-type,
5401 elmo-imap4-default-user,
5402 elmo-imap4-default-port,
5403 elmo-imap4-default-stream-type,
5404 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5406 * elmo-pop3.el (elmo-pop3-default-user,
5407 elmo-pop3-default-server,
5408 elmo-pop3-default-authenticate-type,
5409 elmo-pop3-default-port,
5410 elmo-pop3-default-stream-type,
5411 elmo-pop3-stream-type-alist): Ditto.
5413 * elmo-nntp.el (elmo-nntp-default-server,
5414 elmo-nntp-default-user,
5415 elmo-nntp-default-port,
5416 elmo-nntp-default-stream-type,
5417 elmo-nntp-stream-type-alist): Ditto.
5419 * elmo-vars.el: Follow changes above.
5420 (elmo-setting): New custom group; added 'elmo-setting group to
5423 * elmo-version.el (elmo-version): Up to 2.7.3.
5425 * acap.el (acap-parse-response): Don't delete process when BYE
5426 response (It causes hang-up on slow network environment).
5427 (toplevel): Added comment.
5429 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5431 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5433 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5435 (acap-parse-return-metadata): Ditto.
5438 (toplevel): Fixed typo.
5440 * acap.el: New file.
5441 (acap-network-stream-open): Show "Connecting..." message.
5442 (acap-parse-response): Fixed problem for BYE untagged response.
5443 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5444 (toplevel): Added tiny comments.
5446 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5448 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5449 space delimiter for uidl response.
5451 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5453 * elmo-vars.el (elmo-use-semi): Eliminated.
5455 * elmo-util.el (elmo-string-assoc-all): New function.
5457 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5459 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5460 property 'mime-preview-situation for `mime-preview-quit'.
5462 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5464 * elmo.el (elmo-message-fetch-with-cache-process): Call
5465 elmo-message-fetch-internal instead of causing an error when fetch
5466 strategy is 'entire but only 'section cache is available.
5468 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5470 * elmo-version.el (elmo-version): Up to 2.7.2.
5472 * elmo.el (elmo-generic-folder-append-messages): Make
5473 fetch-strategy with `use-cache'.
5475 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5476 (elmo-dop-queue-method-name): New macro.
5478 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5480 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5481 unbalanced parenthesis.
5483 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5485 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5487 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5489 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5490 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5492 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5494 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5497 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5499 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5500 (elmo-message-use-cache-p): Define.
5501 (elmo-folder-msgdb-create): Treat cache.
5503 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5505 * elmo-nntp.el (elmo-network-initialize-session): Call
5506 `elmo-nntp-send-mode-reader'.
5507 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5509 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5511 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5513 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5516 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5517 for `elmo-plugged-p'.
5518 (elmo-open-network-stream): Fixed stream-type argument.
5520 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5522 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5523 unknown archive type is specified.
5525 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5527 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5529 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5530 while loading msgdb.
5532 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5533 (elmo-folder-open-internal): Rewrite.
5535 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5537 * elmo-mime.el (elmo-mime-display-as-is-internal):
5538 Adjust buffer-multibyte status.
5540 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5542 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5543 of elmo-condition-find-key.
5545 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5546 (elmo-condition-in-msgdb-p): Ditto.
5547 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5550 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5552 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5554 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5556 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5557 label for elmo-display-progress.
5559 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5561 * elmo.el (elmo-folder-clear): New method.
5562 (elmo-folder-clear): Define.
5563 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5565 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5566 (elmo-folder-clear): Define.
5568 * elmo-map.el (elmo-folder-clear): Define.
5570 * elmo-version.el (elmo-version): Up to 2.7.1.
5572 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5574 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5577 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5579 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5580 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5582 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5584 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5586 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5589 * elmo-imap4.el (elmo-folder-initialize): Use
5590 elmo-get-network-stream-type.
5592 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5594 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5596 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5598 * elmo.el (elmo-message-encache): Set unread argument for
5601 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5603 * elmo.el (elmo-net-port-info): New method.
5605 * elmo-shimbun.el (elmo-net-port-info): Define.
5606 (elmo-message-encache): Ditto.
5608 * elmo-net.el (elmo-net-port-info): Define as method.
5610 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5611 unplugged status when elmo-enable-disconnected-operation is t.
5613 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5614 of spool folder before checking new number.
5616 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5618 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5619 (elmo-network-setup-session): Ditto.
5620 (elmo-message-fetch-plugged): Ditto.
5621 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5622 (elmo-network-initialize-session): Ditto.
5623 (elmo-pop3-read-response): Abolish 3rd argument.
5624 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5625 (elmo-pop3-read-contents): Ditto.
5626 (elmo-pop3-read-body): Ditto.
5627 (elmo-folder-status): Call elmo-folder-close.
5628 (elmo-pop3-lock): Abolish.
5629 (elmo-pop3-unlock): Ditto.
5630 (elmo-pop3-locked-p): Ditto.
5631 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5633 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5635 * elmo-version.el (elmo-version): Up to 2.7.0.
5637 * elmo-pop3.el (elmo-pop3-debug): New variable.
5638 (elmo-pop3-debug-inhibit-logging): Ditto.
5639 (elmo-pop3-debug): New function.
5640 (elmo-pop3-send-command): Call elmo-pop3-debug.
5641 (elmo-pop3-read-response): Added keep-lock optional argument;
5642 Don't unlock if keep-lock is non-nil.
5643 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5644 (elmo-network-authenticate-session): Bind
5645 elmo-pop3-debug-inhibit-logging as t.
5646 (elmo-network-setup-session): Call elmo-pop3-read-response with
5648 (elmo-pop3-read-msg): Ditto.
5649 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5650 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5651 (elmo-network-initialize-session): Call elmo-pop3-lock.
5652 (elmo-folder-close-internal): Don't clear location-alist slot.
5653 (elmo-folder-check): Clear location-alist slot.
5655 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5657 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5658 (elmo-pop3-send-command): Call elmo-pop3-lock.
5659 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5660 (elmo-pop3-read-contents): Ditto.
5661 (elmo-pop3-lock): New function.
5662 (elmo-pop3-unlock): Ditto.
5663 (elmo-pop3-locked-p): Ditto.
5664 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5667 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5669 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5671 * elmo-util.el (elmo-file-field-primitive-condition-match):
5672 New inline function (Don't fetch file content if "first" or "last").
5673 (elmo-file-field-condition-match): Use
5674 elmo-file-field-primitive-condition-match.
5676 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5679 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5680 (elmo-message-fetch-plugged): Fixed.
5682 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5684 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5686 * elmo.el (elmo-folder-move-messages): Bind
5687 elmo-inhibit-display-retrieval-progress as t while moving messages.
5689 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5691 (elmo-inhibit-display-retrieval-progress): Ditto.
5693 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5694 for retrieval progress;
5695 Don't display progress when total buffer size is smaller than
5696 elmo-display-retrieval-progress-threshold.
5697 (elmo-message-fetch-plugged): Don't display progress when
5698 elmo-inhibit-display-retrieval-progress is non-nil.
5700 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5701 for retrieval progress;
5702 Don't display progress when literal size is smaller than
5703 elmo-display-retrieval-progress-threshold.
5704 (elmo-imap4-message-fetch): Don't display progress when
5705 elmo-inhibit-display-retrieval-progress is non-nil.
5707 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5709 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5710 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5711 (elmo-imap4-message-fetch): Likewise.
5713 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5714 (elmo-shimbun-index-range-alist): Ditto.
5715 (elmo-shimbun-use-entire-index): Abolish.
5716 (shimbun-mua-use-entire-index): Ditto.
5717 (elmo-shimbun-folder): Added new slot `range'.
5718 (elmo-folder-initialize): Setup slot `range'.
5720 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5722 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5723 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5724 (elmo-shimbun-get-headers): Use return value of
5725 `shimbun-article-expiration-days'.
5726 (elmo-folder-close-internal): Clean up last-check slot.
5728 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5729 (elmo-pop3-total-size): New variable.
5730 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5732 * elmo.el (elmo-folder-reserve-status-p): New method.
5734 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5735 (elmo-shimbun-use-entire-index): New user option.
5736 (shimbun-elmo-mua): New class.
5737 (shimbun-mua-search-id): Define.
5738 (shimbun-mua-use-entire-index): Ditto.
5739 (elmo-shimbun-folder:last-check): New slot.
5740 (elmo-shimbun-headers-cache-header-list): Abolish.
5741 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5742 (elmo-shimbun-headers-cache-header-hash): Ditto.
5743 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5744 (elmo-shimbun-headers-cache-last-check): Ditto.
5745 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5746 (elmo-shimbun-headers-check-p): Rewrite.
5747 (elmo-shimbun-msgdb-to-headers): New function.
5748 (elmo-shimbun-get-headers): Rewrite.
5749 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5750 (elmo-folder-open-internal): Get headers only if
5751 `elmo-shimbun-headers-check-p' is non-nil.
5752 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5754 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5755 (elmo-quit): Removed.
5757 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5759 (elmo-msgdb-overview-entity-set-extra): Ditto.
5760 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5762 * elmo-map.el (elmo-folder-status): Don't call
5763 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5766 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5768 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5769 of `elmo-msgdb-search-internal-primitive' when condition's car is
5772 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5774 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5776 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5778 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5779 call `elmo-pipe-drain'.
5781 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5783 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5784 typo. (elmo-cache-folder -> elmo-mark-folder)
5786 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5788 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5789 `elmo-message-fetch'.
5791 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5793 * elmo-net.el (elmo-message-encache): Fixed typo.
5794 (elmo-message-fetch-unplugged): Changed call
5795 `elmo-message-fetch-internal' without argument `outbuf'.
5797 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5799 * elmo.el (elmo-message-encache): Define as generic function.
5800 (elmo-message-fetch-field): New generic function.
5801 (elmo-message-fetch-with-cache-process): Cause an error when
5802 fetch strategy is 'entire but only 'section cache is available.
5803 (toplevel): Fixed nmz folder definition.
5805 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5806 (elmo-msgdb-resume-list-filename): Ditto.
5807 (elmo-queue-filename): Ditto.
5808 (elmo-enable-disconnected-operation): Changed default value to t.
5810 * elmo-util.el (elmo-cache-path-section-p): New function.
5811 (elmo-file-cache-get): Use it.
5812 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5813 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5814 (elmo-dop-queue-save): Ditto.
5816 * elmo-net.el (elmo-folder-status-unplugged): Call
5817 elmo-folder-status-dop.
5818 (elmo-folder-list-messages-unplugged): Implemented.
5819 (elmo-folder-delete-messages-unplugged): Define.
5820 (elmo-folder-msgdb-create): Define.
5821 (elmo-folder-msgdb-create-unplugged): Define.
5822 (elmo-folder-mark-as-read-unplugged): Ditto.
5823 (elmo-folder-unmark-read-unplugged): Ditto.
5824 (elmo-folder-mark-as-important-unplugged): Ditto.
5825 (elmo-folder-unmark-important-unplugged): Ditto.
5826 (elmo-message-encache): Ditto.
5828 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5829 (elmo-dop-queue-save): Ditto.
5831 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5832 `elmo-folder-msgdb-create'.
5833 (elmo-folder-append-buffer): Implemented unplugged operation.
5834 (elmo-folder-append-messages): Call parent method in unplugged status.
5835 (elmo-message-fetch-unplugged): Removed definition.
5836 (elmo-message-fetch-field): Implemented.
5838 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5839 (elmo-dop-folder): Removed variable definition.
5840 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5841 (elmo-dop-queue-flush): Implemented.
5842 (elmo-dop-queue-merge): Removed definition (TODO).
5843 (elmo-dop-spool-folder): New function.
5844 (elmo-dop-spool-folder-append-buffer): Ditto.
5845 (elmo-dop-spool-folder-list-messages): Ditto.
5846 (elmo-dop-list-deleting-messages): Ditto.
5847 (elmo-folder-append-buffer-dop): Ditto.
5848 (elmo-folder-delete-messages-dop): Ditto.
5849 (elmo-message-encache-dop): New inline function.
5850 (elmo-create-folder-dop): Ditto.
5851 (elmo-folder-mark-as-read-dop): Ditto.
5852 (elmo-folder-unmark-read-dop): Ditto.
5853 (elmo-folder-mark-as-important-dop): Ditto.
5854 (elmo-folder-unmark-important-dop): Ditto.
5855 (elmo-folder-status-dop): Fixed.
5856 (elmo-folder-append-buffer-dop-delayed): New function.
5857 (elmo-folder-delete-messages-dop-delayed): Ditto.
5858 (elmo-dop-msgdb): Ditto.
5860 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5862 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5864 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5866 * elmo.el (elmo-folder-move-messages): Fixed problem when
5867 `dst-folder' is 'null.
5869 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5871 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5872 instead of current mark.
5874 * elmo-multi.el (elmo-folder-list-importants-internal): No
5875 operation if importants is not list.
5877 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5878 Return t if importants is not list.
5880 * elmo-map.el (elmo-map-folder-list-importants): Define.
5881 (elmo-folder-list-importants-internal): Check return value of
5882 `elmo-map-folder-list-importants-internal'.
5884 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5886 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5888 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5890 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5892 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5894 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5895 (Patch is provided by <kita@coe.nttdata.co.jp>).
5897 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5899 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5902 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5904 * elmo.el (elmo-message-fetch): Define.
5905 (elmo-message-fetch-with-cache-process): New generic method.
5906 (elmo-message-fetch-internal): New generic method.
5907 (elmo-folder-synchronize):
5909 * elmo-archive.el (elmo-message-fetch-internal): Define.
5910 (elmo-message-fetch): Eliminated.
5912 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5913 (elmo-message-fetch): Eliminated.
5915 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5917 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5919 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5920 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5922 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5923 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5925 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5927 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5929 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5931 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5932 (elmo-message-fetch-unplugged): New generic method.
5933 (elmo-message-fetch-internal): Remove cache process (Renamed from
5934 `elmo-message-fetch').
5936 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5937 (elmo-message-fetch): Eliminated.
5938 (elmo-message-fetch-unplugged): Ditto.
5940 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5942 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5944 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5945 of `to-be-deleted' from number-alist to number-list.
5947 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5949 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5950 (elmo-folder-mark-as-important): Ditto.
5952 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5954 * elmo.el (elmo-folder): Added process-duplicates slot.
5956 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5957 (elmo-folder-unmark-read): Ditto.
5958 (elmo-folder-unmark-important): Ditto.
5959 (elmo-folder-mark-as-important): Ditto.
5961 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5962 duplicated message processing.
5964 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5966 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5968 * elmo-util.el (elmo-list-subdirectories-1): New function.
5969 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5970 (elmo-mapcar-list-of-list): New function.
5972 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5973 `elmo-mapcar-list-of-list' instead of `mapcar'.
5975 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5977 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5978 `elmo-have-link-count'. Return the fully qualified folder name.
5980 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5982 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5983 (elmo-shimbun-headers-cache): New internal variable.
5984 (elmo-shimbun-headers-cache-header-list): New inline function.
5985 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5986 (elmo-shimbun-headers-cache-header-hash): Ditto.
5987 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5988 (elmo-shimbun-headers-cache-last-check): Ditto.
5989 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5990 (elmo-shimbun-lapse-seconds): Ditto.
5991 (elmo-shimbun-headers-cache-check-p): Ditto.
5992 (elmo-shimbun-get-headers): New function.
5993 (elmo-folder-open-internal): Call it.
5994 (elmo-quit): Define (Clear headers-cache).
5996 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
5998 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6000 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6001 (elmo-msgdb-flist-save): Ditto.
6003 * elmo-shimbun.el (elmo-folder-list-subfolders):
6004 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6005 (elmo-folder-exists-p): Ditto.
6007 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6008 argument for `shimbun-header-insert'.
6010 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6012 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6015 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6016 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6018 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6020 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6021 (elmo-folder-plugged-p): Define.
6022 (elmo-folder-set-plugged): Ditto.
6023 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6024 (elmo-folder-list-messages-internal): Return t if unplugged.
6025 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6027 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6028 when elmo-folder-list-messages-internal method of children returns t.
6030 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6032 (elmo-folder-open-internal): Don't update if unplugged status.
6034 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6036 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6039 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6041 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6043 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6046 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6048 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6050 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6051 (elmo-folder-open-internal): Set up headers slot.
6052 (elmo-folder-check): Call elmo-folder-close-internal and
6053 elmo-folder-open-internal.
6054 (elmo-folder-close-internal): Clean up headers slot.
6056 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6058 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6059 exactly folder list.
6060 (elmo-folder-append-messages): Fixed append archive with prefix.
6062 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6063 make temp files with start-number.
6065 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6067 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6069 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6070 argument `visible-only'.
6071 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6074 * elmo-pop3.el (elmo-folder-open-internal): Check
6075 `elmo-inhibit-number-mapping' is non-nil.
6077 * elmo-pipe.el (elmo-folder-status): Fixed.
6079 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6081 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6083 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6084 (elmo-folder-open-internal): Setup `header-hash' slot.
6085 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6087 (elmo-map-message-fetch): Ditto.
6089 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6091 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6092 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6093 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6094 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6096 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6098 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6100 * sb-airs.el: Added footer.
6102 * shimbun.el (shimbun-article): Define as luna-method.
6104 * sb-tcup.el: New file.
6106 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6107 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6109 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6111 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6112 (shimbun-get-headers): Ditto.
6114 * elmo.el: Moved obsolete variable definitions from
6115 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6117 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6120 * shimbun.el: New file.
6122 * elmo-shimbun.el: New file.
6124 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6125 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6126 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6127 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6129 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6131 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6134 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6136 * elmo.el (elmo-folder-msgdb): Define as macro.
6137 (elmo-folder-open): Added argument `load-msgdb'.
6138 (elmo-generic-folder-open): Ditto.
6139 (elmo-folder-encache): New function.
6141 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6143 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6145 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6146 Eliminated argument FOLDER and added argument MSGDB.
6147 (elmo-dop-queue-load): Moved from elmo-dop.el.
6148 (elmo-dop-queue-save): Ditto.
6150 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6152 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6154 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6155 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6156 (elmo-filter-folder-list-importants-internal): Ditto.
6158 * elmo-map.el (elmo-folder-pack-number): Ditto.
6160 * elmo-mime.el (elmo-mime-message-display): Ditto.
6162 * elmo.el (elmo-generic-folder-commit): Ditto.
6163 (elmo-folder-list-unreads): Ditto.
6164 (elmo-folder-list-importants): Ditto.
6165 (elmo-generic-folder-commit): Ditto.
6166 (elmo-message-set-mark): Ditto.
6167 (elmo-generic-folder-append-msgdb): Ditto.
6168 (elmo-folder-synchronize): Ditto.
6169 (elmo-folder-messages): Ditto.
6170 (elmo-init): Call elmo-dop-queue-load.
6171 (elmo-folder-list-messages): Ditto.
6173 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6174 (elmo-nntp-folder-process-crosspost): Ditto.
6175 (elmo-folder-list-unreads-internal): Ditto.
6177 * elmo-dop.el: Removed old functions.
6179 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6181 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6182 `folder' to `msgdb'.
6184 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6186 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6187 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6189 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6192 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6194 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6197 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6198 (mmimap-parse-parameters-from-list): Define as alias for
6199 `mime-decode-parameter-plist' if it is defined as function.
6200 (mmimap-make-mime-entity): Added argument `number'.
6201 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6203 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6205 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6207 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6209 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6211 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6213 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6215 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6216 when elmo-imap4-default-authenticate-type is nil.
6217 (elmo-folder-list-subfolders): Ditto
6218 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6219 (elmo-imap4-fetch-callback-1-subr): Renamed from
6220 `elmo-imap4-fetch-callback-1' and define as inline function.
6221 (elmo-imap4-fetch-callback-1):
6222 Renamed from `elmo-imap4-fetch-callback'.
6223 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6225 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6226 msgdb path (To keep compatibility with main trunk).
6228 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6230 * elmo-util.el (elmo-make-file-cache): Moved position of
6233 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6234 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6235 instead of `elmo-pop3-inhibit-uidl'.
6236 (elmo-folder-exists-p): Ditto.
6237 (elmo-pop3-folder-list-messages): Ditto.
6239 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6240 instead of `elmo-pop3-inhibit-uidl'.
6241 (elmo-folder-status): Ditto.
6243 * elmo-dop.el (elmo-dop-folder): New variable.
6244 (elmo-dop-lock-message): Eliminated.
6245 (elmo-dop-unlock-message): Ditto.
6246 (elmo-dop-lock-list-load): Ditto.
6247 (elmo-dop-lock-list-save): Ditto.
6248 (elmo-dop-delete-folder): Ditto.
6249 (elmo-dop-rename-folder): Ditto.
6251 * elmo.el: Removed incomplete commentary.
6253 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6255 * elmo.el (toplevel): Require 'elmo-version first;
6256 for little `recursive-load-depth' settings.
6257 Fix "ends here" comment.
6259 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6261 * elmo-util.el (toplevel): Require 'poem;
6262 Some functions are moved from elmo-cache.el.
6264 * elmo-net.el (toplevel): Require 'elmo-cache.
6266 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6268 * elmo.el (toplevel): Ditto.
6270 * elmo-cache.el: Rewrite with luna;
6271 Some functions are moved to elmo-util.el.
6273 * elmo-internal.el (elmo-internal-folder-list): New variable.
6274 (elmo-internal-folder-initialize): Rewrite.
6275 (elmo-folder-list-subfolders): Ditto.
6277 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6278 (elmo-cache-collect-sub-directories): Ditto.
6280 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6282 * elmo-version.el (elmo-version): Up to 2.5.8.
6284 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6286 * elmo-util.el (elmo-list-insert): New function.
6288 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6290 * elmo.el (elmo-init): New function.
6291 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6293 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6294 (Renamed from `elmo-localdir-header-chop-length').
6296 * elmo-pop3.el (elmo-pop3-use-cache,
6297 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6299 * elmo-nntp.el (elmo-message-fetch): Define.
6300 (elmo-message-fetch-unplugged): Ditto.
6301 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6302 (elmo-nntp-use-cache): Ditto.
6303 (elmo-nntp-max-number-precedes-list-active): Ditto.
6305 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6307 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6308 `elmo-msgdb-insert-file-header'.
6309 Use `elmo-msgdb-file-header-chop-length'.
6311 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6314 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6315 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6316 `elmo-msgdb-insert-file-header'.
6318 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6320 Define obsolete variables with `elmo-define-obsolete-variable',
6322 * elmo-util.el (elmo-warning-buffer-name): New constant.
6323 (elmo-warning): New function.
6324 (elmo-obsolete-variable-alist): New variable.
6325 (elmo-obsolete-variable-show-warnings): New variable.
6326 (elmo-define-obsolete-variable): New function.
6327 (elmo-resque-obsolete-variable): Ditto.
6328 (elmo-resque-obsolete-variables): Ditto.
6330 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6332 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6335 * elmo-pop3.el, elmo-nntp.el: Use custom.
6337 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6339 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6340 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6342 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6344 * Luna-fy Kenichi OKADA's following changes.
6345 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6347 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6349 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6351 * elmo-util.el (elmo-display-progress): Prefer
6352 `progress-feedback-with-label' to `lprogress-display'.
6354 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6356 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6358 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6360 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6361 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6362 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6363 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6364 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6365 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6366 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6367 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6368 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6369 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6370 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6371 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6372 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6374 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6376 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6377 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6379 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6381 * elmo.el (elmo-folder-process-crosspost): New generic method.
6382 (elmo-folder-writable-p): Ditto.
6383 (elmo-folder-message-appendable-p): Eliminated.
6384 (elmo-generic-folder-append-msgdb): Rewrite.
6385 (elmo-newsgroups-hashtb): New internal variable.
6386 (elmo-crosspost-message-set): Eliminated.
6387 (elmo-crosspost-message-delete): Ditto.
6388 (elmo-setup-subscribed-newsgroups): New function.
6389 (elmo-crosspost-message-alist-modified): New internal variable.
6390 (elmo-crosspost-message-alist-load): New function (Renamed from
6391 `wl-crosspost-alist-load').
6392 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6393 `wl-crosspost-alist-save').
6395 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6397 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6399 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6400 elmo-newsgroups-hashtb).
6401 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6402 `elmo-nntp-folder-update-crosspost-message-alist'.
6403 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6404 `elmo-nntp-groups-hashtb'.
6405 (elmo-nntp-make-groups-hashtb): Eliminated.
6406 (elmo-nntp-parse-newsgroups): New function (Renamed from
6407 `wl-parse-newsgroups').
6408 (elmo-folder-creatable-p, elmo-folder-writable-p,
6409 elmo-folder-close-internal, elmo-folder-mark-as-read,
6410 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6412 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6414 * elmo-net.el (elmo-message-fetch): Check buffer size.
6416 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6418 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6420 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6421 before `close' command.
6423 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6424 `mark-alist' (All other related portions are changed).
6426 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6428 * elmo-util.el (elmo-create-hash-size): Eliminated.
6429 (elmo-make-hash) Make a hash with `one less than a power of two'
6432 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6433 (elmo-hash-maximum-size): Changed value.
6435 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6437 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6438 (elmo-mime-message-display-as-is): Ditto.
6440 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6442 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6443 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6445 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6447 * elmo-mark.el: New file.
6449 * elmo-internal.el: Rewrite (Almost empty).
6451 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6453 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6454 (mime-imap-entity-header-string): Ditto.
6455 (mmimap-entity-section): Rewrite.
6457 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6459 * elmo-nmz.el: New file.
6461 * elmo-pipe.el: Rewrite with luna.
6463 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6465 * elmo-archive.el: Rewrite with luna.
6467 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6468 (elmo-folder-list-importants-internal): Ditto.
6470 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6472 * elmo-archive.el (elmo-archive-version): Abolish.
6473 (toplevel) Removed `boso' comment.
6475 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6477 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6478 elmo-msgdb-add-msgs-to-seen-list-subr;
6479 Changed argument seen-marks to unread-marks.
6481 * elmo-nntp.el: Rewrite with luna.
6483 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6485 * elmo-filter.el: Rewrite with luna.
6487 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6489 * elmo-pop3.el: Rewrite with luna.
6491 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6493 * elmo-multi.el: Rewrite with luna.
6495 * elmo-vars.el (elmo-use-killed-list): Abolish.
6496 All other related portions are changed.
6497 (elmo-filename-replace-string-alist): Renamed from
6498 elmo-msgid-replace-string-alist.
6500 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6502 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6504 * elmo-map.el: New file.
6505 * elmo-maildir.el: Rewrite with luna.
6507 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6509 * elmo.el: Changed meaning of `elmo-folder-commit'.
6510 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6512 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6514 * elmo.el (elmo-folder-append-buffer): New function.
6515 (Renamed from `elmo-append-msg')
6517 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6519 * elmo-mime.el: New file.
6521 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6523 * elmo-cache.el: Rewrite.
6525 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6527 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6529 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6531 * elmo-vars.el (elmo): New group.
6532 (elmo-strict-diff-folder-regexp): New variable.
6534 * elmo-util.el (elmo-call-func): Abolish.
6535 (elmo-folder-get-type): Ditto.
6536 (elmo-*-get-spec): Ditto.
6537 (elmo-*-spec-*): Ditto.
6538 (elmo-imap4-identical-name-space-p): Ditto.
6539 (elmo-folder-identical-system-p): Ditto.
6540 (elmo-folder-direct-copy-alist): Ditto.
6541 (elmo-folder-direct-copy-p): Ditto.
6543 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6544 (elmo-folder-initialize): Define.
6545 (elmo-folder-get-primitive-list): Ditto.
6547 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6548 (elmo-folder-initialize): Define.
6549 Renamed `elmo-network-session-host-internal' to
6550 `elmo-network-session-server-internal'.
6552 * elmo-multi.el (elmo-multi-folder): New luna class.
6553 (elmo-folder-initialize): Define.
6554 (elmo-folder-get-primitive-list): Ditto.
6555 (elmo-folder-contains-type): Ditto.
6556 (elmo-message-use-cache-p): Ditto.
6558 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6559 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6561 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6562 (elmo-folder-initialize): Define.
6564 * elmo-filter.el (elmo-filter-folder): New luna class.
6565 (elmo-folder-initialize): Define.
6566 (elmo-folder-get-primitive-list): Ditto.
6567 (elmo-folder-contains-type): Ditto.
6569 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6571 * elmo-imap4.el: Rewrite with luna.
6573 * mmimap.el: New file.
6575 * mmelmo.el, mmelmo-imap4.el: Removed.
6577 * elmo-net.el: Ditto.
6579 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6580 (elmo-folder-initialize): Define.
6582 * elmo-archive.el (elmo-archive-folder): New luna class.
6583 (elmo-folder-initialize): Define.
6585 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6586 `elmo-folder-msgdb-path'.
6587 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6590 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6592 * elmo.el: New file.
6594 * elmo2.el: Renamed to elmo.el.
6597 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6599 * elmo-cache.el (elmo-cache-expire-by-size): Count
6600 a disk usage for a cache file entry in KB even when
6601 its kind is a directory.
6603 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6605 * elmo-version.el (elmo-version): Up to 2.5.7.
6607 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6609 * elmo-version.el (elmo-version): Up to 2.5.6.
6611 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6613 * elmo-version.el (elmo-version): Up to 2.5.5.
6615 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6617 * elmo-imap4.el (elmo-network-authenticate-session):
6618 Fixed a logic for response checking.
6620 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6622 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6623 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6624 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6627 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6628 for `starttls-open-stream' and `starttls-negotiate'.
6630 * elmo-nntp.el: Remove autoload settings for
6631 `starttls-open-stream' and `starttls-negotiate'.
6633 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6634 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6635 `luna-define-class' with `eval-and-compile'.
6637 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6639 * elmo-util.el (elmo-read-search-condition-internal):
6640 Require an element of table for searching field.
6642 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6644 * elmo-version.el (elmo-version): Up to 2.5.4.
6646 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6648 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6650 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6652 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6654 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6656 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6659 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6661 * elmo-imap4.el (elmo-imap4-delete-folder):
6662 Send "close" before "delete" (Use commented out line).
6663 (elmo-imap4-rename-folder): Ditto.
6665 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6666 folder string itself.
6667 (elmo-dop-list-deleted): New function.
6668 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6671 * elmo-util.el (elmo-string-rassoc-all): New function.
6673 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6675 * elmo-version.el (elmo-version): Up to 2.5.3.
6677 * elmo-net.el (elmo-network-get-session): Changed logic for
6678 checking process status.
6680 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6682 Changed logic for checking process status.
6684 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6686 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6688 (elmo-network-setup-session): Set UIDL hash size according to
6689 the length of list response.
6690 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6691 according to the length of list response;
6692 Return the length of list response.
6693 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6695 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6697 * elmo-imap4.el (toplevel): Require 'ssl.
6698 Add autoload 'starttls.
6699 * elmo-pop3.el (toplevel): Ditto.
6700 * elmo-nntp.el (toplevel): Ditto.
6702 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6704 * elmo-imap4.el (toplevel): defun at compile time.
6705 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6706 sasl-next-step, sasl-step-data, sasl-step-set-data.
6707 * elmo-pop3.el (toplevel): Ditto.
6709 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6711 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6713 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6715 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6717 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6718 and `elmo-pop-auth-apop'.
6720 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6722 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6724 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6726 * elmo-pop3.el (elmo-network-authenticate-session): Split
6727 encoded response value.
6729 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6731 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6732 `elmo-pop3-force-login'.
6733 Redefine `sasl-mechanisms'.
6734 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6736 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6738 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6739 Delete `elmo-imap4-authenticator-alist'.
6740 (elmo-imap4-auth-cram-md5): Delete.
6741 (elmo-imap4-auth-digest-md5): Delete.
6743 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6745 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6746 (elmo-pop3-auth-scram-md5): Ditto.
6747 (elmo-pop3-auth-cram-md5): Ditto.
6749 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6751 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6752 Delete `elmo-pop3-authenticator-alist'.
6754 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6756 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6758 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6760 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6762 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6764 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6766 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6767 Fixed problem when `elmo-pop3-use-uidl' is nil.
6768 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6770 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6772 * elmo-version.el (elmo-version): Up to 2.5.2.
6774 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6776 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6778 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6779 (elmo-pop3-msgdb-create-as-numlist): Use it.
6781 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6782 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6784 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6785 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6787 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6789 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6790 when elmo-mark-as-read is called with second argument nil.
6792 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6794 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6795 Moved to elmo-util.el.
6797 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6798 Moved from elmo-pipe.el
6800 * elmo-archive.el (elmo-archive-call-process): Enclose with
6803 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6804 "RFC822" (because RFC822.PEEK is obsolete).
6805 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6807 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6809 * elmo-archive.el (elmo-archive-call-process): Don't check for
6810 the exit status when Nemacs is running.
6812 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6814 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6817 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6818 (elmo-pop3-get-spec): Set default of auth to 'user.
6820 * elmo-imap4.el (elmo-imap4-session-check):
6821 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6822 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6823 (elmo-imap4-auth-login): New function; Revival.
6824 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6825 `elmo-imap4-auth-login'.
6827 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6829 * elmo2.el (toplevel): Move `product-provide' declare.
6830 * mmelmo.el (toplevel): Ditto.
6832 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6834 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6836 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6838 * elmo-util.el (elmo-folder-get-store-type): New function.
6839 (elmo-folder-direct-copy-p): Use it.
6841 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6843 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6844 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6845 and result of `elmo-imap4-use-flag-p'.
6846 (elmo-imap4-fetch-callback-1): Set mark according to
6847 the result of `elmo-imap4-use-flag-p'.
6849 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6851 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6852 (elmo-generic-list-folder-unread): Ditto.
6853 (elmo-folder-get-info): Ditto.
6854 (elmo-folder-set-info-max-by-numdb): Ditto.
6855 (elmo-folder-get-info-max): Ditto.
6856 (elmo-folder-get-info-length): Ditto.
6857 (elmo-folder-get-info-unread): Ditto.
6858 (elmo-folder-info-make-hashtb): Ditto.
6860 * elmo2.el: Removed above functions.
6862 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6864 * elmo-imap4.el (toplevel): Require 'ssl.
6865 Add autoload 'starttls.
6866 * elmo-pop3.el (toplevel): Ditto.
6867 * elmo-nntp.el (toplevel): Ditto.
6869 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6871 * elmo-imap4.el (toplevel): defun at compile time.
6872 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6873 sasl-next-step, sasl-step-data, sasl-step-set-data.
6874 * elmo-pop3.el (toplevel): Ditto.
6876 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6878 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6880 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6882 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6884 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6885 and `elmo-pop-auth-apop'.
6887 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6889 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6891 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6893 * elmo-pop3.el (elmo-network-authenticate-session): Split
6894 encoded response value.
6896 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6898 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6899 `elmo-pop3-force-login'.
6900 Redefine `sasl-mechanisms'.
6901 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6903 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6905 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6906 Delete `elmo-imap4-authenticator-alist'.
6907 (elmo-imap4-auth-cram-md5): Delete.
6908 (elmo-imap4-auth-digest-md5): Delete.
6910 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6912 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6913 (elmo-pop3-auth-scram-md5): Ditto.
6914 (elmo-pop3-auth-cram-md5): Ditto.
6916 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6918 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6919 Delete `elmo-pop3-authenticator-alist'.
6921 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6923 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6925 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6928 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6930 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6932 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6934 * elmo-nntp.el (elmo-nntp-get-folders-info):
6935 Fixed problem when '\' character is contained in user-id.
6936 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6939 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6941 * elmo-imap4.el (elmo-imap4-delete-folder):
6942 Send "close" before "delete" (Use commented out line).
6943 (elmo-imap4-rename-folder): Ditto.
6945 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6946 folder string itself.
6947 (elmo-dop-list-deleted): New function.
6948 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6951 * elmo-util.el (elmo-string-rassoc-all): New function.
6953 * elmo-version.el (elmo-version): Up to 2.5.1.
6955 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6957 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6959 * elmo-internal.el (elmo-internal-search): Fix last change.
6961 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6963 * elmo-internal.el (elmo-internal-search): Rewrite.
6964 (Fixed problem which is pointed out by Akihiro MOTOKI
6965 <motoki@da.jp.nec.com>)
6967 * elmo-version.el (elmo-version): Up to 2.5.0.
6969 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6971 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6973 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6975 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6976 non-nil, make hierarchy.
6978 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6980 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6981 `elmo-pop3-use-uidl' must be bound to nil.
6982 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
6984 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
6986 * elmo-util.el (elmo-copy-file): Don't cause an error after
6987 `add-name-to-file' failed.
6989 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
6990 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
6992 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
6994 * elmo-version.el (elmo-version): Up to 2.3.93.
6996 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6998 * elmo-util.el (elmo-flatten): New function.
7000 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7002 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7004 * elmo-cache.el (toplevel): Ditto.
7005 * elmo-database.el (toplevel): Ditto.
7006 * elmo-date.el (toplevel): Ditto.
7007 * elmo-dop.el (toplevel): Ditto.
7008 * elmo-filter.el (toplevel): Ditto.
7009 * elmo-imap4.el (toplevel): Ditto.
7010 * elmo-internal.el (toplevel): Ditto.
7011 * elmo-localdir.el (toplevel): Ditto.
7012 * elmo-localnews.el (toplevel): Ditto.
7013 * elmo-maildir.el (toplevel): Ditto.
7014 * elmo-msgdb.el (toplevel): Ditto.
7015 * elmo-multi.el (toplevel): Ditto.
7016 * elmo-net.el (toplevel): Ditto.
7017 * elmo-nntp.el (toplevel): Ditto.
7018 * elmo-pipe.el (toplevel): Ditto.
7019 * elmo-pop3.el (toplevel): Ditto.
7020 * elmo-util.el (toplevel): Ditto.
7021 * elmo-vars.el (toplevel): Ditto.
7022 * elmo2.el (toplevel): Ditto.
7023 * mmelmo-imap4.el (toplevel): Ditto.
7024 * mmelmo.el (toplevel): Ditto.
7026 * elmo-version.el (elmo-version): Move to top.
7028 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7029 * elmo-imap4.el (toplevel): Ditto.
7030 * elmo-localdir.el (toplevel): Ditto.
7031 * elmo-msgdb.el (toplevel): Ditto.
7032 * elmo-nntp.el (toplevel): Ditto.
7033 * elmo-pop3.el (toplevel): Ditto.
7034 * elmo-version.el (toplevel): Ditto.
7036 * elmo-localnews.el (toplevel): Added Keyword header.
7038 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7040 * elmo-version.el (product-version-as-string): Defined using
7044 * elmo-localdir.el (toplevel): Updated copyright notice.
7045 * elmo-version.el (toplevel): Ditto.
7046 * elmo-msgdb.el (toplevel): Ditto.
7047 * elmo-imap4.el (toplevel): Ditto.
7048 * elmo-nntp.el (toplevel): Ditto.
7049 * elmo-pop3.el (toplevel): Ditto.
7051 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7056 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7057 parameter value (It sometimes contains raw kanji).
7059 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7061 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7062 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7064 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7066 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7068 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7070 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7071 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7073 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7075 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7076 value if selecting folder succceeded.
7077 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7079 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7081 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7084 * elmo-util.el (elmo-string-matched-member): New function.
7086 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7088 * elmo-util.el (elmo-unintern): New macro.
7089 (elmo-number-set-member): Fixed docstring.
7091 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7094 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7096 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7097 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7099 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7101 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7104 Return non-nil if selecting folder succeeded.
7105 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7107 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7109 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7110 `file-name-completion' returns t.
7111 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7112 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7113 directory if it does not exist.
7114 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7117 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7119 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7120 enclosure (It's harmful in unplugged status).
7122 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7124 * mmelmo-1.el: Removed.
7126 * mmelmo-2.el: Ditto.
7128 * mmelmo-imap4-1.el: Ditto.
7130 * mmelmo-imap4-2.el: Ditto.
7132 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7134 * mmelmo.el: Merged mmelmo-2.el.
7136 * elmo-version.el (elmo-version): Up to 2.3.92.
7138 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7140 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7141 elmo-update-number): Remove last period in "...done." message.
7142 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7144 * elmo-cache.el (elmo-cache-expire-by-size,
7145 elmo-cache-get-sorted-cache-file-list,
7146 elmo-cache-msgdb-create-as-numlist): Ditto.
7147 * elmo-dop.el (elmo-dop-save-pending-messages,
7148 (elmo-dop-flush-pending-append-operations): Ditto.
7149 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7150 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7151 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7152 (elmo-localdir-pack-number): Ditto.
7153 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7154 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7155 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7156 mime-write-entity-content): Ditto.
7157 * pldap.el (ldap-search-basic): Ditto.
7159 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7161 * elmo-version.el (elmo-version): Up to 2.3.91.
7163 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7164 Only when filter is 'last'.
7166 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7167 (elmo-condition-parse-search-value): Use it.
7168 (elmo-read-search-condition-internal): Quote value only when
7171 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7173 * elmo2.el (elmo-generic-folder-diff): Fix.
7175 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7177 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7178 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7179 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7180 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7181 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7182 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7184 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7186 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7189 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7191 * elmo-version.el (elmo-version): Up to 2.3.90.
7193 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7194 (elmo-imap4-list-folder-important): Ditto.
7196 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7198 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7200 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7202 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7204 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7206 * elmo-nntp.el (elmo-network-initialize-session):
7207 Add starttls negotiation.
7209 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7211 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7213 (elmo-network-setup-session): Define.
7214 Call `elmo-nntp-send-mode-reader' when session opened.
7216 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7218 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7220 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7222 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7223 an invalid SPACE character ahead of `SEARCH' command. Move
7224 a valid SPACE character following `SEARCH' from conditional
7225 `format' arguments to control-strings.
7227 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7229 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7232 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7234 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7236 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7237 `w32-get-true-file-link-count' as t.
7239 * elmo-imap4.el (elmo-imap4-read): Abolished.
7240 (Renamed to `elmo-read' and moved to elmo-util.el)
7241 All other related portions are changed.
7243 * elmo-util.el (elmo-read): New function.
7244 (elmo-condition-parse-search-value): Use it.
7246 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7248 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7250 * elmo-nntp.el (elmo-nntp-session): Define.
7251 (elmo-nntp-setting): Abolished.
7252 All other related portions are changed.
7253 (elmo-nntp-get-server-command): Changed argument.
7254 (elmo-nntp-set-server-command): Ditto.
7255 (elmo-nntp-xover-p): Ditto.
7256 (elmo-nntp-set-xover): Ditto.
7257 (elmo-nntp-listgroup-p): Ditto.
7258 (elmo-nntp-set-listgroup): Ditto.
7259 (elmo-nntp-list-active-p): Ditto.
7260 (elmo-nntp-set-list-active): Ditto.
7261 (elmo-nntp-xhdr-p): Ditto.
7262 (elmo-nntp-set-xhdr): Ditto.
7263 (elmo-nntp-flush-connection): Abolished.
7264 (elmo-nntp-get-connection): Abolished.
7265 (elmo-nntp-get-session): New function.
7266 (elmo-network-initialize-session): Defined.
7267 (elmo-network-authenticate-session): Ditto.
7268 (elmo-nntp-send-mode-reader): Changed argument.
7269 (elmo-nntp-send-command): Changed argument.
7270 All other related portions are changed.
7271 (elmo-nntp-read-response): Ditto.
7272 (elmo-nntp-read-raw-response): Ditto.
7273 (elmo-nntp-read-contents): Ditto.
7274 (elmo-nntp-read-body): Ditto.
7275 (elmo-nntp-goto-folder): Abolished.
7276 (elmo-nntp-select-group): New function.
7277 All other related portions are changed.
7278 (This function substitutes `elmo-nntp-goto-folder')
7279 (elmo-nntp-msgdb-create-by-header): Rewrite.
7280 (elmo-nntp-get-overview): Eliminated.
7281 (elmo-nntp-get-message): Ditto.
7282 (elmo-nntp-open-connection) Abolished.
7283 (elmo-nntp-read-msg): Rewrite.
7284 (elmo-nntp-post): Ditto.
7285 (elmo-nntp-send-data): Abolished.
7286 (elmo-nntp-send-buffer): New function.
7287 (elmo-nntp-send-data-line): Define as inline function.
7288 (elmo-nntp-get-folders-info-prepare): Use session as key.
7289 (elmo-nntp-groups-read-response): Changed argument.
7290 (elmo-nntp-retrieve-headers): Ditto.
7291 (elmo-nntp-msgdb-create-message): Ditto.
7293 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7294 when searching by 'since' or 'before'.
7296 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7298 * elmo-version.el (toplevel): Use product-version-as-string for set
7299 verstion-string, if defined.
7301 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7303 * elmo-util.el: Doc fixes.
7305 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7307 * elmo-archive.el (toplevel): Use product-provide.
7308 * elmo-cache.el (toplevel): Ditto.
7309 * elmo-database.el (toplevel): Ditto.
7310 * elmo-date.el (toplevel): Ditto.
7311 * elmo-dop.el (toplevel): Ditto.
7312 * elmo-filter.el (toplevel): Ditto.
7313 * elmo-imap4.el (toplevel): Ditto.
7314 * elmo-internal.el (toplevel): Ditto.
7315 * elmo-localdir.el (toplevel): Ditto.
7316 * elmo-localnews.el (toplevel): Ditto.
7317 * elmo-maildir.el (toplevel): Ditto.
7318 * elmo-msgdb.el (toplevel): Ditto.
7319 * elmo-multi.el (toplevel): Ditto.
7320 * elmo-net.el (toplevel): Ditto.
7321 * elmo-nntp.el (toplevel): Ditto.
7322 * elmo-pipe.el (toplevel): Ditto.
7323 * elmo-pop3.el (toplevel): Ditto.
7324 * elmo-util.el (toplevel): Ditto.
7325 * elmo-vars.el (toplevel): Ditto.
7326 * elmo2.el (toplevel): Ditto.
7327 * mmelmo-1.el (toplevel): Ditto.
7328 * mmelmo-2.el (toplevel): Ditto.
7329 * mmelmo-imap4-1.el (toplevel): Ditto.
7330 * mmelmo-imap4-2.el (toplevel): Ditto.
7331 * mmelmo-imap4.el (toplevel): Ditto.
7332 * mmelmo.el (toplevel): Ditto.
7334 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7336 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7337 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7339 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7341 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7343 (elmo-multi-split-number-alist): Ditto.
7345 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7347 * elmo-version.el: New file. Use product.el.
7348 * elmo2.el: Add (require 'elmo-version).
7349 * elmo-vars.el (elmo-appname, elmo-version): Move to
7352 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7354 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7355 `elmo-msgdb-expand-path'.
7356 (elmo-msgdb-load): Ditto.
7357 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7358 (elmo-generic-list-folder-unread): Rewrite.
7359 (elmo-generic-list-folder-important): Changed argument.
7360 (elmo-list-folder-unread): Ditto.
7361 (elmo-list-folder-important): Ditto.
7362 (elmo-folder-diff): Rewrite.
7363 (elmo-generic-folder-diff): New function.
7364 (elmo-multi-get-number-alist-list): Abolished
7365 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7366 (elmo-multi-folder-diff): Moved to elmo-multi.el
7367 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7369 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7370 `elmo-msgdb-expand-path'.
7371 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7372 (elmo-pop3-read-msg): Ditto.
7373 (elmo-pop3-delete-msgs): Ditto.
7374 (elmo-pop3-folder-diff): New alias.
7376 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7377 `elmo-msgdb-expand-path'.
7378 (elmo-pipe-list-folder-unread): Changed arguments.
7379 (elmo-pipe-list-folder-important): Ditto.
7380 (elmo-pipe-folder-diff): New alias.
7382 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7383 `elmo-msgdb-expand-path'.
7384 (elmo-nntp-max-of-folder): Ditto.
7385 (elmo-nntp-msgdb-create): Ditto.
7386 (elmo-nntp-delete-msgs): Ditto.
7387 (elmo-nntp-folder-diff): New alias.
7389 * elmo-multi.el (elmo-multi-folder-diff): New function.
7390 (elmo-multi-split-mark-alist): Ditto.
7391 (elmo-multi-split-number-alist): Ditto.
7392 (elmo-multi-mark-alist-list): Abolished (Renamed to
7393 elmo-multi-split-mark-alist).
7394 (elmo-multi-list-folder-unread): Rewrite.
7395 (elmo-multi-list-folder-important): Ditto.
7396 (elmo-multi-list-folder): Set `spec' as 1st argument for
7397 `elmo-msgdb-expand-path'.
7398 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7399 instead of `elmo-multi-get-number-alist-list'.
7401 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7402 If 1st argument is not string, treat as spec.
7403 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7404 `elmo-msgdb-expand-path'.
7405 (elmo-msgdb-flist-load): Ditto.
7406 (elmo-msgdb-flist-save): Ditto.
7407 (elmo-msgdb-delete-path): Ditto.
7408 (elmo-msgdb-rename-path): Ditto.
7410 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7411 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7412 (elmo-maildir-delete-mark-msgs): Ditto.
7413 (elmo-maildir-msgdb-create): Ditto.
7414 (elmo-maildir-read-msg): Ditto.
7415 (elmo-maildir-delete-msgs): Ditto.
7416 (elmo-maildir-list-folder-subr): Ditto.
7417 (elmo-maildir-search): Ditto.
7418 (elmo-maildir-get-msg-filename): Ditto.
7419 (elmo-maildir-pack-number): Ditto.
7420 (elmo-maildir-folder-diff): New alias.
7422 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7424 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7425 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7426 (elmo-localdir-folder-diff): New alias.
7428 * elmo-internal.el (elmo-internal-list-folder-subr):
7429 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7430 (elmo-internal-list-folder-by-location): Ditto.
7431 (elmo-internal-msgdb-create): Ditto.
7432 (elmo-internal-delete-msgs): Ditto.
7433 (elmo-internal-read-msg): Ditto.
7434 (elmo-internal-folder-diff): New alias.
7436 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7437 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7438 `elmo-msgdb-expand-path'.
7439 (elmo-imap4-list-folder-unread): Changed arguments.
7440 (elmo-imap4-list-folder-important): Ditto.
7442 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7443 (elmo-filter-list-folder-important): Ditto.
7444 (elmo-filter-folder-diff): New function.
7446 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7448 * elmo-cache.el (elmo-cache-list-folder):
7449 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7450 (elmo-cache-copy-msgs): Ditto.
7451 (elmo-cache-folder-diff): New alias.
7453 * elmo-archive.el (elmo-archive-list-folder-subr):
7454 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7455 (elmo-archive-get-archive-name): Ditto.
7456 (elmo-archive-create-file): Ditto.
7457 (elmo-archive-append-msg): Ditto.
7458 (elmo-archive-copy-msgs): Ditto.
7459 (elmo-archive-copy-msgs-froms): Ditto.
7460 (elmo-archive-get-msg-filename): Ditto.
7461 (elmo-archive-folder-diff): New alias.
7463 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7465 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7466 (elmo-pop3-stream-type-alist): New variable.
7467 (elmo-nntp-stream-type-alist): New variable.
7469 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7470 (elmo-kill-buffer): Ditto.
7471 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7472 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7473 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7474 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7475 (elmo-imap4-get-spec): Take into account
7476 `elmo-imap4-stream-type-alist'.
7478 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7480 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7481 (elmo-nntp-list-folders-get-cache): Ditto.
7483 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7485 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7486 character before 'uid'.
7488 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7490 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7492 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7494 * elmo-util.el (elmo-number-set-member): New function.
7495 (elmo-number-set-append-list): Ditto.
7496 (elmo-number-set-append): Ditto.
7498 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7499 Use `elmo-number-set-member'.
7500 (elmo-living-messages): Ditto.
7501 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7502 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7504 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7505 (elmo-imap4-add-to-cont-list): Abolished.
7506 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7507 instead of elmo-imap4-add-to-cont-list.
7509 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7510 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7512 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7514 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7516 * elmo-util.el (elmo-condition-parse-search-value):
7519 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7521 * elmo-util.el (elmo-condition-find-key-internal): New function.
7522 (elmo-condition-find-key): Ditto.
7524 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7525 (elmo-msgdb-search-internal): Ditto.
7526 (elmo-msgdb-search): Ditto.
7528 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7530 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7531 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7533 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7534 (elmo-nntp-search-primitive): Fixed problem when condition is
7537 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7539 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7540 (elmo-nntp-xhdr-p): New macro.
7541 (elmo-nntp-set-xhdr): Ditto.
7542 (elmo-nntp-parse-xhdr-response): New function.
7543 (elmo-nntp-retrieve-field): Ditto.
7544 (elmo-nntp-search-primitive): Ditto.
7545 (elmo-nntp-search): Implemented.
7547 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7549 * elmo-archive.el (elmo-archive-search): Set all number list to
7550 `elmo-archive-field-condition-match'
7552 * elmo-localdir.el (elmo-localdir-search): Likewise.
7554 * elmo-maildir.el (elmo-maildir-search): Likewise.
7556 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7558 * elmo-msgdb.el (elmo-living-messages): New function.
7559 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7560 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7561 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7562 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7563 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7564 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7565 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7566 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7567 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7568 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7569 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7571 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7573 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7575 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7577 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7579 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7580 arguments for `SEARCH' command.
7581 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7582 All other related portions are changed.
7584 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7586 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7587 (elmo-list-folder-unread): Rewrite.
7588 (elmo-list-folder-important): Ditto.
7590 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7591 (elmo-condition-parse-error): New inline function.
7592 (elmo-read-search-condition): New function.
7593 (elmo-read-search-condition-internal): Ditto.
7594 (elmo-parse-search-condition): Rewrite.
7595 (elmo-condition-parse): New function.
7596 (elmo-condition-parse-or-expr): Ditto.
7597 (elmo-condition-parse-and-expr): Ditto.
7598 (elmo-condition-parse-primitive): Ditto.
7599 (elmo-condition-parse-search-value): Ditto.
7600 (elmo-buffer-field-primitive-condition-match): Ditto.
7601 (elmo-buffer-field-condition-match): Rewrite.
7602 (elmo-file-field-condition-match): Ditto.
7604 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7605 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7607 * elmo-internal.el (elmo-internal-search): Set `number' and
7608 `number-list' argument of `elmo-file-field-condition-match'.
7610 * elmo-maildir.el (elmo-maildir-search): Ditto.
7612 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7613 `msgdb' as argument instead of `mark-alist'.
7614 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7617 * elmo-multi.el: Likewise.
7619 * elmo-pipe.el: Likewise.
7621 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7622 (elmo-imap4-search-internal): Rewrite.
7623 (elmo-imap4-search): Ditto.
7625 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7626 (elmo-filter-list-folder-unread): Ditto.
7627 (elmo-filter-list-folder-important): Ditto.
7628 (elmo-filter-search): Rewrite.
7630 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7631 `number-list' argument of `elmo-file-field-condition-match'.
7632 (elmo-cache-search): Ditto.
7634 * elmo-localdir.el: Likewise.
7636 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7637 number-list and pass it to `elmo-buffer-field-condition-match'.
7638 (elmo-archive-field-condition-match): Pass `number-list' to
7639 `elmo-archive-field-condition-match'
7641 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7643 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7646 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7647 (elmo-folder-diff-async-callback-data): Ditto.
7648 (elmo-folder-diff-async): New function.
7650 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7651 (elmo-network-session-cache-key): Use it as a prefix of the session
7653 (elmo-network-open-session): Ditto.
7655 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7656 (elmo-imap4-status-callback-data): Ditto.
7657 (elmo-imap4-server-diff-async-callback): New variable.
7658 (elmo-imap4-server-diff-async-callback-data): Ditto.
7659 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7660 `elmo-imap4-status-callback-data'.
7661 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7662 `elmo-imap4-status-callback-data' as nil.
7663 (elmo-imap4-server-diff): Ditto.
7664 (elmo-imap4-server-diff-async-callback-1): New function.
7665 (elmo-imap4-server-diff-async): Ditto.
7666 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7668 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7670 * elmo-util.el (elmo-list-delete): Doc fix.
7671 (elmo-delete-lists): Abolish.
7672 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7673 instead of `elmo-delete-lists'.
7675 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7677 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7680 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7682 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7683 `elmo-imap4-literal-subr'.
7684 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7685 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7687 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7689 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7690 (elmo-archive-list-folder): Fix.
7691 (elmo-archive-max-of-folder): Fix.
7693 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7695 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7696 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7697 (elmo-localdir-append-msg): Ditto.
7698 (elmo-localdir-list-folder): Fix for `nonsort'.
7699 (elmo-localdir-list-folder-subr): Fix for `killed'.
7700 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7701 (elmo-maildir-list-folder-subr): Ditto.
7702 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7703 (elmo-archive-list-folder-subr): Ditto.
7704 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7705 (elmo-internal-list-folder-subr): Ditto.
7707 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7709 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7711 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7713 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7715 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7717 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7718 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7720 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7722 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7723 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7725 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7727 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7729 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7730 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7731 before STORE command.
7733 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7735 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7737 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7738 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7740 (elmo-imap4-list-folders): Removed unused local variable.
7741 (elmo-network-initialize-session): Ditto.
7742 (elmo-imap4-delete-msg-by-id): Ditto.
7743 (elmo-imap4-parse-fetch): Ditto.
7744 (elmo-imap4-copy-msgs): Ditto.
7745 Use `dst-spec' instead of `dst-folder'.
7746 (elmo-network-authenticate-session): Check authenticate type `plain'.
7748 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7750 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7752 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7753 `elmo-imap4-response-value'.
7754 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7756 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7758 * elmo-imap4.el (elmo-imap4-send-command):
7759 Cause elmo-imap4-bye-error when current response is BYE.
7760 (elmo-imap4-arrival-filter): Changed greeting response value.
7762 * elmo2.el (elmo-imap4-bye-error): Define.
7764 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7765 (elmo-imap4-server-diff): Ditto.
7766 (elmo-imap4-response-bye-p): New macro.
7767 (elmo-imap4-response-error-text): Get text from BYE response.
7768 (elmo-imap4-read-response): Return if BYE response.
7769 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7770 (elmo-imap4-folder-exists-p): Ditto.
7771 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7772 (elmo-imap4-parse-bye): New function.
7773 (elmo-imap4-parse-response): Remove needless let.
7774 Call `elmo-imap4-parse-bye'.
7776 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7778 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7779 the mailbox does not exist.
7780 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7782 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7784 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7786 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7788 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7790 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7791 (elmo-network-initialize-session-buffer): Defined.
7793 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7795 (mmelmo-imap4-get-mime-entity): Rewrite.
7797 * elmo2.el (elmo-error): Capitalize error message.
7799 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7800 (elmo-network-session-buffer): New macro.
7801 (elmo-network-open-session): Use it.
7803 * elmo-imap4.el: Rewrite.
7805 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7807 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7809 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7811 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7812 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7813 (elmo-imap4-create-msgdb-from-overview-string): Use
7814 `elmo-msgdb-create-overview-from-buffer'.
7816 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7818 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7819 (elmo-imap4-default-hierarchy-delimiter): New variable.
7820 (elmo-imap4-list-folders): Use it.
7822 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7824 * elmo-net.el (elmo-network-open-session): Add user and
7825 stream-type for process-buffer name.
7827 * elmo-pop3.el (elmo-network-initialize-session): Call
7828 buffer-disable-undo.
7830 * elmo-imap4.el (elmo-network-initialize-session):
7831 Set current-buffer as an argument for `buffer-disable-undo'.
7833 * elmo-pop3.el (elmo-network-close-session): Don't use
7836 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7837 Set default as 'user.
7839 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7841 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7842 and `elmo-imap4-flush-connection'.
7844 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7845 (elmo-pop3-get-spec): Assume auth as symbol.
7846 (elmo-open-network-stream): Moved to `elmo-net'.
7848 * elmo-pop3.el (toplevel): Require 'elmo-net.
7849 Define `sasl-cram-md5' to silence byte compilier.
7850 (elmo-pop3-connection-cache) Abolished.
7851 (elmo-pop3-authenticator-alist) New variable.
7852 (elmo-pop3-session): Define.
7853 (elmo-pop3-connection-get-process): Abolished.
7854 (elmo-pop3-connection-get-buffer): Ditto.
7855 (elmo-pop3-close-connection): Ditto.
7856 (elmo-pop3-flush-connection): Ditto.
7857 (elmo-pop3-get-connection): Ditto.
7858 (elmo-pop3-get-session): New function.
7859 (Replacement for `elmo-pop3-get-connection').
7860 All other related modules are changed.
7861 (elmo-network-close-session): Define.
7862 (elmo-pop3-send-command): Abolished argument `buffer'.
7863 All other related modules are changed.
7864 (elmo-pop3-read-response): Likewise.
7865 (elmo-pop3-open-connection): Abolished.
7866 (elmo-pop3-auth-user): New function.
7867 (elmo-pop3-auth-apop): Ditto.
7868 (elmo-pop3-auth-cram-md5): Ditto.
7869 (elmo-pop3-auth-scram-md5): Ditto.
7870 (elmo-pop3-auth-digest-md5): Ditto.
7871 (elmo-network-initialize-session): Define.
7872 (elmo-network-authenticate-session): Ditto.
7873 (elmo-network-setup-session): Ditto.
7875 * elmo-imap4.el (toplevel): Require 'elmo-net.
7876 (elmo-imap4-session): Define.
7877 (elmo-imap4-connection-cache): Abolished.
7878 (elmo-imap4-password-key): Ditto.
7879 (elmo-imap4-flush-connection): Ditto.
7880 (elmo-imap4-get-connection): Ditto.
7881 All other related modules are changed.
7882 (elmo-imap4-get-session): New function
7883 (Replacement for `elmo-imap4-get-connection').
7884 (elmo-imap4-read-response): Abolished argument `buffer'.
7885 All other related modules are changed.
7886 (elmo-imap4-send-command): Likewise.
7887 (elmo-imap4-select-folder): Abolished.
7888 All other related modules are changed.
7889 (elmo-imap4-select-mailbox): New function.
7890 (Replacement for `elmo-imap4-select-folder').
7891 (elmo-imap4-auth-login): Simplify.
7892 (Assume current buffer as process buffer)
7893 (elmo-imap4-auth-cram-md5): Ditto.
7894 (elmo-imap4-auth-digest-md5): Ditto.
7895 (elmo-imap4-login): Ditto.
7896 (elmo-imap4-open-connection): Abolished.
7897 (elmo-imap4-open-connection-1): Abolished.
7898 (elmo-network-initialize-sessoin): Define.
7899 (elmo-network-authenticate-session): Ditto.
7900 (elmo-network-setup-session): Ditto.
7902 * elmo-net.el: New module.
7904 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7906 * elmo-util.el (elmo-define-error): New function.
7908 * elmo2.el (elmo-error): Define.
7909 (elmo-open-error): Define.
7910 (elmo-authenticate-error): Define.
7912 * elmo-imap4.el (elmo-imap4-error): Abolish.
7913 (elmo-imap4-error-type): Abolish.
7914 (elmo-imap4-error-process): Abolish.
7915 (elmo-imap4-error-message): Abolish
7916 (elmo-imap4-list-folders): Don't quote lambda.
7917 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7918 (elmo-imap4-parse-namespace): Ditto.
7919 (elmo-imap4-open-connection): Rewrite.
7920 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7921 (elmo-imap4-get-connection): Abolish local variable `result'.
7923 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7925 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7926 wrong-type-argument error when auth is nil.
7928 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7930 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7931 (elmo-default-nntp-stream-type): Ditto.
7932 (elmo-default-pop3-stream-type): Ditto.
7933 (elmo-network-stream-type-alist): Ditto.
7934 (elmo-default-imap4-ssl): Abolished.
7935 (elmo-default-nntp-ssl): Ditto.
7936 (elmo-default-pop3-ssl): Ditto.
7938 * elmo-util.el: (toplevel): Removed needless requires.
7939 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7940 (elmo-open-network-stream): Open network stream according to
7941 the value of `elmo-network-stream-type-alist'.
7942 (elmo-get-network-stream-type): New function.
7943 (elmo-network-stream-type-spec-string): New macro.
7944 (elmo-network-stream-type-symbol): Ditto.
7945 (elmo-network-stream-type-function): Ditto.
7947 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7948 network-stream-type. All other related portions are changed.
7949 (elmo-pop3-open-connection): Ditto.
7951 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7952 network-stream-type. All other related portions are changed.
7954 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7955 network-stream-type.All other related portions are changed.
7956 (elmo-imap4-error): New macro.
7957 (elmo-imap4-error-type): Ditto.
7958 (elmo-imap4-error-process): Ditto.
7959 (elmo-imap4-error-message): Ditto.
7960 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7961 (elmo-imap4-auth-cram-md5): Ditto.
7962 (elmo-imap4-auth-digest-md5): Ditto.
7963 (elmo-imap4-login): Ditto.
7964 (elmo-imap4-open-connection): Remove password entry if authentication
7966 (elmo-imap4-user-at-host): Abolished.
7967 (elmo-imap4-password-key): New buffer local variable.
7968 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7969 using protocol, port, auth and stream-type.
7971 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7973 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7975 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7977 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7979 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7980 (elmo-imap4-authenticator-alist): New variable.
7981 (elmo-imap4-open-connection-1): Rename from
7982 elmo-imap4-open-connection.
7983 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
7984 only wraps elmo-imap4-open-connection-1.
7985 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
7987 (elmo-imap4-auth-login): New function.
7988 (elmo-imap4-auth-cram-md5): New function.
7989 (elmo-imap4-auth-digest-md5): New function.
7990 (elmo-imap4-login): New function.
7992 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7994 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
7997 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7999 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8001 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8003 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8005 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8007 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8008 for server responses, quote `*' regardless of where it appears.
8010 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8012 * elmo-maildir.el (elmo-maildir-commit): New alias.
8014 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8016 * elmo-util.el (elmo-display-progress):
8017 Use `progress-feedback-with-label'.
8019 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8021 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8022 (elmo-imap4-non-atom-char-regex): Ditto.
8023 (elmo-imap4-non-text-char-regex): Ditto.
8024 (elmo-imap4-literal-threshold): Ditto.
8025 (elmo-imap4-atom-p): New function.
8026 (elmo-imap4-quotable-p): Ditto.
8027 (elmo-imap4-nil): Ditto.
8028 (elmo-imap4-atom): Ditto.
8029 (elmo-imap4-quoted): Ditto.
8030 (elmo-imap4-literal-subr): Ditto.
8031 (elmo-imap4-literal): Ditto.
8032 (elmo-imap4-buffer-literal): Ditto.
8033 (elmo-imap4-string-subr): Ditto.
8034 (elmo-imap4-string): Ditto.
8035 (elmo-imap4-buffer-string): Ditto.
8036 (elmo-imap4-astring-subr): Ditto.
8037 (elmo-imap4-astring): Ditto.
8038 (elmo-imap4-buffer-astring): Ditto.
8039 (elmo-imap4-nstring): Ditto.
8040 (elmo-imap4-buffer-nstring): Ditto.
8041 (elmo-imap4-mailbox): New alias.
8042 (elmo-imap4-field-body): Ditto.
8043 (elmo-imap4-userid): Ditto.
8044 (elmo-imap4-password): Ditto.
8045 (elmo-imap4-format-quoted): New function.
8046 (elmo-imap4-send-command): Rewritten. Accept a list of command
8047 arguments and handle "atom", "quoted" and "literal" string here.
8048 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8049 `elmo-imap4-send-command'.
8050 (elmo-imap4-folder-exists-p): Likewise.
8051 (elmo-imap4-create-folder): Likewise.
8052 (elmo-imap4-delete-folder): Likewise.
8053 (elmo-imap4-rename-folder): Likewise.
8054 (elmo-imap4-max-of-folder): Likewise.
8055 (elmo-imap4-check-validity): Likewise.
8056 (elmo-imap4-sync-validity): Likewise.
8057 (elmo-imap4-server-diff): Likewise.
8058 (elmo-imap4-select-folder): Likewise.
8059 (elmo-imap4-copy-msgs): Likewise.
8060 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8061 (elmo-imap4-mark-set-on-msgs): Likewise.
8062 (elmo-imap4-read-part): Likewise.
8063 (elmo-imap4-read-msg): Likewise.
8064 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8065 `elmo-imap4-password' for `elmo-imap4-send-command'.
8066 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8067 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8068 `elmo-imap4-buffer-literal'.
8069 (elmo-imap4-append-msg): Likewise.
8071 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8072 `delete' for removing dead connection from the connection cache.
8073 Move deletion of the process buffer after that.
8074 (elmo-imap4-list): Change `defsubst' to `defun'.
8075 (elmo-imap4-commit): Make error message verbose.
8076 (elmo-imap4-search): Ditto.
8077 (elmo-imap4-list): Ditto.
8078 (elmo-imap4-select-folder): Ditto.
8079 (elmo-imap4-copy-msgs): Ditto.
8080 (elmo-imap4-delete-msg-by-id): Ditto.
8081 (elmo-imap4-append-msg-by-id): Ditto.
8082 (elmo-imap4-append-msg): Ditto.
8084 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8086 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8087 when dired is used on XEmacs.
8089 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8091 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8092 instead of `append'.
8093 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8094 `elmo-plugged-p' directly.
8095 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8096 of `elmo-plugged-p' directly.
8098 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8099 Eliminate unused variable. Use `memq' for checking a process status.
8100 Use `cons' instead of `append' for updating the connection cache.
8101 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8102 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8104 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8106 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8107 `elmo-imap4-read-point' exactly.
8109 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8110 the local variable `folder' to `mailbox'.
8111 Rename the argument `fld' to `folder'.
8113 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8115 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8116 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8118 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8120 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8121 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8122 (elmo-pop3-uidl-number-hash): Ditto.
8123 (elmo-pop3-size-hash): Ditto.
8124 (elmo-pop3-uidl-done): Ditto.
8125 (elmo-pop3-list-done): Ditto.
8126 (elmo-pop3-connection-get-process): New defmacro.
8127 (elmo-pop3-connection-get-buffer): Ditto.
8128 (elmo-pop3-close-connection): Delete buffer and process.
8129 (elmo-pop3-flush-connection): Don't delete buffer and process.
8130 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8131 Setup UIDL and size hash.
8132 (elmo-pop3-send-command-no-erase): Deleted
8133 (elmo-pop3-send-command): Added optional argument `no-erase'.
8134 (elmo-pop3-parse-uidl-response): New function.
8135 (elmo-pop3-parse-list-response): Set size hash.
8136 (elmo-pop3-list-location): New function.
8137 (elmo-pop3-list-by-uidl-subr): Ditto.
8138 (elmo-pop3-list-by-list): Ditto.
8139 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8140 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8141 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8142 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8143 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8145 (elmo-pop3-uidl-to-number): New function.
8146 (elmo-pop3-number-to-uidl): Ditto.
8147 (elmo-pop3-number-to-size): Ditto.
8148 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8149 Set number by use of uidl.
8150 (elmo-pop3-msgdb-create-message): Likewise.
8151 Set size, loc-alist in msgdb.
8152 (elmo-pop3-read-msg): Set number by use of uidl.
8153 Added optional argument `msgdb'.
8154 (elmo-pop3-delete-msg): Ditto.
8155 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8156 (elmo-pop3-commit): Close connection.
8158 * elmo-pipe.el (elmo-pipe-max-of-folder):
8159 Bind `elmo-pop3-use-uidl' as nil.
8160 (elmo-pipe-drain): Ditto.
8163 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8164 (elmo-msgdb-overview-entity-set-size): New defsubst.
8166 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8168 * elmo-vars.el (elmo-use-killed-list): New variable
8169 (Renamed from `elmo-nntp-use-killed-list').
8170 (elmo-nntp-use-killed-list): Eliminated.
8172 * elmo-msgdb.el (elmo-msgdb-expand-path):
8173 Changed expanding msgdb path for elmo-multi.
8175 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8176 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8177 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8178 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8179 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8180 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8181 (toplevel): Deleted time-stamp line.
8183 * elmo2.el (elmo-clear-killed ): Defined as function
8184 (Abolished defining as a backend function).
8185 All other related modules are changed.
8187 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8189 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8191 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8193 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8195 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8197 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8199 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8201 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8202 asynchronous folder check.
8204 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8206 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8207 `elmo-nntp-use-killed-list'.
8208 (elmo-nntp-list-folder): Use killed list.
8209 (elmo-nntp-max-of-folder): Ditto.
8210 (elmo-nntp-msgdb-create): Set killed list.
8212 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8214 * elmo2.el (elmo-clear-killed): New backend function.
8215 All other related modules are changed.
8217 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8219 * elmo-util.el (elmo-imap4-spec-folder): Use
8220 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8221 All callers changed.
8223 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8225 * mmelmo-2.el (initialize-instance):
8226 Use `mime-buffer-entity-buffer-internal' instead of
8227 `mime-entity-buffer'.
8229 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8230 (mime-entity-body): Implemented.
8231 (mime-goto-header-start-point): Deleted.
8232 (mime-goto-body-end-point): Ditto.
8233 (mime-entity-point-min): Ditto.
8234 (mime-entity-point-max): Ditto.
8235 (mime-entity-children): Ditto.
8236 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8237 instead of `mime-entity-buffer'.
8238 (mime-entity-header-buffer): Ditto.
8239 (mime-entity-body-buffer): Ditto.
8240 (mime-write-entity-content): Ditto.
8242 * pldap.el (ldap-static-if): New macro.
8243 (toplevel): Use it instead of `static-if'.
8245 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8247 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8248 included in `attrs' argument.
8250 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8252 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8254 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8255 (ldap-ldif-safe-init-char-regexp): Ditto.
8256 (ldap-ldif-safe-string-regexp): Ditto.
8257 (ldap/ldif-safe-string-p): New macro.
8258 (ldap/ldif-insert-field): Ditto.
8259 (ldap-modify): Use it.
8261 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8262 (ldap-decode-attribute): Decode only when `attr' is consp.
8263 (ldap-delete): Bind `ret'.
8264 (toplevel): Require 'cl at compile time.
8265 Removed (require 'poe) and (require 'std11).
8266 (pldap-version): Eliminated.
8267 (ldap-search-basic): Removed auth and dn binding.
8268 (ldap-ldif-field-name-regexp): New constant.
8269 (ldap-ldif-field-head-regexp): Ditto.
8270 (ldap-ldif-next-field-head-regexp): Ditto.
8271 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8272 (ldap/field-end): New function.
8273 (ldap/field-body): Use it.
8274 (ldap/collect-field): Ditto.
8275 (ldap-search-basic): Use `ldap/field-body'.
8277 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8279 * pldap.el (ldap-default-attribute-encoder): New user option.
8280 (ldap/field-body): Decode base64 string.
8281 (ldap/collect-field): Ditto.
8282 (ldap-encode-attribute): New function.
8283 (ldap-add-entries): Use it.
8284 (ldap-modify-entries): Ditto.
8285 (ldap-search-entries): Enclosed decoding function with
8286 `with-temp-buffer' and set as unibyte.
8287 (ldap-search-basic): Set process buffer as unibyte.
8289 * elmo-util.el (elmo-folder-identical-system-p):
8290 Eliminated name space checking.
8292 * pldap.el: New module.
8293 toplevel: Changed condition to detect built-in ldap feature.
8294 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8295 (ldap-add): Added error handling.
8296 (ldap-modify): Ditto.
8297 (ldap-delete): Ditto.
8299 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8301 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8302 Initialize local variables with `let'. Inline a temporary
8303 variable for the progress percentage. Sort `setq' to reduce
8304 function call in the while-loop.
8306 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8307 into the conditional branch.
8309 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8311 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8312 Move a conditional out of the while-loop.
8314 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8316 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8317 elmo-msgdb-overview-get-entity-by-number.
8318 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8321 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8323 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8324 the local variable for a packed number self descriptively.
8326 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8328 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8329 * elmo-localdir.el (elmo-localdir-pack-number): Use
8330 `elmo-msgdb-overview-get-entity' instead of
8331 `elmo-msgdb-overview-get-entity-by-number'.
8332 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8333 (elmo-msgdb-search-overview-entity): Removed.
8334 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8335 by message-id or number.
8336 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8337 instead of `elmo-msgdb-overview-get-entity-by-number'.
8339 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8341 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8342 non-nil, use hash table for overview.
8343 (elmo-hash-maximum-size): New variable.
8344 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8345 (elmo-msgdb-make-overview-hashtb): New function.
8346 (elmo-msgdb-clear-overview-hashtb): New function.
8347 (elmo-clear-hash-val): New macro.
8348 All other related modules are changed.
8350 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8352 * elmo2.el (elmo-move-msgs): If there's other message with
8353 same message-id, don't use cache.
8355 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8357 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8358 number is already packed.
8360 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8362 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8364 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8366 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8367 All other related modules are changed.
8369 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8371 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8372 of refiling failure on Maildir.
8374 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8376 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8377 decoded mime-charset with cache.
8378 (elmo-msgdb-overview-entity-get-from): Ditto.
8379 (elmo-msgdb-overview-entity-get-subject): Ditto.
8380 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8382 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8384 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8385 (elmo-remove-passwd): Fill password with 0 before erase.
8386 * elmo-vars.el (elmo-passwd-life-time): New variable.
8389 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8391 * elmo-cache.el (elmo-buffer-cache-add):
8392 Set message cache buffer as unibyte.
8394 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8396 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8399 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8401 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8402 when display is finished.
8403 (elmo-nntp-msgdb-create): Ditto.
8404 (elmo-nntp-groups-read-response): Ditto.
8405 (elmo-nntp-retrieve-headers): Ditto.
8406 (elmo-nntp-msgdb-create-message): Ditto.
8407 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8408 (elmo-pop3-msgdb-create-message): Ditto.
8410 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8412 * elmo-maildir.el (elmo-maildir-msgdb-create):
8413 Use `elmo-msgdb-sort-by-date'.
8415 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8417 * elmo2.el (elmo-read-msg-no-cache):
8418 Eliminated arguments after `outbuf'.
8419 Don't use cache even if it exists.
8420 (elmo-read-msg): Don't pass arguments after `outbuf' to
8421 `elmo-read-msg-no-cache'.
8423 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8425 * elmo-archive.el (elmo-archive-list-folders):
8426 Use `file-name-directory' if base folder does not exist.
8428 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8430 * elmo-archive.el (elmo-archive-list-folders): Don't use
8431 `file-name-directory'.
8433 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8435 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8436 If `force' is non-nil, try flushing all operation queues.
8438 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8440 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8443 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8445 * elmo-util.el (elmo-display-progress): Fixed.
8447 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8449 * elmo-util.el (elmo-display-progress): New function.
8450 All other related modules are changed.