* modb-legacy.el (elmo-msgdb-append-entity): Execute the process
[elisp/wanderlust.git] / elmo / ChangeLog
1 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
4         when number and message-id are non-nil.
5
6         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
7
8         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
9         conditional steatment.
10         (elmo-pop3-auth-apop): Likewise.
11         (elmo-network-authenticate-session): Likewise.
12
13 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
14
15         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
16         symbol `fill-column'.
17         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
18         decode field value.
19
20         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
21         (elmo-decoded-field-body): Ditto.
22
23 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
24
25         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
26         `tokens' to `params'.
27
28 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
29
30         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
31         working buffer.
32
33 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
34
35         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
36         decide index.
37
38 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
39
40         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
41         Set default value as nil.
42         (toplevel): Register search engines by
43         `elmo-search-register-engine' if there are not defined.
44
45         * elmo.el (autoload): Added autoload setting for
46         `elmo-search-register-engine'.
47
48 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
49
50         * elmo.el (toplevel): `[' is redefined as the prefix of the search
51         folder instead of nmz folder.
52         (elmo-nmz-default-index-path): Added obsolete variable setting.
53         (elmo-nmz-index-alias-alist): Ditto.
54         (elmo-nmz-use-drive-letter): Ditto.
55
56         * elmo-search.el (elmo-search-register-engine): New function.
57
58         * elmo-nmz.el: Removed.
59
60         * elmo-version.el (elmo-version): Up to 2.15.2.
61
62 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
63
64         * elmo-search.el: New file.
65
66 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
67
68         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
69         condition `larger' and `smaller'.
70
71 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
72
73         * elmo-util.el (elmo-safe-filename): Rewrite to replace
74         `"' (double quote) into "_Q_".
75
76 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
77
78         * elmo-net.el (elmo-net-quote-chars): Abolish.
79         (elmo-net-format-quoted): Ditto.
80
81 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
82
83         * elmo.el (elmo-get-folder-function): New variable.
84         (elmo-get-folder): New function.
85         (elmo-folder-rename): Call `elmo-make-folder' with specified
86         mime-charset.
87
88         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
89         `elmo-make-folder'.
90         (elmo-split-subr): Ditto.
91
92         * elmo-multi.el (elmo-folder-initialize): Ditto.
93
94         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
95
96         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
97         (elmo-flag-get-folder): Ditto.
98
99         * elmo-filter.el (elmo-folder-initialize): Ditto.
100
101         * elmo-access.el (elmo-folder-initialize): Ditto.
102         (elmo-access-folder-update-children): Ditto.
103
104         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
105         (elmo-dop-queue-flush): Ditto.
106         (elmo-folder-append-buffer-dop-delayed): Ditto.
107         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
108         mime-charset.
109
110         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
111         instead of `elmo-make-folder'.
112         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
113         destination folder instead of send `elmo-folder-rename-internal'.
114
115         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
116         slot of subfolder instead of create it.
117
118 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
119
120         * elmo-util.el (elmo-collect-separators): New function.
121         (elmo-collect-separators-internal): Ditto.
122         (elmo-collect-trail-separators): Ditto.
123         (elmo-parse-separated-tokens): Ditto.
124         (elmo-parse-separated-tokens-internal): Ditto.
125         (elmo-quote-syntactical-element): Ditto.
126
127         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
128         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
129
130         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
131         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
132         (elmo-nntp-folder-list-subfolders): Quote a user name.
133
134         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
135         (elmo-net-parse-network): Abolish.
136         (elmo-net-folder-set-parameters): New function.
137         (elmo-folder-initialize): Follow the above change.
138
139         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
140         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
141         (elmo-folder-list-subfolders): Use
142         `elmo-quote-syntactical-element' instead of
143         `elmo-net-format-quoted' to quote mailbox and user name.
144
145 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
146
147         * elmo-util.el (elmo-token-valid-p): New function.
148         (elmo-parse-token): Add optional argument `requirement'.
149         (elmo-parse-prefixed-element): Likewise.
150
151         * elmo-net.el (elmo-net-quote-chars): Renamed from
152         `elmo-net-quote-chars-regexp'.
153         (elmo-net-format-quoted): Add optional argument `extra-chars'.
154
155         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
156         by info document. Check token `uidl' is started an alphabet.
157
158         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
159         by info document. Check token `user' is started an alphabet.
160
161         * elmo-imap4.el (elmo-folder-initialize): Ditto.
162         (elmo-folder-list-subfolders): Quote user.
163
164 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
165
166         * elmo-util.el (elmo-quoted-specials-list): New constant.
167         (elmo-quoted-token): New function.
168
169         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
170         (elmo-net-format-quoted): New function.
171         (elmo-net-parse-network): Ditto.
172         (elmo-folder-initialize): Use it.
173
174         * elmo-nntp.el (elmo-folder-initialize): Use
175         `elmo-net-parse-network' to parse network specification instead of
176         `elmo-folder-initialize#elmo-net'.
177
178         * elmo-pop3.el (elmo-folder-initialize): Ditto.
179
180         * elmo-imap4.el (elmo-folder-initialize): Ditto.
181         (elmo-folder-list-subfolders): Quote folder name by
182         `elmo-net-format-quoted'.
183
184 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
185
186         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
187         (elmo-folder-search): Use it.
188
189 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
190
191         * modb-standard.el (modb-standard-loaded-message-id): Use
192         `elmo-msgdb-message-entity-field'.
193
194 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
195
196         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
197         without filename.
198
199 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
200
201         * elmo-util.el (elmo-set-auto-coding): New function.
202         (elmo-object-load): Use it.
203
204 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
205
206         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
207         (elmo-time<): Define as alias of `elmo-time-less-p'.
208         (elmo-time-to-datevec): New function.
209
210         * elmo-date.el (elmo-time-to-days): New function.
211
212 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
213
214         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
215         is not cons cell.
216
217 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
218
219         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
220         parenthesis.
221
222         * elmo-util.el (elmo-map-recursive): New function.
223
224         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
225         (modb-entity-encode-string-recursive): Ditto.
226
227 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
228
229         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
230         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
231         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
232         compare sequence number when last modified time is nil.
233
234 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
235
236         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
237
238         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
239
240 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
241
242         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
243         modification time of the file.
244
245 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
246
247         * elmo-util.el (elmo-condition-optimize): Discriminated against
248         preserved fields, extra fields and the other weight.
249
250 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
251
252         * modb-entity.el (initialize-instance): Define.
253         (modb-entity-handler-mime-charset): New internal function.
254         (modb-standard-entity-set-field): Use it.
255         (elmo-msgdb-message-entity-field): Ditto.
256         (elmo-msgdb-message-entity-field): Ditto.
257
258         * modb.el (elmo-msgdb-match-condition): Rewrite with
259         `elmo-condition-match'.
260         (elmo-msgdb-match-condition-primitive): New function.
261
262         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
263         arguments `flags' and `numbers'.
264         (elmo-msgdb-match-condition-primitive): Abolished (merged to
265         `elmo-msgdb-message-match-condition').
266         (modb-buffer-entity-handler): New class.
267
268         * elmo.el (elmo-folder-search): Optimize condition to use
269         `elmo-condition-optimize'.
270         (elmo-message-buffer-match-condition): New function.
271         (elmo-message-match-condition): Use
272         `elmo-message-buffer-match-condition' instead of
273         `elmo-buffer-field-condition-match'.
274
275         * elmo-util.el (elmo-condition-match): New function.
276         (elmo-condition-optimize): Ditto.
277         (elmo-buffer-field-primitive-condition-match): Abolish.
278         (elmo-buffer-field-condition-match): Ditto.
279
280         * elmo-archive.el (elmo-archive-field-condition-match): Use
281         `elmo-message-buffer-match-condition' instead of
282         `elmo-buffer-field-condition-match'.
283
284 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
285
286         * elmo-flag.el (elmo-global-flags-initialize): Check the
287         existence of the flag directory.
288
289 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
290
291         * elmo-access.el (elmo-folder-initialize): Call
292         `elmo-multi-connect-signals'.
293
294         * elmo-pipe.el (elmo-folder-close): Define.
295
296         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
297         children folders.
298
299         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
300         with target folder.
301
302         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
303         `number'.
304
305         * elmo-multi.el (elmo-message-entity): Don't use return value of
306         `elmo-message-entity-set-number'.
307
308 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
309
310         * modb.el (modb-generic): Added slot `mime-charset'.
311
312         * modb-standard.el (modb-standard): Added slot `overview-handler'.
313         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
314         and `modb-entity-handler-dump-parameters'.
315         (modb-standard-default-entity-handler): Abolish.
316         (elmo-msgdb-message-entity-handler): Save created handler by
317         instance slot.
318
319         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
320         (modb-entity-handler-list-parameters): New method.
321         (modb-entity-handler-equal-p): New function.
322         (modb-entity-handler-dump-parameters): Ditto.
323         (modb-entity-parse-address-string): Encode return value.
324         (modb-entity-make-address-string): Decode argument value.
325         (modb-entity-decode-string-recursive): New function.
326         (modb-entity-encode-string-recursive): Ditto.
327         (modb-standard-entity-normalizer): Set to encode field value.
328         (modb-standard-entity-specializer): Follow the above change.
329         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
330         mime-charset of handler.
331         (elmo-msgdb-message-entity-field): Ditto.
332         (elmo-msgdb-copy-message-entity): Fixed reference to internal
333         structure.
334         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
335
336         * elmo.el (elmo-folder): Added slot `mime-charset'.
337         (elmo-make-folder): Added argument `mime-charset'.
338         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
339         `mime-charest'.
340
341         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
342         (elmo-make-msgdb): Likewise.
343
344         * elmo-internal.el (elmo-internal-folder-initialize): Call
345         `luna-make-entity' with :mime-charset parameter.
346
347 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
348
349         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
350         encoded words in `from' and `subject' field.
351
352 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
353
354         * modb.el (elmo-msgdb-message-field): Add argument `type'.
355         (elmo-msgdb-match-condition): Get handler from entity instead of
356         msgdb.
357
358         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
359         (modb-standard-load-entity): Treat new file format.
360         (modb-standard-save-entity-1): Save as new file format.
361         (modb-standard-save-entity): Split messages into section here.
362         (elmo-msgdb-message-field): Follow the API change.
363         (modb-standard-default-entity-handler): New internal variable.
364         (elmo-msgdb-message-entity-handler): Define.
365
366         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
367         to `elmo-vars.el'.
368         (modb-entity-field-extractor-alist): New user option.
369         (elmo-msgdb-message-entity-field): Removed argument `decode' and
370         added argument `type'.
371         (elmo-msgdb-copy-message-entity): Add optional argument
372         `make-handler'.
373         (modb-set-field-converter): New function.
374         (modb-convert-field-value): Ditto.
375         (modb-entity-string-decoder): Ditto.
376         (modb-entity-string-encoder): Ditto.
377         (modb-entity-parse-date-string): Ditto.
378         (modb-entity-make-date-string): Ditto.
379         (modb-entity-mime-decoder): Ditto.
380         (modb-entity-mime-encoder): Ditto.
381         (modb-entity-address-list-decoder): Ditto.
382         (modb-entity-address-list-encoder): Ditto.
383         (modb-entity-parse-address-string): Ditto.
384         (modb-entity-make-address-string): Ditto.
385         (modb-entity-create-field-indices): Ditto.
386         (modb-legacy-entity-field-slots): New constant.
387         (modb-legacy-entity-field-indices): Ditto.
388         (modb-legacy-entity-normalizer): New variable.
389         (modb-legacy-entity-specializer): Ditto.
390         (modb-legacy-entity-field-index): New macro.
391         (modb-legacy-entity-set-field): New function.
392         (modb-legacy-make-message-entity): Rewrite.
393         (elmo-msgdb-create-message-entity-from-buffer): Use
394         `elmo-msgdb-get-references-from-buffer'. Use
395         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
396         Use `modb-legacy-entity-set-field' instead of
397         `elmo-msgdb-message-entity-set-field'.
398         (elmo-msgdb-message-entity-field): Rewrite.
399         (elmo-msgdb-message-entity-set-field): Ditto.
400         (elmo-msgdb-copy-message-entity): Make new entity by
401         `make-handler' if it specified.
402         (elmo-msgdb-message-match-condition): Define a method of
403         `modb-entity-handler' and follow the API change.
404         (modb-standard-entity-handler): New class.
405         (modb-entity-extract-ml-info-from-x-sequence): New function.
406         (modb-entity-extract-ml-info-from-subject): Ditto.
407         (modb-entity-extract-ml-info-from-return-path): Ditto.
408         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
409         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
410         (modb-entity-extract-mailing-list-info): Ditto.
411         (modb-entity-extract-mailing-list-info-functions): New variable.
412
413         * elmo.el (elmo-message-field): Add optional argument `type'.
414
415         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
416         from `modb-entity.el'.
417
418         * elmo-util.el (elmo-object-load): Decode by coding-system from
419         `set-auto-coding-function'.
420         (elmo-object-save): Use `detect-mime-charset-region' and add
421         coding cookie if encode.
422         (elmo-msgdb-get-references-from-buffer): New function.
423         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
424
425         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
426
427         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
428         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
429         instead of `shimbun-make-header' and follow the API change.
430         (elmo-shimbun-update-overview): Follow the API change.
431         (elmo-map-folder-list-message-locations): Ditto.
432
433         * elmo-pipe.el (elmo-message-field): Ditto.
434
435         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
436         Ditto.
437
438         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
439
440         * elmo-multi.el (elmo-message-field): Ditto.
441
442         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
443         (elmo-msgdb-sort-by-date): Ditto.
444         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
445         `elmo-message-entity-field'.
446         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
447         change.
448         (elmo-msgdb-overview-entity-get-from): Ditto.
449         (elmo-msgdb-overview-entity-get-subject): Ditto.
450         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
451         (elmo-msgdb-overview-entity-get-date): Ditto.
452         (elmo-msgdb-overview-entity-get-to): Ditto.
453         (elmo-msgdb-overview-entity-get-cc): Ditto.
454
455         * elmo-mime.el (elmo-message-mime-entity): Ditto.
456         (elmo-mime-collect-message/partial-pieces): Ditto.
457
458         * elmo-filter.el (elmo-message-field): Ditto.
459
460         * elmo-date.el (elmo-datevec-to-time): New function.
461         (elmo-time-parse-date-string): Ditto.
462         (elmo-time-make-date-string): Ditto.
463         (elmo-time<): Ditto.
464
465         * elmo-version.el (elmo-version): Up to 2.15.1.
466
467 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
468
469         * elmo-flag.el (elmo-global-flags-initialize): Don't include
470         member of elmo-local-flags.
471
472 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
473
474         * elmo-version.el (elmo-version): Up to 2.15.0.
475
476 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
477
478         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
479         `ignore-msgdb' is non-nil.
480
481 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
482
483         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
484         (elmo-condition-in-msgdb-p): Ditto.
485         (elmo-file-field-primitive-condition-match): Ditto.
486         (elmo-file-field-condition-match): Ditto.
487
488         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
489
490 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
491
492         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
493         subdirectories here.
494         (elmo-global-flags-initialize): New function.
495
496         * elmo.el (toplevel): Added autoload setting for
497         `elmo-global-flags-initialize'.
498
499 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
500
501         * elmo.el (message-number-changed): Define new signal.
502         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
503         message-number-changed signal.
504         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
505         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
506         Respect `elmo-pack-number-check-strict'.
507
508 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
509
510         * elmo-signal.el (elmo-connect-signal): Document.
511         (elmo-emit-signal): Ditto.
512         (elmo-emit-signal): It should pass source argument to filter and
513         handler, not slot-source.
514
515 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
516
517         * modb.el (elmo-msgdb-update-entity): New API and define generic
518         implement.
519
520         * modb-standard.el (elmo-msgdb-update-entity): Define.
521
522         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
523         API and define generic implement.
524
525         * elmo.el (update-overview): New singnal.
526
527         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
528         `elmo-msgdb-update-entity' and emit signal `update-overview'.
529         (elmo-message-entity-parent): Define.
530
531         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
532         `update-overview'.
533
534         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
535
536         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
537
538 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
539
540         * elmo.el (elmo-folder-synchronize): Sort the return value of
541         `elmo-list-diff'.
542
543         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
544         list.
545
546 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
547
548         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
549         `default-enable-multibyte-characters'.
550         (elmo-object-load): Use `with-temp-buffer' instead of
551         `elmo-set-work-buf'.
552         (elmo-object-save): Ditto.
553         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
554         `elmo-set-work-buf'.
555         (elmo-decoded-field-body): Ditto.
556
557         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
558
559         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
560         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
561
562         * elmo-version.el (elmo-version): Up to 2.13.3.
563
564 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
565
566         * elmo-util.el (elmo-list-diff): Fix the last change.
567         Reverse order of result lists.
568
569 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
570
571         * modb-standard.el (elmo-msgdb-set-flag): Use
572         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
573         (elmo-msgdb-unset-flag): Ditto.
574
575         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
576         `elmo-list-diff'.
577
578         * elmo-util.el (elmo-list-diff): Rewrite.
579         (elmo-list-diff-nonsortable): New function.
580
581 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
582
583         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
584         `elmo-multibypte-buffer-name'.  All referers are updated.
585
586 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
587
588         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
589         (elmo-mime-entity-fragment-p): New function.
590         (mime-elmo-buffer-entity): Added slot `reassembled'.
591         (elmo-message-mime-entity): Added 4th argument `reassemble'.
592         (elmo-message-mime-entity-internal): New function (renamed from
593         `elmo-message-mime-entity').
594         (elmo-mime-inherit-field-list-from-enclosed): New constant.
595         (elmo-mime-make-reassembled-mime-entity): New function.
596         (elmo-message-reassembled-mime-entity): Ditto.
597         (elmo-mime-collect-message/partial-pieces): Ditto.
598
599 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
600
601         * elmo.el (elmo-message-fetch-string): Disable multibyte.
602
603         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
604         (elmo-with-enable-multibyte): New macro.
605
606         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
607
608 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
609
610         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
611         argument `number'.
612         (elmo-filter-connect-signals): Follow the above change.
613
614 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
615
616         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
617
618         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
619         that only the first flag is used.
620
621 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
622
623         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
624         if available.
625
626 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
627
628         * elmo-signal.el: New file.
629
630         * elmo.el (toplevel): Require elmo-signal.
631         (flag-changing, flag-changed, cache-changed): New signal.
632         (elmo-folder): Remove slog `handlers'.
633         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
634         `elmo-folder-notify-event'.
635         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
636         (elmo-folder-unset-flag): Ditto.
637         (elmo-event-handler): Abolish.
638         (elmo-event-handler-flag-changed): Ditto.
639         (elmo-event-handler-cache-changed): Ditto.
640         (elmo-folder-add-handler): Ditto.
641         (elmo-folder-remove-handler): Ditto.
642         (elmo-folder-notify-event): Ditto.
643
644         * elmo-pipe.el (toplevel): Require elmo-signal.
645         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
646         (elmo-pipe-connect-signals): New function.
647         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
648         (elmo-folder-set-flag): Ditto.
649         (elmo-folder-unset-flag): Ditto.
650         (elmo-message-set-cached): Ditto.
651
652         * elmo-multi.el (toplevel): Require elmo-signal.
653         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
654         (elmo-multi-connect-signals): New function.
655         (elmo-multi-map-numbers): Ditto.
656         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
657         (elmo-message-fetch): Ditto.
658         (elmo-folder-set-flag): Ditto.
659         (elmo-folder-unset-flag): Ditto.
660
661         * elmo-filter.el (toplevel): Require elmo-signal.
662         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
663         (elmo-filter-connect-signals): New function.
664         (elmo-filter-add-flag-count): Ditto.
665         (elmo-message-fetch): Does not call
666         `elmo-filter-folder-countup-message-flags' and
667         `elmo-folder-notify-event'.
668         (elmo-message-set-cached): Ditto.
669         (elmo-folder-set-flag): Ditto.
670         (elmo-folder-unset-flag): Ditto.
671
672         * elmo-version.el (elmo-version): Up to 2.13.2.
673
674 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
675
676         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
677         `flags'.
678
679 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
680
681         * elmo-filter.el (elmo-message-set-cached): Call
682         `elmo-folder-notify-event' with event `cache-changed'.
683
684         * elmo-multi.el (elmo-message-set-cached): Ditto.
685
686         * elmo-pipe.el (elmo-message-set-cached): Ditto.
687
688 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
689
690         * elmo.el (elmo-folder-encache): Abolish.
691
692 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
693
694         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
695         (elmo-folder-next-message-number-dop): Return appropriate negative
696         integer.
697
698 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
699
700         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
701         clearing pending operations.
702         (elmo-folder-next-message-number-dop): Return appropriate negative
703         integer.
704
705 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
706
707         * elmo.el (toplevel): Added autoload setting for `md5'.
708         (elmo-msgdb-path-encode-threshold): New user option.
709         (elmo-folder-msgdb-path): Encode msgdb path if its length is
710         longer than `elmo-msgdb-path-encode-threshold'.
711
712         * elmo-flag.el (elmo-global-mark-migrate): Use
713         `elmo-folder-expand-msgdb-path' instead of
714         `elmo-folder-msgdb-path'.
715
716 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
717
718         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
719         element of the difference is nil.
720
721 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
722
723         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
724         to the check logic of file systems which are weak in colon character.
725
726 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
727
728         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
729
730 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
731
732         * elmo-maildir.el (elmo-maildir-move-file): New function.
733         (elmo-folder-append-buffer): Use it.
734         (elmo-folder-append-messages): Ditto.
735         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
736
737         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
738         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
739
740         * elmo-maildir.el (elmo-maildir-separator): New user option.
741         (elmo-maildir-adjust-separator): New macro.
742         (elmo-maildir-list-location): Use it.
743         (elmo-maildir-update-current): Ditto.
744         (elmo-maildir-set-mark): Ditto.
745         (elmo-maildir-delete-mark): Ditto.
746         (These changes are based on Hiroya Murata's patch [wl: 13437])
747
748 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
749
750         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
751
752 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo-flag.el (elmo-flag-valid-p): Simplify.
755         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
756         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
757
758 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
759
760         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
761         Use `with-temp-buffer'.
762
763 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
764
765         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
766
767         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
768         `wl-read-search-condition').
769         (elmo-read-search-condition-internal): Likewise.
770
771         * elmo-flag.el (elmo-flag-char-regexp): New constant.
772         (elmo-flag-valid-p): New function.
773         (elmo-folder-initialize): Check flag name is valid.
774
775 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
776
777         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
778         delimiter to obtain root mailbox itself.
779
780 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
781
782         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
783         type mismatch.
784
785 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
786
787         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
788         as t.
789
790 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
791
792         * elmo-shimbun.el (toplevel): Require cl at compile.
793
794         * elmo-nntp.el (toplevel): Ditto.
795
796         * elmo-nmz.el (toplevel): Ditto.
797
798         * elmo-multi.el (toplevel): Ditto.
799
800         * elmo-file.el (toplevel): Ditto.
801
802         * elmo-dop.el (toplevel): Ditto.
803
804         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
805
806 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
807
808         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
809         as nil.
810
811         * elmo.el (elmo-message-fetch): Return t even when the output buffer
812         size of elmo-message-fetch-internal is 0 byte.
813
814 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
815
816         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
817
818 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
819
820         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
821         always plugged.
822
823 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
824
825         * elmo-maildir.el (elmo-map-message-fetch): Call
826         `elmo-map-folder-set-flag'.
827
828         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
829         (elmo-message-fetch): Merge from
830         `elmo-message-fetch-with-cache-process'.
831
832         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
833         (elmo-message-fetch): Define.
834
835         * elmo-nntp.el (elmo-message-fetch): Renamed from
836         `elmo-message-fetch-with-cache-process'.
837
838         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
839         (elmo-message-fetch): Define.
840
841         * elmo-util.el (elmo-condition-parse-primitive): Downcase
842         search-key.
843
844         * elmo-shimbun.el (shimbun-mua-search-id): Use
845         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
846         (elmo-shimbun-folder-shimbun-header): Ditto.
847         (elmo-shimbun-get-headers): Ditto.
848         (elmo-shimbun-update-overview): Ditto.
849
850         * elmo-pipe.el (elmo-folder-detach-messages): Define.
851
852         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
853         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
854
855 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
856
857         * elmo.el (elmo-message-fetch): Unset unread flag on server when
858         message is cached.
859         (elmo-message-fetch-string): Fixed argument.
860
861 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
862
863         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
864         exchange order of arguments `section' and `unread'.
865         (elmo-message-encache): Follow the API change.
866         (elmo-message-match-condition): Ditto.
867         (elmo-generic-folder-append-messages): Ditto.
868         (elmo-message-fetch-string): New function.
869
870         * elmo-split.el (elmo-split-subr): Ditto.
871
872         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
873
874         * elmo-pipe.el (elmo-message-fetch): Ditto.
875
876         * elmo-multi.el (elmo-message-fetch): Ditto.
877
878         * elmo-mime.el (elmo-message-mime-entity): Ditto.
879
880         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
881
882         * elmo-filter.el (elmo-message-fetch): Ditto.
883
884         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
885
886         * elmo-imap4.el (mime-imap-location-section-body): Use
887         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
888         follow the API change.
889
890 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
891
892         * elmo-access.el: New file.
893
894         * elmo-null.el: Ditto.
895
896         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
897
898 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
899
900         * elmo-net.el (elmo-network-session-idle-timeout): New option.
901         (elmo-network-session): New attribute `last-accessed'.
902         (elmo-network-get-session): Discard network cache if elapsed time
903         since last-accessed is larger than elmo-network-session-idle-timeout.
904
905 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
906
907         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
908         and added `number', `require-entireness'.
909         (elmo-find-fetch-strategy): Rewrite.
910         (elmo-message-fetch): Unset `unread' flag when argument unread is
911         non-nil.
912
913         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
914
915         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
916         (elmo-message-fetch): Notify event `flag-changed'.
917
918         * elmo-pipe.el: Likewise.
919
920         * elmo-mime.el (elmo-mime-entity): New class.
921         (elmo-mime-entity-display-p): New generic function.
922         (elmo-mime-entity-display): Ditto.
923         (elmo-mime-entity-display-as-is): Ditto.
924         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
925         elmo-mime-entity.
926         (elmo-make-mime-message-location): Removed.
927         (elmo-mime-message-display): Ditto.
928         (elmo-mime-display-as-is): Ditto.
929         (elmo-message-mime-entity): New function.
930
931         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
932
933         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
934         change.
935         (elmo-message-fetch): Re-count flagged message number and notify
936         event `flag-changed'.
937
938         * elmo-version.el (elmo-version): Up to 2.13.1.
939
940 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
941
942         * elmo-filter.el (elmo-message-field): Define.
943         (elmo-message-set-field): Ditto.
944
945 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
946
947         * elmo.el (elmo-message-set-cached): Call
948         `elmo-folder-notify-event' with cache-changed.
949         (elmo-event-handler-cache-changed): New generic function.
950
951 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
952
953         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
954         instead of elmo-add-name-to-file.
955         (elmo-folder-append-messages): Ditto.
956
957 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
958
959         * elmo.el (elmo-folder-update-threshold): Add nil to range.
960
961 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
962
963         * elmo-version.el (elmo-version): Up to 2.13.0.
964
965         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
966         `auto'.
967
968         * modb-standard.el (modb-standard-economize-entity-size): Changed
969         default value to `t'.
970
971         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
972         `standard'.
973
974         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
975         after parsing greeting string.
976
977 2004-11-23  Daishi Kato <daishi@axlight.com>
978
979         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
980         New user option.
981         (elmo-spam-spamoracle-call): Use it.
982
983 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
984
985         * elmo.el (elmo-message-accessible-p): Message in dop spool
986         is accessible.
987
988 2004-11-23  Daishi Kato <daishi@axlight.com>
989
990         * elsp-spamoracle.el: New file.
991
992 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
993
994         * elmo.el (elmo-message-flags-for-append): New function.
995         (elmo-generic-folder-append-messages): Use it.
996
997         * elmo-split.el (elmo-split-subr): Ditto.
998
999         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1000         `flags' and use elmo-folder-append-buffer instead of
1001         write-region-as-binary.
1002         (elmo-dop-filter-pending-messages): New function.
1003         (elmo-folder-append-buffer-dop): Call
1004         elmo-dop-spool-folder-append-buffer with `flag'.
1005         (elmo-folder-set-flag-dop): Filter messages by
1006         elmo-dop-filter-pending-messages.
1007         (elmo-folder-unset-flag-dop): Ditto.
1008         (elmo-folder-append-buffer-dop-delayed): Use
1009         elmo-message-flags-for-append to get flags of the message and
1010         simplify.
1011
1012 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1013
1014         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1015
1016 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1017
1018         * elmo.el (elmo-folder): Added handlers slot.
1019         (elmo-event-handler): New class.
1020         (elmo-event-handler-flag-changed): New API.
1021         (elmo-folder-add-handler): New function.
1022         (elmo-folder-remove-handler): Ditto.
1023         (elmo-folder-notify-event): Ditto.
1024         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1025         `flag-changed'.
1026         (elmo-folder-unset-flag): Ditto.
1027
1028         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1029         (elmo-folder-unset-flag): Ditto.
1030
1031         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1032         (elmo-folder-unset-flag): Ditto.
1033
1034         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1035         (elmo-folder-unset-flag): Ditto.
1036
1037         * elmo-version.el (elmo-version): Up to 2.11.33.
1038
1039 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1040
1041         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1042
1043 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1044
1045         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1046
1047         * elmo-flag.el (elmo-folder-unset-flag): Define.
1048         (elmo-global-flag-detach): Do process when the flag is not target
1049         flag.
1050
1051 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1052
1053         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1054         variable.
1055         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1056
1057 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1058
1059         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1060         function.
1061         (elmo-folder-delete-messages): Detach messages before delete
1062         messages from target folder.
1063         (elmo-folder-detach-messages): Set updated number-list to slot.
1064
1065 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1066
1067         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1068
1069 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1070
1071         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1072
1073 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1074
1075         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1076         internal use only).
1077         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1078         not modified.
1079         (elmo-folder-delete-messages): Define.
1080         (elmo-folder-move-messages): Don't call
1081         `elmo-folder-detach-messages'.
1082         (elmo-folder-synchronize): Rewrite.
1083         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1084
1085         * elmo-util.el (elmo-last): New function.
1086         (elmo-set-list): Ditto.
1087         (elmo-number-set-delete-list): Ditto.
1088         (elmo-number-set-delete): Ditto.
1089
1090         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1091
1092         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1093         `elmo-folder-delete-messages' and don't delete location map.
1094         (elmo-folder-detach-messages): Define.
1095
1096         * elmo-imap4.el (elmo-folder-delete): Use
1097         `elmo-folder-delete-messages-internal' instead of
1098         `elmo-folder-delete-messages'.
1099
1100         * elmo-filter.el (elmo-folder-delete-messages): Call
1101         `elmo-folder-detach-messages'.
1102         (elmo-folder-detach-messages): Don't call
1103         `elmo-folder-detach-messages' for target folder.
1104
1105         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1106         message deletion is succeeded.
1107
1108         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1109
1110         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1111         from `elmo-folder-delete-messages'.
1112
1113         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1114
1115         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1116
1117         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1118
1119         * elmo-version.el (elmo-version): Up to 2.11.32.
1120
1121 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1122
1123         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1124         (elmo-global-flag-list): Added obsolete variable setting.
1125
1126         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1127
1128         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1129         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1130         `elmo-mime-display-header-analysis' is nil.
1131
1132         * elmo-flag.el (elmo-global-flags): Renamed from
1133         `elmo-global-flag-list' (All other related portions are changed).
1134         (elmo-local-flags): New variable.
1135         (elmo-local-flag-p): New function.
1136         (elmo-global-flag-set-internal): Cause an error when flag is not
1137         global.
1138
1139 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1140
1141         * elmo-util.el (elmo-concat-path): Treat empty path.
1142
1143 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1146         field-or-fields).
1147         (elmo-split-address-match): Ditto.
1148         (elmo-split-equal): Ditto.
1149         (elmo-split-match): Ditto.
1150
1151 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1152
1153         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1154         (elmo-generic-folder-append-messages): If src message exists but
1155         has no flag, pass (read) for the FLAG argument of
1156         `elmo-folder-append-buffer'. Otherwise, pass nil.
1157
1158         * elmo-split.el (elmo-split-subr): Likewise.
1159
1160         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1161
1162         * elmo-multi.el (elmo-message-flags): Ditto.
1163
1164         * elmo-filter.el (elmo-message-flags): Ditto.
1165
1166         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1167         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1168         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1169         
1170 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1171
1172         * elmo-split.el (elmo-split-rule): Update comment.
1173         (elmo-split-address-equal): Allow 2nd argument to be a list.
1174         (elmo-split-address-match): Ditto.
1175         (elmo-split-equal): Ditto.
1176         (elmo-split-match): Ditto.
1177
1178 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1179
1180         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1181         (elmo-folder-append-msgdb): Don't treat `read'.
1182         (elmo-message-flags): Don't return `read'.
1183
1184         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1185         (elmo-folder-unset-read-delayed): Ditto.
1186
1187         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1188
1189 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1190
1191         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1192         deletion.
1193
1194 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1195
1196         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1197         header.
1198
1199 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1200
1201         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1202         here.
1203         (elmo-msgdb-save): Bind inhibit-quit.
1204         (modb-standard-message-entity): Ditto.
1205
1206 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1207
1208         * elmo-database.el: No need to require elmo-msgdb.
1209
1210 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1211
1212         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1213         instead of `elmo-list-subdirectories'.
1214
1215 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1216
1217         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1218         group entry.
1219         (elmo-folder-exists-p): "[" is empty.
1220         (elmo-folder-list-subfolders): Define.
1221         (elmo-folder-have-subfolder-p): Ditto.
1222
1223 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1224
1225         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1226
1227 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1228
1229         * elmo-filter.el (elmo-folder-local-p): Define.
1230
1231 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1232
1233         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1234         when entity is garbaged.
1235         (modb-standard-save-entity-1): Don't modify the original entity.
1236
1237 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1238
1239         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1240
1241 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1242
1243         * elmo.el (elmo-strict-folder-diff): Use
1244         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1245
1246 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1247
1248         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1249         (elmo-msgdb-message-number): Ditto.
1250         (elmo-msgdb-message-field): Ditto.
1251
1252         * modb-standard.el (modb-standard-economize-entity-size): New user
1253         option.
1254         (modb-standard-loaded-message-id): New inline function.
1255         (modb-standard-load-entity): Use it.
1256         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1257         throw message-id string away.
1258         (elmo-msgdb-flag-available-p): Define.
1259         (elmo-msgdb-message-number): Ditto.
1260         (elmo-msgdb-message-field): Ditto.
1261
1262         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1263         (suppoted -> supported).
1264         (modb-legacy-supported-flag-p): Ditto.
1265         (elmo-msgdb-set-flag): Ditto.
1266         (elmo-msgdb-unset-flag): Ditto.
1267         (elmo-msgdb-flag-available-p): Define.
1268
1269         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1270         is `t', treat it as legacy entity.
1271         
1272         * elmo.el (elmo-message-flag-available-p): New generic function.
1273         (elmo-message-number): Ditto.
1274         (elmo-message-field): Use `elmo-msgdb-message-field'.
1275
1276         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1277
1278         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1279         (elmo-message-number): Ditto.
1280
1281         * elmo-multi.el (elmo-message-number): Define.
1282         (elmo-message-flag-available-p): Ditto.
1283
1284         * elmo-filter.el (elmo-message-flag-available-p): Define.
1285         (elmo-message-number): Ditto.
1286
1287         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1288         (elmo-folder-initialize): Load `max-number'.
1289         (elmo-folder-commit): Save it.
1290         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1291         (elmo-global-flag-set-internal): Set up max-number slot.
1292
1293 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1294
1295         * elmo-version.el (elmo-version): Up to 2.11.31.
1296
1297 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1298
1299         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1300         unibyte string of the current buffer for the argument of `md5'
1301         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1302
1303 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1304
1305         * modb-legacy.el (modb-legacy-flag-list): New constant.
1306         (modb-legacy-suppoted-flag-p): New internal function.
1307         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1308         (elmo-msgdb-unset-flag): Ditto.
1309
1310 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1311
1312         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1313
1314         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1315         from msgdb.
1316
1317 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1318
1319         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1320         (follow the API change).
1321
1322         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1323
1324 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1325
1326         * modb-standard.el (modb-standard-digest-flags): Abolish.
1327         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1328
1329         * elmo-vars.el (elmo-digest-flags): New variable.
1330         (elmo-preserved-flags): Moved from elmo-flag.el.
1331
1332         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1333         (elmo-imap4-flag-to-imap-criteria): Ditto.
1334         (elmo-imap4-folder-list-flagged): Use it.
1335
1336         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1337
1338         * elmo.el (elmo-folder-count-flags): Changed return value.
1339
1340         * elmo-flag.el (elmo-preserved-flags): New variable.
1341         (elmo-get-global-flags): Use it.
1342
1343         * modb-standard.el (modb-standard-digest-flags): New variable.
1344         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1345         Changed behavior of `any'.
1346
1347         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1348         which are defined the Internet draft
1349         (draft-melnikov-imap-keywords-03.txt).
1350         (elmo-imap4-flags-to-imap): New function.
1351         (elmo-folder-append-buffer): Use it.
1352
1353         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1354         in the docstring.
1355
1356         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1357         avoid the bug of Emacs 21.3.
1358
1359 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1360
1361         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1362         function find-coding-system does not exist.
1363
1364 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1365
1366         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1367         parsing.
1368
1369 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1370
1371         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1372         response codes.
1373
1374 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1375
1376         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1377         (elmo-network-close-session): Follow the changes in
1378         `elmo-pop3-read-response'.
1379         (elmo-pop3-auth-user): Ditto.
1380         (elmo-pop3-auth-apop): Ditto.
1381         (elmo-network-initialize-session): Ditto.
1382         (elmo-network-authenticate-session): Ditto.
1383         (elmo-network-setup-session): Ditto.
1384         (elmo-folder-status): Ditto.
1385         (elmo-message-fetch-plugged): Ditto.
1386         (elmo-pop3-delete-msg): Ditto.
1387
1388 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1389
1390         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1391         on failure.
1392
1393 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1394
1395         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1396         style.
1397         (elmo-bind-directory): Ditto.
1398
1399 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1400
1401         * elmo.el (elmo-folder-append-messages): Note on return value.
1402         * elmo-archive.el (elmo-folder-append-messages): Don't return
1403         message numbers which could not be appended.
1404
1405 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1406
1407         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1408
1409 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1410
1411         * elmo-version.el (elmo-version): Up to 2.11.30.
1412
1413 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1414
1415         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1416         `mask'.
1417
1418         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1419
1420         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1421         (elmo-multi-split-numbers): Add elmo-folder object into each
1422         element of return value at first.
1423         (elmo-folder-delete-messages): Follow the above change.
1424         (elmo-folder-detach-messages): Ditto.
1425
1426         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1427         number which is synchronized in target folder.
1428
1429 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1430
1431         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1432         Change default value to symbol `all'.
1433         (elmo-map-message-fetch): Change condition to update overview
1434         follow the above.
1435
1436 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1437
1438         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1439         behavior to update overview.
1440         (elmo-shimbun-update-overview-folder-list): Note it.
1441
1442 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1443
1444         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1445         recursive call.
1446
1447 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1448
1449         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1450         buffer-disable-undo, it is unnecessary.
1451         (elmo-spam-register-good-messages): Ditto.
1452
1453         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1454         Ditto.
1455
1456         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1457
1458 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1459
1460         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1461         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1462         elmo-set-buffer-multibyte.
1463         (elmo-object-load): Ditto.
1464         (elmo-save-buffer): Ditto.
1465         (elmo-delete-char): Ditto.
1466         (elmo-file-field-primitive-condition-match): Ditto.
1467         (elmo-mime-string): Ditto.
1468
1469         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1470         (elmo-archive-field-condition-match): Ditto.
1471
1472         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1473
1474         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1475
1476         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1477         (elmo-nntp-msgdb-create-message): Ditto.
1478
1479         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1480
1481         * elmo.el (elmo-message-match-condition): Ditto.
1482         (elmo-message-match-condition): Ditto.
1483
1484         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1485         Ditto.
1486
1487         * elmo-version.el (elmo-version): Up to 2.11.29.
1488
1489         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1490         (elsp-header): New backend.
1491
1492         * elmo-util.el (elmo-decoded-field-body): New function.
1493
1494 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1495
1496         * elmo-version.el (elmo-version): Up to 2.11.28.
1497
1498 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1499
1500         * elmo-filter.el: Rewrite.
1501
1502         * elmo-version.el (elmo-version): Up to 2.11.27.
1503
1504 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1505
1506         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1507         msgdb path for the localdir folder with absolute path.
1508
1509         * utf7.el: Synch up with latest gnus/utf7.el;
1510         Modified for latest Emacs.
1511
1512 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1513
1514         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1515         shimbun backend couldn't open.
1516
1517 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1518
1519         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1520         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1521         when a destination folder is a filter folder.
1522
1523 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1524
1525         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1526         (elmo-generic-folder-append-messages): Call elmo-message-flags
1527         with argument `msgid'.
1528
1529         * elmo-split.el (elmo-split-subr): Ditto.
1530
1531         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1532
1533         * elmo-multi.el (elmo-message-flags): Ditto.
1534
1535 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1536
1537         * elmo.el (elmo-folder): Add new slot `flag-table'.
1538         (elmo-folder-flag-table): New API.
1539         (elmo-folder-close-flag-table): Ditto.
1540         (elmo-folder-preserve-flags): New function.
1541         (elmo-generic-folder-append-messages): Use
1542         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1543         Flag of a non-registered message, it sets to nil.
1544         Does not set flag to flag-table.
1545
1546         * elmo-maildir.el (elmo-folder-append-buffer): Use
1547         `elmo-folder-preserve-flags'.
1548         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1549         `elmo-folder-close-flag-table'.
1550
1551         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1552         (elmo-archive-folder-append-buffer): Use
1553         `elmo-folder-preserve-flags'.
1554
1555         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1556
1557         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1558
1559         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1560         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1561         `elmo-folder-close-flag-table'.
1562
1563         * elmo-version.el (elmo-version): Up to 2.11.26.
1564
1565 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1566
1567         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1568
1569         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1570         md5's 4th and 5th argument (non-existent in flim one).
1571
1572 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1573
1574         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1575         message, It sets to nil.
1576
1577 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1578
1579         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1580         list is non-nil.
1581
1582 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1583
1584         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1585
1586         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1587
1588         * elmo-util.el (elmo-uniq-sorted-list): New function.
1589         (elmo-make-number-list): Ditto.
1590         (elmo-number-set-to-number-list): Use elmo-make-number-list
1591         and don't use nreverse.
1592
1593 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1594
1595         * elmo-version.el (elmo-version): Up to 2.11.25.
1596
1597 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1598
1599         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1600         field not exists in message, Use md5 message digest of header.
1601
1602 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1603
1604         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1605         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1606         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1607         * elmo-split.el (elmo-split-subr): Check return value of
1608         elmo-folder-append-buffer.
1609
1610         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1611         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1612
1613         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1614         message-id.
1615
1616 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1617
1618         * elmo-split.el (elmo-split-subr): Append message with flag.
1619
1620         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1621         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1622         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1623
1624 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1625
1626         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1627         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1628         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1629
1630 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1631
1632         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1633         with a function call of `process-buffer'.  All callers are updated.
1634         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1635         Remove redundant `set-buffer' in a while loop.
1636
1637 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1638
1639         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1640         calls.
1641
1642 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1643
1644         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1645         elsp-spamfilter-register-buffer-internal with current buffer.
1646         (elmo-spam-register-spam-buffer): Ditto.
1647         (elmo-spam-register-good-buffer): Ditto.
1648
1649 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1650
1651         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1652         if it is not contained in the response(A workaround for courier-imap).
1653
1654 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1655
1656         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1657         parenthesis.
1658
1659 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1660
1661         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1662         range.
1663
1664 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1665
1666         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1667         of nconc.
1668
1669         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1670         argument handler.
1671         (elmo-msgdb-message-match-condition): Follow the change above.
1672
1673 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1674
1675         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1676         folder name.
1677
1678 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1679
1680         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1681
1682 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1683
1684         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1685
1686 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1687
1688         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1689         not found.
1690
1691 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1692
1693         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1694         value.
1695         (elmo-file-command-argument): Undo last change for cygwin.
1696         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1697         Don't return nil.
1698         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1699
1700 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1703         value returned from elmo-file-find is nil.
1704
1705 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1706
1707         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1708         to elmo-vars.el.
1709
1710         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1711         instead of insert-file-contents-as-binary.
1712         (elmo-message-set-field): New generic function.
1713
1714         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1715         behavior change on `split-string'.
1716
1717         * elmo-file.el (elmo-file-find): New function.
1718         (elmo-file-command): New user option.
1719         (elmo-file-command-argument): Ditto.
1720         (elmo-file-fetch-max-size): Ditto.
1721         (elmo-file-detect-format): New function.
1722         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1723         Use elmo-file-detect-format.
1724         (elmo-map-folder-list-message-locations): Don't treat directories.
1725
1726 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1727
1728         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1729         (elmo-passwd-alist-clear): Shred password before clear.
1730         (elmo-remove-passwd): Remove all mached pair.
1731
1732 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1733
1734         * elmo.el (elmo-folder-synchronize): Fix description of the return
1735         value.
1736
1737 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1738
1739         * elmo.el (elmo-message-fetch-bodystructure): New method.
1740         (elmo-message-fetch-bodystructure): Define default.
1741
1742         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1743         elmo-message-fetch-bodystructure.
1744         (elmo-message-fetch-bodystructure): Define.
1745
1746         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1747
1748 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1749
1750         * elmo-filter.el (elmo-message-folder): Define.
1751
1752 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1753
1754         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1755         elmo-delete-cr-buffer.
1756
1757         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1758
1759         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1760
1761         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1762
1763         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1764         type seems to be a text.
1765
1766 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1767
1768         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1769         (elmo-spam-register-good-buffer): Ditto.
1770         (elmo-spam-spamassassin-register-messages): Ditto.
1771
1772         * elmo-util.el (elmo-string-member-ignore-case): Define with
1773         static-cond.
1774
1775 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1776
1777         * elmo.el (elmo-folder-type): Undo last change.
1778
1779         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1780
1781         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1782         warnings.
1783
1784         * elmo-file.el: New file.
1785         
1786         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1787
1788         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1789         variable.
1790         (elmo-spam-spamassassin-register-messages): New inline function.
1791         (elmo-spam-register-spam-messages): Define.
1792         (elmo-spam-register-good-messages): Ditto.
1793
1794         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1795         Fixed typo.
1796
1797         * elmo.el (toplevel): Added autoload setting for
1798         `elmo-get-global-flags'.
1799         (elmo-message-has-global-flag-p): New function.
1800         (elmo-message-set-global-flags): Ditto.
1801         (elmo-folder-type): Improvement for name: format.
1802
1803         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1804         availability of keyword flags.
1805         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1806         (elmo-folder-list-flagged-plugged): Renamed from
1807         elmo-folder-list-flagged-unplugged.
1808         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1809         accept any flag as keyword flag.
1810         (elmo-folder-set-flag-plugged): Accept keyword flags.
1811         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1812
1813         * elmo-flag.el (elmo-get-global-flags): New function.
1814
1815         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1816         folders.
1817
1818         * elmo-version.el (elmo-version): Up to 2.11.24.
1819
1820 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1821
1822         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1823         elmo-multiple-field-body instead of std11-field-body to check all
1824         headers.
1825
1826 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1827
1828         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1829         or "size".
1830
1831 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1832
1833         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1834         unintern is unbound.
1835
1836 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1837
1838         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1839         Protect from infinite loop.
1840
1841 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1842
1843         * elsp-bogofilter.el
1844         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1845         (elmo-spam-bogofilter-register-messages): New internal function.
1846         (elmo-spam-register-spam-messages): Define.
1847         (elmo-spam-register-good-messages): Ditto.
1848
1849 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1850
1851         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1852         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1853         (elmo-spam-bogofilter-call): Fixed the last change.
1854         (elmo-spam-bogofilter-arguments): Ditto.
1855
1856         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1857         Follow the options change of latest bogofilter.
1858
1859         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1860         (elmo-spam-bogofilter-good-switch): Ditto.
1861         (elmo-spam-bogofilter-arguments-alist): New user option.
1862         (elmo-spam-bogofilter-debug): Ditto.
1863         (elmo-spam-bogofilter-call): Renamed from
1864         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1865         is non-nil, insert output in buffer for debug.
1866         (elmo-spam-bogofilter-arguments): New macro.
1867         (elmo-spam-buffer-spam-p): Use it.
1868         (elsp-bogofilter-register-buffer): Ditto.
1869
1870 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1871
1872         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1873         regexp.
1874
1875 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1878         value as "ruby".
1879         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1880         (elmo-spam-bsfilter-program): Set default value as full path for
1881         `bsfilter'.
1882         (elmo-spam-bsfilter-debug): New user option.
1883         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1884         non-nil, insert output in buffer for debug. Fix treating of
1885         argument.
1886
1887 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1888
1889         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1890         `elmo-maildir-flag-specs' element instead of one.
1891         (elmo-map-folder-unset-flag): Ditto.
1892         (Reported by Ken Makimura <macky@astem.or.jp>)
1893
1894         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1895         (elmo-folder-unset-flag-plugged): Ditto.
1896
1897 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1900         to `reads' slot only if `in-msgdb' is nil.
1901
1902 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1905         and complement argument list.
1906
1907 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1908
1909         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1910         instead of elmo-folder-list-flagged.
1911
1912 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1913
1914         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1915
1916         * elsp-bsfilter.el: New file.
1917
1918         * elmo-pipe.el (elmo-folder-list-unreads,
1919         elmo-folder-list-answereds,
1920         elmo-folder-list-importants,
1921         elmo-folder-flag-as-important,
1922         elmo-folder-unflag-important,
1923         elmo-folder-flag-as-read,
1924         elmo-folder-unflag-read,
1925         elmo-folder-flag-as-answered,
1926         elmo-folder-unflag-answered): Remove.
1927         (elmo-folder-set-flag): Define.
1928         (elmo-folder-unset-flag): Ditto.
1929
1930         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1931         (elmo-folder-set-flag): Define.
1932         (elmo-folder-unset-flag): Ditto.
1933         (elmo-folder-list-unreads): Remove.
1934         (elmo-folder-list-flagged): Define.
1935
1936         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1937         (elmo-folder-list-unreads,
1938         elmo-folder-list-importants,
1939         elmo-folder-list-answereds,
1940         elmo-folder-list-unreads-plugged,
1941         elmo-folder-list-importants-plugged,
1942         elmo-folder-list-answereds-plugged): Remove.
1943         (elmo-folder-list-flagged-plugged): New method.
1944         (elmo-folder-unflag-important,
1945         elmo-folder-flag-as-important,
1946         elmo-folder-unflag-read,
1947         elmo-folder-flag-as-read,
1948         elmo-folder-unflag-answered,
1949         elmo-folder-flag-as-answered,
1950         elmo-folder-flag-as-read-unplugged,
1951         elmo-folder-unflag-read-unplugged,
1952         elmo-folder-flag-as-important-unplugged,
1953         elmo-folder-unflag-important-unplugged,
1954         elmo-folder-flag-as-answered-unplugged,
1955         elmo-folder-unflag-answered-unplugged): Remove.
1956         (elmo-folder-set-flag): Define.
1957         (elmo-folder-unset-flag): Ditto.
1958         (elmo-folder-set-flag-unplugged): Ditto.
1959         (elmo-folder-unset-flag-unplugged): Ditto.
1960
1961         * elmo-multi.el (elmo-folder-list-unreads,
1962         elmo-folder-list-answereds,
1963         elmo-folder-list-importants,
1964         elmo-folder-flag-as-important,
1965         elmo-folder-unflag-important,
1966         elmo-folder-flag-as-read,
1967         elmo-folder-unflag-read,
1968         elmo-folder-flag-as-answered,
1969         elmo-folder-unflag-answered): Remove.
1970         (elmo-folder-set-flag): Define.
1971         (elmo-folder-unset-flag): Ditto.
1972
1973         * elmo-map.el (elmo-map-folder-unflag-important,
1974         elmo-map-folder-flag-as-important,
1975         elmo-map-folder-unflag-read,
1976         elmo-map-folder-flag-as-read,
1977         elmo-map-folder-unflag-answered,
1978         elmo-map-folder-flag-as-answered): Remove.
1979         (elmo-map-folder-set-flag): New method.
1980         (elmo-map-folder-unset-flag): Ditto.
1981         (elmo-map-folder-list-unreads,
1982         elmo-map-folder-list-importants,
1983         elmo-map-folder-list-answereds): Remove.
1984         (elmo-folder-list-flagged-internal): Define.
1985         (elmo-map-folder-list-flagged): New method.
1986
1987         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1988         (elmo-map-folder-list-unreads,
1989         elmo-map-folder-list-importants,
1990         elmo-map-folder-list-flagged): Remove.
1991         (elmo-map-folder-list-flagged): Define.
1992         (elmo-map-folder-flag-as-important,
1993         elmo-map-folder-unflag-important,
1994         elmo-map-folder-flag-as-read,
1995         elmo-map-folder-unflag-read,
1996         elmo-map-folder-flag-as-answered,
1997         elmo-map-folder-unflag-answered): Remove.
1998         (elmo-maildir-set-mark-messages): New internal function.
1999         (elmo-map-folder-set-flag): Define.
2000         (elmo-map-folder-unset-flag): Ditto.
2001
2002         * elmo.el (toplevel): Added autoload setting for
2003         `elmo-folder-list-global-flag-messages'.
2004         (elmo-folder-list-unreads,
2005         elmo-folder-list-importants,
2006         elmo-folder-list-answereds): Remove.
2007         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2008         Return a list whitch merged with messages have global flag.
2009         (elmo-folder-list-flagged-internal): New method.
2010         (elmo-folder-unflag-important,
2011         elmo-folder-flag-as-important,
2012         elmo-folder-unflag-read,
2013         elmo-folder-flag-as-read,
2014         elmo-folder-unflag-answered,
2015         elmo-folder-flag-as-answered): Remove.
2016         (elmo-folder-set-flag): New method.
2017         (elmo-folder-unset-flag): Ditto.
2018         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2019         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2020
2021         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2022         (elmo-folder-list-unreads-plugged,
2023         elmo-folder-list-importants-plugged,
2024         elmo-folder-list-answereds-plugged,
2025         elmo-folder-list-flagged-unplugged,
2026         elmo-folder-unflag-important-plugged,
2027         elmo-folder-flag-as-important-plugged,
2028         elmo-folder-unflag-read-plugged,
2029         elmo-folder-flag-as-read-plugged,
2030         elmo-folder-unflag-answered-plugged,
2031         elmo-folder-flag-as-answered-plugged): Remove.
2032         (elmo-folder-set-flag-plugged,
2033         elmo-folder-unset-flag-plugged): Define.
2034
2035         * elmo-flag.el (elmo-folder-initialize): Register to
2036         `elmo-global-flag-list' if flag is not global.
2037         (elmo-folder-append-messages): Set flag to source messages.
2038
2039         * elmo-filter.el (elmo-filter-folder-list-unreads,
2040         elmo-folder-list-unreads,
2041         elmo-filter-folder-list-importants,
2042         elmo-folder-list-importants,
2043         elmo-folder-flag-as-read,
2044         elmo-folder-unflag-read,
2045         elmo-folder-flag-as-important,
2046         elmo-folder-unflag-important,
2047         elmo-folder-flag-as-answered,
2048         elmo-folder-unflag-answered): Remove.
2049         (elmo-folder-set-flag): Define.
2050         (elmo-folder-unset-flag): Ditto.
2051
2052         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2053         elmo-folder-unflag-read-dop,
2054         elmo-folder-flag-as-important-dop,
2055         elmo-folder-unflag-important-dop,
2056         elmo-folder-flag-as-answered-dop,
2057         elmo-folder-unflag-answered-dop): Remove.
2058         (elmo-folder-set-flag-dop,
2059         elmo-folder-unset-flag-dop,
2060         elmo-folder-set-important-delayed,
2061         elmo-folder-unset-important-delayed,
2062         elmo-folder-set-read-delayed,
2063         elmo-folder-unset-read-delayed,
2064         elmo-folder-set-answered-delayed,
2065         elmo-folder-unset-answered-delayed): New function.
2066         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2067         (elmo-dop-queue-method-name-alist): Ditto.
2068
2069         * elmo-version.el (elmo-version): Up to 2.11.23.
2070
2071 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2072
2073         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2074
2075         * elsp-sa.el: New file.
2076
2077 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2078
2079         * modb-standard.el (modb-standard-message-entity): New function.
2080         (elmo-msgdb-message-entity): Use it.
2081
2082 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2083
2084         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2085         behavior when one-level is nil.
2086
2087         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2088
2089         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2090
2091 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2092
2093         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2094         get max number.
2095         (elmo-generic-folder-diff): Ditto.
2096
2097         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2098         (elmo-folder-update-number): Ditto.
2099
2100         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2101         (elmo-folder-next-message-number-dop): Ditto.
2102
2103 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2104
2105         * elmo-filter.el (elmo-folder-msgdb-create): Use
2106         `elmo-message-entity' and `elmo-message-flags' instead of
2107         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2108
2109 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2110
2111         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2112         `if-exists'.
2113
2114 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2115
2116         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2117
2118         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2119
2120         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2121
2122 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2123
2124         * elmo-version.el (elmo-version): Up to 2.11.22.
2125
2126 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2127
2128         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2129
2130 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2131
2132         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2133         if the message dose not exist.
2134
2135 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2136
2137         * elmo-version.el (elmo-version): Up to 2.11.21.
2138
2139 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2140
2141         * modb-standard.el (toplevel): Don't require mime.
2142
2143 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2144
2145         * elsp-bogofilter.el (toplevel): Don't require path-util.
2146         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2147         (elmo-spam-bogofilter-header): Abolish.
2148         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2149         (elmo-spam-bogofilter-args): New user option.
2150         (elsp-bogofilter-call-bogofilter): New internal function.
2151         (elmo-spam-buffer-spam-p): Use it.
2152         (elsp-bogofilter-register-buffer): Renamed from
2153         `elmo-spam-bogofilter-register-buffer';
2154         Use `elsp-bogofilter-call-bogofilter'.
2155         (elmo-spam-register-spam-buffer): Follow the change above.
2156         (elmo-spam-register-good-buffer): Ditto.
2157
2158 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2159
2160         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2161         message-id is nil do nothing.
2162
2163 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2164
2165         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2166         Revival.
2167         (elmo-imap4-session): Removed use-flag slot.
2168         (elmo-imap4-session-select-mailbox): Undo last change.
2169         (elmo-folder-use-flag-p): Use
2170         elmo-imap4-disuse-server-flag-mailbox-regexp.
2171
2172 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2173
2174         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2175         (elmo-imap4-session-select-mailbox): Set it up.
2176         (elmo-folder-use-flag-p): Return value of use-flag slot.
2177
2178 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2179
2180         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2181         message-id is nil.
2182         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2183
2184         * modb-entity.el (elmo-message-entity-handler): Likewise.
2185
2186 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2187
2188         * elmo.el (toplevel): Remove setting of autoloding for
2189         elmo-global-flag-initialize.
2190         (elmo-init): Don't call elmo-global-flag-initialize.
2191         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2192
2193         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2194         (elmo-global-mark-migrate): Don't call it.
2195         (elmo-global-mark-upgrade): Ditto.
2196
2197 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2198
2199         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2200         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2201
2202         * elmo-vars.el (elmo-init-hook): New user option.
2203
2204         * elmo.el (elmo-init): Run the elmo-init-hook.
2205
2206         * elmo-flag.el (elmo-global-mark-migrate): New function.
2207
2208 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2209
2210         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2211         Undo last change (move to elmo-msgdb-unset-flag).
2212         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2213         flag is unset.
2214
2215 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2216
2217         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2218         read flag is set.
2219         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2220         (elmo-msgdb-unset-flag): Ditto.
2221
2222 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2223
2224         * elmo-split.el (elmo-split): Return split message count.
2225
2226 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2227
2228         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2229         is nil.
2230
2231 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2232
2233         * elmo.el (elmo-folder-unflag-important): Call
2234         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2235         a symbol `always'.
2236
2237         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2238         before unset flag.
2239         (elmo-global-flag-detach): Delete the message from flag folder, if
2240         `delete-if-none' is a symbol `always'.
2241
2242 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2243
2244         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2245         `elmo-spam-spamfilter-decode-buffer'.
2246         (elsp-spamfilter-register-buffer-internal): New internal function.
2247         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2248         (elmo-spam-register-spam-buffer): Ditto.
2249         (elmo-spam-register-good-buffer): Ditto.
2250
2251         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2252         change.
2253         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2254         (elmo-spam-register-spam-buffer): Follow the API change.
2255         (elmo-spam-register-good-buffer): Ditto.
2256
2257         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2258         (elmo-split-spam-p): Added argument plist; Call
2259         `elmo-spam-buffer-spam-p' with new argument register.
2260
2261         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2262         `register'.
2263         (elmo-spam-message-spam-p): Ditto.
2264         (elmo-spam-register-spam-buffer): Added optional argument
2265         `restore'.
2266         (elmo-spam-register-good-buffer): Ditto.
2267         (elmo-spam-register-spam-messages): Ditto.
2268         (elmo-spam-register-good-messages): Ditto.
2269
2270 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2271
2272         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2273         register into good corpus.
2274         (elmo-spam-register-good-buffer): Fixed to register into bad
2275         corpus.
2276
2277 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2278
2279         * elmo-version.el (elmo-version): Up to 2.11.20.
2280
2281         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2282         change.
2283
2284         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2285         flag without depending on \Recent flag.
2286
2287 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2288
2289         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2290         (elmo-spam-modified-p): Defined.
2291         (elmo-spam-save-status): Set `modified' slot to nil.
2292         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2293         (elmo-spam-register-good-buffer): Ditto.
2294
2295         * elmo-spam.el (elmo-spam-modified-p): New API.
2296
2297 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2298
2299         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2300         duplicate definition.
2301
2302         * elmo-util.el (elmo-unfold-field-body): New function.
2303         (elmo-msgdb-get-message-id-from-buffer): Use it.
2304
2305         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2306         Fixed the last change; Use elmo-unfold-field-body.
2307
2308 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2309
2310         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2311         Unfold date value.
2312
2313 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2314
2315         * elmo-spam.el (elmo-spam-save-status): New API.
2316
2317         * elsp-spamfilter.el: New file.
2318
2319 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2320
2321         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2322
2323 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2324
2325         * elmo-split.el (elmo-split-spam-p): New function.
2326
2327         * elmo-spam.el: New file.
2328
2329         * elsp-bogofilter.el: Ditto.
2330
2331 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2332
2333         * elmo.el (elmo-folder-next-message-number): New API.
2334         (elmo-folder-next-message-number): Define.
2335         (elmo-message-field): Don't check folder length.
2336
2337         * elmo-net.el (elmo-folder-next-message-number): Define.
2338         (elmo-folder-next-message-number-unplugged): Define.
2339
2340         * elmo-map.el (elmo-folder-next-message-number): Define.
2341         (elmo-folder-delete-messages): Clear hash value.
2342
2343         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2344
2345         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2346         (elmo-folder-delete-messages-dop-delayed): Always return t.
2347
2348         * elmo-version.el (elmo-version): Up to 2.11.19.
2349
2350 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2351
2352         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2353         change.
2354
2355         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2356         identical cons cell into the mark-alist and the hash table.
2357
2358 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2359
2360         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2361         elmo-folder-list-messages with argument `visible-only' as t.
2362
2363         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2364         (elmo-folder-msgdb-create): Check the target folder.
2365
2366 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2367
2368         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2369         `permanentflag' instead of `flags'.
2370         (elmo-folder-open): Ditto.
2371         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2372         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2373         (elmo-folder-use-flag-p): Always return t.
2374         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2375         `permanentflags' does not exist.
2376         (elmo-folder-open): Ditto.
2377
2378 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2379
2380         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2381         is nil.
2382         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2383
2384         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2385         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2386         response.
2387         (elmo-folder-open): Ditto.
2388         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2389         slot of the session includes the flag.
2390         (elmo-imap4-session-flag-available-p): New function.
2391         (elmo-imap4-folder-list-flagged): Ditto.
2392         (elmo-folder-list-unreads-plugged): Use it.
2393         (elmo-folder-list-importants-plugged): Ditto.
2394         (elmo-folder-list-answereds-plugged): Ditto.
2395         (elmo-imap4-search-internal-primitive): Ditto.
2396         (elmo-imap4-folder-list-any-plugged,
2397         elmo-imap4-folder-list-digest-plugged): Abolish.
2398
2399         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2400         if numbers is nil.
2401
2402 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2403
2404         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2405
2406 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2407
2408         * elmo-util.el (elmo-get-hash-val): Simplify.
2409         (elmo-set-hash-val): Rewrite.
2410
2411 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2412
2413         * elmo.el (elmo-folder-list-messages): Append killed messages into
2414         result if `visible-only' is nil and `in-msgdb' is non-nil.
2415
2416         * elmo-util.el (elmo-uniq-list): Added optional argument
2417         `delete-function'.
2418
2419         * modb.el (elmo-msgdb-flag-count): New API.
2420
2421         * modb-standard.el (modb-standard): Added slot flag-count.
2422         (modb-standard-countup-flags): New function.
2423         (modb-standard-load-flag): Call it.
2424         (elmo-msgdb-append): Ditto.
2425         (elmo-msgdb-clear): Clear slot flag-count.
2426         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2427         (elmo-msgdb-unset-flag): Treat `all' flag and call
2428         modb-standard-countup-flags.
2429         (elmo-msgdb-flag-count): Define.
2430         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2431         (elmo-msgdb-delete-messages): Ditto.
2432
2433         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2434         (elmo-msgdb-flag-count): Define.
2435
2436         * elmo.el (elmo-folder-list-messages): Undo last change.
2437         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2438         (elmo-folder-kill-messages): Unset all flags to numbers.
2439
2440         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2441         elmo-folder-kill-messages.
2442
2443         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2444         (elmo-nntp-folder-delete-messages): Abolish.
2445
2446         * elmo-version.el (elmo-version): Up to 2.11.18.
2447
2448 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2449
2450         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2451         (elmo-folder-kill-messages-range): New function.
2452         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2453         instead of elmo-folder-kill-messages-before.
2454
2455 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2456
2457         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2458         elmo-imap4-current-msgdb to decide entity handler.
2459
2460 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2461
2462         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2463
2464         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2465         inline function.
2466         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2467         (elmo-msgdb-overview-entity-set-number,
2468         elmo-msgdb-overview-entity-get-references,
2469         elmo-msgdb-overview-entity-set-references,
2470         elmo-msgdb-overview-entity-get-from-no-decode,
2471         elmo-msgdb-overview-entity-get-from,
2472         elmo-msgdb-overview-entity-set-from,
2473         elmo-msgdb-overview-entity-get-subject,
2474         elmo-msgdb-overview-entity-get-subject-no-decode,
2475         elmo-msgdb-overview-entity-set-subject,
2476         elmo-msgdb-overview-entity-get-date,
2477         elmo-msgdb-overview-entity-set-date,
2478         elmo-msgdb-overview-entity-get-to,
2479         elmo-msgdb-overview-entity-get-cc,
2480         elmo-msgdb-overview-entity-get-size,
2481         elmo-msgdb-overview-entity-set-size,
2482         elmo-msgdb-overview-entity-get-extra,
2483         elmo-msgdb-overview-entity-set-extra,
2484         elmo-msgdb-overview-entity-get-extra-field,
2485         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2486         (elmo-msgdb-make-index): Use
2487         `elmo-msgdb-overview-entity-get-number-internal'.
2488         (elmo-msgdb-clear-index): Ditto.
2489         (elmo-msgdb-append-entity): Ditto;
2490         Use `elmo-msgdb-overview-entity-get-id-internal'.
2491
2492         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2493         elmo-msgdb-overview-entity-set-number,
2494         elmo-msgdb-overview-entity-get-references,
2495         elmo-msgdb-overview-entity-set-references,
2496         elmo-msgdb-overview-entity-get-from-no-decode,
2497         elmo-msgdb-overview-entity-get-from,
2498         elmo-msgdb-overview-entity-set-from,
2499         elmo-msgdb-overview-entity-get-subject,
2500         elmo-msgdb-overview-entity-get-subject-no-decode,
2501         elmo-msgdb-overview-entity-set-subject,
2502         elmo-msgdb-overview-entity-get-date,
2503         elmo-msgdb-overview-entity-set-date,
2504         elmo-msgdb-overview-entity-get-to,
2505         elmo-msgdb-overview-entity-get-cc,
2506         elmo-msgdb-overview-entity-get-size,
2507         elmo-msgdb-overview-entity-set-size,
2508         elmo-msgdb-overview-entity-get-extra,
2509         elmo-msgdb-overview-entity-set-extra,
2510         elmo-msgdb-overview-entity-get-extra-field,
2511         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2512         and rewrote for backward compatibility.
2513
2514 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2515
2516         * elmo.el (elmo-message-entity-number,
2517         elmo-message-entity-set-number,
2518         elmo-message-entity-field,
2519         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2520
2521         * elmo-msgdb.el (elmo-message-entity-number,
2522         elmo-message-entity-set-number,
2523         elmo-message-entity-field,
2524         elmo-message-entity-set-field): Moved from elmo.el.
2525
2526 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2527
2528         * elmo.el (toplevel): Changed definition orders.
2529
2530 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2531
2532         * modb.el (elmo-msgdb-search): New API .
2533         (elmo-msgdb-match-condition): Ditto.
2534
2535         * modb-standard.el (elmo-msgdb-search): Define.
2536
2537         * modb-legacy.el (elmo-msgdb-search): Ditto.
2538
2539         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2540         from elmo-msgdb-match-condition-internal.
2541
2542         * elmo.el (elmo-folder-search-fast): Abolish.
2543         (elmo-folder-search): Use elmo-msgdb-search and
2544         elmo-with-progress-display.
2545
2546         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2547         as msgdb API.
2548
2549         * elmo.el (elmo-folder): Remove slot message-modified and
2550         flag-modified.
2551         (elmo-folder-set-message-modified): Abolish.
2552         (elmo-generic-folder-commit): Follow the change above.
2553         (elmo-folder-synchronize): Ditto.
2554
2555         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2556
2557         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2558
2559         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2560
2561 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2562
2563         * modb-standard.el (modb-standard-make-message-entity,
2564         elmo-msgdb-make-message-entity,
2565         elmo-msgdb-create-message-entity-from-buffer,
2566         elmo-msgdb-message-entity-number,
2567         elmo-msgdb-message-entity-set-number,
2568         elmo-msgdb-message-entity-field,
2569         elmo-msgdb-message-entity-set-field,
2570         elmo-msgdb-copy-message-entity,
2571         elmo-msgdb-match-condition-internal): Remove.
2572
2573         * modb-entity.el: New file (again).
2574
2575         * modb.el (toplevel): Require modb-entity.
2576         (elmo-msgdb-message-entity-handler): New method.
2577
2578         * modb-standard.el (modb-standard-entity-id): Use
2579         elmo-message-entity-handler.
2580         (modb-standard-load-entity): Ditto.
2581         (elmo-msgdb-append-entity): Ditto.
2582         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2583
2584         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2585         elmo-msgdb-decoded-cache-hashtb,
2586         (modb-legacy-make-message-entity,
2587         elmo-msgdb-make-message-entity,
2588         elmo-msgdb-create-message-entity-from-buffer,
2589         elmo-msgdb-message-entity-number,
2590         elmo-msgdb-message-entity-set-number,
2591         elmo-msgdb-message-entity-field,
2592         elmo-msgdb-message-entity-set-field,
2593         elmo-msgdb-copy-message-entity,
2594         elmo-msgdb-match-condition-internal,
2595         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2596
2597         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2598         (elmo-message-entity-set-number): Ditto.
2599         (elmo-message-entity-field): Ditto.
2600         (elmo-message-entity-set-field): Ditto.
2601
2602         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2603
2604         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2605
2606         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2607
2608         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2609         (elmo-nntp-msgdb-create-message): Ditto.
2610
2611         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2612         (elmo-folder-msgdb-create): Add unread flag.
2613
2614         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2615
2616         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2617
2618         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2619
2620         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2621
2622         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2623         elmo-msgdb-messge-entity-handler.
2624         * elmo-version.el (elmo-version): Up to 2.11.17.
2625
2626 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2627
2628         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2629         change.
2630
2631 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2632
2633         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2634
2635         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2636         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2637         (elmo-msgdb-flag-table): Ditto.
2638         (elmo-msgdb-sort-by-date): Ditto.
2639
2640         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2641
2642         * modb-standard.el (toplevel): Require mime.
2643         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2644         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2645         elmo-msgdb-message-entity-number.
2646         (elmo-msgdb-append-entity): Ditto.
2647         (elmo-msgdb-create-message-entity-from-file): Remove.
2648         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2649         corresponds to the entity.
2650         (elmo-msgdb-message-entity-number): Do nothing currently.
2651         (elmo-msgdb-message-entity-field): Ditto.
2652         (elmo-msgdb-message-entity-set-field): Ditto.
2653         (elmo-msgdb-copy-message-entity): Ditto.
2654         (elmo-msgdb-match-condition-internal): Ditto.
2655
2656         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2657         elmo-util.el.
2658         (elmo-msgdb-create-message-entity-from-file): Remove.
2659
2660         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2661         modb-legacy.el.
2662         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2663
2664         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2665
2666 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2667
2668         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2669         (elmo-msgdb-message-entity-field): Ditto.
2670         (elmo-msgdb-message-entity-number): Ditto.
2671
2672 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2673
2674         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2675         Fixed how to set extra field into entity.
2676         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2677         symbol.
2678
2679         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2680         Fixed how to set extra field into entity.
2681         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2682         symbol.
2683
2684 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2685
2686         * modb.el (elmo-message-entity-db): New function.
2687         (elmo-msgdb-make-message-entity): New API.
2688         (elmo-msgdb-message-entity-number): Ditto.
2689         (elmo-msgdb-message-entity-set-number): 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-create-message-entity-from-file): Ditto.
2694         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2695         (elmo-msgdb-match-condition-internal): Ditto.
2696
2697         * modb-standard.el (modb-legacy): Require modb-legacy.
2698         (modb-standard-make-message-entity): New inline function.
2699         (elmo-msgdb-make-message-entity): Define.
2700         (elmo-msgdb-create-message-entity-from-file): Ditto.
2701         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2702         (elmo-msgdb-message-entity-field): Ditto.
2703         (elmo-msgdb-message-entity-set-field): Ditto.
2704         (elmo-msgdb-copy-message-entity): Ditto.
2705         (elmo-msgdb-match-condition-internal): Ditto.
2706
2707         * modb-legacy.el: Don't require modb-entity.
2708         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2709         (elmo-msgdb-match-condition-primitive): Ditto.
2710         (elmo-msgdb-get-decoded-cache): Ditto.
2711         (elmo-msgdb-overview-entity-get-id): Ditto.
2712         (elmo-msgdb-overview-entity-get-number): Ditto.
2713         (elmo-msgdb-overview-entity-set-number): Ditto.
2714         (elmo-msgdb-overview-entity-get-references): Ditto.
2715         (elmo-msgdb-overview-entity-set-references): Ditto.
2716         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2717         (elmo-msgdb-overview-entity-get-from): Ditto.
2718         (elmo-msgdb-overview-entity-set-from): Ditto.
2719         (elmo-msgdb-overview-entity-get-subject): Ditto.
2720         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2721         (elmo-msgdb-overview-entity-set-subject): Ditto.
2722         (elmo-msgdb-overview-entity-get-date): Ditto.
2723         (elmo-msgdb-overview-entity-set-date): Ditto.
2724         (elmo-msgdb-overview-entity-get-to): Ditto.
2725         (elmo-msgdb-overview-entity-get-cc): Ditto.
2726         (elmo-msgdb-overview-entity-get-size): Ditto.
2727         (elmo-msgdb-overview-entity-set-size): Ditto.
2728         (elmo-msgdb-overview-entity-get-extra): Ditto.
2729         (elmo-msgdb-overview-entity-set-extra): Ditto.
2730         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2731         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2732         (elmo-msgdb-number-load): Ditto.
2733         (elmo-msgdb-overview-load): Ditto.
2734         (elmo-msgdb-mark-load): Ditto.
2735         (elmo-msgdb-number-save): Ditto.
2736         (elmo-msgdb-mark-save): Ditto.
2737         (elmo-msgdb-overview-save): Ditto.
2738         (modb-legacy-make-message-entity): New inline function.
2739         (elmo-msgdb-insert-file-header): Ditto.
2740         (elmo-msgdb-make-message-entity): Define.
2741         (elmo-msgdb-create-message-entity-from-file): Ditto.
2742         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2743         (elmo-msgdb-message-entity-number): Ditto.
2744         (elmo-msgdb-message-entity-set-number): Ditto.
2745         (elmo-msgdb-message-entity-field): Ditto.
2746         (elmo-msgdb-message-entity-set-field): Ditto.
2747         (elmo-msgdb-copy-message-entity): Ditto.
2748         (elmo-msgdb-match-condition-internal): Ditto.
2749
2750         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2751         (elmo-message-copy-entity): Rewrite.
2752         (elmo-message-entity-number): Ditto.
2753         (elmo-message-entity-set-number): Ditto.
2754         (elmo-message-entity-field): Use elmo-message-entity-db.
2755         (elmo-message-entity-set-field): Ditto.
2756         (elmo-message-field): Rewrite.
2757
2758         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2759         elmo-msgdb.el
2760         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2761
2762         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2763         elmo-message-entity-field.
2764         (elmo-shimbun-folder-shimbun-header): Ditto.
2765         (elmo-shimbun-entity-to-header): Ditto.
2766         (elmo-folder-msgdb-create): Ditto.
2767         (elmo-shimbun-msgdb-create-entity): Ditto;
2768         Use elmo-msgdb-create-message-entity-from-buffer.
2769         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2770         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2771
2772         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2773         elmo-msgdb-create-message-entity-from-file and 
2774         elmo-message-entity-field.
2775
2776         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2777         elmo-message-entity-number.
2778         (elmo-pop3-msgdb-create-message): Use
2779         elmo-msgdb-create-message-entity-from-buffer,
2780         elmo-message-entity-set-field, elmo-message-entity-number and
2781         elmo-message-entity-set-number.
2782
2783         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2784         the API change in elmo-msgdb-make-message-entity.
2785         (elmo-nntp-msgdb-create-message): Use
2786         elmo-msgdb-create-message-entity-from-buffer.
2787
2788         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2789         elmo-message-entity-field and
2790         elmo-msgdb-create-message-entity-from-file.
2791
2792         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2793         (elmo-msgdb-get-field): Abolish.
2794         (elmo-msgdb-get-number): Rewrite.
2795         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2796         (elmo-msgdb-flag-table): Ditto.
2797         (elmo-msgdb-get-last-message-id,
2798         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2799         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2800         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2801         (elmo-msgdb-create-overview-from-buffer,
2802         elmo-msgdb-overview-get-parent-entity): Abolish.
2803
2804         * elmo-mime.el (elmo-mime-display-as-is): Use
2805         elmo-message-entity-field.
2806
2807         * elmo-map.el (elmo-folder-pack-numbers): Use
2808         elmo-message-entity-set-number.
2809
2810         * elmo-maildir.el (elmo-folder-msgdb-create): 
2811         elmo-msgdb-create-message-entity-from-file instead of
2812         elmo-msgdb-create-overview-entity-from-file.
2813
2814         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2815         msgdb.
2816         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2817         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2818
2819         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2820         elmo-messge-entity-field and elmo-message-entity-number.
2821         (elmo-imap4-fetch-callback-1): Call
2822         elmo-msgdb-create-message-entity-from-buffer instead of
2823         elmo-msgdb-create-overview-from-buffer. 
2824         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2825         (elmo-find-fetch-strategy): Likewise.
2826
2827         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2828         elmo-localdir-msgdb-create-entity with argument msgdb.
2829
2830         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2831         and elmo-message-entity-set-number.
2832
2833         * elmo-cache.el (elmo-folder-msgdb-create): Use
2834         elmo-message-entity-field.
2835         (elmo-folder-msgdb-create): Call
2836         elmo-msgdb-create-message-entity-from-file instead of
2837         elmo-msgdb-create-overview-entity-from-file.
2838
2839         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2840         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2841         instead of elmo-msgdb-create-overview-from-buffer.
2842         (elmo-archive-msgdb-create-entity): Ditto.
2843         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2844         elmo-message-entity-field.
2845         (elmo-archive-parse-mmdf): Ditto.
2846
2847         * modb-entity.el: Removed.
2848
2849         * elmo-version.el (elmo-version): Up to 2.11.16.
2850
2851 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2852
2853         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2854         `is-local'.
2855         (elmo-folder-flag-as-answered): Ditto.
2856
2857 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2858
2859         * modb-standard.el: New file.
2860
2861         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2862         elmo-msgdb-convert-type is `sync'.
2863
2864         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2865         (elmo-msgdb-convert-type): New user option.
2866
2867         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2868         (elmo-load-msgdb): Auto detect saved type.
2869
2870         * elmo-version.el (elmo-version): Up to 2.11.15.
2871
2872 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2873
2874         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2875
2876         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2877         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2878         with argument `delete-if-none' when dst-folder is 'null.
2879
2880         * elmo-flag.el (elmo-folder-append-messages): Defined.
2881         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2882
2883 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2884
2885         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2886
2887 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2888
2889         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2890         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2891         (elmo-folder-commit): Ditto.
2892
2893 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2894
2895         * elmo-flag.el: New file.
2896
2897         * elmo-mark.el: Removed.
2898
2899         * modb-legacy.el (modb-legacy-new-mark,
2900         modb-legacy-unread-uncached-mark,
2901         modb-legacy-unread-cached-mark,
2902         modb-legacy-read-uncached-mark,
2903         modb-legacy-answered-cached-mark,
2904         modb-legacy-answered-uncached-mark,
2905         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2906         All other related portions are changed.
2907
2908         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2909         (elmo-folder-list-messages-with-global-mark): Abolish.
2910         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2911         (elmo-folder-flag-as-important): Ditto.
2912         (elmo-folder-unflag-read): Ditto.
2913         (elmo-folder-flag-as-read): Ditto.
2914         (elmo-folder-unflag-answered): Ditto.
2915         (elmo-folder-flag-as-answered): Ditto.
2916         (elmo-message-encache): Return the cache path.
2917         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2918         (elmo-message-set-flag): Transitional implementation.
2919         (elmo-message-unset-flag): Ditto.
2920         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2921         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2922         (elmo-init): Call elmo-global-flag-initialize.
2923         (toplevel): Added autoload settings for elmo-flag.
2924
2925         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2926
2927         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2928         (elmo-file-cache-delete): Don't treat global-mark.
2929
2930         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2931
2932         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2933
2934         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2935         `elmo-global-flags-set'.
2936
2937         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2938         `flag'.
2939         (elmo-folder-unflag-read): Ditto.
2940         (elmo-folder-unflag-important): Ditto.
2941         (elmo-folder-flag-as-important): Ditto.
2942         (elmo-folder-unflag-answered): Ditto.
2943         (elmo-folder-flag-as-answered): Ditto.
2944
2945         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2946         `elmo-global-flags-set'.
2947         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2948
2949         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2950
2951         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2952         `flag'.
2953         (elmo-folder-flag-as-important): Ditto.
2954         (elmo-folder-unflag-important): Ditto.
2955         (elmo-folder-flag-as-important): Ditto.
2956         (elmo-folder-unflag-read): Ditto.
2957         (elmo-folder-flag-as-read): Ditto.
2958         (elmo-folder-unflag-answered): Ditto.
2959         (elmo-folder-flag-as-answered): Ditto.
2960
2961         * elmo-multi.el (elmo-folder-list-importants): Don't call
2962         elmo-folder-list-messages-with-global-mark.
2963         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2964         (elmo-folder-unflag-important): Ditto.
2965         (elmo-folder-flag-as-read): Ditto.
2966         (elmo-folder-unflag-read): Ditto.
2967         (elmo-folder-flag-as-answered): Ditto.
2968         (elmo-folder-unflag-answered): Ditto.
2969
2970         * elmo-msgdb.el (elmo-msgdb-new-mark,
2971         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2972         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2973         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2974         (Moved to modb-legacy.el).
2975         (elmo-flag-table-get): Treat important flag too.
2976
2977         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2978         `mark' to `flag'.
2979         (elmo-map-folder-flag-as-important): Ditto.
2980         (elmo-map-folder-unflag-read): Ditto.
2981         (elmo-map-folder-flag-as-read): Ditto.
2982         (elmo-map-folder-unflag-answered): Ditto.
2983         (elmo-map-folder-flag-as-answered): Ditto.
2984         (elmo-folder-unflag-important): Ditto.
2985         (elmo-folder-flag-as-important): Ditto.
2986         (elmo-folder-unflag-read): Ditto.
2987         (elmo-folder-flag-as-read): Ditto.
2988         (elmo-folder-unflag-answered): Ditto.
2989         (elmo-folder-flag-as-answered): Ditto.
2990
2991         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2992         (elmo-map-folder-flag-as-important): Renamed from `mark' to
2993         `flag'.
2994         (elmo-map-folder-unflag-important): Ditto.
2995         (elmo-map-folder-flag-as-read): Ditto.
2996         (elmo-map-folder-unflag-read): Ditto.
2997         (elmo-map-folder-flag-as-answered): Ditto.
2998         (elmo-map-folder-unflag-answered): Ditto.
2999
3000         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3001         `elmo-global-flags-set'.
3002         (elmo-global-flags-set): Added autoload setting.
3003
3004         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3005         `flag'.
3006
3007         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3008         `elmo-msgdb-global-mark-set'.
3009         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3010         Call `elmo-global-flags-set'.
3011         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3012         `flag'.
3013         (elmo-folder-flag-as-important-plugged): Ditto.
3014         (elmo-folder-unflag-read-plugged): Ditto.
3015         (elmo-folder-flag-as-read-plugged): Ditto.
3016         (elmo-folder-unflag-answered-plugged): Ditto.
3017         (elmo-folder-flag-as-answered-plugged): Ditto.
3018         (elmo-global-flags-set): Added autoload setting.
3019
3020         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3021         `flag'.
3022         (elmo-folder-unflag-read): Ditto.
3023         (elmo-folder-flag-as-important): Ditto.
3024         (elmo-folder-unflag-important): Ditto.
3025         (elmo-folder-flag-as-answered): Ditto.
3026         (elmo-folder-unflag-answered): Ditto.
3027
3028         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3029         change of `mark'->`flag'.
3030         (elmo-dop-queue-method-name-alist): Ditto.
3031         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3032         (elmo-folder-unflag-read-dop): Ditto.
3033         (elmo-folder-flag-as-important-dop): Ditto.
3034         (elmo-folder-unflag-important-dop): Ditto.
3035         (elmo-folder-flag-as-answered-dop): Ditto.
3036         (elmo-folder-unflag-answered-dop): Ditto.
3037
3038         * elmo-cache.el (elmo-folder-msgdb-create): Call
3039         `elmo-global-flags-set'.
3040
3041         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3042         Call `elmo-global-flags-set'.
3043         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3044         elmo-archive-parse-mmdf with argument `folder'.
3045         (elmo-archive-parse-mmdf): Added argument `folder';
3046         Call `elmo-global-flags-set'.
3047
3048         * elmo-version.el (elmo-version): Up to 2.11.14.
3049
3050 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3051
3052         * modb.el (elmo-msgdb-length): Define.
3053
3054         * elmo.el (elmo-make-folder): Fixed.
3055         (elmo-generic-folder-append-messages): Follow the API change.
3056
3057         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3058         API change.
3059
3060 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3061
3062         * modb.el: New file.
3063
3064         * modb-entity.el: Ditto.
3065
3066         * modb-legacy.el: Ditto.
3067
3068         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3069         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3070         of `elmo-msgdb-overview-get-entity'.
3071         (elmo-msgdb-get-field): Ditto.
3072         (elmo-msgdb-merge): Moved to `elmo.el'.
3073         (elmo-msgdb-length): Removed; redefine as modb method.
3074         (elmo-msgdb-change-mark): Abolish.
3075         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3076         (elmo-msgdb-match-condition): Don't use mark.
3077         (elmo-msgdb-overview-get-entity): Abolish.
3078         Split modb part into `modb*.el'.
3079
3080         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3081
3082         * elmo-shimbun.el (shimbun-mua-search-id): Use
3083         `elmo-msgdb-message-entity' instead of
3084         `elmo-msgdb-overview-get-entity'.
3085         (elmo-shimbun-folder-shimbun-header): Ditto.
3086         (elmo-shimbun-get-headers): Ditto.
3087         (elmo-shimbun-update-overview): Ditto.
3088
3089         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3090
3091         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3092
3093         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3094         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3095
3096         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3097         `elmo-msgdb-mark-to-flags'.
3098
3099         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3100         `elmo-msgdb-set-path'.
3101
3102         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3103  
3104         * elmo-version.el (elmo-version): Up to 2.11.13.
3105
3106         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3107
3108         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3109         of mark.
3110
3111 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3112
3113         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3114         mismatch.
3115
3116 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3117
3118         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3119         instead of `elmo-msgdb-get-cached'.
3120         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3121
3122         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3123         (elmo-msgdb-set-cached): Ditto.
3124         (elmo-msgdb-set-flag): Rewrite.
3125         (elmo-msgdb-unset-flag): Ditto.
3126
3127         * elmo-msgdb.el: Rewrite with luna.
3128
3129         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3130         (elmo-folder-msgdb): Follow the change above.
3131         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3132         (elmo-folder-unmark-important): Follow the API change.
3133         (elmo-folder-mark-as-important): Ditto.
3134         (elmo-folder-unmark-read): Ditto.
3135         (elmo-folder-mark-as-read): Ditto.
3136         (elmo-folder-unmark-answered): Ditto.
3137         (elmo-folder-mark-as-answered): Ditto.
3138         (elmo-folder-clear): Likewise.
3139
3140         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3141         instead of `elmo-msgdb-load' (renamed).
3142
3143         * elmo-version.el (elmo-version): Up to 2.11.12.
3144
3145 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3146
3147         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3148         change.
3149         (elmo-message-mark): Abolish.
3150         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3151         instead of `elmo-msgdb-change-mark'.
3152
3153         * elmo-pipe.el (elmo-message-mark): Abolish.
3154
3155         * elmo-multi.el (elmo-message-mark): Ditto.
3156
3157         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3158         (elmo-msgdb-unread-uncached-mark): Ditto.
3159         (elmo-msgdb-unread-cached-mark): Ditto.
3160         (elmo-msgdb-read-uncached-mark): Ditto.
3161         (elmo-msgdb-answered-cached-mark): Ditto.
3162         (elmo-msgdb-answered-uncached-mark): Ditto.
3163         (elmo-msgdb-important-mark): Ditto.
3164         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3165         `use-cache'.
3166         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3167         `flags'.
3168         (elmo-flag-table-load): Changed flag to list of flag.
3169         (elmo-flag-table-set): If flags is nil, set read flag.
3170         (elmo-flag-table-get): Return derived flags from global mark,
3171         cache status and saved flags.
3172         (elmo-msgdb-flag-table): Follow the change above.
3173         (elmo-msgdb-out-of-date-messages): New function.
3174
3175         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3176
3177         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3178
3179         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3180
3181         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3182         (elmo-nntp-msgdb-create-message): Ditto.
3183
3184         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3185
3186         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3187         independent.
3188         (elmo-folder-msgdb-create): Follow the API change.
3189
3190         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3191         (elmo-folder-append-messages): Ditto.
3192
3193         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3194         (elmo-folder-append-buffer): Ditto.
3195
3196         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3197
3198         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3199
3200         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3201         (elmo-archive-parse-mmdf): Ditto.
3202
3203         * elmo-version.el (elmo-version): Up to 2.11.11.
3204
3205 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3206
3207         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3208         `elmo-msgdb-mark'.
3209
3210         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3211
3212         * elmo-pipe.el (elmo-message-flags): Defined.
3213
3214         * elmo-multi.el (elmo-message-flags): Ditto.
3215
3216 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3217
3218         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3219         `elmo-msgdb-delete-msgs'.
3220
3221         * elmo.el (elmo-folder-count-flags): Don't use
3222         `elmo-msgdb-get-mark-alist'.
3223         (elmo-folder-detach-messages): Follow the API change.
3224
3225         * elmo.el (elmo-folder-list-messages): Append killed messages into
3226         result if `visible-only' is nil.
3227
3228         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3229         canceled messages.
3230         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3231         (elmo-folder-update-number): Likewise.
3232
3233         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3234         (elmo-pop3-sort-msgdb-by-original-number): Use
3235         `elmo-msgdb-sort-entities'.
3236
3237         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3238         (elmo-msgdb-sort-by-date): Use it.
3239         (elmo-msgdb-overview-sort-by-date): Abolish.
3240
3241         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3242
3243         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3244         (elmo-msgdb-flags): New function.
3245         (elmo-msgdb-merge): Use elmo-msgdb-append.
3246
3247         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3248         change.
3249
3250         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3251
3252         * elmo-dop.el (elmo-folder-status-dop): Use
3253         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3254
3255 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3256
3257         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3258
3259         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3260
3261         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3262
3263         * elmo-util.el (elmo-with-progress-display): New macro.
3264
3265         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3266
3267 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3268
3269         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3270         `elmo-folder-list-message-entities' instead of
3271         `elmo-msgdb-get-overview'.
3272         (elmo-map-folder-list-message-locations): Ditto.
3273
3274         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3275         methods instead of treat directly).
3276         (elmo-msgdb-clear): Ditto.
3277         (elmo-msgdb-delete-msgs): Ditto.
3278         (elmo-msgdb-sort-by-date): Ditto.
3279
3280         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3281         local variables.
3282         (elmo-nntp-folder-msgdb-create): Follow the API change.
3283
3284         * elmo-version.el (elmo-version): Up to 2.11.10.
3285
3286 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3287
3288         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3289         (elmo-msgdb-flags-to-mark): Ditto.
3290         (elmo-msgdb-append-entity): Ditto.
3291
3292         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3293         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3294         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3295         (elmo-archive-parse-mmdf): Ditto.
3296
3297         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3298
3299         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3300
3301         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3302
3303         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3304
3305         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3306
3307         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3308
3309         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3310
3311         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3312
3313         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3314         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3315         to empty msgdb.
3316
3317         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3318         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3319         instead of directly construction.
3320         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3321         instead of construct msgdb.
3322
3323         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3324         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3325         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3326         instead of construct msgdb.
3327
3328 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3329
3330         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3331         when field is from or subject.
3332
3333 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3334
3335         * elmo-multi.el (elmo-message-entity-parent): Define.
3336         (elmo-folder-search): Rewrite.
3337
3338 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3339
3340         * elmo-multi.el (elmo-message-cached-p): Define.
3341
3342         * elmo.el (elmo-message-cached-p): New method.
3343         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3344         (elmo-message-flags): New method.
3345         (elmo-message-flagged-p): New function.
3346
3347         * elmo-version.el (elmo-version): Up to 2.11.9.
3348
3349 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3350
3351         * elmo-version.el (elmo-version): Up to 2.11.8.
3352
3353         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3354
3355         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3356
3357 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3358
3359         * elmo.el (elmo-folder-detach-messages): Undo last change.
3360
3361 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3362
3363         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3364
3365         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3366         only when src folder type is pop3.
3367
3368 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3369
3370         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3371         elmo-msgdb-overview-entity-get-number instead of
3372         elmo-message-entity-number.
3373
3374 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3375
3376         * elmo-version.el (elmo-version): Up to 2.11.7.
3377
3378 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3379
3380         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3381         function.
3382
3383         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3384         (elmo-msgdb-merge): New function.
3385         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3386         (elmo-msgdb-make-index): Rewrite.
3387
3388         * elmo-version.el (elmo-version): Up to 2.11.6.
3389
3390         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3391         use it as a the path for loading message entities.
3392
3393         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3394
3395 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3396
3397         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3398         message-modified slot of itself if it does not require target msgdb.
3399
3400         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3401         if folder length is zero.
3402         (elmo-mime-display-as-is): Ditto.
3403
3404         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3405
3406         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3407
3408 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3409
3410         * elmo.el (elmo-folder-set-message-modified): New method.
3411         (elmo-generic-folder-commit): Use it.
3412         (elmo-folder-synchronize): Ditto.
3413
3414         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3415         (elmo-folder-commit): Remove duplicate definition.
3416
3417 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3418
3419         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3420
3421 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3422
3423         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3424         (elmo-strict-folder-diff): Ditto.
3425         (elmo-folder-set-info-max-by-numdb): Simplify.
3426
3427         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3428         elmo-msgdb-list-messages.
3429
3430         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3431         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3432
3433 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3434
3435         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3436         visible-only is non-nil.
3437         (elmo-folder-confirm-appends): Changed message.
3438         (elmo-folder-synchronize): Added argument disable-killed.
3439
3440         * elmo-multi.el (elmo-folder-synchronize): Added argument
3441         disable-killed.
3442
3443         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3444
3445         * elmo-version.el (elmo-version): Up to 2.11.5.
3446
3447         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3448         elmo-list-filter.
3449
3450         * elmo-util.el (elmo-list-filter): Simplify.
3451
3452         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3453         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3454         (elmo-generic-folder-diff): Abolish argument.
3455         (elmo-msgdb-load): Don't use number-alist.
3456
3457         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3458
3459         * elmo-pipe.el (elmo-folder-diff): Ditto.
3460
3461         * elmo-nmz.el (elmo-folder-diff): Ditto.
3462
3463         * elmo-net.el (elmo-folder-diff): Ditto.
3464
3465         * elmo-maildir.el (elmo-folder-diff): Ditto.
3466
3467         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3468
3469         * elmo-multi.el (elmo-folder-diff): Ditto
3470         (elmo-multi-folder-diff): Rewrite.
3471
3472 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3473
3474         * elmo-pipe.el (elmo-folder-msgdb): Define.
3475
3476 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3477
3478         * elmo.el (elmo-message-set-cached): Define as a method.
3479
3480         * elmo-pipe.el (elmo-message-set-cached): Define.
3481         (elmo-find-fetch-strategy): Ditto.
3482
3483         * elmo-multi.el (elmo-message-set-cached): Define.
3484         (elmo-find-fetch-strategy): Rewrite.
3485
3486         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3487
3488         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3489
3490 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3491
3492         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3493         instead of number-alist.
3494
3495         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3496         mark nor message-id when msgdb of source folder is not loaded.
3497
3498         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3499
3500         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3501
3502 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3503
3504         * elmo.el (elmo-folder-length): Don't require msgdb.
3505
3506 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3507
3508         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3509         (elmo-message-field): Ditto.
3510
3511         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3512         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3513         slot.
3514         (elmo-map-folder-list-answereds): Define.
3515         (elmo-maildir-list-location): Treat 'R' info.
3516         (elmo-folder-msgdb-create): Treat flag-table.
3517         (elmo-folder-append-messages): Save flag-table.
3518
3519 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3520
3521         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3522         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3523
3524 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3525
3526         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3527
3528         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3529         'read when mark is null.
3530
3531 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3532
3533         * elmo-version.el (elmo-version): Up to 2.11.4.
3534
3535 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3536
3537         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3538         (elmo-folder-mark-as-answered): Ditto.
3539
3540 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3541
3542         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3543         (elmo-pop3-get-session): Make msgdb directory after session.
3544         (elmo-folder-exists-p): Check exactly at the first time even when the
3545         elmo-pop3-exists-exactly is nil.
3546
3547         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3548         (elmo-folder-list-messages): Define instead of
3549         elmo-folder-list-messages-internal.
3550         (elmo-folder-check): Check destination folder.
3551         (elmo-folder-synchronize): Drain the pipe.
3552
3553         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3554         when msgdb is not loaded.
3555
3556         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3557
3558         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3559         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3560         messages.
3561
3562         * elmo.el (elmo-folder-kill-messages-before): New function.
3563         (elmo-folder-kill-messages): Ditto.
3564         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3565
3566         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3567         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3568         killed not by synchronize (e.g. scoring).
3569
3570 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3571
3572         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3573         treated.
3574         (elmo-folder-search): Follow the change above.
3575
3576         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3577         into the candidates of search field.
3578
3579 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3580
3581         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3582         (elmo-msgdb-unset-flag): Ditto.
3583
3584         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3585
3586 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3587
3588         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3589         (elmo-folder-commit): Define.
3590         (elmo-folder-synchronize): Ditto.
3591         (elmo-folder-list-flagged): Ditto.
3592         (elmo-folder-commit): Ditto.
3593         (elmo-folder-length): Ditto.
3594         (elmo-folder-count-flags): Ditto.
3595         (elmo-message-mark): Ditto.
3596         (elmo-message-field): Ditto.
3597         (elmo-message-entity): Ditto.
3598         (elmo-message-folder): Ditto.
3599
3600 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3601
3602         * elmo.el (elmo-message-field): Define as a method.
3603
3604         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3605         (elmo-message-field): Define.
3606
3607         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3608         (elmo-folder-list-importants): Ditto.
3609         (elmo-folder-list-answereds): Ditto.
3610
3611         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3612         qualifier.
3613         (elmo-folder-mark-as-read): Ditto.
3614         (elmo-folder-unmark-read): Ditto.
3615         (elmo-folder-mark-as-answered): Ditto.
3616         (elmo-folder-unmark-answered): Ditto.
3617         (elmo-folder-list-flagged): Define.
3618         (elmo-folder-commit): Ditto.
3619         (elmo-folder-length): Ditto.
3620         (elmo-folder-count-flags): Ditto.
3621
3622 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3623
3624         * elmo.el (elmo-folder-detach-messages): New method.
3625         (elmo-folder-move-messages): Use it.
3626         (elmo-folder-synchronize): Ditto.
3627
3628         * elmo-multi.el (elmo-folder-detach-messages): Define.
3629
3630         * elmo.el (elmo-message-copy-entity): New function.
3631         (elmo-message-entity-set-number): Ditto.
3632         (elmo-message-mark): Define as method.
3633
3634         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3635         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3636         (elmo-message-entity): Fixed last change.
3637         (elmo-message-mark): Define.
3638         (elmo-folder-msgdb-create): Abolish.
3639         (elmo-multi-folder-append-msgdb): Ditto.
3640         (elmo-multi-folder-diff): Fixed.
3641         (elmo-multi-split-number-alist): Removed.
3642         (elmo-multi-split-mark-alist): Removed.
3643         (elmo-folder-list-messages): Define.
3644         (elmo-folder-list-messages-internal): Removed.
3645
3646         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3647         local file messages.
3648         (elmo-folder-msgdb-create): Fixed read mark.
3649
3650 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3651
3652         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3653         if mark is nil.
3654
3655 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3656
3657         * elmo.el (elmo-folder-list-message-entities): Define as inline
3658         function.
3659         (elmo-folder-messages): Abolish.
3660
3661         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3662         folder.
3663         (elmo-folder-synchronize): Define.
3664         (elmo-message-entity): Define.
3665
3666 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3667
3668         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3669         elmo-imap4-session-select-mailbox.
3670
3671         * elmo.el (elmo-folder-move-messages): Don't display any message.
3672
3673         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3674         parsing.
3675         (elmo-imap4-session-check): Don't wait CHECK response.
3676         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3677
3678 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3679
3680         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3681
3682 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3683
3684         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3685         API.
3686         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3687
3688
3689         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3690         (elmo-folder-list-message-entities): Added argument in-msgdb and
3691         numbers.
3692         (elmo-folder-synchronize): Define as a method.
3693
3694         * elmo-nntp.el (elmo-folder-initialize): Don't use
3695         elmo-nntp-default-user if zero-length username is specified
3696         explicitly.
3697
3698 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3699
3700         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3701         server name in case with username.
3702         (XXX: this is ad-hoc fix against username includes "@", it
3703         should be solved fundamentally)
3704
3705 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3706
3707         * elmo-nntp.el (elmo-nntp-debug): New function.
3708         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3709         (elmo-network-authenticate-session): Hide auth-info from the log.
3710
3711         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3712         user name if it is equal to elmo-nntp-default-user.
3713
3714 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3715
3716         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3717         instead of shimbun-server-internal;
3718         Use shimbun-current-group instead of shimbun-current-group-internal.
3719         (elmo-folder-plugged-p): Use shimbun-server instead of
3720         shimbun-server-internal.
3721         (elmo-folder-set-plugged): Ditto.
3722         (elmo-net-port-info): Ditto.
3723         (elmo-folder-check): Ditto.
3724         (elmo-folder-expand-msgdb-path): Ditto.
3725         (elmo-folder-list-subfolders): Ditto.
3726
3727 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3728
3729         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3730         Convert field-name to lower case.
3731         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3732
3733 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3734
3735         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3736         `message' and `error' take format string.
3737
3738 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3739
3740         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3741
3742 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3743
3744         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3745         recursive call (can't byte compile on emacs 20.7).
3746
3747 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3748
3749         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3750         (elmo-folder-list-message-entities): New API.
3751         (elmo-message-entity): Ditto.
3752         (elmo-message-entity-parent): Ditto.
3753         (elmo-folder-do-each-message-entity): Ditto.
3754         (elmo-message-entity-number): Ditto.
3755         (elmo-message-entity-field): Ditto.
3756         (elmo-message-entity-set-field): Ditto.
3757         (elmo-folder-count-flags): Ditto.
3758         (elmo-folder-length): Ditto.
3759
3760         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3761         not.
3762
3763         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3764         (elmo-msgdb-count-marks): Abolish.
3765         (elmo-msgdb-make-entity): Ditto.
3766         (elmo-msgdb-do-each-entity): Ditto.
3767         (elmo-msgdb-message-entity): New inline function.
3768         (elmo-msgdb-message-entity-field): Ditto.
3769         (elmo-msgdb-message-entity-set-field): Ditto.
3770         (elmo-msgdb-make-message-entity): New function.
3771
3772 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3773
3774         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3775         to flag. (All other related portions are changed.)
3776         (elmo-folder-msgdb-create): Likewise.
3777         (elmo-generic-folder-append-messages): Use flag-table instead of
3778         seen-list.
3779         (elmo-folder-move-messages): Removed redundant process.
3780         (elmo-folder-synchronize): Likewise.
3781
3782         * elmo-msgdb.el (elmo-flag-table-get): New function.
3783         (elmo-flag-table-save): Fixed.
3784         (elmo-msgdb-length): New inline function.
3785         (elmo-msgdb-flag-table): New function.
3786         (elmo-msgdb-mark): Add optional argument new.
3787         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3788         (elmo-msgdb-seen-list): Ditto.
3789         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3790
3791
3792 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3793
3794         * elmo.el (elmo-message-set-mark): Abolish.
3795         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3796         (All related portions are changed.)
3797
3798         * elmo-msgdb.el (toplevel): Added comment.
3799         (elmo-load-msgdb): Added 4th element `path'.
3800         (elmo-msgdb-append): Follow the change above.
3801         (elmo-msgdb-clear): Ditto.
3802         (elmo-msgdb-delete-msgs): Ditto.
3803         (elmo-msgdb-get-path): New inline function.
3804         (elmo-msgdb-set-path): Ditto.
3805         (elmo-flag-table-filename): New variable.
3806         (elmo-flag-table-load): New function.
3807         (elmo-flag-table-set): Ditto.
3808         (elmo-flag-table-save): Ditto.
3809         (elmo-msgdb-get-field-value): Abolish.
3810         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3811
3812 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3813
3814         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3815         the folder has been deleted successfully.
3816         * elmo-imap4.el (elmo-folder-delete): Ditto.
3817         * elmo-archive.el (elmo-folder-delete): Ditto.
3818         * elmo-localdir.el (elmo-folder-delete): Ditto.
3819         * elmo-maildir.el (elmo-folder-delete): Ditto.
3820
3821 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3822
3823         * elmo-util.el (elmo-string-member-ignore-case): New function.
3824         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3825         (elmo-imap4-fetch-callback-1-subr): Likewise.
3826
3827 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3828
3829         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3830         the case of the name attribute "\Noselect".
3831
3832 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3833
3834         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3835
3836         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3837         flist, is not always a member of onum-alist.
3838
3839 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3840
3841         * elmo-version.el (elmo-version): Up to 2.11.3.
3842
3843 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3844
3845         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3846         copied from localdir's one.
3847
3848         * elmo-pipe.el (elmo-folder-rename): New method, rename
3849         destination folder with leaving source folder as it is.
3850
3851 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3852
3853         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3854         replace-regexp.
3855
3856 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3857
3858         * elmo-version.el (elmo-version): Up to 2.11.2.
3859
3860 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3861
3862         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3863         shimbun-open in case of "@".
3864         (elmo-folder-open-internal): Cope with shimbun = nil case.
3865         (elmo-folder-plugged-p): Ditto.
3866         (elmo-folder-list-subfolders): Make list for "@/" group.
3867
3868 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3869
3870         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3871         mailbox (e.g. for %~/something).
3872
3873 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3874
3875         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3876         Replace nested conditional with guard clauses.
3877
3878 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3879
3880         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3881         error [wl:11327].
3882
3883         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3884         print-depth.
3885
3886 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3887
3888         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3889         Replace nested conditional with guard clauses.
3890
3891 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3892
3893         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3894         (elmo-passwd-alist-save): Ditto.
3895         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3896
3897 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3898
3899         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3900         dir-name only if it is absolute path.
3901         (TODO: distinguish +/something and +something)
3902
3903 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3904
3905         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3906         path for "+~/something".
3907
3908 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3909
3910         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3911         as non-directory, cause error before rename-file.
3912         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3913         apropriately, mimic localdir's one.
3914         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3915
3916 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3917
3918         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3919
3920 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3921
3922         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3923
3924         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3925         
3926         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3927         is included in the global-mark or not.
3928
3929 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3930
3931         * utf7.el (toplevel): Avoid error when the function
3932         find-coding-system does not exist.
3933
3934 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3935
3936         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3937         cache even if the folder is plugged.
3938         (elmo-nntp-search-primitive): Do nothing when body search is
3939         invoked (although it is not used by the change above).
3940         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3941
3942 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3943
3944         * elmo-version.el (elmo-version): Up to 2.11.1.
3945
3946 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3947
3948         * elmo-archive.el: Specify charset.
3949
3950 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3951
3952         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3953         process buffer lives or not.
3954
3955         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3956         while flushing queues (It causes infinite loop).
3957
3958 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
3959
3960         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3961
3962 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
3963
3964         * utf7.el (toplevel): Check the ucs features dynamically.
3965         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
3966
3967         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3968         folder is creatabe or not if it already exists.
3969
3970 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
3971
3972         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3973
3974         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3975
3976         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3977         (elmo-imap4-read-response): Take care of garbage response.
3978
3979 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3980
3981         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3982         just return nil instead of error.
3983
3984 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3985
3986         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3987         search-key is "body".
3988
3989 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
3990
3991         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3992         of elmo-string-matched-assoc to use match-data.
3993         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3994
3995 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3996
3997         * elmo-split.el (elmo-split->): New function.
3998         (elmo-split-<): Ditto.
3999
4000 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4001
4002         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4003         workaround for invalid message-id.
4004
4005 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4006
4007         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4008         return normal pop3 session or pop3 biff session.
4009
4010 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4011
4012         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4013         info part to the cur files when the new files already have it.
4014         (Adviced by Jared Rhine <jared@wordzoo.com>)
4015
4016 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4017
4018         * elmo-split.el (elmo-split-default-action): New variable.
4019         (elmo-split-subr): Use it if all other conditions are passed.
4020         Extend `fname' and rename it as `action'. (implemented
4021         Teranishi-san's idea in [wl:10800])
4022
4023 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4024
4025         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4026         * elmo-util.el: Ditto.
4027
4028 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4029
4030         * elmo.el (elmo-message-accessible-p): Renamed from
4031         elmo-message-cached-p and rewritten.
4032
4033 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4034
4035         * elmo.el (elmo-folder-list-flagged): New generic function.
4036         (elmo-folder-list-importants): New implementation.
4037         (elmo-folder-list-answereds): Ditto.
4038         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4039         Added 'digest'.
4040         (elmo-message-cached-p): New function.
4041         (elmo-message-set-flag): Ditto (no content).
4042         (elmo-message-unset-flag): Ditto.
4043         (elmo-folder-list-messages-mark-match): Abolish.
4044
4045         * elmo-util.el (elmo-regexp-opt): New function.
4046
4047         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4048         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4049         Added 'digest'.
4050         (elmo-msgdb-list-flagged): New function.
4051
4052         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4053         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4054         Added 'digest'.
4055
4056         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4057
4058 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4059
4060         * elmo-version.el (elmo-version): Up to 2.11.0.
4061
4062 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4063
4064         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4065         `elmo-file-cache-exists-p'; use proper mark that depends on
4066         `use-cache'.
4067         (elmo-msgdb-unset-flag): Ditto.
4068         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4069
4070         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4071         with 4th argument `use-cache'.
4072
4073 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4074
4075         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4076         (elmo-folder-mark-as-important): Ditto.
4077         (elmo-folder-unmark-read): Ditto.
4078         (elmo-folder-mark-as-read): Ditto.
4079         (elmo-folder-unmark-answered): Ditto.
4080         (elmo-folder-mark-as-answered): Ditto.
4081
4082         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4083         message status.
4084         (elmo-msgdb-mark): Likewise.
4085         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4086         (elmo-msgdb-unset-flag): Likewise.
4087
4088         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4089
4090 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4091
4092         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4093         `last:' filter.
4094
4095 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4096
4097         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4098         set spool-length to 0.
4099
4100 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4101
4102         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4103         (elmo-dop-queue-flush): Fixed last change.
4104
4105 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4106
4107         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4108         if require-msgdb slot is nil.
4109         (elmo-folder-list-importants): Likewise.
4110
4111 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4112
4113         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4114         mark is changed.
4115
4116         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4117         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4118         is changed.
4119
4120 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4121
4122         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4123
4124 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4125
4126         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4127
4128         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4129
4130 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4131
4132         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4133         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4134
4135 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4136
4137         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4138         the problem reported by Sean Rima [wl-en:180].
4139
4140 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4141
4142         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4143
4144         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4145
4146         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4147
4148         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4149
4150         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4151
4152         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4153
4154         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4155
4156 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4157
4158         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4159         status number.
4160
4161 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4162
4163         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4164         (elmo-folder-mark-as-read): Follow the API change.
4165         (elmo-message-set-cached): New function.
4166
4167         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4168
4169         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4170
4171         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4172         (elmo-folder-mark-as-important): Ditto.
4173         (elmo-folder-unmark-read): Ditto.
4174         (elmo-folder-mark-as-read): Ditto.
4175         (elmo-folder-unmark-answered): Ditto.
4176         (elmo-folder-mark-as-answered): Ditto.
4177
4178         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4179         (elmo-folder-unmark-important): Ditto.
4180         (elmo-folder-mark-as-read): Ditto.
4181         (elmo-folder-unmark-read): Ditto.
4182         (elmo-folder-mark-as-answered): Ditto.
4183         (elmo-folder-unmark-answered): Ditto.
4184
4185         * elmo-mark.el (toplevel): Removed some mark method definitions.
4186
4187         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4188         (elmo-map-folder-mark-as-answered): Ditto.
4189         (elmo-folder-unmark-important): Add :before 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): Define.
4194         (elmo-folder-mark-as-answered): Ditto.
4195
4196         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4197         (elmo-map-folder-unmark-answered): Ditto.
4198
4199         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4200
4201         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4202         (elmo-folder-mark-as-important): Ditto.
4203         (elmo-folder-unmark-read): Ditto.
4204         (elmo-folder-mark-as-read): Ditto.
4205         (elmo-folder-unmark-answered): Ditto.
4206         (elmo-folder-mark-as-answered): Ditto.
4207
4208         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4209         `mark'; evaluate mark condition.
4210         (elmo-msgdb-match-condition-internal): New function.
4211         (elmo-msgdb-match-condition): Call it; changed argument.
4212
4213         * elmo.el (elmo-folder-search): Follow the API change on
4214         `elmo-msgdb-match-condition'.
4215
4216 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4217
4218         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4219         original mark is non-nil.
4220
4221 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4222
4223         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4224         (elmo-map-folder-list-answereds): New method.
4225         (elmo-folder-list-unreads): Add :around qualifier.
4226         (elmo-folder-list-importants): Ditto.
4227         (elmo-folder-list-answereds): Ditto.
4228
4229 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4230
4231         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4232
4233         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4234         method if msgdb is not required.
4235         (elmo-filter-folder-list-importants): Don't treat global-mark.
4236
4237         * elmo.el (elmo-folder-list-importants): Ditto.
4238
4239         * elmo-net.el (elmo-folder-list-importants): Ditto.
4240
4241         * elmo-map.el (elmo-folder-list-importants): Ditto.
4242
4243         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4244
4245         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4246         (elmo-imap4-folder-list-any-plugged): New function.
4247         (elmo-imap4-search-internal-primitive): Use it.
4248
4249         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4250         only when require-msgdb slot is non-nil.
4251         (elmo-folder-close): Clear target folder's msgdb.
4252
4253 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4254
4255         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4256         (elmo-pop3-msgdb-create-by-header): Ditto.
4257         (elmo-pop3-msgdb-create-message): Ditto.
4258
4259         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4260
4261         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4262
4263         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4264
4265         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4266         (elmo-folder-msgdb-create): Ditto.
4267         (elmo-nntp-folder-msgdb-create): Ditto.
4268         (elmo-nntp-msgdb-create-by-header): Ditto.
4269         (elmo-nntp-msgdb-create-message): Ditto.
4270         (elmo-folder-list-unreads): Define.
4271
4272         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4273         (elmo-folder-append-messages): Ditto.
4274         (elmo-folder-list-unreads): Define.
4275         (elmo-folder-list-importants): Ditto.
4276         (elmo-folder-list-answereds): Ditto.
4277
4278         * elmo-net.el (elmo-folder-list-unreads): Define.
4279         (elmo-folder-list-importants): Ditto.
4280         (elmo-folder-list-answereds): Ditto.
4281         (elmo-folder-list-answereds-plugged): Ditto.
4282         (elmo-folder-msgdb-create): Follow the API change.
4283         (elmo-folder-msgdb-create-unplugged): Ditto.
4284         (elmo-folder-unmark-answered): Define.
4285         (elmo-folder-mark-as-answered-unplugged): Ditto.
4286         (elmo-folder-unmark-answered-unplugged): Ditto.
4287
4288         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4289         (elmo-msgdb-unread-uncached-mark): Ditto.
4290         (elmo-msgdb-unread-cached-mark): Ditto.
4291         (elmo-msgdb-read-uncached-mark): Ditto.
4292         (elmo-msgdb-answered-cached-mark): Ditto.
4293         (elmo-msgdb-answered-uncached-mark): Ditto.
4294         (elmo-msgdb-important-mark): Ditto.
4295         (elmo-msgdb-set-mark): Rewrite.
4296         (elmo-msgdb-count-marks): Rewrite.
4297         (elmo-msgdb-mark-alist-set): Abolish.
4298         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4299         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4300
4301         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4302         (elmo-folder-close): Define.
4303         (elmo-folder-msgdb-create): Follow the API change.
4304         (elmo-folder-list-unreads): Rewrite.
4305         (elmo-folder-mark-as-important): Ditto.
4306         (elmo-folder-unmark-important): Ditto.
4307         (elmo-folder-mark-as-read): Ditto.
4308         (elmo-folder-unmark-read): Ditto.
4309         (elmo-folder-mark-as-answered): Define.
4310         (elmo-folder-unmark-answered): Ditto.
4311
4312         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4313         (elmo-folder-append-messages): Ditto.
4314
4315         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4316
4317         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4318         (elmo-folder-list-importants): Ditto.
4319
4320         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4321         (elmo-folder-append-messages): Ditto.
4322
4323         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4324         change.
4325         (elmo-folder-msgdb-create-plugged): Ditto.
4326         (elmo-folder-append-messages): Ditto.
4327         (elmo-folder-list-answereds-plugged): Define.
4328         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4329         (elmo-folder-unmark-answered-plugged): Define.
4330         (elmo-folder-mark-as-answered-plugged): Ditto.
4331         (elmo-folder-search-requires-msgdb-p): Ditto.
4332
4333         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4334         (elmo-folder-initialize): Set it.
4335         (elmo-folder-msgdb): Define.
4336         (elmo-folder-check): Call elmo-folder-synchronize.
4337         (elmo-folder-close): Define.
4338         (elmo-folder-commit): Ditto.
4339         (elmo-folder-msgdb-create): Rewrite.
4340         (elmo-folder-list-unreads): Ditto.
4341         (elmo-folder-list-importants): Ditto.
4342         (elmo-folder-mark-as-read): Ditto.
4343         (elmo-folder-unmark-read): Ditto.
4344         (elmo-folder-mark-as-important): Ditto.
4345         (elmo-folder-unmark-important): Ditto.
4346         (elmo-folder-mark-as-answered): Define.
4347         (elmo-folder-unmark-answered): Ditto.
4348
4349         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4350         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4351         (elmo-dop-queue-method-name-alist): Likewise.
4352         (elmo-folder-mark-as-answered-dop): New inline function.
4353         (elmo-folder-unmark-answered-dop): Ditto.
4354         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4355
4356         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4357         (elmo-folder-msgdb-create): Ditto.
4358         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4359         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4360         (elmo-archive-parse-mmdf): Ditto.
4361
4362         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4363         (elmo-folder-list-unreads-internal): Ditto.
4364
4365         * elmo.el (elmo-folder-msgdb): Define as generic function.
4366         (elmo-folder-list-messages): Added argument `in-msgdb'.
4367         (elmo-folder-list-unreads): Define as generic function.
4368         (elmo-folder-list-importants): Ditto.
4369         (elmo-folder-list-answereds): Ditto.
4370         (elmo-folder-list-messages-with-global-mark): New function.
4371         (elmo-folder-msgdb-create): Removed mark arguments.
4372         (elmo-folder-unmark-answered): New generic function.
4373         (elmo-folder-mark-as-answered): Ditto.
4374         (elmo-folder-append-messages): Removed argunment `unread-marks'
4375         (elmo-folder-list-unreads-internal): Abolish.
4376         (elmo-folder-list-importants-internal): Ditto.
4377         (elmo-folder-search-requires-msgdb-p): New generic function.
4378         (elmo-folder-search-requires-msgdb-p-internal): New function.
4379         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4380         elmo-msgdb-load.
4381         (elmo-folder-search-fast): Added key 'mark'.
4382         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4383         instead of unread-marks argument.
4384         (elmo-folder-move-messages): Removed argunment `unread-marks'
4385         (elmo-folder-unmark-important): Define.
4386         (elmo-folder-mark-as-important): Ditto.
4387         (elmo-folder-unmark-read): Ditto.
4388         (elmo-folder-mark-as-read): Ditto.
4389         (elmo-folder-unmark-answered): Ditto.
4390         (elmo-folder-mark-as-answered): Ditto.
4391         (elmo-folder-replace-marks): Abolish.
4392         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4393         duplicates.
4394         (elmo-folder-synchronize): Removed mark arguments;
4395         return crosspost only number.
4396
4397 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4398
4399         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4400         Remove redundunt connectivity check.
4401
4402 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4403
4404         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4405         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4406
4407 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4408
4409         * pldap.el (ldap-decode-string): Return string as-is if
4410         `ldap-coding-system' is nil.
4411         (ldap-encode-string): Ditto.
4412         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4413         (ldap-default-host): Fixed docstring.
4414
4415 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4416
4417         * elmo-util.el (elmo-warning): Define as a macro which uses
4418         `display-warning' if it is defined as a function.
4419
4420         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4421         (elmo-split-equal): Use it.
4422         (elmo-split-match): Ditto.
4423         (elmo-split-message-entity): New buffer-local variable.
4424         (elmo-split-subr): Set it.
4425
4426         * elmo-version.el (elmo-version): Up to 2.9.15.
4427
4428 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4429
4430         * elmo-imap4.el (elmo-network-initialize-session):
4431         Check capability after starttls.
4432
4433 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4434
4435         * elmo-util.el (elmo-list-delete): Added optional argument
4436         DELETE-FUNCTION.
4437
4438         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4439
4440         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4441
4442         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4443
4444         * elmo-imap4.el (elmo-folder-initialize): Don't use
4445         elmo-imap4-default-mailbox.
4446
4447 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4448
4449         * elmo-split.el (toplevel): Use `product-provide'.
4450         (elmo-split): Checkdoc.
4451
4452 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4453
4454         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4455         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4456         the function `elmo-imap4-debug-1'.
4457
4458 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4459
4460         * elmo-split.el (elmo-split): Moved to run hooks and to show
4461         message from elmo-split-subr.
4462         (elmo-split-subr): Follow the change above.
4463
4464         * elmo-split.el (elmo-split-subr): New function (renamed from
4465         elmo-split-subr).
4466         (elmo-split): Changed to call elmo-split-subr by element of
4467         elmo-split-folder.
4468         (elmo-split-folder): Changed customization type to choice.
4469
4470 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4471
4472         * elmo-split.el (elmo-split-and): Fixed condition.
4473
4474 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4475
4476         * elmo-split.el: New file.
4477         (elmo-split): Fixed logic.
4478         Display "Test:" instead of "Folder:" when reharsal.
4479
4480         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4481         explicitly.
4482
4483         * elmo-version.el (elmo-version): Up to 2.9.14.
4484
4485         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4486         wl-expand-newtext).
4487
4488 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4489
4490         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4491         message with no message-id field.
4492
4493 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4494
4495         * elmo-version.el (elmo-version): Up to 2.9.13.
4496
4497         * elmo-dop.el (elmo-folder-status-dop): Fix.
4498
4499 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4500
4501         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4502
4503         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4504         changing default value of default-mime-charset.
4505         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4506
4507         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4508
4509         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4510         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4511         instead of elmo-dop-queue-method-name-alist to check merging queue.
4512         (elmo-folder-delete-messages-dop): Delete from queue if negative
4513         message number.
4514         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4515         file is already removed.
4516
4517 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4518
4519         * elmo-vars.el: Bind colon keywords for old Emacsen.
4520
4521 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4522
4523         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4524         against non-exsisting charset.
4525
4526 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4527
4528         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4529         Use eword-decode-and-unfold-unstructured-field-body.
4530
4531         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4532         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4533         exists to decode raw subject string.
4534         (toplevel): Require 'mime.
4535
4536         * elmo-version.el (elmo-version): Up to 2.9.12.
4537
4538 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4539
4540         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4541         (elmo-msgdb-set-mark): Ditto.
4542
4543         * elmo-version.el (elmo-version): Up to 2.9.11.
4544
4545 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4546
4547         * elmo-util.el (elmo-delete-match-files): New function.
4548
4549         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4550         instead of elmo-delete-directory.
4551
4552         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4553         elmo-hash-minimun-size as 63.
4554
4555         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4556         elmo-diff-unread is nil.
4557
4558         * elmo-imap4.el (elmo-folder-open): Fix.
4559
4560         * elmo.el (elmo-message-mark): Rewrite.
4561         (elmo-message-field): Ditto.
4562         (elmo-message-set-mark): Ditto.
4563         (elmo-folder-replace-marks): New function.
4564         (elmo-generic-folder-append-msgdb): Removed third argument for
4565         elmo-msgdb-append.
4566         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4567         (elmo-msgdb-load): New implementation.
4568
4569         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4570
4571         * elmo-util.el (elmo-list-insert): New implementation.
4572
4573         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4574         argument for elmo-msgdb-append.
4575         
4576
4577         * elmo-msgdb.el (elmo-load-msgdb): New function.
4578         (elmo-make-msgdb): Ditto.
4579         (elmo-msgdb-get-index): New inline function.
4580         (elmo-msgdb-set-index): Ditto.
4581         (elmo-msgdb-get-entity-hashtb): Ditto.
4582         (elmo-msgdb-get-mark-hashtb): Ditto.
4583         (elmo-msgdb-get-mark): Ditto.
4584         (elmo-msgdb-set-mark): Ditto.
4585         (elmo-msgdb-count-marks): Ditto.
4586         (elmo-msgdb-get-number): Ditto.
4587         (elmo-msgdb-get-field): Ditto.
4588         (elmo-msgdb-seen-list): Ditto.
4589         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4590         (elmo-msgdb-delete-msgs): Follow the changes above.
4591         (elmo-msgdb-overview-get-entity): Ditto.
4592         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4593         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4594         and rewritten.
4595         (elmo-msgdb-make-index): Likewise.
4596         (elmo-msgdb-append): Removed third argument.
4597         (elmo-msgdb-clear): Clear index as nil.
4598         (elmo-folder-set-info-hashtb): Removed.
4599         (elmo-folder-set-info-max-by-numdb): Ditto.
4600         (elmo-folder-info-make-hashtb): Ditto.
4601
4602         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4603
4604         * elmo-map.el (elmo-folder-pack-number): Ditto.
4605
4606 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4607
4608         * elmo-version.el (elmo-version): Up to 2.9.10.
4609
4610         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4611
4612         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4613
4614 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4615
4616         * elmo-utils.el (elmo-make-directory): Add option.
4617         Default file mode is 700.
4618
4619 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4620
4621         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4622
4623 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4624
4625         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4626         mime-charset.
4627
4628         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4629         and "smaller".
4630
4631 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4632
4633         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4634         (elmo-shimbun-folder-entity-hash): New function.
4635         (elmo-shimbun-folder-shimbun-header): Ditto.
4636         (elmo-shimbun-entity-to-header): Ditto.
4637         (elmo-shimbun-msgdb-to-headers): Removed.
4638         (elmo-shimbun-folder-setup): Ditto.
4639         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4640         for hash key.
4641         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4642         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4643         Removed useless local bind.
4644         (elmo-folder-open-internal): Don't call
4645         `elmo-shimbun-folder-setup'.
4646         (elmo-folder-close-internal): Clear entity-hash slot.
4647         (elmo-folder-clear): Ditto.
4648         (elmo-shimbun-msgdb-create-entity): Use
4649         `elmo-shimbun-folder-shimbun-header'.
4650         (elmo-map-message-fetch): Ditto.
4651         (elmo-shimbun-update-overview): Use overview entity instead of
4652         shimbun header to lookup id by references.
4653         (elmo-map-folder-list-message-locations): Use not only headers but
4654         also overviews to list locations.
4655
4656 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4657
4658         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4659         msgdb path.
4660
4661         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4662
4663 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4664
4665         * elmo-util.el (elmo-read-search-condition-internal): Give default
4666         value for date.
4667
4668 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4669
4670         * elmo-util.el (elmo-condition-parse-search-value): Accept
4671         YYYY-MM-DD format to search.
4672         * elmo-date.el (elmo-date-get-datevec): Likewise.
4673
4674 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4675
4676         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4677         debugging code.
4678
4679 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4680
4681         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4682         from t.
4683
4684         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4685
4686         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4687         case from `elmo-folder-exists-p'.
4688         (elmo-folder-exists-p): Removed.
4689         (elmo-folder-creatable-p) Ditto.
4690
4691         * elmo-net.el (elmo-folder-create): Defined.
4692         (elmo-folder-create-unplugged): New function.
4693         (elmo-folder-exists-p): Changed default value to nil from t.
4694
4695         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4696         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4697
4698         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4699         `elmo-create-folder-dop' and append queue
4700         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4701         (elmo-folder-create-dop-delayed): New function.
4702
4703         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4704
4705         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4706
4707         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4708         (elmo-folder-writable-p) : Ditto.
4709
4710         * elmo-version.el (elmo-version): Up to 2.9.9.
4711
4712 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4713
4714         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4715         `elmo-message-use-cache-p' returns nil.
4716         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4717         (ignore cache file and refer the substance in local folders)
4718
4719 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4720
4721         * elmo-version.el (elmo-version): Up to 2.9.8.
4722
4723 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4724
4725         * elmo-version.el (elmo-version): Up to 2.9.7.
4726
4727         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4728
4729 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4730
4731         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4732
4733 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4734
4735         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4736         from --early.
4737         (elmo-map-folder-list-message-locations): Reverse location list.
4738
4739 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4740
4741         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4742
4743 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4744
4745         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4746         as a key.
4747         (elmo-nntp-folder-list-subfolders): Follow the change above.
4748
4749 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4750
4751         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4752         name if authentication type is specified.
4753
4754 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4755
4756         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4757         variable.
4758         (elmo-default-nntp-stream-type): Ditto.
4759         (elmo-default-pop3-stream-type): Ditto.
4760
4761 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4762
4763         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4764
4765 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4766
4767         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4768         elmo-vars.el.
4769         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4770
4771         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4772         (elmo-maildir-folder-path): Ditto.
4773         (elmo-maildir-list): Ditto (abolished).
4774
4775 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4776
4777         * elmo-version.el (elmo-version): Up to 2.9.6.
4778
4779 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4780
4781         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4782         (elmo-maildir-folder-path): Ditto.
4783         (elmo-msgdb-directory): Ditto.
4784         (elmo-passwd-life-time): Ditto.
4785         (elmo-msgdb-extra-fields): Ditto.
4786         (elmo-enable-disconnected-operation): Ditto.
4787
4788 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4789
4790         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4791         other choices.
4792         (elmo-pop3-default-authenticate-type): Ditto.
4793
4794 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4795
4796         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4797         choices for custom.
4798         (elmo-pop3-default-authenticate-type): Ditto.
4799
4800 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4801
4802         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4803         mailbox to new-folder.
4804
4805 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4806
4807         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4808         less than new, set new as unread.
4809
4810         * elmo-util.el (elmo-string): Don't put text-property if nil.
4811
4812 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4813
4814         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4815         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4816
4817 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4818
4819         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4820         is nil on `completing-read'.
4821
4822 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4823
4824         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4825         for namespace part.
4826         (elmo-imap4-parse-namespace-subr): Ditto.
4827         (elmo-folder-list-subfolders): Append a delimiter when the specified
4828         folder path is a root with namespace and does not end with delimiter.
4829
4830 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4831
4832         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4833         was used.
4834
4835 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4836
4837         * elmo-util.el (elmo-save-buffer): The first argument of message
4838         is a format control string.
4839
4840 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4841
4842         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4843         `elmo-folder-diff').
4844         (elmo-diff-unread): Likewise.
4845
4846 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4847
4848         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4849         is t on `completing-read'.
4850
4851 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4852
4853         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4854         method of target folder with self mark-alist if MARK-ALIST is nil.
4855
4856 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4857
4858         * elmo-version.el (elmo-version): Up to 2.9.5.
4859
4860 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4861
4862         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4863         (elmo-dop-merge-funcs): Remove.
4864
4865 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4866
4867         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4868         Return t if PATH is directory, too.
4869         Use `dolist' instead of while loop.
4870
4871 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4872
4873         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4874         is deleted.
4875
4876 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4877
4878         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4879         return value to t.
4880         (elmo-folder-list-messages-unplugged): Return t if
4881         elmo-enable-disconnected-operation is nil.
4882
4883         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4884         `elmo-folder-list-messages-internal'.
4885
4886 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4887
4888         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4889         Change to looking-at `[23][0-9]+'.
4890         (elmo-network-initialize-session): Use 'error-msg'
4891         * elmo-net.el (elmo-network-open-session): Set unplugged
4892         if elmo-network-initialize-session returns 'elmo-open-err.
4893
4894 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4895
4896         * elmo-version.el (elmo-version): Up to 2.9.4.
4897
4898 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4899
4900         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4901         `elmo-folder-list-messages-internal'.
4902
4903 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4904
4905         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4906         (elmo-message-match-condition): New method.
4907         (elmo-folder-search-fast): New inline function.
4908         (elmo-msgdb-search): Removed.
4909
4910         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4911         target folder if it is unplugged.
4912         (elmo-folder-list-messages-internal): Return t if target folder is
4913         unplugged and itself is persistent; In this case, use list be
4914         searched already.
4915
4916         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4917         (elmo-msgdb-search-internal-primitive): Ditto.
4918         (elmo-msgdb-match-condition): New function.
4919         (elmo-msgdb-match-condition-primitive): Ditto.
4920
4921         * elmo-util.el (elmo-filter-condition-p): New macro.
4922
4923         * elmo-cache.el (elmo-folder-search): Removed.
4924
4925         * elmo-localdir.el (elmo-folder-search): Ditto.
4926
4927         * elmo-maildir.el (elmo-folder-search): Ditto.
4928
4929         * elmo-mark.el (elmo-folder-search): Ditto.
4930
4931         * elmo-nmz.el (elmo-folder-search): Ditto.
4932
4933         * elmo-sendlog.el (elmo-folder-search): Ditto.
4934
4935         * elmo-shimbun.el (elmo-folder-search): Ditto.
4936
4937         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4938         if folder is unplugged.
4939
4940         * elmo-nntp.el (elmo-folder-search): Likewise.
4941         (elmo-nntp-search-internal): New function.
4942
4943         * elmo-version.el (elmo-version): Up to 2.9.3.
4944
4945 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4946
4947         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4948
4949 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4950
4951         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4952
4953 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4954
4955         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4956
4957 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
4958
4959         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4960         (elmo-map-folder-list-message-locations): Do drive letter conversion
4961         on Windows environment.
4962         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4963         (elmo-map-message-fetch): Ditto.
4964
4965 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
4966
4967         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4968         (elmo-network-initialize-session): Ditto.
4969
4970 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4971
4972         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4973
4974         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4975
4976         * elmo-util.el (elmo-progress-clear): Ditto.
4977
4978         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4979         `DD-Mon-YYYY' type date.
4980
4981 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4982
4983         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4984         `elmo-date-make-sortable-string' instead of
4985         `timezone-make-date-sortable'.
4986
4987         * elmo-date.el (elmo-date-make-sortable-string): Use
4988         `timezone-make-time-string'.
4989
4990 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4991
4992         * elmo.el (elmo-folder-synchronize): Delete important messages too.
4993
4994         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4995         `since'; Fix timezone.
4996
4997         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4998
4999         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5000
5001 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5002
5003         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5004
5005 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5006
5007         * elmo.el (elmo-generic-folder-append-messages): Make
5008         fetch-strategy with `use-cache' as 'maybe. Check return value of
5009         `elmo-message-fetch'.
5010         (elmo-message-fetch): Return return value of
5011         `elmo-message-fetch-with-cache-process'.
5012         (elmo-message-fetch-with-cache-process): Return non-nil if
5013         fetching was succeed. Load cache when fetching was failed and
5014         fetch-strategy-use-cache is 'maybe.
5015
5016         * elmo-util.el (elmo-file-cache-load): New function.
5017
5018         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5019         defun.
5020
5021         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5022         non-nil if fetching was succeed.
5023
5024         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5025
5026         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5027
5028         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5029         (elmo-message-fetch-with-cache-process): Likwise.
5030
5031         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5032
5033         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5034
5035         * elmo-version.el (elmo-version): Up to 2.9.2.
5036
5037 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5038
5039         * elmo.el (elmo-folder-delete): Delete msgdb path.
5040
5041         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5042
5043         * elmo-maildir.el (elmo-folder-delete): Ditto.
5044
5045         * elmo-localdir.el (elmo-folder-delete): Ditto.
5046
5047         * elmo-imap4.el (elmo-folder-delete): Ditto.
5048
5049 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5050
5051         * elmo.el (luna-define-class): Added `biff' slot.
5052
5053         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5054         (elmo-pop3-debug-inhibit-logging): Abolished.
5055         (elmo-network-close-session): Eliminated needless let.
5056         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5057         (elmo-pop3-send-command): Added `no-log' argument.
5058         (elmo-pop3-process-filter): Use `with-current-buffer'.
5059         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5060         if login failure.
5061         (elmo-pop3-auth-apop): Likewise.
5062         (elmo-network-authenticate-session): Likewise.
5063
5064         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5065         if biff folder.
5066
5067         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5068         string to determine protocol.
5069         (elmo-network-session-name-prefix): Abolished.
5070         (elmo-network-session-cache-key): Follow the change above.
5071         (elmo-network-open-session): Ditto.
5072
5073         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5074         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5075
5076         * elmo-version.el (elmo-version): Up to 2.9.1.
5077
5078         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5079         unmatch condition checking.
5080
5081         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5082         condition.
5083
5084 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5085
5086         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5087
5088 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5089
5090         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5091         test for while loop to execute at least one SEARCH command.
5092
5093 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5094
5095         * elmo-version.el (elmo-version): Up to 2.9.0.
5096
5097 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5098
5099         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5100         (elmo-archive-folder-path): Define.
5101         (elmo-folder-initialize): Setup `dir-name' slot.
5102         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5103         Use `dir-name' as prefix of each subfolders.
5104         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5105
5106 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5107
5108         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5109         (elmo-pipe-folder-list-target-messages): New internal function.
5110         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5111         `killed-list'.
5112         (elmo-pipe-folder-copied-list-load): New function.
5113         (elmo-pipe-folder-copied-list-save): Ditto.
5114         (elmo-folder-open-internal): Follow the change above.
5115         (elmo-folder-status): Fixed for copy.
5116
5117 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5118
5119         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5120
5121 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5122
5123         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5124         elmo-copy-file instead of elmo-add-name-to-file.
5125
5126         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5127
5128         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5129         "file://..." index.
5130
5131         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5132         of accept-process-output as 1.
5133         (elmo-pop3-read-contents): Ditto.
5134         (elmo-pop3-read-body): Ditto.
5135
5136 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5137
5138         * elmo-version.el (product-version-as-string): Remove define.
5139
5140 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5141
5142         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5143         (elmo-imap4-copy-messages): Chop number set using
5144         `elmo-imap4-number-set-chop-length'.
5145         (elmo-imap4-set-flag): Ditto.
5146         (elmo-imap4-search-internal-primitive): Ditto.
5147
5148 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5149
5150         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5151         `elmo-folder-make-temp-dir'
5152
5153         * elmo-vars.el (elmo-cache-directory): New variable.
5154         (elmo-cache-dir): Abolished.
5155         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5156
5157         * elmo-version.el (elmo-version): Up to 2.7.7.
5158
5159 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5160
5161         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5162         defcustom; Set default value as t.
5163
5164 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5165
5166         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5167         (ldap-search-program-arguments): Changed default value.
5168         (ldap-search-basic): Accept exit status 4.
5169         (ldap/field-body): Parse options.
5170         (ldap/collect-field): Ditto.
5171         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5172
5173         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5174         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5175         (elmo-imap4-accept-ok): Ditto.
5176         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5177         'notify-bye, only BYE error is reported.
5178         (elmo-folder-exists-p-plugged): Set no-error argument of
5179         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5180
5181         * elmo.el (elmo-imap4-bye-error): Changed message.
5182
5183         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5184         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5185         queues (It causes infinite loop).
5186
5187 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5188
5189         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5190         (RECENT UNSEEN MESSAGES) extension.
5191
5192 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5193
5194         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5195         Check number of overview fields.
5196
5197 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5198
5199         * elmo.el (elmo-folder-confirm-appends): Changed message.
5200         (elmo-folder-confirm-appends): Ditto.
5201
5202         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5203         `with-temp-buffer'.
5204         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5205
5206 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5207
5208         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5209         of elmo-folder-update-threshold is nil, which can be set by
5210         wl-summary-update-confirm-threshold.
5211
5212 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5213
5214         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5215         (elmo-nmz-index-alias-alist): Ditto.
5216         (elmo-map-folder-list-message-locations): Follow the change above.
5217
5218 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5219
5220         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5221
5222         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5223
5224         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5225
5226         * elmo-util.el (elmo-read): Ditto.
5227         (elmo-display-error): Ditto.
5228
5229         * elmo-vars.el (elmo-date-match): Ditto.
5230
5231         * pldap.el (ldap-coding-system): Ditto.
5232
5233         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5234         `elmo-inhibit-number-mapping' as nil.
5235
5236 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5237
5238         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5239         space delimiter for list response.
5240
5241 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5242
5243         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5244
5245 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5246
5247         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5248         (elmo-map-message-fetch): Fix.
5249         * elmo-map.el (elmo-folder-status): Fix for killed.
5250
5251 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5252
5253         * elmo-sendlog.el: New file.
5254         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5255
5256 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5257
5258         * acap.el (acap-logging-out): New buffer local variable.
5259         (acap-close): Set it.
5260         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5261         an error.
5262
5263 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5264
5265         * acap.el (acap-response-bye-p): New function.
5266         (acap-response-bye-message): Ditto.
5267         (acap-wait-for-response): If bye response is received, cause an error.
5268         (acap-parse-response): Make bye response when 'Bye' is received.
5269
5270 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5271
5272         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5273
5274 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5275
5276         * elmo-util.el (elmo-copy-file): Added argument
5277         `ok-if-already-exists'.
5278         (elmo-copy-file): Fixed typo.
5279
5280 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5281
5282         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5283
5284 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5285
5286         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5287
5288 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5289
5290         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5291         to killed-list.
5292
5293 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5294
5295         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5296         (elmo-folder-initialize): Fix for `copy'.
5297         (elmo-pipe-drain): Ditto.
5298         (elmo-folder-open-internal): Ditto.
5299         (elmo-folder-newsgroups): Fix.
5300
5301 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5302
5303         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5304         for each message.
5305
5306         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5307         recent value is returned from imap folder.
5308
5309         * elmo.el (elmo-folder-newsgroups): New generic function.
5310
5311         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5312         (elmo-folder-initialize): Set it.
5313         (elmo-folder-expand-msgdb-path): Use it.
5314         (elmo-folder-newsgroups): Define.
5315
5316         * elmo-filter.el (elmo-folder-newsgroups): Define.
5317
5318         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5319
5320         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5321
5322         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5323
5324 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5325
5326         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5327         user option.
5328         (elmo-shimbun-header-extra-field): New inline function.
5329         (elmo-shimbun-header-set-extra-field): Ditto.
5330         (elmo-shimbun-folder-header-hash-setup): Ditto.
5331         (elmo-shimbun-update-overview): Ditto.
5332         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5333         (elmo-shimbun-folder-setup): Use
5334         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5335         (elmo-shimbun-get-headers): Ditto.
5336         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5337         Insert `X-Shimbun-Id:' header if extra field is set.
5338         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5339         field's value instead of `shimbun-header-id'.
5340
5341         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5342         inline function.
5343         (elmo-msgdb-overview-entity-set-date): Ditto.
5344         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5345
5346 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5347
5348         * mmimap.el (mmimap-entity-section): Changed body node number from
5349         "0" to "1".
5350
5351 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5352
5353         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5354         `elmo-folder-delete-messages'.
5355
5356         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5357         (elmo-folder-initialize): Changed to expand alias into index path.
5358
5359         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5360         `elmo-mime-insert-header-from-buffer' with 6th arg
5361         `sorted-fields'.
5362
5363 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5364
5365         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5366
5367         * elmo.el (elmo-diff-new): New inline function.
5368         (elmo-diff-unread): Ditto.
5369         (elmo-diff-all): Ditto.
5370
5371         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5372         value from responseb.
5373         (elmo-imap4-folder-diff-plugged): Ditto.
5374         (elmo-imap4-server-diff-async): Added recent argument.
5375         (elmo-server-diff-async): Ditto.
5376         (elmo-imap4-folder-diff-plugged): Ditto.
5377
5378         * elmo-version.el (elmo-version): Up to 2.7.6.
5379
5380 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5381
5382         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5383         in quoted-stirng.
5384
5385 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5386
5387         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5388
5389         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5390
5391         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5392
5393         * elmo-multi.el (elmo-folder-initialize): Ditto.
5394
5395         * elmo-util.el (elmo-parse-token): New function.
5396         (elmo-parse-prefixed-element): Ditto.
5397
5398 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5399
5400         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5401         delete process.
5402         (elmo-imap4-accept-ok): Ditto.
5403
5404 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5405
5406         * mmimap.el (mime-imap-entity-header-string): Don't check first
5407         element of node-id is `0' (Follow last change).
5408
5409 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5410
5411         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5412         assigned irregular node-id to nested multipart section.
5413         (initialize-instance): Followed above change.
5414
5415 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5416
5417         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5418         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5419         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5420         `elmo-shimbun-get-headers');
5421         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5422         visible article on summary exists in headers).
5423         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5424
5425 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5426
5427         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5428         definition.
5429
5430 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5431
5432         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5433
5434 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5435
5436         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5437         header separator into loop condition.
5438
5439 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5440
5441         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5442         Return duplicate folder if it has subfolder.
5443
5444 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5445
5446         * elmo.el (elmo-make-folder): Add folder name error check.
5447
5448         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5449         (elmo-nntp-encode-group-string): New inline function.
5450         (elmo-nntp-decode-group-string): Ditto.
5451         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5452         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5453         Use `not' instead of `null';
5454         Use elmo-nntp-decode-group-string.
5455
5456         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5457
5458         * elmo-version.el (elmo-version): Up to 2.7.5.
5459
5460 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5461
5462         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5463         Hide progress gauge if `elmo-folder-move-messages' exits
5464         nonlocally.
5465
5466 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5467
5468         * elmo-imap4.el (elmo-folder-initialize): Use
5469         `elmo-imap4-encode-folder-string' for folder name.
5470
5471 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5472
5473         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5474         `done'.
5475
5476 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5477
5478         * elmo-util.el (elmo-progress-counter-alist): New internal
5479         variable.
5480         (elmo-progress-counter-value): New macro.
5481         (elmo-progress-counter-all-value): Ditto.
5482         (elmo-progress-counter-format): Ditto.
5483         (elmo-progress-counter-set-value): Ditto.
5484         (elmo-progress-set): New function.
5485         (elmo-progress-clear): Ditto.
5486         (elmo-progress-notify): Ditto.
5487
5488         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5489         counter.
5490
5491         * elmo.el (elmo-generic-folder-append-messages): Call
5492         `elmo-progress-notify'.
5493         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5494
5495         * elmo-archive.el (elmo-folder-append-messages): Call
5496         `elmo-progress-notify'.
5497
5498         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5499
5500         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5501
5502         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5503
5504 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5505
5506         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5507         'Create'.
5508         (elmo-message-encache-dop): Added argument `read'.
5509
5510         * elmo-shimbun.el (elmo-message-encache): Ditto.
5511
5512         * elmo-net.el (elmo-message-encache): Ditto.
5513
5514         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5515         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5516         elmo-imap4-seen-messages.
5517         (elmo-folder-msgdb-create-plugged): Initialize
5518         elmo-imap4-seen-messages;
5519         Set seen mark on elmo-imap4-seen-messages.
5520
5521         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5522
5523         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5524         elmo-folder-append-buffer.
5525         (elmo-folder-encache): Added optional argument `read'.
5526         (elmo-message-encache): Ditto.
5527
5528         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5529
5530         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5531
5532         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5533         if append buffer content succeds.
5534
5535 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5536
5537         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5538         elmo-display-progress.
5539
5540         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5541         Set 4th argument of mime-display-message.
5542         (elmo-mime-display-as-is): Ditto.
5543
5544 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5545
5546         * elmo-nmz.el (toplevel): Require 'mime-edit.
5547         (elmo-nmz-content-type-alist): Abolished.
5548         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5549         content is not a message.
5550         (elmo-map-message-fetch): Changed behavior exept for message content;
5551         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5552         content-type, Add From: and Subject: field.
5553
5554 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5555
5556         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5557         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5558         not a message.
5559
5560 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5561
5562         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5563         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5564
5565         * elmo-archive.el (elmo-folder-writable-p): Defined.
5566
5567         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5568
5569         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5570
5571         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5572
5573         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5574
5575         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5576
5577         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5578
5579         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5580
5581         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5582
5583 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5584
5585         * elmo-util.el (elmo-address-quote-specials): New function;
5586         Renamed from `wl-address-quote-specials'.
5587
5588 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5589
5590         * elmo-version.el (elmo-version): Up to 2.7.4.
5591
5592 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5593
5594         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5595
5596 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5597
5598         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5599         both compile-time and run-time to avoid byte-compile warning.
5600
5601 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5602
5603         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5604
5605 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5606
5607         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5608         option.
5609         (elmo-mime-display-as-is-internal): Use it.
5610
5611         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5612         if `read-passwd' is not defined.
5613
5614 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5615
5616         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5617         by original number.
5618         (elmo-folder-status): Call `elmo-folder-open-internal';
5619         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5620         (elmo-folder-close-internal): Set location-alist as nil.
5621         (elmo-folder-clear): Define.
5622         (elmo-folder-check): Don't set location-alist as nil.
5623
5624         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5625
5626 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5627
5628         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5629         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5630
5631         * mmimap.el (mime-imap-entity::requested): New slot.
5632         (mime-imap-location-fetch-entity-p): New generic function.
5633         (mime-decode-parameters): Define using `defun-maybe'.
5634         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5635         content-type structure.
5636         (mime-entity-body): Return empty body if
5637         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5638
5639         * elmo.el (elmo-message-displaying): New variable.
5640
5641         * elmo-mime.el (elmo-mime-message-display): Bind
5642         elmo-message-displaying as t.
5643
5644         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5645
5646 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5647
5648         * acap.el (acap-open): erase buffer before starting network process.
5649         (acap-store): Rewrite.
5650
5651 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5652
5653         * elmo-imap4.el (elmo-imap4-default-mailbox,
5654         elmo-imap4-default-server
5655         elmo-imap4-default-authenticate-type,
5656         elmo-imap4-default-user,
5657         elmo-imap4-default-port,
5658         elmo-imap4-default-stream-type,
5659         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5660
5661         * elmo-pop3.el (elmo-pop3-default-user,
5662         elmo-pop3-default-server,
5663         elmo-pop3-default-authenticate-type,
5664         elmo-pop3-default-port,
5665         elmo-pop3-default-stream-type,
5666         elmo-pop3-stream-type-alist): Ditto.
5667
5668         * elmo-nntp.el (elmo-nntp-default-server,
5669         elmo-nntp-default-user,
5670         elmo-nntp-default-port,
5671         elmo-nntp-default-stream-type,
5672         elmo-nntp-stream-type-alist): Ditto.
5673
5674         * elmo-vars.el: Follow changes above.
5675         (elmo-setting): New custom group; added 'elmo-setting group to
5676         above variables.
5677
5678         * elmo-version.el (elmo-version): Up to 2.7.3.
5679
5680         * acap.el (acap-parse-response): Don't delete process when BYE
5681         response (It causes hang-up on slow network environment).
5682         (toplevel): Added comment.
5683
5684 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5685
5686         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5687
5688         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5689         parsing NIL.
5690         (acap-parse-return-metadata): Ditto.
5691
5692         * slp.el: New file.
5693         (toplevel): Fixed typo.
5694
5695         * acap.el: New file.
5696         (acap-network-stream-open): Show "Connecting..." message.
5697         (acap-parse-response): Fixed problem for BYE untagged response.
5698         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5699         (toplevel): Added tiny comments.
5700
5701 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5702
5703         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5704         space delimiter for uidl response.
5705
5706 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5707
5708         * elmo-vars.el (elmo-use-semi): Eliminated.
5709
5710         * elmo-util.el (elmo-string-assoc-all): New function.
5711
5712 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5713
5714         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5715         property 'mime-preview-situation for `mime-preview-quit'.
5716
5717 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5718
5719         * elmo.el (elmo-message-fetch-with-cache-process): Call
5720         elmo-message-fetch-internal instead of causing an error when fetch
5721         strategy is 'entire but only 'section cache is available.
5722
5723 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5724
5725         * elmo-version.el (elmo-version): Up to 2.7.2.
5726
5727         * elmo.el (elmo-generic-folder-append-messages): Make
5728         fetch-strategy with `use-cache'.
5729
5730         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5731         (elmo-dop-queue-method-name): New macro.
5732
5733 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5734
5735         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5736         unbalanced parenthesis.
5737
5738 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5739
5740         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5741
5742 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5743
5744         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5745         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5746
5747 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5748
5749         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5750         local variables.
5751
5752 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5753
5754         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5755         (elmo-message-use-cache-p): Define.
5756         (elmo-folder-msgdb-create): Treat cache.
5757
5758 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5759
5760         * elmo-nntp.el (elmo-network-initialize-session): Call
5761         `elmo-nntp-send-mode-reader'.
5762         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5763
5764 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5765
5766         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5767         alist.
5768         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5769         assoc.
5770
5771         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5772         for `elmo-plugged-p'.
5773         (elmo-open-network-stream): Fixed stream-type argument.
5774
5775 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5776
5777         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5778         unknown archive type is specified.
5779
5780 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5781
5782         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5783
5784         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5785         while loading msgdb.
5786
5787         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5788         (elmo-folder-open-internal): Rewrite.
5789
5790 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5791
5792         * elmo-mime.el (elmo-mime-display-as-is-internal):
5793         Adjust buffer-multibyte status.
5794
5795 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5796
5797         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5798         of elmo-condition-find-key.
5799
5800         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5801         (elmo-condition-in-msgdb-p): Ditto.
5802         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5803         argument.
5804
5805 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5806
5807         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5808
5809 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5810
5811         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5812         label for elmo-display-progress.
5813
5814 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5815
5816         * elmo.el (elmo-folder-clear): New method.
5817         (elmo-folder-clear): Define.
5818         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5819
5820         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5821         (elmo-folder-clear): Define.
5822
5823         * elmo-map.el (elmo-folder-clear): Define.
5824
5825         * elmo-version.el (elmo-version): Up to 2.7.1.
5826
5827 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5828
5829         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5830         updates.
5831
5832 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5833
5834         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5835         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5836
5837 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5838
5839         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5840
5841         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5842         and re-written.
5843
5844         * elmo-imap4.el (elmo-folder-initialize): Use
5845         elmo-get-network-stream-type.
5846
5847         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5848
5849         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5850
5851 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5852
5853         * elmo.el (elmo-message-encache): Set unread argument for
5854         elmo-message-fetch.
5855
5856         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5857
5858         * elmo.el (elmo-net-port-info): New method.
5859
5860         * elmo-shimbun.el (elmo-net-port-info): Define.
5861         (elmo-message-encache): Ditto.
5862
5863         * elmo-net.el (elmo-net-port-info): Define as method.
5864
5865         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5866         unplugged status when elmo-enable-disconnected-operation is t.
5867
5868         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5869         of spool folder before checking new number.
5870
5871 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5872
5873         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5874         (elmo-network-setup-session): Ditto.
5875         (elmo-message-fetch-plugged): Ditto.
5876         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5877         (elmo-network-initialize-session): Ditto.
5878         (elmo-pop3-read-response): Abolish 3rd argument.
5879         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5880         (elmo-pop3-read-contents): Ditto.
5881         (elmo-pop3-read-body): Ditto.
5882         (elmo-folder-status): Call elmo-folder-close.
5883         (elmo-pop3-lock): Abolish.
5884         (elmo-pop3-unlock): Ditto.
5885         (elmo-pop3-locked-p): Ditto.
5886         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5887
5888 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5889
5890         * elmo-version.el (elmo-version): Up to 2.7.0.
5891
5892         * elmo-pop3.el (elmo-pop3-debug): New variable.
5893         (elmo-pop3-debug-inhibit-logging): Ditto.
5894         (elmo-pop3-debug): New function.
5895         (elmo-pop3-send-command): Call elmo-pop3-debug.
5896         (elmo-pop3-read-response): Added keep-lock optional argument;
5897         Don't unlock if keep-lock is non-nil.
5898         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5899         (elmo-network-authenticate-session): Bind
5900         elmo-pop3-debug-inhibit-logging as t.
5901         (elmo-network-setup-session): Call elmo-pop3-read-response with
5902         keep-lock argument.
5903         (elmo-pop3-read-msg): Ditto.
5904         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5905         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5906         (elmo-network-initialize-session): Call elmo-pop3-lock.
5907         (elmo-folder-close-internal): Don't clear location-alist slot.
5908         (elmo-folder-check): Clear location-alist slot.
5909
5910 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5911
5912         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5913         (elmo-pop3-send-command): Call elmo-pop3-lock.
5914         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5915         (elmo-pop3-read-contents): Ditto.
5916         (elmo-pop3-lock): New function.
5917         (elmo-pop3-unlock): Ditto.
5918         (elmo-pop3-locked-p): Ditto.
5919         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5920         returns t.
5921
5922 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5923
5924         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5925
5926         * elmo-util.el (elmo-file-field-primitive-condition-match):
5927         New inline function (Don't fetch file content if "first" or "last").
5928         (elmo-file-field-condition-match): Use
5929         elmo-file-field-primitive-condition-match.
5930
5931         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5932         "first".
5933
5934         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5935         (elmo-message-fetch-plugged): Fixed.
5936
5937         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5938
5939 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5940
5941         * elmo.el (elmo-folder-move-messages): Bind
5942         elmo-inhibit-display-retrieval-progress as t while moving messages.
5943
5944         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5945         New variable.
5946         (elmo-inhibit-display-retrieval-progress): Ditto.
5947
5948         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5949         for retrieval progress;
5950         Don't display progress when total buffer size is smaller than
5951         elmo-display-retrieval-progress-threshold.
5952         (elmo-message-fetch-plugged): Don't display progress when
5953         elmo-inhibit-display-retrieval-progress is non-nil.
5954
5955         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5956         for retrieval progress;
5957         Don't display progress when literal size is smaller than
5958         elmo-display-retrieval-progress-threshold.
5959         (elmo-imap4-message-fetch): Don't display progress when
5960         elmo-inhibit-display-retrieval-progress is non-nil.
5961
5962 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
5963
5964         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5965         (elmo-imap4-find-next-line): Display progress whille literal fetching.
5966         (elmo-imap4-message-fetch): Likewise.
5967
5968         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5969         (elmo-shimbun-index-range-alist): Ditto.
5970         (elmo-shimbun-use-entire-index): Abolish.
5971         (shimbun-mua-use-entire-index): Ditto.
5972         (elmo-shimbun-folder): Added new slot `range'.
5973         (elmo-folder-initialize): Setup slot `range'.
5974
5975 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
5976
5977         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5978         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5979         (elmo-shimbun-get-headers): Use return value of
5980         `shimbun-article-expiration-days'.
5981         (elmo-folder-close-internal): Clean up last-check slot.
5982
5983         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5984         (elmo-pop3-total-size): New variable.
5985         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5986
5987         * elmo.el (elmo-folder-reserve-status-p): New method.
5988
5989         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5990         (elmo-shimbun-use-entire-index): New user option.
5991         (shimbun-elmo-mua): New class.
5992         (shimbun-mua-search-id): Define.
5993         (shimbun-mua-use-entire-index): Ditto.
5994         (elmo-shimbun-folder:last-check): New slot.
5995         (elmo-shimbun-headers-cache-header-list): Abolish.
5996         (elmo-shimbun-headers-cache-set-header-list): Ditto.
5997         (elmo-shimbun-headers-cache-header-hash): Ditto.
5998         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5999         (elmo-shimbun-headers-cache-last-check): Ditto.
6000         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6001         (elmo-shimbun-headers-check-p): Rewrite.
6002         (elmo-shimbun-msgdb-to-headers): New function.
6003         (elmo-shimbun-get-headers): Rewrite.
6004         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6005         (elmo-folder-open-internal): Get headers only if
6006         `elmo-shimbun-headers-check-p' is non-nil.
6007         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6008         is non-nil.
6009         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6010         (elmo-quit): Removed.
6011
6012         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6013         function.
6014         (elmo-msgdb-overview-entity-set-extra): Ditto.
6015         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6016
6017         * elmo-map.el (elmo-folder-status): Don't call
6018         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6019         is non-nil.
6020
6021 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6022
6023         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6024         of `elmo-msgdb-search-internal-primitive' when condition's car is
6025         `and' or `or'.
6026
6027 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6028
6029         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6030
6031 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6032
6033         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6034         call `elmo-pipe-drain'.
6035
6036 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6037
6038         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6039         typo. (elmo-cache-folder -> elmo-mark-folder)
6040
6041 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6042
6043         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6044         `elmo-message-fetch'.
6045
6046 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6047
6048         * elmo-net.el (elmo-message-encache): Fixed typo.
6049         (elmo-message-fetch-unplugged): Changed call
6050         `elmo-message-fetch-internal' without argument `outbuf'.
6051
6052 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6053
6054         * elmo.el (elmo-message-encache): Define as generic function.
6055         (elmo-message-fetch-field): New generic function.
6056         (elmo-message-fetch-with-cache-process): Cause an error when
6057         fetch strategy is 'entire but only 'section cache is available.
6058         (toplevel): Fixed nmz folder definition.
6059
6060         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6061         (elmo-msgdb-resume-list-filename): Ditto.
6062         (elmo-queue-filename): Ditto.
6063         (elmo-enable-disconnected-operation): Changed default value to t.
6064
6065         * elmo-util.el (elmo-cache-path-section-p): New function.
6066         (elmo-file-cache-get): Use it.
6067         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6068         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6069         (elmo-dop-queue-save): Ditto.
6070
6071         * elmo-net.el (elmo-folder-status-unplugged): Call
6072         elmo-folder-status-dop.
6073         (elmo-folder-list-messages-unplugged): Implemented.
6074         (elmo-folder-delete-messages-unplugged): Define.
6075         (elmo-folder-msgdb-create): Define.
6076         (elmo-folder-msgdb-create-unplugged): Define.
6077         (elmo-folder-mark-as-read-unplugged): Ditto.
6078         (elmo-folder-unmark-read-unplugged): Ditto.
6079         (elmo-folder-mark-as-important-unplugged): Ditto.
6080         (elmo-folder-unmark-important-unplugged): Ditto.
6081         (elmo-message-encache): Ditto.
6082
6083         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6084         (elmo-dop-queue-save): Ditto.
6085
6086         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6087         `elmo-folder-msgdb-create'.
6088         (elmo-folder-append-buffer): Implemented unplugged operation.
6089         (elmo-folder-append-messages): Call parent method in unplugged status.
6090         (elmo-message-fetch-unplugged): Removed definition.
6091         (elmo-message-fetch-field): Implemented.
6092
6093         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6094         (elmo-dop-folder): Removed variable definition.
6095         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6096         (elmo-dop-queue-flush): Implemented.
6097         (elmo-dop-queue-merge): Removed definition (TODO).
6098         (elmo-dop-spool-folder): New function.
6099         (elmo-dop-spool-folder-append-buffer): Ditto.
6100         (elmo-dop-spool-folder-list-messages): Ditto.
6101         (elmo-dop-list-deleting-messages): Ditto.
6102         (elmo-folder-append-buffer-dop): Ditto.
6103         (elmo-folder-delete-messages-dop): Ditto.
6104         (elmo-message-encache-dop): New inline function.
6105         (elmo-create-folder-dop): Ditto.
6106         (elmo-folder-mark-as-read-dop): Ditto.
6107         (elmo-folder-unmark-read-dop): Ditto.
6108         (elmo-folder-mark-as-important-dop): Ditto.
6109         (elmo-folder-unmark-important-dop): Ditto.
6110         (elmo-folder-status-dop): Fixed.
6111         (elmo-folder-append-buffer-dop-delayed): New function.
6112         (elmo-folder-delete-messages-dop-delayed): Ditto.
6113         (elmo-dop-msgdb): Ditto.
6114
6115 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6116
6117         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6118
6119 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6120
6121         * elmo.el (elmo-folder-move-messages): Fixed problem when
6122         `dst-folder' is 'null.
6123
6124 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6125
6126         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6127         instead of current mark.
6128
6129         * elmo-multi.el (elmo-folder-list-importants-internal): No
6130         operation if importants is not list.
6131
6132         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6133         Return t if importants is not list.
6134
6135         * elmo-map.el (elmo-map-folder-list-importants): Define.
6136         (elmo-folder-list-importants-internal): Check return value of
6137         `elmo-map-folder-list-importants-internal'.
6138
6139         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6140
6141         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6142
6143         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6144
6145         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6146
6147 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6148
6149         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6150         (Patch is provided by <kita@coe.nttdata.co.jp>).
6151
6152 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6153
6154         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6155         mark folder.
6156
6157 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6158
6159         * elmo.el (elmo-message-fetch): Define.
6160         (elmo-message-fetch-with-cache-process): New generic method.
6161         (elmo-message-fetch-internal): New generic method.
6162         (elmo-folder-synchronize):
6163
6164         * elmo-archive.el (elmo-message-fetch-internal): Define.
6165         (elmo-message-fetch): Eliminated.
6166
6167         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6168         (elmo-message-fetch): Eliminated.
6169
6170         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6171         argument OUTBUF.
6172         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6173
6174         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6175         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6176
6177         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6178         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6179
6180         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6181
6182         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6183
6184         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6185
6186         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6187         (elmo-message-fetch-unplugged): New generic method.
6188         (elmo-message-fetch-internal): Remove cache process (Renamed from
6189         `elmo-message-fetch').
6190
6191         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6192         (elmo-message-fetch): Eliminated.
6193         (elmo-message-fetch-unplugged): Ditto.
6194
6195         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6196
6197 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6198
6199         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6200         of `to-be-deleted' from number-alist to number-list.
6201
6202 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6203
6204         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6205         (elmo-folder-mark-as-important): Ditto.
6206
6207 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6208
6209         * elmo.el (elmo-folder): Added process-duplicates slot.
6210
6211         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6212         (elmo-folder-unmark-read): Ditto.
6213         (elmo-folder-unmark-important): Ditto.
6214         (elmo-folder-mark-as-important): Ditto.
6215
6216         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6217         duplicated message processing.
6218
6219         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6220
6221 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6222
6223         * elmo-util.el (elmo-list-subdirectories-1): New function.
6224         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6225         (elmo-mapcar-list-of-list): New function.
6226
6227         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6228         `elmo-mapcar-list-of-list' instead of `mapcar'.
6229
6230         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6231
6232         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6233         `elmo-have-link-count'. Return the fully qualified folder name.
6234
6235 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6236
6237         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6238         (elmo-shimbun-headers-cache): New internal variable.
6239         (elmo-shimbun-headers-cache-header-list): New inline function.
6240         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6241         (elmo-shimbun-headers-cache-header-hash): Ditto.
6242         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6243         (elmo-shimbun-headers-cache-last-check): Ditto.
6244         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6245         (elmo-shimbun-lapse-seconds): Ditto.
6246         (elmo-shimbun-headers-cache-check-p): Ditto.
6247         (elmo-shimbun-get-headers): New function.
6248         (elmo-folder-open-internal): Call it.
6249         (elmo-quit): Define (Clear headers-cache).
6250
6251 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6254
6255         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6256         (elmo-msgdb-flist-save): Ditto.
6257
6258         * elmo-shimbun.el (elmo-folder-list-subfolders):
6259         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6260         (elmo-folder-exists-p): Ditto.
6261
6262         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6263         argument for `shimbun-header-insert'.
6264
6265 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6266
6267         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6268         at first time.
6269
6270         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6271         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6272
6273 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6274
6275         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6276         (elmo-folder-plugged-p): Define.
6277         (elmo-folder-set-plugged): Ditto.
6278         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6279         (elmo-folder-list-messages-internal): Return t if unplugged.
6280         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6281
6282         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6283         when elmo-folder-list-messages-internal method of children returns t.
6284
6285         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6286         pair is nil.
6287         (elmo-folder-open-internal): Don't update if unplugged status.
6288
6289 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6290
6291         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6292         new message.
6293
6294 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6295
6296         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6297
6298         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6299         saving.
6300
6301 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6302
6303         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6304
6305         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6306         (elmo-folder-open-internal): Set up headers slot.
6307         (elmo-folder-check): Call elmo-folder-close-internal and
6308         elmo-folder-open-internal.
6309         (elmo-folder-close-internal): Clean up headers slot.
6310
6311 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6312
6313         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6314         exactly folder list.
6315         (elmo-folder-append-messages): Fixed append archive with prefix.
6316
6317         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6318         make temp files with start-number.
6319
6320         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6321
6322 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6323
6324         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6325         argument `visible-only'.
6326         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6327         instead of `if'.
6328
6329         * elmo-pop3.el (elmo-folder-open-internal): Check
6330         `elmo-inhibit-number-mapping' is non-nil.
6331
6332         * elmo-pipe.el (elmo-folder-status): Fixed.
6333
6334 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6335
6336         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6337
6338         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6339         (elmo-folder-open-internal): Setup `header-hash' slot.
6340         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6341         information.
6342         (elmo-map-message-fetch): Ditto.
6343
6344 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6345
6346         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6347         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6348         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6349         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6350
6351         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6352
6353 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6354
6355         * sb-airs.el: Added footer.
6356
6357         * shimbun.el (shimbun-article): Define as luna-method.
6358
6359         * sb-tcup.el: New file.
6360
6361         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6362         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6363
6364 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6365
6366         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6367         (shimbun-get-headers): Ditto.
6368
6369         * elmo.el: Moved obsolete variable definitions from
6370         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6371
6372         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6373         groups.
6374
6375         * shimbun.el: New file.
6376
6377         * elmo-shimbun.el: New file.
6378
6379         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6380         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6381         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6382         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6383
6384 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6385
6386         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6387         hierarchy is t.
6388
6389 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6390
6391         * elmo.el (elmo-folder-msgdb): Define as macro.
6392         (elmo-folder-open): Added argument `load-msgdb'.
6393         (elmo-generic-folder-open): Ditto.
6394         (elmo-folder-encache): New function.
6395
6396         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6397
6398         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6399
6400         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6401         Eliminated argument FOLDER and added argument MSGDB.
6402         (elmo-dop-queue-load): Moved from elmo-dop.el.
6403         (elmo-dop-queue-save): Ditto.
6404
6405         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6406
6407         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6408
6409         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6410         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6411         (elmo-filter-folder-list-importants-internal): Ditto.
6412
6413         * elmo-map.el (elmo-folder-pack-number): Ditto.
6414
6415         * elmo-mime.el (elmo-mime-message-display): Ditto.
6416
6417         * elmo.el (elmo-generic-folder-commit): Ditto.
6418         (elmo-folder-list-unreads): Ditto.
6419         (elmo-folder-list-importants): Ditto.
6420         (elmo-generic-folder-commit): Ditto.
6421         (elmo-message-set-mark): Ditto.
6422         (elmo-generic-folder-append-msgdb): Ditto.
6423         (elmo-folder-synchronize): Ditto.
6424         (elmo-folder-messages): Ditto.
6425         (elmo-init): Call elmo-dop-queue-load.
6426         (elmo-folder-list-messages): Ditto.
6427
6428         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6429         (elmo-nntp-folder-process-crosspost): Ditto.
6430         (elmo-folder-list-unreads-internal): Ditto.
6431
6432         * elmo-dop.el: Removed old functions.
6433
6434 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6435
6436         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6437         `folder' to `msgdb'.
6438
6439 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6440
6441         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6442         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6443
6444         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6445         case-fold-search.
6446
6447 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6448
6449         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6450         defined.
6451
6452         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6453         (mmimap-parse-parameters-from-list): Define as alias for
6454         `mime-decode-parameter-plist' if it is defined as function.
6455         (mmimap-make-mime-entity): Added argument `number'.
6456         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6457         as 0.
6458         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6459
6460         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6461
6462         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6463
6464         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6465
6466 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6467
6468         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6469
6470         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6471         when elmo-imap4-default-authenticate-type is nil.
6472         (elmo-folder-list-subfolders): Ditto
6473         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6474         (elmo-imap4-fetch-callback-1-subr): Renamed from
6475         `elmo-imap4-fetch-callback-1' and define as inline function.
6476         (elmo-imap4-fetch-callback-1):
6477         Renamed from `elmo-imap4-fetch-callback'.
6478         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6479
6480         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6481         msgdb path (To keep compatibility with main trunk).
6482
6483         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6484
6485         * elmo-util.el (elmo-make-file-cache): Moved position of
6486         some macros.
6487
6488         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6489         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6490         instead of `elmo-pop3-inhibit-uidl'.
6491         (elmo-folder-exists-p): Ditto.
6492         (elmo-pop3-folder-list-messages): Ditto.
6493
6494         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6495         instead of `elmo-pop3-inhibit-uidl'.
6496         (elmo-folder-status): Ditto.
6497
6498         * elmo-dop.el (elmo-dop-folder): New variable.
6499         (elmo-dop-lock-message): Eliminated.
6500         (elmo-dop-unlock-message): Ditto.
6501         (elmo-dop-lock-list-load): Ditto.
6502         (elmo-dop-lock-list-save): Ditto.
6503         (elmo-dop-delete-folder): Ditto.
6504         (elmo-dop-rename-folder): Ditto.
6505
6506         * elmo.el: Removed incomplete commentary.
6507
6508 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6509
6510         * elmo.el (toplevel): Require 'elmo-version first;
6511         for little `recursive-load-depth' settings.
6512         Fix "ends here" comment.
6513
6514 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6515
6516         * elmo-util.el (toplevel): Require 'poem;
6517         Some functions are moved from elmo-cache.el.
6518
6519         * elmo-net.el (toplevel): Require 'elmo-cache.
6520
6521         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6522
6523         * elmo.el (toplevel): Ditto.
6524
6525         * elmo-cache.el: Rewrite with luna;
6526         Some functions are moved to elmo-util.el.
6527
6528         * elmo-internal.el (elmo-internal-folder-list): New variable.
6529         (elmo-internal-folder-initialize): Rewrite.
6530         (elmo-folder-list-subfolders): Ditto.
6531
6532         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6533         (elmo-cache-collect-sub-directories): Ditto.
6534
6535 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6536
6537         * elmo-version.el (elmo-version): Up to 2.5.8.
6538
6539         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6540
6541         * elmo-util.el (elmo-list-insert): New function.
6542
6543 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6544
6545         * elmo.el (elmo-init): New function.
6546         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6547
6548         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6549         (Renamed from `elmo-localdir-header-chop-length').
6550
6551         * elmo-pop3.el (elmo-pop3-use-cache,
6552         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6553
6554         * elmo-nntp.el (elmo-message-fetch): Define.
6555         (elmo-message-fetch-unplugged): Ditto.
6556         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6557         (elmo-nntp-use-cache): Ditto.
6558         (elmo-nntp-max-number-precedes-list-active): Ditto.
6559
6560         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6561
6562         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6563         `elmo-msgdb-insert-file-header'.
6564         Use `elmo-msgdb-file-header-chop-length'.
6565
6566         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6567         `elmo-vars.el'.
6568
6569         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6570         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6571         `elmo-msgdb-insert-file-header'.
6572
6573         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6574         Use new variable;
6575         Define obsolete variables with `elmo-define-obsolete-variable',
6576
6577         * elmo-util.el (elmo-warning-buffer-name): New constant.
6578         (elmo-warning): New function.
6579         (elmo-obsolete-variable-alist): New variable.
6580         (elmo-obsolete-variable-show-warnings): New variable.
6581         (elmo-define-obsolete-variable): New function.
6582         (elmo-resque-obsolete-variable): Ditto.
6583         (elmo-resque-obsolete-variables): Ditto.
6584
6585 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6586
6587         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6588         Eliminated.
6589
6590         * elmo-pop3.el, elmo-nntp.el: Use custom.
6591
6592 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6593
6594         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6595         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6596
6597 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6598
6599         * Luna-fy Kenichi OKADA's following changes.
6600         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6601         `nohide'.
6602         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6603
6604 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6605
6606         * elmo-util.el (elmo-display-progress): Prefer
6607         `progress-feedback-with-label' to `lprogress-display'.
6608
6609 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6610
6611         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6612
6613 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6614
6615         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6616         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6617         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6618         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6619         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6620         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6621         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6622         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6623         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6624         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6625         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6626         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6627         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6628
6629 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6630
6631         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6632         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6633
6634 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6635
6636         * elmo.el (elmo-folder-process-crosspost): New generic method.
6637         (elmo-folder-writable-p): Ditto.
6638         (elmo-folder-message-appendable-p): Eliminated.
6639         (elmo-generic-folder-append-msgdb): Rewrite.
6640         (elmo-newsgroups-hashtb): New internal variable.
6641         (elmo-crosspost-message-set): Eliminated.
6642         (elmo-crosspost-message-delete): Ditto.
6643         (elmo-setup-subscribed-newsgroups): New function.
6644         (elmo-crosspost-message-alist-modified): New internal variable.
6645         (elmo-crosspost-message-alist-load): New function (Renamed from
6646         `wl-crosspost-alist-load').
6647         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6648         `wl-crosspost-alist-save').
6649
6650         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6651
6652         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6653         `unreads'.
6654         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6655         elmo-newsgroups-hashtb).
6656         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6657         `elmo-nntp-folder-update-crosspost-message-alist'.
6658         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6659         `elmo-nntp-groups-hashtb'.
6660         (elmo-nntp-make-groups-hashtb): Eliminated.
6661         (elmo-nntp-parse-newsgroups): New function (Renamed from
6662         `wl-parse-newsgroups').
6663         (elmo-folder-creatable-p, elmo-folder-writable-p,
6664         elmo-folder-close-internal, elmo-folder-mark-as-read,
6665         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6666         Define.
6667         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6668
6669         * elmo-net.el (elmo-message-fetch): Check buffer size.
6670
6671         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6672
6673         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6674
6675         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6676         before `close' command.
6677
6678         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6679         `mark-alist' (All other related portions are changed).
6680
6681 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6682
6683         * elmo-util.el (elmo-create-hash-size): Eliminated.
6684         (elmo-make-hash) Make a hash with `one less than a power of two'
6685         length.
6686
6687         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6688         (elmo-hash-maximum-size): Changed value.
6689
6690 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6691
6692         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6693         (elmo-mime-message-display-as-is): Ditto.
6694
6695 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6696
6697         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6698         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6699
6700 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6701
6702         * elmo-mark.el: New file.
6703
6704         * elmo-internal.el: Rewrite (Almost empty).
6705
6706 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6707
6708         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6709         (mime-imap-entity-header-string): Ditto.
6710         (mmimap-entity-section): Rewrite.
6711
6712 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6713
6714         * elmo-nmz.el: New file.
6715
6716         * elmo-pipe.el: Rewrite with luna.
6717
6718 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6719
6720         * elmo-archive.el: Rewrite with luna.
6721
6722         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6723         (elmo-folder-list-importants-internal): Ditto.
6724
6725 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6726
6727         * elmo-archive.el (elmo-archive-version): Abolish.
6728         (toplevel) Removed `boso' comment.
6729
6730 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6731
6732         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6733         elmo-msgdb-add-msgs-to-seen-list-subr;
6734         Changed argument seen-marks to unread-marks.
6735
6736         * elmo-nntp.el: Rewrite with luna.
6737
6738 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6739
6740         * elmo-filter.el: Rewrite with luna.
6741
6742 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6743
6744         * elmo-pop3.el: Rewrite with luna.
6745
6746 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6747
6748         * elmo-multi.el: Rewrite with luna.
6749
6750         * elmo-vars.el (elmo-use-killed-list): Abolish.
6751         All other related portions are changed.
6752         (elmo-filename-replace-string-alist): Renamed from
6753         elmo-msgid-replace-string-alist.
6754
6755 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6756
6757         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6758
6759         * elmo-map.el: New file.
6760         * elmo-maildir.el: Rewrite with luna.
6761
6762 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo.el: Changed meaning of `elmo-folder-commit'.
6765         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6766
6767 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6768
6769         * elmo.el (elmo-folder-append-buffer): New function.
6770         (Renamed from `elmo-append-msg')
6771
6772 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6773
6774         * elmo-mime.el: New file.
6775
6776 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6777
6778         * elmo-cache.el: Rewrite.
6779
6780 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6781
6782         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6783
6784 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6785
6786         * elmo-vars.el (elmo): New group.
6787         (elmo-strict-diff-folder-regexp): New variable.
6788
6789         * elmo-util.el (elmo-call-func): Abolish.
6790         (elmo-folder-get-type): Ditto.
6791         (elmo-*-get-spec): Ditto.
6792         (elmo-*-spec-*): Ditto.
6793         (elmo-imap4-identical-name-space-p): Ditto.
6794         (elmo-folder-identical-system-p): Ditto.
6795         (elmo-folder-direct-copy-alist): Ditto.
6796         (elmo-folder-direct-copy-p): Ditto.
6797
6798         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6799         (elmo-folder-initialize): Define.
6800         (elmo-folder-get-primitive-list): Ditto.
6801
6802         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6803         (elmo-folder-initialize): Define.
6804         Renamed `elmo-network-session-host-internal' to
6805         `elmo-network-session-server-internal'.
6806
6807         * elmo-multi.el (elmo-multi-folder): New luna class.
6808         (elmo-folder-initialize): Define.
6809         (elmo-folder-get-primitive-list): Ditto.
6810         (elmo-folder-contains-type): Ditto.
6811         (elmo-message-use-cache-p): Ditto.
6812
6813         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6814         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6815
6816         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6817         (elmo-folder-initialize): Define.
6818
6819         * elmo-filter.el (elmo-filter-folder): New luna class.
6820         (elmo-folder-initialize): Define.
6821         (elmo-folder-get-primitive-list): Ditto.
6822         (elmo-folder-contains-type): Ditto.
6823
6824 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6825
6826         * elmo-imap4.el: Rewrite with luna.
6827
6828         * mmimap.el: New file.
6829
6830         * mmelmo.el, mmelmo-imap4.el: Removed.
6831
6832         * elmo-net.el: Ditto.
6833
6834         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6835         (elmo-folder-initialize): Define.
6836
6837         * elmo-archive.el (elmo-archive-folder): New luna class.
6838         (elmo-folder-initialize): Define.
6839
6840         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6841         `elmo-folder-msgdb-path'.
6842         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6843         `elmo-make-folder'.
6844
6845 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6846
6847         * elmo.el: New file.
6848
6849         * elmo2.el: Renamed to elmo.el.
6850
6851 \f
6852 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6853
6854         * elmo-cache.el (elmo-cache-expire-by-size): Count
6855         a disk usage for a cache file entry in KB even when
6856         its kind is a directory.
6857
6858 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6859
6860         * elmo-version.el (elmo-version): Up to 2.5.7.
6861
6862 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6863
6864         * elmo-version.el (elmo-version): Up to 2.5.6.
6865
6866 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6867
6868         * elmo-version.el (elmo-version): Up to 2.5.5.
6869
6870 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6871
6872         * elmo-imap4.el (elmo-network-authenticate-session):
6873         Fixed a logic for response checking.
6874
6875 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6876
6877         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6878         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6879         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6880         `sasl-mechanisms'.
6881
6882         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6883         for `starttls-open-stream' and `starttls-negotiate'.
6884
6885         * elmo-nntp.el: Remove autoload settings for
6886         `starttls-open-stream' and `starttls-negotiate'.
6887
6888         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6889         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6890         `luna-define-class' with `eval-and-compile'.
6891
6892 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6893
6894         * elmo-util.el (elmo-read-search-condition-internal):
6895         Require an element of table for searching field.
6896
6897 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6898
6899         * elmo-version.el (elmo-version): Up to 2.5.4.
6900
6901 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6902
6903         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6904
6905 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6906
6907         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6908
6909 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6910
6911         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6912         before greeting.
6913
6914 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-imap4.el (elmo-imap4-delete-folder):
6917         Send "close" before "delete" (Use commented out line).
6918         (elmo-imap4-rename-folder): Ditto.
6919
6920         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6921         folder string itself.
6922         (elmo-dop-list-deleted): New function.
6923         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6924         killed.
6925
6926         * elmo-util.el (elmo-string-rassoc-all): New function.
6927
6928 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6929
6930         * elmo-version.el (elmo-version): Up to 2.5.3.
6931
6932         * elmo-net.el (elmo-network-get-session): Changed logic for
6933         checking process status.
6934
6935         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6936         process is nil;
6937         Changed logic for checking process status.
6938
6939 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6940
6941         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6942         before greeting.
6943         (elmo-network-setup-session): Set UIDL hash size according to
6944         the length of list response.
6945         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6946         according to the length of list response;
6947         Return the length of list response.
6948         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6949
6950 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6951
6952         * elmo-imap4.el (toplevel): Require 'ssl.
6953         Add autoload 'starttls.
6954         * elmo-pop3.el (toplevel): Ditto.
6955         * elmo-nntp.el (toplevel): Ditto.
6956
6957 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6958
6959         * elmo-imap4.el (toplevel): defun at compile time.
6960         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6961         sasl-next-step, sasl-step-data, sasl-step-set-data.
6962         * elmo-pop3.el (toplevel): Ditto.
6963
6964 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6965
6966         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6967
6968 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6969
6970         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6971         if error.
6972         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6973         and `elmo-pop-auth-apop'.
6974
6975 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6976
6977         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6978
6979 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6980
6981         * elmo-pop3.el (elmo-network-authenticate-session): Split
6982         encoded response value.
6983
6984 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6985
6986         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6987         `elmo-pop3-force-login'.
6988         Redefine `sasl-mechanisms'.
6989         * elmo-vars.el (elmo-pop3-force-login): Ditto.
6990
6991 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6992
6993         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6994         Delete `elmo-imap4-authenticator-alist'.
6995         (elmo-imap4-auth-cram-md5): Delete.
6996         (elmo-imap4-auth-digest-md5): Delete.
6997
6998 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6999
7000         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7001         (elmo-pop3-auth-scram-md5): Ditto.
7002         (elmo-pop3-auth-cram-md5): Ditto.
7003
7004 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7005
7006         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7007         Delete `elmo-pop3-authenticator-alist'.
7008
7009 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7010
7011         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7012         new SASL API.
7013         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7014
7015 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7016
7017         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7018
7019 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7020
7021         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7022         Fixed problem when `elmo-pop3-use-uidl' is nil.
7023         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7024
7025 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7026
7027         * elmo-version.el (elmo-version): Up to 2.5.2.
7028
7029 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7030
7031         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7032         New function.
7033         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7034         (elmo-pop3-msgdb-create-as-numlist): Use it.
7035
7036         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7037         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7038
7039         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7040         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7041
7042 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7043
7044         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7045         when elmo-mark-as-read is called with second argument nil.
7046
7047 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7048
7049         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7050         Moved to elmo-util.el.
7051
7052         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7053         Moved from elmo-pipe.el
7054
7055         * elmo-archive.el (elmo-archive-call-process): Enclose with
7056         static-if.
7057
7058         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7059         "RFC822" (because RFC822.PEEK is obsolete).
7060         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7061
7062 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7063
7064         * elmo-archive.el (elmo-archive-call-process): Don't check for
7065         the exit status when Nemacs is running.
7066
7067 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7068
7069         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7070         'plain.
7071
7072         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7073         (elmo-pop3-get-spec): Set default of auth to 'user.
7074
7075         * elmo-imap4.el (elmo-imap4-session-check):
7076         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7077         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7078         (elmo-imap4-auth-login): New function; Revival.
7079         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7080         `elmo-imap4-auth-login'.
7081
7082 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7083
7084         * elmo2.el (toplevel): Move `product-provide' declare.
7085         * mmelmo.el (toplevel): Ditto.
7086
7087 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7088
7089         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7090
7091 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7092
7093         * elmo-util.el (elmo-folder-get-store-type): New function.
7094         (elmo-folder-direct-copy-p): Use it.
7095
7096 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7097
7098         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7099         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7100         and result of `elmo-imap4-use-flag-p'.
7101         (elmo-imap4-fetch-callback-1): Set mark according to
7102         the result of `elmo-imap4-use-flag-p'.
7103
7104 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7105
7106         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7107         (elmo-generic-list-folder-unread): Ditto.
7108         (elmo-folder-get-info): Ditto.
7109         (elmo-folder-set-info-max-by-numdb): Ditto.
7110         (elmo-folder-get-info-max): Ditto.
7111         (elmo-folder-get-info-length): Ditto.
7112         (elmo-folder-get-info-unread): Ditto.
7113         (elmo-folder-info-make-hashtb): Ditto.
7114
7115         * elmo2.el: Removed above functions.
7116
7117 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7118
7119         * elmo-imap4.el (toplevel): Require 'ssl.
7120         Add autoload 'starttls.
7121         * elmo-pop3.el (toplevel): Ditto.
7122         * elmo-nntp.el (toplevel): Ditto.
7123
7124 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7125
7126         * elmo-imap4.el (toplevel): defun at compile time.
7127         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7128         sasl-next-step, sasl-step-data, sasl-step-set-data.
7129         * elmo-pop3.el (toplevel): Ditto.
7130
7131 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7132
7133         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7134
7135 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7136
7137         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7138         if error.
7139         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7140         and `elmo-pop-auth-apop'.
7141
7142 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7143
7144         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7145
7146 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7147
7148         * elmo-pop3.el (elmo-network-authenticate-session): Split
7149         encoded response value.
7150
7151 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7152
7153         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7154         `elmo-pop3-force-login'.
7155         Redefine `sasl-mechanisms'.
7156         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7157
7158 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7159
7160         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7161         Delete `elmo-imap4-authenticator-alist'.
7162         (elmo-imap4-auth-cram-md5): Delete.
7163         (elmo-imap4-auth-digest-md5): Delete.
7164
7165 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7166
7167         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7168         (elmo-pop3-auth-scram-md5): Ditto.
7169         (elmo-pop3-auth-cram-md5): Ditto.
7170
7171 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7172
7173         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7174         Delete `elmo-pop3-authenticator-alist'.
7175
7176 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7177
7178         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7179         new SASL API.
7180         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7181
7182 \f
7183 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7184
7185         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7186
7187 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7188
7189         * elmo-nntp.el (elmo-nntp-get-folders-info):
7190         Fixed problem when '\' character is contained in user-id.
7191         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7192
7193 \f
7194 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7195
7196         * elmo-imap4.el (elmo-imap4-delete-folder):
7197         Send "close" before "delete" (Use commented out line).
7198         (elmo-imap4-rename-folder): Ditto.
7199
7200         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7201         folder string itself.
7202         (elmo-dop-list-deleted): New function.
7203         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7204         killed.
7205
7206         * elmo-util.el (elmo-string-rassoc-all): New function.
7207
7208         * elmo-version.el (elmo-version): Up to 2.5.1.
7209
7210 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7211
7212         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7213
7214         * elmo-internal.el (elmo-internal-search): Fix last change.
7215
7216 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7217
7218         * elmo-internal.el (elmo-internal-search): Rewrite.
7219         (Fixed problem which is pointed out by Akihiro MOTOKI
7220         <motoki@da.jp.nec.com>)
7221
7222         * elmo-version.el (elmo-version): Up to 2.5.0.
7223
7224 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7225
7226         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7227
7228 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7229
7230         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7231         non-nil, make hierarchy.
7232
7233 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7234
7235         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7236         `elmo-pop3-use-uidl' must be bound to nil.
7237         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7238
7239 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7240
7241         * elmo-util.el (elmo-copy-file): Don't cause an error after
7242         `add-name-to-file' failed.
7243
7244         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7245         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7246
7247 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7248
7249         * elmo-version.el (elmo-version): Up to 2.3.93.
7250
7251 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7252
7253         * elmo-util.el (elmo-flatten): New function.
7254
7255 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7256
7257         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7258         sync Author header.
7259         * elmo-cache.el (toplevel): Ditto.
7260         * elmo-database.el (toplevel): Ditto.
7261         * elmo-date.el (toplevel): Ditto.
7262         * elmo-dop.el (toplevel): Ditto.
7263         * elmo-filter.el (toplevel): Ditto.
7264         * elmo-imap4.el (toplevel): Ditto.
7265         * elmo-internal.el (toplevel): Ditto.
7266         * elmo-localdir.el (toplevel): Ditto.
7267         * elmo-localnews.el (toplevel): Ditto.
7268         * elmo-maildir.el (toplevel): Ditto.
7269         * elmo-msgdb.el (toplevel): Ditto.
7270         * elmo-multi.el (toplevel): Ditto.
7271         * elmo-net.el (toplevel): Ditto.
7272         * elmo-nntp.el (toplevel): Ditto.
7273         * elmo-pipe.el (toplevel): Ditto.
7274         * elmo-pop3.el (toplevel): Ditto.
7275         * elmo-util.el (toplevel): Ditto.
7276         * elmo-vars.el (toplevel): Ditto.
7277         * elmo2.el (toplevel): Ditto.
7278         * mmelmo-imap4.el (toplevel): Ditto.
7279         * mmelmo.el (toplevel): Ditto.
7280
7281         * elmo-version.el (elmo-version): Move to top.
7282
7283         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7284         * elmo-imap4.el (toplevel): Ditto.
7285         * elmo-localdir.el (toplevel): Ditto.
7286         * elmo-msgdb.el (toplevel): Ditto.
7287         * elmo-nntp.el (toplevel): Ditto.
7288         * elmo-pop3.el (toplevel): Ditto.
7289         * elmo-version.el (toplevel): Ditto.
7290
7291         * elmo-localnews.el (toplevel): Added Keyword header.
7292
7293 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7294
7295         * elmo-version.el (product-version-as-string): Defined using
7296         `defun-maybe'.
7297         (toplevel): Use it.
7298
7299         * elmo-localdir.el (toplevel): Updated copyright notice.
7300         * elmo-version.el (toplevel): Ditto.
7301         * elmo-msgdb.el (toplevel): Ditto.
7302         * elmo-imap4.el (toplevel): Ditto.
7303         * elmo-nntp.el (toplevel): Ditto.
7304         * elmo-pop3.el (toplevel): Ditto.
7305
7306 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7307
7308         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7309         messages.
7310
7311         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7312         parameter value (It sometimes contains raw kanji).
7313
7314 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7315
7316         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7317         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7318
7319 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7320
7321         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7322
7323 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7324
7325         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7326         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7327
7328 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7329
7330         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7331         value if selecting folder succceeded.
7332         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7333
7334 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7335
7336         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7337         representation.
7338
7339         * elmo-util.el (elmo-string-matched-member): New function.
7340
7341 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7342
7343         * elmo-util.el (elmo-unintern): New macro.
7344         (elmo-number-set-member): Fixed docstring.
7345
7346         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7347         tag token.
7348
7349 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7350
7351         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7352         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7353
7354 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7355
7356         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7357         `no-error'.
7358         Added docstring.
7359         Return non-nil if selecting folder succeeded.
7360         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7361
7362 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7363
7364         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7365         `file-name-completion' returns t.
7366         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7367         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7368         directory if it does not exist.
7369         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7370         for iteration.
7371
7372 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7373
7374         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7375         enclosure (It's harmful in unplugged status).
7376
7377         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7378
7379         * mmelmo-1.el: Removed.
7380
7381         * mmelmo-2.el: Ditto.
7382
7383         * mmelmo-imap4-1.el: Ditto.
7384
7385         * mmelmo-imap4-2.el: Ditto.
7386
7387         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7388
7389         * mmelmo.el: Merged mmelmo-2.el.
7390
7391         * elmo-version.el (elmo-version): Up to 2.3.92.
7392
7393 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7394
7395         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7396         elmo-update-number): Remove last period in "...done." message.
7397         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7398         Ditto.
7399         * elmo-cache.el (elmo-cache-expire-by-size,
7400         elmo-cache-get-sorted-cache-file-list,
7401         elmo-cache-msgdb-create-as-numlist): Ditto.
7402         * elmo-dop.el (elmo-dop-save-pending-messages,
7403         (elmo-dop-flush-pending-append-operations): Ditto.
7404         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7405         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7406         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7407         (elmo-localdir-pack-number): Ditto.
7408         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7409         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7410         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7411         mime-write-entity-content): Ditto.
7412         * pldap.el (ldap-search-basic): Ditto.
7413
7414 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7415
7416         * elmo-version.el (elmo-version): Up to 2.3.91.
7417
7418         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7419         Only when filter is 'last'.
7420
7421         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7422         (elmo-condition-parse-search-value): Use it.
7423         (elmo-read-search-condition-internal): Quote value only when
7424         it is not an atom.
7425
7426 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7427
7428         * elmo2.el (elmo-generic-folder-diff): Fix.
7429
7430 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7431
7432         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7433         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7434         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7435         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7436         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7437         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7438
7439 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7440
7441         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7442         extra-fields.
7443
7444 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7445
7446         * elmo-version.el (elmo-version): Up to 2.3.90.
7447
7448         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7449         (elmo-imap4-list-folder-important): Ditto.
7450
7451 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7454
7455 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7456
7457         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7458
7459 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7460
7461         * elmo-nntp.el (elmo-network-initialize-session):
7462         Add starttls negotiation.
7463
7464 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7465
7466         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7467         response.
7468         (elmo-network-setup-session): Define.
7469         Call `elmo-nntp-send-mode-reader' when session opened.
7470
7471 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7472
7473         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7474
7475 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7476
7477         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7478         an invalid SPACE character ahead of `SEARCH' command.  Move
7479         a valid SPACE character following `SEARCH' from conditional
7480         `format' arguments to control-strings.
7481
7482 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7483
7484         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7485         was succeeded.
7486
7487         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7488
7489 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7490
7491         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7492         `w32-get-true-file-link-count' as t.
7493
7494         * elmo-imap4.el (elmo-imap4-read): Abolished.
7495         (Renamed to `elmo-read' and moved to elmo-util.el)
7496         All other related portions are changed.
7497
7498         * elmo-util.el (elmo-read): New function.
7499         (elmo-condition-parse-search-value): Use it.
7500
7501 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7502
7503         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7504
7505         * elmo-nntp.el (elmo-nntp-session): Define.
7506         (elmo-nntp-setting): Abolished.
7507         All other related portions are changed.
7508         (elmo-nntp-get-server-command): Changed argument.
7509         (elmo-nntp-set-server-command): Ditto.
7510         (elmo-nntp-xover-p): Ditto.
7511         (elmo-nntp-set-xover): Ditto.
7512         (elmo-nntp-listgroup-p): Ditto.
7513         (elmo-nntp-set-listgroup): Ditto.
7514         (elmo-nntp-list-active-p): Ditto.
7515         (elmo-nntp-set-list-active): Ditto.
7516         (elmo-nntp-xhdr-p): Ditto.
7517         (elmo-nntp-set-xhdr): Ditto.
7518         (elmo-nntp-flush-connection): Abolished.
7519         (elmo-nntp-get-connection): Abolished.
7520         (elmo-nntp-get-session): New function.
7521         (elmo-network-initialize-session): Defined.
7522         (elmo-network-authenticate-session): Ditto.
7523         (elmo-nntp-send-mode-reader): Changed argument.
7524         (elmo-nntp-send-command): Changed argument.
7525         All other related portions are changed.
7526         (elmo-nntp-read-response): Ditto.
7527         (elmo-nntp-read-raw-response): Ditto.
7528         (elmo-nntp-read-contents): Ditto.
7529         (elmo-nntp-read-body): Ditto.
7530         (elmo-nntp-goto-folder): Abolished.
7531         (elmo-nntp-select-group): New function.
7532         All other related portions are changed.
7533         (This function substitutes `elmo-nntp-goto-folder')
7534         (elmo-nntp-msgdb-create-by-header): Rewrite.
7535         (elmo-nntp-get-overview): Eliminated.
7536         (elmo-nntp-get-message): Ditto.
7537         (elmo-nntp-open-connection) Abolished.
7538         (elmo-nntp-read-msg): Rewrite.
7539         (elmo-nntp-post): Ditto.
7540         (elmo-nntp-send-data): Abolished.
7541         (elmo-nntp-send-buffer): New function.
7542         (elmo-nntp-send-data-line): Define as inline function.
7543         (elmo-nntp-get-folders-info-prepare): Use session as key.
7544         (elmo-nntp-groups-read-response): Changed argument.
7545         (elmo-nntp-retrieve-headers): Ditto.
7546         (elmo-nntp-msgdb-create-message): Ditto.
7547
7548         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7549         when searching by 'since' or 'before'.
7550
7551 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7552
7553         * elmo-version.el (toplevel): Use product-version-as-string for set
7554         verstion-string, if defined.
7555
7556 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7557
7558         * elmo-util.el: Doc fixes.
7559
7560 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7561
7562         * elmo-archive.el (toplevel): Use product-provide.
7563         * elmo-cache.el (toplevel): Ditto.
7564         * elmo-database.el (toplevel): Ditto.
7565         * elmo-date.el (toplevel): Ditto.
7566         * elmo-dop.el (toplevel): Ditto.
7567         * elmo-filter.el (toplevel): Ditto.
7568         * elmo-imap4.el (toplevel): Ditto.
7569         * elmo-internal.el (toplevel): Ditto.
7570         * elmo-localdir.el (toplevel): Ditto.
7571         * elmo-localnews.el (toplevel): Ditto.
7572         * elmo-maildir.el (toplevel): Ditto.
7573         * elmo-msgdb.el (toplevel): Ditto.
7574         * elmo-multi.el (toplevel): Ditto.
7575         * elmo-net.el (toplevel): Ditto.
7576         * elmo-nntp.el (toplevel): Ditto.
7577         * elmo-pipe.el (toplevel): Ditto.
7578         * elmo-pop3.el (toplevel): Ditto.
7579         * elmo-util.el (toplevel): Ditto.
7580         * elmo-vars.el (toplevel): Ditto.
7581         * elmo2.el (toplevel): Ditto.
7582         * mmelmo-1.el (toplevel): Ditto.
7583         * mmelmo-2.el (toplevel): Ditto.
7584         * mmelmo-imap4-1.el (toplevel): Ditto.
7585         * mmelmo-imap4-2.el (toplevel): Ditto.
7586         * mmelmo-imap4.el (toplevel): Ditto.
7587         * mmelmo.el (toplevel): Ditto.
7588
7589 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7590
7591         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7592         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7593
7594 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7595
7596         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7597         before splitting.
7598         (elmo-multi-split-number-alist): Ditto.
7599
7600 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7601
7602         * elmo-version.el: New file.  Use product.el.
7603         * elmo2.el: Add (require 'elmo-version).
7604         * elmo-vars.el (elmo-appname, elmo-version): Move to
7605         elmo-version.el
7606
7607 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7608
7609         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7610         `elmo-msgdb-expand-path'.
7611         (elmo-msgdb-load): Ditto.
7612         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7613         (elmo-generic-list-folder-unread): Rewrite.
7614         (elmo-generic-list-folder-important): Changed argument.
7615         (elmo-list-folder-unread): Ditto.
7616         (elmo-list-folder-important): Ditto.
7617         (elmo-folder-diff): Rewrite.
7618         (elmo-generic-folder-diff): New function.
7619         (elmo-multi-get-number-alist-list): Abolished
7620         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7621         (elmo-multi-folder-diff): Moved to elmo-multi.el
7622         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7623
7624         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7625         `elmo-msgdb-expand-path'.
7626         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7627         (elmo-pop3-read-msg): Ditto.
7628         (elmo-pop3-delete-msgs): Ditto.
7629         (elmo-pop3-folder-diff): New alias.
7630
7631         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7632         `elmo-msgdb-expand-path'.
7633         (elmo-pipe-list-folder-unread): Changed arguments.
7634         (elmo-pipe-list-folder-important): Ditto.
7635         (elmo-pipe-folder-diff): New alias.
7636
7637         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7638         `elmo-msgdb-expand-path'.
7639         (elmo-nntp-max-of-folder): Ditto.
7640         (elmo-nntp-msgdb-create): Ditto.
7641         (elmo-nntp-delete-msgs): Ditto.
7642         (elmo-nntp-folder-diff): New alias.
7643
7644         * elmo-multi.el (elmo-multi-folder-diff): New function.
7645         (elmo-multi-split-mark-alist): Ditto.
7646         (elmo-multi-split-number-alist): Ditto.
7647         (elmo-multi-mark-alist-list): Abolished (Renamed to
7648         elmo-multi-split-mark-alist).
7649         (elmo-multi-list-folder-unread): Rewrite.
7650         (elmo-multi-list-folder-important): Ditto.
7651         (elmo-multi-list-folder): Set `spec' as 1st argument for
7652         `elmo-msgdb-expand-path'.
7653         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7654         instead of `elmo-multi-get-number-alist-list'.
7655
7656         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7657         If 1st argument is not string, treat as spec.
7658         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7659         `elmo-msgdb-expand-path'.
7660         (elmo-msgdb-flist-load): Ditto.
7661         (elmo-msgdb-flist-save): Ditto.
7662         (elmo-msgdb-delete-path): Ditto.
7663         (elmo-msgdb-rename-path): Ditto.
7664
7665         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7666         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7667         (elmo-maildir-delete-mark-msgs): Ditto.
7668         (elmo-maildir-msgdb-create): Ditto.
7669         (elmo-maildir-read-msg): Ditto.
7670         (elmo-maildir-delete-msgs): Ditto.
7671         (elmo-maildir-list-folder-subr): Ditto.
7672         (elmo-maildir-search): Ditto.
7673         (elmo-maildir-get-msg-filename): Ditto.
7674         (elmo-maildir-pack-number): Ditto.
7675         (elmo-maildir-folder-diff): New alias.
7676
7677         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7678
7679         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7680         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7681         (elmo-localdir-folder-diff): New alias.
7682
7683         * elmo-internal.el (elmo-internal-list-folder-subr):
7684         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7685         (elmo-internal-list-folder-by-location): Ditto.
7686         (elmo-internal-msgdb-create): Ditto.
7687         (elmo-internal-delete-msgs): Ditto.
7688         (elmo-internal-read-msg): Ditto.
7689         (elmo-internal-folder-diff): New alias.
7690
7691         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7692         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7693         `elmo-msgdb-expand-path'.
7694         (elmo-imap4-list-folder-unread): Changed arguments.
7695         (elmo-imap4-list-folder-important): Ditto.
7696
7697         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7698         (elmo-filter-list-folder-important): Ditto.
7699         (elmo-filter-folder-diff): New function.
7700
7701         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7702
7703         * elmo-cache.el (elmo-cache-list-folder):
7704         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7705         (elmo-cache-copy-msgs): Ditto.
7706         (elmo-cache-folder-diff): New alias.
7707
7708         * elmo-archive.el (elmo-archive-list-folder-subr):
7709         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7710         (elmo-archive-get-archive-name): Ditto.
7711         (elmo-archive-create-file): Ditto.
7712         (elmo-archive-append-msg): Ditto.
7713         (elmo-archive-copy-msgs): Ditto.
7714         (elmo-archive-copy-msgs-froms): Ditto.
7715         (elmo-archive-get-msg-filename): Ditto.
7716         (elmo-archive-folder-diff): New alias.
7717
7718 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7719
7720         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7721         (elmo-pop3-stream-type-alist): New variable.
7722         (elmo-nntp-stream-type-alist): New variable.
7723
7724         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7725         (elmo-kill-buffer): Ditto.
7726         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7727         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7728         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7729         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7730         (elmo-imap4-get-spec): Take into account
7731         `elmo-imap4-stream-type-alist'.
7732
7733 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7734
7735         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7736         (elmo-nntp-list-folders-get-cache): Ditto.
7737
7738 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7739
7740         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7741         character before 'uid'.
7742
7743 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7744
7745         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7746
7747         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7748
7749         * elmo-util.el (elmo-number-set-member): New function.
7750         (elmo-number-set-append-list): Ditto.
7751         (elmo-number-set-append): Ditto.
7752
7753         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7754         Use `elmo-number-set-member'.
7755         (elmo-living-messages): Ditto.
7756         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7757         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7758
7759         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7760         (elmo-imap4-add-to-cont-list): Abolished.
7761         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7762         instead of elmo-imap4-add-to-cont-list.
7763
7764         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7765         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7766
7767         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7768
7769 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7770
7771         * elmo-util.el (elmo-condition-parse-search-value):
7772         Fixed date parsing.
7773
7774 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7775
7776         * elmo-util.el (elmo-condition-find-key-internal): New function.
7777         (elmo-condition-find-key): Ditto.
7778
7779         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7780         (elmo-msgdb-search-internal): Ditto.
7781         (elmo-msgdb-search): Ditto.
7782
7783 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7784
7785         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7786         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7787
7788         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7789         (elmo-nntp-search-primitive): Fixed problem when condition is
7790         'unmatch'.
7791
7792         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7793
7794         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7795         (elmo-nntp-xhdr-p): New macro.
7796         (elmo-nntp-set-xhdr): Ditto.
7797         (elmo-nntp-parse-xhdr-response): New function.
7798         (elmo-nntp-retrieve-field): Ditto.
7799         (elmo-nntp-search-primitive): Ditto.
7800         (elmo-nntp-search): Implemented.
7801
7802         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7803
7804         * elmo-archive.el (elmo-archive-search): Set all number list to
7805         `elmo-archive-field-condition-match'
7806
7807         * elmo-localdir.el (elmo-localdir-search): Likewise.
7808
7809         * elmo-maildir.el (elmo-maildir-search): Likewise.
7810
7811 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7812
7813         * elmo-msgdb.el (elmo-living-messages): New function.
7814         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7815         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7816         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7817         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7818         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7819         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7820         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7821         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7822         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7823         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7824         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7825
7826 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7827
7828         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7829
7830         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7831
7832         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7833
7834         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7835         arguments for `SEARCH' command.
7836         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7837         All other related portions are changed.
7838
7839         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7840
7841         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7842         (elmo-list-folder-unread): Rewrite.
7843         (elmo-list-folder-important): Ditto.
7844
7845         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7846         (elmo-condition-parse-error): New inline function.
7847         (elmo-read-search-condition): New function.
7848         (elmo-read-search-condition-internal): Ditto.
7849         (elmo-parse-search-condition): Rewrite.
7850         (elmo-condition-parse): New function.
7851         (elmo-condition-parse-or-expr): Ditto.
7852         (elmo-condition-parse-and-expr): Ditto.
7853         (elmo-condition-parse-primitive): Ditto.
7854         (elmo-condition-parse-search-value): Ditto.
7855         (elmo-buffer-field-primitive-condition-match): Ditto.
7856         (elmo-buffer-field-condition-match): Rewrite.
7857         (elmo-file-field-condition-match): Ditto.
7858
7859         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7860         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7861
7862         * elmo-internal.el (elmo-internal-search): Set `number' and
7863         `number-list' argument of `elmo-file-field-condition-match'.
7864
7865         * elmo-maildir.el (elmo-maildir-search): Ditto.
7866
7867         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7868         `msgdb' as argument instead of `mark-alist'.
7869         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7870         `overview'.
7871
7872         * elmo-multi.el: Likewise.
7873
7874         * elmo-pipe.el: Likewise.
7875
7876         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7877         (elmo-imap4-search-internal): Rewrite.
7878         (elmo-imap4-search): Ditto.
7879
7880         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7881         (elmo-filter-list-folder-unread): Ditto.
7882         (elmo-filter-list-folder-important): Ditto.
7883         (elmo-filter-search): Rewrite.
7884
7885         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7886         `number-list' argument of `elmo-file-field-condition-match'.
7887         (elmo-cache-search): Ditto.
7888
7889         * elmo-localdir.el: Likewise.
7890
7891         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7892         number-list and pass it to `elmo-buffer-field-condition-match'.
7893         (elmo-archive-field-condition-match): Pass `number-list' to
7894         `elmo-archive-field-condition-match'
7895
7896 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7897
7898         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7899         `listgroup'.
7900
7901         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7902         (elmo-folder-diff-async-callback-data): Ditto.
7903         (elmo-folder-diff-async): New function.
7904
7905         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7906         (elmo-network-session-cache-key): Use it as a prefix of the session
7907         name.
7908         (elmo-network-open-session): Ditto.
7909
7910         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7911         (elmo-imap4-status-callback-data): Ditto.
7912         (elmo-imap4-server-diff-async-callback): New variable.
7913         (elmo-imap4-server-diff-async-callback-data): Ditto.
7914         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7915         `elmo-imap4-status-callback-data'.
7916         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7917         `elmo-imap4-status-callback-data' as nil.
7918         (elmo-imap4-server-diff): Ditto.
7919         (elmo-imap4-server-diff-async-callback-1): New function.
7920         (elmo-imap4-server-diff-async): Ditto.
7921         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7922
7923 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7924
7925         * elmo-util.el (elmo-list-delete): Doc fix.
7926         (elmo-delete-lists): Abolish.
7927         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7928         instead of `elmo-delete-lists'.
7929
7930 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7931
7932         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7933         before `sort'.
7934
7935 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7936
7937         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7938         `elmo-imap4-literal-subr'.
7939         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7940         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7941
7942 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7943
7944         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7945         (elmo-archive-list-folder): Fix.
7946         (elmo-archive-max-of-folder): Fix.
7947
7948 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7949
7950         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7951          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7952         (elmo-localdir-append-msg): Ditto.
7953         (elmo-localdir-list-folder): Fix for `nonsort'.
7954         (elmo-localdir-list-folder-subr): Fix for `killed'.
7955         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7956         (elmo-maildir-list-folder-subr): Ditto.
7957         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7958         (elmo-archive-list-folder-subr): Ditto.
7959         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7960         (elmo-internal-list-folder-subr): Ditto.
7961
7962 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
7963
7964         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7965
7966 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
7967
7968         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7969
7970 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
7971
7972         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7973         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7974
7975         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7976         before greeting.
7977         (elmo-imap4-read-part): Use "body.peek" to fetch part.
7978         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7979
7980 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
7981
7982         * mmelmo-imap4-2.el (mime-entity-children): Defined.
7983
7984         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7985         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7986         before STORE command.
7987
7988 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
7989
7990         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7991
7992         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7993         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7994         of `response'.
7995         (elmo-imap4-list-folders): Removed unused local variable.
7996         (elmo-network-initialize-session): Ditto.
7997         (elmo-imap4-delete-msg-by-id): Ditto.
7998         (elmo-imap4-parse-fetch): Ditto.
7999         (elmo-imap4-copy-msgs): Ditto.
8000         Use `dst-spec' instead of `dst-folder'.
8001         (elmo-network-authenticate-session): Check authenticate type `plain'.
8002
8003 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8004
8005         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8006         garbage checking.
8007         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8008         `elmo-imap4-response-value'.
8009         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8010
8011 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8012
8013         * elmo-imap4.el (elmo-imap4-send-command):
8014         Cause elmo-imap4-bye-error when current response is BYE.
8015         (elmo-imap4-arrival-filter): Changed greeting response value.
8016
8017         * elmo2.el (elmo-imap4-bye-error): Define.
8018
8019         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8020         (elmo-imap4-server-diff): Ditto.
8021         (elmo-imap4-response-bye-p): New macro.
8022         (elmo-imap4-response-error-text): Get text from BYE response.
8023         (elmo-imap4-read-response): Return if BYE response.
8024         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8025         (elmo-imap4-folder-exists-p): Ditto.
8026         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8027         (elmo-imap4-parse-bye): New function.
8028         (elmo-imap4-parse-response): Remove needless let.
8029         Call `elmo-imap4-parse-bye'.
8030
8031 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8032
8033         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8034         the mailbox does not exist.
8035         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8036
8037 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8038
8039         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8040
8041 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8042
8043         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8044
8045         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8046         (elmo-network-initialize-session-buffer): Defined.
8047
8048         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8049         Abolished.
8050         (mmelmo-imap4-get-mime-entity): Rewrite.
8051
8052         * elmo2.el (elmo-error): Capitalize error message.
8053
8054         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8055         (elmo-network-session-buffer): New macro.
8056         (elmo-network-open-session): Use it.
8057
8058         * elmo-imap4.el: Rewrite.
8059
8060 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8061
8062         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8063
8064 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8065
8066         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8067         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8068         (elmo-imap4-create-msgdb-from-overview-string): Use
8069         `elmo-msgdb-create-overview-from-buffer'.
8070
8071 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8072
8073         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8074         (elmo-imap4-default-hierarchy-delimiter): New variable.
8075         (elmo-imap4-list-folders): Use it.
8076
8077 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8078
8079         * elmo-net.el (elmo-network-open-session): Add user and
8080         stream-type for process-buffer name.
8081
8082         * elmo-pop3.el (elmo-network-initialize-session): Call
8083         buffer-disable-undo.
8084
8085         * elmo-imap4.el (elmo-network-initialize-session):
8086         Set current-buffer as an argument for `buffer-disable-undo'.
8087
8088         * elmo-pop3.el (elmo-network-close-session): Don't use
8089         `process-live-p'.
8090
8091         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8092         Set default as 'user.
8093
8094         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8095
8096         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8097         and `elmo-imap4-flush-connection'.
8098
8099         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8100         (elmo-pop3-get-spec): Assume auth as symbol.
8101         (elmo-open-network-stream): Moved to `elmo-net'.
8102
8103         * elmo-pop3.el (toplevel): Require 'elmo-net.
8104         Define `sasl-cram-md5' to silence byte compilier.
8105         (elmo-pop3-connection-cache) Abolished.
8106         (elmo-pop3-authenticator-alist) New variable.
8107         (elmo-pop3-session): Define.
8108         (elmo-pop3-connection-get-process): Abolished.
8109         (elmo-pop3-connection-get-buffer): Ditto.
8110         (elmo-pop3-close-connection): Ditto.
8111         (elmo-pop3-flush-connection): Ditto.
8112         (elmo-pop3-get-connection): Ditto.
8113         (elmo-pop3-get-session): New function.
8114         (Replacement for `elmo-pop3-get-connection').
8115         All other related modules are changed.
8116         (elmo-network-close-session): Define.
8117         (elmo-pop3-send-command): Abolished argument `buffer'.
8118         All other related modules are changed.
8119         (elmo-pop3-read-response): Likewise.
8120         (elmo-pop3-open-connection): Abolished.
8121         (elmo-pop3-auth-user): New function.
8122         (elmo-pop3-auth-apop): Ditto.
8123         (elmo-pop3-auth-cram-md5): Ditto.
8124         (elmo-pop3-auth-scram-md5): Ditto.
8125         (elmo-pop3-auth-digest-md5): Ditto.
8126         (elmo-network-initialize-session): Define.
8127         (elmo-network-authenticate-session): Ditto.
8128         (elmo-network-setup-session): Ditto.
8129
8130         * elmo-imap4.el (toplevel): Require 'elmo-net.
8131         (elmo-imap4-session): Define.
8132         (elmo-imap4-connection-cache): Abolished.
8133         (elmo-imap4-password-key): Ditto.
8134         (elmo-imap4-flush-connection): Ditto.
8135         (elmo-imap4-get-connection): Ditto.
8136         All other related modules are changed.
8137         (elmo-imap4-get-session): New function
8138         (Replacement for `elmo-imap4-get-connection').
8139         (elmo-imap4-read-response): Abolished argument `buffer'.
8140         All other related modules are changed.
8141         (elmo-imap4-send-command): Likewise.
8142         (elmo-imap4-select-folder): Abolished.
8143         All other related modules are changed.
8144         (elmo-imap4-select-mailbox): New function.
8145         (Replacement for `elmo-imap4-select-folder').
8146         (elmo-imap4-auth-login): Simplify.
8147         (Assume current buffer as process buffer)
8148         (elmo-imap4-auth-cram-md5): Ditto.
8149         (elmo-imap4-auth-digest-md5): Ditto.
8150         (elmo-imap4-login): Ditto.
8151         (elmo-imap4-open-connection): Abolished.
8152         (elmo-imap4-open-connection-1): Abolished.
8153         (elmo-network-initialize-sessoin): Define.
8154         (elmo-network-authenticate-session): Ditto.
8155         (elmo-network-setup-session): Ditto.
8156
8157         * elmo-net.el: New module.
8158
8159 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8160
8161         * elmo-util.el (elmo-define-error): New function.
8162
8163         * elmo2.el (elmo-error): Define.
8164         (elmo-open-error): Define.
8165         (elmo-authenticate-error): Define.
8166
8167         * elmo-imap4.el (elmo-imap4-error): Abolish.
8168         (elmo-imap4-error-type): Abolish.
8169         (elmo-imap4-error-process): Abolish.
8170         (elmo-imap4-error-message): Abolish
8171         (elmo-imap4-list-folders): Don't quote lambda.
8172         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8173         (elmo-imap4-parse-namespace): Ditto.
8174         (elmo-imap4-open-connection): Rewrite.
8175         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8176         (elmo-imap4-get-connection): Abolish local variable `result'.
8177
8178 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8179
8180         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8181         wrong-type-argument error when auth is nil.
8182
8183 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8184
8185         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8186         (elmo-default-nntp-stream-type): Ditto.
8187         (elmo-default-pop3-stream-type): Ditto.
8188         (elmo-network-stream-type-alist): Ditto.
8189         (elmo-default-imap4-ssl): Abolished.
8190         (elmo-default-nntp-ssl): Ditto.
8191         (elmo-default-pop3-ssl): Ditto.
8192
8193         * elmo-util.el: (toplevel): Removed needless requires.
8194         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8195         (elmo-open-network-stream): Open network stream according to
8196         the value of `elmo-network-stream-type-alist'.
8197         (elmo-get-network-stream-type): New function.
8198         (elmo-network-stream-type-spec-string): New macro.
8199         (elmo-network-stream-type-symbol): Ditto.
8200         (elmo-network-stream-type-function): Ditto.
8201
8202         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8203         network-stream-type. All other related portions are changed.
8204         (elmo-pop3-open-connection): Ditto.
8205
8206         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8207         network-stream-type. All other related portions are changed.
8208
8209         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8210         network-stream-type.All other related portions are changed.
8211         (elmo-imap4-error): New macro.
8212         (elmo-imap4-error-type): Ditto.
8213         (elmo-imap4-error-process): Ditto.
8214         (elmo-imap4-error-message): Ditto.
8215         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8216         (elmo-imap4-auth-cram-md5): Ditto.
8217         (elmo-imap4-auth-digest-md5): Ditto.
8218         (elmo-imap4-login): Ditto.
8219         (elmo-imap4-open-connection): Remove password entry if authentication
8220         was in vain.
8221         (elmo-imap4-user-at-host): Abolished.
8222         (elmo-imap4-password-key): New buffer local variable.
8223         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8224         using protocol, port, auth and stream-type.
8225
8226         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8227
8228 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8229
8230         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8231
8232         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8233
8234         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8235         (elmo-imap4-authenticator-alist): New variable.
8236         (elmo-imap4-open-connection-1): Rename from
8237         elmo-imap4-open-connection.
8238         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8239         only wraps elmo-imap4-open-connection-1.
8240         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8241         user-at-host.
8242         (elmo-imap4-auth-login): New function.
8243         (elmo-imap4-auth-cram-md5): New function.
8244         (elmo-imap4-auth-digest-md5): New function.
8245         (elmo-imap4-login): New function.
8246
8247 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8248
8249         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8250         function `error'.
8251
8252 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8253
8254         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8255
8256 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8257
8258         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8259
8260 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8261
8262         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8263         for server responses, quote `*' regardless of where it appears.
8264
8265 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8266
8267         * elmo-maildir.el (elmo-maildir-commit): New alias.
8268
8269 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8270
8271         * elmo-util.el (elmo-display-progress):
8272                 Use `progress-feedback-with-label'.
8273
8274 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8275
8276         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8277         (elmo-imap4-non-atom-char-regex): Ditto.
8278         (elmo-imap4-non-text-char-regex): Ditto.
8279         (elmo-imap4-literal-threshold): Ditto.
8280         (elmo-imap4-atom-p): New function.
8281         (elmo-imap4-quotable-p): Ditto.
8282         (elmo-imap4-nil): Ditto.
8283         (elmo-imap4-atom): Ditto.
8284         (elmo-imap4-quoted): Ditto.
8285         (elmo-imap4-literal-subr): Ditto.
8286         (elmo-imap4-literal): Ditto.
8287         (elmo-imap4-buffer-literal): Ditto.
8288         (elmo-imap4-string-subr): Ditto.
8289         (elmo-imap4-string): Ditto.
8290         (elmo-imap4-buffer-string): Ditto.
8291         (elmo-imap4-astring-subr): Ditto.
8292         (elmo-imap4-astring): Ditto.
8293         (elmo-imap4-buffer-astring): Ditto.
8294         (elmo-imap4-nstring): Ditto.
8295         (elmo-imap4-buffer-nstring): Ditto.
8296         (elmo-imap4-mailbox): New alias.
8297         (elmo-imap4-field-body): Ditto.
8298         (elmo-imap4-userid): Ditto.
8299         (elmo-imap4-password): Ditto.
8300         (elmo-imap4-format-quoted): New function.
8301         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8302         arguments and handle "atom", "quoted" and "literal" string here.
8303         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8304         `elmo-imap4-send-command'.
8305         (elmo-imap4-folder-exists-p): Likewise.
8306         (elmo-imap4-create-folder): Likewise.
8307         (elmo-imap4-delete-folder): Likewise.
8308         (elmo-imap4-rename-folder): Likewise.
8309         (elmo-imap4-max-of-folder): Likewise.
8310         (elmo-imap4-check-validity): Likewise.
8311         (elmo-imap4-sync-validity): Likewise.
8312         (elmo-imap4-server-diff): Likewise.
8313         (elmo-imap4-select-folder): Likewise.
8314         (elmo-imap4-copy-msgs): Likewise.
8315         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8316         (elmo-imap4-mark-set-on-msgs): Likewise.
8317         (elmo-imap4-read-part): Likewise.
8318         (elmo-imap4-read-msg): Likewise.
8319         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8320         `elmo-imap4-password' for `elmo-imap4-send-command'.
8321         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8322         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8323         `elmo-imap4-buffer-literal'.
8324         (elmo-imap4-append-msg): Likewise.
8325
8326         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8327         `delete' for removing dead connection from the connection cache.
8328         Move deletion of the process buffer after that.
8329         (elmo-imap4-list): Change `defsubst' to `defun'.
8330         (elmo-imap4-commit): Make error message verbose.
8331         (elmo-imap4-search): Ditto.
8332         (elmo-imap4-list): Ditto.
8333         (elmo-imap4-select-folder): Ditto.
8334         (elmo-imap4-copy-msgs): Ditto.
8335         (elmo-imap4-delete-msg-by-id): Ditto.
8336         (elmo-imap4-append-msg-by-id): Ditto.
8337         (elmo-imap4-append-msg): Ditto.
8338
8339 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8340
8341         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8342         when dired is used on XEmacs.
8343
8344 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8345
8346         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8347         instead of `append'.
8348         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8349         `elmo-plugged-p' directly.
8350         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8351         of `elmo-plugged-p' directly.
8352
8353         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8354         Eliminate unused variable.  Use `memq' for checking a process status.
8355         Use `cons' instead of `append' for updating the connection cache.
8356         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8357         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8358
8359 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8360
8361         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8362         `elmo-imap4-read-point' exactly.
8363
8364         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8365         the local variable `folder' to `mailbox'.
8366         Rename the argument `fld' to `folder'.
8367
8368 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8369
8370         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8371         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8372
8373 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8374
8375         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8376         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8377         (elmo-pop3-uidl-number-hash): Ditto.
8378         (elmo-pop3-size-hash): Ditto.
8379         (elmo-pop3-uidl-done): Ditto.
8380         (elmo-pop3-list-done): Ditto.
8381         (elmo-pop3-connection-get-process): New defmacro.
8382         (elmo-pop3-connection-get-buffer): Ditto.
8383         (elmo-pop3-close-connection): Delete buffer and process.
8384         (elmo-pop3-flush-connection): Don't delete buffer and process.
8385         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8386         Setup UIDL and size hash.
8387         (elmo-pop3-send-command-no-erase): Deleted
8388         (elmo-pop3-send-command): Added optional argument `no-erase'.
8389         (elmo-pop3-parse-uidl-response): New function.
8390         (elmo-pop3-parse-list-response): Set size hash.
8391         (elmo-pop3-list-location): New function.
8392         (elmo-pop3-list-by-uidl-subr): Ditto.
8393         (elmo-pop3-list-by-list): Ditto.
8394         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8395         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8396         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8397         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8398         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8399         Use uidl.
8400         (elmo-pop3-uidl-to-number): New function.
8401         (elmo-pop3-number-to-uidl): Ditto.
8402         (elmo-pop3-number-to-size): Ditto.
8403         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8404         Set number by use of uidl.
8405         (elmo-pop3-msgdb-create-message): Likewise.
8406         Set size, loc-alist in msgdb.
8407         (elmo-pop3-read-msg): Set number by use of uidl.
8408         Added optional argument `msgdb'.
8409         (elmo-pop3-delete-msg): Ditto.
8410         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8411         (elmo-pop3-commit): Close connection.
8412
8413         * elmo-pipe.el (elmo-pipe-max-of-folder):
8414         Bind `elmo-pop3-use-uidl' as nil.
8415         (elmo-pipe-drain): Ditto.
8416         Call `elmo-commit'.
8417
8418         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8419         (elmo-msgdb-overview-entity-set-size): New defsubst.
8420
8421 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8422
8423         * elmo-vars.el (elmo-use-killed-list): New variable
8424         (Renamed from `elmo-nntp-use-killed-list').
8425         (elmo-nntp-use-killed-list): Eliminated.
8426
8427         * elmo-msgdb.el (elmo-msgdb-expand-path):
8428         Changed expanding msgdb path for elmo-multi.
8429
8430         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8431         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8432         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8433         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8434         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8435         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8436         (toplevel): Deleted time-stamp line.
8437
8438         * elmo2.el (elmo-clear-killed ): Defined as function
8439         (Abolished defining as a backend function).
8440         All other related modules are changed.
8441
8442 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8443
8444         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8445
8446 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8447
8448         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8449
8450 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8451
8452         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8453
8454 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8455
8456         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8457         asynchronous folder check.
8458
8459         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8460
8461         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8462         `elmo-nntp-use-killed-list'.
8463         (elmo-nntp-list-folder): Use killed list.
8464         (elmo-nntp-max-of-folder): Ditto.
8465         (elmo-nntp-msgdb-create): Set killed list.
8466
8467         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8468
8469         * elmo2.el (elmo-clear-killed): New backend function.
8470         All other related modules are changed.
8471
8472 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8473
8474         * elmo-util.el (elmo-imap4-spec-folder): Use
8475         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8476         All callers changed.
8477
8478 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8479
8480         * mmelmo-2.el (initialize-instance):
8481         Use `mime-buffer-entity-buffer-internal' instead of
8482         `mime-entity-buffer'.
8483
8484         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8485         (mime-entity-body): Implemented.
8486         (mime-goto-header-start-point): Deleted.
8487         (mime-goto-body-end-point): Ditto.
8488         (mime-entity-point-min): Ditto.
8489         (mime-entity-point-max): Ditto.
8490         (mime-entity-children): Ditto.
8491         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8492         instead of `mime-entity-buffer'.
8493         (mime-entity-header-buffer): Ditto.
8494         (mime-entity-body-buffer): Ditto.
8495         (mime-write-entity-content): Ditto.
8496
8497         * pldap.el (ldap-static-if): New macro.
8498         (toplevel): Use it instead of `static-if'.
8499
8500 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8501
8502         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8503         included in `attrs' argument.
8504
8505 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8506
8507         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8508
8509         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8510         (ldap-ldif-safe-init-char-regexp): Ditto.
8511         (ldap-ldif-safe-string-regexp): Ditto.
8512         (ldap/ldif-safe-string-p): New macro.
8513         (ldap/ldif-insert-field): Ditto.
8514         (ldap-modify): Use it.
8515         (ldap-add): Ditto.
8516         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8517         (ldap-decode-attribute): Decode only when `attr' is consp.
8518         (ldap-delete): Bind `ret'.
8519         (toplevel): Require 'cl at compile time.
8520         Removed (require 'poe) and (require 'std11).
8521         (pldap-version): Eliminated.
8522         (ldap-search-basic): Removed auth and dn binding.
8523         (ldap-ldif-field-name-regexp): New constant.
8524         (ldap-ldif-field-head-regexp): Ditto.
8525         (ldap-ldif-next-field-head-regexp): Ditto.
8526         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8527         (ldap/field-end): New function.
8528         (ldap/field-body): Use it.
8529         (ldap/collect-field): Ditto.
8530         (ldap-search-basic): Use `ldap/field-body'.
8531
8532 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8533
8534         * pldap.el (ldap-default-attribute-encoder): New user option.
8535         (ldap/field-body): Decode base64 string.
8536         (ldap/collect-field): Ditto.
8537         (ldap-encode-attribute): New function.
8538         (ldap-add-entries): Use it.
8539         (ldap-modify-entries): Ditto.
8540         (ldap-search-entries): Enclosed decoding function with
8541         `with-temp-buffer' and set as unibyte.
8542         (ldap-search-basic): Set process buffer as unibyte.
8543
8544         * elmo-util.el (elmo-folder-identical-system-p):
8545         Eliminated name space checking.
8546
8547         * pldap.el: New module.
8548         toplevel: Changed condition to detect built-in ldap feature.
8549         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8550         (ldap-add): Added error handling.
8551         (ldap-modify): Ditto.
8552         (ldap-delete): Ditto.
8553
8554 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8555
8556         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8557         Initialize local variables with `let'.  Inline a temporary
8558         variable for the progress percentage.  Sort `setq' to reduce
8559         function call in the while-loop.
8560
8561         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8562         into the conditional branch.
8563
8564 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8565
8566         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8567         Move a conditional out of the while-loop.
8568
8569 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8570
8571         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8572         elmo-msgdb-overview-get-entity-by-number.
8573         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8574         throw.
8575
8576 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8577
8578         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8579         the local variable for a packed number self descriptively.
8580
8581 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8582
8583         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8584         * elmo-localdir.el (elmo-localdir-pack-number): Use
8585         `elmo-msgdb-overview-get-entity' instead of
8586         `elmo-msgdb-overview-get-entity-by-number'.
8587         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8588         (elmo-msgdb-search-overview-entity): Removed.
8589         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8590         by message-id or number.
8591         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8592         instead of `elmo-msgdb-overview-get-entity-by-number'.
8593
8594 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8595
8596         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8597         non-nil, use hash table for overview.
8598         (elmo-hash-maximum-size): New variable.
8599         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8600         (elmo-msgdb-make-overview-hashtb): New function.
8601         (elmo-msgdb-clear-overview-hashtb): New function.
8602         (elmo-clear-hash-val): New macro.
8603         All other related modules are changed.
8604
8605 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8606
8607         * elmo2.el (elmo-move-msgs): If there's other message with
8608         same message-id, don't use cache.
8609
8610 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8611
8612         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8613         number is already packed.
8614
8615 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8616
8617         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8618
8619 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8620
8621         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8622         All other related modules are changed.
8623
8624 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8625
8626         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8627         of refiling failure on Maildir.
8628
8629 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8630
8631         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8632         decoded mime-charset with cache.
8633         (elmo-msgdb-overview-entity-get-from): Ditto.
8634         (elmo-msgdb-overview-entity-get-subject): Ditto.
8635         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8636
8637 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8638
8639         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8640         (elmo-remove-passwd): Fill password with 0 before erase.
8641         * elmo-vars.el (elmo-passwd-life-time): New variable.
8642
8643 \f
8644 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8645
8646         * elmo-cache.el (elmo-buffer-cache-add):
8647         Set message cache buffer as unibyte.
8648
8649 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8650
8651         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8652         become nil.
8653
8654 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8655
8656         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8657         when display is finished.
8658         (elmo-nntp-msgdb-create): Ditto.
8659         (elmo-nntp-groups-read-response): Ditto.
8660         (elmo-nntp-retrieve-headers): Ditto.
8661         (elmo-nntp-msgdb-create-message): Ditto.
8662         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8663         (elmo-pop3-msgdb-create-message): Ditto.
8664
8665 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8666
8667         * elmo-maildir.el (elmo-maildir-msgdb-create):
8668         Use `elmo-msgdb-sort-by-date'.
8669
8670 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8671
8672         * elmo2.el (elmo-read-msg-no-cache):
8673         Eliminated arguments after `outbuf'.
8674         Don't use cache even if it exists.
8675         (elmo-read-msg): Don't pass arguments after `outbuf' to
8676         `elmo-read-msg-no-cache'.
8677
8678 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8679
8680         * elmo-archive.el (elmo-archive-list-folders):
8681         Use `file-name-directory' if base folder does not exist.
8682
8683 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8684
8685         * elmo-archive.el (elmo-archive-list-folders): Don't use
8686         `file-name-directory'.
8687
8688 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8689
8690         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8691         If `force' is non-nil, try flushing all operation queues.
8692
8693 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8694
8695         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8696         as-binary-process.
8697
8698 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8699
8700         * elmo-util.el (elmo-display-progress): Fixed.
8701
8702 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8703
8704         * elmo-util.el (elmo-display-progress): New function.
8705         All other related modules are changed.