* elmo-mime.el (elmo-mime-header-max-column): Set default value as
[elisp/wanderlust.git] / elmo / ChangeLog
1 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
4         symbol `fill-column'.
5         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
6         decode field value.
7
8         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
9         (elmo-decoded-field-body): Ditto.
10
11 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
12
13         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
14         `tokens' to `params'.
15
16 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
17
18         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
19         working buffer.
20
21 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
22
23         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
24         decide index.
25
26 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
27
28         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
29         Set default value as nil.
30         (toplevel): Register search engines by
31         `elmo-search-register-engine' if there are not defined.
32
33         * elmo.el (autoload): Added autoload setting for
34         `elmo-search-register-engine'.
35
36 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
37
38         * elmo.el (toplevel): `[' is redefined as the prefix of the search
39         folder instead of nmz folder.
40         (elmo-nmz-default-index-path): Added obsolete variable setting.
41         (elmo-nmz-index-alias-alist): Ditto.
42         (elmo-nmz-use-drive-letter): Ditto.
43
44         * elmo-search.el (elmo-search-register-engine): New function.
45
46         * elmo-nmz.el: Removed.
47
48         * elmo-version.el (elmo-version): Up to 2.15.2.
49
50 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
51
52         * elmo-search.el: New file.
53
54 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
55
56         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
57         condition `larger' and `smaller'.
58
59 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo-util.el (elmo-safe-filename): Rewrite to replace
62         `"' (double quote) into "_Q_".
63
64 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
65
66         * elmo-net.el (elmo-net-quote-chars): Abolish.
67         (elmo-net-format-quoted): Ditto.
68
69 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
70
71         * elmo.el (elmo-get-folder-function): New variable.
72         (elmo-get-folder): New function.
73         (elmo-folder-rename): Call `elmo-make-folder' with specified
74         mime-charset.
75
76         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
77         `elmo-make-folder'.
78         (elmo-split-subr): Ditto.
79
80         * elmo-multi.el (elmo-folder-initialize): Ditto.
81
82         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
83
84         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
85         (elmo-flag-get-folder): Ditto.
86
87         * elmo-filter.el (elmo-folder-initialize): Ditto.
88
89         * elmo-access.el (elmo-folder-initialize): Ditto.
90         (elmo-access-folder-update-children): Ditto.
91
92         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
93         (elmo-dop-queue-flush): Ditto.
94         (elmo-folder-append-buffer-dop-delayed): Ditto.
95         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
96         mime-charset.
97
98         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
99         instead of `elmo-make-folder'.
100         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
101         destination folder instead of send `elmo-folder-rename-internal'.
102
103         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
104         slot of subfolder instead of create it.
105
106 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elmo-util.el (elmo-collect-separators): New function.
109         (elmo-collect-separators-internal): Ditto.
110         (elmo-collect-trail-separators): Ditto.
111         (elmo-parse-separated-tokens): Ditto.
112         (elmo-parse-separated-tokens-internal): Ditto.
113         (elmo-quote-syntactical-element): Ditto.
114
115         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
116         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
117
118         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
119         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
120         (elmo-nntp-folder-list-subfolders): Quote a user name.
121
122         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
123         (elmo-net-parse-network): Abolish.
124         (elmo-net-folder-set-parameters): New function.
125         (elmo-folder-initialize): Follow the above change.
126
127         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
128         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
129         (elmo-folder-list-subfolders): Use
130         `elmo-quote-syntactical-element' instead of
131         `elmo-net-format-quoted' to quote mailbox and user name.
132
133 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
134
135         * elmo-util.el (elmo-token-valid-p): New function.
136         (elmo-parse-token): Add optional argument `requirement'.
137         (elmo-parse-prefixed-element): Likewise.
138
139         * elmo-net.el (elmo-net-quote-chars): Renamed from
140         `elmo-net-quote-chars-regexp'.
141         (elmo-net-format-quoted): Add optional argument `extra-chars'.
142
143         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
144         by info document. Check token `uidl' is started an alphabet.
145
146         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
147         by info document. Check token `user' is started an alphabet.
148
149         * elmo-imap4.el (elmo-folder-initialize): Ditto.
150         (elmo-folder-list-subfolders): Quote user.
151
152 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
153
154         * elmo-util.el (elmo-quoted-specials-list): New constant.
155         (elmo-quoted-token): New function.
156
157         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
158         (elmo-net-format-quoted): New function.
159         (elmo-net-parse-network): Ditto.
160         (elmo-folder-initialize): Use it.
161
162         * elmo-nntp.el (elmo-folder-initialize): Use
163         `elmo-net-parse-network' to parse network specification instead of
164         `elmo-folder-initialize#elmo-net'.
165
166         * elmo-pop3.el (elmo-folder-initialize): Ditto.
167
168         * elmo-imap4.el (elmo-folder-initialize): Ditto.
169         (elmo-folder-list-subfolders): Quote folder name by
170         `elmo-net-format-quoted'.
171
172 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
173
174         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
175         (elmo-folder-search): Use it.
176
177 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
178
179         * modb-standard.el (modb-standard-loaded-message-id): Use
180         `elmo-msgdb-message-entity-field'.
181
182 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
183
184         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
185         without filename.
186
187 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
188
189         * elmo-util.el (elmo-set-auto-coding): New function.
190         (elmo-object-load): Use it.
191
192 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
193
194         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
195         (elmo-time<): Define as alias of `elmo-time-less-p'.
196         (elmo-time-to-datevec): New function.
197
198         * elmo-date.el (elmo-time-to-days): New function.
199
200 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
203         is not cons cell.
204
205 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
206
207         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
208         parenthesis.
209
210         * elmo-util.el (elmo-map-recursive): New function.
211
212         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
213         (modb-entity-encode-string-recursive): Ditto.
214
215 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
216
217         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
218         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
219         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
220         compare sequence number when last modified time is nil.
221
222 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
223
224         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
225
226         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
227
228 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
229
230         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
231         modification time of the file.
232
233 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
234
235         * elmo-util.el (elmo-condition-optimize): Discriminated against
236         preserved fields, extra fields and the other weight.
237
238 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * modb-entity.el (initialize-instance): Define.
241         (modb-entity-handler-mime-charset): New internal function.
242         (modb-standard-entity-set-field): Use it.
243         (elmo-msgdb-message-entity-field): Ditto.
244         (elmo-msgdb-message-entity-field): Ditto.
245
246         * modb.el (elmo-msgdb-match-condition): Rewrite with
247         `elmo-condition-match'.
248         (elmo-msgdb-match-condition-primitive): New function.
249
250         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
251         arguments `flags' and `numbers'.
252         (elmo-msgdb-match-condition-primitive): Abolished (merged to
253         `elmo-msgdb-message-match-condition').
254         (modb-buffer-entity-handler): New class.
255
256         * elmo.el (elmo-folder-search): Optimize condition to use
257         `elmo-condition-optimize'.
258         (elmo-message-buffer-match-condition): New function.
259         (elmo-message-match-condition): Use
260         `elmo-message-buffer-match-condition' instead of
261         `elmo-buffer-field-condition-match'.
262
263         * elmo-util.el (elmo-condition-match): New function.
264         (elmo-condition-optimize): Ditto.
265         (elmo-buffer-field-primitive-condition-match): Abolish.
266         (elmo-buffer-field-condition-match): Ditto.
267
268         * elmo-archive.el (elmo-archive-field-condition-match): Use
269         `elmo-message-buffer-match-condition' instead of
270         `elmo-buffer-field-condition-match'.
271
272 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
273
274         * elmo-flag.el (elmo-global-flags-initialize): Check the
275         existence of the flag directory.
276
277 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
278
279         * elmo-access.el (elmo-folder-initialize): Call
280         `elmo-multi-connect-signals'.
281
282         * elmo-pipe.el (elmo-folder-close): Define.
283
284         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
285         children folders.
286
287         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
288         with target folder.
289
290         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
291         `number'.
292
293         * elmo-multi.el (elmo-message-entity): Don't use return value of
294         `elmo-message-entity-set-number'.
295
296 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
297
298         * modb.el (modb-generic): Added slot `mime-charset'.
299
300         * modb-standard.el (modb-standard): Added slot `overview-handler'.
301         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
302         and `modb-entity-handler-dump-parameters'.
303         (modb-standard-default-entity-handler): Abolish.
304         (elmo-msgdb-message-entity-handler): Save created handler by
305         instance slot.
306
307         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
308         (modb-entity-handler-list-parameters): New method.
309         (modb-entity-handler-equal-p): New function.
310         (modb-entity-handler-dump-parameters): Ditto.
311         (modb-entity-parse-address-string): Encode return value.
312         (modb-entity-make-address-string): Decode argument value.
313         (modb-entity-decode-string-recursive): New function.
314         (modb-entity-encode-string-recursive): Ditto.
315         (modb-standard-entity-normalizer): Set to encode field value.
316         (modb-standard-entity-specializer): Follow the above change.
317         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
318         mime-charset of handler.
319         (elmo-msgdb-message-entity-field): Ditto.
320         (elmo-msgdb-copy-message-entity): Fixed reference to internal
321         structure.
322         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
323
324         * elmo.el (elmo-folder): Added slot `mime-charset'.
325         (elmo-make-folder): Added argument `mime-charset'.
326         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
327         `mime-charest'.
328
329         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
330         (elmo-make-msgdb): Likewise.
331
332         * elmo-internal.el (elmo-internal-folder-initialize): Call
333         `luna-make-entity' with :mime-charset parameter.
334
335 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
336
337         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
338         encoded words in `from' and `subject' field.
339
340 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
341
342         * modb.el (elmo-msgdb-message-field): Add argument `type'.
343         (elmo-msgdb-match-condition): Get handler from entity instead of
344         msgdb.
345
346         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
347         (modb-standard-load-entity): Treat new file format.
348         (modb-standard-save-entity-1): Save as new file format.
349         (modb-standard-save-entity): Split messages into section here.
350         (elmo-msgdb-message-field): Follow the API change.
351         (modb-standard-default-entity-handler): New internal variable.
352         (elmo-msgdb-message-entity-handler): Define.
353
354         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
355         to `elmo-vars.el'.
356         (modb-entity-field-extractor-alist): New user option.
357         (elmo-msgdb-message-entity-field): Removed argument `decode' and
358         added argument `type'.
359         (elmo-msgdb-copy-message-entity): Add optional argument
360         `make-handler'.
361         (modb-set-field-converter): New function.
362         (modb-convert-field-value): Ditto.
363         (modb-entity-string-decoder): Ditto.
364         (modb-entity-string-encoder): Ditto.
365         (modb-entity-parse-date-string): Ditto.
366         (modb-entity-make-date-string): Ditto.
367         (modb-entity-mime-decoder): Ditto.
368         (modb-entity-mime-encoder): Ditto.
369         (modb-entity-address-list-decoder): Ditto.
370         (modb-entity-address-list-encoder): Ditto.
371         (modb-entity-parse-address-string): Ditto.
372         (modb-entity-make-address-string): Ditto.
373         (modb-entity-create-field-indices): Ditto.
374         (modb-legacy-entity-field-slots): New constant.
375         (modb-legacy-entity-field-indices): Ditto.
376         (modb-legacy-entity-normalizer): New variable.
377         (modb-legacy-entity-specializer): Ditto.
378         (modb-legacy-entity-field-index): New macro.
379         (modb-legacy-entity-set-field): New function.
380         (modb-legacy-make-message-entity): Rewrite.
381         (elmo-msgdb-create-message-entity-from-buffer): Use
382         `elmo-msgdb-get-references-from-buffer'. Use
383         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
384         Use `modb-legacy-entity-set-field' instead of
385         `elmo-msgdb-message-entity-set-field'.
386         (elmo-msgdb-message-entity-field): Rewrite.
387         (elmo-msgdb-message-entity-set-field): Ditto.
388         (elmo-msgdb-copy-message-entity): Make new entity by
389         `make-handler' if it specified.
390         (elmo-msgdb-message-match-condition): Define a method of
391         `modb-entity-handler' and follow the API change.
392         (modb-standard-entity-handler): New class.
393         (modb-entity-extract-ml-info-from-x-sequence): New function.
394         (modb-entity-extract-ml-info-from-subject): Ditto.
395         (modb-entity-extract-ml-info-from-return-path): Ditto.
396         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
397         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
398         (modb-entity-extract-mailing-list-info): Ditto.
399         (modb-entity-extract-mailing-list-info-functions): New variable.
400
401         * elmo.el (elmo-message-field): Add optional argument `type'.
402
403         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
404         from `modb-entity.el'.
405
406         * elmo-util.el (elmo-object-load): Decode by coding-system from
407         `set-auto-coding-function'.
408         (elmo-object-save): Use `detect-mime-charset-region' and add
409         coding cookie if encode.
410         (elmo-msgdb-get-references-from-buffer): New function.
411         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
412
413         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
414
415         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
416         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
417         instead of `shimbun-make-header' and follow the API change.
418         (elmo-shimbun-update-overview): Follow the API change.
419         (elmo-map-folder-list-message-locations): Ditto.
420
421         * elmo-pipe.el (elmo-message-field): Ditto.
422
423         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
424         Ditto.
425
426         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
427
428         * elmo-multi.el (elmo-message-field): Ditto.
429
430         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
431         (elmo-msgdb-sort-by-date): Ditto.
432         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
433         `elmo-message-entity-field'.
434         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
435         change.
436         (elmo-msgdb-overview-entity-get-from): Ditto.
437         (elmo-msgdb-overview-entity-get-subject): Ditto.
438         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
439         (elmo-msgdb-overview-entity-get-date): Ditto.
440         (elmo-msgdb-overview-entity-get-to): Ditto.
441         (elmo-msgdb-overview-entity-get-cc): Ditto.
442
443         * elmo-mime.el (elmo-message-mime-entity): Ditto.
444         (elmo-mime-collect-message/partial-pieces): Ditto.
445
446         * elmo-filter.el (elmo-message-field): Ditto.
447
448         * elmo-date.el (elmo-datevec-to-time): New function.
449         (elmo-time-parse-date-string): Ditto.
450         (elmo-time-make-date-string): Ditto.
451         (elmo-time<): Ditto.
452
453         * elmo-version.el (elmo-version): Up to 2.15.1.
454
455 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
456
457         * elmo-flag.el (elmo-global-flags-initialize): Don't include
458         member of elmo-local-flags.
459
460 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
461
462         * elmo-version.el (elmo-version): Up to 2.15.0.
463
464 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
465
466         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
467         `ignore-msgdb' is non-nil.
468
469 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
470
471         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
472         (elmo-condition-in-msgdb-p): Ditto.
473         (elmo-file-field-primitive-condition-match): Ditto.
474         (elmo-file-field-condition-match): Ditto.
475
476         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
477
478 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
481         subdirectories here.
482         (elmo-global-flags-initialize): New function.
483
484         * elmo.el (toplevel): Added autoload setting for
485         `elmo-global-flags-initialize'.
486
487 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
488
489         * elmo.el (message-number-changed): Define new signal.
490         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
491         message-number-changed signal.
492         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
493         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
494         Respect `elmo-pack-number-check-strict'.
495
496 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
497
498         * elmo-signal.el (elmo-connect-signal): Document.
499         (elmo-emit-signal): Ditto.
500         (elmo-emit-signal): It should pass source argument to filter and
501         handler, not slot-source.
502
503 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
504
505         * modb.el (elmo-msgdb-update-entity): New API and define generic
506         implement.
507
508         * modb-standard.el (elmo-msgdb-update-entity): Define.
509
510         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
511         API and define generic implement.
512
513         * elmo.el (update-overview): New singnal.
514
515         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
516         `elmo-msgdb-update-entity' and emit signal `update-overview'.
517         (elmo-message-entity-parent): Define.
518
519         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
520         `update-overview'.
521
522         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
523
524         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
525
526 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
527
528         * elmo.el (elmo-folder-synchronize): Sort the return value of
529         `elmo-list-diff'.
530
531         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
532         list.
533
534 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
535
536         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
537         `default-enable-multibyte-characters'.
538         (elmo-object-load): Use `with-temp-buffer' instead of
539         `elmo-set-work-buf'.
540         (elmo-object-save): Ditto.
541         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
542         `elmo-set-work-buf'.
543         (elmo-decoded-field-body): Ditto.
544
545         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
546
547         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
548         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
549
550         * elmo-version.el (elmo-version): Up to 2.13.3.
551
552 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
553
554         * elmo-util.el (elmo-list-diff): Fix the last change.
555         Reverse order of result lists.
556
557 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
558
559         * modb-standard.el (elmo-msgdb-set-flag): Use
560         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
561         (elmo-msgdb-unset-flag): Ditto.
562
563         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
564         `elmo-list-diff'.
565
566         * elmo-util.el (elmo-list-diff): Rewrite.
567         (elmo-list-diff-nonsortable): New function.
568
569 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
570
571         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
572         `elmo-multibypte-buffer-name'.  All referers are updated.
573
574 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
575
576         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
577         (elmo-mime-entity-fragment-p): New function.
578         (mime-elmo-buffer-entity): Added slot `reassembled'.
579         (elmo-message-mime-entity): Added 4th argument `reassemble'.
580         (elmo-message-mime-entity-internal): New function (renamed from
581         `elmo-message-mime-entity').
582         (elmo-mime-inherit-field-list-from-enclosed): New constant.
583         (elmo-mime-make-reassembled-mime-entity): New function.
584         (elmo-message-reassembled-mime-entity): Ditto.
585         (elmo-mime-collect-message/partial-pieces): Ditto.
586
587 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
588
589         * elmo.el (elmo-message-fetch-string): Disable multibyte.
590
591         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
592         (elmo-with-enable-multibyte): New macro.
593
594         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
595
596 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
597
598         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
599         argument `number'.
600         (elmo-filter-connect-signals): Follow the above change.
601
602 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
603
604         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
605
606         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
607         that only the first flag is used.
608
609 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
610
611         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
612         if available.
613
614 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
615
616         * elmo-signal.el: New file.
617
618         * elmo.el (toplevel): Require elmo-signal.
619         (flag-changing, flag-changed, cache-changed): New signal.
620         (elmo-folder): Remove slog `handlers'.
621         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
622         `elmo-folder-notify-event'.
623         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
624         (elmo-folder-unset-flag): Ditto.
625         (elmo-event-handler): Abolish.
626         (elmo-event-handler-flag-changed): Ditto.
627         (elmo-event-handler-cache-changed): Ditto.
628         (elmo-folder-add-handler): Ditto.
629         (elmo-folder-remove-handler): Ditto.
630         (elmo-folder-notify-event): Ditto.
631
632         * elmo-pipe.el (toplevel): Require elmo-signal.
633         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
634         (elmo-pipe-connect-signals): New function.
635         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
636         (elmo-folder-set-flag): Ditto.
637         (elmo-folder-unset-flag): Ditto.
638         (elmo-message-set-cached): Ditto.
639
640         * elmo-multi.el (toplevel): Require elmo-signal.
641         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
642         (elmo-multi-connect-signals): New function.
643         (elmo-multi-map-numbers): Ditto.
644         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
645         (elmo-message-fetch): Ditto.
646         (elmo-folder-set-flag): Ditto.
647         (elmo-folder-unset-flag): Ditto.
648
649         * elmo-filter.el (toplevel): Require elmo-signal.
650         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
651         (elmo-filter-connect-signals): New function.
652         (elmo-filter-add-flag-count): Ditto.
653         (elmo-message-fetch): Does not call
654         `elmo-filter-folder-countup-message-flags' and
655         `elmo-folder-notify-event'.
656         (elmo-message-set-cached): Ditto.
657         (elmo-folder-set-flag): Ditto.
658         (elmo-folder-unset-flag): Ditto.
659
660         * elmo-version.el (elmo-version): Up to 2.13.2.
661
662 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
663
664         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
665         `flags'.
666
667 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
668
669         * elmo-filter.el (elmo-message-set-cached): Call
670         `elmo-folder-notify-event' with event `cache-changed'.
671
672         * elmo-multi.el (elmo-message-set-cached): Ditto.
673
674         * elmo-pipe.el (elmo-message-set-cached): Ditto.
675
676 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
677
678         * elmo.el (elmo-folder-encache): Abolish.
679
680 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
681
682         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
683         (elmo-folder-next-message-number-dop): Return appropriate negative
684         integer.
685
686 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
687
688         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
689         clearing pending operations.
690         (elmo-folder-next-message-number-dop): Return appropriate negative
691         integer.
692
693 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
694
695         * elmo.el (toplevel): Added autoload setting for `md5'.
696         (elmo-msgdb-path-encode-threshold): New user option.
697         (elmo-folder-msgdb-path): Encode msgdb path if its length is
698         longer than `elmo-msgdb-path-encode-threshold'.
699
700         * elmo-flag.el (elmo-global-mark-migrate): Use
701         `elmo-folder-expand-msgdb-path' instead of
702         `elmo-folder-msgdb-path'.
703
704 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
705
706         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
707         element of the difference is nil.
708
709 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
710
711         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
712         to the check logic of file systems which are weak in colon character.
713
714 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
715
716         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
717
718 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
719
720         * elmo-maildir.el (elmo-maildir-move-file): New function.
721         (elmo-folder-append-buffer): Use it.
722         (elmo-folder-append-messages): Ditto.
723         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
724
725         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
726         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
727
728         * elmo-maildir.el (elmo-maildir-separator): New user option.
729         (elmo-maildir-adjust-separator): New macro.
730         (elmo-maildir-list-location): Use it.
731         (elmo-maildir-update-current): Ditto.
732         (elmo-maildir-set-mark): Ditto.
733         (elmo-maildir-delete-mark): Ditto.
734         (These changes are based on Hiroya Murata's patch [wl: 13437])
735
736 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
737
738         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
739
740 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
741
742         * elmo-flag.el (elmo-flag-valid-p): Simplify.
743         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
744         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
745
746 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
747
748         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
749         Use `with-temp-buffer'.
750
751 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
752
753         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
754
755         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
756         `wl-read-search-condition').
757         (elmo-read-search-condition-internal): Likewise.
758
759         * elmo-flag.el (elmo-flag-char-regexp): New constant.
760         (elmo-flag-valid-p): New function.
761         (elmo-folder-initialize): Check flag name is valid.
762
763 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
764
765         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
766         delimiter to obtain root mailbox itself.
767
768 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
769
770         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
771         type mismatch.
772
773 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
774
775         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
776         as t.
777
778 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
779
780         * elmo-shimbun.el (toplevel): Require cl at compile.
781
782         * elmo-nntp.el (toplevel): Ditto.
783
784         * elmo-nmz.el (toplevel): Ditto.
785
786         * elmo-multi.el (toplevel): Ditto.
787
788         * elmo-file.el (toplevel): Ditto.
789
790         * elmo-dop.el (toplevel): Ditto.
791
792         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
793
794 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
795
796         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
797         as nil.
798
799         * elmo.el (elmo-message-fetch): Return t even when the output buffer
800         size of elmo-message-fetch-internal is 0 byte.
801
802 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
803
804         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
805
806 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
807
808         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
809         always plugged.
810
811 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
812
813         * elmo-maildir.el (elmo-map-message-fetch): Call
814         `elmo-map-folder-set-flag'.
815
816         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
817         (elmo-message-fetch): Merge from
818         `elmo-message-fetch-with-cache-process'.
819
820         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
821         (elmo-message-fetch): Define.
822
823         * elmo-nntp.el (elmo-message-fetch): Renamed from
824         `elmo-message-fetch-with-cache-process'.
825
826         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
827         (elmo-message-fetch): Define.
828
829         * elmo-util.el (elmo-condition-parse-primitive): Downcase
830         search-key.
831
832         * elmo-shimbun.el (shimbun-mua-search-id): Use
833         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
834         (elmo-shimbun-folder-shimbun-header): Ditto.
835         (elmo-shimbun-get-headers): Ditto.
836         (elmo-shimbun-update-overview): Ditto.
837
838         * elmo-pipe.el (elmo-folder-detach-messages): Define.
839
840         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
841         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
842
843 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
844
845         * elmo.el (elmo-message-fetch): Unset unread flag on server when
846         message is cached.
847         (elmo-message-fetch-string): Fixed argument.
848
849 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
850
851         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
852         exchange order of arguments `section' and `unread'.
853         (elmo-message-encache): Follow the API change.
854         (elmo-message-match-condition): Ditto.
855         (elmo-generic-folder-append-messages): Ditto.
856         (elmo-message-fetch-string): New function.
857
858         * elmo-split.el (elmo-split-subr): Ditto.
859
860         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
861
862         * elmo-pipe.el (elmo-message-fetch): Ditto.
863
864         * elmo-multi.el (elmo-message-fetch): Ditto.
865
866         * elmo-mime.el (elmo-message-mime-entity): Ditto.
867
868         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
869
870         * elmo-filter.el (elmo-message-fetch): Ditto.
871
872         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
873
874         * elmo-imap4.el (mime-imap-location-section-body): Use
875         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
876         follow the API change.
877
878 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
879
880         * elmo-access.el: New file.
881
882         * elmo-null.el: Ditto.
883
884         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
885
886 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
887
888         * elmo-net.el (elmo-network-session-idle-timeout): New option.
889         (elmo-network-session): New attribute `last-accessed'.
890         (elmo-network-get-session): Discard network cache if elapsed time
891         since last-accessed is larger than elmo-network-session-idle-timeout.
892
893 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
894
895         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
896         and added `number', `require-entireness'.
897         (elmo-find-fetch-strategy): Rewrite.
898         (elmo-message-fetch): Unset `unread' flag when argument unread is
899         non-nil.
900
901         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
902
903         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
904         (elmo-message-fetch): Notify event `flag-changed'.
905
906         * elmo-pipe.el: Likewise.
907
908         * elmo-mime.el (elmo-mime-entity): New class.
909         (elmo-mime-entity-display-p): New generic function.
910         (elmo-mime-entity-display): Ditto.
911         (elmo-mime-entity-display-as-is): Ditto.
912         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
913         elmo-mime-entity.
914         (elmo-make-mime-message-location): Removed.
915         (elmo-mime-message-display): Ditto.
916         (elmo-mime-display-as-is): Ditto.
917         (elmo-message-mime-entity): New function.
918
919         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
920
921         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
922         change.
923         (elmo-message-fetch): Re-count flagged message number and notify
924         event `flag-changed'.
925
926         * elmo-version.el (elmo-version): Up to 2.13.1.
927
928 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
929
930         * elmo-filter.el (elmo-message-field): Define.
931         (elmo-message-set-field): Ditto.
932
933 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
934
935         * elmo.el (elmo-message-set-cached): Call
936         `elmo-folder-notify-event' with cache-changed.
937         (elmo-event-handler-cache-changed): New generic function.
938
939 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
940
941         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
942         instead of elmo-add-name-to-file.
943         (elmo-folder-append-messages): Ditto.
944
945 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
946
947         * elmo.el (elmo-folder-update-threshold): Add nil to range.
948
949 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
950
951         * elmo-version.el (elmo-version): Up to 2.13.0.
952
953         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
954         `auto'.
955
956         * modb-standard.el (modb-standard-economize-entity-size): Changed
957         default value to `t'.
958
959         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
960         `standard'.
961
962         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
963         after parsing greeting string.
964
965 2004-11-23  Daishi Kato <daishi@axlight.com>
966
967         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
968         New user option.
969         (elmo-spam-spamoracle-call): Use it.
970
971 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
972
973         * elmo.el (elmo-message-accessible-p): Message in dop spool
974         is accessible.
975
976 2004-11-23  Daishi Kato <daishi@axlight.com>
977
978         * elsp-spamoracle.el: New file.
979
980 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
981
982         * elmo.el (elmo-message-flags-for-append): New function.
983         (elmo-generic-folder-append-messages): Use it.
984
985         * elmo-split.el (elmo-split-subr): Ditto.
986
987         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
988         `flags' and use elmo-folder-append-buffer instead of
989         write-region-as-binary.
990         (elmo-dop-filter-pending-messages): New function.
991         (elmo-folder-append-buffer-dop): Call
992         elmo-dop-spool-folder-append-buffer with `flag'.
993         (elmo-folder-set-flag-dop): Filter messages by
994         elmo-dop-filter-pending-messages.
995         (elmo-folder-unset-flag-dop): Ditto.
996         (elmo-folder-append-buffer-dop-delayed): Use
997         elmo-message-flags-for-append to get flags of the message and
998         simplify.
999
1000 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1001
1002         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1003
1004 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1005
1006         * elmo.el (elmo-folder): Added handlers slot.
1007         (elmo-event-handler): New class.
1008         (elmo-event-handler-flag-changed): New API.
1009         (elmo-folder-add-handler): New function.
1010         (elmo-folder-remove-handler): Ditto.
1011         (elmo-folder-notify-event): Ditto.
1012         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1013         `flag-changed'.
1014         (elmo-folder-unset-flag): Ditto.
1015
1016         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1017         (elmo-folder-unset-flag): Ditto.
1018
1019         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1020         (elmo-folder-unset-flag): Ditto.
1021
1022         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1023         (elmo-folder-unset-flag): Ditto.
1024
1025         * elmo-version.el (elmo-version): Up to 2.11.33.
1026
1027 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1028
1029         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1030
1031 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1032
1033         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1034
1035         * elmo-flag.el (elmo-folder-unset-flag): Define.
1036         (elmo-global-flag-detach): Do process when the flag is not target
1037         flag.
1038
1039 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1040
1041         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1042         variable.
1043         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1044
1045 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1046
1047         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1048         function.
1049         (elmo-folder-delete-messages): Detach messages before delete
1050         messages from target folder.
1051         (elmo-folder-detach-messages): Set updated number-list to slot.
1052
1053 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1054
1055         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1056
1057 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1058
1059         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1060
1061 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1062
1063         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1064         internal use only).
1065         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1066         not modified.
1067         (elmo-folder-delete-messages): Define.
1068         (elmo-folder-move-messages): Don't call
1069         `elmo-folder-detach-messages'.
1070         (elmo-folder-synchronize): Rewrite.
1071         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1072
1073         * elmo-util.el (elmo-last): New function.
1074         (elmo-set-list): Ditto.
1075         (elmo-number-set-delete-list): Ditto.
1076         (elmo-number-set-delete): Ditto.
1077
1078         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1079
1080         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1081         `elmo-folder-delete-messages' and don't delete location map.
1082         (elmo-folder-detach-messages): Define.
1083
1084         * elmo-imap4.el (elmo-folder-delete): Use
1085         `elmo-folder-delete-messages-internal' instead of
1086         `elmo-folder-delete-messages'.
1087
1088         * elmo-filter.el (elmo-folder-delete-messages): Call
1089         `elmo-folder-detach-messages'.
1090         (elmo-folder-detach-messages): Don't call
1091         `elmo-folder-detach-messages' for target folder.
1092
1093         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1094         message deletion is succeeded.
1095
1096         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1097
1098         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1099         from `elmo-folder-delete-messages'.
1100
1101         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1102
1103         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1104
1105         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1106
1107         * elmo-version.el (elmo-version): Up to 2.11.32.
1108
1109 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1110
1111         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1112         (elmo-global-flag-list): Added obsolete variable setting.
1113
1114         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1115
1116         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1117         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1118         `elmo-mime-display-header-analysis' is nil.
1119
1120         * elmo-flag.el (elmo-global-flags): Renamed from
1121         `elmo-global-flag-list' (All other related portions are changed).
1122         (elmo-local-flags): New variable.
1123         (elmo-local-flag-p): New function.
1124         (elmo-global-flag-set-internal): Cause an error when flag is not
1125         global.
1126
1127 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1128
1129         * elmo-util.el (elmo-concat-path): Treat empty path.
1130
1131 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1132
1133         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1134         field-or-fields).
1135         (elmo-split-address-match): Ditto.
1136         (elmo-split-equal): Ditto.
1137         (elmo-split-match): Ditto.
1138
1139 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1140
1141         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1142         (elmo-generic-folder-append-messages): If src message exists but
1143         has no flag, pass (read) for the FLAG argument of
1144         `elmo-folder-append-buffer'. Otherwise, pass nil.
1145
1146         * elmo-split.el (elmo-split-subr): Likewise.
1147
1148         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1149
1150         * elmo-multi.el (elmo-message-flags): Ditto.
1151
1152         * elmo-filter.el (elmo-message-flags): Ditto.
1153
1154         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1155         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1156         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1157         
1158 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1159
1160         * elmo-split.el (elmo-split-rule): Update comment.
1161         (elmo-split-address-equal): Allow 2nd argument to be a list.
1162         (elmo-split-address-match): Ditto.
1163         (elmo-split-equal): Ditto.
1164         (elmo-split-match): Ditto.
1165
1166 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1167
1168         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1169         (elmo-folder-append-msgdb): Don't treat `read'.
1170         (elmo-message-flags): Don't return `read'.
1171
1172         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1173         (elmo-folder-unset-read-delayed): Ditto.
1174
1175         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1176
1177 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1178
1179         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1180         deletion.
1181
1182 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1183
1184         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1185         header.
1186
1187 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1188
1189         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1190         here.
1191         (elmo-msgdb-save): Bind inhibit-quit.
1192         (modb-standard-message-entity): Ditto.
1193
1194 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1195
1196         * elmo-database.el: No need to require elmo-msgdb.
1197
1198 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1199
1200         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1201         instead of `elmo-list-subdirectories'.
1202
1203 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1204
1205         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1206         group entry.
1207         (elmo-folder-exists-p): "[" is empty.
1208         (elmo-folder-list-subfolders): Define.
1209         (elmo-folder-have-subfolder-p): Ditto.
1210
1211 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1212
1213         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1214
1215 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1216
1217         * elmo-filter.el (elmo-folder-local-p): Define.
1218
1219 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1220
1221         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1222         when entity is garbaged.
1223         (modb-standard-save-entity-1): Don't modify the original entity.
1224
1225 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1226
1227         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1228
1229 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1230
1231         * elmo.el (elmo-strict-folder-diff): Use
1232         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1233
1234 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1235
1236         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1237         (elmo-msgdb-message-number): Ditto.
1238         (elmo-msgdb-message-field): Ditto.
1239
1240         * modb-standard.el (modb-standard-economize-entity-size): New user
1241         option.
1242         (modb-standard-loaded-message-id): New inline function.
1243         (modb-standard-load-entity): Use it.
1244         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1245         throw message-id string away.
1246         (elmo-msgdb-flag-available-p): Define.
1247         (elmo-msgdb-message-number): Ditto.
1248         (elmo-msgdb-message-field): Ditto.
1249
1250         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1251         (suppoted -> supported).
1252         (modb-legacy-supported-flag-p): Ditto.
1253         (elmo-msgdb-set-flag): Ditto.
1254         (elmo-msgdb-unset-flag): Ditto.
1255         (elmo-msgdb-flag-available-p): Define.
1256
1257         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1258         is `t', treat it as legacy entity.
1259         
1260         * elmo.el (elmo-message-flag-available-p): New generic function.
1261         (elmo-message-number): Ditto.
1262         (elmo-message-field): Use `elmo-msgdb-message-field'.
1263
1264         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1265
1266         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1267         (elmo-message-number): Ditto.
1268
1269         * elmo-multi.el (elmo-message-number): Define.
1270         (elmo-message-flag-available-p): Ditto.
1271
1272         * elmo-filter.el (elmo-message-flag-available-p): Define.
1273         (elmo-message-number): Ditto.
1274
1275         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1276         (elmo-folder-initialize): Load `max-number'.
1277         (elmo-folder-commit): Save it.
1278         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1279         (elmo-global-flag-set-internal): Set up max-number slot.
1280
1281 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1282
1283         * elmo-version.el (elmo-version): Up to 2.11.31.
1284
1285 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1286
1287         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1288         unibyte string of the current buffer for the argument of `md5'
1289         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1290
1291 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1292
1293         * modb-legacy.el (modb-legacy-flag-list): New constant.
1294         (modb-legacy-suppoted-flag-p): New internal function.
1295         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1296         (elmo-msgdb-unset-flag): Ditto.
1297
1298 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1299
1300         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1301
1302         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1303         from msgdb.
1304
1305 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1306
1307         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1308         (follow the API change).
1309
1310         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1311
1312 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1313
1314         * modb-standard.el (modb-standard-digest-flags): Abolish.
1315         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1316
1317         * elmo-vars.el (elmo-digest-flags): New variable.
1318         (elmo-preserved-flags): Moved from elmo-flag.el.
1319
1320         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1321         (elmo-imap4-flag-to-imap-criteria): Ditto.
1322         (elmo-imap4-folder-list-flagged): Use it.
1323
1324         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1325
1326         * elmo.el (elmo-folder-count-flags): Changed return value.
1327
1328         * elmo-flag.el (elmo-preserved-flags): New variable.
1329         (elmo-get-global-flags): Use it.
1330
1331         * modb-standard.el (modb-standard-digest-flags): New variable.
1332         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1333         Changed behavior of `any'.
1334
1335         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1336         which are defined the Internet draft
1337         (draft-melnikov-imap-keywords-03.txt).
1338         (elmo-imap4-flags-to-imap): New function.
1339         (elmo-folder-append-buffer): Use it.
1340
1341         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1342         in the docstring.
1343
1344         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1345         avoid the bug of Emacs 21.3.
1346
1347 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1348
1349         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1350         function find-coding-system does not exist.
1351
1352 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1353
1354         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1355         parsing.
1356
1357 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1358
1359         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1360         response codes.
1361
1362 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1363
1364         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1365         (elmo-network-close-session): Follow the changes in
1366         `elmo-pop3-read-response'.
1367         (elmo-pop3-auth-user): Ditto.
1368         (elmo-pop3-auth-apop): Ditto.
1369         (elmo-network-initialize-session): Ditto.
1370         (elmo-network-authenticate-session): Ditto.
1371         (elmo-network-setup-session): Ditto.
1372         (elmo-folder-status): Ditto.
1373         (elmo-message-fetch-plugged): Ditto.
1374         (elmo-pop3-delete-msg): Ditto.
1375
1376 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1377
1378         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1379         on failure.
1380
1381 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1382
1383         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1384         style.
1385         (elmo-bind-directory): Ditto.
1386
1387 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1388
1389         * elmo.el (elmo-folder-append-messages): Note on return value.
1390         * elmo-archive.el (elmo-folder-append-messages): Don't return
1391         message numbers which could not be appended.
1392
1393 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1394
1395         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1396
1397 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1398
1399         * elmo-version.el (elmo-version): Up to 2.11.30.
1400
1401 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1402
1403         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1404         `mask'.
1405
1406         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1407
1408         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1409         (elmo-multi-split-numbers): Add elmo-folder object into each
1410         element of return value at first.
1411         (elmo-folder-delete-messages): Follow the above change.
1412         (elmo-folder-detach-messages): Ditto.
1413
1414         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1415         number which is synchronized in target folder.
1416
1417 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1418
1419         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1420         Change default value to symbol `all'.
1421         (elmo-map-message-fetch): Change condition to update overview
1422         follow the above.
1423
1424 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1425
1426         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1427         behavior to update overview.
1428         (elmo-shimbun-update-overview-folder-list): Note it.
1429
1430 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1431
1432         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1433         recursive call.
1434
1435 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1436
1437         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1438         buffer-disable-undo, it is unnecessary.
1439         (elmo-spam-register-good-messages): Ditto.
1440
1441         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1442         Ditto.
1443
1444         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1445
1446 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1447
1448         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1449         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1450         elmo-set-buffer-multibyte.
1451         (elmo-object-load): Ditto.
1452         (elmo-save-buffer): Ditto.
1453         (elmo-delete-char): Ditto.
1454         (elmo-file-field-primitive-condition-match): Ditto.
1455         (elmo-mime-string): Ditto.
1456
1457         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1458         (elmo-archive-field-condition-match): Ditto.
1459
1460         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1461
1462         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1463
1464         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1465         (elmo-nntp-msgdb-create-message): Ditto.
1466
1467         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1468
1469         * elmo.el (elmo-message-match-condition): Ditto.
1470         (elmo-message-match-condition): Ditto.
1471
1472         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1473         Ditto.
1474
1475         * elmo-version.el (elmo-version): Up to 2.11.29.
1476
1477         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1478         (elsp-header): New backend.
1479
1480         * elmo-util.el (elmo-decoded-field-body): New function.
1481
1482 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1483
1484         * elmo-version.el (elmo-version): Up to 2.11.28.
1485
1486 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1487
1488         * elmo-filter.el: Rewrite.
1489
1490         * elmo-version.el (elmo-version): Up to 2.11.27.
1491
1492 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1493
1494         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1495         msgdb path for the localdir folder with absolute path.
1496
1497         * utf7.el: Synch up with latest gnus/utf7.el;
1498         Modified for latest Emacs.
1499
1500 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1501
1502         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1503         shimbun backend couldn't open.
1504
1505 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1506
1507         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1508         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1509         when a destination folder is a filter folder.
1510
1511 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1512
1513         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1514         (elmo-generic-folder-append-messages): Call elmo-message-flags
1515         with argument `msgid'.
1516
1517         * elmo-split.el (elmo-split-subr): Ditto.
1518
1519         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1520
1521         * elmo-multi.el (elmo-message-flags): Ditto.
1522
1523 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1524
1525         * elmo.el (elmo-folder): Add new slot `flag-table'.
1526         (elmo-folder-flag-table): New API.
1527         (elmo-folder-close-flag-table): Ditto.
1528         (elmo-folder-preserve-flags): New function.
1529         (elmo-generic-folder-append-messages): Use
1530         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1531         Flag of a non-registered message, it sets to nil.
1532         Does not set flag to flag-table.
1533
1534         * elmo-maildir.el (elmo-folder-append-buffer): Use
1535         `elmo-folder-preserve-flags'.
1536         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1537         `elmo-folder-close-flag-table'.
1538
1539         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1540         (elmo-archive-folder-append-buffer): Use
1541         `elmo-folder-preserve-flags'.
1542
1543         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1544
1545         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1546
1547         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1548         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1549         `elmo-folder-close-flag-table'.
1550
1551         * elmo-version.el (elmo-version): Up to 2.11.26.
1552
1553 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1554
1555         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1556
1557         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1558         md5's 4th and 5th argument (non-existent in flim one).
1559
1560 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1563         message, It sets to nil.
1564
1565 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1566
1567         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1568         list is non-nil.
1569
1570 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1571
1572         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1573
1574         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1575
1576         * elmo-util.el (elmo-uniq-sorted-list): New function.
1577         (elmo-make-number-list): Ditto.
1578         (elmo-number-set-to-number-list): Use elmo-make-number-list
1579         and don't use nreverse.
1580
1581 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1582
1583         * elmo-version.el (elmo-version): Up to 2.11.25.
1584
1585 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1586
1587         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1588         field not exists in message, Use md5 message digest of header.
1589
1590 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1591
1592         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1593         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1594         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1595         * elmo-split.el (elmo-split-subr): Check return value of
1596         elmo-folder-append-buffer.
1597
1598         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1599         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1600
1601         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1602         message-id.
1603
1604 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1605
1606         * elmo-split.el (elmo-split-subr): Append message with flag.
1607
1608         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1609         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1610         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1611
1612 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1613
1614         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1615         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1616         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1617
1618 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1619
1620         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1621         with a function call of `process-buffer'.  All callers are updated.
1622         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1623         Remove redundant `set-buffer' in a while loop.
1624
1625 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1626
1627         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1628         calls.
1629
1630 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1631
1632         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1633         elsp-spamfilter-register-buffer-internal with current buffer.
1634         (elmo-spam-register-spam-buffer): Ditto.
1635         (elmo-spam-register-good-buffer): Ditto.
1636
1637 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1638
1639         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1640         if it is not contained in the response(A workaround for courier-imap).
1641
1642 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1643
1644         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1645         parenthesis.
1646
1647 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1648
1649         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1650         range.
1651
1652 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1653
1654         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1655         of nconc.
1656
1657         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1658         argument handler.
1659         (elmo-msgdb-message-match-condition): Follow the change above.
1660
1661 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1662
1663         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1664         folder name.
1665
1666 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1667
1668         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1669
1670 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1671
1672         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1673
1674 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1675
1676         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1677         not found.
1678
1679 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1680
1681         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1682         value.
1683         (elmo-file-command-argument): Undo last change for cygwin.
1684         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1685         Don't return nil.
1686         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1687
1688 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1689
1690         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1691         value returned from elmo-file-find is nil.
1692
1693 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1694
1695         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1696         to elmo-vars.el.
1697
1698         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1699         instead of insert-file-contents-as-binary.
1700         (elmo-message-set-field): New generic function.
1701
1702         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1703         behavior change on `split-string'.
1704
1705         * elmo-file.el (elmo-file-find): New function.
1706         (elmo-file-command): New user option.
1707         (elmo-file-command-argument): Ditto.
1708         (elmo-file-fetch-max-size): Ditto.
1709         (elmo-file-detect-format): New function.
1710         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1711         Use elmo-file-detect-format.
1712         (elmo-map-folder-list-message-locations): Don't treat directories.
1713
1714 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1715
1716         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1717         (elmo-passwd-alist-clear): Shred password before clear.
1718         (elmo-remove-passwd): Remove all mached pair.
1719
1720 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1721
1722         * elmo.el (elmo-folder-synchronize): Fix description of the return
1723         value.
1724
1725 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1726
1727         * elmo.el (elmo-message-fetch-bodystructure): New method.
1728         (elmo-message-fetch-bodystructure): Define default.
1729
1730         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1731         elmo-message-fetch-bodystructure.
1732         (elmo-message-fetch-bodystructure): Define.
1733
1734         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1735
1736 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1737
1738         * elmo-filter.el (elmo-message-folder): Define.
1739
1740 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1741
1742         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1743         elmo-delete-cr-buffer.
1744
1745         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1746
1747         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1748
1749         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1750
1751         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1752         type seems to be a text.
1753
1754 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1755
1756         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1757         (elmo-spam-register-good-buffer): Ditto.
1758         (elmo-spam-spamassassin-register-messages): Ditto.
1759
1760         * elmo-util.el (elmo-string-member-ignore-case): Define with
1761         static-cond.
1762
1763 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1764
1765         * elmo.el (elmo-folder-type): Undo last change.
1766
1767         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1768
1769         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1770         warnings.
1771
1772         * elmo-file.el: New file.
1773         
1774         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1775
1776         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1777         variable.
1778         (elmo-spam-spamassassin-register-messages): New inline function.
1779         (elmo-spam-register-spam-messages): Define.
1780         (elmo-spam-register-good-messages): Ditto.
1781
1782         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1783         Fixed typo.
1784
1785         * elmo.el (toplevel): Added autoload setting for
1786         `elmo-get-global-flags'.
1787         (elmo-message-has-global-flag-p): New function.
1788         (elmo-message-set-global-flags): Ditto.
1789         (elmo-folder-type): Improvement for name: format.
1790
1791         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1792         availability of keyword flags.
1793         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1794         (elmo-folder-list-flagged-plugged): Renamed from
1795         elmo-folder-list-flagged-unplugged.
1796         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1797         accept any flag as keyword flag.
1798         (elmo-folder-set-flag-plugged): Accept keyword flags.
1799         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1800
1801         * elmo-flag.el (elmo-get-global-flags): New function.
1802
1803         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1804         folders.
1805
1806         * elmo-version.el (elmo-version): Up to 2.11.24.
1807
1808 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1809
1810         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1811         elmo-multiple-field-body instead of std11-field-body to check all
1812         headers.
1813
1814 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1815
1816         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1817         or "size".
1818
1819 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1820
1821         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1822         unintern is unbound.
1823
1824 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1825
1826         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1827         Protect from infinite loop.
1828
1829 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1830
1831         * elsp-bogofilter.el
1832         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1833         (elmo-spam-bogofilter-register-messages): New internal function.
1834         (elmo-spam-register-spam-messages): Define.
1835         (elmo-spam-register-good-messages): Ditto.
1836
1837 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1838
1839         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1840         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1841         (elmo-spam-bogofilter-call): Fixed the last change.
1842         (elmo-spam-bogofilter-arguments): Ditto.
1843
1844         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1845         Follow the options change of latest bogofilter.
1846
1847         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1848         (elmo-spam-bogofilter-good-switch): Ditto.
1849         (elmo-spam-bogofilter-arguments-alist): New user option.
1850         (elmo-spam-bogofilter-debug): Ditto.
1851         (elmo-spam-bogofilter-call): Renamed from
1852         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1853         is non-nil, insert output in buffer for debug.
1854         (elmo-spam-bogofilter-arguments): New macro.
1855         (elmo-spam-buffer-spam-p): Use it.
1856         (elsp-bogofilter-register-buffer): Ditto.
1857
1858 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1859
1860         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1861         regexp.
1862
1863 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1864
1865         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1866         value as "ruby".
1867         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1868         (elmo-spam-bsfilter-program): Set default value as full path for
1869         `bsfilter'.
1870         (elmo-spam-bsfilter-debug): New user option.
1871         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1872         non-nil, insert output in buffer for debug. Fix treating of
1873         argument.
1874
1875 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1878         `elmo-maildir-flag-specs' element instead of one.
1879         (elmo-map-folder-unset-flag): Ditto.
1880         (Reported by Ken Makimura <macky@astem.or.jp>)
1881
1882         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1883         (elmo-folder-unset-flag-plugged): Ditto.
1884
1885 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1886
1887         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1888         to `reads' slot only if `in-msgdb' is nil.
1889
1890 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1891
1892         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1893         and complement argument list.
1894
1895 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1896
1897         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1898         instead of elmo-folder-list-flagged.
1899
1900 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1901
1902         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1903
1904         * elsp-bsfilter.el: New file.
1905
1906         * elmo-pipe.el (elmo-folder-list-unreads,
1907         elmo-folder-list-answereds,
1908         elmo-folder-list-importants,
1909         elmo-folder-flag-as-important,
1910         elmo-folder-unflag-important,
1911         elmo-folder-flag-as-read,
1912         elmo-folder-unflag-read,
1913         elmo-folder-flag-as-answered,
1914         elmo-folder-unflag-answered): Remove.
1915         (elmo-folder-set-flag): Define.
1916         (elmo-folder-unset-flag): Ditto.
1917
1918         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1919         (elmo-folder-set-flag): Define.
1920         (elmo-folder-unset-flag): Ditto.
1921         (elmo-folder-list-unreads): Remove.
1922         (elmo-folder-list-flagged): Define.
1923
1924         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1925         (elmo-folder-list-unreads,
1926         elmo-folder-list-importants,
1927         elmo-folder-list-answereds,
1928         elmo-folder-list-unreads-plugged,
1929         elmo-folder-list-importants-plugged,
1930         elmo-folder-list-answereds-plugged): Remove.
1931         (elmo-folder-list-flagged-plugged): New method.
1932         (elmo-folder-unflag-important,
1933         elmo-folder-flag-as-important,
1934         elmo-folder-unflag-read,
1935         elmo-folder-flag-as-read,
1936         elmo-folder-unflag-answered,
1937         elmo-folder-flag-as-answered,
1938         elmo-folder-flag-as-read-unplugged,
1939         elmo-folder-unflag-read-unplugged,
1940         elmo-folder-flag-as-important-unplugged,
1941         elmo-folder-unflag-important-unplugged,
1942         elmo-folder-flag-as-answered-unplugged,
1943         elmo-folder-unflag-answered-unplugged): Remove.
1944         (elmo-folder-set-flag): Define.
1945         (elmo-folder-unset-flag): Ditto.
1946         (elmo-folder-set-flag-unplugged): Ditto.
1947         (elmo-folder-unset-flag-unplugged): Ditto.
1948
1949         * elmo-multi.el (elmo-folder-list-unreads,
1950         elmo-folder-list-answereds,
1951         elmo-folder-list-importants,
1952         elmo-folder-flag-as-important,
1953         elmo-folder-unflag-important,
1954         elmo-folder-flag-as-read,
1955         elmo-folder-unflag-read,
1956         elmo-folder-flag-as-answered,
1957         elmo-folder-unflag-answered): Remove.
1958         (elmo-folder-set-flag): Define.
1959         (elmo-folder-unset-flag): Ditto.
1960
1961         * elmo-map.el (elmo-map-folder-unflag-important,
1962         elmo-map-folder-flag-as-important,
1963         elmo-map-folder-unflag-read,
1964         elmo-map-folder-flag-as-read,
1965         elmo-map-folder-unflag-answered,
1966         elmo-map-folder-flag-as-answered): Remove.
1967         (elmo-map-folder-set-flag): New method.
1968         (elmo-map-folder-unset-flag): Ditto.
1969         (elmo-map-folder-list-unreads,
1970         elmo-map-folder-list-importants,
1971         elmo-map-folder-list-answereds): Remove.
1972         (elmo-folder-list-flagged-internal): Define.
1973         (elmo-map-folder-list-flagged): New method.
1974
1975         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1976         (elmo-map-folder-list-unreads,
1977         elmo-map-folder-list-importants,
1978         elmo-map-folder-list-flagged): Remove.
1979         (elmo-map-folder-list-flagged): Define.
1980         (elmo-map-folder-flag-as-important,
1981         elmo-map-folder-unflag-important,
1982         elmo-map-folder-flag-as-read,
1983         elmo-map-folder-unflag-read,
1984         elmo-map-folder-flag-as-answered,
1985         elmo-map-folder-unflag-answered): Remove.
1986         (elmo-maildir-set-mark-messages): New internal function.
1987         (elmo-map-folder-set-flag): Define.
1988         (elmo-map-folder-unset-flag): Ditto.
1989
1990         * elmo.el (toplevel): Added autoload setting for
1991         `elmo-folder-list-global-flag-messages'.
1992         (elmo-folder-list-unreads,
1993         elmo-folder-list-importants,
1994         elmo-folder-list-answereds): Remove.
1995         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1996         Return a list whitch merged with messages have global flag.
1997         (elmo-folder-list-flagged-internal): New method.
1998         (elmo-folder-unflag-important,
1999         elmo-folder-flag-as-important,
2000         elmo-folder-unflag-read,
2001         elmo-folder-flag-as-read,
2002         elmo-folder-unflag-answered,
2003         elmo-folder-flag-as-answered): Remove.
2004         (elmo-folder-set-flag): New method.
2005         (elmo-folder-unset-flag): Ditto.
2006         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2007         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2008
2009         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2010         (elmo-folder-list-unreads-plugged,
2011         elmo-folder-list-importants-plugged,
2012         elmo-folder-list-answereds-plugged,
2013         elmo-folder-list-flagged-unplugged,
2014         elmo-folder-unflag-important-plugged,
2015         elmo-folder-flag-as-important-plugged,
2016         elmo-folder-unflag-read-plugged,
2017         elmo-folder-flag-as-read-plugged,
2018         elmo-folder-unflag-answered-plugged,
2019         elmo-folder-flag-as-answered-plugged): Remove.
2020         (elmo-folder-set-flag-plugged,
2021         elmo-folder-unset-flag-plugged): Define.
2022
2023         * elmo-flag.el (elmo-folder-initialize): Register to
2024         `elmo-global-flag-list' if flag is not global.
2025         (elmo-folder-append-messages): Set flag to source messages.
2026
2027         * elmo-filter.el (elmo-filter-folder-list-unreads,
2028         elmo-folder-list-unreads,
2029         elmo-filter-folder-list-importants,
2030         elmo-folder-list-importants,
2031         elmo-folder-flag-as-read,
2032         elmo-folder-unflag-read,
2033         elmo-folder-flag-as-important,
2034         elmo-folder-unflag-important,
2035         elmo-folder-flag-as-answered,
2036         elmo-folder-unflag-answered): Remove.
2037         (elmo-folder-set-flag): Define.
2038         (elmo-folder-unset-flag): Ditto.
2039
2040         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2041         elmo-folder-unflag-read-dop,
2042         elmo-folder-flag-as-important-dop,
2043         elmo-folder-unflag-important-dop,
2044         elmo-folder-flag-as-answered-dop,
2045         elmo-folder-unflag-answered-dop): Remove.
2046         (elmo-folder-set-flag-dop,
2047         elmo-folder-unset-flag-dop,
2048         elmo-folder-set-important-delayed,
2049         elmo-folder-unset-important-delayed,
2050         elmo-folder-set-read-delayed,
2051         elmo-folder-unset-read-delayed,
2052         elmo-folder-set-answered-delayed,
2053         elmo-folder-unset-answered-delayed): New function.
2054         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2055         (elmo-dop-queue-method-name-alist): Ditto.
2056
2057         * elmo-version.el (elmo-version): Up to 2.11.23.
2058
2059 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2060
2061         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2062
2063         * elsp-sa.el: New file.
2064
2065 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2066
2067         * modb-standard.el (modb-standard-message-entity): New function.
2068         (elmo-msgdb-message-entity): Use it.
2069
2070 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2071
2072         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2073         behavior when one-level is nil.
2074
2075         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2076
2077         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2078
2079 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2080
2081         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2082         get max number.
2083         (elmo-generic-folder-diff): Ditto.
2084
2085         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2086         (elmo-folder-update-number): Ditto.
2087
2088         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2089         (elmo-folder-next-message-number-dop): Ditto.
2090
2091 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2092
2093         * elmo-filter.el (elmo-folder-msgdb-create): Use
2094         `elmo-message-entity' and `elmo-message-flags' instead of
2095         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2096
2097 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2098
2099         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2100         `if-exists'.
2101
2102 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2103
2104         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2105
2106         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2107
2108         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2109
2110 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2111
2112         * elmo-version.el (elmo-version): Up to 2.11.22.
2113
2114 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2115
2116         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2117
2118 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2119
2120         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2121         if the message dose not exist.
2122
2123 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2124
2125         * elmo-version.el (elmo-version): Up to 2.11.21.
2126
2127 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2128
2129         * modb-standard.el (toplevel): Don't require mime.
2130
2131 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2132
2133         * elsp-bogofilter.el (toplevel): Don't require path-util.
2134         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2135         (elmo-spam-bogofilter-header): Abolish.
2136         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2137         (elmo-spam-bogofilter-args): New user option.
2138         (elsp-bogofilter-call-bogofilter): New internal function.
2139         (elmo-spam-buffer-spam-p): Use it.
2140         (elsp-bogofilter-register-buffer): Renamed from
2141         `elmo-spam-bogofilter-register-buffer';
2142         Use `elsp-bogofilter-call-bogofilter'.
2143         (elmo-spam-register-spam-buffer): Follow the change above.
2144         (elmo-spam-register-good-buffer): Ditto.
2145
2146 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2147
2148         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2149         message-id is nil do nothing.
2150
2151 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2152
2153         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2154         Revival.
2155         (elmo-imap4-session): Removed use-flag slot.
2156         (elmo-imap4-session-select-mailbox): Undo last change.
2157         (elmo-folder-use-flag-p): Use
2158         elmo-imap4-disuse-server-flag-mailbox-regexp.
2159
2160 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2161
2162         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2163         (elmo-imap4-session-select-mailbox): Set it up.
2164         (elmo-folder-use-flag-p): Return value of use-flag slot.
2165
2166 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2167
2168         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2169         message-id is nil.
2170         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2171
2172         * modb-entity.el (elmo-message-entity-handler): Likewise.
2173
2174 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2175
2176         * elmo.el (toplevel): Remove setting of autoloding for
2177         elmo-global-flag-initialize.
2178         (elmo-init): Don't call elmo-global-flag-initialize.
2179         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2180
2181         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2182         (elmo-global-mark-migrate): Don't call it.
2183         (elmo-global-mark-upgrade): Ditto.
2184
2185 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2186
2187         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2188         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2189
2190         * elmo-vars.el (elmo-init-hook): New user option.
2191
2192         * elmo.el (elmo-init): Run the elmo-init-hook.
2193
2194         * elmo-flag.el (elmo-global-mark-migrate): New function.
2195
2196 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2197
2198         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2199         Undo last change (move to elmo-msgdb-unset-flag).
2200         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2201         flag is unset.
2202
2203 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2204
2205         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2206         read flag is set.
2207         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2208         (elmo-msgdb-unset-flag): Ditto.
2209
2210 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2211
2212         * elmo-split.el (elmo-split): Return split message count.
2213
2214 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2217         is nil.
2218
2219 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2220
2221         * elmo.el (elmo-folder-unflag-important): Call
2222         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2223         a symbol `always'.
2224
2225         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2226         before unset flag.
2227         (elmo-global-flag-detach): Delete the message from flag folder, if
2228         `delete-if-none' is a symbol `always'.
2229
2230 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2231
2232         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2233         `elmo-spam-spamfilter-decode-buffer'.
2234         (elsp-spamfilter-register-buffer-internal): New internal function.
2235         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2236         (elmo-spam-register-spam-buffer): Ditto.
2237         (elmo-spam-register-good-buffer): Ditto.
2238
2239         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2240         change.
2241         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2242         (elmo-spam-register-spam-buffer): Follow the API change.
2243         (elmo-spam-register-good-buffer): Ditto.
2244
2245         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2246         (elmo-split-spam-p): Added argument plist; Call
2247         `elmo-spam-buffer-spam-p' with new argument register.
2248
2249         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2250         `register'.
2251         (elmo-spam-message-spam-p): Ditto.
2252         (elmo-spam-register-spam-buffer): Added optional argument
2253         `restore'.
2254         (elmo-spam-register-good-buffer): Ditto.
2255         (elmo-spam-register-spam-messages): Ditto.
2256         (elmo-spam-register-good-messages): Ditto.
2257
2258 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2259
2260         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2261         register into good corpus.
2262         (elmo-spam-register-good-buffer): Fixed to register into bad
2263         corpus.
2264
2265 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2266
2267         * elmo-version.el (elmo-version): Up to 2.11.20.
2268
2269         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2270         change.
2271
2272         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2273         flag without depending on \Recent flag.
2274
2275 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2276
2277         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2278         (elmo-spam-modified-p): Defined.
2279         (elmo-spam-save-status): Set `modified' slot to nil.
2280         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2281         (elmo-spam-register-good-buffer): Ditto.
2282
2283         * elmo-spam.el (elmo-spam-modified-p): New API.
2284
2285 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2286
2287         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2288         duplicate definition.
2289
2290         * elmo-util.el (elmo-unfold-field-body): New function.
2291         (elmo-msgdb-get-message-id-from-buffer): Use it.
2292
2293         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2294         Fixed the last change; Use elmo-unfold-field-body.
2295
2296 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2297
2298         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2299         Unfold date value.
2300
2301 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * elmo-spam.el (elmo-spam-save-status): New API.
2304
2305         * elsp-spamfilter.el: New file.
2306
2307 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2308
2309         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2310
2311 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2312
2313         * elmo-split.el (elmo-split-spam-p): New function.
2314
2315         * elmo-spam.el: New file.
2316
2317         * elsp-bogofilter.el: Ditto.
2318
2319 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2320
2321         * elmo.el (elmo-folder-next-message-number): New API.
2322         (elmo-folder-next-message-number): Define.
2323         (elmo-message-field): Don't check folder length.
2324
2325         * elmo-net.el (elmo-folder-next-message-number): Define.
2326         (elmo-folder-next-message-number-unplugged): Define.
2327
2328         * elmo-map.el (elmo-folder-next-message-number): Define.
2329         (elmo-folder-delete-messages): Clear hash value.
2330
2331         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2332
2333         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2334         (elmo-folder-delete-messages-dop-delayed): Always return t.
2335
2336         * elmo-version.el (elmo-version): Up to 2.11.19.
2337
2338 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2339
2340         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2341         change.
2342
2343         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2344         identical cons cell into the mark-alist and the hash table.
2345
2346 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2347
2348         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2349         elmo-folder-list-messages with argument `visible-only' as t.
2350
2351         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2352         (elmo-folder-msgdb-create): Check the target folder.
2353
2354 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2355
2356         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2357         `permanentflag' instead of `flags'.
2358         (elmo-folder-open): Ditto.
2359         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2360         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2361         (elmo-folder-use-flag-p): Always return t.
2362         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2363         `permanentflags' does not exist.
2364         (elmo-folder-open): Ditto.
2365
2366 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2367
2368         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2369         is nil.
2370         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2371
2372         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2373         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2374         response.
2375         (elmo-folder-open): Ditto.
2376         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2377         slot of the session includes the flag.
2378         (elmo-imap4-session-flag-available-p): New function.
2379         (elmo-imap4-folder-list-flagged): Ditto.
2380         (elmo-folder-list-unreads-plugged): Use it.
2381         (elmo-folder-list-importants-plugged): Ditto.
2382         (elmo-folder-list-answereds-plugged): Ditto.
2383         (elmo-imap4-search-internal-primitive): Ditto.
2384         (elmo-imap4-folder-list-any-plugged,
2385         elmo-imap4-folder-list-digest-plugged): Abolish.
2386
2387         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2388         if numbers is nil.
2389
2390 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2391
2392         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2393
2394 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2395
2396         * elmo-util.el (elmo-get-hash-val): Simplify.
2397         (elmo-set-hash-val): Rewrite.
2398
2399 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2400
2401         * elmo.el (elmo-folder-list-messages): Append killed messages into
2402         result if `visible-only' is nil and `in-msgdb' is non-nil.
2403
2404         * elmo-util.el (elmo-uniq-list): Added optional argument
2405         `delete-function'.
2406
2407         * modb.el (elmo-msgdb-flag-count): New API.
2408
2409         * modb-standard.el (modb-standard): Added slot flag-count.
2410         (modb-standard-countup-flags): New function.
2411         (modb-standard-load-flag): Call it.
2412         (elmo-msgdb-append): Ditto.
2413         (elmo-msgdb-clear): Clear slot flag-count.
2414         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2415         (elmo-msgdb-unset-flag): Treat `all' flag and call
2416         modb-standard-countup-flags.
2417         (elmo-msgdb-flag-count): Define.
2418         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2419         (elmo-msgdb-delete-messages): Ditto.
2420
2421         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2422         (elmo-msgdb-flag-count): Define.
2423
2424         * elmo.el (elmo-folder-list-messages): Undo last change.
2425         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2426         (elmo-folder-kill-messages): Unset all flags to numbers.
2427
2428         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2429         elmo-folder-kill-messages.
2430
2431         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2432         (elmo-nntp-folder-delete-messages): Abolish.
2433
2434         * elmo-version.el (elmo-version): Up to 2.11.18.
2435
2436 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2437
2438         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2439         (elmo-folder-kill-messages-range): New function.
2440         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2441         instead of elmo-folder-kill-messages-before.
2442
2443 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2444
2445         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2446         elmo-imap4-current-msgdb to decide entity handler.
2447
2448 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2449
2450         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2451
2452         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2453         inline function.
2454         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2455         (elmo-msgdb-overview-entity-set-number,
2456         elmo-msgdb-overview-entity-get-references,
2457         elmo-msgdb-overview-entity-set-references,
2458         elmo-msgdb-overview-entity-get-from-no-decode,
2459         elmo-msgdb-overview-entity-get-from,
2460         elmo-msgdb-overview-entity-set-from,
2461         elmo-msgdb-overview-entity-get-subject,
2462         elmo-msgdb-overview-entity-get-subject-no-decode,
2463         elmo-msgdb-overview-entity-set-subject,
2464         elmo-msgdb-overview-entity-get-date,
2465         elmo-msgdb-overview-entity-set-date,
2466         elmo-msgdb-overview-entity-get-to,
2467         elmo-msgdb-overview-entity-get-cc,
2468         elmo-msgdb-overview-entity-get-size,
2469         elmo-msgdb-overview-entity-set-size,
2470         elmo-msgdb-overview-entity-get-extra,
2471         elmo-msgdb-overview-entity-set-extra,
2472         elmo-msgdb-overview-entity-get-extra-field,
2473         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2474         (elmo-msgdb-make-index): Use
2475         `elmo-msgdb-overview-entity-get-number-internal'.
2476         (elmo-msgdb-clear-index): Ditto.
2477         (elmo-msgdb-append-entity): Ditto;
2478         Use `elmo-msgdb-overview-entity-get-id-internal'.
2479
2480         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2481         elmo-msgdb-overview-entity-set-number,
2482         elmo-msgdb-overview-entity-get-references,
2483         elmo-msgdb-overview-entity-set-references,
2484         elmo-msgdb-overview-entity-get-from-no-decode,
2485         elmo-msgdb-overview-entity-get-from,
2486         elmo-msgdb-overview-entity-set-from,
2487         elmo-msgdb-overview-entity-get-subject,
2488         elmo-msgdb-overview-entity-get-subject-no-decode,
2489         elmo-msgdb-overview-entity-set-subject,
2490         elmo-msgdb-overview-entity-get-date,
2491         elmo-msgdb-overview-entity-set-date,
2492         elmo-msgdb-overview-entity-get-to,
2493         elmo-msgdb-overview-entity-get-cc,
2494         elmo-msgdb-overview-entity-get-size,
2495         elmo-msgdb-overview-entity-set-size,
2496         elmo-msgdb-overview-entity-get-extra,
2497         elmo-msgdb-overview-entity-set-extra,
2498         elmo-msgdb-overview-entity-get-extra-field,
2499         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2500         and rewrote for backward compatibility.
2501
2502 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2503
2504         * elmo.el (elmo-message-entity-number,
2505         elmo-message-entity-set-number,
2506         elmo-message-entity-field,
2507         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2508
2509         * elmo-msgdb.el (elmo-message-entity-number,
2510         elmo-message-entity-set-number,
2511         elmo-message-entity-field,
2512         elmo-message-entity-set-field): Moved from elmo.el.
2513
2514 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2515
2516         * elmo.el (toplevel): Changed definition orders.
2517
2518 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2519
2520         * modb.el (elmo-msgdb-search): New API .
2521         (elmo-msgdb-match-condition): Ditto.
2522
2523         * modb-standard.el (elmo-msgdb-search): Define.
2524
2525         * modb-legacy.el (elmo-msgdb-search): Ditto.
2526
2527         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2528         from elmo-msgdb-match-condition-internal.
2529
2530         * elmo.el (elmo-folder-search-fast): Abolish.
2531         (elmo-folder-search): Use elmo-msgdb-search and
2532         elmo-with-progress-display.
2533
2534         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2535         as msgdb API.
2536
2537         * elmo.el (elmo-folder): Remove slot message-modified and
2538         flag-modified.
2539         (elmo-folder-set-message-modified): Abolish.
2540         (elmo-generic-folder-commit): Follow the change above.
2541         (elmo-folder-synchronize): Ditto.
2542
2543         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2544
2545         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2546
2547         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2548
2549 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2550
2551         * modb-standard.el (modb-standard-make-message-entity,
2552         elmo-msgdb-make-message-entity,
2553         elmo-msgdb-create-message-entity-from-buffer,
2554         elmo-msgdb-message-entity-number,
2555         elmo-msgdb-message-entity-set-number,
2556         elmo-msgdb-message-entity-field,
2557         elmo-msgdb-message-entity-set-field,
2558         elmo-msgdb-copy-message-entity,
2559         elmo-msgdb-match-condition-internal): Remove.
2560
2561         * modb-entity.el: New file (again).
2562
2563         * modb.el (toplevel): Require modb-entity.
2564         (elmo-msgdb-message-entity-handler): New method.
2565
2566         * modb-standard.el (modb-standard-entity-id): Use
2567         elmo-message-entity-handler.
2568         (modb-standard-load-entity): Ditto.
2569         (elmo-msgdb-append-entity): Ditto.
2570         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2571
2572         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2573         elmo-msgdb-decoded-cache-hashtb,
2574         (modb-legacy-make-message-entity,
2575         elmo-msgdb-make-message-entity,
2576         elmo-msgdb-create-message-entity-from-buffer,
2577         elmo-msgdb-message-entity-number,
2578         elmo-msgdb-message-entity-set-number,
2579         elmo-msgdb-message-entity-field,
2580         elmo-msgdb-message-entity-set-field,
2581         elmo-msgdb-copy-message-entity,
2582         elmo-msgdb-match-condition-internal,
2583         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2584
2585         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2586         (elmo-message-entity-set-number): Ditto.
2587         (elmo-message-entity-field): Ditto.
2588         (elmo-message-entity-set-field): Ditto.
2589
2590         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2591
2592         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2593
2594         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2595
2596         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2597         (elmo-nntp-msgdb-create-message): Ditto.
2598
2599         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2600         (elmo-folder-msgdb-create): Add unread flag.
2601
2602         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2603
2604         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2605
2606         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2607
2608         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2609
2610         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2611         elmo-msgdb-messge-entity-handler.
2612         * elmo-version.el (elmo-version): Up to 2.11.17.
2613
2614 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2615
2616         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2617         change.
2618
2619 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2620
2621         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2622
2623         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2624         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2625         (elmo-msgdb-flag-table): Ditto.
2626         (elmo-msgdb-sort-by-date): Ditto.
2627
2628         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2629
2630         * modb-standard.el (toplevel): Require mime.
2631         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2632         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2633         elmo-msgdb-message-entity-number.
2634         (elmo-msgdb-append-entity): Ditto.
2635         (elmo-msgdb-create-message-entity-from-file): Remove.
2636         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2637         corresponds to the entity.
2638         (elmo-msgdb-message-entity-number): Do nothing currently.
2639         (elmo-msgdb-message-entity-field): Ditto.
2640         (elmo-msgdb-message-entity-set-field): Ditto.
2641         (elmo-msgdb-copy-message-entity): Ditto.
2642         (elmo-msgdb-match-condition-internal): Ditto.
2643
2644         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2645         elmo-util.el.
2646         (elmo-msgdb-create-message-entity-from-file): Remove.
2647
2648         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2649         modb-legacy.el.
2650         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2651
2652         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2653
2654 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2655
2656         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2657         (elmo-msgdb-message-entity-field): Ditto.
2658         (elmo-msgdb-message-entity-number): Ditto.
2659
2660 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2661
2662         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2663         Fixed how to set extra field into entity.
2664         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2665         symbol.
2666
2667         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2668         Fixed how to set extra field into entity.
2669         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2670         symbol.
2671
2672 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2673
2674         * modb.el (elmo-message-entity-db): New function.
2675         (elmo-msgdb-make-message-entity): New API.
2676         (elmo-msgdb-message-entity-number): Ditto.
2677         (elmo-msgdb-message-entity-set-number): Ditto.
2678         (elmo-msgdb-message-entity-field): Ditto.
2679         (elmo-msgdb-message-entity-set-field): Ditto.
2680         (elmo-msgdb-copy-message-entity): Ditto.
2681         (elmo-msgdb-create-message-entity-from-file): Ditto.
2682         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2683         (elmo-msgdb-match-condition-internal): Ditto.
2684
2685         * modb-standard.el (modb-legacy): Require modb-legacy.
2686         (modb-standard-make-message-entity): New inline function.
2687         (elmo-msgdb-make-message-entity): Define.
2688         (elmo-msgdb-create-message-entity-from-file): Ditto.
2689         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2690         (elmo-msgdb-message-entity-field): Ditto.
2691         (elmo-msgdb-message-entity-set-field): Ditto.
2692         (elmo-msgdb-copy-message-entity): Ditto.
2693         (elmo-msgdb-match-condition-internal): Ditto.
2694
2695         * modb-legacy.el: Don't require modb-entity.
2696         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2697         (elmo-msgdb-match-condition-primitive): Ditto.
2698         (elmo-msgdb-get-decoded-cache): Ditto.
2699         (elmo-msgdb-overview-entity-get-id): Ditto.
2700         (elmo-msgdb-overview-entity-get-number): Ditto.
2701         (elmo-msgdb-overview-entity-set-number): Ditto.
2702         (elmo-msgdb-overview-entity-get-references): Ditto.
2703         (elmo-msgdb-overview-entity-set-references): Ditto.
2704         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2705         (elmo-msgdb-overview-entity-get-from): Ditto.
2706         (elmo-msgdb-overview-entity-set-from): Ditto.
2707         (elmo-msgdb-overview-entity-get-subject): Ditto.
2708         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2709         (elmo-msgdb-overview-entity-set-subject): Ditto.
2710         (elmo-msgdb-overview-entity-get-date): Ditto.
2711         (elmo-msgdb-overview-entity-set-date): Ditto.
2712         (elmo-msgdb-overview-entity-get-to): Ditto.
2713         (elmo-msgdb-overview-entity-get-cc): Ditto.
2714         (elmo-msgdb-overview-entity-get-size): Ditto.
2715         (elmo-msgdb-overview-entity-set-size): Ditto.
2716         (elmo-msgdb-overview-entity-get-extra): Ditto.
2717         (elmo-msgdb-overview-entity-set-extra): Ditto.
2718         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2719         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2720         (elmo-msgdb-number-load): Ditto.
2721         (elmo-msgdb-overview-load): Ditto.
2722         (elmo-msgdb-mark-load): Ditto.
2723         (elmo-msgdb-number-save): Ditto.
2724         (elmo-msgdb-mark-save): Ditto.
2725         (elmo-msgdb-overview-save): Ditto.
2726         (modb-legacy-make-message-entity): New inline function.
2727         (elmo-msgdb-insert-file-header): Ditto.
2728         (elmo-msgdb-make-message-entity): Define.
2729         (elmo-msgdb-create-message-entity-from-file): Ditto.
2730         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2731         (elmo-msgdb-message-entity-number): Ditto.
2732         (elmo-msgdb-message-entity-set-number): Ditto.
2733         (elmo-msgdb-message-entity-field): Ditto.
2734         (elmo-msgdb-message-entity-set-field): Ditto.
2735         (elmo-msgdb-copy-message-entity): Ditto.
2736         (elmo-msgdb-match-condition-internal): Ditto.
2737
2738         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2739         (elmo-message-copy-entity): Rewrite.
2740         (elmo-message-entity-number): Ditto.
2741         (elmo-message-entity-set-number): Ditto.
2742         (elmo-message-entity-field): Use elmo-message-entity-db.
2743         (elmo-message-entity-set-field): Ditto.
2744         (elmo-message-field): Rewrite.
2745
2746         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2747         elmo-msgdb.el
2748         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2749
2750         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2751         elmo-message-entity-field.
2752         (elmo-shimbun-folder-shimbun-header): Ditto.
2753         (elmo-shimbun-entity-to-header): Ditto.
2754         (elmo-folder-msgdb-create): Ditto.
2755         (elmo-shimbun-msgdb-create-entity): Ditto;
2756         Use elmo-msgdb-create-message-entity-from-buffer.
2757         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2758         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2759
2760         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2761         elmo-msgdb-create-message-entity-from-file and 
2762         elmo-message-entity-field.
2763
2764         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2765         elmo-message-entity-number.
2766         (elmo-pop3-msgdb-create-message): Use
2767         elmo-msgdb-create-message-entity-from-buffer,
2768         elmo-message-entity-set-field, elmo-message-entity-number and
2769         elmo-message-entity-set-number.
2770
2771         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2772         the API change in elmo-msgdb-make-message-entity.
2773         (elmo-nntp-msgdb-create-message): Use
2774         elmo-msgdb-create-message-entity-from-buffer.
2775
2776         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2777         elmo-message-entity-field and
2778         elmo-msgdb-create-message-entity-from-file.
2779
2780         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2781         (elmo-msgdb-get-field): Abolish.
2782         (elmo-msgdb-get-number): Rewrite.
2783         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2784         (elmo-msgdb-flag-table): Ditto.
2785         (elmo-msgdb-get-last-message-id,
2786         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2787         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2788         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2789         (elmo-msgdb-create-overview-from-buffer,
2790         elmo-msgdb-overview-get-parent-entity): Abolish.
2791
2792         * elmo-mime.el (elmo-mime-display-as-is): Use
2793         elmo-message-entity-field.
2794
2795         * elmo-map.el (elmo-folder-pack-numbers): Use
2796         elmo-message-entity-set-number.
2797
2798         * elmo-maildir.el (elmo-folder-msgdb-create): 
2799         elmo-msgdb-create-message-entity-from-file instead of
2800         elmo-msgdb-create-overview-entity-from-file.
2801
2802         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2803         msgdb.
2804         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2805         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2806
2807         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2808         elmo-messge-entity-field and elmo-message-entity-number.
2809         (elmo-imap4-fetch-callback-1): Call
2810         elmo-msgdb-create-message-entity-from-buffer instead of
2811         elmo-msgdb-create-overview-from-buffer. 
2812         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2813         (elmo-find-fetch-strategy): Likewise.
2814
2815         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2816         elmo-localdir-msgdb-create-entity with argument msgdb.
2817
2818         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2819         and elmo-message-entity-set-number.
2820
2821         * elmo-cache.el (elmo-folder-msgdb-create): Use
2822         elmo-message-entity-field.
2823         (elmo-folder-msgdb-create): Call
2824         elmo-msgdb-create-message-entity-from-file instead of
2825         elmo-msgdb-create-overview-entity-from-file.
2826
2827         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2828         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2829         instead of elmo-msgdb-create-overview-from-buffer.
2830         (elmo-archive-msgdb-create-entity): Ditto.
2831         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2832         elmo-message-entity-field.
2833         (elmo-archive-parse-mmdf): Ditto.
2834
2835         * modb-entity.el: Removed.
2836
2837         * elmo-version.el (elmo-version): Up to 2.11.16.
2838
2839 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2840
2841         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2842         `is-local'.
2843         (elmo-folder-flag-as-answered): Ditto.
2844
2845 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2846
2847         * modb-standard.el: New file.
2848
2849         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2850         elmo-msgdb-convert-type is `sync'.
2851
2852         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2853         (elmo-msgdb-convert-type): New user option.
2854
2855         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2856         (elmo-load-msgdb): Auto detect saved type.
2857
2858         * elmo-version.el (elmo-version): Up to 2.11.15.
2859
2860 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2861
2862         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2863
2864         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2865         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2866         with argument `delete-if-none' when dst-folder is 'null.
2867
2868         * elmo-flag.el (elmo-folder-append-messages): Defined.
2869         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2870
2871 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2872
2873         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2874
2875 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2876
2877         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2878         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2879         (elmo-folder-commit): Ditto.
2880
2881 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2882
2883         * elmo-flag.el: New file.
2884
2885         * elmo-mark.el: Removed.
2886
2887         * modb-legacy.el (modb-legacy-new-mark,
2888         modb-legacy-unread-uncached-mark,
2889         modb-legacy-unread-cached-mark,
2890         modb-legacy-read-uncached-mark,
2891         modb-legacy-answered-cached-mark,
2892         modb-legacy-answered-uncached-mark,
2893         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2894         All other related portions are changed.
2895
2896         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2897         (elmo-folder-list-messages-with-global-mark): Abolish.
2898         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2899         (elmo-folder-flag-as-important): Ditto.
2900         (elmo-folder-unflag-read): Ditto.
2901         (elmo-folder-flag-as-read): Ditto.
2902         (elmo-folder-unflag-answered): Ditto.
2903         (elmo-folder-flag-as-answered): Ditto.
2904         (elmo-message-encache): Return the cache path.
2905         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2906         (elmo-message-set-flag): Transitional implementation.
2907         (elmo-message-unset-flag): Ditto.
2908         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2909         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2910         (elmo-init): Call elmo-global-flag-initialize.
2911         (toplevel): Added autoload settings for elmo-flag.
2912
2913         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2914
2915         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2916         (elmo-file-cache-delete): Don't treat global-mark.
2917
2918         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2919
2920         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2921
2922         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2923         `elmo-global-flags-set'.
2924
2925         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2926         `flag'.
2927         (elmo-folder-unflag-read): Ditto.
2928         (elmo-folder-unflag-important): Ditto.
2929         (elmo-folder-flag-as-important): Ditto.
2930         (elmo-folder-unflag-answered): Ditto.
2931         (elmo-folder-flag-as-answered): Ditto.
2932
2933         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2934         `elmo-global-flags-set'.
2935         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2936
2937         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2938
2939         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2940         `flag'.
2941         (elmo-folder-flag-as-important): Ditto.
2942         (elmo-folder-unflag-important): Ditto.
2943         (elmo-folder-flag-as-important): Ditto.
2944         (elmo-folder-unflag-read): Ditto.
2945         (elmo-folder-flag-as-read): Ditto.
2946         (elmo-folder-unflag-answered): Ditto.
2947         (elmo-folder-flag-as-answered): Ditto.
2948
2949         * elmo-multi.el (elmo-folder-list-importants): Don't call
2950         elmo-folder-list-messages-with-global-mark.
2951         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2952         (elmo-folder-unflag-important): Ditto.
2953         (elmo-folder-flag-as-read): Ditto.
2954         (elmo-folder-unflag-read): Ditto.
2955         (elmo-folder-flag-as-answered): Ditto.
2956         (elmo-folder-unflag-answered): Ditto.
2957
2958         * elmo-msgdb.el (elmo-msgdb-new-mark,
2959         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2960         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2961         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2962         (Moved to modb-legacy.el).
2963         (elmo-flag-table-get): Treat important flag too.
2964
2965         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2966         `mark' to `flag'.
2967         (elmo-map-folder-flag-as-important): Ditto.
2968         (elmo-map-folder-unflag-read): Ditto.
2969         (elmo-map-folder-flag-as-read): Ditto.
2970         (elmo-map-folder-unflag-answered): Ditto.
2971         (elmo-map-folder-flag-as-answered): Ditto.
2972         (elmo-folder-unflag-important): Ditto.
2973         (elmo-folder-flag-as-important): Ditto.
2974         (elmo-folder-unflag-read): Ditto.
2975         (elmo-folder-flag-as-read): Ditto.
2976         (elmo-folder-unflag-answered): Ditto.
2977         (elmo-folder-flag-as-answered): Ditto.
2978
2979         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2980         (elmo-map-folder-flag-as-important): Renamed from `mark' to
2981         `flag'.
2982         (elmo-map-folder-unflag-important): Ditto.
2983         (elmo-map-folder-flag-as-read): Ditto.
2984         (elmo-map-folder-unflag-read): Ditto.
2985         (elmo-map-folder-flag-as-answered): Ditto.
2986         (elmo-map-folder-unflag-answered): Ditto.
2987
2988         * elmo-localdir.el (elmo-folder-msgdb-create): Call
2989         `elmo-global-flags-set'.
2990         (elmo-global-flags-set): Added autoload setting.
2991
2992         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2993         `flag'.
2994
2995         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2996         `elmo-msgdb-global-mark-set'.
2997         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2998         Call `elmo-global-flags-set'.
2999         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3000         `flag'.
3001         (elmo-folder-flag-as-important-plugged): Ditto.
3002         (elmo-folder-unflag-read-plugged): Ditto.
3003         (elmo-folder-flag-as-read-plugged): Ditto.
3004         (elmo-folder-unflag-answered-plugged): Ditto.
3005         (elmo-folder-flag-as-answered-plugged): Ditto.
3006         (elmo-global-flags-set): Added autoload setting.
3007
3008         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3009         `flag'.
3010         (elmo-folder-unflag-read): Ditto.
3011         (elmo-folder-flag-as-important): Ditto.
3012         (elmo-folder-unflag-important): Ditto.
3013         (elmo-folder-flag-as-answered): Ditto.
3014         (elmo-folder-unflag-answered): Ditto.
3015
3016         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3017         change of `mark'->`flag'.
3018         (elmo-dop-queue-method-name-alist): Ditto.
3019         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3020         (elmo-folder-unflag-read-dop): Ditto.
3021         (elmo-folder-flag-as-important-dop): Ditto.
3022         (elmo-folder-unflag-important-dop): Ditto.
3023         (elmo-folder-flag-as-answered-dop): Ditto.
3024         (elmo-folder-unflag-answered-dop): Ditto.
3025
3026         * elmo-cache.el (elmo-folder-msgdb-create): Call
3027         `elmo-global-flags-set'.
3028
3029         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3030         Call `elmo-global-flags-set'.
3031         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3032         elmo-archive-parse-mmdf with argument `folder'.
3033         (elmo-archive-parse-mmdf): Added argument `folder';
3034         Call `elmo-global-flags-set'.
3035
3036         * elmo-version.el (elmo-version): Up to 2.11.14.
3037
3038 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3039
3040         * modb.el (elmo-msgdb-length): Define.
3041
3042         * elmo.el (elmo-make-folder): Fixed.
3043         (elmo-generic-folder-append-messages): Follow the API change.
3044
3045         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3046         API change.
3047
3048 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3049
3050         * modb.el: New file.
3051
3052         * modb-entity.el: Ditto.
3053
3054         * modb-legacy.el: Ditto.
3055
3056         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3057         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3058         of `elmo-msgdb-overview-get-entity'.
3059         (elmo-msgdb-get-field): Ditto.
3060         (elmo-msgdb-merge): Moved to `elmo.el'.
3061         (elmo-msgdb-length): Removed; redefine as modb method.
3062         (elmo-msgdb-change-mark): Abolish.
3063         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3064         (elmo-msgdb-match-condition): Don't use mark.
3065         (elmo-msgdb-overview-get-entity): Abolish.
3066         Split modb part into `modb*.el'.
3067
3068         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3069
3070         * elmo-shimbun.el (shimbun-mua-search-id): Use
3071         `elmo-msgdb-message-entity' instead of
3072         `elmo-msgdb-overview-get-entity'.
3073         (elmo-shimbun-folder-shimbun-header): Ditto.
3074         (elmo-shimbun-get-headers): Ditto.
3075         (elmo-shimbun-update-overview): Ditto.
3076
3077         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3078
3079         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3080
3081         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3082         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3083
3084         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3085         `elmo-msgdb-mark-to-flags'.
3086
3087         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3088         `elmo-msgdb-set-path'.
3089
3090         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3091  
3092         * elmo-version.el (elmo-version): Up to 2.11.13.
3093
3094         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3095
3096         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3097         of mark.
3098
3099 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3100
3101         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3102         mismatch.
3103
3104 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3105
3106         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3107         instead of `elmo-msgdb-get-cached'.
3108         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3109
3110         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3111         (elmo-msgdb-set-cached): Ditto.
3112         (elmo-msgdb-set-flag): Rewrite.
3113         (elmo-msgdb-unset-flag): Ditto.
3114
3115         * elmo-msgdb.el: Rewrite with luna.
3116
3117         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3118         (elmo-folder-msgdb): Follow the change above.
3119         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3120         (elmo-folder-unmark-important): Follow the API change.
3121         (elmo-folder-mark-as-important): Ditto.
3122         (elmo-folder-unmark-read): Ditto.
3123         (elmo-folder-mark-as-read): Ditto.
3124         (elmo-folder-unmark-answered): Ditto.
3125         (elmo-folder-mark-as-answered): Ditto.
3126         (elmo-folder-clear): Likewise.
3127
3128         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3129         instead of `elmo-msgdb-load' (renamed).
3130
3131         * elmo-version.el (elmo-version): Up to 2.11.12.
3132
3133 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3134
3135         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3136         change.
3137         (elmo-message-mark): Abolish.
3138         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3139         instead of `elmo-msgdb-change-mark'.
3140
3141         * elmo-pipe.el (elmo-message-mark): Abolish.
3142
3143         * elmo-multi.el (elmo-message-mark): Ditto.
3144
3145         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3146         (elmo-msgdb-unread-uncached-mark): Ditto.
3147         (elmo-msgdb-unread-cached-mark): Ditto.
3148         (elmo-msgdb-read-uncached-mark): Ditto.
3149         (elmo-msgdb-answered-cached-mark): Ditto.
3150         (elmo-msgdb-answered-uncached-mark): Ditto.
3151         (elmo-msgdb-important-mark): Ditto.
3152         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3153         `use-cache'.
3154         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3155         `flags'.
3156         (elmo-flag-table-load): Changed flag to list of flag.
3157         (elmo-flag-table-set): If flags is nil, set read flag.
3158         (elmo-flag-table-get): Return derived flags from global mark,
3159         cache status and saved flags.
3160         (elmo-msgdb-flag-table): Follow the change above.
3161         (elmo-msgdb-out-of-date-messages): New function.
3162
3163         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3164
3165         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3166
3167         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3168
3169         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3170         (elmo-nntp-msgdb-create-message): Ditto.
3171
3172         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3173
3174         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3175         independent.
3176         (elmo-folder-msgdb-create): Follow the API change.
3177
3178         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3179         (elmo-folder-append-messages): Ditto.
3180
3181         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3182         (elmo-folder-append-buffer): Ditto.
3183
3184         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3185
3186         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3187
3188         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3189         (elmo-archive-parse-mmdf): Ditto.
3190
3191         * elmo-version.el (elmo-version): Up to 2.11.11.
3192
3193 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3194
3195         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3196         `elmo-msgdb-mark'.
3197
3198         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3199
3200         * elmo-pipe.el (elmo-message-flags): Defined.
3201
3202         * elmo-multi.el (elmo-message-flags): Ditto.
3203
3204 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3205
3206         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3207         `elmo-msgdb-delete-msgs'.
3208
3209         * elmo.el (elmo-folder-count-flags): Don't use
3210         `elmo-msgdb-get-mark-alist'.
3211         (elmo-folder-detach-messages): Follow the API change.
3212
3213         * elmo.el (elmo-folder-list-messages): Append killed messages into
3214         result if `visible-only' is nil.
3215
3216         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3217         canceled messages.
3218         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3219         (elmo-folder-update-number): Likewise.
3220
3221         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3222         (elmo-pop3-sort-msgdb-by-original-number): Use
3223         `elmo-msgdb-sort-entities'.
3224
3225         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3226         (elmo-msgdb-sort-by-date): Use it.
3227         (elmo-msgdb-overview-sort-by-date): Abolish.
3228
3229         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3230
3231         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3232         (elmo-msgdb-flags): New function.
3233         (elmo-msgdb-merge): Use elmo-msgdb-append.
3234
3235         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3236         change.
3237
3238         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3239
3240         * elmo-dop.el (elmo-folder-status-dop): Use
3241         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3242
3243 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3244
3245         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3246
3247         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3248
3249         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3250
3251         * elmo-util.el (elmo-with-progress-display): New macro.
3252
3253         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3254
3255 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3256
3257         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3258         `elmo-folder-list-message-entities' instead of
3259         `elmo-msgdb-get-overview'.
3260         (elmo-map-folder-list-message-locations): Ditto.
3261
3262         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3263         methods instead of treat directly).
3264         (elmo-msgdb-clear): Ditto.
3265         (elmo-msgdb-delete-msgs): Ditto.
3266         (elmo-msgdb-sort-by-date): Ditto.
3267
3268         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3269         local variables.
3270         (elmo-nntp-folder-msgdb-create): Follow the API change.
3271
3272         * elmo-version.el (elmo-version): Up to 2.11.10.
3273
3274 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3275
3276         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3277         (elmo-msgdb-flags-to-mark): Ditto.
3278         (elmo-msgdb-append-entity): Ditto.
3279
3280         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3281         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3282         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3283         (elmo-archive-parse-mmdf): Ditto.
3284
3285         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3286
3287         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3288
3289         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3290
3291         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3292
3293         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3294
3295         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3296
3297         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3298
3299         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3300
3301         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3302         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3303         to empty msgdb.
3304
3305         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3306         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3307         instead of directly construction.
3308         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3309         instead of construct msgdb.
3310
3311         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3312         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3313         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3314         instead of construct msgdb.
3315
3316 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3317
3318         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3319         when field is from or subject.
3320
3321 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3322
3323         * elmo-multi.el (elmo-message-entity-parent): Define.
3324         (elmo-folder-search): Rewrite.
3325
3326 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3327
3328         * elmo-multi.el (elmo-message-cached-p): Define.
3329
3330         * elmo.el (elmo-message-cached-p): New method.
3331         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3332         (elmo-message-flags): New method.
3333         (elmo-message-flagged-p): New function.
3334
3335         * elmo-version.el (elmo-version): Up to 2.11.9.
3336
3337 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3338
3339         * elmo-version.el (elmo-version): Up to 2.11.8.
3340
3341         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3342
3343         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3344
3345 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3346
3347         * elmo.el (elmo-folder-detach-messages): Undo last change.
3348
3349 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3350
3351         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3352
3353         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3354         only when src folder type is pop3.
3355
3356 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3357
3358         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3359         elmo-msgdb-overview-entity-get-number instead of
3360         elmo-message-entity-number.
3361
3362 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3363
3364         * elmo-version.el (elmo-version): Up to 2.11.7.
3365
3366 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3367
3368         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3369         function.
3370
3371         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3372         (elmo-msgdb-merge): New function.
3373         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3374         (elmo-msgdb-make-index): Rewrite.
3375
3376         * elmo-version.el (elmo-version): Up to 2.11.6.
3377
3378         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3379         use it as a the path for loading message entities.
3380
3381         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3382
3383 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3384
3385         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3386         message-modified slot of itself if it does not require target msgdb.
3387
3388         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3389         if folder length is zero.
3390         (elmo-mime-display-as-is): Ditto.
3391
3392         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3393
3394         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3395
3396 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3397
3398         * elmo.el (elmo-folder-set-message-modified): New method.
3399         (elmo-generic-folder-commit): Use it.
3400         (elmo-folder-synchronize): Ditto.
3401
3402         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3403         (elmo-folder-commit): Remove duplicate definition.
3404
3405 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3406
3407         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3408
3409 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3410
3411         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3412         (elmo-strict-folder-diff): Ditto.
3413         (elmo-folder-set-info-max-by-numdb): Simplify.
3414
3415         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3416         elmo-msgdb-list-messages.
3417
3418         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3419         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3420
3421 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3422
3423         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3424         visible-only is non-nil.
3425         (elmo-folder-confirm-appends): Changed message.
3426         (elmo-folder-synchronize): Added argument disable-killed.
3427
3428         * elmo-multi.el (elmo-folder-synchronize): Added argument
3429         disable-killed.
3430
3431         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3432
3433         * elmo-version.el (elmo-version): Up to 2.11.5.
3434
3435         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3436         elmo-list-filter.
3437
3438         * elmo-util.el (elmo-list-filter): Simplify.
3439
3440         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3441         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3442         (elmo-generic-folder-diff): Abolish argument.
3443         (elmo-msgdb-load): Don't use number-alist.
3444
3445         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3446
3447         * elmo-pipe.el (elmo-folder-diff): Ditto.
3448
3449         * elmo-nmz.el (elmo-folder-diff): Ditto.
3450
3451         * elmo-net.el (elmo-folder-diff): Ditto.
3452
3453         * elmo-maildir.el (elmo-folder-diff): Ditto.
3454
3455         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3456
3457         * elmo-multi.el (elmo-folder-diff): Ditto
3458         (elmo-multi-folder-diff): Rewrite.
3459
3460 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3461
3462         * elmo-pipe.el (elmo-folder-msgdb): Define.
3463
3464 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3465
3466         * elmo.el (elmo-message-set-cached): Define as a method.
3467
3468         * elmo-pipe.el (elmo-message-set-cached): Define.
3469         (elmo-find-fetch-strategy): Ditto.
3470
3471         * elmo-multi.el (elmo-message-set-cached): Define.
3472         (elmo-find-fetch-strategy): Rewrite.
3473
3474         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3475
3476         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3477
3478 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3479
3480         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3481         instead of number-alist.
3482
3483         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3484         mark nor message-id when msgdb of source folder is not loaded.
3485
3486         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3487
3488         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3489
3490 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3491
3492         * elmo.el (elmo-folder-length): Don't require msgdb.
3493
3494 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3495
3496         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3497         (elmo-message-field): Ditto.
3498
3499         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3500         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3501         slot.
3502         (elmo-map-folder-list-answereds): Define.
3503         (elmo-maildir-list-location): Treat 'R' info.
3504         (elmo-folder-msgdb-create): Treat flag-table.
3505         (elmo-folder-append-messages): Save flag-table.
3506
3507 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3508
3509         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3510         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3511
3512 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3513
3514         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3515
3516         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3517         'read when mark is null.
3518
3519 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3520
3521         * elmo-version.el (elmo-version): Up to 2.11.4.
3522
3523 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3524
3525         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3526         (elmo-folder-mark-as-answered): Ditto.
3527
3528 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3529
3530         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3531         (elmo-pop3-get-session): Make msgdb directory after session.
3532         (elmo-folder-exists-p): Check exactly at the first time even when the
3533         elmo-pop3-exists-exactly is nil.
3534
3535         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3536         (elmo-folder-list-messages): Define instead of
3537         elmo-folder-list-messages-internal.
3538         (elmo-folder-check): Check destination folder.
3539         (elmo-folder-synchronize): Drain the pipe.
3540
3541         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3542         when msgdb is not loaded.
3543
3544         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3545
3546         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3547         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3548         messages.
3549
3550         * elmo.el (elmo-folder-kill-messages-before): New function.
3551         (elmo-folder-kill-messages): Ditto.
3552         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3553
3554         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3555         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3556         killed not by synchronize (e.g. scoring).
3557
3558 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3559
3560         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3561         treated.
3562         (elmo-folder-search): Follow the change above.
3563
3564         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3565         into the candidates of search field.
3566
3567 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3568
3569         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3570         (elmo-msgdb-unset-flag): Ditto.
3571
3572         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3573
3574 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3575
3576         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3577         (elmo-folder-commit): Define.
3578         (elmo-folder-synchronize): Ditto.
3579         (elmo-folder-list-flagged): Ditto.
3580         (elmo-folder-commit): Ditto.
3581         (elmo-folder-length): Ditto.
3582         (elmo-folder-count-flags): Ditto.
3583         (elmo-message-mark): Ditto.
3584         (elmo-message-field): Ditto.
3585         (elmo-message-entity): Ditto.
3586         (elmo-message-folder): Ditto.
3587
3588 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3589
3590         * elmo.el (elmo-message-field): Define as a method.
3591
3592         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3593         (elmo-message-field): Define.
3594
3595         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3596         (elmo-folder-list-importants): Ditto.
3597         (elmo-folder-list-answereds): Ditto.
3598
3599         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3600         qualifier.
3601         (elmo-folder-mark-as-read): Ditto.
3602         (elmo-folder-unmark-read): Ditto.
3603         (elmo-folder-mark-as-answered): Ditto.
3604         (elmo-folder-unmark-answered): Ditto.
3605         (elmo-folder-list-flagged): Define.
3606         (elmo-folder-commit): Ditto.
3607         (elmo-folder-length): Ditto.
3608         (elmo-folder-count-flags): Ditto.
3609
3610 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3611
3612         * elmo.el (elmo-folder-detach-messages): New method.
3613         (elmo-folder-move-messages): Use it.
3614         (elmo-folder-synchronize): Ditto.
3615
3616         * elmo-multi.el (elmo-folder-detach-messages): Define.
3617
3618         * elmo.el (elmo-message-copy-entity): New function.
3619         (elmo-message-entity-set-number): Ditto.
3620         (elmo-message-mark): Define as method.
3621
3622         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3623         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3624         (elmo-message-entity): Fixed last change.
3625         (elmo-message-mark): Define.
3626         (elmo-folder-msgdb-create): Abolish.
3627         (elmo-multi-folder-append-msgdb): Ditto.
3628         (elmo-multi-folder-diff): Fixed.
3629         (elmo-multi-split-number-alist): Removed.
3630         (elmo-multi-split-mark-alist): Removed.
3631         (elmo-folder-list-messages): Define.
3632         (elmo-folder-list-messages-internal): Removed.
3633
3634         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3635         local file messages.
3636         (elmo-folder-msgdb-create): Fixed read mark.
3637
3638 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3639
3640         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3641         if mark is nil.
3642
3643 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3644
3645         * elmo.el (elmo-folder-list-message-entities): Define as inline
3646         function.
3647         (elmo-folder-messages): Abolish.
3648
3649         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3650         folder.
3651         (elmo-folder-synchronize): Define.
3652         (elmo-message-entity): Define.
3653
3654 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3655
3656         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3657         elmo-imap4-session-select-mailbox.
3658
3659         * elmo.el (elmo-folder-move-messages): Don't display any message.
3660
3661         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3662         parsing.
3663         (elmo-imap4-session-check): Don't wait CHECK response.
3664         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3665
3666 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3667
3668         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3669
3670 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3671
3672         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3673         API.
3674         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3675
3676
3677         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3678         (elmo-folder-list-message-entities): Added argument in-msgdb and
3679         numbers.
3680         (elmo-folder-synchronize): Define as a method.
3681
3682         * elmo-nntp.el (elmo-folder-initialize): Don't use
3683         elmo-nntp-default-user if zero-length username is specified
3684         explicitly.
3685
3686 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3687
3688         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3689         server name in case with username.
3690         (XXX: this is ad-hoc fix against username includes "@", it
3691         should be solved fundamentally)
3692
3693 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3694
3695         * elmo-nntp.el (elmo-nntp-debug): New function.
3696         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3697         (elmo-network-authenticate-session): Hide auth-info from the log.
3698
3699         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3700         user name if it is equal to elmo-nntp-default-user.
3701
3702 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3703
3704         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3705         instead of shimbun-server-internal;
3706         Use shimbun-current-group instead of shimbun-current-group-internal.
3707         (elmo-folder-plugged-p): Use shimbun-server instead of
3708         shimbun-server-internal.
3709         (elmo-folder-set-plugged): Ditto.
3710         (elmo-net-port-info): Ditto.
3711         (elmo-folder-check): Ditto.
3712         (elmo-folder-expand-msgdb-path): Ditto.
3713         (elmo-folder-list-subfolders): Ditto.
3714
3715 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3716
3717         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3718         Convert field-name to lower case.
3719         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3720
3721 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3722
3723         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3724         `message' and `error' take format string.
3725
3726 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3727
3728         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3729
3730 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3731
3732         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3733         recursive call (can't byte compile on emacs 20.7).
3734
3735 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3736
3737         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3738         (elmo-folder-list-message-entities): New API.
3739         (elmo-message-entity): Ditto.
3740         (elmo-message-entity-parent): Ditto.
3741         (elmo-folder-do-each-message-entity): Ditto.
3742         (elmo-message-entity-number): Ditto.
3743         (elmo-message-entity-field): Ditto.
3744         (elmo-message-entity-set-field): Ditto.
3745         (elmo-folder-count-flags): Ditto.
3746         (elmo-folder-length): Ditto.
3747
3748         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3749         not.
3750
3751         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3752         (elmo-msgdb-count-marks): Abolish.
3753         (elmo-msgdb-make-entity): Ditto.
3754         (elmo-msgdb-do-each-entity): Ditto.
3755         (elmo-msgdb-message-entity): New inline function.
3756         (elmo-msgdb-message-entity-field): Ditto.
3757         (elmo-msgdb-message-entity-set-field): Ditto.
3758         (elmo-msgdb-make-message-entity): New function.
3759
3760 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3761
3762         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3763         to flag. (All other related portions are changed.)
3764         (elmo-folder-msgdb-create): Likewise.
3765         (elmo-generic-folder-append-messages): Use flag-table instead of
3766         seen-list.
3767         (elmo-folder-move-messages): Removed redundant process.
3768         (elmo-folder-synchronize): Likewise.
3769
3770         * elmo-msgdb.el (elmo-flag-table-get): New function.
3771         (elmo-flag-table-save): Fixed.
3772         (elmo-msgdb-length): New inline function.
3773         (elmo-msgdb-flag-table): New function.
3774         (elmo-msgdb-mark): Add optional argument new.
3775         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3776         (elmo-msgdb-seen-list): Ditto.
3777         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3778
3779
3780 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3781
3782         * elmo.el (elmo-message-set-mark): Abolish.
3783         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3784         (All related portions are changed.)
3785
3786         * elmo-msgdb.el (toplevel): Added comment.
3787         (elmo-load-msgdb): Added 4th element `path'.
3788         (elmo-msgdb-append): Follow the change above.
3789         (elmo-msgdb-clear): Ditto.
3790         (elmo-msgdb-delete-msgs): Ditto.
3791         (elmo-msgdb-get-path): New inline function.
3792         (elmo-msgdb-set-path): Ditto.
3793         (elmo-flag-table-filename): New variable.
3794         (elmo-flag-table-load): New function.
3795         (elmo-flag-table-set): Ditto.
3796         (elmo-flag-table-save): Ditto.
3797         (elmo-msgdb-get-field-value): Abolish.
3798         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3799
3800 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3801
3802         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3803         the folder has been deleted successfully.
3804         * elmo-imap4.el (elmo-folder-delete): Ditto.
3805         * elmo-archive.el (elmo-folder-delete): Ditto.
3806         * elmo-localdir.el (elmo-folder-delete): Ditto.
3807         * elmo-maildir.el (elmo-folder-delete): Ditto.
3808
3809 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3810
3811         * elmo-util.el (elmo-string-member-ignore-case): New function.
3812         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3813         (elmo-imap4-fetch-callback-1-subr): Likewise.
3814
3815 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3816
3817         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3818         the case of the name attribute "\Noselect".
3819
3820 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3821
3822         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3823
3824         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3825         flist, is not always a member of onum-alist.
3826
3827 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3828
3829         * elmo-version.el (elmo-version): Up to 2.11.3.
3830
3831 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3832
3833         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3834         copied from localdir's one.
3835
3836         * elmo-pipe.el (elmo-folder-rename): New method, rename
3837         destination folder with leaving source folder as it is.
3838
3839 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3840
3841         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3842         replace-regexp.
3843
3844 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3845
3846         * elmo-version.el (elmo-version): Up to 2.11.2.
3847
3848 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3849
3850         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3851         shimbun-open in case of "@".
3852         (elmo-folder-open-internal): Cope with shimbun = nil case.
3853         (elmo-folder-plugged-p): Ditto.
3854         (elmo-folder-list-subfolders): Make list for "@/" group.
3855
3856 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3857
3858         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3859         mailbox (e.g. for %~/something).
3860
3861 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3862
3863         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3864         Replace nested conditional with guard clauses.
3865
3866 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3867
3868         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3869         error [wl:11327].
3870
3871         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3872         print-depth.
3873
3874 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3875
3876         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3877         Replace nested conditional with guard clauses.
3878
3879 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3880
3881         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3882         (elmo-passwd-alist-save): Ditto.
3883         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3884
3885 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3886
3887         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3888         dir-name only if it is absolute path.
3889         (TODO: distinguish +/something and +something)
3890
3891 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3892
3893         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3894         path for "+~/something".
3895
3896 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3897
3898         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3899         as non-directory, cause error before rename-file.
3900         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3901         apropriately, mimic localdir's one.
3902         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3903
3904 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3905
3906         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3907
3908 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3909
3910         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3911
3912         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3913         
3914         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3915         is included in the global-mark or not.
3916
3917 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3918
3919         * utf7.el (toplevel): Avoid error when the function
3920         find-coding-system does not exist.
3921
3922 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3923
3924         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3925         cache even if the folder is plugged.
3926         (elmo-nntp-search-primitive): Do nothing when body search is
3927         invoked (although it is not used by the change above).
3928         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3929
3930 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3931
3932         * elmo-version.el (elmo-version): Up to 2.11.1.
3933
3934 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3935
3936         * elmo-archive.el: Specify charset.
3937
3938 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3939
3940         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3941         process buffer lives or not.
3942
3943         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3944         while flushing queues (It causes infinite loop).
3945
3946 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
3947
3948         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3949
3950 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
3951
3952         * utf7.el (toplevel): Check the ucs features dynamically.
3953         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
3954
3955         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3956         folder is creatabe or not if it already exists.
3957
3958 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
3959
3960         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3961
3962         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3963
3964         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3965         (elmo-imap4-read-response): Take care of garbage response.
3966
3967 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3968
3969         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3970         just return nil instead of error.
3971
3972 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3973
3974         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3975         search-key is "body".
3976
3977 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
3978
3979         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3980         of elmo-string-matched-assoc to use match-data.
3981         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3982
3983 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3984
3985         * elmo-split.el (elmo-split->): New function.
3986         (elmo-split-<): Ditto.
3987
3988 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
3989
3990         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3991         workaround for invalid message-id.
3992
3993 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
3994
3995         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3996         return normal pop3 session or pop3 biff session.
3997
3998 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
3999
4000         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4001         info part to the cur files when the new files already have it.
4002         (Adviced by Jared Rhine <jared@wordzoo.com>)
4003
4004 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4005
4006         * elmo-split.el (elmo-split-default-action): New variable.
4007         (elmo-split-subr): Use it if all other conditions are passed.
4008         Extend `fname' and rename it as `action'. (implemented
4009         Teranishi-san's idea in [wl:10800])
4010
4011 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4012
4013         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4014         * elmo-util.el: Ditto.
4015
4016 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4017
4018         * elmo.el (elmo-message-accessible-p): Renamed from
4019         elmo-message-cached-p and rewritten.
4020
4021 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4022
4023         * elmo.el (elmo-folder-list-flagged): New generic function.
4024         (elmo-folder-list-importants): New implementation.
4025         (elmo-folder-list-answereds): Ditto.
4026         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4027         Added 'digest'.
4028         (elmo-message-cached-p): New function.
4029         (elmo-message-set-flag): Ditto (no content).
4030         (elmo-message-unset-flag): Ditto.
4031         (elmo-folder-list-messages-mark-match): Abolish.
4032
4033         * elmo-util.el (elmo-regexp-opt): New function.
4034
4035         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4036         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4037         Added 'digest'.
4038         (elmo-msgdb-list-flagged): New function.
4039
4040         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4041         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4042         Added 'digest'.
4043
4044         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4045
4046 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4047
4048         * elmo-version.el (elmo-version): Up to 2.11.0.
4049
4050 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4051
4052         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4053         `elmo-file-cache-exists-p'; use proper mark that depends on
4054         `use-cache'.
4055         (elmo-msgdb-unset-flag): Ditto.
4056         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4057
4058         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4059         with 4th argument `use-cache'.
4060
4061 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4062
4063         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4064         (elmo-folder-mark-as-important): Ditto.
4065         (elmo-folder-unmark-read): Ditto.
4066         (elmo-folder-mark-as-read): Ditto.
4067         (elmo-folder-unmark-answered): Ditto.
4068         (elmo-folder-mark-as-answered): Ditto.
4069
4070         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4071         message status.
4072         (elmo-msgdb-mark): Likewise.
4073         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4074         (elmo-msgdb-unset-flag): Likewise.
4075
4076         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4077
4078 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4079
4080         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4081         `last:' filter.
4082
4083 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4084
4085         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4086         set spool-length to 0.
4087
4088 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4089
4090         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4091         (elmo-dop-queue-flush): Fixed last change.
4092
4093 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4094
4095         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4096         if require-msgdb slot is nil.
4097         (elmo-folder-list-importants): Likewise.
4098
4099 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4100
4101         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4102         mark is changed.
4103
4104         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4105         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4106         is changed.
4107
4108 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4109
4110         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4111
4112 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4113
4114         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4115
4116         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4117
4118 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4119
4120         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4121         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4122
4123 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4124
4125         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4126         the problem reported by Sean Rima [wl-en:180].
4127
4128 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4129
4130         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4131
4132         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4133
4134         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4135
4136         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4137
4138         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4139
4140         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4141
4142         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4143
4144 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4145
4146         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4147         status number.
4148
4149 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4150
4151         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4152         (elmo-folder-mark-as-read): Follow the API change.
4153         (elmo-message-set-cached): New function.
4154
4155         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4156
4157         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4158
4159         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4160         (elmo-folder-mark-as-important): Ditto.
4161         (elmo-folder-unmark-read): Ditto.
4162         (elmo-folder-mark-as-read): Ditto.
4163         (elmo-folder-unmark-answered): Ditto.
4164         (elmo-folder-mark-as-answered): Ditto.
4165
4166         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4167         (elmo-folder-unmark-important): Ditto.
4168         (elmo-folder-mark-as-read): Ditto.
4169         (elmo-folder-unmark-read): Ditto.
4170         (elmo-folder-mark-as-answered): Ditto.
4171         (elmo-folder-unmark-answered): Ditto.
4172
4173         * elmo-mark.el (toplevel): Removed some mark method definitions.
4174
4175         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4176         (elmo-map-folder-mark-as-answered): Ditto.
4177         (elmo-folder-unmark-important): Add :before qualifier.
4178         (elmo-folder-mark-as-important): Ditto.
4179         (elmo-folder-unmark-read): Ditto.
4180         (elmo-folder-mark-as-read): Ditto.
4181         (elmo-folder-unmark-answered): Define.
4182         (elmo-folder-mark-as-answered): Ditto.
4183
4184         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4185         (elmo-map-folder-unmark-answered): Ditto.
4186
4187         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4188
4189         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4190         (elmo-folder-mark-as-important): Ditto.
4191         (elmo-folder-unmark-read): Ditto.
4192         (elmo-folder-mark-as-read): Ditto.
4193         (elmo-folder-unmark-answered): Ditto.
4194         (elmo-folder-mark-as-answered): Ditto.
4195
4196         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4197         `mark'; evaluate mark condition.
4198         (elmo-msgdb-match-condition-internal): New function.
4199         (elmo-msgdb-match-condition): Call it; changed argument.
4200
4201         * elmo.el (elmo-folder-search): Follow the API change on
4202         `elmo-msgdb-match-condition'.
4203
4204 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4205
4206         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4207         original mark is non-nil.
4208
4209 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4210
4211         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4212         (elmo-map-folder-list-answereds): New method.
4213         (elmo-folder-list-unreads): Add :around qualifier.
4214         (elmo-folder-list-importants): Ditto.
4215         (elmo-folder-list-answereds): Ditto.
4216
4217 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4218
4219         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4220
4221         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4222         method if msgdb is not required.
4223         (elmo-filter-folder-list-importants): Don't treat global-mark.
4224
4225         * elmo.el (elmo-folder-list-importants): Ditto.
4226
4227         * elmo-net.el (elmo-folder-list-importants): Ditto.
4228
4229         * elmo-map.el (elmo-folder-list-importants): Ditto.
4230
4231         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4232
4233         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4234         (elmo-imap4-folder-list-any-plugged): New function.
4235         (elmo-imap4-search-internal-primitive): Use it.
4236
4237         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4238         only when require-msgdb slot is non-nil.
4239         (elmo-folder-close): Clear target folder's msgdb.
4240
4241 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4242
4243         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4244         (elmo-pop3-msgdb-create-by-header): Ditto.
4245         (elmo-pop3-msgdb-create-message): Ditto.
4246
4247         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4248
4249         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4250
4251         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4252
4253         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4254         (elmo-folder-msgdb-create): Ditto.
4255         (elmo-nntp-folder-msgdb-create): Ditto.
4256         (elmo-nntp-msgdb-create-by-header): Ditto.
4257         (elmo-nntp-msgdb-create-message): Ditto.
4258         (elmo-folder-list-unreads): Define.
4259
4260         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4261         (elmo-folder-append-messages): Ditto.
4262         (elmo-folder-list-unreads): Define.
4263         (elmo-folder-list-importants): Ditto.
4264         (elmo-folder-list-answereds): Ditto.
4265
4266         * elmo-net.el (elmo-folder-list-unreads): Define.
4267         (elmo-folder-list-importants): Ditto.
4268         (elmo-folder-list-answereds): Ditto.
4269         (elmo-folder-list-answereds-plugged): Ditto.
4270         (elmo-folder-msgdb-create): Follow the API change.
4271         (elmo-folder-msgdb-create-unplugged): Ditto.
4272         (elmo-folder-unmark-answered): Define.
4273         (elmo-folder-mark-as-answered-unplugged): Ditto.
4274         (elmo-folder-unmark-answered-unplugged): Ditto.
4275
4276         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4277         (elmo-msgdb-unread-uncached-mark): Ditto.
4278         (elmo-msgdb-unread-cached-mark): Ditto.
4279         (elmo-msgdb-read-uncached-mark): Ditto.
4280         (elmo-msgdb-answered-cached-mark): Ditto.
4281         (elmo-msgdb-answered-uncached-mark): Ditto.
4282         (elmo-msgdb-important-mark): Ditto.
4283         (elmo-msgdb-set-mark): Rewrite.
4284         (elmo-msgdb-count-marks): Rewrite.
4285         (elmo-msgdb-mark-alist-set): Abolish.
4286         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4287         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4288
4289         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4290         (elmo-folder-close): Define.
4291         (elmo-folder-msgdb-create): Follow the API change.
4292         (elmo-folder-list-unreads): Rewrite.
4293         (elmo-folder-mark-as-important): Ditto.
4294         (elmo-folder-unmark-important): Ditto.
4295         (elmo-folder-mark-as-read): Ditto.
4296         (elmo-folder-unmark-read): Ditto.
4297         (elmo-folder-mark-as-answered): Define.
4298         (elmo-folder-unmark-answered): Ditto.
4299
4300         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4301         (elmo-folder-append-messages): Ditto.
4302
4303         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4304
4305         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4306         (elmo-folder-list-importants): Ditto.
4307
4308         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4309         (elmo-folder-append-messages): Ditto.
4310
4311         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4312         change.
4313         (elmo-folder-msgdb-create-plugged): Ditto.
4314         (elmo-folder-append-messages): Ditto.
4315         (elmo-folder-list-answereds-plugged): Define.
4316         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4317         (elmo-folder-unmark-answered-plugged): Define.
4318         (elmo-folder-mark-as-answered-plugged): Ditto.
4319         (elmo-folder-search-requires-msgdb-p): Ditto.
4320
4321         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4322         (elmo-folder-initialize): Set it.
4323         (elmo-folder-msgdb): Define.
4324         (elmo-folder-check): Call elmo-folder-synchronize.
4325         (elmo-folder-close): Define.
4326         (elmo-folder-commit): Ditto.
4327         (elmo-folder-msgdb-create): Rewrite.
4328         (elmo-folder-list-unreads): Ditto.
4329         (elmo-folder-list-importants): Ditto.
4330         (elmo-folder-mark-as-read): Ditto.
4331         (elmo-folder-unmark-read): Ditto.
4332         (elmo-folder-mark-as-important): Ditto.
4333         (elmo-folder-unmark-important): Ditto.
4334         (elmo-folder-mark-as-answered): Define.
4335         (elmo-folder-unmark-answered): Ditto.
4336
4337         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4338         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4339         (elmo-dop-queue-method-name-alist): Likewise.
4340         (elmo-folder-mark-as-answered-dop): New inline function.
4341         (elmo-folder-unmark-answered-dop): Ditto.
4342         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4343
4344         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4345         (elmo-folder-msgdb-create): Ditto.
4346         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4347         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4348         (elmo-archive-parse-mmdf): Ditto.
4349
4350         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4351         (elmo-folder-list-unreads-internal): Ditto.
4352
4353         * elmo.el (elmo-folder-msgdb): Define as generic function.
4354         (elmo-folder-list-messages): Added argument `in-msgdb'.
4355         (elmo-folder-list-unreads): Define as generic function.
4356         (elmo-folder-list-importants): Ditto.
4357         (elmo-folder-list-answereds): Ditto.
4358         (elmo-folder-list-messages-with-global-mark): New function.
4359         (elmo-folder-msgdb-create): Removed mark arguments.
4360         (elmo-folder-unmark-answered): New generic function.
4361         (elmo-folder-mark-as-answered): Ditto.
4362         (elmo-folder-append-messages): Removed argunment `unread-marks'
4363         (elmo-folder-list-unreads-internal): Abolish.
4364         (elmo-folder-list-importants-internal): Ditto.
4365         (elmo-folder-search-requires-msgdb-p): New generic function.
4366         (elmo-folder-search-requires-msgdb-p-internal): New function.
4367         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4368         elmo-msgdb-load.
4369         (elmo-folder-search-fast): Added key 'mark'.
4370         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4371         instead of unread-marks argument.
4372         (elmo-folder-move-messages): Removed argunment `unread-marks'
4373         (elmo-folder-unmark-important): Define.
4374         (elmo-folder-mark-as-important): Ditto.
4375         (elmo-folder-unmark-read): Ditto.
4376         (elmo-folder-mark-as-read): Ditto.
4377         (elmo-folder-unmark-answered): Ditto.
4378         (elmo-folder-mark-as-answered): Ditto.
4379         (elmo-folder-replace-marks): Abolish.
4380         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4381         duplicates.
4382         (elmo-folder-synchronize): Removed mark arguments;
4383         return crosspost only number.
4384
4385 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4386
4387         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4388         Remove redundunt connectivity check.
4389
4390 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4391
4392         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4393         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4394
4395 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4396
4397         * pldap.el (ldap-decode-string): Return string as-is if
4398         `ldap-coding-system' is nil.
4399         (ldap-encode-string): Ditto.
4400         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4401         (ldap-default-host): Fixed docstring.
4402
4403 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4404
4405         * elmo-util.el (elmo-warning): Define as a macro which uses
4406         `display-warning' if it is defined as a function.
4407
4408         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4409         (elmo-split-equal): Use it.
4410         (elmo-split-match): Ditto.
4411         (elmo-split-message-entity): New buffer-local variable.
4412         (elmo-split-subr): Set it.
4413
4414         * elmo-version.el (elmo-version): Up to 2.9.15.
4415
4416 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4417
4418         * elmo-imap4.el (elmo-network-initialize-session):
4419         Check capability after starttls.
4420
4421 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4422
4423         * elmo-util.el (elmo-list-delete): Added optional argument
4424         DELETE-FUNCTION.
4425
4426         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4427
4428         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4429
4430         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4431
4432         * elmo-imap4.el (elmo-folder-initialize): Don't use
4433         elmo-imap4-default-mailbox.
4434
4435 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4436
4437         * elmo-split.el (toplevel): Use `product-provide'.
4438         (elmo-split): Checkdoc.
4439
4440 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4441
4442         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4443         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4444         the function `elmo-imap4-debug-1'.
4445
4446 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4447
4448         * elmo-split.el (elmo-split): Moved to run hooks and to show
4449         message from elmo-split-subr.
4450         (elmo-split-subr): Follow the change above.
4451
4452         * elmo-split.el (elmo-split-subr): New function (renamed from
4453         elmo-split-subr).
4454         (elmo-split): Changed to call elmo-split-subr by element of
4455         elmo-split-folder.
4456         (elmo-split-folder): Changed customization type to choice.
4457
4458 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4459
4460         * elmo-split.el (elmo-split-and): Fixed condition.
4461
4462 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4463
4464         * elmo-split.el: New file.
4465         (elmo-split): Fixed logic.
4466         Display "Test:" instead of "Folder:" when reharsal.
4467
4468         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4469         explicitly.
4470
4471         * elmo-version.el (elmo-version): Up to 2.9.14.
4472
4473         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4474         wl-expand-newtext).
4475
4476 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4477
4478         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4479         message with no message-id field.
4480
4481 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4482
4483         * elmo-version.el (elmo-version): Up to 2.9.13.
4484
4485         * elmo-dop.el (elmo-folder-status-dop): Fix.
4486
4487 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4488
4489         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4490
4491         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4492         changing default value of default-mime-charset.
4493         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4494
4495         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4496
4497         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4498         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4499         instead of elmo-dop-queue-method-name-alist to check merging queue.
4500         (elmo-folder-delete-messages-dop): Delete from queue if negative
4501         message number.
4502         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4503         file is already removed.
4504
4505 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4506
4507         * elmo-vars.el: Bind colon keywords for old Emacsen.
4508
4509 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4510
4511         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4512         against non-exsisting charset.
4513
4514 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4515
4516         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4517         Use eword-decode-and-unfold-unstructured-field-body.
4518
4519         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4520         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4521         exists to decode raw subject string.
4522         (toplevel): Require 'mime.
4523
4524         * elmo-version.el (elmo-version): Up to 2.9.12.
4525
4526 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4527
4528         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4529         (elmo-msgdb-set-mark): Ditto.
4530
4531         * elmo-version.el (elmo-version): Up to 2.9.11.
4532
4533 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4534
4535         * elmo-util.el (elmo-delete-match-files): New function.
4536
4537         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4538         instead of elmo-delete-directory.
4539
4540         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4541         elmo-hash-minimun-size as 63.
4542
4543         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4544         elmo-diff-unread is nil.
4545
4546         * elmo-imap4.el (elmo-folder-open): Fix.
4547
4548         * elmo.el (elmo-message-mark): Rewrite.
4549         (elmo-message-field): Ditto.
4550         (elmo-message-set-mark): Ditto.
4551         (elmo-folder-replace-marks): New function.
4552         (elmo-generic-folder-append-msgdb): Removed third argument for
4553         elmo-msgdb-append.
4554         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4555         (elmo-msgdb-load): New implementation.
4556
4557         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4558
4559         * elmo-util.el (elmo-list-insert): New implementation.
4560
4561         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4562         argument for elmo-msgdb-append.
4563         
4564
4565         * elmo-msgdb.el (elmo-load-msgdb): New function.
4566         (elmo-make-msgdb): Ditto.
4567         (elmo-msgdb-get-index): New inline function.
4568         (elmo-msgdb-set-index): Ditto.
4569         (elmo-msgdb-get-entity-hashtb): Ditto.
4570         (elmo-msgdb-get-mark-hashtb): Ditto.
4571         (elmo-msgdb-get-mark): Ditto.
4572         (elmo-msgdb-set-mark): Ditto.
4573         (elmo-msgdb-count-marks): Ditto.
4574         (elmo-msgdb-get-number): Ditto.
4575         (elmo-msgdb-get-field): Ditto.
4576         (elmo-msgdb-seen-list): Ditto.
4577         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4578         (elmo-msgdb-delete-msgs): Follow the changes above.
4579         (elmo-msgdb-overview-get-entity): Ditto.
4580         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4581         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4582         and rewritten.
4583         (elmo-msgdb-make-index): Likewise.
4584         (elmo-msgdb-append): Removed third argument.
4585         (elmo-msgdb-clear): Clear index as nil.
4586         (elmo-folder-set-info-hashtb): Removed.
4587         (elmo-folder-set-info-max-by-numdb): Ditto.
4588         (elmo-folder-info-make-hashtb): Ditto.
4589
4590         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4591
4592         * elmo-map.el (elmo-folder-pack-number): Ditto.
4593
4594 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4595
4596         * elmo-version.el (elmo-version): Up to 2.9.10.
4597
4598         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4599
4600         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4601
4602 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4603
4604         * elmo-utils.el (elmo-make-directory): Add option.
4605         Default file mode is 700.
4606
4607 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4608
4609         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4610
4611 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4612
4613         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4614         mime-charset.
4615
4616         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4617         and "smaller".
4618
4619 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4620
4621         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4622         (elmo-shimbun-folder-entity-hash): New function.
4623         (elmo-shimbun-folder-shimbun-header): Ditto.
4624         (elmo-shimbun-entity-to-header): Ditto.
4625         (elmo-shimbun-msgdb-to-headers): Removed.
4626         (elmo-shimbun-folder-setup): Ditto.
4627         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4628         for hash key.
4629         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4630         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4631         Removed useless local bind.
4632         (elmo-folder-open-internal): Don't call
4633         `elmo-shimbun-folder-setup'.
4634         (elmo-folder-close-internal): Clear entity-hash slot.
4635         (elmo-folder-clear): Ditto.
4636         (elmo-shimbun-msgdb-create-entity): Use
4637         `elmo-shimbun-folder-shimbun-header'.
4638         (elmo-map-message-fetch): Ditto.
4639         (elmo-shimbun-update-overview): Use overview entity instead of
4640         shimbun header to lookup id by references.
4641         (elmo-map-folder-list-message-locations): Use not only headers but
4642         also overviews to list locations.
4643
4644 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4645
4646         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4647         msgdb path.
4648
4649         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4650
4651 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4652
4653         * elmo-util.el (elmo-read-search-condition-internal): Give default
4654         value for date.
4655
4656 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4657
4658         * elmo-util.el (elmo-condition-parse-search-value): Accept
4659         YYYY-MM-DD format to search.
4660         * elmo-date.el (elmo-date-get-datevec): Likewise.
4661
4662 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4663
4664         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4665         debugging code.
4666
4667 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4668
4669         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4670         from t.
4671
4672         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4673
4674         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4675         case from `elmo-folder-exists-p'.
4676         (elmo-folder-exists-p): Removed.
4677         (elmo-folder-creatable-p) Ditto.
4678
4679         * elmo-net.el (elmo-folder-create): Defined.
4680         (elmo-folder-create-unplugged): New function.
4681         (elmo-folder-exists-p): Changed default value to nil from t.
4682
4683         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4684         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4685
4686         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4687         `elmo-create-folder-dop' and append queue
4688         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4689         (elmo-folder-create-dop-delayed): New function.
4690
4691         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4692
4693         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4694
4695         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4696         (elmo-folder-writable-p) : Ditto.
4697
4698         * elmo-version.el (elmo-version): Up to 2.9.9.
4699
4700 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4701
4702         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4703         `elmo-message-use-cache-p' returns nil.
4704         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4705         (ignore cache file and refer the substance in local folders)
4706
4707 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4708
4709         * elmo-version.el (elmo-version): Up to 2.9.8.
4710
4711 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4712
4713         * elmo-version.el (elmo-version): Up to 2.9.7.
4714
4715         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4716
4717 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4718
4719         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4720
4721 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4722
4723         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4724         from --early.
4725         (elmo-map-folder-list-message-locations): Reverse location list.
4726
4727 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4728
4729         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4730
4731 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4732
4733         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4734         as a key.
4735         (elmo-nntp-folder-list-subfolders): Follow the change above.
4736
4737 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4738
4739         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4740         name if authentication type is specified.
4741
4742 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4743
4744         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4745         variable.
4746         (elmo-default-nntp-stream-type): Ditto.
4747         (elmo-default-pop3-stream-type): Ditto.
4748
4749 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4750
4751         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4752
4753 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4754
4755         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4756         elmo-vars.el.
4757         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4758
4759         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4760         (elmo-maildir-folder-path): Ditto.
4761         (elmo-maildir-list): Ditto (abolished).
4762
4763 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4764
4765         * elmo-version.el (elmo-version): Up to 2.9.6.
4766
4767 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4768
4769         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4770         (elmo-maildir-folder-path): Ditto.
4771         (elmo-msgdb-directory): Ditto.
4772         (elmo-passwd-life-time): Ditto.
4773         (elmo-msgdb-extra-fields): Ditto.
4774         (elmo-enable-disconnected-operation): Ditto.
4775
4776 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4777
4778         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4779         other choices.
4780         (elmo-pop3-default-authenticate-type): Ditto.
4781
4782 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4783
4784         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4785         choices for custom.
4786         (elmo-pop3-default-authenticate-type): Ditto.
4787
4788 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4789
4790         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4791         mailbox to new-folder.
4792
4793 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4794
4795         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4796         less than new, set new as unread.
4797
4798         * elmo-util.el (elmo-string): Don't put text-property if nil.
4799
4800 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4801
4802         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4803         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4804
4805 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4806
4807         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4808         is nil on `completing-read'.
4809
4810 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4811
4812         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4813         for namespace part.
4814         (elmo-imap4-parse-namespace-subr): Ditto.
4815         (elmo-folder-list-subfolders): Append a delimiter when the specified
4816         folder path is a root with namespace and does not end with delimiter.
4817
4818 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4819
4820         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4821         was used.
4822
4823 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4824
4825         * elmo-util.el (elmo-save-buffer): The first argument of message
4826         is a format control string.
4827
4828 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4829
4830         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4831         `elmo-folder-diff').
4832         (elmo-diff-unread): Likewise.
4833
4834 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4835
4836         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4837         is t on `completing-read'.
4838
4839 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4840
4841         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4842         method of target folder with self mark-alist if MARK-ALIST is nil.
4843
4844 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4845
4846         * elmo-version.el (elmo-version): Up to 2.9.5.
4847
4848 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4849
4850         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4851         (elmo-dop-merge-funcs): Remove.
4852
4853 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4854
4855         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4856         Return t if PATH is directory, too.
4857         Use `dolist' instead of while loop.
4858
4859 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4860
4861         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4862         is deleted.
4863
4864 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4865
4866         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4867         return value to t.
4868         (elmo-folder-list-messages-unplugged): Return t if
4869         elmo-enable-disconnected-operation is nil.
4870
4871         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4872         `elmo-folder-list-messages-internal'.
4873
4874 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4875
4876         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4877         Change to looking-at `[23][0-9]+'.
4878         (elmo-network-initialize-session): Use 'error-msg'
4879         * elmo-net.el (elmo-network-open-session): Set unplugged
4880         if elmo-network-initialize-session returns 'elmo-open-err.
4881
4882 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4883
4884         * elmo-version.el (elmo-version): Up to 2.9.4.
4885
4886 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4887
4888         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4889         `elmo-folder-list-messages-internal'.
4890
4891 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4892
4893         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4894         (elmo-message-match-condition): New method.
4895         (elmo-folder-search-fast): New inline function.
4896         (elmo-msgdb-search): Removed.
4897
4898         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4899         target folder if it is unplugged.
4900         (elmo-folder-list-messages-internal): Return t if target folder is
4901         unplugged and itself is persistent; In this case, use list be
4902         searched already.
4903
4904         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4905         (elmo-msgdb-search-internal-primitive): Ditto.
4906         (elmo-msgdb-match-condition): New function.
4907         (elmo-msgdb-match-condition-primitive): Ditto.
4908
4909         * elmo-util.el (elmo-filter-condition-p): New macro.
4910
4911         * elmo-cache.el (elmo-folder-search): Removed.
4912
4913         * elmo-localdir.el (elmo-folder-search): Ditto.
4914
4915         * elmo-maildir.el (elmo-folder-search): Ditto.
4916
4917         * elmo-mark.el (elmo-folder-search): Ditto.
4918
4919         * elmo-nmz.el (elmo-folder-search): Ditto.
4920
4921         * elmo-sendlog.el (elmo-folder-search): Ditto.
4922
4923         * elmo-shimbun.el (elmo-folder-search): Ditto.
4924
4925         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4926         if folder is unplugged.
4927
4928         * elmo-nntp.el (elmo-folder-search): Likewise.
4929         (elmo-nntp-search-internal): New function.
4930
4931         * elmo-version.el (elmo-version): Up to 2.9.3.
4932
4933 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4934
4935         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4936
4937 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4938
4939         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4940
4941 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4942
4943         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4944
4945 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
4946
4947         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4948         (elmo-map-folder-list-message-locations): Do drive letter conversion
4949         on Windows environment.
4950         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4951         (elmo-map-message-fetch): Ditto.
4952
4953 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
4954
4955         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4956         (elmo-network-initialize-session): Ditto.
4957
4958 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4959
4960         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4961
4962         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4963
4964         * elmo-util.el (elmo-progress-clear): Ditto.
4965
4966         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4967         `DD-Mon-YYYY' type date.
4968
4969 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4970
4971         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4972         `elmo-date-make-sortable-string' instead of
4973         `timezone-make-date-sortable'.
4974
4975         * elmo-date.el (elmo-date-make-sortable-string): Use
4976         `timezone-make-time-string'.
4977
4978 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4979
4980         * elmo.el (elmo-folder-synchronize): Delete important messages too.
4981
4982         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4983         `since'; Fix timezone.
4984
4985         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4986
4987         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4988
4989 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4990
4991         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4992
4993 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4994
4995         * elmo.el (elmo-generic-folder-append-messages): Make
4996         fetch-strategy with `use-cache' as 'maybe. Check return value of
4997         `elmo-message-fetch'.
4998         (elmo-message-fetch): Return return value of
4999         `elmo-message-fetch-with-cache-process'.
5000         (elmo-message-fetch-with-cache-process): Return non-nil if
5001         fetching was succeed. Load cache when fetching was failed and
5002         fetch-strategy-use-cache is 'maybe.
5003
5004         * elmo-util.el (elmo-file-cache-load): New function.
5005
5006         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5007         defun.
5008
5009         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5010         non-nil if fetching was succeed.
5011
5012         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5013
5014         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5015
5016         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5017         (elmo-message-fetch-with-cache-process): Likwise.
5018
5019         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5020
5021         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5022
5023         * elmo-version.el (elmo-version): Up to 2.9.2.
5024
5025 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5026
5027         * elmo.el (elmo-folder-delete): Delete msgdb path.
5028
5029         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5030
5031         * elmo-maildir.el (elmo-folder-delete): Ditto.
5032
5033         * elmo-localdir.el (elmo-folder-delete): Ditto.
5034
5035         * elmo-imap4.el (elmo-folder-delete): Ditto.
5036
5037 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5038
5039         * elmo.el (luna-define-class): Added `biff' slot.
5040
5041         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5042         (elmo-pop3-debug-inhibit-logging): Abolished.
5043         (elmo-network-close-session): Eliminated needless let.
5044         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5045         (elmo-pop3-send-command): Added `no-log' argument.
5046         (elmo-pop3-process-filter): Use `with-current-buffer'.
5047         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5048         if login failure.
5049         (elmo-pop3-auth-apop): Likewise.
5050         (elmo-network-authenticate-session): Likewise.
5051
5052         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5053         if biff folder.
5054
5055         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5056         string to determine protocol.
5057         (elmo-network-session-name-prefix): Abolished.
5058         (elmo-network-session-cache-key): Follow the change above.
5059         (elmo-network-open-session): Ditto.
5060
5061         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5062         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5063
5064         * elmo-version.el (elmo-version): Up to 2.9.1.
5065
5066         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5067         unmatch condition checking.
5068
5069         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5070         condition.
5071
5072 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5073
5074         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5075
5076 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5077
5078         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5079         test for while loop to execute at least one SEARCH command.
5080
5081 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5082
5083         * elmo-version.el (elmo-version): Up to 2.9.0.
5084
5085 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5086
5087         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5088         (elmo-archive-folder-path): Define.
5089         (elmo-folder-initialize): Setup `dir-name' slot.
5090         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5091         Use `dir-name' as prefix of each subfolders.
5092         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5093
5094 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5095
5096         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5097         (elmo-pipe-folder-list-target-messages): New internal function.
5098         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5099         `killed-list'.
5100         (elmo-pipe-folder-copied-list-load): New function.
5101         (elmo-pipe-folder-copied-list-save): Ditto.
5102         (elmo-folder-open-internal): Follow the change above.
5103         (elmo-folder-status): Fixed for copy.
5104
5105 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5106
5107         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5108
5109 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5110
5111         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5112         elmo-copy-file instead of elmo-add-name-to-file.
5113
5114         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5115
5116         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5117         "file://..." index.
5118
5119         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5120         of accept-process-output as 1.
5121         (elmo-pop3-read-contents): Ditto.
5122         (elmo-pop3-read-body): Ditto.
5123
5124 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5125
5126         * elmo-version.el (product-version-as-string): Remove define.
5127
5128 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5129
5130         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5131         (elmo-imap4-copy-messages): Chop number set using
5132         `elmo-imap4-number-set-chop-length'.
5133         (elmo-imap4-set-flag): Ditto.
5134         (elmo-imap4-search-internal-primitive): Ditto.
5135
5136 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5137
5138         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5139         `elmo-folder-make-temp-dir'
5140
5141         * elmo-vars.el (elmo-cache-directory): New variable.
5142         (elmo-cache-dir): Abolished.
5143         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5144
5145         * elmo-version.el (elmo-version): Up to 2.7.7.
5146
5147 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5148
5149         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5150         defcustom; Set default value as t.
5151
5152 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5153
5154         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5155         (ldap-search-program-arguments): Changed default value.
5156         (ldap-search-basic): Accept exit status 4.
5157         (ldap/field-body): Parse options.
5158         (ldap/collect-field): Ditto.
5159         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5160
5161         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5162         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5163         (elmo-imap4-accept-ok): Ditto.
5164         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5165         'notify-bye, only BYE error is reported.
5166         (elmo-folder-exists-p-plugged): Set no-error argument of
5167         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5168
5169         * elmo.el (elmo-imap4-bye-error): Changed message.
5170
5171         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5172         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5173         queues (It causes infinite loop).
5174
5175 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5176
5177         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5178         (RECENT UNSEEN MESSAGES) extension.
5179
5180 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5181
5182         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5183         Check number of overview fields.
5184
5185 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5186
5187         * elmo.el (elmo-folder-confirm-appends): Changed message.
5188         (elmo-folder-confirm-appends): Ditto.
5189
5190         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5191         `with-temp-buffer'.
5192         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5193
5194 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5195
5196         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5197         of elmo-folder-update-threshold is nil, which can be set by
5198         wl-summary-update-confirm-threshold.
5199
5200 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5201
5202         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5203         (elmo-nmz-index-alias-alist): Ditto.
5204         (elmo-map-folder-list-message-locations): Follow the change above.
5205
5206 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5207
5208         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5209
5210         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5211
5212         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5213
5214         * elmo-util.el (elmo-read): Ditto.
5215         (elmo-display-error): Ditto.
5216
5217         * elmo-vars.el (elmo-date-match): Ditto.
5218
5219         * pldap.el (ldap-coding-system): Ditto.
5220
5221         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5222         `elmo-inhibit-number-mapping' as nil.
5223
5224 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5225
5226         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5227         space delimiter for list response.
5228
5229 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5230
5231         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5232
5233 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5234
5235         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5236         (elmo-map-message-fetch): Fix.
5237         * elmo-map.el (elmo-folder-status): Fix for killed.
5238
5239 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5240
5241         * elmo-sendlog.el: New file.
5242         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5243
5244 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5245
5246         * acap.el (acap-logging-out): New buffer local variable.
5247         (acap-close): Set it.
5248         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5249         an error.
5250
5251 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5252
5253         * acap.el (acap-response-bye-p): New function.
5254         (acap-response-bye-message): Ditto.
5255         (acap-wait-for-response): If bye response is received, cause an error.
5256         (acap-parse-response): Make bye response when 'Bye' is received.
5257
5258 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5259
5260         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5261
5262 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5263
5264         * elmo-util.el (elmo-copy-file): Added argument
5265         `ok-if-already-exists'.
5266         (elmo-copy-file): Fixed typo.
5267
5268 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5269
5270         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5271
5272 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5273
5274         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5275
5276 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5277
5278         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5279         to killed-list.
5280
5281 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5282
5283         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5284         (elmo-folder-initialize): Fix for `copy'.
5285         (elmo-pipe-drain): Ditto.
5286         (elmo-folder-open-internal): Ditto.
5287         (elmo-folder-newsgroups): Fix.
5288
5289 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5290
5291         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5292         for each message.
5293
5294         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5295         recent value is returned from imap folder.
5296
5297         * elmo.el (elmo-folder-newsgroups): New generic function.
5298
5299         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5300         (elmo-folder-initialize): Set it.
5301         (elmo-folder-expand-msgdb-path): Use it.
5302         (elmo-folder-newsgroups): Define.
5303
5304         * elmo-filter.el (elmo-folder-newsgroups): Define.
5305
5306         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5307
5308         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5309
5310         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5311
5312 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5313
5314         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5315         user option.
5316         (elmo-shimbun-header-extra-field): New inline function.
5317         (elmo-shimbun-header-set-extra-field): Ditto.
5318         (elmo-shimbun-folder-header-hash-setup): Ditto.
5319         (elmo-shimbun-update-overview): Ditto.
5320         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5321         (elmo-shimbun-folder-setup): Use
5322         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5323         (elmo-shimbun-get-headers): Ditto.
5324         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5325         Insert `X-Shimbun-Id:' header if extra field is set.
5326         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5327         field's value instead of `shimbun-header-id'.
5328
5329         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5330         inline function.
5331         (elmo-msgdb-overview-entity-set-date): Ditto.
5332         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5333
5334 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5335
5336         * mmimap.el (mmimap-entity-section): Changed body node number from
5337         "0" to "1".
5338
5339 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5340
5341         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5342         `elmo-folder-delete-messages'.
5343
5344         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5345         (elmo-folder-initialize): Changed to expand alias into index path.
5346
5347         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5348         `elmo-mime-insert-header-from-buffer' with 6th arg
5349         `sorted-fields'.
5350
5351 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5352
5353         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5354
5355         * elmo.el (elmo-diff-new): New inline function.
5356         (elmo-diff-unread): Ditto.
5357         (elmo-diff-all): Ditto.
5358
5359         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5360         value from responseb.
5361         (elmo-imap4-folder-diff-plugged): Ditto.
5362         (elmo-imap4-server-diff-async): Added recent argument.
5363         (elmo-server-diff-async): Ditto.
5364         (elmo-imap4-folder-diff-plugged): Ditto.
5365
5366         * elmo-version.el (elmo-version): Up to 2.7.6.
5367
5368 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5369
5370         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5371         in quoted-stirng.
5372
5373 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5374
5375         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5376
5377         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5378
5379         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5380
5381         * elmo-multi.el (elmo-folder-initialize): Ditto.
5382
5383         * elmo-util.el (elmo-parse-token): New function.
5384         (elmo-parse-prefixed-element): Ditto.
5385
5386 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5387
5388         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5389         delete process.
5390         (elmo-imap4-accept-ok): Ditto.
5391
5392 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5393
5394         * mmimap.el (mime-imap-entity-header-string): Don't check first
5395         element of node-id is `0' (Follow last change).
5396
5397 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5398
5399         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5400         assigned irregular node-id to nested multipart section.
5401         (initialize-instance): Followed above change.
5402
5403 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5404
5405         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5406         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5407         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5408         `elmo-shimbun-get-headers');
5409         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5410         visible article on summary exists in headers).
5411         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5412
5413 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5414
5415         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5416         definition.
5417
5418 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5419
5420         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5421
5422 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5423
5424         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5425         header separator into loop condition.
5426
5427 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5428
5429         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5430         Return duplicate folder if it has subfolder.
5431
5432 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5433
5434         * elmo.el (elmo-make-folder): Add folder name error check.
5435
5436         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5437         (elmo-nntp-encode-group-string): New inline function.
5438         (elmo-nntp-decode-group-string): Ditto.
5439         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5440         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5441         Use `not' instead of `null';
5442         Use elmo-nntp-decode-group-string.
5443
5444         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5445
5446         * elmo-version.el (elmo-version): Up to 2.7.5.
5447
5448 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5449
5450         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5451         Hide progress gauge if `elmo-folder-move-messages' exits
5452         nonlocally.
5453
5454 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5455
5456         * elmo-imap4.el (elmo-folder-initialize): Use
5457         `elmo-imap4-encode-folder-string' for folder name.
5458
5459 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5460
5461         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5462         `done'.
5463
5464 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5465
5466         * elmo-util.el (elmo-progress-counter-alist): New internal
5467         variable.
5468         (elmo-progress-counter-value): New macro.
5469         (elmo-progress-counter-all-value): Ditto.
5470         (elmo-progress-counter-format): Ditto.
5471         (elmo-progress-counter-set-value): Ditto.
5472         (elmo-progress-set): New function.
5473         (elmo-progress-clear): Ditto.
5474         (elmo-progress-notify): Ditto.
5475
5476         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5477         counter.
5478
5479         * elmo.el (elmo-generic-folder-append-messages): Call
5480         `elmo-progress-notify'.
5481         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5482
5483         * elmo-archive.el (elmo-folder-append-messages): Call
5484         `elmo-progress-notify'.
5485
5486         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5487
5488         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5489
5490         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5491
5492 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5493
5494         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5495         'Create'.
5496         (elmo-message-encache-dop): Added argument `read'.
5497
5498         * elmo-shimbun.el (elmo-message-encache): Ditto.
5499
5500         * elmo-net.el (elmo-message-encache): Ditto.
5501
5502         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5503         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5504         elmo-imap4-seen-messages.
5505         (elmo-folder-msgdb-create-plugged): Initialize
5506         elmo-imap4-seen-messages;
5507         Set seen mark on elmo-imap4-seen-messages.
5508
5509         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5510
5511         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5512         elmo-folder-append-buffer.
5513         (elmo-folder-encache): Added optional argument `read'.
5514         (elmo-message-encache): Ditto.
5515
5516         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5517
5518         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5519
5520         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5521         if append buffer content succeds.
5522
5523 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5524
5525         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5526         elmo-display-progress.
5527
5528         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5529         Set 4th argument of mime-display-message.
5530         (elmo-mime-display-as-is): Ditto.
5531
5532 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5533
5534         * elmo-nmz.el (toplevel): Require 'mime-edit.
5535         (elmo-nmz-content-type-alist): Abolished.
5536         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5537         content is not a message.
5538         (elmo-map-message-fetch): Changed behavior exept for message content;
5539         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5540         content-type, Add From: and Subject: field.
5541
5542 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5543
5544         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5545         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5546         not a message.
5547
5548 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5549
5550         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5551         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5552
5553         * elmo-archive.el (elmo-folder-writable-p): Defined.
5554
5555         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5556
5557         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5558
5559         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5560
5561         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5562
5563         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5564
5565         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5566
5567         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5568
5569         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5570
5571 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5572
5573         * elmo-util.el (elmo-address-quote-specials): New function;
5574         Renamed from `wl-address-quote-specials'.
5575
5576 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5577
5578         * elmo-version.el (elmo-version): Up to 2.7.4.
5579
5580 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5581
5582         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5583
5584 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5585
5586         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5587         both compile-time and run-time to avoid byte-compile warning.
5588
5589 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5590
5591         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5592
5593 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5594
5595         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5596         option.
5597         (elmo-mime-display-as-is-internal): Use it.
5598
5599         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5600         if `read-passwd' is not defined.
5601
5602 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5603
5604         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5605         by original number.
5606         (elmo-folder-status): Call `elmo-folder-open-internal';
5607         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5608         (elmo-folder-close-internal): Set location-alist as nil.
5609         (elmo-folder-clear): Define.
5610         (elmo-folder-check): Don't set location-alist as nil.
5611
5612         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5613
5614 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5615
5616         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5617         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5618
5619         * mmimap.el (mime-imap-entity::requested): New slot.
5620         (mime-imap-location-fetch-entity-p): New generic function.
5621         (mime-decode-parameters): Define using `defun-maybe'.
5622         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5623         content-type structure.
5624         (mime-entity-body): Return empty body if
5625         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5626
5627         * elmo.el (elmo-message-displaying): New variable.
5628
5629         * elmo-mime.el (elmo-mime-message-display): Bind
5630         elmo-message-displaying as t.
5631
5632         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5633
5634 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5635
5636         * acap.el (acap-open): erase buffer before starting network process.
5637         (acap-store): Rewrite.
5638
5639 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5640
5641         * elmo-imap4.el (elmo-imap4-default-mailbox,
5642         elmo-imap4-default-server
5643         elmo-imap4-default-authenticate-type,
5644         elmo-imap4-default-user,
5645         elmo-imap4-default-port,
5646         elmo-imap4-default-stream-type,
5647         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5648
5649         * elmo-pop3.el (elmo-pop3-default-user,
5650         elmo-pop3-default-server,
5651         elmo-pop3-default-authenticate-type,
5652         elmo-pop3-default-port,
5653         elmo-pop3-default-stream-type,
5654         elmo-pop3-stream-type-alist): Ditto.
5655
5656         * elmo-nntp.el (elmo-nntp-default-server,
5657         elmo-nntp-default-user,
5658         elmo-nntp-default-port,
5659         elmo-nntp-default-stream-type,
5660         elmo-nntp-stream-type-alist): Ditto.
5661
5662         * elmo-vars.el: Follow changes above.
5663         (elmo-setting): New custom group; added 'elmo-setting group to
5664         above variables.
5665
5666         * elmo-version.el (elmo-version): Up to 2.7.3.
5667
5668         * acap.el (acap-parse-response): Don't delete process when BYE
5669         response (It causes hang-up on slow network environment).
5670         (toplevel): Added comment.
5671
5672 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5673
5674         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5675
5676         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5677         parsing NIL.
5678         (acap-parse-return-metadata): Ditto.
5679
5680         * slp.el: New file.
5681         (toplevel): Fixed typo.
5682
5683         * acap.el: New file.
5684         (acap-network-stream-open): Show "Connecting..." message.
5685         (acap-parse-response): Fixed problem for BYE untagged response.
5686         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5687         (toplevel): Added tiny comments.
5688
5689 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5690
5691         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5692         space delimiter for uidl response.
5693
5694 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5695
5696         * elmo-vars.el (elmo-use-semi): Eliminated.
5697
5698         * elmo-util.el (elmo-string-assoc-all): New function.
5699
5700 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5701
5702         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5703         property 'mime-preview-situation for `mime-preview-quit'.
5704
5705 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5706
5707         * elmo.el (elmo-message-fetch-with-cache-process): Call
5708         elmo-message-fetch-internal instead of causing an error when fetch
5709         strategy is 'entire but only 'section cache is available.
5710
5711 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5712
5713         * elmo-version.el (elmo-version): Up to 2.7.2.
5714
5715         * elmo.el (elmo-generic-folder-append-messages): Make
5716         fetch-strategy with `use-cache'.
5717
5718         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5719         (elmo-dop-queue-method-name): New macro.
5720
5721 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5722
5723         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5724         unbalanced parenthesis.
5725
5726 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5727
5728         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5729
5730 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5731
5732         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5733         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5734
5735 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5736
5737         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5738         local variables.
5739
5740 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5741
5742         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5743         (elmo-message-use-cache-p): Define.
5744         (elmo-folder-msgdb-create): Treat cache.
5745
5746 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5747
5748         * elmo-nntp.el (elmo-network-initialize-session): Call
5749         `elmo-nntp-send-mode-reader'.
5750         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5751
5752 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5753
5754         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5755         alist.
5756         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5757         assoc.
5758
5759         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5760         for `elmo-plugged-p'.
5761         (elmo-open-network-stream): Fixed stream-type argument.
5762
5763 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5764
5765         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5766         unknown archive type is specified.
5767
5768 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5769
5770         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5771
5772         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5773         while loading msgdb.
5774
5775         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5776         (elmo-folder-open-internal): Rewrite.
5777
5778 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5779
5780         * elmo-mime.el (elmo-mime-display-as-is-internal):
5781         Adjust buffer-multibyte status.
5782
5783 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5784
5785         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5786         of elmo-condition-find-key.
5787
5788         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5789         (elmo-condition-in-msgdb-p): Ditto.
5790         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5791         argument.
5792
5793 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5794
5795         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5796
5797 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5798
5799         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5800         label for elmo-display-progress.
5801
5802 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5803
5804         * elmo.el (elmo-folder-clear): New method.
5805         (elmo-folder-clear): Define.
5806         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5807
5808         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5809         (elmo-folder-clear): Define.
5810
5811         * elmo-map.el (elmo-folder-clear): Define.
5812
5813         * elmo-version.el (elmo-version): Up to 2.7.1.
5814
5815 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5816
5817         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5818         updates.
5819
5820 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5821
5822         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5823         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5824
5825 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5826
5827         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5828
5829         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5830         and re-written.
5831
5832         * elmo-imap4.el (elmo-folder-initialize): Use
5833         elmo-get-network-stream-type.
5834
5835         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5836
5837         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5838
5839 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5840
5841         * elmo.el (elmo-message-encache): Set unread argument for
5842         elmo-message-fetch.
5843
5844         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5845
5846         * elmo.el (elmo-net-port-info): New method.
5847
5848         * elmo-shimbun.el (elmo-net-port-info): Define.
5849         (elmo-message-encache): Ditto.
5850
5851         * elmo-net.el (elmo-net-port-info): Define as method.
5852
5853         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5854         unplugged status when elmo-enable-disconnected-operation is t.
5855
5856         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5857         of spool folder before checking new number.
5858
5859 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5860
5861         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5862         (elmo-network-setup-session): Ditto.
5863         (elmo-message-fetch-plugged): Ditto.
5864         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5865         (elmo-network-initialize-session): Ditto.
5866         (elmo-pop3-read-response): Abolish 3rd argument.
5867         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5868         (elmo-pop3-read-contents): Ditto.
5869         (elmo-pop3-read-body): Ditto.
5870         (elmo-folder-status): Call elmo-folder-close.
5871         (elmo-pop3-lock): Abolish.
5872         (elmo-pop3-unlock): Ditto.
5873         (elmo-pop3-locked-p): Ditto.
5874         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5875
5876 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5877
5878         * elmo-version.el (elmo-version): Up to 2.7.0.
5879
5880         * elmo-pop3.el (elmo-pop3-debug): New variable.
5881         (elmo-pop3-debug-inhibit-logging): Ditto.
5882         (elmo-pop3-debug): New function.
5883         (elmo-pop3-send-command): Call elmo-pop3-debug.
5884         (elmo-pop3-read-response): Added keep-lock optional argument;
5885         Don't unlock if keep-lock is non-nil.
5886         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5887         (elmo-network-authenticate-session): Bind
5888         elmo-pop3-debug-inhibit-logging as t.
5889         (elmo-network-setup-session): Call elmo-pop3-read-response with
5890         keep-lock argument.
5891         (elmo-pop3-read-msg): Ditto.
5892         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5893         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5894         (elmo-network-initialize-session): Call elmo-pop3-lock.
5895         (elmo-folder-close-internal): Don't clear location-alist slot.
5896         (elmo-folder-check): Clear location-alist slot.
5897
5898 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5899
5900         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5901         (elmo-pop3-send-command): Call elmo-pop3-lock.
5902         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5903         (elmo-pop3-read-contents): Ditto.
5904         (elmo-pop3-lock): New function.
5905         (elmo-pop3-unlock): Ditto.
5906         (elmo-pop3-locked-p): Ditto.
5907         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5908         returns t.
5909
5910 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5911
5912         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5913
5914         * elmo-util.el (elmo-file-field-primitive-condition-match):
5915         New inline function (Don't fetch file content if "first" or "last").
5916         (elmo-file-field-condition-match): Use
5917         elmo-file-field-primitive-condition-match.
5918
5919         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5920         "first".
5921
5922         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5923         (elmo-message-fetch-plugged): Fixed.
5924
5925         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5926
5927 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5928
5929         * elmo.el (elmo-folder-move-messages): Bind
5930         elmo-inhibit-display-retrieval-progress as t while moving messages.
5931
5932         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5933         New variable.
5934         (elmo-inhibit-display-retrieval-progress): Ditto.
5935
5936         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5937         for retrieval progress;
5938         Don't display progress when total buffer size is smaller than
5939         elmo-display-retrieval-progress-threshold.
5940         (elmo-message-fetch-plugged): Don't display progress when
5941         elmo-inhibit-display-retrieval-progress is non-nil.
5942
5943         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5944         for retrieval progress;
5945         Don't display progress when literal size is smaller than
5946         elmo-display-retrieval-progress-threshold.
5947         (elmo-imap4-message-fetch): Don't display progress when
5948         elmo-inhibit-display-retrieval-progress is non-nil.
5949
5950 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
5951
5952         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5953         (elmo-imap4-find-next-line): Display progress whille literal fetching.
5954         (elmo-imap4-message-fetch): Likewise.
5955
5956         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5957         (elmo-shimbun-index-range-alist): Ditto.
5958         (elmo-shimbun-use-entire-index): Abolish.
5959         (shimbun-mua-use-entire-index): Ditto.
5960         (elmo-shimbun-folder): Added new slot `range'.
5961         (elmo-folder-initialize): Setup slot `range'.
5962
5963 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
5964
5965         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5966         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5967         (elmo-shimbun-get-headers): Use return value of
5968         `shimbun-article-expiration-days'.
5969         (elmo-folder-close-internal): Clean up last-check slot.
5970
5971         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5972         (elmo-pop3-total-size): New variable.
5973         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5974
5975         * elmo.el (elmo-folder-reserve-status-p): New method.
5976
5977         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5978         (elmo-shimbun-use-entire-index): New user option.
5979         (shimbun-elmo-mua): New class.
5980         (shimbun-mua-search-id): Define.
5981         (shimbun-mua-use-entire-index): Ditto.
5982         (elmo-shimbun-folder:last-check): New slot.
5983         (elmo-shimbun-headers-cache-header-list): Abolish.
5984         (elmo-shimbun-headers-cache-set-header-list): Ditto.
5985         (elmo-shimbun-headers-cache-header-hash): Ditto.
5986         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5987         (elmo-shimbun-headers-cache-last-check): Ditto.
5988         (elmo-shimbun-headers-cache-set-last-check): Ditto.
5989         (elmo-shimbun-headers-check-p): Rewrite.
5990         (elmo-shimbun-msgdb-to-headers): New function.
5991         (elmo-shimbun-get-headers): Rewrite.
5992         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5993         (elmo-folder-open-internal): Get headers only if
5994         `elmo-shimbun-headers-check-p' is non-nil.
5995         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5996         is non-nil.
5997         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5998         (elmo-quit): Removed.
5999
6000         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6001         function.
6002         (elmo-msgdb-overview-entity-set-extra): Ditto.
6003         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6004
6005         * elmo-map.el (elmo-folder-status): Don't call
6006         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6007         is non-nil.
6008
6009 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6010
6011         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6012         of `elmo-msgdb-search-internal-primitive' when condition's car is
6013         `and' or `or'.
6014
6015 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6016
6017         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6018
6019 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6020
6021         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6022         call `elmo-pipe-drain'.
6023
6024 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6025
6026         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6027         typo. (elmo-cache-folder -> elmo-mark-folder)
6028
6029 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6030
6031         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6032         `elmo-message-fetch'.
6033
6034 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6035
6036         * elmo-net.el (elmo-message-encache): Fixed typo.
6037         (elmo-message-fetch-unplugged): Changed call
6038         `elmo-message-fetch-internal' without argument `outbuf'.
6039
6040 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6041
6042         * elmo.el (elmo-message-encache): Define as generic function.
6043         (elmo-message-fetch-field): New generic function.
6044         (elmo-message-fetch-with-cache-process): Cause an error when
6045         fetch strategy is 'entire but only 'section cache is available.
6046         (toplevel): Fixed nmz folder definition.
6047
6048         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6049         (elmo-msgdb-resume-list-filename): Ditto.
6050         (elmo-queue-filename): Ditto.
6051         (elmo-enable-disconnected-operation): Changed default value to t.
6052
6053         * elmo-util.el (elmo-cache-path-section-p): New function.
6054         (elmo-file-cache-get): Use it.
6055         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6056         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6057         (elmo-dop-queue-save): Ditto.
6058
6059         * elmo-net.el (elmo-folder-status-unplugged): Call
6060         elmo-folder-status-dop.
6061         (elmo-folder-list-messages-unplugged): Implemented.
6062         (elmo-folder-delete-messages-unplugged): Define.
6063         (elmo-folder-msgdb-create): Define.
6064         (elmo-folder-msgdb-create-unplugged): Define.
6065         (elmo-folder-mark-as-read-unplugged): Ditto.
6066         (elmo-folder-unmark-read-unplugged): Ditto.
6067         (elmo-folder-mark-as-important-unplugged): Ditto.
6068         (elmo-folder-unmark-important-unplugged): Ditto.
6069         (elmo-message-encache): Ditto.
6070
6071         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6072         (elmo-dop-queue-save): Ditto.
6073
6074         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6075         `elmo-folder-msgdb-create'.
6076         (elmo-folder-append-buffer): Implemented unplugged operation.
6077         (elmo-folder-append-messages): Call parent method in unplugged status.
6078         (elmo-message-fetch-unplugged): Removed definition.
6079         (elmo-message-fetch-field): Implemented.
6080
6081         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6082         (elmo-dop-folder): Removed variable definition.
6083         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6084         (elmo-dop-queue-flush): Implemented.
6085         (elmo-dop-queue-merge): Removed definition (TODO).
6086         (elmo-dop-spool-folder): New function.
6087         (elmo-dop-spool-folder-append-buffer): Ditto.
6088         (elmo-dop-spool-folder-list-messages): Ditto.
6089         (elmo-dop-list-deleting-messages): Ditto.
6090         (elmo-folder-append-buffer-dop): Ditto.
6091         (elmo-folder-delete-messages-dop): Ditto.
6092         (elmo-message-encache-dop): New inline function.
6093         (elmo-create-folder-dop): Ditto.
6094         (elmo-folder-mark-as-read-dop): Ditto.
6095         (elmo-folder-unmark-read-dop): Ditto.
6096         (elmo-folder-mark-as-important-dop): Ditto.
6097         (elmo-folder-unmark-important-dop): Ditto.
6098         (elmo-folder-status-dop): Fixed.
6099         (elmo-folder-append-buffer-dop-delayed): New function.
6100         (elmo-folder-delete-messages-dop-delayed): Ditto.
6101         (elmo-dop-msgdb): Ditto.
6102
6103 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6104
6105         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6106
6107 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6108
6109         * elmo.el (elmo-folder-move-messages): Fixed problem when
6110         `dst-folder' is 'null.
6111
6112 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6113
6114         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6115         instead of current mark.
6116
6117         * elmo-multi.el (elmo-folder-list-importants-internal): No
6118         operation if importants is not list.
6119
6120         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6121         Return t if importants is not list.
6122
6123         * elmo-map.el (elmo-map-folder-list-importants): Define.
6124         (elmo-folder-list-importants-internal): Check return value of
6125         `elmo-map-folder-list-importants-internal'.
6126
6127         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6128
6129         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6130
6131         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6132
6133         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6134
6135 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6136
6137         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6138         (Patch is provided by <kita@coe.nttdata.co.jp>).
6139
6140 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6141
6142         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6143         mark folder.
6144
6145 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6146
6147         * elmo.el (elmo-message-fetch): Define.
6148         (elmo-message-fetch-with-cache-process): New generic method.
6149         (elmo-message-fetch-internal): New generic method.
6150         (elmo-folder-synchronize):
6151
6152         * elmo-archive.el (elmo-message-fetch-internal): Define.
6153         (elmo-message-fetch): Eliminated.
6154
6155         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6156         (elmo-message-fetch): Eliminated.
6157
6158         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6159         argument OUTBUF.
6160         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6161
6162         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6163         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6164
6165         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6166         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6167
6168         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6169
6170         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6171
6172         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6173
6174         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6175         (elmo-message-fetch-unplugged): New generic method.
6176         (elmo-message-fetch-internal): Remove cache process (Renamed from
6177         `elmo-message-fetch').
6178
6179         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6180         (elmo-message-fetch): Eliminated.
6181         (elmo-message-fetch-unplugged): Ditto.
6182
6183         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6184
6185 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6186
6187         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6188         of `to-be-deleted' from number-alist to number-list.
6189
6190 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6191
6192         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6193         (elmo-folder-mark-as-important): Ditto.
6194
6195 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6196
6197         * elmo.el (elmo-folder): Added process-duplicates slot.
6198
6199         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6200         (elmo-folder-unmark-read): Ditto.
6201         (elmo-folder-unmark-important): Ditto.
6202         (elmo-folder-mark-as-important): Ditto.
6203
6204         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6205         duplicated message processing.
6206
6207         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6208
6209 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6210
6211         * elmo-util.el (elmo-list-subdirectories-1): New function.
6212         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6213         (elmo-mapcar-list-of-list): New function.
6214
6215         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6216         `elmo-mapcar-list-of-list' instead of `mapcar'.
6217
6218         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6219
6220         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6221         `elmo-have-link-count'. Return the fully qualified folder name.
6222
6223 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6224
6225         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6226         (elmo-shimbun-headers-cache): New internal variable.
6227         (elmo-shimbun-headers-cache-header-list): New inline function.
6228         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6229         (elmo-shimbun-headers-cache-header-hash): Ditto.
6230         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6231         (elmo-shimbun-headers-cache-last-check): Ditto.
6232         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6233         (elmo-shimbun-lapse-seconds): Ditto.
6234         (elmo-shimbun-headers-cache-check-p): Ditto.
6235         (elmo-shimbun-get-headers): New function.
6236         (elmo-folder-open-internal): Call it.
6237         (elmo-quit): Define (Clear headers-cache).
6238
6239 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6240
6241         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6242
6243         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6244         (elmo-msgdb-flist-save): Ditto.
6245
6246         * elmo-shimbun.el (elmo-folder-list-subfolders):
6247         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6248         (elmo-folder-exists-p): Ditto.
6249
6250         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6251         argument for `shimbun-header-insert'.
6252
6253 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6254
6255         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6256         at first time.
6257
6258         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6259         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6260
6261 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6262
6263         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6264         (elmo-folder-plugged-p): Define.
6265         (elmo-folder-set-plugged): Ditto.
6266         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6267         (elmo-folder-list-messages-internal): Return t if unplugged.
6268         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6269
6270         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6271         when elmo-folder-list-messages-internal method of children returns t.
6272
6273         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6274         pair is nil.
6275         (elmo-folder-open-internal): Don't update if unplugged status.
6276
6277 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6278
6279         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6280         new message.
6281
6282 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6283
6284         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6285
6286         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6287         saving.
6288
6289 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6290
6291         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6292
6293         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6294         (elmo-folder-open-internal): Set up headers slot.
6295         (elmo-folder-check): Call elmo-folder-close-internal and
6296         elmo-folder-open-internal.
6297         (elmo-folder-close-internal): Clean up headers slot.
6298
6299 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6300
6301         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6302         exactly folder list.
6303         (elmo-folder-append-messages): Fixed append archive with prefix.
6304
6305         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6306         make temp files with start-number.
6307
6308         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6309
6310 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6311
6312         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6313         argument `visible-only'.
6314         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6315         instead of `if'.
6316
6317         * elmo-pop3.el (elmo-folder-open-internal): Check
6318         `elmo-inhibit-number-mapping' is non-nil.
6319
6320         * elmo-pipe.el (elmo-folder-status): Fixed.
6321
6322 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6323
6324         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6325
6326         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6327         (elmo-folder-open-internal): Setup `header-hash' slot.
6328         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6329         information.
6330         (elmo-map-message-fetch): Ditto.
6331
6332 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6333
6334         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6335         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6336         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6337         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6338
6339         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6340
6341 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6342
6343         * sb-airs.el: Added footer.
6344
6345         * shimbun.el (shimbun-article): Define as luna-method.
6346
6347         * sb-tcup.el: New file.
6348
6349         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6350         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6351
6352 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6353
6354         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6355         (shimbun-get-headers): Ditto.
6356
6357         * elmo.el: Moved obsolete variable definitions from
6358         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6359
6360         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6361         groups.
6362
6363         * shimbun.el: New file.
6364
6365         * elmo-shimbun.el: New file.
6366
6367         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6368         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6369         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6370         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6371
6372 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6373
6374         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6375         hierarchy is t.
6376
6377 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6378
6379         * elmo.el (elmo-folder-msgdb): Define as macro.
6380         (elmo-folder-open): Added argument `load-msgdb'.
6381         (elmo-generic-folder-open): Ditto.
6382         (elmo-folder-encache): New function.
6383
6384         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6385
6386         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6387
6388         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6389         Eliminated argument FOLDER and added argument MSGDB.
6390         (elmo-dop-queue-load): Moved from elmo-dop.el.
6391         (elmo-dop-queue-save): Ditto.
6392
6393         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6394
6395         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6396
6397         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6398         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6399         (elmo-filter-folder-list-importants-internal): Ditto.
6400
6401         * elmo-map.el (elmo-folder-pack-number): Ditto.
6402
6403         * elmo-mime.el (elmo-mime-message-display): Ditto.
6404
6405         * elmo.el (elmo-generic-folder-commit): Ditto.
6406         (elmo-folder-list-unreads): Ditto.
6407         (elmo-folder-list-importants): Ditto.
6408         (elmo-generic-folder-commit): Ditto.
6409         (elmo-message-set-mark): Ditto.
6410         (elmo-generic-folder-append-msgdb): Ditto.
6411         (elmo-folder-synchronize): Ditto.
6412         (elmo-folder-messages): Ditto.
6413         (elmo-init): Call elmo-dop-queue-load.
6414         (elmo-folder-list-messages): Ditto.
6415
6416         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6417         (elmo-nntp-folder-process-crosspost): Ditto.
6418         (elmo-folder-list-unreads-internal): Ditto.
6419
6420         * elmo-dop.el: Removed old functions.
6421
6422 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6423
6424         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6425         `folder' to `msgdb'.
6426
6427 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6428
6429         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6430         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6431
6432         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6433         case-fold-search.
6434
6435 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6436
6437         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6438         defined.
6439
6440         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6441         (mmimap-parse-parameters-from-list): Define as alias for
6442         `mime-decode-parameter-plist' if it is defined as function.
6443         (mmimap-make-mime-entity): Added argument `number'.
6444         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6445         as 0.
6446         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6447
6448         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6449
6450         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6451
6452         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6453
6454 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6455
6456         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6457
6458         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6459         when elmo-imap4-default-authenticate-type is nil.
6460         (elmo-folder-list-subfolders): Ditto
6461         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6462         (elmo-imap4-fetch-callback-1-subr): Renamed from
6463         `elmo-imap4-fetch-callback-1' and define as inline function.
6464         (elmo-imap4-fetch-callback-1):
6465         Renamed from `elmo-imap4-fetch-callback'.
6466         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6467
6468         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6469         msgdb path (To keep compatibility with main trunk).
6470
6471         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6472
6473         * elmo-util.el (elmo-make-file-cache): Moved position of
6474         some macros.
6475
6476         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6477         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6478         instead of `elmo-pop3-inhibit-uidl'.
6479         (elmo-folder-exists-p): Ditto.
6480         (elmo-pop3-folder-list-messages): Ditto.
6481
6482         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6483         instead of `elmo-pop3-inhibit-uidl'.
6484         (elmo-folder-status): Ditto.
6485
6486         * elmo-dop.el (elmo-dop-folder): New variable.
6487         (elmo-dop-lock-message): Eliminated.
6488         (elmo-dop-unlock-message): Ditto.
6489         (elmo-dop-lock-list-load): Ditto.
6490         (elmo-dop-lock-list-save): Ditto.
6491         (elmo-dop-delete-folder): Ditto.
6492         (elmo-dop-rename-folder): Ditto.
6493
6494         * elmo.el: Removed incomplete commentary.
6495
6496 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6497
6498         * elmo.el (toplevel): Require 'elmo-version first;
6499         for little `recursive-load-depth' settings.
6500         Fix "ends here" comment.
6501
6502 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6503
6504         * elmo-util.el (toplevel): Require 'poem;
6505         Some functions are moved from elmo-cache.el.
6506
6507         * elmo-net.el (toplevel): Require 'elmo-cache.
6508
6509         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6510
6511         * elmo.el (toplevel): Ditto.
6512
6513         * elmo-cache.el: Rewrite with luna;
6514         Some functions are moved to elmo-util.el.
6515
6516         * elmo-internal.el (elmo-internal-folder-list): New variable.
6517         (elmo-internal-folder-initialize): Rewrite.
6518         (elmo-folder-list-subfolders): Ditto.
6519
6520         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6521         (elmo-cache-collect-sub-directories): Ditto.
6522
6523 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6524
6525         * elmo-version.el (elmo-version): Up to 2.5.8.
6526
6527         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6528
6529         * elmo-util.el (elmo-list-insert): New function.
6530
6531 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6532
6533         * elmo.el (elmo-init): New function.
6534         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6535
6536         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6537         (Renamed from `elmo-localdir-header-chop-length').
6538
6539         * elmo-pop3.el (elmo-pop3-use-cache,
6540         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6541
6542         * elmo-nntp.el (elmo-message-fetch): Define.
6543         (elmo-message-fetch-unplugged): Ditto.
6544         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6545         (elmo-nntp-use-cache): Ditto.
6546         (elmo-nntp-max-number-precedes-list-active): Ditto.
6547
6548         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6549
6550         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6551         `elmo-msgdb-insert-file-header'.
6552         Use `elmo-msgdb-file-header-chop-length'.
6553
6554         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6555         `elmo-vars.el'.
6556
6557         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6558         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6559         `elmo-msgdb-insert-file-header'.
6560
6561         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6562         Use new variable;
6563         Define obsolete variables with `elmo-define-obsolete-variable',
6564
6565         * elmo-util.el (elmo-warning-buffer-name): New constant.
6566         (elmo-warning): New function.
6567         (elmo-obsolete-variable-alist): New variable.
6568         (elmo-obsolete-variable-show-warnings): New variable.
6569         (elmo-define-obsolete-variable): New function.
6570         (elmo-resque-obsolete-variable): Ditto.
6571         (elmo-resque-obsolete-variables): Ditto.
6572
6573 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6574
6575         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6576         Eliminated.
6577
6578         * elmo-pop3.el, elmo-nntp.el: Use custom.
6579
6580 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6581
6582         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6583         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6584
6585 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6586
6587         * Luna-fy Kenichi OKADA's following changes.
6588         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6589         `nohide'.
6590         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6591
6592 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6593
6594         * elmo-util.el (elmo-display-progress): Prefer
6595         `progress-feedback-with-label' to `lprogress-display'.
6596
6597 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6598
6599         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6600
6601 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6602
6603         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6604         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6605         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6606         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6607         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6608         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6609         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6610         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6611         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6612         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6613         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6614         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6615         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6616
6617 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6618
6619         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6620         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6621
6622 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6623
6624         * elmo.el (elmo-folder-process-crosspost): New generic method.
6625         (elmo-folder-writable-p): Ditto.
6626         (elmo-folder-message-appendable-p): Eliminated.
6627         (elmo-generic-folder-append-msgdb): Rewrite.
6628         (elmo-newsgroups-hashtb): New internal variable.
6629         (elmo-crosspost-message-set): Eliminated.
6630         (elmo-crosspost-message-delete): Ditto.
6631         (elmo-setup-subscribed-newsgroups): New function.
6632         (elmo-crosspost-message-alist-modified): New internal variable.
6633         (elmo-crosspost-message-alist-load): New function (Renamed from
6634         `wl-crosspost-alist-load').
6635         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6636         `wl-crosspost-alist-save').
6637
6638         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6639
6640         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6641         `unreads'.
6642         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6643         elmo-newsgroups-hashtb).
6644         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6645         `elmo-nntp-folder-update-crosspost-message-alist'.
6646         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6647         `elmo-nntp-groups-hashtb'.
6648         (elmo-nntp-make-groups-hashtb): Eliminated.
6649         (elmo-nntp-parse-newsgroups): New function (Renamed from
6650         `wl-parse-newsgroups').
6651         (elmo-folder-creatable-p, elmo-folder-writable-p,
6652         elmo-folder-close-internal, elmo-folder-mark-as-read,
6653         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6654         Define.
6655         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6656
6657         * elmo-net.el (elmo-message-fetch): Check buffer size.
6658
6659         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6660
6661         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6662
6663         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6664         before `close' command.
6665
6666         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6667         `mark-alist' (All other related portions are changed).
6668
6669 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6670
6671         * elmo-util.el (elmo-create-hash-size): Eliminated.
6672         (elmo-make-hash) Make a hash with `one less than a power of two'
6673         length.
6674
6675         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6676         (elmo-hash-maximum-size): Changed value.
6677
6678 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6679
6680         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6681         (elmo-mime-message-display-as-is): Ditto.
6682
6683 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6684
6685         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6686         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6687
6688 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6689
6690         * elmo-mark.el: New file.
6691
6692         * elmo-internal.el: Rewrite (Almost empty).
6693
6694 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6695
6696         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6697         (mime-imap-entity-header-string): Ditto.
6698         (mmimap-entity-section): Rewrite.
6699
6700 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6701
6702         * elmo-nmz.el: New file.
6703
6704         * elmo-pipe.el: Rewrite with luna.
6705
6706 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6707
6708         * elmo-archive.el: Rewrite with luna.
6709
6710         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6711         (elmo-folder-list-importants-internal): Ditto.
6712
6713 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6714
6715         * elmo-archive.el (elmo-archive-version): Abolish.
6716         (toplevel) Removed `boso' comment.
6717
6718 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6719
6720         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6721         elmo-msgdb-add-msgs-to-seen-list-subr;
6722         Changed argument seen-marks to unread-marks.
6723
6724         * elmo-nntp.el: Rewrite with luna.
6725
6726 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6727
6728         * elmo-filter.el: Rewrite with luna.
6729
6730 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6731
6732         * elmo-pop3.el: Rewrite with luna.
6733
6734 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * elmo-multi.el: Rewrite with luna.
6737
6738         * elmo-vars.el (elmo-use-killed-list): Abolish.
6739         All other related portions are changed.
6740         (elmo-filename-replace-string-alist): Renamed from
6741         elmo-msgid-replace-string-alist.
6742
6743 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6744
6745         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6746
6747         * elmo-map.el: New file.
6748         * elmo-maildir.el: Rewrite with luna.
6749
6750 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6751
6752         * elmo.el: Changed meaning of `elmo-folder-commit'.
6753         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6754
6755 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6756
6757         * elmo.el (elmo-folder-append-buffer): New function.
6758         (Renamed from `elmo-append-msg')
6759
6760 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6761
6762         * elmo-mime.el: New file.
6763
6764 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6765
6766         * elmo-cache.el: Rewrite.
6767
6768 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6769
6770         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6771
6772 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6773
6774         * elmo-vars.el (elmo): New group.
6775         (elmo-strict-diff-folder-regexp): New variable.
6776
6777         * elmo-util.el (elmo-call-func): Abolish.
6778         (elmo-folder-get-type): Ditto.
6779         (elmo-*-get-spec): Ditto.
6780         (elmo-*-spec-*): Ditto.
6781         (elmo-imap4-identical-name-space-p): Ditto.
6782         (elmo-folder-identical-system-p): Ditto.
6783         (elmo-folder-direct-copy-alist): Ditto.
6784         (elmo-folder-direct-copy-p): Ditto.
6785
6786         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6787         (elmo-folder-initialize): Define.
6788         (elmo-folder-get-primitive-list): Ditto.
6789
6790         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6791         (elmo-folder-initialize): Define.
6792         Renamed `elmo-network-session-host-internal' to
6793         `elmo-network-session-server-internal'.
6794
6795         * elmo-multi.el (elmo-multi-folder): New luna class.
6796         (elmo-folder-initialize): Define.
6797         (elmo-folder-get-primitive-list): Ditto.
6798         (elmo-folder-contains-type): Ditto.
6799         (elmo-message-use-cache-p): Ditto.
6800
6801         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6802         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6803
6804         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6805         (elmo-folder-initialize): Define.
6806
6807         * elmo-filter.el (elmo-filter-folder): New luna class.
6808         (elmo-folder-initialize): Define.
6809         (elmo-folder-get-primitive-list): Ditto.
6810         (elmo-folder-contains-type): Ditto.
6811
6812 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6813
6814         * elmo-imap4.el: Rewrite with luna.
6815
6816         * mmimap.el: New file.
6817
6818         * mmelmo.el, mmelmo-imap4.el: Removed.
6819
6820         * elmo-net.el: Ditto.
6821
6822         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6823         (elmo-folder-initialize): Define.
6824
6825         * elmo-archive.el (elmo-archive-folder): New luna class.
6826         (elmo-folder-initialize): Define.
6827
6828         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6829         `elmo-folder-msgdb-path'.
6830         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6831         `elmo-make-folder'.
6832
6833 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6834
6835         * elmo.el: New file.
6836
6837         * elmo2.el: Renamed to elmo.el.
6838
6839 \f
6840 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6841
6842         * elmo-cache.el (elmo-cache-expire-by-size): Count
6843         a disk usage for a cache file entry in KB even when
6844         its kind is a directory.
6845
6846 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6847
6848         * elmo-version.el (elmo-version): Up to 2.5.7.
6849
6850 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6851
6852         * elmo-version.el (elmo-version): Up to 2.5.6.
6853
6854 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6855
6856         * elmo-version.el (elmo-version): Up to 2.5.5.
6857
6858 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6859
6860         * elmo-imap4.el (elmo-network-authenticate-session):
6861         Fixed a logic for response checking.
6862
6863 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6864
6865         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6866         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6867         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6868         `sasl-mechanisms'.
6869
6870         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6871         for `starttls-open-stream' and `starttls-negotiate'.
6872
6873         * elmo-nntp.el: Remove autoload settings for
6874         `starttls-open-stream' and `starttls-negotiate'.
6875
6876         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6877         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6878         `luna-define-class' with `eval-and-compile'.
6879
6880 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6881
6882         * elmo-util.el (elmo-read-search-condition-internal):
6883         Require an element of table for searching field.
6884
6885 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6886
6887         * elmo-version.el (elmo-version): Up to 2.5.4.
6888
6889 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6890
6891         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6892
6893 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6894
6895         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6896
6897 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6898
6899         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6900         before greeting.
6901
6902 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6903
6904         * elmo-imap4.el (elmo-imap4-delete-folder):
6905         Send "close" before "delete" (Use commented out line).
6906         (elmo-imap4-rename-folder): Ditto.
6907
6908         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6909         folder string itself.
6910         (elmo-dop-list-deleted): New function.
6911         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6912         killed.
6913
6914         * elmo-util.el (elmo-string-rassoc-all): New function.
6915
6916 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6917
6918         * elmo-version.el (elmo-version): Up to 2.5.3.
6919
6920         * elmo-net.el (elmo-network-get-session): Changed logic for
6921         checking process status.
6922
6923         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6924         process is nil;
6925         Changed logic for checking process status.
6926
6927 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6928
6929         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6930         before greeting.
6931         (elmo-network-setup-session): Set UIDL hash size according to
6932         the length of list response.
6933         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6934         according to the length of list response;
6935         Return the length of list response.
6936         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6937
6938 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6939
6940         * elmo-imap4.el (toplevel): Require 'ssl.
6941         Add autoload 'starttls.
6942         * elmo-pop3.el (toplevel): Ditto.
6943         * elmo-nntp.el (toplevel): Ditto.
6944
6945 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6946
6947         * elmo-imap4.el (toplevel): defun at compile time.
6948         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6949         sasl-next-step, sasl-step-data, sasl-step-set-data.
6950         * elmo-pop3.el (toplevel): Ditto.
6951
6952 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6953
6954         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6955
6956 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6957
6958         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6959         if error.
6960         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6961         and `elmo-pop-auth-apop'.
6962
6963 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6964
6965         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6966
6967 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6968
6969         * elmo-pop3.el (elmo-network-authenticate-session): Split
6970         encoded response value.
6971
6972 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6973
6974         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6975         `elmo-pop3-force-login'.
6976         Redefine `sasl-mechanisms'.
6977         * elmo-vars.el (elmo-pop3-force-login): Ditto.
6978
6979 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6980
6981         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6982         Delete `elmo-imap4-authenticator-alist'.
6983         (elmo-imap4-auth-cram-md5): Delete.
6984         (elmo-imap4-auth-digest-md5): Delete.
6985
6986 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6987
6988         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6989         (elmo-pop3-auth-scram-md5): Ditto.
6990         (elmo-pop3-auth-cram-md5): Ditto.
6991
6992 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
6993
6994         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6995         Delete `elmo-pop3-authenticator-alist'.
6996
6997 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
6998
6999         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7000         new SASL API.
7001         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7002
7003 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7004
7005         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7006
7007 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7008
7009         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7010         Fixed problem when `elmo-pop3-use-uidl' is nil.
7011         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7012
7013 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7014
7015         * elmo-version.el (elmo-version): Up to 2.5.2.
7016
7017 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7018
7019         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7020         New function.
7021         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7022         (elmo-pop3-msgdb-create-as-numlist): Use it.
7023
7024         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7025         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7026
7027         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7028         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7029
7030 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7031
7032         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7033         when elmo-mark-as-read is called with second argument nil.
7034
7035 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7036
7037         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7038         Moved to elmo-util.el.
7039
7040         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7041         Moved from elmo-pipe.el
7042
7043         * elmo-archive.el (elmo-archive-call-process): Enclose with
7044         static-if.
7045
7046         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7047         "RFC822" (because RFC822.PEEK is obsolete).
7048         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7049
7050 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7051
7052         * elmo-archive.el (elmo-archive-call-process): Don't check for
7053         the exit status when Nemacs is running.
7054
7055 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7056
7057         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7058         'plain.
7059
7060         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7061         (elmo-pop3-get-spec): Set default of auth to 'user.
7062
7063         * elmo-imap4.el (elmo-imap4-session-check):
7064         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7065         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7066         (elmo-imap4-auth-login): New function; Revival.
7067         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7068         `elmo-imap4-auth-login'.
7069
7070 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7071
7072         * elmo2.el (toplevel): Move `product-provide' declare.
7073         * mmelmo.el (toplevel): Ditto.
7074
7075 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7076
7077         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7078
7079 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7080
7081         * elmo-util.el (elmo-folder-get-store-type): New function.
7082         (elmo-folder-direct-copy-p): Use it.
7083
7084 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7085
7086         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7087         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7088         and result of `elmo-imap4-use-flag-p'.
7089         (elmo-imap4-fetch-callback-1): Set mark according to
7090         the result of `elmo-imap4-use-flag-p'.
7091
7092 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7093
7094         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7095         (elmo-generic-list-folder-unread): Ditto.
7096         (elmo-folder-get-info): Ditto.
7097         (elmo-folder-set-info-max-by-numdb): Ditto.
7098         (elmo-folder-get-info-max): Ditto.
7099         (elmo-folder-get-info-length): Ditto.
7100         (elmo-folder-get-info-unread): Ditto.
7101         (elmo-folder-info-make-hashtb): Ditto.
7102
7103         * elmo2.el: Removed above functions.
7104
7105 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7106
7107         * elmo-imap4.el (toplevel): Require 'ssl.
7108         Add autoload 'starttls.
7109         * elmo-pop3.el (toplevel): Ditto.
7110         * elmo-nntp.el (toplevel): Ditto.
7111
7112 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7113
7114         * elmo-imap4.el (toplevel): defun at compile time.
7115         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7116         sasl-next-step, sasl-step-data, sasl-step-set-data.
7117         * elmo-pop3.el (toplevel): Ditto.
7118
7119 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7120
7121         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7122
7123 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7124
7125         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7126         if error.
7127         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7128         and `elmo-pop-auth-apop'.
7129
7130 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7131
7132         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7133
7134 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7135
7136         * elmo-pop3.el (elmo-network-authenticate-session): Split
7137         encoded response value.
7138
7139 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7140
7141         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7142         `elmo-pop3-force-login'.
7143         Redefine `sasl-mechanisms'.
7144         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7145
7146 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7147
7148         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7149         Delete `elmo-imap4-authenticator-alist'.
7150         (elmo-imap4-auth-cram-md5): Delete.
7151         (elmo-imap4-auth-digest-md5): Delete.
7152
7153 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7154
7155         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7156         (elmo-pop3-auth-scram-md5): Ditto.
7157         (elmo-pop3-auth-cram-md5): Ditto.
7158
7159 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7160
7161         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7162         Delete `elmo-pop3-authenticator-alist'.
7163
7164 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7165
7166         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7167         new SASL API.
7168         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7169
7170 \f
7171 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7172
7173         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7174
7175 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7176
7177         * elmo-nntp.el (elmo-nntp-get-folders-info):
7178         Fixed problem when '\' character is contained in user-id.
7179         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7180
7181 \f
7182 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7183
7184         * elmo-imap4.el (elmo-imap4-delete-folder):
7185         Send "close" before "delete" (Use commented out line).
7186         (elmo-imap4-rename-folder): Ditto.
7187
7188         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7189         folder string itself.
7190         (elmo-dop-list-deleted): New function.
7191         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7192         killed.
7193
7194         * elmo-util.el (elmo-string-rassoc-all): New function.
7195
7196         * elmo-version.el (elmo-version): Up to 2.5.1.
7197
7198 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7199
7200         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7201
7202         * elmo-internal.el (elmo-internal-search): Fix last change.
7203
7204 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7205
7206         * elmo-internal.el (elmo-internal-search): Rewrite.
7207         (Fixed problem which is pointed out by Akihiro MOTOKI
7208         <motoki@da.jp.nec.com>)
7209
7210         * elmo-version.el (elmo-version): Up to 2.5.0.
7211
7212 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7213
7214         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7215
7216 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7217
7218         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7219         non-nil, make hierarchy.
7220
7221 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7222
7223         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7224         `elmo-pop3-use-uidl' must be bound to nil.
7225         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7226
7227 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7228
7229         * elmo-util.el (elmo-copy-file): Don't cause an error after
7230         `add-name-to-file' failed.
7231
7232         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7233         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7234
7235 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7236
7237         * elmo-version.el (elmo-version): Up to 2.3.93.
7238
7239 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7240
7241         * elmo-util.el (elmo-flatten): New function.
7242
7243 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7244
7245         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7246         sync Author header.
7247         * elmo-cache.el (toplevel): Ditto.
7248         * elmo-database.el (toplevel): Ditto.
7249         * elmo-date.el (toplevel): Ditto.
7250         * elmo-dop.el (toplevel): Ditto.
7251         * elmo-filter.el (toplevel): Ditto.
7252         * elmo-imap4.el (toplevel): Ditto.
7253         * elmo-internal.el (toplevel): Ditto.
7254         * elmo-localdir.el (toplevel): Ditto.
7255         * elmo-localnews.el (toplevel): Ditto.
7256         * elmo-maildir.el (toplevel): Ditto.
7257         * elmo-msgdb.el (toplevel): Ditto.
7258         * elmo-multi.el (toplevel): Ditto.
7259         * elmo-net.el (toplevel): Ditto.
7260         * elmo-nntp.el (toplevel): Ditto.
7261         * elmo-pipe.el (toplevel): Ditto.
7262         * elmo-pop3.el (toplevel): Ditto.
7263         * elmo-util.el (toplevel): Ditto.
7264         * elmo-vars.el (toplevel): Ditto.
7265         * elmo2.el (toplevel): Ditto.
7266         * mmelmo-imap4.el (toplevel): Ditto.
7267         * mmelmo.el (toplevel): Ditto.
7268
7269         * elmo-version.el (elmo-version): Move to top.
7270
7271         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7272         * elmo-imap4.el (toplevel): Ditto.
7273         * elmo-localdir.el (toplevel): Ditto.
7274         * elmo-msgdb.el (toplevel): Ditto.
7275         * elmo-nntp.el (toplevel): Ditto.
7276         * elmo-pop3.el (toplevel): Ditto.
7277         * elmo-version.el (toplevel): Ditto.
7278
7279         * elmo-localnews.el (toplevel): Added Keyword header.
7280
7281 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7282
7283         * elmo-version.el (product-version-as-string): Defined using
7284         `defun-maybe'.
7285         (toplevel): Use it.
7286
7287         * elmo-localdir.el (toplevel): Updated copyright notice.
7288         * elmo-version.el (toplevel): Ditto.
7289         * elmo-msgdb.el (toplevel): Ditto.
7290         * elmo-imap4.el (toplevel): Ditto.
7291         * elmo-nntp.el (toplevel): Ditto.
7292         * elmo-pop3.el (toplevel): Ditto.
7293
7294 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7295
7296         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7297         messages.
7298
7299         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7300         parameter value (It sometimes contains raw kanji).
7301
7302 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7303
7304         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7305         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7306
7307 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7308
7309         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7310
7311 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7312
7313         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7314         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7315
7316 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7317
7318         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7319         value if selecting folder succceeded.
7320         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7321
7322 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7323
7324         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7325         representation.
7326
7327         * elmo-util.el (elmo-string-matched-member): New function.
7328
7329 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7330
7331         * elmo-util.el (elmo-unintern): New macro.
7332         (elmo-number-set-member): Fixed docstring.
7333
7334         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7335         tag token.
7336
7337 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7338
7339         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7340         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7341
7342 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7343
7344         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7345         `no-error'.
7346         Added docstring.
7347         Return non-nil if selecting folder succeeded.
7348         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7349
7350 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7351
7352         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7353         `file-name-completion' returns t.
7354         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7355         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7356         directory if it does not exist.
7357         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7358         for iteration.
7359
7360 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7361
7362         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7363         enclosure (It's harmful in unplugged status).
7364
7365         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7366
7367         * mmelmo-1.el: Removed.
7368
7369         * mmelmo-2.el: Ditto.
7370
7371         * mmelmo-imap4-1.el: Ditto.
7372
7373         * mmelmo-imap4-2.el: Ditto.
7374
7375         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7376
7377         * mmelmo.el: Merged mmelmo-2.el.
7378
7379         * elmo-version.el (elmo-version): Up to 2.3.92.
7380
7381 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7382
7383         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7384         elmo-update-number): Remove last period in "...done." message.
7385         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7386         Ditto.
7387         * elmo-cache.el (elmo-cache-expire-by-size,
7388         elmo-cache-get-sorted-cache-file-list,
7389         elmo-cache-msgdb-create-as-numlist): Ditto.
7390         * elmo-dop.el (elmo-dop-save-pending-messages,
7391         (elmo-dop-flush-pending-append-operations): Ditto.
7392         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7393         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7394         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7395         (elmo-localdir-pack-number): Ditto.
7396         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7397         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7398         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7399         mime-write-entity-content): Ditto.
7400         * pldap.el (ldap-search-basic): Ditto.
7401
7402 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7403
7404         * elmo-version.el (elmo-version): Up to 2.3.91.
7405
7406         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7407         Only when filter is 'last'.
7408
7409         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7410         (elmo-condition-parse-search-value): Use it.
7411         (elmo-read-search-condition-internal): Quote value only when
7412         it is not an atom.
7413
7414 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7415
7416         * elmo2.el (elmo-generic-folder-diff): Fix.
7417
7418 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7419
7420         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7421         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7422         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7423         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7424         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7425         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7426
7427 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7428
7429         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7430         extra-fields.
7431
7432 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7433
7434         * elmo-version.el (elmo-version): Up to 2.3.90.
7435
7436         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7437         (elmo-imap4-list-folder-important): Ditto.
7438
7439 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7440
7441         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7442
7443 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7444
7445         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7446
7447 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7448
7449         * elmo-nntp.el (elmo-network-initialize-session):
7450         Add starttls negotiation.
7451
7452 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7453
7454         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7455         response.
7456         (elmo-network-setup-session): Define.
7457         Call `elmo-nntp-send-mode-reader' when session opened.
7458
7459 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7460
7461         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7462
7463 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7464
7465         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7466         an invalid SPACE character ahead of `SEARCH' command.  Move
7467         a valid SPACE character following `SEARCH' from conditional
7468         `format' arguments to control-strings.
7469
7470 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7471
7472         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7473         was succeeded.
7474
7475         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7476
7477 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7478
7479         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7480         `w32-get-true-file-link-count' as t.
7481
7482         * elmo-imap4.el (elmo-imap4-read): Abolished.
7483         (Renamed to `elmo-read' and moved to elmo-util.el)
7484         All other related portions are changed.
7485
7486         * elmo-util.el (elmo-read): New function.
7487         (elmo-condition-parse-search-value): Use it.
7488
7489 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7490
7491         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7492
7493         * elmo-nntp.el (elmo-nntp-session): Define.
7494         (elmo-nntp-setting): Abolished.
7495         All other related portions are changed.
7496         (elmo-nntp-get-server-command): Changed argument.
7497         (elmo-nntp-set-server-command): Ditto.
7498         (elmo-nntp-xover-p): Ditto.
7499         (elmo-nntp-set-xover): Ditto.
7500         (elmo-nntp-listgroup-p): Ditto.
7501         (elmo-nntp-set-listgroup): Ditto.
7502         (elmo-nntp-list-active-p): Ditto.
7503         (elmo-nntp-set-list-active): Ditto.
7504         (elmo-nntp-xhdr-p): Ditto.
7505         (elmo-nntp-set-xhdr): Ditto.
7506         (elmo-nntp-flush-connection): Abolished.
7507         (elmo-nntp-get-connection): Abolished.
7508         (elmo-nntp-get-session): New function.
7509         (elmo-network-initialize-session): Defined.
7510         (elmo-network-authenticate-session): Ditto.
7511         (elmo-nntp-send-mode-reader): Changed argument.
7512         (elmo-nntp-send-command): Changed argument.
7513         All other related portions are changed.
7514         (elmo-nntp-read-response): Ditto.
7515         (elmo-nntp-read-raw-response): Ditto.
7516         (elmo-nntp-read-contents): Ditto.
7517         (elmo-nntp-read-body): Ditto.
7518         (elmo-nntp-goto-folder): Abolished.
7519         (elmo-nntp-select-group): New function.
7520         All other related portions are changed.
7521         (This function substitutes `elmo-nntp-goto-folder')
7522         (elmo-nntp-msgdb-create-by-header): Rewrite.
7523         (elmo-nntp-get-overview): Eliminated.
7524         (elmo-nntp-get-message): Ditto.
7525         (elmo-nntp-open-connection) Abolished.
7526         (elmo-nntp-read-msg): Rewrite.
7527         (elmo-nntp-post): Ditto.
7528         (elmo-nntp-send-data): Abolished.
7529         (elmo-nntp-send-buffer): New function.
7530         (elmo-nntp-send-data-line): Define as inline function.
7531         (elmo-nntp-get-folders-info-prepare): Use session as key.
7532         (elmo-nntp-groups-read-response): Changed argument.
7533         (elmo-nntp-retrieve-headers): Ditto.
7534         (elmo-nntp-msgdb-create-message): Ditto.
7535
7536         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7537         when searching by 'since' or 'before'.
7538
7539 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7540
7541         * elmo-version.el (toplevel): Use product-version-as-string for set
7542         verstion-string, if defined.
7543
7544 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7545
7546         * elmo-util.el: Doc fixes.
7547
7548 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7549
7550         * elmo-archive.el (toplevel): Use product-provide.
7551         * elmo-cache.el (toplevel): Ditto.
7552         * elmo-database.el (toplevel): Ditto.
7553         * elmo-date.el (toplevel): Ditto.
7554         * elmo-dop.el (toplevel): Ditto.
7555         * elmo-filter.el (toplevel): Ditto.
7556         * elmo-imap4.el (toplevel): Ditto.
7557         * elmo-internal.el (toplevel): Ditto.
7558         * elmo-localdir.el (toplevel): Ditto.
7559         * elmo-localnews.el (toplevel): Ditto.
7560         * elmo-maildir.el (toplevel): Ditto.
7561         * elmo-msgdb.el (toplevel): Ditto.
7562         * elmo-multi.el (toplevel): Ditto.
7563         * elmo-net.el (toplevel): Ditto.
7564         * elmo-nntp.el (toplevel): Ditto.
7565         * elmo-pipe.el (toplevel): Ditto.
7566         * elmo-pop3.el (toplevel): Ditto.
7567         * elmo-util.el (toplevel): Ditto.
7568         * elmo-vars.el (toplevel): Ditto.
7569         * elmo2.el (toplevel): Ditto.
7570         * mmelmo-1.el (toplevel): Ditto.
7571         * mmelmo-2.el (toplevel): Ditto.
7572         * mmelmo-imap4-1.el (toplevel): Ditto.
7573         * mmelmo-imap4-2.el (toplevel): Ditto.
7574         * mmelmo-imap4.el (toplevel): Ditto.
7575         * mmelmo.el (toplevel): Ditto.
7576
7577 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7578
7579         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7580         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7581
7582 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7583
7584         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7585         before splitting.
7586         (elmo-multi-split-number-alist): Ditto.
7587
7588 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7589
7590         * elmo-version.el: New file.  Use product.el.
7591         * elmo2.el: Add (require 'elmo-version).
7592         * elmo-vars.el (elmo-appname, elmo-version): Move to
7593         elmo-version.el
7594
7595 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7596
7597         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7598         `elmo-msgdb-expand-path'.
7599         (elmo-msgdb-load): Ditto.
7600         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7601         (elmo-generic-list-folder-unread): Rewrite.
7602         (elmo-generic-list-folder-important): Changed argument.
7603         (elmo-list-folder-unread): Ditto.
7604         (elmo-list-folder-important): Ditto.
7605         (elmo-folder-diff): Rewrite.
7606         (elmo-generic-folder-diff): New function.
7607         (elmo-multi-get-number-alist-list): Abolished
7608         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7609         (elmo-multi-folder-diff): Moved to elmo-multi.el
7610         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7611
7612         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7613         `elmo-msgdb-expand-path'.
7614         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7615         (elmo-pop3-read-msg): Ditto.
7616         (elmo-pop3-delete-msgs): Ditto.
7617         (elmo-pop3-folder-diff): New alias.
7618
7619         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7620         `elmo-msgdb-expand-path'.
7621         (elmo-pipe-list-folder-unread): Changed arguments.
7622         (elmo-pipe-list-folder-important): Ditto.
7623         (elmo-pipe-folder-diff): New alias.
7624
7625         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7626         `elmo-msgdb-expand-path'.
7627         (elmo-nntp-max-of-folder): Ditto.
7628         (elmo-nntp-msgdb-create): Ditto.
7629         (elmo-nntp-delete-msgs): Ditto.
7630         (elmo-nntp-folder-diff): New alias.
7631
7632         * elmo-multi.el (elmo-multi-folder-diff): New function.
7633         (elmo-multi-split-mark-alist): Ditto.
7634         (elmo-multi-split-number-alist): Ditto.
7635         (elmo-multi-mark-alist-list): Abolished (Renamed to
7636         elmo-multi-split-mark-alist).
7637         (elmo-multi-list-folder-unread): Rewrite.
7638         (elmo-multi-list-folder-important): Ditto.
7639         (elmo-multi-list-folder): Set `spec' as 1st argument for
7640         `elmo-msgdb-expand-path'.
7641         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7642         instead of `elmo-multi-get-number-alist-list'.
7643
7644         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7645         If 1st argument is not string, treat as spec.
7646         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7647         `elmo-msgdb-expand-path'.
7648         (elmo-msgdb-flist-load): Ditto.
7649         (elmo-msgdb-flist-save): Ditto.
7650         (elmo-msgdb-delete-path): Ditto.
7651         (elmo-msgdb-rename-path): Ditto.
7652
7653         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7654         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7655         (elmo-maildir-delete-mark-msgs): Ditto.
7656         (elmo-maildir-msgdb-create): Ditto.
7657         (elmo-maildir-read-msg): Ditto.
7658         (elmo-maildir-delete-msgs): Ditto.
7659         (elmo-maildir-list-folder-subr): Ditto.
7660         (elmo-maildir-search): Ditto.
7661         (elmo-maildir-get-msg-filename): Ditto.
7662         (elmo-maildir-pack-number): Ditto.
7663         (elmo-maildir-folder-diff): New alias.
7664
7665         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7666
7667         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7668         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7669         (elmo-localdir-folder-diff): New alias.
7670
7671         * elmo-internal.el (elmo-internal-list-folder-subr):
7672         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7673         (elmo-internal-list-folder-by-location): Ditto.
7674         (elmo-internal-msgdb-create): Ditto.
7675         (elmo-internal-delete-msgs): Ditto.
7676         (elmo-internal-read-msg): Ditto.
7677         (elmo-internal-folder-diff): New alias.
7678
7679         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7680         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7681         `elmo-msgdb-expand-path'.
7682         (elmo-imap4-list-folder-unread): Changed arguments.
7683         (elmo-imap4-list-folder-important): Ditto.
7684
7685         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7686         (elmo-filter-list-folder-important): Ditto.
7687         (elmo-filter-folder-diff): New function.
7688
7689         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7690
7691         * elmo-cache.el (elmo-cache-list-folder):
7692         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7693         (elmo-cache-copy-msgs): Ditto.
7694         (elmo-cache-folder-diff): New alias.
7695
7696         * elmo-archive.el (elmo-archive-list-folder-subr):
7697         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7698         (elmo-archive-get-archive-name): Ditto.
7699         (elmo-archive-create-file): Ditto.
7700         (elmo-archive-append-msg): Ditto.
7701         (elmo-archive-copy-msgs): Ditto.
7702         (elmo-archive-copy-msgs-froms): Ditto.
7703         (elmo-archive-get-msg-filename): Ditto.
7704         (elmo-archive-folder-diff): New alias.
7705
7706 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7707
7708         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7709         (elmo-pop3-stream-type-alist): New variable.
7710         (elmo-nntp-stream-type-alist): New variable.
7711
7712         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7713         (elmo-kill-buffer): Ditto.
7714         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7715         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7716         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7717         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7718         (elmo-imap4-get-spec): Take into account
7719         `elmo-imap4-stream-type-alist'.
7720
7721 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7722
7723         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7724         (elmo-nntp-list-folders-get-cache): Ditto.
7725
7726 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7727
7728         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7729         character before 'uid'.
7730
7731 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7732
7733         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7734
7735         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7736
7737         * elmo-util.el (elmo-number-set-member): New function.
7738         (elmo-number-set-append-list): Ditto.
7739         (elmo-number-set-append): Ditto.
7740
7741         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7742         Use `elmo-number-set-member'.
7743         (elmo-living-messages): Ditto.
7744         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7745         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7746
7747         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7748         (elmo-imap4-add-to-cont-list): Abolished.
7749         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7750         instead of elmo-imap4-add-to-cont-list.
7751
7752         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7753         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7754
7755         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7756
7757 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7758
7759         * elmo-util.el (elmo-condition-parse-search-value):
7760         Fixed date parsing.
7761
7762 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7763
7764         * elmo-util.el (elmo-condition-find-key-internal): New function.
7765         (elmo-condition-find-key): Ditto.
7766
7767         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7768         (elmo-msgdb-search-internal): Ditto.
7769         (elmo-msgdb-search): Ditto.
7770
7771 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7772
7773         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7774         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7775
7776         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7777         (elmo-nntp-search-primitive): Fixed problem when condition is
7778         'unmatch'.
7779
7780         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7781
7782         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7783         (elmo-nntp-xhdr-p): New macro.
7784         (elmo-nntp-set-xhdr): Ditto.
7785         (elmo-nntp-parse-xhdr-response): New function.
7786         (elmo-nntp-retrieve-field): Ditto.
7787         (elmo-nntp-search-primitive): Ditto.
7788         (elmo-nntp-search): Implemented.
7789
7790         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7791
7792         * elmo-archive.el (elmo-archive-search): Set all number list to
7793         `elmo-archive-field-condition-match'
7794
7795         * elmo-localdir.el (elmo-localdir-search): Likewise.
7796
7797         * elmo-maildir.el (elmo-maildir-search): Likewise.
7798
7799 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7800
7801         * elmo-msgdb.el (elmo-living-messages): New function.
7802         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7803         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7804         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7805         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7806         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7807         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7808         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7809         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7810         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7811         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7812         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7813
7814 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7815
7816         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7817
7818         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7819
7820         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7821
7822         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7823         arguments for `SEARCH' command.
7824         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7825         All other related portions are changed.
7826
7827         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7828
7829         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7830         (elmo-list-folder-unread): Rewrite.
7831         (elmo-list-folder-important): Ditto.
7832
7833         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7834         (elmo-condition-parse-error): New inline function.
7835         (elmo-read-search-condition): New function.
7836         (elmo-read-search-condition-internal): Ditto.
7837         (elmo-parse-search-condition): Rewrite.
7838         (elmo-condition-parse): New function.
7839         (elmo-condition-parse-or-expr): Ditto.
7840         (elmo-condition-parse-and-expr): Ditto.
7841         (elmo-condition-parse-primitive): Ditto.
7842         (elmo-condition-parse-search-value): Ditto.
7843         (elmo-buffer-field-primitive-condition-match): Ditto.
7844         (elmo-buffer-field-condition-match): Rewrite.
7845         (elmo-file-field-condition-match): Ditto.
7846
7847         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7848         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7849
7850         * elmo-internal.el (elmo-internal-search): Set `number' and
7851         `number-list' argument of `elmo-file-field-condition-match'.
7852
7853         * elmo-maildir.el (elmo-maildir-search): Ditto.
7854
7855         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7856         `msgdb' as argument instead of `mark-alist'.
7857         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7858         `overview'.
7859
7860         * elmo-multi.el: Likewise.
7861
7862         * elmo-pipe.el: Likewise.
7863
7864         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7865         (elmo-imap4-search-internal): Rewrite.
7866         (elmo-imap4-search): Ditto.
7867
7868         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7869         (elmo-filter-list-folder-unread): Ditto.
7870         (elmo-filter-list-folder-important): Ditto.
7871         (elmo-filter-search): Rewrite.
7872
7873         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7874         `number-list' argument of `elmo-file-field-condition-match'.
7875         (elmo-cache-search): Ditto.
7876
7877         * elmo-localdir.el: Likewise.
7878
7879         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7880         number-list and pass it to `elmo-buffer-field-condition-match'.
7881         (elmo-archive-field-condition-match): Pass `number-list' to
7882         `elmo-archive-field-condition-match'
7883
7884 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7885
7886         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7887         `listgroup'.
7888
7889         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7890         (elmo-folder-diff-async-callback-data): Ditto.
7891         (elmo-folder-diff-async): New function.
7892
7893         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7894         (elmo-network-session-cache-key): Use it as a prefix of the session
7895         name.
7896         (elmo-network-open-session): Ditto.
7897
7898         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7899         (elmo-imap4-status-callback-data): Ditto.
7900         (elmo-imap4-server-diff-async-callback): New variable.
7901         (elmo-imap4-server-diff-async-callback-data): Ditto.
7902         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7903         `elmo-imap4-status-callback-data'.
7904         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7905         `elmo-imap4-status-callback-data' as nil.
7906         (elmo-imap4-server-diff): Ditto.
7907         (elmo-imap4-server-diff-async-callback-1): New function.
7908         (elmo-imap4-server-diff-async): Ditto.
7909         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7910
7911 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7912
7913         * elmo-util.el (elmo-list-delete): Doc fix.
7914         (elmo-delete-lists): Abolish.
7915         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7916         instead of `elmo-delete-lists'.
7917
7918 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7919
7920         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7921         before `sort'.
7922
7923 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7924
7925         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7926         `elmo-imap4-literal-subr'.
7927         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7928         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7929
7930 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7931
7932         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7933         (elmo-archive-list-folder): Fix.
7934         (elmo-archive-max-of-folder): Fix.
7935
7936 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7937
7938         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7939          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7940         (elmo-localdir-append-msg): Ditto.
7941         (elmo-localdir-list-folder): Fix for `nonsort'.
7942         (elmo-localdir-list-folder-subr): Fix for `killed'.
7943         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7944         (elmo-maildir-list-folder-subr): Ditto.
7945         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7946         (elmo-archive-list-folder-subr): Ditto.
7947         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7948         (elmo-internal-list-folder-subr): Ditto.
7949
7950 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
7951
7952         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7953
7954 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
7955
7956         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7957
7958 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
7959
7960         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7961         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7962
7963         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7964         before greeting.
7965         (elmo-imap4-read-part): Use "body.peek" to fetch part.
7966         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7967
7968 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
7969
7970         * mmelmo-imap4-2.el (mime-entity-children): Defined.
7971
7972         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7973         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7974         before STORE command.
7975
7976 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
7977
7978         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7979
7980         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7981         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7982         of `response'.
7983         (elmo-imap4-list-folders): Removed unused local variable.
7984         (elmo-network-initialize-session): Ditto.
7985         (elmo-imap4-delete-msg-by-id): Ditto.
7986         (elmo-imap4-parse-fetch): Ditto.
7987         (elmo-imap4-copy-msgs): Ditto.
7988         Use `dst-spec' instead of `dst-folder'.
7989         (elmo-network-authenticate-session): Check authenticate type `plain'.
7990
7991 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
7992
7993         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7994         garbage checking.
7995         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7996         `elmo-imap4-response-value'.
7997         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7998
7999 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8000
8001         * elmo-imap4.el (elmo-imap4-send-command):
8002         Cause elmo-imap4-bye-error when current response is BYE.
8003         (elmo-imap4-arrival-filter): Changed greeting response value.
8004
8005         * elmo2.el (elmo-imap4-bye-error): Define.
8006
8007         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8008         (elmo-imap4-server-diff): Ditto.
8009         (elmo-imap4-response-bye-p): New macro.
8010         (elmo-imap4-response-error-text): Get text from BYE response.
8011         (elmo-imap4-read-response): Return if BYE response.
8012         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8013         (elmo-imap4-folder-exists-p): Ditto.
8014         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8015         (elmo-imap4-parse-bye): New function.
8016         (elmo-imap4-parse-response): Remove needless let.
8017         Call `elmo-imap4-parse-bye'.
8018
8019 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8020
8021         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8022         the mailbox does not exist.
8023         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8024
8025 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8026
8027         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8028
8029 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8030
8031         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8032
8033         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8034         (elmo-network-initialize-session-buffer): Defined.
8035
8036         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8037         Abolished.
8038         (mmelmo-imap4-get-mime-entity): Rewrite.
8039
8040         * elmo2.el (elmo-error): Capitalize error message.
8041
8042         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8043         (elmo-network-session-buffer): New macro.
8044         (elmo-network-open-session): Use it.
8045
8046         * elmo-imap4.el: Rewrite.
8047
8048 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8049
8050         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8051
8052 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8053
8054         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8055         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8056         (elmo-imap4-create-msgdb-from-overview-string): Use
8057         `elmo-msgdb-create-overview-from-buffer'.
8058
8059 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8060
8061         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8062         (elmo-imap4-default-hierarchy-delimiter): New variable.
8063         (elmo-imap4-list-folders): Use it.
8064
8065 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8066
8067         * elmo-net.el (elmo-network-open-session): Add user and
8068         stream-type for process-buffer name.
8069
8070         * elmo-pop3.el (elmo-network-initialize-session): Call
8071         buffer-disable-undo.
8072
8073         * elmo-imap4.el (elmo-network-initialize-session):
8074         Set current-buffer as an argument for `buffer-disable-undo'.
8075
8076         * elmo-pop3.el (elmo-network-close-session): Don't use
8077         `process-live-p'.
8078
8079         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8080         Set default as 'user.
8081
8082         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8083
8084         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8085         and `elmo-imap4-flush-connection'.
8086
8087         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8088         (elmo-pop3-get-spec): Assume auth as symbol.
8089         (elmo-open-network-stream): Moved to `elmo-net'.
8090
8091         * elmo-pop3.el (toplevel): Require 'elmo-net.
8092         Define `sasl-cram-md5' to silence byte compilier.
8093         (elmo-pop3-connection-cache) Abolished.
8094         (elmo-pop3-authenticator-alist) New variable.
8095         (elmo-pop3-session): Define.
8096         (elmo-pop3-connection-get-process): Abolished.
8097         (elmo-pop3-connection-get-buffer): Ditto.
8098         (elmo-pop3-close-connection): Ditto.
8099         (elmo-pop3-flush-connection): Ditto.
8100         (elmo-pop3-get-connection): Ditto.
8101         (elmo-pop3-get-session): New function.
8102         (Replacement for `elmo-pop3-get-connection').
8103         All other related modules are changed.
8104         (elmo-network-close-session): Define.
8105         (elmo-pop3-send-command): Abolished argument `buffer'.
8106         All other related modules are changed.
8107         (elmo-pop3-read-response): Likewise.
8108         (elmo-pop3-open-connection): Abolished.
8109         (elmo-pop3-auth-user): New function.
8110         (elmo-pop3-auth-apop): Ditto.
8111         (elmo-pop3-auth-cram-md5): Ditto.
8112         (elmo-pop3-auth-scram-md5): Ditto.
8113         (elmo-pop3-auth-digest-md5): Ditto.
8114         (elmo-network-initialize-session): Define.
8115         (elmo-network-authenticate-session): Ditto.
8116         (elmo-network-setup-session): Ditto.
8117
8118         * elmo-imap4.el (toplevel): Require 'elmo-net.
8119         (elmo-imap4-session): Define.
8120         (elmo-imap4-connection-cache): Abolished.
8121         (elmo-imap4-password-key): Ditto.
8122         (elmo-imap4-flush-connection): Ditto.
8123         (elmo-imap4-get-connection): Ditto.
8124         All other related modules are changed.
8125         (elmo-imap4-get-session): New function
8126         (Replacement for `elmo-imap4-get-connection').
8127         (elmo-imap4-read-response): Abolished argument `buffer'.
8128         All other related modules are changed.
8129         (elmo-imap4-send-command): Likewise.
8130         (elmo-imap4-select-folder): Abolished.
8131         All other related modules are changed.
8132         (elmo-imap4-select-mailbox): New function.
8133         (Replacement for `elmo-imap4-select-folder').
8134         (elmo-imap4-auth-login): Simplify.
8135         (Assume current buffer as process buffer)
8136         (elmo-imap4-auth-cram-md5): Ditto.
8137         (elmo-imap4-auth-digest-md5): Ditto.
8138         (elmo-imap4-login): Ditto.
8139         (elmo-imap4-open-connection): Abolished.
8140         (elmo-imap4-open-connection-1): Abolished.
8141         (elmo-network-initialize-sessoin): Define.
8142         (elmo-network-authenticate-session): Ditto.
8143         (elmo-network-setup-session): Ditto.
8144
8145         * elmo-net.el: New module.
8146
8147 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8148
8149         * elmo-util.el (elmo-define-error): New function.
8150
8151         * elmo2.el (elmo-error): Define.
8152         (elmo-open-error): Define.
8153         (elmo-authenticate-error): Define.
8154
8155         * elmo-imap4.el (elmo-imap4-error): Abolish.
8156         (elmo-imap4-error-type): Abolish.
8157         (elmo-imap4-error-process): Abolish.
8158         (elmo-imap4-error-message): Abolish
8159         (elmo-imap4-list-folders): Don't quote lambda.
8160         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8161         (elmo-imap4-parse-namespace): Ditto.
8162         (elmo-imap4-open-connection): Rewrite.
8163         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8164         (elmo-imap4-get-connection): Abolish local variable `result'.
8165
8166 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8167
8168         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8169         wrong-type-argument error when auth is nil.
8170
8171 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8172
8173         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8174         (elmo-default-nntp-stream-type): Ditto.
8175         (elmo-default-pop3-stream-type): Ditto.
8176         (elmo-network-stream-type-alist): Ditto.
8177         (elmo-default-imap4-ssl): Abolished.
8178         (elmo-default-nntp-ssl): Ditto.
8179         (elmo-default-pop3-ssl): Ditto.
8180
8181         * elmo-util.el: (toplevel): Removed needless requires.
8182         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8183         (elmo-open-network-stream): Open network stream according to
8184         the value of `elmo-network-stream-type-alist'.
8185         (elmo-get-network-stream-type): New function.
8186         (elmo-network-stream-type-spec-string): New macro.
8187         (elmo-network-stream-type-symbol): Ditto.
8188         (elmo-network-stream-type-function): Ditto.
8189
8190         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8191         network-stream-type. All other related portions are changed.
8192         (elmo-pop3-open-connection): Ditto.
8193
8194         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8195         network-stream-type. All other related portions are changed.
8196
8197         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8198         network-stream-type.All other related portions are changed.
8199         (elmo-imap4-error): New macro.
8200         (elmo-imap4-error-type): Ditto.
8201         (elmo-imap4-error-process): Ditto.
8202         (elmo-imap4-error-message): Ditto.
8203         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8204         (elmo-imap4-auth-cram-md5): Ditto.
8205         (elmo-imap4-auth-digest-md5): Ditto.
8206         (elmo-imap4-login): Ditto.
8207         (elmo-imap4-open-connection): Remove password entry if authentication
8208         was in vain.
8209         (elmo-imap4-user-at-host): Abolished.
8210         (elmo-imap4-password-key): New buffer local variable.
8211         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8212         using protocol, port, auth and stream-type.
8213
8214         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8215
8216 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8217
8218         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8219
8220         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8221
8222         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8223         (elmo-imap4-authenticator-alist): New variable.
8224         (elmo-imap4-open-connection-1): Rename from
8225         elmo-imap4-open-connection.
8226         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8227         only wraps elmo-imap4-open-connection-1.
8228         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8229         user-at-host.
8230         (elmo-imap4-auth-login): New function.
8231         (elmo-imap4-auth-cram-md5): New function.
8232         (elmo-imap4-auth-digest-md5): New function.
8233         (elmo-imap4-login): New function.
8234
8235 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8236
8237         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8238         function `error'.
8239
8240 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8241
8242         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8243
8244 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8245
8246         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8247
8248 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8249
8250         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8251         for server responses, quote `*' regardless of where it appears.
8252
8253 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8254
8255         * elmo-maildir.el (elmo-maildir-commit): New alias.
8256
8257 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8258
8259         * elmo-util.el (elmo-display-progress):
8260                 Use `progress-feedback-with-label'.
8261
8262 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8263
8264         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8265         (elmo-imap4-non-atom-char-regex): Ditto.
8266         (elmo-imap4-non-text-char-regex): Ditto.
8267         (elmo-imap4-literal-threshold): Ditto.
8268         (elmo-imap4-atom-p): New function.
8269         (elmo-imap4-quotable-p): Ditto.
8270         (elmo-imap4-nil): Ditto.
8271         (elmo-imap4-atom): Ditto.
8272         (elmo-imap4-quoted): Ditto.
8273         (elmo-imap4-literal-subr): Ditto.
8274         (elmo-imap4-literal): Ditto.
8275         (elmo-imap4-buffer-literal): Ditto.
8276         (elmo-imap4-string-subr): Ditto.
8277         (elmo-imap4-string): Ditto.
8278         (elmo-imap4-buffer-string): Ditto.
8279         (elmo-imap4-astring-subr): Ditto.
8280         (elmo-imap4-astring): Ditto.
8281         (elmo-imap4-buffer-astring): Ditto.
8282         (elmo-imap4-nstring): Ditto.
8283         (elmo-imap4-buffer-nstring): Ditto.
8284         (elmo-imap4-mailbox): New alias.
8285         (elmo-imap4-field-body): Ditto.
8286         (elmo-imap4-userid): Ditto.
8287         (elmo-imap4-password): Ditto.
8288         (elmo-imap4-format-quoted): New function.
8289         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8290         arguments and handle "atom", "quoted" and "literal" string here.
8291         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8292         `elmo-imap4-send-command'.
8293         (elmo-imap4-folder-exists-p): Likewise.
8294         (elmo-imap4-create-folder): Likewise.
8295         (elmo-imap4-delete-folder): Likewise.
8296         (elmo-imap4-rename-folder): Likewise.
8297         (elmo-imap4-max-of-folder): Likewise.
8298         (elmo-imap4-check-validity): Likewise.
8299         (elmo-imap4-sync-validity): Likewise.
8300         (elmo-imap4-server-diff): Likewise.
8301         (elmo-imap4-select-folder): Likewise.
8302         (elmo-imap4-copy-msgs): Likewise.
8303         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8304         (elmo-imap4-mark-set-on-msgs): Likewise.
8305         (elmo-imap4-read-part): Likewise.
8306         (elmo-imap4-read-msg): Likewise.
8307         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8308         `elmo-imap4-password' for `elmo-imap4-send-command'.
8309         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8310         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8311         `elmo-imap4-buffer-literal'.
8312         (elmo-imap4-append-msg): Likewise.
8313
8314         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8315         `delete' for removing dead connection from the connection cache.
8316         Move deletion of the process buffer after that.
8317         (elmo-imap4-list): Change `defsubst' to `defun'.
8318         (elmo-imap4-commit): Make error message verbose.
8319         (elmo-imap4-search): Ditto.
8320         (elmo-imap4-list): Ditto.
8321         (elmo-imap4-select-folder): Ditto.
8322         (elmo-imap4-copy-msgs): Ditto.
8323         (elmo-imap4-delete-msg-by-id): Ditto.
8324         (elmo-imap4-append-msg-by-id): Ditto.
8325         (elmo-imap4-append-msg): Ditto.
8326
8327 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8328
8329         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8330         when dired is used on XEmacs.
8331
8332 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8333
8334         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8335         instead of `append'.
8336         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8337         `elmo-plugged-p' directly.
8338         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8339         of `elmo-plugged-p' directly.
8340
8341         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8342         Eliminate unused variable.  Use `memq' for checking a process status.
8343         Use `cons' instead of `append' for updating the connection cache.
8344         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8345         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8346
8347 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8348
8349         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8350         `elmo-imap4-read-point' exactly.
8351
8352         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8353         the local variable `folder' to `mailbox'.
8354         Rename the argument `fld' to `folder'.
8355
8356 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8357
8358         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8359         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8360
8361 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8362
8363         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8364         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8365         (elmo-pop3-uidl-number-hash): Ditto.
8366         (elmo-pop3-size-hash): Ditto.
8367         (elmo-pop3-uidl-done): Ditto.
8368         (elmo-pop3-list-done): Ditto.
8369         (elmo-pop3-connection-get-process): New defmacro.
8370         (elmo-pop3-connection-get-buffer): Ditto.
8371         (elmo-pop3-close-connection): Delete buffer and process.
8372         (elmo-pop3-flush-connection): Don't delete buffer and process.
8373         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8374         Setup UIDL and size hash.
8375         (elmo-pop3-send-command-no-erase): Deleted
8376         (elmo-pop3-send-command): Added optional argument `no-erase'.
8377         (elmo-pop3-parse-uidl-response): New function.
8378         (elmo-pop3-parse-list-response): Set size hash.
8379         (elmo-pop3-list-location): New function.
8380         (elmo-pop3-list-by-uidl-subr): Ditto.
8381         (elmo-pop3-list-by-list): Ditto.
8382         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8383         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8384         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8385         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8386         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8387         Use uidl.
8388         (elmo-pop3-uidl-to-number): New function.
8389         (elmo-pop3-number-to-uidl): Ditto.
8390         (elmo-pop3-number-to-size): Ditto.
8391         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8392         Set number by use of uidl.
8393         (elmo-pop3-msgdb-create-message): Likewise.
8394         Set size, loc-alist in msgdb.
8395         (elmo-pop3-read-msg): Set number by use of uidl.
8396         Added optional argument `msgdb'.
8397         (elmo-pop3-delete-msg): Ditto.
8398         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8399         (elmo-pop3-commit): Close connection.
8400
8401         * elmo-pipe.el (elmo-pipe-max-of-folder):
8402         Bind `elmo-pop3-use-uidl' as nil.
8403         (elmo-pipe-drain): Ditto.
8404         Call `elmo-commit'.
8405
8406         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8407         (elmo-msgdb-overview-entity-set-size): New defsubst.
8408
8409 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8410
8411         * elmo-vars.el (elmo-use-killed-list): New variable
8412         (Renamed from `elmo-nntp-use-killed-list').
8413         (elmo-nntp-use-killed-list): Eliminated.
8414
8415         * elmo-msgdb.el (elmo-msgdb-expand-path):
8416         Changed expanding msgdb path for elmo-multi.
8417
8418         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8419         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8420         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8421         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8422         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8423         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8424         (toplevel): Deleted time-stamp line.
8425
8426         * elmo2.el (elmo-clear-killed ): Defined as function
8427         (Abolished defining as a backend function).
8428         All other related modules are changed.
8429
8430 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8431
8432         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8433
8434 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8435
8436         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8437
8438 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8439
8440         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8441
8442 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8443
8444         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8445         asynchronous folder check.
8446
8447         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8448
8449         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8450         `elmo-nntp-use-killed-list'.
8451         (elmo-nntp-list-folder): Use killed list.
8452         (elmo-nntp-max-of-folder): Ditto.
8453         (elmo-nntp-msgdb-create): Set killed list.
8454
8455         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8456
8457         * elmo2.el (elmo-clear-killed): New backend function.
8458         All other related modules are changed.
8459
8460 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8461
8462         * elmo-util.el (elmo-imap4-spec-folder): Use
8463         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8464         All callers changed.
8465
8466 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8467
8468         * mmelmo-2.el (initialize-instance):
8469         Use `mime-buffer-entity-buffer-internal' instead of
8470         `mime-entity-buffer'.
8471
8472         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8473         (mime-entity-body): Implemented.
8474         (mime-goto-header-start-point): Deleted.
8475         (mime-goto-body-end-point): Ditto.
8476         (mime-entity-point-min): Ditto.
8477         (mime-entity-point-max): Ditto.
8478         (mime-entity-children): Ditto.
8479         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8480         instead of `mime-entity-buffer'.
8481         (mime-entity-header-buffer): Ditto.
8482         (mime-entity-body-buffer): Ditto.
8483         (mime-write-entity-content): Ditto.
8484
8485         * pldap.el (ldap-static-if): New macro.
8486         (toplevel): Use it instead of `static-if'.
8487
8488 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8489
8490         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8491         included in `attrs' argument.
8492
8493 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8494
8495         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8496
8497         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8498         (ldap-ldif-safe-init-char-regexp): Ditto.
8499         (ldap-ldif-safe-string-regexp): Ditto.
8500         (ldap/ldif-safe-string-p): New macro.
8501         (ldap/ldif-insert-field): Ditto.
8502         (ldap-modify): Use it.
8503         (ldap-add): Ditto.
8504         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8505         (ldap-decode-attribute): Decode only when `attr' is consp.
8506         (ldap-delete): Bind `ret'.
8507         (toplevel): Require 'cl at compile time.
8508         Removed (require 'poe) and (require 'std11).
8509         (pldap-version): Eliminated.
8510         (ldap-search-basic): Removed auth and dn binding.
8511         (ldap-ldif-field-name-regexp): New constant.
8512         (ldap-ldif-field-head-regexp): Ditto.
8513         (ldap-ldif-next-field-head-regexp): Ditto.
8514         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8515         (ldap/field-end): New function.
8516         (ldap/field-body): Use it.
8517         (ldap/collect-field): Ditto.
8518         (ldap-search-basic): Use `ldap/field-body'.
8519
8520 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8521
8522         * pldap.el (ldap-default-attribute-encoder): New user option.
8523         (ldap/field-body): Decode base64 string.
8524         (ldap/collect-field): Ditto.
8525         (ldap-encode-attribute): New function.
8526         (ldap-add-entries): Use it.
8527         (ldap-modify-entries): Ditto.
8528         (ldap-search-entries): Enclosed decoding function with
8529         `with-temp-buffer' and set as unibyte.
8530         (ldap-search-basic): Set process buffer as unibyte.
8531
8532         * elmo-util.el (elmo-folder-identical-system-p):
8533         Eliminated name space checking.
8534
8535         * pldap.el: New module.
8536         toplevel: Changed condition to detect built-in ldap feature.
8537         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8538         (ldap-add): Added error handling.
8539         (ldap-modify): Ditto.
8540         (ldap-delete): Ditto.
8541
8542 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8543
8544         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8545         Initialize local variables with `let'.  Inline a temporary
8546         variable for the progress percentage.  Sort `setq' to reduce
8547         function call in the while-loop.
8548
8549         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8550         into the conditional branch.
8551
8552 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8553
8554         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8555         Move a conditional out of the while-loop.
8556
8557 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8558
8559         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8560         elmo-msgdb-overview-get-entity-by-number.
8561         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8562         throw.
8563
8564 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8565
8566         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8567         the local variable for a packed number self descriptively.
8568
8569 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8570
8571         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8572         * elmo-localdir.el (elmo-localdir-pack-number): Use
8573         `elmo-msgdb-overview-get-entity' instead of
8574         `elmo-msgdb-overview-get-entity-by-number'.
8575         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8576         (elmo-msgdb-search-overview-entity): Removed.
8577         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8578         by message-id or number.
8579         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8580         instead of `elmo-msgdb-overview-get-entity-by-number'.
8581
8582 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8583
8584         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8585         non-nil, use hash table for overview.
8586         (elmo-hash-maximum-size): New variable.
8587         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8588         (elmo-msgdb-make-overview-hashtb): New function.
8589         (elmo-msgdb-clear-overview-hashtb): New function.
8590         (elmo-clear-hash-val): New macro.
8591         All other related modules are changed.
8592
8593 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8594
8595         * elmo2.el (elmo-move-msgs): If there's other message with
8596         same message-id, don't use cache.
8597
8598 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8599
8600         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8601         number is already packed.
8602
8603 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8604
8605         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8606
8607 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8608
8609         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8610         All other related modules are changed.
8611
8612 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8613
8614         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8615         of refiling failure on Maildir.
8616
8617 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8618
8619         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8620         decoded mime-charset with cache.
8621         (elmo-msgdb-overview-entity-get-from): Ditto.
8622         (elmo-msgdb-overview-entity-get-subject): Ditto.
8623         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8624
8625 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8626
8627         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8628         (elmo-remove-passwd): Fill password with 0 before erase.
8629         * elmo-vars.el (elmo-passwd-life-time): New variable.
8630
8631 \f
8632 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8633
8634         * elmo-cache.el (elmo-buffer-cache-add):
8635         Set message cache buffer as unibyte.
8636
8637 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8638
8639         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8640         become nil.
8641
8642 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8643
8644         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8645         when display is finished.
8646         (elmo-nntp-msgdb-create): Ditto.
8647         (elmo-nntp-groups-read-response): Ditto.
8648         (elmo-nntp-retrieve-headers): Ditto.
8649         (elmo-nntp-msgdb-create-message): Ditto.
8650         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8651         (elmo-pop3-msgdb-create-message): Ditto.
8652
8653 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8654
8655         * elmo-maildir.el (elmo-maildir-msgdb-create):
8656         Use `elmo-msgdb-sort-by-date'.
8657
8658 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8659
8660         * elmo2.el (elmo-read-msg-no-cache):
8661         Eliminated arguments after `outbuf'.
8662         Don't use cache even if it exists.
8663         (elmo-read-msg): Don't pass arguments after `outbuf' to
8664         `elmo-read-msg-no-cache'.
8665
8666 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8667
8668         * elmo-archive.el (elmo-archive-list-folders):
8669         Use `file-name-directory' if base folder does not exist.
8670
8671 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8672
8673         * elmo-archive.el (elmo-archive-list-folders): Don't use
8674         `file-name-directory'.
8675
8676 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8677
8678         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8679         If `force' is non-nil, try flushing all operation queues.
8680
8681 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8682
8683         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8684         as-binary-process.
8685
8686 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8687
8688         * elmo-util.el (elmo-display-progress): Fixed.
8689
8690 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8691
8692         * elmo-util.el (elmo-display-progress): New function.
8693         All other related modules are changed.