* elmo-maildir.el (elmo-maildir-list-location): Reduce
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo-maildir.el (elmo-maildir-list-location): Reduce
4         `elmo-get-last-modification-time' call.
5
6 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
9         expression.
10         (elmo-maildir-set-mark): Ditto.
11         (elmo-maildir-delete-mark): Ditto.
12
13 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
14
15         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
16         optional argument `separators'.
17
18 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
19
20         * elmo.el (cache-changed): Abolish.
21         (status-changed): New signal.
22         (elmo-message-killed-p): New generic function and define for
23         elmo-folder.
24         (elmo-folder-recover-messages): Ditto.
25         (elmo-message-set-cached): Emit signal `status-changed' instead of
26         `cache-changed'.
27         (elmo-message-status): New macro.
28         (elmo-message-status-folder): Ditto.
29         (elmo-message-status-number): Ditto.
30         (elmo-message-status-set-flags): Ditto.
31         (elmo-message-status-set-killed): Ditto.
32         (elmo-message-status-flags): New function.
33         (elmo-message-status-cached-p): Ditto.
34         (elmo-message-status-killed-p): Ditto.
35
36         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
37         `status-changed' instead of `cache-changed'.
38         (elmo-folder-recover-messages): Define.
39         (elmo-message-killed-p): Ditto.
40
41         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
42         `status-changed' instead of `cache-changed'.
43
44         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
45         (elmo-message-killed-p): Define.
46         (elmo-folder-recover-messages): Ditto.
47
48         * elmo-version.el (elmo-version): Up to 2.15.3.
49
50 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
51
52         * elmo-signal.el (elmo-signal-bindings): Use cons to append
53         element into list.
54         (elmo-define-signal-handler): Add docstring.
55         (elmo-define-signal-filter): Ditto.
56
57         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
58
59 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo-util.el (elmo-flatten): Don't use recursive call.
62
63         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
64         assignment.
65         (elmo-folder-message-make-temp-files): Use `number-to-string'
66         instead of `int-to-string'.
67
68 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
69
70         * elmo-search.el (elmo-folder-delete-messages): Define.
71
72 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
73
74         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
75         customization type.
76         (elmo-mailing-list-count-spec-list): Ditto.
77
78         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
79         for `list-id'.
80
81 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
82
83         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
84         handling.
85
86 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
87
88         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
89         (elmo-mailing-list-count-spec-list): Ditto.
90
91         * elmo-util.el (elmo-map-until-success): New function.
92         (elmo-string-match-substring): Ditto.
93         (elmo-find-list-match-value): Ditto.
94
95         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
96         Removed.
97         (modb-entity-extract-ml-info-from-subject): Ditto.
98         (modb-entity-extract-ml-info-from-return-path): Ditto.
99         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
100         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
101         (modb-entity-extract-ml-info-from-mailman): Ditto.
102         (modb-entity-extract-mailing-list-info-functions): Ditto.
103         (modb-entity-extract-mailing-list-info): Rewrite with
104         `elmo-find-list-match-value'.
105
106 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elmo-net.el (elmo-network-session-retry-count): New user option.
109         (elmo-network-session-buffer-name): New internal function.
110         (elmo-network-session-buffer-create): Ditto.
111         (elmo-network-open-session): Retry open network session
112         `elmo-network-session-retry-count' times.
113
114 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
115
116         * elmo-util.el (elmo-list-filter): Rewritten.
117
118 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
119
120         * elmo-util.el (elmo-string-member): Allow symbol element in list.
121
122 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
123
124         * elmo-search.el (elmo-make-search-engine): Use prefix
125         `elmo-search-' for require symbol instead of `else-'.
126         (elmo-search-engine-extprog): New class.
127         (elmo-search-engine-do-search): Remove nil from argument
128         list. Added argument pattern to evaluate element as function.
129         (elmo-search-engine-local-file): Derived from
130         `elmo-search-engine-extprog'.
131         (elmo-search-engine-create-message-entity): Check existance of file.
132         (elmo-search-engine-fetch-message): Ditto.
133         (elmo-search-namazu-index): Follow the API change.
134         (elmo-search-grep-target): Ditto.
135
136 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
137
138         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
139         characters of working buffer.
140
141         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
142         Does not bind `default-mime-charset'.
143         (elmo-msgdb-create-message-entity-from-buffer): Removed
144         unnecessary local bind.
145
146         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
147         function.
148         (modb-entity-extract-mailing-list-info-functions): Added it.
149
150 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
151
152         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
153         when number and message-id are non-nil.
154
155         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
156
157         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
158         conditional steatment.
159         (elmo-pop3-auth-apop): Likewise.
160         (elmo-network-authenticate-session): Likewise.
161
162 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
165         symbol `fill-column'.
166         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
167         decode field value.
168
169         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
170         (elmo-decoded-field-body): Ditto.
171
172 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
173
174         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
175         `tokens' to `params'.
176
177 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
178
179         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
180         working buffer.
181
182 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
183
184         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
185         decide index.
186
187 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
188
189         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
190         Set default value as nil.
191         (toplevel): Register search engines by
192         `elmo-search-register-engine' if there are not defined.
193
194         * elmo.el (autoload): Added autoload setting for
195         `elmo-search-register-engine'.
196
197 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
198
199         * elmo.el (toplevel): `[' is redefined as the prefix of the search
200         folder instead of nmz folder.
201         (elmo-nmz-default-index-path): Added obsolete variable setting.
202         (elmo-nmz-index-alias-alist): Ditto.
203         (elmo-nmz-use-drive-letter): Ditto.
204
205         * elmo-search.el (elmo-search-register-engine): New function.
206
207         * elmo-nmz.el: Removed.
208
209         * elmo-version.el (elmo-version): Up to 2.15.2.
210
211 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
212
213         * elmo-search.el: New file.
214
215 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
216
217         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
218         condition `larger' and `smaller'.
219
220 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
221
222         * elmo-util.el (elmo-safe-filename): Rewrite to replace
223         `"' (double quote) into "_Q_".
224
225 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
226
227         * elmo-net.el (elmo-net-quote-chars): Abolish.
228         (elmo-net-format-quoted): Ditto.
229
230 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
231
232         * elmo.el (elmo-get-folder-function): New variable.
233         (elmo-get-folder): New function.
234         (elmo-folder-rename): Call `elmo-make-folder' with specified
235         mime-charset.
236
237         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
238         `elmo-make-folder'.
239         (elmo-split-subr): Ditto.
240
241         * elmo-multi.el (elmo-folder-initialize): Ditto.
242
243         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
244
245         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
246         (elmo-flag-get-folder): Ditto.
247
248         * elmo-filter.el (elmo-folder-initialize): Ditto.
249
250         * elmo-access.el (elmo-folder-initialize): Ditto.
251         (elmo-access-folder-update-children): Ditto.
252
253         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
254         (elmo-dop-queue-flush): Ditto.
255         (elmo-folder-append-buffer-dop-delayed): Ditto.
256         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
257         mime-charset.
258
259         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
260         instead of `elmo-make-folder'.
261         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
262         destination folder instead of send `elmo-folder-rename-internal'.
263
264         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
265         slot of subfolder instead of create it.
266
267 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
268
269         * elmo-util.el (elmo-collect-separators): New function.
270         (elmo-collect-separators-internal): Ditto.
271         (elmo-collect-trail-separators): Ditto.
272         (elmo-parse-separated-tokens): Ditto.
273         (elmo-parse-separated-tokens-internal): Ditto.
274         (elmo-quote-syntactical-element): Ditto.
275
276         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
277         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
278
279         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
280         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
281         (elmo-nntp-folder-list-subfolders): Quote a user name.
282
283         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
284         (elmo-net-parse-network): Abolish.
285         (elmo-net-folder-set-parameters): New function.
286         (elmo-folder-initialize): Follow the above change.
287
288         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
289         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
290         (elmo-folder-list-subfolders): Use
291         `elmo-quote-syntactical-element' instead of
292         `elmo-net-format-quoted' to quote mailbox and user name.
293
294 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
295
296         * elmo-util.el (elmo-token-valid-p): New function.
297         (elmo-parse-token): Add optional argument `requirement'.
298         (elmo-parse-prefixed-element): Likewise.
299
300         * elmo-net.el (elmo-net-quote-chars): Renamed from
301         `elmo-net-quote-chars-regexp'.
302         (elmo-net-format-quoted): Add optional argument `extra-chars'.
303
304         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
305         by info document. Check token `uidl' is started an alphabet.
306
307         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
308         by info document. Check token `user' is started an alphabet.
309
310         * elmo-imap4.el (elmo-folder-initialize): Ditto.
311         (elmo-folder-list-subfolders): Quote user.
312
313 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
314
315         * elmo-util.el (elmo-quoted-specials-list): New constant.
316         (elmo-quoted-token): New function.
317
318         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
319         (elmo-net-format-quoted): New function.
320         (elmo-net-parse-network): Ditto.
321         (elmo-folder-initialize): Use it.
322
323         * elmo-nntp.el (elmo-folder-initialize): Use
324         `elmo-net-parse-network' to parse network specification instead of
325         `elmo-folder-initialize#elmo-net'.
326
327         * elmo-pop3.el (elmo-folder-initialize): Ditto.
328
329         * elmo-imap4.el (elmo-folder-initialize): Ditto.
330         (elmo-folder-list-subfolders): Quote folder name by
331         `elmo-net-format-quoted'.
332
333 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
334
335         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
336         (elmo-folder-search): Use it.
337
338 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
339
340         * modb-standard.el (modb-standard-loaded-message-id): Use
341         `elmo-msgdb-message-entity-field'.
342
343 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
344
345         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
346         without filename.
347
348 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
349
350         * elmo-util.el (elmo-set-auto-coding): New function.
351         (elmo-object-load): Use it.
352
353 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
354
355         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
356         (elmo-time<): Define as alias of `elmo-time-less-p'.
357         (elmo-time-to-datevec): New function.
358
359         * elmo-date.el (elmo-time-to-days): New function.
360
361 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
362
363         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
364         is not cons cell.
365
366 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
367
368         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
369         parenthesis.
370
371         * elmo-util.el (elmo-map-recursive): New function.
372
373         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
374         (modb-entity-encode-string-recursive): Ditto.
375
376 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
377
378         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
379         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
380         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
381         compare sequence number when last modified time is nil.
382
383 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
384
385         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
386
387         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
388
389 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
390
391         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
392         modification time of the file.
393
394 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
395
396         * elmo-util.el (elmo-condition-optimize): Discriminated against
397         preserved fields, extra fields and the other weight.
398
399 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
400
401         * modb-entity.el (initialize-instance): Define.
402         (modb-entity-handler-mime-charset): New internal function.
403         (modb-standard-entity-set-field): Use it.
404         (elmo-msgdb-message-entity-field): Ditto.
405         (elmo-msgdb-message-entity-field): Ditto.
406
407         * modb.el (elmo-msgdb-match-condition): Rewrite with
408         `elmo-condition-match'.
409         (elmo-msgdb-match-condition-primitive): New function.
410
411         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
412         arguments `flags' and `numbers'.
413         (elmo-msgdb-match-condition-primitive): Abolished (merged to
414         `elmo-msgdb-message-match-condition').
415         (modb-buffer-entity-handler): New class.
416
417         * elmo.el (elmo-folder-search): Optimize condition to use
418         `elmo-condition-optimize'.
419         (elmo-message-buffer-match-condition): New function.
420         (elmo-message-match-condition): Use
421         `elmo-message-buffer-match-condition' instead of
422         `elmo-buffer-field-condition-match'.
423
424         * elmo-util.el (elmo-condition-match): New function.
425         (elmo-condition-optimize): Ditto.
426         (elmo-buffer-field-primitive-condition-match): Abolish.
427         (elmo-buffer-field-condition-match): Ditto.
428
429         * elmo-archive.el (elmo-archive-field-condition-match): Use
430         `elmo-message-buffer-match-condition' instead of
431         `elmo-buffer-field-condition-match'.
432
433 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
434
435         * elmo-flag.el (elmo-global-flags-initialize): Check the
436         existence of the flag directory.
437
438 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
439
440         * elmo-access.el (elmo-folder-initialize): Call
441         `elmo-multi-connect-signals'.
442
443         * elmo-pipe.el (elmo-folder-close): Define.
444
445         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
446         children folders.
447
448         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
449         with target folder.
450
451         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
452         `number'.
453
454         * elmo-multi.el (elmo-message-entity): Don't use return value of
455         `elmo-message-entity-set-number'.
456
457 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
458
459         * modb.el (modb-generic): Added slot `mime-charset'.
460
461         * modb-standard.el (modb-standard): Added slot `overview-handler'.
462         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
463         and `modb-entity-handler-dump-parameters'.
464         (modb-standard-default-entity-handler): Abolish.
465         (elmo-msgdb-message-entity-handler): Save created handler by
466         instance slot.
467
468         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
469         (modb-entity-handler-list-parameters): New method.
470         (modb-entity-handler-equal-p): New function.
471         (modb-entity-handler-dump-parameters): Ditto.
472         (modb-entity-parse-address-string): Encode return value.
473         (modb-entity-make-address-string): Decode argument value.
474         (modb-entity-decode-string-recursive): New function.
475         (modb-entity-encode-string-recursive): Ditto.
476         (modb-standard-entity-normalizer): Set to encode field value.
477         (modb-standard-entity-specializer): Follow the above change.
478         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
479         mime-charset of handler.
480         (elmo-msgdb-message-entity-field): Ditto.
481         (elmo-msgdb-copy-message-entity): Fixed reference to internal
482         structure.
483         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
484
485         * elmo.el (elmo-folder): Added slot `mime-charset'.
486         (elmo-make-folder): Added argument `mime-charset'.
487         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
488         `mime-charest'.
489
490         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
491         (elmo-make-msgdb): Likewise.
492
493         * elmo-internal.el (elmo-internal-folder-initialize): Call
494         `luna-make-entity' with :mime-charset parameter.
495
496 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
497
498         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
499         encoded words in `from' and `subject' field.
500
501 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
502
503         * modb.el (elmo-msgdb-message-field): Add argument `type'.
504         (elmo-msgdb-match-condition): Get handler from entity instead of
505         msgdb.
506
507         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
508         (modb-standard-load-entity): Treat new file format.
509         (modb-standard-save-entity-1): Save as new file format.
510         (modb-standard-save-entity): Split messages into section here.
511         (elmo-msgdb-message-field): Follow the API change.
512         (modb-standard-default-entity-handler): New internal variable.
513         (elmo-msgdb-message-entity-handler): Define.
514
515         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
516         to `elmo-vars.el'.
517         (modb-entity-field-extractor-alist): New user option.
518         (elmo-msgdb-message-entity-field): Removed argument `decode' and
519         added argument `type'.
520         (elmo-msgdb-copy-message-entity): Add optional argument
521         `make-handler'.
522         (modb-set-field-converter): New function.
523         (modb-convert-field-value): Ditto.
524         (modb-entity-string-decoder): Ditto.
525         (modb-entity-string-encoder): Ditto.
526         (modb-entity-parse-date-string): Ditto.
527         (modb-entity-make-date-string): Ditto.
528         (modb-entity-mime-decoder): Ditto.
529         (modb-entity-mime-encoder): Ditto.
530         (modb-entity-address-list-decoder): Ditto.
531         (modb-entity-address-list-encoder): Ditto.
532         (modb-entity-parse-address-string): Ditto.
533         (modb-entity-make-address-string): Ditto.
534         (modb-entity-create-field-indices): Ditto.
535         (modb-legacy-entity-field-slots): New constant.
536         (modb-legacy-entity-field-indices): Ditto.
537         (modb-legacy-entity-normalizer): New variable.
538         (modb-legacy-entity-specializer): Ditto.
539         (modb-legacy-entity-field-index): New macro.
540         (modb-legacy-entity-set-field): New function.
541         (modb-legacy-make-message-entity): Rewrite.
542         (elmo-msgdb-create-message-entity-from-buffer): Use
543         `elmo-msgdb-get-references-from-buffer'. Use
544         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
545         Use `modb-legacy-entity-set-field' instead of
546         `elmo-msgdb-message-entity-set-field'.
547         (elmo-msgdb-message-entity-field): Rewrite.
548         (elmo-msgdb-message-entity-set-field): Ditto.
549         (elmo-msgdb-copy-message-entity): Make new entity by
550         `make-handler' if it specified.
551         (elmo-msgdb-message-match-condition): Define a method of
552         `modb-entity-handler' and follow the API change.
553         (modb-standard-entity-handler): New class.
554         (modb-entity-extract-ml-info-from-x-sequence): New function.
555         (modb-entity-extract-ml-info-from-subject): Ditto.
556         (modb-entity-extract-ml-info-from-return-path): Ditto.
557         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
558         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
559         (modb-entity-extract-mailing-list-info): Ditto.
560         (modb-entity-extract-mailing-list-info-functions): New variable.
561
562         * elmo.el (elmo-message-field): Add optional argument `type'.
563
564         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
565         from `modb-entity.el'.
566
567         * elmo-util.el (elmo-object-load): Decode by coding-system from
568         `set-auto-coding-function'.
569         (elmo-object-save): Use `detect-mime-charset-region' and add
570         coding cookie if encode.
571         (elmo-msgdb-get-references-from-buffer): New function.
572         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
573
574         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
575
576         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
577         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
578         instead of `shimbun-make-header' and follow the API change.
579         (elmo-shimbun-update-overview): Follow the API change.
580         (elmo-map-folder-list-message-locations): Ditto.
581
582         * elmo-pipe.el (elmo-message-field): Ditto.
583
584         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
585         Ditto.
586
587         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
588
589         * elmo-multi.el (elmo-message-field): Ditto.
590
591         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
592         (elmo-msgdb-sort-by-date): Ditto.
593         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
594         `elmo-message-entity-field'.
595         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
596         change.
597         (elmo-msgdb-overview-entity-get-from): Ditto.
598         (elmo-msgdb-overview-entity-get-subject): Ditto.
599         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
600         (elmo-msgdb-overview-entity-get-date): Ditto.
601         (elmo-msgdb-overview-entity-get-to): Ditto.
602         (elmo-msgdb-overview-entity-get-cc): Ditto.
603
604         * elmo-mime.el (elmo-message-mime-entity): Ditto.
605         (elmo-mime-collect-message/partial-pieces): Ditto.
606
607         * elmo-filter.el (elmo-message-field): Ditto.
608
609         * elmo-date.el (elmo-datevec-to-time): New function.
610         (elmo-time-parse-date-string): Ditto.
611         (elmo-time-make-date-string): Ditto.
612         (elmo-time<): Ditto.
613
614         * elmo-version.el (elmo-version): Up to 2.15.1.
615
616 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
617
618         * elmo-flag.el (elmo-global-flags-initialize): Don't include
619         member of elmo-local-flags.
620
621 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
622
623         * elmo-version.el (elmo-version): Up to 2.15.0.
624
625 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
626
627         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
628         `ignore-msgdb' is non-nil.
629
630 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
631
632         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
633         (elmo-condition-in-msgdb-p): Ditto.
634         (elmo-file-field-primitive-condition-match): Ditto.
635         (elmo-file-field-condition-match): Ditto.
636
637         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
638
639 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
640
641         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
642         subdirectories here.
643         (elmo-global-flags-initialize): New function.
644
645         * elmo.el (toplevel): Added autoload setting for
646         `elmo-global-flags-initialize'.
647
648 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
649
650         * elmo.el (message-number-changed): Define new signal.
651         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
652         message-number-changed signal.
653         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
654         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
655         Respect `elmo-pack-number-check-strict'.
656
657 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
658
659         * elmo-signal.el (elmo-connect-signal): Document.
660         (elmo-emit-signal): Ditto.
661         (elmo-emit-signal): It should pass source argument to filter and
662         handler, not slot-source.
663
664 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
665
666         * modb.el (elmo-msgdb-update-entity): New API and define generic
667         implement.
668
669         * modb-standard.el (elmo-msgdb-update-entity): Define.
670
671         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
672         API and define generic implement.
673
674         * elmo.el (update-overview): New singnal.
675
676         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
677         `elmo-msgdb-update-entity' and emit signal `update-overview'.
678         (elmo-message-entity-parent): Define.
679
680         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
681         `update-overview'.
682
683         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
684
685         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
686
687 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
688
689         * elmo.el (elmo-folder-synchronize): Sort the return value of
690         `elmo-list-diff'.
691
692         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
693         list.
694
695 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
696
697         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
698         `default-enable-multibyte-characters'.
699         (elmo-object-load): Use `with-temp-buffer' instead of
700         `elmo-set-work-buf'.
701         (elmo-object-save): Ditto.
702         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
703         `elmo-set-work-buf'.
704         (elmo-decoded-field-body): Ditto.
705
706         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
707
708         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
709         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
710
711         * elmo-version.el (elmo-version): Up to 2.13.3.
712
713 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
714
715         * elmo-util.el (elmo-list-diff): Fix the last change.
716         Reverse order of result lists.
717
718 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
719
720         * modb-standard.el (elmo-msgdb-set-flag): Use
721         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
722         (elmo-msgdb-unset-flag): Ditto.
723
724         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
725         `elmo-list-diff'.
726
727         * elmo-util.el (elmo-list-diff): Rewrite.
728         (elmo-list-diff-nonsortable): New function.
729
730 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
731
732         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
733         `elmo-multibypte-buffer-name'.  All referers are updated.
734
735 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
736
737         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
738         (elmo-mime-entity-fragment-p): New function.
739         (mime-elmo-buffer-entity): Added slot `reassembled'.
740         (elmo-message-mime-entity): Added 4th argument `reassemble'.
741         (elmo-message-mime-entity-internal): New function (renamed from
742         `elmo-message-mime-entity').
743         (elmo-mime-inherit-field-list-from-enclosed): New constant.
744         (elmo-mime-make-reassembled-mime-entity): New function.
745         (elmo-message-reassembled-mime-entity): Ditto.
746         (elmo-mime-collect-message/partial-pieces): Ditto.
747
748 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
749
750         * elmo.el (elmo-message-fetch-string): Disable multibyte.
751
752         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
753         (elmo-with-enable-multibyte): New macro.
754
755         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
756
757 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
758
759         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
760         argument `number'.
761         (elmo-filter-connect-signals): Follow the above change.
762
763 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
764
765         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
766
767         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
768         that only the first flag is used.
769
770 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
771
772         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
773         if available.
774
775 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
776
777         * elmo-signal.el: New file.
778
779         * elmo.el (toplevel): Require elmo-signal.
780         (flag-changing, flag-changed, cache-changed): New signal.
781         (elmo-folder): Remove slog `handlers'.
782         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
783         `elmo-folder-notify-event'.
784         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
785         (elmo-folder-unset-flag): Ditto.
786         (elmo-event-handler): Abolish.
787         (elmo-event-handler-flag-changed): Ditto.
788         (elmo-event-handler-cache-changed): Ditto.
789         (elmo-folder-add-handler): Ditto.
790         (elmo-folder-remove-handler): Ditto.
791         (elmo-folder-notify-event): Ditto.
792
793         * elmo-pipe.el (toplevel): Require elmo-signal.
794         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
795         (elmo-pipe-connect-signals): New function.
796         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
797         (elmo-folder-set-flag): Ditto.
798         (elmo-folder-unset-flag): Ditto.
799         (elmo-message-set-cached): Ditto.
800
801         * elmo-multi.el (toplevel): Require elmo-signal.
802         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
803         (elmo-multi-connect-signals): New function.
804         (elmo-multi-map-numbers): Ditto.
805         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
806         (elmo-message-fetch): Ditto.
807         (elmo-folder-set-flag): Ditto.
808         (elmo-folder-unset-flag): Ditto.
809
810         * elmo-filter.el (toplevel): Require elmo-signal.
811         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
812         (elmo-filter-connect-signals): New function.
813         (elmo-filter-add-flag-count): Ditto.
814         (elmo-message-fetch): Does not call
815         `elmo-filter-folder-countup-message-flags' and
816         `elmo-folder-notify-event'.
817         (elmo-message-set-cached): Ditto.
818         (elmo-folder-set-flag): Ditto.
819         (elmo-folder-unset-flag): Ditto.
820
821         * elmo-version.el (elmo-version): Up to 2.13.2.
822
823 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
824
825         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
826         `flags'.
827
828 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
829
830         * elmo-filter.el (elmo-message-set-cached): Call
831         `elmo-folder-notify-event' with event `cache-changed'.
832
833         * elmo-multi.el (elmo-message-set-cached): Ditto.
834
835         * elmo-pipe.el (elmo-message-set-cached): Ditto.
836
837 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
838
839         * elmo.el (elmo-folder-encache): Abolish.
840
841 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
842
843         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
844         (elmo-folder-next-message-number-dop): Return appropriate negative
845         integer.
846
847 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
848
849         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
850         clearing pending operations.
851         (elmo-folder-next-message-number-dop): Return appropriate negative
852         integer.
853
854 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
855
856         * elmo.el (toplevel): Added autoload setting for `md5'.
857         (elmo-msgdb-path-encode-threshold): New user option.
858         (elmo-folder-msgdb-path): Encode msgdb path if its length is
859         longer than `elmo-msgdb-path-encode-threshold'.
860
861         * elmo-flag.el (elmo-global-mark-migrate): Use
862         `elmo-folder-expand-msgdb-path' instead of
863         `elmo-folder-msgdb-path'.
864
865 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
866
867         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
868         element of the difference is nil.
869
870 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
871
872         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
873         to the check logic of file systems which are weak in colon character.
874
875 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
876
877         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
878
879 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
880
881         * elmo-maildir.el (elmo-maildir-move-file): New function.
882         (elmo-folder-append-buffer): Use it.
883         (elmo-folder-append-messages): Ditto.
884         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
885
886         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
887         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
888
889         * elmo-maildir.el (elmo-maildir-separator): New user option.
890         (elmo-maildir-adjust-separator): New macro.
891         (elmo-maildir-list-location): Use it.
892         (elmo-maildir-update-current): Ditto.
893         (elmo-maildir-set-mark): Ditto.
894         (elmo-maildir-delete-mark): Ditto.
895         (These changes are based on Hiroya Murata's patch [wl: 13437])
896
897 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
898
899         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
900
901 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
902
903         * elmo-flag.el (elmo-flag-valid-p): Simplify.
904         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
905         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
906
907 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
908
909         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
910         Use `with-temp-buffer'.
911
912 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
913
914         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
915
916         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
917         `wl-read-search-condition').
918         (elmo-read-search-condition-internal): Likewise.
919
920         * elmo-flag.el (elmo-flag-char-regexp): New constant.
921         (elmo-flag-valid-p): New function.
922         (elmo-folder-initialize): Check flag name is valid.
923
924 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
925
926         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
927         delimiter to obtain root mailbox itself.
928
929 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
930
931         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
932         type mismatch.
933
934 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
935
936         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
937         as t.
938
939 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
940
941         * elmo-shimbun.el (toplevel): Require cl at compile.
942
943         * elmo-nntp.el (toplevel): Ditto.
944
945         * elmo-nmz.el (toplevel): Ditto.
946
947         * elmo-multi.el (toplevel): Ditto.
948
949         * elmo-file.el (toplevel): Ditto.
950
951         * elmo-dop.el (toplevel): Ditto.
952
953         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
954
955 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
956
957         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
958         as nil.
959
960         * elmo.el (elmo-message-fetch): Return t even when the output buffer
961         size of elmo-message-fetch-internal is 0 byte.
962
963 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
964
965         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
966
967 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
968
969         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
970         always plugged.
971
972 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-maildir.el (elmo-map-message-fetch): Call
975         `elmo-map-folder-set-flag'.
976
977         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
978         (elmo-message-fetch): Merge from
979         `elmo-message-fetch-with-cache-process'.
980
981         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
982         (elmo-message-fetch): Define.
983
984         * elmo-nntp.el (elmo-message-fetch): Renamed from
985         `elmo-message-fetch-with-cache-process'.
986
987         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
988         (elmo-message-fetch): Define.
989
990         * elmo-util.el (elmo-condition-parse-primitive): Downcase
991         search-key.
992
993         * elmo-shimbun.el (shimbun-mua-search-id): Use
994         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
995         (elmo-shimbun-folder-shimbun-header): Ditto.
996         (elmo-shimbun-get-headers): Ditto.
997         (elmo-shimbun-update-overview): Ditto.
998
999         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1000
1001         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1002         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1003
1004 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1005
1006         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1007         message is cached.
1008         (elmo-message-fetch-string): Fixed argument.
1009
1010 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1011
1012         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1013         exchange order of arguments `section' and `unread'.
1014         (elmo-message-encache): Follow the API change.
1015         (elmo-message-match-condition): Ditto.
1016         (elmo-generic-folder-append-messages): Ditto.
1017         (elmo-message-fetch-string): New function.
1018
1019         * elmo-split.el (elmo-split-subr): Ditto.
1020
1021         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1022
1023         * elmo-pipe.el (elmo-message-fetch): Ditto.
1024
1025         * elmo-multi.el (elmo-message-fetch): Ditto.
1026
1027         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1028
1029         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1030
1031         * elmo-filter.el (elmo-message-fetch): Ditto.
1032
1033         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1034
1035         * elmo-imap4.el (mime-imap-location-section-body): Use
1036         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1037         follow the API change.
1038
1039 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1040
1041         * elmo-access.el: New file.
1042
1043         * elmo-null.el: Ditto.
1044
1045         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1046
1047 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1048
1049         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1050         (elmo-network-session): New attribute `last-accessed'.
1051         (elmo-network-get-session): Discard network cache if elapsed time
1052         since last-accessed is larger than elmo-network-session-idle-timeout.
1053
1054 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1055
1056         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1057         and added `number', `require-entireness'.
1058         (elmo-find-fetch-strategy): Rewrite.
1059         (elmo-message-fetch): Unset `unread' flag when argument unread is
1060         non-nil.
1061
1062         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1063
1064         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1065         (elmo-message-fetch): Notify event `flag-changed'.
1066
1067         * elmo-pipe.el: Likewise.
1068
1069         * elmo-mime.el (elmo-mime-entity): New class.
1070         (elmo-mime-entity-display-p): New generic function.
1071         (elmo-mime-entity-display): Ditto.
1072         (elmo-mime-entity-display-as-is): Ditto.
1073         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1074         elmo-mime-entity.
1075         (elmo-make-mime-message-location): Removed.
1076         (elmo-mime-message-display): Ditto.
1077         (elmo-mime-display-as-is): Ditto.
1078         (elmo-message-mime-entity): New function.
1079
1080         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1081
1082         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1083         change.
1084         (elmo-message-fetch): Re-count flagged message number and notify
1085         event `flag-changed'.
1086
1087         * elmo-version.el (elmo-version): Up to 2.13.1.
1088
1089 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1090
1091         * elmo-filter.el (elmo-message-field): Define.
1092         (elmo-message-set-field): Ditto.
1093
1094 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1095
1096         * elmo.el (elmo-message-set-cached): Call
1097         `elmo-folder-notify-event' with cache-changed.
1098         (elmo-event-handler-cache-changed): New generic function.
1099
1100 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1101
1102         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1103         instead of elmo-add-name-to-file.
1104         (elmo-folder-append-messages): Ditto.
1105
1106 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1107
1108         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1109
1110 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1111
1112         * elmo-version.el (elmo-version): Up to 2.13.0.
1113
1114         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1115         `auto'.
1116
1117         * modb-standard.el (modb-standard-economize-entity-size): Changed
1118         default value to `t'.
1119
1120         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1121         `standard'.
1122
1123         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1124         after parsing greeting string.
1125
1126 2004-11-23  Daishi Kato <daishi@axlight.com>
1127
1128         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1129         New user option.
1130         (elmo-spam-spamoracle-call): Use it.
1131
1132 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1133
1134         * elmo.el (elmo-message-accessible-p): Message in dop spool
1135         is accessible.
1136
1137 2004-11-23  Daishi Kato <daishi@axlight.com>
1138
1139         * elsp-spamoracle.el: New file.
1140
1141 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1142
1143         * elmo.el (elmo-message-flags-for-append): New function.
1144         (elmo-generic-folder-append-messages): Use it.
1145
1146         * elmo-split.el (elmo-split-subr): Ditto.
1147
1148         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1149         `flags' and use elmo-folder-append-buffer instead of
1150         write-region-as-binary.
1151         (elmo-dop-filter-pending-messages): New function.
1152         (elmo-folder-append-buffer-dop): Call
1153         elmo-dop-spool-folder-append-buffer with `flag'.
1154         (elmo-folder-set-flag-dop): Filter messages by
1155         elmo-dop-filter-pending-messages.
1156         (elmo-folder-unset-flag-dop): Ditto.
1157         (elmo-folder-append-buffer-dop-delayed): Use
1158         elmo-message-flags-for-append to get flags of the message and
1159         simplify.
1160
1161 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1162
1163         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1164
1165 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1166
1167         * elmo.el (elmo-folder): Added handlers slot.
1168         (elmo-event-handler): New class.
1169         (elmo-event-handler-flag-changed): New API.
1170         (elmo-folder-add-handler): New function.
1171         (elmo-folder-remove-handler): Ditto.
1172         (elmo-folder-notify-event): Ditto.
1173         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1174         `flag-changed'.
1175         (elmo-folder-unset-flag): Ditto.
1176
1177         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1178         (elmo-folder-unset-flag): Ditto.
1179
1180         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1181         (elmo-folder-unset-flag): Ditto.
1182
1183         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1184         (elmo-folder-unset-flag): Ditto.
1185
1186         * elmo-version.el (elmo-version): Up to 2.11.33.
1187
1188 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1189
1190         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1191
1192 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1193
1194         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1195
1196         * elmo-flag.el (elmo-folder-unset-flag): Define.
1197         (elmo-global-flag-detach): Do process when the flag is not target
1198         flag.
1199
1200 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1201
1202         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1203         variable.
1204         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1205
1206 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1207
1208         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1209         function.
1210         (elmo-folder-delete-messages): Detach messages before delete
1211         messages from target folder.
1212         (elmo-folder-detach-messages): Set updated number-list to slot.
1213
1214 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1215
1216         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1217
1218 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1219
1220         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1221
1222 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1223
1224         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1225         internal use only).
1226         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1227         not modified.
1228         (elmo-folder-delete-messages): Define.
1229         (elmo-folder-move-messages): Don't call
1230         `elmo-folder-detach-messages'.
1231         (elmo-folder-synchronize): Rewrite.
1232         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1233
1234         * elmo-util.el (elmo-last): New function.
1235         (elmo-set-list): Ditto.
1236         (elmo-number-set-delete-list): Ditto.
1237         (elmo-number-set-delete): Ditto.
1238
1239         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1240
1241         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1242         `elmo-folder-delete-messages' and don't delete location map.
1243         (elmo-folder-detach-messages): Define.
1244
1245         * elmo-imap4.el (elmo-folder-delete): Use
1246         `elmo-folder-delete-messages-internal' instead of
1247         `elmo-folder-delete-messages'.
1248
1249         * elmo-filter.el (elmo-folder-delete-messages): Call
1250         `elmo-folder-detach-messages'.
1251         (elmo-folder-detach-messages): Don't call
1252         `elmo-folder-detach-messages' for target folder.
1253
1254         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1255         message deletion is succeeded.
1256
1257         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1258
1259         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1260         from `elmo-folder-delete-messages'.
1261
1262         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1263
1264         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1265
1266         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1267
1268         * elmo-version.el (elmo-version): Up to 2.11.32.
1269
1270 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1271
1272         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1273         (elmo-global-flag-list): Added obsolete variable setting.
1274
1275         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1276
1277         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1278         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1279         `elmo-mime-display-header-analysis' is nil.
1280
1281         * elmo-flag.el (elmo-global-flags): Renamed from
1282         `elmo-global-flag-list' (All other related portions are changed).
1283         (elmo-local-flags): New variable.
1284         (elmo-local-flag-p): New function.
1285         (elmo-global-flag-set-internal): Cause an error when flag is not
1286         global.
1287
1288 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1289
1290         * elmo-util.el (elmo-concat-path): Treat empty path.
1291
1292 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1293
1294         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1295         field-or-fields).
1296         (elmo-split-address-match): Ditto.
1297         (elmo-split-equal): Ditto.
1298         (elmo-split-match): Ditto.
1299
1300 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1301
1302         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1303         (elmo-generic-folder-append-messages): If src message exists but
1304         has no flag, pass (read) for the FLAG argument of
1305         `elmo-folder-append-buffer'. Otherwise, pass nil.
1306
1307         * elmo-split.el (elmo-split-subr): Likewise.
1308
1309         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1310
1311         * elmo-multi.el (elmo-message-flags): Ditto.
1312
1313         * elmo-filter.el (elmo-message-flags): Ditto.
1314
1315         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1316         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1317         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1318         
1319 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1320
1321         * elmo-split.el (elmo-split-rule): Update comment.
1322         (elmo-split-address-equal): Allow 2nd argument to be a list.
1323         (elmo-split-address-match): Ditto.
1324         (elmo-split-equal): Ditto.
1325         (elmo-split-match): Ditto.
1326
1327 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1328
1329         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1330         (elmo-folder-append-msgdb): Don't treat `read'.
1331         (elmo-message-flags): Don't return `read'.
1332
1333         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1334         (elmo-folder-unset-read-delayed): Ditto.
1335
1336         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1337
1338 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1339
1340         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1341         deletion.
1342
1343 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1344
1345         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1346         header.
1347
1348 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1349
1350         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1351         here.
1352         (elmo-msgdb-save): Bind inhibit-quit.
1353         (modb-standard-message-entity): Ditto.
1354
1355 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1356
1357         * elmo-database.el: No need to require elmo-msgdb.
1358
1359 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1360
1361         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1362         instead of `elmo-list-subdirectories'.
1363
1364 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1365
1366         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1367         group entry.
1368         (elmo-folder-exists-p): "[" is empty.
1369         (elmo-folder-list-subfolders): Define.
1370         (elmo-folder-have-subfolder-p): Ditto.
1371
1372 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1373
1374         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1375
1376 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1377
1378         * elmo-filter.el (elmo-folder-local-p): Define.
1379
1380 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1381
1382         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1383         when entity is garbaged.
1384         (modb-standard-save-entity-1): Don't modify the original entity.
1385
1386 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1387
1388         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1389
1390 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1391
1392         * elmo.el (elmo-strict-folder-diff): Use
1393         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1394
1395 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1396
1397         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1398         (elmo-msgdb-message-number): Ditto.
1399         (elmo-msgdb-message-field): Ditto.
1400
1401         * modb-standard.el (modb-standard-economize-entity-size): New user
1402         option.
1403         (modb-standard-loaded-message-id): New inline function.
1404         (modb-standard-load-entity): Use it.
1405         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1406         throw message-id string away.
1407         (elmo-msgdb-flag-available-p): Define.
1408         (elmo-msgdb-message-number): Ditto.
1409         (elmo-msgdb-message-field): Ditto.
1410
1411         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1412         (suppoted -> supported).
1413         (modb-legacy-supported-flag-p): Ditto.
1414         (elmo-msgdb-set-flag): Ditto.
1415         (elmo-msgdb-unset-flag): Ditto.
1416         (elmo-msgdb-flag-available-p): Define.
1417
1418         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1419         is `t', treat it as legacy entity.
1420         
1421         * elmo.el (elmo-message-flag-available-p): New generic function.
1422         (elmo-message-number): Ditto.
1423         (elmo-message-field): Use `elmo-msgdb-message-field'.
1424
1425         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1426
1427         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1428         (elmo-message-number): Ditto.
1429
1430         * elmo-multi.el (elmo-message-number): Define.
1431         (elmo-message-flag-available-p): Ditto.
1432
1433         * elmo-filter.el (elmo-message-flag-available-p): Define.
1434         (elmo-message-number): Ditto.
1435
1436         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1437         (elmo-folder-initialize): Load `max-number'.
1438         (elmo-folder-commit): Save it.
1439         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1440         (elmo-global-flag-set-internal): Set up max-number slot.
1441
1442 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1443
1444         * elmo-version.el (elmo-version): Up to 2.11.31.
1445
1446 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1447
1448         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1449         unibyte string of the current buffer for the argument of `md5'
1450         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1451
1452 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1453
1454         * modb-legacy.el (modb-legacy-flag-list): New constant.
1455         (modb-legacy-suppoted-flag-p): New internal function.
1456         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1457         (elmo-msgdb-unset-flag): Ditto.
1458
1459 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1460
1461         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1462
1463         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1464         from msgdb.
1465
1466 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1467
1468         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1469         (follow the API change).
1470
1471         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1472
1473 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1474
1475         * modb-standard.el (modb-standard-digest-flags): Abolish.
1476         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1477
1478         * elmo-vars.el (elmo-digest-flags): New variable.
1479         (elmo-preserved-flags): Moved from elmo-flag.el.
1480
1481         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1482         (elmo-imap4-flag-to-imap-criteria): Ditto.
1483         (elmo-imap4-folder-list-flagged): Use it.
1484
1485         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1486
1487         * elmo.el (elmo-folder-count-flags): Changed return value.
1488
1489         * elmo-flag.el (elmo-preserved-flags): New variable.
1490         (elmo-get-global-flags): Use it.
1491
1492         * modb-standard.el (modb-standard-digest-flags): New variable.
1493         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1494         Changed behavior of `any'.
1495
1496         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1497         which are defined the Internet draft
1498         (draft-melnikov-imap-keywords-03.txt).
1499         (elmo-imap4-flags-to-imap): New function.
1500         (elmo-folder-append-buffer): Use it.
1501
1502         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1503         in the docstring.
1504
1505         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1506         avoid the bug of Emacs 21.3.
1507
1508 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1509
1510         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1511         function find-coding-system does not exist.
1512
1513 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1514
1515         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1516         parsing.
1517
1518 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1519
1520         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1521         response codes.
1522
1523 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1524
1525         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1526         (elmo-network-close-session): Follow the changes in
1527         `elmo-pop3-read-response'.
1528         (elmo-pop3-auth-user): Ditto.
1529         (elmo-pop3-auth-apop): Ditto.
1530         (elmo-network-initialize-session): Ditto.
1531         (elmo-network-authenticate-session): Ditto.
1532         (elmo-network-setup-session): Ditto.
1533         (elmo-folder-status): Ditto.
1534         (elmo-message-fetch-plugged): Ditto.
1535         (elmo-pop3-delete-msg): Ditto.
1536
1537 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1538
1539         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1540         on failure.
1541
1542 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1543
1544         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1545         style.
1546         (elmo-bind-directory): Ditto.
1547
1548 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1549
1550         * elmo.el (elmo-folder-append-messages): Note on return value.
1551         * elmo-archive.el (elmo-folder-append-messages): Don't return
1552         message numbers which could not be appended.
1553
1554 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1555
1556         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1557
1558 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1559
1560         * elmo-version.el (elmo-version): Up to 2.11.30.
1561
1562 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1563
1564         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1565         `mask'.
1566
1567         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1568
1569         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1570         (elmo-multi-split-numbers): Add elmo-folder object into each
1571         element of return value at first.
1572         (elmo-folder-delete-messages): Follow the above change.
1573         (elmo-folder-detach-messages): Ditto.
1574
1575         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1576         number which is synchronized in target folder.
1577
1578 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1579
1580         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1581         Change default value to symbol `all'.
1582         (elmo-map-message-fetch): Change condition to update overview
1583         follow the above.
1584
1585 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1586
1587         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1588         behavior to update overview.
1589         (elmo-shimbun-update-overview-folder-list): Note it.
1590
1591 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1592
1593         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1594         recursive call.
1595
1596 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1597
1598         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1599         buffer-disable-undo, it is unnecessary.
1600         (elmo-spam-register-good-messages): Ditto.
1601
1602         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1603         Ditto.
1604
1605         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1606
1607 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1608
1609         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1610         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1611         elmo-set-buffer-multibyte.
1612         (elmo-object-load): Ditto.
1613         (elmo-save-buffer): Ditto.
1614         (elmo-delete-char): Ditto.
1615         (elmo-file-field-primitive-condition-match): Ditto.
1616         (elmo-mime-string): Ditto.
1617
1618         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1619         (elmo-archive-field-condition-match): Ditto.
1620
1621         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1622
1623         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1624
1625         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1626         (elmo-nntp-msgdb-create-message): Ditto.
1627
1628         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1629
1630         * elmo.el (elmo-message-match-condition): Ditto.
1631         (elmo-message-match-condition): Ditto.
1632
1633         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1634         Ditto.
1635
1636         * elmo-version.el (elmo-version): Up to 2.11.29.
1637
1638         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1639         (elsp-header): New backend.
1640
1641         * elmo-util.el (elmo-decoded-field-body): New function.
1642
1643 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1644
1645         * elmo-version.el (elmo-version): Up to 2.11.28.
1646
1647 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1648
1649         * elmo-filter.el: Rewrite.
1650
1651         * elmo-version.el (elmo-version): Up to 2.11.27.
1652
1653 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1654
1655         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1656         msgdb path for the localdir folder with absolute path.
1657
1658         * utf7.el: Synch up with latest gnus/utf7.el;
1659         Modified for latest Emacs.
1660
1661 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1662
1663         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1664         shimbun backend couldn't open.
1665
1666 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1667
1668         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1669         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1670         when a destination folder is a filter folder.
1671
1672 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1673
1674         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1675         (elmo-generic-folder-append-messages): Call elmo-message-flags
1676         with argument `msgid'.
1677
1678         * elmo-split.el (elmo-split-subr): Ditto.
1679
1680         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1681
1682         * elmo-multi.el (elmo-message-flags): Ditto.
1683
1684 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1685
1686         * elmo.el (elmo-folder): Add new slot `flag-table'.
1687         (elmo-folder-flag-table): New API.
1688         (elmo-folder-close-flag-table): Ditto.
1689         (elmo-folder-preserve-flags): New function.
1690         (elmo-generic-folder-append-messages): Use
1691         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1692         Flag of a non-registered message, it sets to nil.
1693         Does not set flag to flag-table.
1694
1695         * elmo-maildir.el (elmo-folder-append-buffer): Use
1696         `elmo-folder-preserve-flags'.
1697         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1698         `elmo-folder-close-flag-table'.
1699
1700         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1701         (elmo-archive-folder-append-buffer): Use
1702         `elmo-folder-preserve-flags'.
1703
1704         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1705
1706         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1707
1708         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1709         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1710         `elmo-folder-close-flag-table'.
1711
1712         * elmo-version.el (elmo-version): Up to 2.11.26.
1713
1714 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1715
1716         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1717
1718         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1719         md5's 4th and 5th argument (non-existent in flim one).
1720
1721 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1722
1723         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1724         message, It sets to nil.
1725
1726 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1727
1728         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1729         list is non-nil.
1730
1731 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1732
1733         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1734
1735         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1736
1737         * elmo-util.el (elmo-uniq-sorted-list): New function.
1738         (elmo-make-number-list): Ditto.
1739         (elmo-number-set-to-number-list): Use elmo-make-number-list
1740         and don't use nreverse.
1741
1742 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1743
1744         * elmo-version.el (elmo-version): Up to 2.11.25.
1745
1746 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1747
1748         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1749         field not exists in message, Use md5 message digest of header.
1750
1751 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1752
1753         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1754         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1755         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1756         * elmo-split.el (elmo-split-subr): Check return value of
1757         elmo-folder-append-buffer.
1758
1759         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1760         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1761
1762         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1763         message-id.
1764
1765 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1766
1767         * elmo-split.el (elmo-split-subr): Append message with flag.
1768
1769         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1770         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1771         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1772
1773 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1774
1775         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1776         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1777         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1778
1779 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1780
1781         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1782         with a function call of `process-buffer'.  All callers are updated.
1783         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1784         Remove redundant `set-buffer' in a while loop.
1785
1786 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1787
1788         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1789         calls.
1790
1791 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1792
1793         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1794         elsp-spamfilter-register-buffer-internal with current buffer.
1795         (elmo-spam-register-spam-buffer): Ditto.
1796         (elmo-spam-register-good-buffer): Ditto.
1797
1798 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1799
1800         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1801         if it is not contained in the response(A workaround for courier-imap).
1802
1803 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1804
1805         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1806         parenthesis.
1807
1808 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1809
1810         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1811         range.
1812
1813 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1814
1815         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1816         of nconc.
1817
1818         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1819         argument handler.
1820         (elmo-msgdb-message-match-condition): Follow the change above.
1821
1822 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1823
1824         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1825         folder name.
1826
1827 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1828
1829         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1830
1831 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1832
1833         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1834
1835 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1836
1837         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1838         not found.
1839
1840 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1841
1842         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1843         value.
1844         (elmo-file-command-argument): Undo last change for cygwin.
1845         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1846         Don't return nil.
1847         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1848
1849 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1850
1851         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1852         value returned from elmo-file-find is nil.
1853
1854 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1855
1856         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1857         to elmo-vars.el.
1858
1859         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1860         instead of insert-file-contents-as-binary.
1861         (elmo-message-set-field): New generic function.
1862
1863         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1864         behavior change on `split-string'.
1865
1866         * elmo-file.el (elmo-file-find): New function.
1867         (elmo-file-command): New user option.
1868         (elmo-file-command-argument): Ditto.
1869         (elmo-file-fetch-max-size): Ditto.
1870         (elmo-file-detect-format): New function.
1871         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1872         Use elmo-file-detect-format.
1873         (elmo-map-folder-list-message-locations): Don't treat directories.
1874
1875 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1876
1877         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1878         (elmo-passwd-alist-clear): Shred password before clear.
1879         (elmo-remove-passwd): Remove all mached pair.
1880
1881 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1882
1883         * elmo.el (elmo-folder-synchronize): Fix description of the return
1884         value.
1885
1886 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1887
1888         * elmo.el (elmo-message-fetch-bodystructure): New method.
1889         (elmo-message-fetch-bodystructure): Define default.
1890
1891         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1892         elmo-message-fetch-bodystructure.
1893         (elmo-message-fetch-bodystructure): Define.
1894
1895         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1896
1897 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1898
1899         * elmo-filter.el (elmo-message-folder): Define.
1900
1901 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1902
1903         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1904         elmo-delete-cr-buffer.
1905
1906         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1907
1908         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1909
1910         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1911
1912         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1913         type seems to be a text.
1914
1915 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1916
1917         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1918         (elmo-spam-register-good-buffer): Ditto.
1919         (elmo-spam-spamassassin-register-messages): Ditto.
1920
1921         * elmo-util.el (elmo-string-member-ignore-case): Define with
1922         static-cond.
1923
1924 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1925
1926         * elmo.el (elmo-folder-type): Undo last change.
1927
1928         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1929
1930         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1931         warnings.
1932
1933         * elmo-file.el: New file.
1934         
1935         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1936
1937         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1938         variable.
1939         (elmo-spam-spamassassin-register-messages): New inline function.
1940         (elmo-spam-register-spam-messages): Define.
1941         (elmo-spam-register-good-messages): Ditto.
1942
1943         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1944         Fixed typo.
1945
1946         * elmo.el (toplevel): Added autoload setting for
1947         `elmo-get-global-flags'.
1948         (elmo-message-has-global-flag-p): New function.
1949         (elmo-message-set-global-flags): Ditto.
1950         (elmo-folder-type): Improvement for name: format.
1951
1952         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1953         availability of keyword flags.
1954         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1955         (elmo-folder-list-flagged-plugged): Renamed from
1956         elmo-folder-list-flagged-unplugged.
1957         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1958         accept any flag as keyword flag.
1959         (elmo-folder-set-flag-plugged): Accept keyword flags.
1960         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1961
1962         * elmo-flag.el (elmo-get-global-flags): New function.
1963
1964         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1965         folders.
1966
1967         * elmo-version.el (elmo-version): Up to 2.11.24.
1968
1969 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1970
1971         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1972         elmo-multiple-field-body instead of std11-field-body to check all
1973         headers.
1974
1975 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1976
1977         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1978         or "size".
1979
1980 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1981
1982         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1983         unintern is unbound.
1984
1985 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1986
1987         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1988         Protect from infinite loop.
1989
1990 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1991
1992         * elsp-bogofilter.el
1993         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1994         (elmo-spam-bogofilter-register-messages): New internal function.
1995         (elmo-spam-register-spam-messages): Define.
1996         (elmo-spam-register-good-messages): Ditto.
1997
1998 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1999
2000         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2001         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2002         (elmo-spam-bogofilter-call): Fixed the last change.
2003         (elmo-spam-bogofilter-arguments): Ditto.
2004
2005         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2006         Follow the options change of latest bogofilter.
2007
2008         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2009         (elmo-spam-bogofilter-good-switch): Ditto.
2010         (elmo-spam-bogofilter-arguments-alist): New user option.
2011         (elmo-spam-bogofilter-debug): Ditto.
2012         (elmo-spam-bogofilter-call): Renamed from
2013         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2014         is non-nil, insert output in buffer for debug.
2015         (elmo-spam-bogofilter-arguments): New macro.
2016         (elmo-spam-buffer-spam-p): Use it.
2017         (elsp-bogofilter-register-buffer): Ditto.
2018
2019 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2020
2021         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2022         regexp.
2023
2024 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2025
2026         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2027         value as "ruby".
2028         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2029         (elmo-spam-bsfilter-program): Set default value as full path for
2030         `bsfilter'.
2031         (elmo-spam-bsfilter-debug): New user option.
2032         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2033         non-nil, insert output in buffer for debug. Fix treating of
2034         argument.
2035
2036 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2037
2038         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2039         `elmo-maildir-flag-specs' element instead of one.
2040         (elmo-map-folder-unset-flag): Ditto.
2041         (Reported by Ken Makimura <macky@astem.or.jp>)
2042
2043         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2044         (elmo-folder-unset-flag-plugged): Ditto.
2045
2046 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2047
2048         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2049         to `reads' slot only if `in-msgdb' is nil.
2050
2051 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2052
2053         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2054         and complement argument list.
2055
2056 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2057
2058         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2059         instead of elmo-folder-list-flagged.
2060
2061 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2062
2063         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2064
2065         * elsp-bsfilter.el: New file.
2066
2067         * elmo-pipe.el (elmo-folder-list-unreads,
2068         elmo-folder-list-answereds,
2069         elmo-folder-list-importants,
2070         elmo-folder-flag-as-important,
2071         elmo-folder-unflag-important,
2072         elmo-folder-flag-as-read,
2073         elmo-folder-unflag-read,
2074         elmo-folder-flag-as-answered,
2075         elmo-folder-unflag-answered): Remove.
2076         (elmo-folder-set-flag): Define.
2077         (elmo-folder-unset-flag): Ditto.
2078
2079         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2080         (elmo-folder-set-flag): Define.
2081         (elmo-folder-unset-flag): Ditto.
2082         (elmo-folder-list-unreads): Remove.
2083         (elmo-folder-list-flagged): Define.
2084
2085         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2086         (elmo-folder-list-unreads,
2087         elmo-folder-list-importants,
2088         elmo-folder-list-answereds,
2089         elmo-folder-list-unreads-plugged,
2090         elmo-folder-list-importants-plugged,
2091         elmo-folder-list-answereds-plugged): Remove.
2092         (elmo-folder-list-flagged-plugged): New method.
2093         (elmo-folder-unflag-important,
2094         elmo-folder-flag-as-important,
2095         elmo-folder-unflag-read,
2096         elmo-folder-flag-as-read,
2097         elmo-folder-unflag-answered,
2098         elmo-folder-flag-as-answered,
2099         elmo-folder-flag-as-read-unplugged,
2100         elmo-folder-unflag-read-unplugged,
2101         elmo-folder-flag-as-important-unplugged,
2102         elmo-folder-unflag-important-unplugged,
2103         elmo-folder-flag-as-answered-unplugged,
2104         elmo-folder-unflag-answered-unplugged): Remove.
2105         (elmo-folder-set-flag): Define.
2106         (elmo-folder-unset-flag): Ditto.
2107         (elmo-folder-set-flag-unplugged): Ditto.
2108         (elmo-folder-unset-flag-unplugged): Ditto.
2109
2110         * elmo-multi.el (elmo-folder-list-unreads,
2111         elmo-folder-list-answereds,
2112         elmo-folder-list-importants,
2113         elmo-folder-flag-as-important,
2114         elmo-folder-unflag-important,
2115         elmo-folder-flag-as-read,
2116         elmo-folder-unflag-read,
2117         elmo-folder-flag-as-answered,
2118         elmo-folder-unflag-answered): Remove.
2119         (elmo-folder-set-flag): Define.
2120         (elmo-folder-unset-flag): Ditto.
2121
2122         * elmo-map.el (elmo-map-folder-unflag-important,
2123         elmo-map-folder-flag-as-important,
2124         elmo-map-folder-unflag-read,
2125         elmo-map-folder-flag-as-read,
2126         elmo-map-folder-unflag-answered,
2127         elmo-map-folder-flag-as-answered): Remove.
2128         (elmo-map-folder-set-flag): New method.
2129         (elmo-map-folder-unset-flag): Ditto.
2130         (elmo-map-folder-list-unreads,
2131         elmo-map-folder-list-importants,
2132         elmo-map-folder-list-answereds): Remove.
2133         (elmo-folder-list-flagged-internal): Define.
2134         (elmo-map-folder-list-flagged): New method.
2135
2136         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2137         (elmo-map-folder-list-unreads,
2138         elmo-map-folder-list-importants,
2139         elmo-map-folder-list-flagged): Remove.
2140         (elmo-map-folder-list-flagged): Define.
2141         (elmo-map-folder-flag-as-important,
2142         elmo-map-folder-unflag-important,
2143         elmo-map-folder-flag-as-read,
2144         elmo-map-folder-unflag-read,
2145         elmo-map-folder-flag-as-answered,
2146         elmo-map-folder-unflag-answered): Remove.
2147         (elmo-maildir-set-mark-messages): New internal function.
2148         (elmo-map-folder-set-flag): Define.
2149         (elmo-map-folder-unset-flag): Ditto.
2150
2151         * elmo.el (toplevel): Added autoload setting for
2152         `elmo-folder-list-global-flag-messages'.
2153         (elmo-folder-list-unreads,
2154         elmo-folder-list-importants,
2155         elmo-folder-list-answereds): Remove.
2156         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2157         Return a list whitch merged with messages have global flag.
2158         (elmo-folder-list-flagged-internal): New method.
2159         (elmo-folder-unflag-important,
2160         elmo-folder-flag-as-important,
2161         elmo-folder-unflag-read,
2162         elmo-folder-flag-as-read,
2163         elmo-folder-unflag-answered,
2164         elmo-folder-flag-as-answered): Remove.
2165         (elmo-folder-set-flag): New method.
2166         (elmo-folder-unset-flag): Ditto.
2167         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2168         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2169
2170         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2171         (elmo-folder-list-unreads-plugged,
2172         elmo-folder-list-importants-plugged,
2173         elmo-folder-list-answereds-plugged,
2174         elmo-folder-list-flagged-unplugged,
2175         elmo-folder-unflag-important-plugged,
2176         elmo-folder-flag-as-important-plugged,
2177         elmo-folder-unflag-read-plugged,
2178         elmo-folder-flag-as-read-plugged,
2179         elmo-folder-unflag-answered-plugged,
2180         elmo-folder-flag-as-answered-plugged): Remove.
2181         (elmo-folder-set-flag-plugged,
2182         elmo-folder-unset-flag-plugged): Define.
2183
2184         * elmo-flag.el (elmo-folder-initialize): Register to
2185         `elmo-global-flag-list' if flag is not global.
2186         (elmo-folder-append-messages): Set flag to source messages.
2187
2188         * elmo-filter.el (elmo-filter-folder-list-unreads,
2189         elmo-folder-list-unreads,
2190         elmo-filter-folder-list-importants,
2191         elmo-folder-list-importants,
2192         elmo-folder-flag-as-read,
2193         elmo-folder-unflag-read,
2194         elmo-folder-flag-as-important,
2195         elmo-folder-unflag-important,
2196         elmo-folder-flag-as-answered,
2197         elmo-folder-unflag-answered): Remove.
2198         (elmo-folder-set-flag): Define.
2199         (elmo-folder-unset-flag): Ditto.
2200
2201         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2202         elmo-folder-unflag-read-dop,
2203         elmo-folder-flag-as-important-dop,
2204         elmo-folder-unflag-important-dop,
2205         elmo-folder-flag-as-answered-dop,
2206         elmo-folder-unflag-answered-dop): Remove.
2207         (elmo-folder-set-flag-dop,
2208         elmo-folder-unset-flag-dop,
2209         elmo-folder-set-important-delayed,
2210         elmo-folder-unset-important-delayed,
2211         elmo-folder-set-read-delayed,
2212         elmo-folder-unset-read-delayed,
2213         elmo-folder-set-answered-delayed,
2214         elmo-folder-unset-answered-delayed): New function.
2215         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2216         (elmo-dop-queue-method-name-alist): Ditto.
2217
2218         * elmo-version.el (elmo-version): Up to 2.11.23.
2219
2220 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2221
2222         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2223
2224         * elsp-sa.el: New file.
2225
2226 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2227
2228         * modb-standard.el (modb-standard-message-entity): New function.
2229         (elmo-msgdb-message-entity): Use it.
2230
2231 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2232
2233         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2234         behavior when one-level is nil.
2235
2236         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2237
2238         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2239
2240 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2241
2242         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2243         get max number.
2244         (elmo-generic-folder-diff): Ditto.
2245
2246         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2247         (elmo-folder-update-number): Ditto.
2248
2249         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2250         (elmo-folder-next-message-number-dop): Ditto.
2251
2252 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2253
2254         * elmo-filter.el (elmo-folder-msgdb-create): Use
2255         `elmo-message-entity' and `elmo-message-flags' instead of
2256         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2257
2258 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2259
2260         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2261         `if-exists'.
2262
2263 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2264
2265         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2266
2267         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2268
2269         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2270
2271 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2272
2273         * elmo-version.el (elmo-version): Up to 2.11.22.
2274
2275 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2276
2277         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2278
2279 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2280
2281         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2282         if the message dose not exist.
2283
2284 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2285
2286         * elmo-version.el (elmo-version): Up to 2.11.21.
2287
2288 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2289
2290         * modb-standard.el (toplevel): Don't require mime.
2291
2292 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2293
2294         * elsp-bogofilter.el (toplevel): Don't require path-util.
2295         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2296         (elmo-spam-bogofilter-header): Abolish.
2297         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2298         (elmo-spam-bogofilter-args): New user option.
2299         (elsp-bogofilter-call-bogofilter): New internal function.
2300         (elmo-spam-buffer-spam-p): Use it.
2301         (elsp-bogofilter-register-buffer): Renamed from
2302         `elmo-spam-bogofilter-register-buffer';
2303         Use `elsp-bogofilter-call-bogofilter'.
2304         (elmo-spam-register-spam-buffer): Follow the change above.
2305         (elmo-spam-register-good-buffer): Ditto.
2306
2307 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2308
2309         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2310         message-id is nil do nothing.
2311
2312 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2313
2314         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2315         Revival.
2316         (elmo-imap4-session): Removed use-flag slot.
2317         (elmo-imap4-session-select-mailbox): Undo last change.
2318         (elmo-folder-use-flag-p): Use
2319         elmo-imap4-disuse-server-flag-mailbox-regexp.
2320
2321 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2322
2323         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2324         (elmo-imap4-session-select-mailbox): Set it up.
2325         (elmo-folder-use-flag-p): Return value of use-flag slot.
2326
2327 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2328
2329         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2330         message-id is nil.
2331         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2332
2333         * modb-entity.el (elmo-message-entity-handler): Likewise.
2334
2335 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2336
2337         * elmo.el (toplevel): Remove setting of autoloding for
2338         elmo-global-flag-initialize.
2339         (elmo-init): Don't call elmo-global-flag-initialize.
2340         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2341
2342         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2343         (elmo-global-mark-migrate): Don't call it.
2344         (elmo-global-mark-upgrade): Ditto.
2345
2346 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2347
2348         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2349         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2350
2351         * elmo-vars.el (elmo-init-hook): New user option.
2352
2353         * elmo.el (elmo-init): Run the elmo-init-hook.
2354
2355         * elmo-flag.el (elmo-global-mark-migrate): New function.
2356
2357 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2360         Undo last change (move to elmo-msgdb-unset-flag).
2361         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2362         flag is unset.
2363
2364 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2365
2366         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2367         read flag is set.
2368         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2369         (elmo-msgdb-unset-flag): Ditto.
2370
2371 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2372
2373         * elmo-split.el (elmo-split): Return split message count.
2374
2375 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2376
2377         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2378         is nil.
2379
2380 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2381
2382         * elmo.el (elmo-folder-unflag-important): Call
2383         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2384         a symbol `always'.
2385
2386         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2387         before unset flag.
2388         (elmo-global-flag-detach): Delete the message from flag folder, if
2389         `delete-if-none' is a symbol `always'.
2390
2391 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2392
2393         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2394         `elmo-spam-spamfilter-decode-buffer'.
2395         (elsp-spamfilter-register-buffer-internal): New internal function.
2396         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2397         (elmo-spam-register-spam-buffer): Ditto.
2398         (elmo-spam-register-good-buffer): Ditto.
2399
2400         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2401         change.
2402         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2403         (elmo-spam-register-spam-buffer): Follow the API change.
2404         (elmo-spam-register-good-buffer): Ditto.
2405
2406         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2407         (elmo-split-spam-p): Added argument plist; Call
2408         `elmo-spam-buffer-spam-p' with new argument register.
2409
2410         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2411         `register'.
2412         (elmo-spam-message-spam-p): Ditto.
2413         (elmo-spam-register-spam-buffer): Added optional argument
2414         `restore'.
2415         (elmo-spam-register-good-buffer): Ditto.
2416         (elmo-spam-register-spam-messages): Ditto.
2417         (elmo-spam-register-good-messages): Ditto.
2418
2419 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2420
2421         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2422         register into good corpus.
2423         (elmo-spam-register-good-buffer): Fixed to register into bad
2424         corpus.
2425
2426 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2427
2428         * elmo-version.el (elmo-version): Up to 2.11.20.
2429
2430         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2431         change.
2432
2433         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2434         flag without depending on \Recent flag.
2435
2436 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2437
2438         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2439         (elmo-spam-modified-p): Defined.
2440         (elmo-spam-save-status): Set `modified' slot to nil.
2441         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2442         (elmo-spam-register-good-buffer): Ditto.
2443
2444         * elmo-spam.el (elmo-spam-modified-p): New API.
2445
2446 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2447
2448         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2449         duplicate definition.
2450
2451         * elmo-util.el (elmo-unfold-field-body): New function.
2452         (elmo-msgdb-get-message-id-from-buffer): Use it.
2453
2454         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2455         Fixed the last change; Use elmo-unfold-field-body.
2456
2457 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2458
2459         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2460         Unfold date value.
2461
2462 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2463
2464         * elmo-spam.el (elmo-spam-save-status): New API.
2465
2466         * elsp-spamfilter.el: New file.
2467
2468 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2469
2470         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2471
2472 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2473
2474         * elmo-split.el (elmo-split-spam-p): New function.
2475
2476         * elmo-spam.el: New file.
2477
2478         * elsp-bogofilter.el: Ditto.
2479
2480 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2481
2482         * elmo.el (elmo-folder-next-message-number): New API.
2483         (elmo-folder-next-message-number): Define.
2484         (elmo-message-field): Don't check folder length.
2485
2486         * elmo-net.el (elmo-folder-next-message-number): Define.
2487         (elmo-folder-next-message-number-unplugged): Define.
2488
2489         * elmo-map.el (elmo-folder-next-message-number): Define.
2490         (elmo-folder-delete-messages): Clear hash value.
2491
2492         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2493
2494         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2495         (elmo-folder-delete-messages-dop-delayed): Always return t.
2496
2497         * elmo-version.el (elmo-version): Up to 2.11.19.
2498
2499 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2500
2501         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2502         change.
2503
2504         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2505         identical cons cell into the mark-alist and the hash table.
2506
2507 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2508
2509         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2510         elmo-folder-list-messages with argument `visible-only' as t.
2511
2512         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2513         (elmo-folder-msgdb-create): Check the target folder.
2514
2515 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2516
2517         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2518         `permanentflag' instead of `flags'.
2519         (elmo-folder-open): Ditto.
2520         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2521         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2522         (elmo-folder-use-flag-p): Always return t.
2523         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2524         `permanentflags' does not exist.
2525         (elmo-folder-open): Ditto.
2526
2527 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2528
2529         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2530         is nil.
2531         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2532
2533         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2534         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2535         response.
2536         (elmo-folder-open): Ditto.
2537         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2538         slot of the session includes the flag.
2539         (elmo-imap4-session-flag-available-p): New function.
2540         (elmo-imap4-folder-list-flagged): Ditto.
2541         (elmo-folder-list-unreads-plugged): Use it.
2542         (elmo-folder-list-importants-plugged): Ditto.
2543         (elmo-folder-list-answereds-plugged): Ditto.
2544         (elmo-imap4-search-internal-primitive): Ditto.
2545         (elmo-imap4-folder-list-any-plugged,
2546         elmo-imap4-folder-list-digest-plugged): Abolish.
2547
2548         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2549         if numbers is nil.
2550
2551 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2552
2553         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2554
2555 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2556
2557         * elmo-util.el (elmo-get-hash-val): Simplify.
2558         (elmo-set-hash-val): Rewrite.
2559
2560 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2561
2562         * elmo.el (elmo-folder-list-messages): Append killed messages into
2563         result if `visible-only' is nil and `in-msgdb' is non-nil.
2564
2565         * elmo-util.el (elmo-uniq-list): Added optional argument
2566         `delete-function'.
2567
2568         * modb.el (elmo-msgdb-flag-count): New API.
2569
2570         * modb-standard.el (modb-standard): Added slot flag-count.
2571         (modb-standard-countup-flags): New function.
2572         (modb-standard-load-flag): Call it.
2573         (elmo-msgdb-append): Ditto.
2574         (elmo-msgdb-clear): Clear slot flag-count.
2575         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2576         (elmo-msgdb-unset-flag): Treat `all' flag and call
2577         modb-standard-countup-flags.
2578         (elmo-msgdb-flag-count): Define.
2579         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2580         (elmo-msgdb-delete-messages): Ditto.
2581
2582         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2583         (elmo-msgdb-flag-count): Define.
2584
2585         * elmo.el (elmo-folder-list-messages): Undo last change.
2586         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2587         (elmo-folder-kill-messages): Unset all flags to numbers.
2588
2589         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2590         elmo-folder-kill-messages.
2591
2592         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2593         (elmo-nntp-folder-delete-messages): Abolish.
2594
2595         * elmo-version.el (elmo-version): Up to 2.11.18.
2596
2597 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2598
2599         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2600         (elmo-folder-kill-messages-range): New function.
2601         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2602         instead of elmo-folder-kill-messages-before.
2603
2604 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2605
2606         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2607         elmo-imap4-current-msgdb to decide entity handler.
2608
2609 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2610
2611         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2612
2613         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2614         inline function.
2615         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2616         (elmo-msgdb-overview-entity-set-number,
2617         elmo-msgdb-overview-entity-get-references,
2618         elmo-msgdb-overview-entity-set-references,
2619         elmo-msgdb-overview-entity-get-from-no-decode,
2620         elmo-msgdb-overview-entity-get-from,
2621         elmo-msgdb-overview-entity-set-from,
2622         elmo-msgdb-overview-entity-get-subject,
2623         elmo-msgdb-overview-entity-get-subject-no-decode,
2624         elmo-msgdb-overview-entity-set-subject,
2625         elmo-msgdb-overview-entity-get-date,
2626         elmo-msgdb-overview-entity-set-date,
2627         elmo-msgdb-overview-entity-get-to,
2628         elmo-msgdb-overview-entity-get-cc,
2629         elmo-msgdb-overview-entity-get-size,
2630         elmo-msgdb-overview-entity-set-size,
2631         elmo-msgdb-overview-entity-get-extra,
2632         elmo-msgdb-overview-entity-set-extra,
2633         elmo-msgdb-overview-entity-get-extra-field,
2634         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2635         (elmo-msgdb-make-index): Use
2636         `elmo-msgdb-overview-entity-get-number-internal'.
2637         (elmo-msgdb-clear-index): Ditto.
2638         (elmo-msgdb-append-entity): Ditto;
2639         Use `elmo-msgdb-overview-entity-get-id-internal'.
2640
2641         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2642         elmo-msgdb-overview-entity-set-number,
2643         elmo-msgdb-overview-entity-get-references,
2644         elmo-msgdb-overview-entity-set-references,
2645         elmo-msgdb-overview-entity-get-from-no-decode,
2646         elmo-msgdb-overview-entity-get-from,
2647         elmo-msgdb-overview-entity-set-from,
2648         elmo-msgdb-overview-entity-get-subject,
2649         elmo-msgdb-overview-entity-get-subject-no-decode,
2650         elmo-msgdb-overview-entity-set-subject,
2651         elmo-msgdb-overview-entity-get-date,
2652         elmo-msgdb-overview-entity-set-date,
2653         elmo-msgdb-overview-entity-get-to,
2654         elmo-msgdb-overview-entity-get-cc,
2655         elmo-msgdb-overview-entity-get-size,
2656         elmo-msgdb-overview-entity-set-size,
2657         elmo-msgdb-overview-entity-get-extra,
2658         elmo-msgdb-overview-entity-set-extra,
2659         elmo-msgdb-overview-entity-get-extra-field,
2660         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2661         and rewrote for backward compatibility.
2662
2663 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2664
2665         * elmo.el (elmo-message-entity-number,
2666         elmo-message-entity-set-number,
2667         elmo-message-entity-field,
2668         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2669
2670         * elmo-msgdb.el (elmo-message-entity-number,
2671         elmo-message-entity-set-number,
2672         elmo-message-entity-field,
2673         elmo-message-entity-set-field): Moved from elmo.el.
2674
2675 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2676
2677         * elmo.el (toplevel): Changed definition orders.
2678
2679 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2680
2681         * modb.el (elmo-msgdb-search): New API .
2682         (elmo-msgdb-match-condition): Ditto.
2683
2684         * modb-standard.el (elmo-msgdb-search): Define.
2685
2686         * modb-legacy.el (elmo-msgdb-search): Ditto.
2687
2688         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2689         from elmo-msgdb-match-condition-internal.
2690
2691         * elmo.el (elmo-folder-search-fast): Abolish.
2692         (elmo-folder-search): Use elmo-msgdb-search and
2693         elmo-with-progress-display.
2694
2695         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2696         as msgdb API.
2697
2698         * elmo.el (elmo-folder): Remove slot message-modified and
2699         flag-modified.
2700         (elmo-folder-set-message-modified): Abolish.
2701         (elmo-generic-folder-commit): Follow the change above.
2702         (elmo-folder-synchronize): Ditto.
2703
2704         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2705
2706         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2707
2708         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2709
2710 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2711
2712         * modb-standard.el (modb-standard-make-message-entity,
2713         elmo-msgdb-make-message-entity,
2714         elmo-msgdb-create-message-entity-from-buffer,
2715         elmo-msgdb-message-entity-number,
2716         elmo-msgdb-message-entity-set-number,
2717         elmo-msgdb-message-entity-field,
2718         elmo-msgdb-message-entity-set-field,
2719         elmo-msgdb-copy-message-entity,
2720         elmo-msgdb-match-condition-internal): Remove.
2721
2722         * modb-entity.el: New file (again).
2723
2724         * modb.el (toplevel): Require modb-entity.
2725         (elmo-msgdb-message-entity-handler): New method.
2726
2727         * modb-standard.el (modb-standard-entity-id): Use
2728         elmo-message-entity-handler.
2729         (modb-standard-load-entity): Ditto.
2730         (elmo-msgdb-append-entity): Ditto.
2731         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2732
2733         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2734         elmo-msgdb-decoded-cache-hashtb,
2735         (modb-legacy-make-message-entity,
2736         elmo-msgdb-make-message-entity,
2737         elmo-msgdb-create-message-entity-from-buffer,
2738         elmo-msgdb-message-entity-number,
2739         elmo-msgdb-message-entity-set-number,
2740         elmo-msgdb-message-entity-field,
2741         elmo-msgdb-message-entity-set-field,
2742         elmo-msgdb-copy-message-entity,
2743         elmo-msgdb-match-condition-internal,
2744         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2745
2746         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2747         (elmo-message-entity-set-number): Ditto.
2748         (elmo-message-entity-field): Ditto.
2749         (elmo-message-entity-set-field): Ditto.
2750
2751         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2752
2753         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2754
2755         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2756
2757         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2758         (elmo-nntp-msgdb-create-message): Ditto.
2759
2760         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2761         (elmo-folder-msgdb-create): Add unread flag.
2762
2763         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2764
2765         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2766
2767         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2768
2769         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2770
2771         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2772         elmo-msgdb-messge-entity-handler.
2773         * elmo-version.el (elmo-version): Up to 2.11.17.
2774
2775 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2776
2777         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2778         change.
2779
2780 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2781
2782         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2783
2784         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2785         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2786         (elmo-msgdb-flag-table): Ditto.
2787         (elmo-msgdb-sort-by-date): Ditto.
2788
2789         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2790
2791         * modb-standard.el (toplevel): Require mime.
2792         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2793         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2794         elmo-msgdb-message-entity-number.
2795         (elmo-msgdb-append-entity): Ditto.
2796         (elmo-msgdb-create-message-entity-from-file): Remove.
2797         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2798         corresponds to the entity.
2799         (elmo-msgdb-message-entity-number): Do nothing currently.
2800         (elmo-msgdb-message-entity-field): Ditto.
2801         (elmo-msgdb-message-entity-set-field): Ditto.
2802         (elmo-msgdb-copy-message-entity): Ditto.
2803         (elmo-msgdb-match-condition-internal): Ditto.
2804
2805         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2806         elmo-util.el.
2807         (elmo-msgdb-create-message-entity-from-file): Remove.
2808
2809         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2810         modb-legacy.el.
2811         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2812
2813         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2814
2815 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2816
2817         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2818         (elmo-msgdb-message-entity-field): Ditto.
2819         (elmo-msgdb-message-entity-number): Ditto.
2820
2821 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2822
2823         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2824         Fixed how to set extra field into entity.
2825         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2826         symbol.
2827
2828         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2829         Fixed how to set extra field into entity.
2830         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2831         symbol.
2832
2833 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2834
2835         * modb.el (elmo-message-entity-db): New function.
2836         (elmo-msgdb-make-message-entity): New API.
2837         (elmo-msgdb-message-entity-number): Ditto.
2838         (elmo-msgdb-message-entity-set-number): Ditto.
2839         (elmo-msgdb-message-entity-field): Ditto.
2840         (elmo-msgdb-message-entity-set-field): Ditto.
2841         (elmo-msgdb-copy-message-entity): Ditto.
2842         (elmo-msgdb-create-message-entity-from-file): Ditto.
2843         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2844         (elmo-msgdb-match-condition-internal): Ditto.
2845
2846         * modb-standard.el (modb-legacy): Require modb-legacy.
2847         (modb-standard-make-message-entity): New inline function.
2848         (elmo-msgdb-make-message-entity): Define.
2849         (elmo-msgdb-create-message-entity-from-file): Ditto.
2850         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2851         (elmo-msgdb-message-entity-field): Ditto.
2852         (elmo-msgdb-message-entity-set-field): Ditto.
2853         (elmo-msgdb-copy-message-entity): Ditto.
2854         (elmo-msgdb-match-condition-internal): Ditto.
2855
2856         * modb-legacy.el: Don't require modb-entity.
2857         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2858         (elmo-msgdb-match-condition-primitive): Ditto.
2859         (elmo-msgdb-get-decoded-cache): Ditto.
2860         (elmo-msgdb-overview-entity-get-id): Ditto.
2861         (elmo-msgdb-overview-entity-get-number): Ditto.
2862         (elmo-msgdb-overview-entity-set-number): Ditto.
2863         (elmo-msgdb-overview-entity-get-references): Ditto.
2864         (elmo-msgdb-overview-entity-set-references): Ditto.
2865         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2866         (elmo-msgdb-overview-entity-get-from): Ditto.
2867         (elmo-msgdb-overview-entity-set-from): Ditto.
2868         (elmo-msgdb-overview-entity-get-subject): Ditto.
2869         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2870         (elmo-msgdb-overview-entity-set-subject): Ditto.
2871         (elmo-msgdb-overview-entity-get-date): Ditto.
2872         (elmo-msgdb-overview-entity-set-date): Ditto.
2873         (elmo-msgdb-overview-entity-get-to): Ditto.
2874         (elmo-msgdb-overview-entity-get-cc): Ditto.
2875         (elmo-msgdb-overview-entity-get-size): Ditto.
2876         (elmo-msgdb-overview-entity-set-size): Ditto.
2877         (elmo-msgdb-overview-entity-get-extra): Ditto.
2878         (elmo-msgdb-overview-entity-set-extra): Ditto.
2879         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2880         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2881         (elmo-msgdb-number-load): Ditto.
2882         (elmo-msgdb-overview-load): Ditto.
2883         (elmo-msgdb-mark-load): Ditto.
2884         (elmo-msgdb-number-save): Ditto.
2885         (elmo-msgdb-mark-save): Ditto.
2886         (elmo-msgdb-overview-save): Ditto.
2887         (modb-legacy-make-message-entity): New inline function.
2888         (elmo-msgdb-insert-file-header): Ditto.
2889         (elmo-msgdb-make-message-entity): Define.
2890         (elmo-msgdb-create-message-entity-from-file): Ditto.
2891         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2892         (elmo-msgdb-message-entity-number): Ditto.
2893         (elmo-msgdb-message-entity-set-number): Ditto.
2894         (elmo-msgdb-message-entity-field): Ditto.
2895         (elmo-msgdb-message-entity-set-field): Ditto.
2896         (elmo-msgdb-copy-message-entity): Ditto.
2897         (elmo-msgdb-match-condition-internal): Ditto.
2898
2899         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2900         (elmo-message-copy-entity): Rewrite.
2901         (elmo-message-entity-number): Ditto.
2902         (elmo-message-entity-set-number): Ditto.
2903         (elmo-message-entity-field): Use elmo-message-entity-db.
2904         (elmo-message-entity-set-field): Ditto.
2905         (elmo-message-field): Rewrite.
2906
2907         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2908         elmo-msgdb.el
2909         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2910
2911         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2912         elmo-message-entity-field.
2913         (elmo-shimbun-folder-shimbun-header): Ditto.
2914         (elmo-shimbun-entity-to-header): Ditto.
2915         (elmo-folder-msgdb-create): Ditto.
2916         (elmo-shimbun-msgdb-create-entity): Ditto;
2917         Use elmo-msgdb-create-message-entity-from-buffer.
2918         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2919         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2920
2921         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2922         elmo-msgdb-create-message-entity-from-file and 
2923         elmo-message-entity-field.
2924
2925         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2926         elmo-message-entity-number.
2927         (elmo-pop3-msgdb-create-message): Use
2928         elmo-msgdb-create-message-entity-from-buffer,
2929         elmo-message-entity-set-field, elmo-message-entity-number and
2930         elmo-message-entity-set-number.
2931
2932         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2933         the API change in elmo-msgdb-make-message-entity.
2934         (elmo-nntp-msgdb-create-message): Use
2935         elmo-msgdb-create-message-entity-from-buffer.
2936
2937         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2938         elmo-message-entity-field and
2939         elmo-msgdb-create-message-entity-from-file.
2940
2941         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2942         (elmo-msgdb-get-field): Abolish.
2943         (elmo-msgdb-get-number): Rewrite.
2944         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2945         (elmo-msgdb-flag-table): Ditto.
2946         (elmo-msgdb-get-last-message-id,
2947         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2948         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2949         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2950         (elmo-msgdb-create-overview-from-buffer,
2951         elmo-msgdb-overview-get-parent-entity): Abolish.
2952
2953         * elmo-mime.el (elmo-mime-display-as-is): Use
2954         elmo-message-entity-field.
2955
2956         * elmo-map.el (elmo-folder-pack-numbers): Use
2957         elmo-message-entity-set-number.
2958
2959         * elmo-maildir.el (elmo-folder-msgdb-create): 
2960         elmo-msgdb-create-message-entity-from-file instead of
2961         elmo-msgdb-create-overview-entity-from-file.
2962
2963         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2964         msgdb.
2965         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2966         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2967
2968         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2969         elmo-messge-entity-field and elmo-message-entity-number.
2970         (elmo-imap4-fetch-callback-1): Call
2971         elmo-msgdb-create-message-entity-from-buffer instead of
2972         elmo-msgdb-create-overview-from-buffer. 
2973         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2974         (elmo-find-fetch-strategy): Likewise.
2975
2976         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2977         elmo-localdir-msgdb-create-entity with argument msgdb.
2978
2979         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2980         and elmo-message-entity-set-number.
2981
2982         * elmo-cache.el (elmo-folder-msgdb-create): Use
2983         elmo-message-entity-field.
2984         (elmo-folder-msgdb-create): Call
2985         elmo-msgdb-create-message-entity-from-file instead of
2986         elmo-msgdb-create-overview-entity-from-file.
2987
2988         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2989         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2990         instead of elmo-msgdb-create-overview-from-buffer.
2991         (elmo-archive-msgdb-create-entity): Ditto.
2992         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2993         elmo-message-entity-field.
2994         (elmo-archive-parse-mmdf): Ditto.
2995
2996         * modb-entity.el: Removed.
2997
2998         * elmo-version.el (elmo-version): Up to 2.11.16.
2999
3000 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3001
3002         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3003         `is-local'.
3004         (elmo-folder-flag-as-answered): Ditto.
3005
3006 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3007
3008         * modb-standard.el: New file.
3009
3010         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3011         elmo-msgdb-convert-type is `sync'.
3012
3013         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3014         (elmo-msgdb-convert-type): New user option.
3015
3016         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3017         (elmo-load-msgdb): Auto detect saved type.
3018
3019         * elmo-version.el (elmo-version): Up to 2.11.15.
3020
3021 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3022
3023         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3024
3025         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3026         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3027         with argument `delete-if-none' when dst-folder is 'null.
3028
3029         * elmo-flag.el (elmo-folder-append-messages): Defined.
3030         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3031
3032 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3033
3034         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3035
3036 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3037
3038         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3039         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3040         (elmo-folder-commit): Ditto.
3041
3042 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3043
3044         * elmo-flag.el: New file.
3045
3046         * elmo-mark.el: Removed.
3047
3048         * modb-legacy.el (modb-legacy-new-mark,
3049         modb-legacy-unread-uncached-mark,
3050         modb-legacy-unread-cached-mark,
3051         modb-legacy-read-uncached-mark,
3052         modb-legacy-answered-cached-mark,
3053         modb-legacy-answered-uncached-mark,
3054         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3055         All other related portions are changed.
3056
3057         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3058         (elmo-folder-list-messages-with-global-mark): Abolish.
3059         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3060         (elmo-folder-flag-as-important): Ditto.
3061         (elmo-folder-unflag-read): Ditto.
3062         (elmo-folder-flag-as-read): Ditto.
3063         (elmo-folder-unflag-answered): Ditto.
3064         (elmo-folder-flag-as-answered): Ditto.
3065         (elmo-message-encache): Return the cache path.
3066         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3067         (elmo-message-set-flag): Transitional implementation.
3068         (elmo-message-unset-flag): Ditto.
3069         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3070         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3071         (elmo-init): Call elmo-global-flag-initialize.
3072         (toplevel): Added autoload settings for elmo-flag.
3073
3074         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3075
3076         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3077         (elmo-file-cache-delete): Don't treat global-mark.
3078
3079         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3080
3081         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3082
3083         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3084         `elmo-global-flags-set'.
3085
3086         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3087         `flag'.
3088         (elmo-folder-unflag-read): Ditto.
3089         (elmo-folder-unflag-important): Ditto.
3090         (elmo-folder-flag-as-important): Ditto.
3091         (elmo-folder-unflag-answered): Ditto.
3092         (elmo-folder-flag-as-answered): Ditto.
3093
3094         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3095         `elmo-global-flags-set'.
3096         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3097
3098         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3099
3100         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3101         `flag'.
3102         (elmo-folder-flag-as-important): Ditto.
3103         (elmo-folder-unflag-important): Ditto.
3104         (elmo-folder-flag-as-important): Ditto.
3105         (elmo-folder-unflag-read): Ditto.
3106         (elmo-folder-flag-as-read): Ditto.
3107         (elmo-folder-unflag-answered): Ditto.
3108         (elmo-folder-flag-as-answered): Ditto.
3109
3110         * elmo-multi.el (elmo-folder-list-importants): Don't call
3111         elmo-folder-list-messages-with-global-mark.
3112         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3113         (elmo-folder-unflag-important): Ditto.
3114         (elmo-folder-flag-as-read): Ditto.
3115         (elmo-folder-unflag-read): Ditto.
3116         (elmo-folder-flag-as-answered): Ditto.
3117         (elmo-folder-unflag-answered): Ditto.
3118
3119         * elmo-msgdb.el (elmo-msgdb-new-mark,
3120         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3121         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3122         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3123         (Moved to modb-legacy.el).
3124         (elmo-flag-table-get): Treat important flag too.
3125
3126         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3127         `mark' to `flag'.
3128         (elmo-map-folder-flag-as-important): Ditto.
3129         (elmo-map-folder-unflag-read): Ditto.
3130         (elmo-map-folder-flag-as-read): Ditto.
3131         (elmo-map-folder-unflag-answered): Ditto.
3132         (elmo-map-folder-flag-as-answered): Ditto.
3133         (elmo-folder-unflag-important): Ditto.
3134         (elmo-folder-flag-as-important): Ditto.
3135         (elmo-folder-unflag-read): Ditto.
3136         (elmo-folder-flag-as-read): Ditto.
3137         (elmo-folder-unflag-answered): Ditto.
3138         (elmo-folder-flag-as-answered): Ditto.
3139
3140         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3141         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3142         `flag'.
3143         (elmo-map-folder-unflag-important): Ditto.
3144         (elmo-map-folder-flag-as-read): Ditto.
3145         (elmo-map-folder-unflag-read): Ditto.
3146         (elmo-map-folder-flag-as-answered): Ditto.
3147         (elmo-map-folder-unflag-answered): Ditto.
3148
3149         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3150         `elmo-global-flags-set'.
3151         (elmo-global-flags-set): Added autoload setting.
3152
3153         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3154         `flag'.
3155
3156         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3157         `elmo-msgdb-global-mark-set'.
3158         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3159         Call `elmo-global-flags-set'.
3160         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3161         `flag'.
3162         (elmo-folder-flag-as-important-plugged): Ditto.
3163         (elmo-folder-unflag-read-plugged): Ditto.
3164         (elmo-folder-flag-as-read-plugged): Ditto.
3165         (elmo-folder-unflag-answered-plugged): Ditto.
3166         (elmo-folder-flag-as-answered-plugged): Ditto.
3167         (elmo-global-flags-set): Added autoload setting.
3168
3169         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3170         `flag'.
3171         (elmo-folder-unflag-read): Ditto.
3172         (elmo-folder-flag-as-important): Ditto.
3173         (elmo-folder-unflag-important): Ditto.
3174         (elmo-folder-flag-as-answered): Ditto.
3175         (elmo-folder-unflag-answered): Ditto.
3176
3177         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3178         change of `mark'->`flag'.
3179         (elmo-dop-queue-method-name-alist): Ditto.
3180         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3181         (elmo-folder-unflag-read-dop): Ditto.
3182         (elmo-folder-flag-as-important-dop): Ditto.
3183         (elmo-folder-unflag-important-dop): Ditto.
3184         (elmo-folder-flag-as-answered-dop): Ditto.
3185         (elmo-folder-unflag-answered-dop): Ditto.
3186
3187         * elmo-cache.el (elmo-folder-msgdb-create): Call
3188         `elmo-global-flags-set'.
3189
3190         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3191         Call `elmo-global-flags-set'.
3192         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3193         elmo-archive-parse-mmdf with argument `folder'.
3194         (elmo-archive-parse-mmdf): Added argument `folder';
3195         Call `elmo-global-flags-set'.
3196
3197         * elmo-version.el (elmo-version): Up to 2.11.14.
3198
3199 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3200
3201         * modb.el (elmo-msgdb-length): Define.
3202
3203         * elmo.el (elmo-make-folder): Fixed.
3204         (elmo-generic-folder-append-messages): Follow the API change.
3205
3206         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3207         API change.
3208
3209 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3210
3211         * modb.el: New file.
3212
3213         * modb-entity.el: Ditto.
3214
3215         * modb-legacy.el: Ditto.
3216
3217         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3218         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3219         of `elmo-msgdb-overview-get-entity'.
3220         (elmo-msgdb-get-field): Ditto.
3221         (elmo-msgdb-merge): Moved to `elmo.el'.
3222         (elmo-msgdb-length): Removed; redefine as modb method.
3223         (elmo-msgdb-change-mark): Abolish.
3224         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3225         (elmo-msgdb-match-condition): Don't use mark.
3226         (elmo-msgdb-overview-get-entity): Abolish.
3227         Split modb part into `modb*.el'.
3228
3229         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3230
3231         * elmo-shimbun.el (shimbun-mua-search-id): Use
3232         `elmo-msgdb-message-entity' instead of
3233         `elmo-msgdb-overview-get-entity'.
3234         (elmo-shimbun-folder-shimbun-header): Ditto.
3235         (elmo-shimbun-get-headers): Ditto.
3236         (elmo-shimbun-update-overview): Ditto.
3237
3238         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3239
3240         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3241
3242         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3243         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3244
3245         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3246         `elmo-msgdb-mark-to-flags'.
3247
3248         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3249         `elmo-msgdb-set-path'.
3250
3251         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3252  
3253         * elmo-version.el (elmo-version): Up to 2.11.13.
3254
3255         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3256
3257         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3258         of mark.
3259
3260 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3261
3262         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3263         mismatch.
3264
3265 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3266
3267         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3268         instead of `elmo-msgdb-get-cached'.
3269         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3270
3271         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3272         (elmo-msgdb-set-cached): Ditto.
3273         (elmo-msgdb-set-flag): Rewrite.
3274         (elmo-msgdb-unset-flag): Ditto.
3275
3276         * elmo-msgdb.el: Rewrite with luna.
3277
3278         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3279         (elmo-folder-msgdb): Follow the change above.
3280         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3281         (elmo-folder-unmark-important): Follow the API change.
3282         (elmo-folder-mark-as-important): Ditto.
3283         (elmo-folder-unmark-read): Ditto.
3284         (elmo-folder-mark-as-read): Ditto.
3285         (elmo-folder-unmark-answered): Ditto.
3286         (elmo-folder-mark-as-answered): Ditto.
3287         (elmo-folder-clear): Likewise.
3288
3289         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3290         instead of `elmo-msgdb-load' (renamed).
3291
3292         * elmo-version.el (elmo-version): Up to 2.11.12.
3293
3294 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3295
3296         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3297         change.
3298         (elmo-message-mark): Abolish.
3299         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3300         instead of `elmo-msgdb-change-mark'.
3301
3302         * elmo-pipe.el (elmo-message-mark): Abolish.
3303
3304         * elmo-multi.el (elmo-message-mark): Ditto.
3305
3306         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3307         (elmo-msgdb-unread-uncached-mark): Ditto.
3308         (elmo-msgdb-unread-cached-mark): Ditto.
3309         (elmo-msgdb-read-uncached-mark): Ditto.
3310         (elmo-msgdb-answered-cached-mark): Ditto.
3311         (elmo-msgdb-answered-uncached-mark): Ditto.
3312         (elmo-msgdb-important-mark): Ditto.
3313         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3314         `use-cache'.
3315         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3316         `flags'.
3317         (elmo-flag-table-load): Changed flag to list of flag.
3318         (elmo-flag-table-set): If flags is nil, set read flag.
3319         (elmo-flag-table-get): Return derived flags from global mark,
3320         cache status and saved flags.
3321         (elmo-msgdb-flag-table): Follow the change above.
3322         (elmo-msgdb-out-of-date-messages): New function.
3323
3324         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3325
3326         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3327
3328         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3329
3330         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3331         (elmo-nntp-msgdb-create-message): Ditto.
3332
3333         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3334
3335         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3336         independent.
3337         (elmo-folder-msgdb-create): Follow the API change.
3338
3339         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3340         (elmo-folder-append-messages): Ditto.
3341
3342         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3343         (elmo-folder-append-buffer): Ditto.
3344
3345         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3346
3347         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3348
3349         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3350         (elmo-archive-parse-mmdf): Ditto.
3351
3352         * elmo-version.el (elmo-version): Up to 2.11.11.
3353
3354 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3355
3356         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3357         `elmo-msgdb-mark'.
3358
3359         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3360
3361         * elmo-pipe.el (elmo-message-flags): Defined.
3362
3363         * elmo-multi.el (elmo-message-flags): Ditto.
3364
3365 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3366
3367         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3368         `elmo-msgdb-delete-msgs'.
3369
3370         * elmo.el (elmo-folder-count-flags): Don't use
3371         `elmo-msgdb-get-mark-alist'.
3372         (elmo-folder-detach-messages): Follow the API change.
3373
3374         * elmo.el (elmo-folder-list-messages): Append killed messages into
3375         result if `visible-only' is nil.
3376
3377         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3378         canceled messages.
3379         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3380         (elmo-folder-update-number): Likewise.
3381
3382         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3383         (elmo-pop3-sort-msgdb-by-original-number): Use
3384         `elmo-msgdb-sort-entities'.
3385
3386         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3387         (elmo-msgdb-sort-by-date): Use it.
3388         (elmo-msgdb-overview-sort-by-date): Abolish.
3389
3390         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3391
3392         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3393         (elmo-msgdb-flags): New function.
3394         (elmo-msgdb-merge): Use elmo-msgdb-append.
3395
3396         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3397         change.
3398
3399         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3400
3401         * elmo-dop.el (elmo-folder-status-dop): Use
3402         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3403
3404 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3405
3406         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3407
3408         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3409
3410         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3411
3412         * elmo-util.el (elmo-with-progress-display): New macro.
3413
3414         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3415
3416 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3417
3418         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3419         `elmo-folder-list-message-entities' instead of
3420         `elmo-msgdb-get-overview'.
3421         (elmo-map-folder-list-message-locations): Ditto.
3422
3423         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3424         methods instead of treat directly).
3425         (elmo-msgdb-clear): Ditto.
3426         (elmo-msgdb-delete-msgs): Ditto.
3427         (elmo-msgdb-sort-by-date): Ditto.
3428
3429         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3430         local variables.
3431         (elmo-nntp-folder-msgdb-create): Follow the API change.
3432
3433         * elmo-version.el (elmo-version): Up to 2.11.10.
3434
3435 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3436
3437         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3438         (elmo-msgdb-flags-to-mark): Ditto.
3439         (elmo-msgdb-append-entity): Ditto.
3440
3441         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3442         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3443         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3444         (elmo-archive-parse-mmdf): Ditto.
3445
3446         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3447
3448         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3449
3450         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3451
3452         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3453
3454         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3455
3456         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3457
3458         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3459
3460         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3461
3462         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3463         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3464         to empty msgdb.
3465
3466         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3467         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3468         instead of directly construction.
3469         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3470         instead of construct msgdb.
3471
3472         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3473         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3474         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3475         instead of construct msgdb.
3476
3477 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3478
3479         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3480         when field is from or subject.
3481
3482 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3483
3484         * elmo-multi.el (elmo-message-entity-parent): Define.
3485         (elmo-folder-search): Rewrite.
3486
3487 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3488
3489         * elmo-multi.el (elmo-message-cached-p): Define.
3490
3491         * elmo.el (elmo-message-cached-p): New method.
3492         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3493         (elmo-message-flags): New method.
3494         (elmo-message-flagged-p): New function.
3495
3496         * elmo-version.el (elmo-version): Up to 2.11.9.
3497
3498 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3499
3500         * elmo-version.el (elmo-version): Up to 2.11.8.
3501
3502         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3503
3504         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3505
3506 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3507
3508         * elmo.el (elmo-folder-detach-messages): Undo last change.
3509
3510 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3511
3512         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3513
3514         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3515         only when src folder type is pop3.
3516
3517 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3518
3519         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3520         elmo-msgdb-overview-entity-get-number instead of
3521         elmo-message-entity-number.
3522
3523 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3524
3525         * elmo-version.el (elmo-version): Up to 2.11.7.
3526
3527 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3528
3529         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3530         function.
3531
3532         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3533         (elmo-msgdb-merge): New function.
3534         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3535         (elmo-msgdb-make-index): Rewrite.
3536
3537         * elmo-version.el (elmo-version): Up to 2.11.6.
3538
3539         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3540         use it as a the path for loading message entities.
3541
3542         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3543
3544 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3545
3546         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3547         message-modified slot of itself if it does not require target msgdb.
3548
3549         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3550         if folder length is zero.
3551         (elmo-mime-display-as-is): Ditto.
3552
3553         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3554
3555         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3556
3557 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3558
3559         * elmo.el (elmo-folder-set-message-modified): New method.
3560         (elmo-generic-folder-commit): Use it.
3561         (elmo-folder-synchronize): Ditto.
3562
3563         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3564         (elmo-folder-commit): Remove duplicate definition.
3565
3566 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3567
3568         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3569
3570 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3571
3572         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3573         (elmo-strict-folder-diff): Ditto.
3574         (elmo-folder-set-info-max-by-numdb): Simplify.
3575
3576         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3577         elmo-msgdb-list-messages.
3578
3579         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3580         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3581
3582 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3583
3584         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3585         visible-only is non-nil.
3586         (elmo-folder-confirm-appends): Changed message.
3587         (elmo-folder-synchronize): Added argument disable-killed.
3588
3589         * elmo-multi.el (elmo-folder-synchronize): Added argument
3590         disable-killed.
3591
3592         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3593
3594         * elmo-version.el (elmo-version): Up to 2.11.5.
3595
3596         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3597         elmo-list-filter.
3598
3599         * elmo-util.el (elmo-list-filter): Simplify.
3600
3601         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3602         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3603         (elmo-generic-folder-diff): Abolish argument.
3604         (elmo-msgdb-load): Don't use number-alist.
3605
3606         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3607
3608         * elmo-pipe.el (elmo-folder-diff): Ditto.
3609
3610         * elmo-nmz.el (elmo-folder-diff): Ditto.
3611
3612         * elmo-net.el (elmo-folder-diff): Ditto.
3613
3614         * elmo-maildir.el (elmo-folder-diff): Ditto.
3615
3616         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3617
3618         * elmo-multi.el (elmo-folder-diff): Ditto
3619         (elmo-multi-folder-diff): Rewrite.
3620
3621 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3622
3623         * elmo-pipe.el (elmo-folder-msgdb): Define.
3624
3625 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3626
3627         * elmo.el (elmo-message-set-cached): Define as a method.
3628
3629         * elmo-pipe.el (elmo-message-set-cached): Define.
3630         (elmo-find-fetch-strategy): Ditto.
3631
3632         * elmo-multi.el (elmo-message-set-cached): Define.
3633         (elmo-find-fetch-strategy): Rewrite.
3634
3635         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3636
3637         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3638
3639 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3640
3641         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3642         instead of number-alist.
3643
3644         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3645         mark nor message-id when msgdb of source folder is not loaded.
3646
3647         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3648
3649         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3650
3651 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3652
3653         * elmo.el (elmo-folder-length): Don't require msgdb.
3654
3655 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3656
3657         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3658         (elmo-message-field): Ditto.
3659
3660         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3661         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3662         slot.
3663         (elmo-map-folder-list-answereds): Define.
3664         (elmo-maildir-list-location): Treat 'R' info.
3665         (elmo-folder-msgdb-create): Treat flag-table.
3666         (elmo-folder-append-messages): Save flag-table.
3667
3668 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3669
3670         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3671         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3672
3673 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3674
3675         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3676
3677         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3678         'read when mark is null.
3679
3680 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3681
3682         * elmo-version.el (elmo-version): Up to 2.11.4.
3683
3684 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3685
3686         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3687         (elmo-folder-mark-as-answered): Ditto.
3688
3689 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3690
3691         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3692         (elmo-pop3-get-session): Make msgdb directory after session.
3693         (elmo-folder-exists-p): Check exactly at the first time even when the
3694         elmo-pop3-exists-exactly is nil.
3695
3696         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3697         (elmo-folder-list-messages): Define instead of
3698         elmo-folder-list-messages-internal.
3699         (elmo-folder-check): Check destination folder.
3700         (elmo-folder-synchronize): Drain the pipe.
3701
3702         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3703         when msgdb is not loaded.
3704
3705         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3706
3707         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3708         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3709         messages.
3710
3711         * elmo.el (elmo-folder-kill-messages-before): New function.
3712         (elmo-folder-kill-messages): Ditto.
3713         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3714
3715         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3716         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3717         killed not by synchronize (e.g. scoring).
3718
3719 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3720
3721         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3722         treated.
3723         (elmo-folder-search): Follow the change above.
3724
3725         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3726         into the candidates of search field.
3727
3728 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3729
3730         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3731         (elmo-msgdb-unset-flag): Ditto.
3732
3733         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3734
3735 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3736
3737         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3738         (elmo-folder-commit): Define.
3739         (elmo-folder-synchronize): Ditto.
3740         (elmo-folder-list-flagged): Ditto.
3741         (elmo-folder-commit): Ditto.
3742         (elmo-folder-length): Ditto.
3743         (elmo-folder-count-flags): Ditto.
3744         (elmo-message-mark): Ditto.
3745         (elmo-message-field): Ditto.
3746         (elmo-message-entity): Ditto.
3747         (elmo-message-folder): Ditto.
3748
3749 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3750
3751         * elmo.el (elmo-message-field): Define as a method.
3752
3753         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3754         (elmo-message-field): Define.
3755
3756         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3757         (elmo-folder-list-importants): Ditto.
3758         (elmo-folder-list-answereds): Ditto.
3759
3760         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3761         qualifier.
3762         (elmo-folder-mark-as-read): Ditto.
3763         (elmo-folder-unmark-read): Ditto.
3764         (elmo-folder-mark-as-answered): Ditto.
3765         (elmo-folder-unmark-answered): Ditto.
3766         (elmo-folder-list-flagged): Define.
3767         (elmo-folder-commit): Ditto.
3768         (elmo-folder-length): Ditto.
3769         (elmo-folder-count-flags): Ditto.
3770
3771 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3772
3773         * elmo.el (elmo-folder-detach-messages): New method.
3774         (elmo-folder-move-messages): Use it.
3775         (elmo-folder-synchronize): Ditto.
3776
3777         * elmo-multi.el (elmo-folder-detach-messages): Define.
3778
3779         * elmo.el (elmo-message-copy-entity): New function.
3780         (elmo-message-entity-set-number): Ditto.
3781         (elmo-message-mark): Define as method.
3782
3783         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3784         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3785         (elmo-message-entity): Fixed last change.
3786         (elmo-message-mark): Define.
3787         (elmo-folder-msgdb-create): Abolish.
3788         (elmo-multi-folder-append-msgdb): Ditto.
3789         (elmo-multi-folder-diff): Fixed.
3790         (elmo-multi-split-number-alist): Removed.
3791         (elmo-multi-split-mark-alist): Removed.
3792         (elmo-folder-list-messages): Define.
3793         (elmo-folder-list-messages-internal): Removed.
3794
3795         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3796         local file messages.
3797         (elmo-folder-msgdb-create): Fixed read mark.
3798
3799 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3800
3801         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3802         if mark is nil.
3803
3804 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3805
3806         * elmo.el (elmo-folder-list-message-entities): Define as inline
3807         function.
3808         (elmo-folder-messages): Abolish.
3809
3810         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3811         folder.
3812         (elmo-folder-synchronize): Define.
3813         (elmo-message-entity): Define.
3814
3815 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3816
3817         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3818         elmo-imap4-session-select-mailbox.
3819
3820         * elmo.el (elmo-folder-move-messages): Don't display any message.
3821
3822         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3823         parsing.
3824         (elmo-imap4-session-check): Don't wait CHECK response.
3825         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3826
3827 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3828
3829         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3830
3831 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3832
3833         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3834         API.
3835         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3836
3837
3838         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3839         (elmo-folder-list-message-entities): Added argument in-msgdb and
3840         numbers.
3841         (elmo-folder-synchronize): Define as a method.
3842
3843         * elmo-nntp.el (elmo-folder-initialize): Don't use
3844         elmo-nntp-default-user if zero-length username is specified
3845         explicitly.
3846
3847 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3848
3849         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3850         server name in case with username.
3851         (XXX: this is ad-hoc fix against username includes "@", it
3852         should be solved fundamentally)
3853
3854 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3855
3856         * elmo-nntp.el (elmo-nntp-debug): New function.
3857         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3858         (elmo-network-authenticate-session): Hide auth-info from the log.
3859
3860         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3861         user name if it is equal to elmo-nntp-default-user.
3862
3863 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3864
3865         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3866         instead of shimbun-server-internal;
3867         Use shimbun-current-group instead of shimbun-current-group-internal.
3868         (elmo-folder-plugged-p): Use shimbun-server instead of
3869         shimbun-server-internal.
3870         (elmo-folder-set-plugged): Ditto.
3871         (elmo-net-port-info): Ditto.
3872         (elmo-folder-check): Ditto.
3873         (elmo-folder-expand-msgdb-path): Ditto.
3874         (elmo-folder-list-subfolders): Ditto.
3875
3876 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3877
3878         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3879         Convert field-name to lower case.
3880         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3881
3882 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3883
3884         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3885         `message' and `error' take format string.
3886
3887 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3888
3889         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3890
3891 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3892
3893         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3894         recursive call (can't byte compile on emacs 20.7).
3895
3896 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3897
3898         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3899         (elmo-folder-list-message-entities): New API.
3900         (elmo-message-entity): Ditto.
3901         (elmo-message-entity-parent): Ditto.
3902         (elmo-folder-do-each-message-entity): Ditto.
3903         (elmo-message-entity-number): Ditto.
3904         (elmo-message-entity-field): Ditto.
3905         (elmo-message-entity-set-field): Ditto.
3906         (elmo-folder-count-flags): Ditto.
3907         (elmo-folder-length): Ditto.
3908
3909         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3910         not.
3911
3912         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3913         (elmo-msgdb-count-marks): Abolish.
3914         (elmo-msgdb-make-entity): Ditto.
3915         (elmo-msgdb-do-each-entity): Ditto.
3916         (elmo-msgdb-message-entity): New inline function.
3917         (elmo-msgdb-message-entity-field): Ditto.
3918         (elmo-msgdb-message-entity-set-field): Ditto.
3919         (elmo-msgdb-make-message-entity): New function.
3920
3921 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3922
3923         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3924         to flag. (All other related portions are changed.)
3925         (elmo-folder-msgdb-create): Likewise.
3926         (elmo-generic-folder-append-messages): Use flag-table instead of
3927         seen-list.
3928         (elmo-folder-move-messages): Removed redundant process.
3929         (elmo-folder-synchronize): Likewise.
3930
3931         * elmo-msgdb.el (elmo-flag-table-get): New function.
3932         (elmo-flag-table-save): Fixed.
3933         (elmo-msgdb-length): New inline function.
3934         (elmo-msgdb-flag-table): New function.
3935         (elmo-msgdb-mark): Add optional argument new.
3936         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3937         (elmo-msgdb-seen-list): Ditto.
3938         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3939
3940
3941 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3942
3943         * elmo.el (elmo-message-set-mark): Abolish.
3944         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3945         (All related portions are changed.)
3946
3947         * elmo-msgdb.el (toplevel): Added comment.
3948         (elmo-load-msgdb): Added 4th element `path'.
3949         (elmo-msgdb-append): Follow the change above.
3950         (elmo-msgdb-clear): Ditto.
3951         (elmo-msgdb-delete-msgs): Ditto.
3952         (elmo-msgdb-get-path): New inline function.
3953         (elmo-msgdb-set-path): Ditto.
3954         (elmo-flag-table-filename): New variable.
3955         (elmo-flag-table-load): New function.
3956         (elmo-flag-table-set): Ditto.
3957         (elmo-flag-table-save): Ditto.
3958         (elmo-msgdb-get-field-value): Abolish.
3959         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3960
3961 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3962
3963         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3964         the folder has been deleted successfully.
3965         * elmo-imap4.el (elmo-folder-delete): Ditto.
3966         * elmo-archive.el (elmo-folder-delete): Ditto.
3967         * elmo-localdir.el (elmo-folder-delete): Ditto.
3968         * elmo-maildir.el (elmo-folder-delete): Ditto.
3969
3970 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3971
3972         * elmo-util.el (elmo-string-member-ignore-case): New function.
3973         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3974         (elmo-imap4-fetch-callback-1-subr): Likewise.
3975
3976 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3977
3978         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3979         the case of the name attribute "\Noselect".
3980
3981 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3982
3983         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3984
3985         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3986         flist, is not always a member of onum-alist.
3987
3988 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3989
3990         * elmo-version.el (elmo-version): Up to 2.11.3.
3991
3992 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3993
3994         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3995         copied from localdir's one.
3996
3997         * elmo-pipe.el (elmo-folder-rename): New method, rename
3998         destination folder with leaving source folder as it is.
3999
4000 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4001
4002         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4003         replace-regexp.
4004
4005 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4006
4007         * elmo-version.el (elmo-version): Up to 2.11.2.
4008
4009 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4010
4011         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4012         shimbun-open in case of "@".
4013         (elmo-folder-open-internal): Cope with shimbun = nil case.
4014         (elmo-folder-plugged-p): Ditto.
4015         (elmo-folder-list-subfolders): Make list for "@/" group.
4016
4017 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4018
4019         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4020         mailbox (e.g. for %~/something).
4021
4022 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4023
4024         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4025         Replace nested conditional with guard clauses.
4026
4027 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4028
4029         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4030         error [wl:11327].
4031
4032         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4033         print-depth.
4034
4035 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4036
4037         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4038         Replace nested conditional with guard clauses.
4039
4040 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4041
4042         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4043         (elmo-passwd-alist-save): Ditto.
4044         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4045
4046 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4047
4048         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4049         dir-name only if it is absolute path.
4050         (TODO: distinguish +/something and +something)
4051
4052 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4053
4054         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4055         path for "+~/something".
4056
4057 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4058
4059         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4060         as non-directory, cause error before rename-file.
4061         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4062         apropriately, mimic localdir's one.
4063         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4064
4065 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4066
4067         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4068
4069 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4070
4071         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4072
4073         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4074         
4075         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4076         is included in the global-mark or not.
4077
4078 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4079
4080         * utf7.el (toplevel): Avoid error when the function
4081         find-coding-system does not exist.
4082
4083 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4084
4085         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4086         cache even if the folder is plugged.
4087         (elmo-nntp-search-primitive): Do nothing when body search is
4088         invoked (although it is not used by the change above).
4089         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4090
4091 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4092
4093         * elmo-version.el (elmo-version): Up to 2.11.1.
4094
4095 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4096
4097         * elmo-archive.el: Specify charset.
4098
4099 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4100
4101         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4102         process buffer lives or not.
4103
4104         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4105         while flushing queues (It causes infinite loop).
4106
4107 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4108
4109         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4110
4111 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4112
4113         * utf7.el (toplevel): Check the ucs features dynamically.
4114         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4115
4116         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4117         folder is creatabe or not if it already exists.
4118
4119 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4120
4121         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4122
4123         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4124
4125         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4126         (elmo-imap4-read-response): Take care of garbage response.
4127
4128 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4129
4130         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4131         just return nil instead of error.
4132
4133 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4134
4135         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4136         search-key is "body".
4137
4138 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4139
4140         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4141         of elmo-string-matched-assoc to use match-data.
4142         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4143
4144 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4145
4146         * elmo-split.el (elmo-split->): New function.
4147         (elmo-split-<): Ditto.
4148
4149 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4150
4151         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4152         workaround for invalid message-id.
4153
4154 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4155
4156         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4157         return normal pop3 session or pop3 biff session.
4158
4159 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4160
4161         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4162         info part to the cur files when the new files already have it.
4163         (Adviced by Jared Rhine <jared@wordzoo.com>)
4164
4165 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4166
4167         * elmo-split.el (elmo-split-default-action): New variable.
4168         (elmo-split-subr): Use it if all other conditions are passed.
4169         Extend `fname' and rename it as `action'. (implemented
4170         Teranishi-san's idea in [wl:10800])
4171
4172 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4173
4174         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4175         * elmo-util.el: Ditto.
4176
4177 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4178
4179         * elmo.el (elmo-message-accessible-p): Renamed from
4180         elmo-message-cached-p and rewritten.
4181
4182 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4183
4184         * elmo.el (elmo-folder-list-flagged): New generic function.
4185         (elmo-folder-list-importants): New implementation.
4186         (elmo-folder-list-answereds): Ditto.
4187         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4188         Added 'digest'.
4189         (elmo-message-cached-p): New function.
4190         (elmo-message-set-flag): Ditto (no content).
4191         (elmo-message-unset-flag): Ditto.
4192         (elmo-folder-list-messages-mark-match): Abolish.
4193
4194         * elmo-util.el (elmo-regexp-opt): New function.
4195
4196         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4197         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4198         Added 'digest'.
4199         (elmo-msgdb-list-flagged): New function.
4200
4201         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4202         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4203         Added 'digest'.
4204
4205         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4206
4207 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4208
4209         * elmo-version.el (elmo-version): Up to 2.11.0.
4210
4211 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4212
4213         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4214         `elmo-file-cache-exists-p'; use proper mark that depends on
4215         `use-cache'.
4216         (elmo-msgdb-unset-flag): Ditto.
4217         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4218
4219         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4220         with 4th argument `use-cache'.
4221
4222 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4223
4224         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4225         (elmo-folder-mark-as-important): Ditto.
4226         (elmo-folder-unmark-read): Ditto.
4227         (elmo-folder-mark-as-read): Ditto.
4228         (elmo-folder-unmark-answered): Ditto.
4229         (elmo-folder-mark-as-answered): Ditto.
4230
4231         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4232         message status.
4233         (elmo-msgdb-mark): Likewise.
4234         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4235         (elmo-msgdb-unset-flag): Likewise.
4236
4237         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4238
4239 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4240
4241         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4242         `last:' filter.
4243
4244 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4245
4246         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4247         set spool-length to 0.
4248
4249 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4250
4251         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4252         (elmo-dop-queue-flush): Fixed last change.
4253
4254 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4255
4256         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4257         if require-msgdb slot is nil.
4258         (elmo-folder-list-importants): Likewise.
4259
4260 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4261
4262         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4263         mark is changed.
4264
4265         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4266         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4267         is changed.
4268
4269 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4270
4271         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4272
4273 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4274
4275         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4276
4277         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4278
4279 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4280
4281         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4282         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4283
4284 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4285
4286         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4287         the problem reported by Sean Rima [wl-en:180].
4288
4289 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4290
4291         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4292
4293         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4294
4295         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4296
4297         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4298
4299         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4300
4301         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4302
4303         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4304
4305 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4306
4307         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4308         status number.
4309
4310 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4311
4312         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4313         (elmo-folder-mark-as-read): Follow the API change.
4314         (elmo-message-set-cached): New function.
4315
4316         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4317
4318         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4319
4320         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4321         (elmo-folder-mark-as-important): Ditto.
4322         (elmo-folder-unmark-read): Ditto.
4323         (elmo-folder-mark-as-read): Ditto.
4324         (elmo-folder-unmark-answered): Ditto.
4325         (elmo-folder-mark-as-answered): Ditto.
4326
4327         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4328         (elmo-folder-unmark-important): Ditto.
4329         (elmo-folder-mark-as-read): Ditto.
4330         (elmo-folder-unmark-read): Ditto.
4331         (elmo-folder-mark-as-answered): Ditto.
4332         (elmo-folder-unmark-answered): Ditto.
4333
4334         * elmo-mark.el (toplevel): Removed some mark method definitions.
4335
4336         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4337         (elmo-map-folder-mark-as-answered): Ditto.
4338         (elmo-folder-unmark-important): Add :before qualifier.
4339         (elmo-folder-mark-as-important): Ditto.
4340         (elmo-folder-unmark-read): Ditto.
4341         (elmo-folder-mark-as-read): Ditto.
4342         (elmo-folder-unmark-answered): Define.
4343         (elmo-folder-mark-as-answered): Ditto.
4344
4345         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4346         (elmo-map-folder-unmark-answered): Ditto.
4347
4348         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4349
4350         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4351         (elmo-folder-mark-as-important): Ditto.
4352         (elmo-folder-unmark-read): Ditto.
4353         (elmo-folder-mark-as-read): Ditto.
4354         (elmo-folder-unmark-answered): Ditto.
4355         (elmo-folder-mark-as-answered): Ditto.
4356
4357         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4358         `mark'; evaluate mark condition.
4359         (elmo-msgdb-match-condition-internal): New function.
4360         (elmo-msgdb-match-condition): Call it; changed argument.
4361
4362         * elmo.el (elmo-folder-search): Follow the API change on
4363         `elmo-msgdb-match-condition'.
4364
4365 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4366
4367         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4368         original mark is non-nil.
4369
4370 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4371
4372         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4373         (elmo-map-folder-list-answereds): New method.
4374         (elmo-folder-list-unreads): Add :around qualifier.
4375         (elmo-folder-list-importants): Ditto.
4376         (elmo-folder-list-answereds): Ditto.
4377
4378 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4379
4380         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4381
4382         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4383         method if msgdb is not required.
4384         (elmo-filter-folder-list-importants): Don't treat global-mark.
4385
4386         * elmo.el (elmo-folder-list-importants): Ditto.
4387
4388         * elmo-net.el (elmo-folder-list-importants): Ditto.
4389
4390         * elmo-map.el (elmo-folder-list-importants): Ditto.
4391
4392         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4393
4394         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4395         (elmo-imap4-folder-list-any-plugged): New function.
4396         (elmo-imap4-search-internal-primitive): Use it.
4397
4398         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4399         only when require-msgdb slot is non-nil.
4400         (elmo-folder-close): Clear target folder's msgdb.
4401
4402 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4403
4404         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4405         (elmo-pop3-msgdb-create-by-header): Ditto.
4406         (elmo-pop3-msgdb-create-message): Ditto.
4407
4408         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4409
4410         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4411
4412         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4413
4414         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4415         (elmo-folder-msgdb-create): Ditto.
4416         (elmo-nntp-folder-msgdb-create): Ditto.
4417         (elmo-nntp-msgdb-create-by-header): Ditto.
4418         (elmo-nntp-msgdb-create-message): Ditto.
4419         (elmo-folder-list-unreads): Define.
4420
4421         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4422         (elmo-folder-append-messages): Ditto.
4423         (elmo-folder-list-unreads): Define.
4424         (elmo-folder-list-importants): Ditto.
4425         (elmo-folder-list-answereds): Ditto.
4426
4427         * elmo-net.el (elmo-folder-list-unreads): Define.
4428         (elmo-folder-list-importants): Ditto.
4429         (elmo-folder-list-answereds): Ditto.
4430         (elmo-folder-list-answereds-plugged): Ditto.
4431         (elmo-folder-msgdb-create): Follow the API change.
4432         (elmo-folder-msgdb-create-unplugged): Ditto.
4433         (elmo-folder-unmark-answered): Define.
4434         (elmo-folder-mark-as-answered-unplugged): Ditto.
4435         (elmo-folder-unmark-answered-unplugged): Ditto.
4436
4437         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4438         (elmo-msgdb-unread-uncached-mark): Ditto.
4439         (elmo-msgdb-unread-cached-mark): Ditto.
4440         (elmo-msgdb-read-uncached-mark): Ditto.
4441         (elmo-msgdb-answered-cached-mark): Ditto.
4442         (elmo-msgdb-answered-uncached-mark): Ditto.
4443         (elmo-msgdb-important-mark): Ditto.
4444         (elmo-msgdb-set-mark): Rewrite.
4445         (elmo-msgdb-count-marks): Rewrite.
4446         (elmo-msgdb-mark-alist-set): Abolish.
4447         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4448         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4449
4450         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4451         (elmo-folder-close): Define.
4452         (elmo-folder-msgdb-create): Follow the API change.
4453         (elmo-folder-list-unreads): Rewrite.
4454         (elmo-folder-mark-as-important): Ditto.
4455         (elmo-folder-unmark-important): Ditto.
4456         (elmo-folder-mark-as-read): Ditto.
4457         (elmo-folder-unmark-read): Ditto.
4458         (elmo-folder-mark-as-answered): Define.
4459         (elmo-folder-unmark-answered): Ditto.
4460
4461         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4462         (elmo-folder-append-messages): Ditto.
4463
4464         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4465
4466         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4467         (elmo-folder-list-importants): Ditto.
4468
4469         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4470         (elmo-folder-append-messages): Ditto.
4471
4472         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4473         change.
4474         (elmo-folder-msgdb-create-plugged): Ditto.
4475         (elmo-folder-append-messages): Ditto.
4476         (elmo-folder-list-answereds-plugged): Define.
4477         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4478         (elmo-folder-unmark-answered-plugged): Define.
4479         (elmo-folder-mark-as-answered-plugged): Ditto.
4480         (elmo-folder-search-requires-msgdb-p): Ditto.
4481
4482         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4483         (elmo-folder-initialize): Set it.
4484         (elmo-folder-msgdb): Define.
4485         (elmo-folder-check): Call elmo-folder-synchronize.
4486         (elmo-folder-close): Define.
4487         (elmo-folder-commit): Ditto.
4488         (elmo-folder-msgdb-create): Rewrite.
4489         (elmo-folder-list-unreads): Ditto.
4490         (elmo-folder-list-importants): Ditto.
4491         (elmo-folder-mark-as-read): Ditto.
4492         (elmo-folder-unmark-read): Ditto.
4493         (elmo-folder-mark-as-important): Ditto.
4494         (elmo-folder-unmark-important): Ditto.
4495         (elmo-folder-mark-as-answered): Define.
4496         (elmo-folder-unmark-answered): Ditto.
4497
4498         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4499         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4500         (elmo-dop-queue-method-name-alist): Likewise.
4501         (elmo-folder-mark-as-answered-dop): New inline function.
4502         (elmo-folder-unmark-answered-dop): Ditto.
4503         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4504
4505         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4506         (elmo-folder-msgdb-create): Ditto.
4507         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4508         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4509         (elmo-archive-parse-mmdf): Ditto.
4510
4511         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4512         (elmo-folder-list-unreads-internal): Ditto.
4513
4514         * elmo.el (elmo-folder-msgdb): Define as generic function.
4515         (elmo-folder-list-messages): Added argument `in-msgdb'.
4516         (elmo-folder-list-unreads): Define as generic function.
4517         (elmo-folder-list-importants): Ditto.
4518         (elmo-folder-list-answereds): Ditto.
4519         (elmo-folder-list-messages-with-global-mark): New function.
4520         (elmo-folder-msgdb-create): Removed mark arguments.
4521         (elmo-folder-unmark-answered): New generic function.
4522         (elmo-folder-mark-as-answered): Ditto.
4523         (elmo-folder-append-messages): Removed argunment `unread-marks'
4524         (elmo-folder-list-unreads-internal): Abolish.
4525         (elmo-folder-list-importants-internal): Ditto.
4526         (elmo-folder-search-requires-msgdb-p): New generic function.
4527         (elmo-folder-search-requires-msgdb-p-internal): New function.
4528         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4529         elmo-msgdb-load.
4530         (elmo-folder-search-fast): Added key 'mark'.
4531         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4532         instead of unread-marks argument.
4533         (elmo-folder-move-messages): Removed argunment `unread-marks'
4534         (elmo-folder-unmark-important): Define.
4535         (elmo-folder-mark-as-important): Ditto.
4536         (elmo-folder-unmark-read): Ditto.
4537         (elmo-folder-mark-as-read): Ditto.
4538         (elmo-folder-unmark-answered): Ditto.
4539         (elmo-folder-mark-as-answered): Ditto.
4540         (elmo-folder-replace-marks): Abolish.
4541         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4542         duplicates.
4543         (elmo-folder-synchronize): Removed mark arguments;
4544         return crosspost only number.
4545
4546 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4547
4548         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4549         Remove redundunt connectivity check.
4550
4551 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4552
4553         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4554         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4555
4556 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4557
4558         * pldap.el (ldap-decode-string): Return string as-is if
4559         `ldap-coding-system' is nil.
4560         (ldap-encode-string): Ditto.
4561         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4562         (ldap-default-host): Fixed docstring.
4563
4564 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4565
4566         * elmo-util.el (elmo-warning): Define as a macro which uses
4567         `display-warning' if it is defined as a function.
4568
4569         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4570         (elmo-split-equal): Use it.
4571         (elmo-split-match): Ditto.
4572         (elmo-split-message-entity): New buffer-local variable.
4573         (elmo-split-subr): Set it.
4574
4575         * elmo-version.el (elmo-version): Up to 2.9.15.
4576
4577 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4578
4579         * elmo-imap4.el (elmo-network-initialize-session):
4580         Check capability after starttls.
4581
4582 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4583
4584         * elmo-util.el (elmo-list-delete): Added optional argument
4585         DELETE-FUNCTION.
4586
4587         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4588
4589         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4590
4591         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4592
4593         * elmo-imap4.el (elmo-folder-initialize): Don't use
4594         elmo-imap4-default-mailbox.
4595
4596 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4597
4598         * elmo-split.el (toplevel): Use `product-provide'.
4599         (elmo-split): Checkdoc.
4600
4601 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4602
4603         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4604         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4605         the function `elmo-imap4-debug-1'.
4606
4607 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4608
4609         * elmo-split.el (elmo-split): Moved to run hooks and to show
4610         message from elmo-split-subr.
4611         (elmo-split-subr): Follow the change above.
4612
4613         * elmo-split.el (elmo-split-subr): New function (renamed from
4614         elmo-split-subr).
4615         (elmo-split): Changed to call elmo-split-subr by element of
4616         elmo-split-folder.
4617         (elmo-split-folder): Changed customization type to choice.
4618
4619 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4620
4621         * elmo-split.el (elmo-split-and): Fixed condition.
4622
4623 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4624
4625         * elmo-split.el: New file.
4626         (elmo-split): Fixed logic.
4627         Display "Test:" instead of "Folder:" when reharsal.
4628
4629         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4630         explicitly.
4631
4632         * elmo-version.el (elmo-version): Up to 2.9.14.
4633
4634         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4635         wl-expand-newtext).
4636
4637 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4638
4639         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4640         message with no message-id field.
4641
4642 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4643
4644         * elmo-version.el (elmo-version): Up to 2.9.13.
4645
4646         * elmo-dop.el (elmo-folder-status-dop): Fix.
4647
4648 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4649
4650         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4651
4652         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4653         changing default value of default-mime-charset.
4654         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4655
4656         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4657
4658         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4659         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4660         instead of elmo-dop-queue-method-name-alist to check merging queue.
4661         (elmo-folder-delete-messages-dop): Delete from queue if negative
4662         message number.
4663         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4664         file is already removed.
4665
4666 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4667
4668         * elmo-vars.el: Bind colon keywords for old Emacsen.
4669
4670 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4671
4672         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4673         against non-exsisting charset.
4674
4675 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4676
4677         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4678         Use eword-decode-and-unfold-unstructured-field-body.
4679
4680         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4681         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4682         exists to decode raw subject string.
4683         (toplevel): Require 'mime.
4684
4685         * elmo-version.el (elmo-version): Up to 2.9.12.
4686
4687 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4688
4689         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4690         (elmo-msgdb-set-mark): Ditto.
4691
4692         * elmo-version.el (elmo-version): Up to 2.9.11.
4693
4694 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4695
4696         * elmo-util.el (elmo-delete-match-files): New function.
4697
4698         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4699         instead of elmo-delete-directory.
4700
4701         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4702         elmo-hash-minimun-size as 63.
4703
4704         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4705         elmo-diff-unread is nil.
4706
4707         * elmo-imap4.el (elmo-folder-open): Fix.
4708
4709         * elmo.el (elmo-message-mark): Rewrite.
4710         (elmo-message-field): Ditto.
4711         (elmo-message-set-mark): Ditto.
4712         (elmo-folder-replace-marks): New function.
4713         (elmo-generic-folder-append-msgdb): Removed third argument for
4714         elmo-msgdb-append.
4715         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4716         (elmo-msgdb-load): New implementation.
4717
4718         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4719
4720         * elmo-util.el (elmo-list-insert): New implementation.
4721
4722         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4723         argument for elmo-msgdb-append.
4724         
4725
4726         * elmo-msgdb.el (elmo-load-msgdb): New function.
4727         (elmo-make-msgdb): Ditto.
4728         (elmo-msgdb-get-index): New inline function.
4729         (elmo-msgdb-set-index): Ditto.
4730         (elmo-msgdb-get-entity-hashtb): Ditto.
4731         (elmo-msgdb-get-mark-hashtb): Ditto.
4732         (elmo-msgdb-get-mark): Ditto.
4733         (elmo-msgdb-set-mark): Ditto.
4734         (elmo-msgdb-count-marks): Ditto.
4735         (elmo-msgdb-get-number): Ditto.
4736         (elmo-msgdb-get-field): Ditto.
4737         (elmo-msgdb-seen-list): Ditto.
4738         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4739         (elmo-msgdb-delete-msgs): Follow the changes above.
4740         (elmo-msgdb-overview-get-entity): Ditto.
4741         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4742         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4743         and rewritten.
4744         (elmo-msgdb-make-index): Likewise.
4745         (elmo-msgdb-append): Removed third argument.
4746         (elmo-msgdb-clear): Clear index as nil.
4747         (elmo-folder-set-info-hashtb): Removed.
4748         (elmo-folder-set-info-max-by-numdb): Ditto.
4749         (elmo-folder-info-make-hashtb): Ditto.
4750
4751         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4752
4753         * elmo-map.el (elmo-folder-pack-number): Ditto.
4754
4755 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4756
4757         * elmo-version.el (elmo-version): Up to 2.9.10.
4758
4759         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4760
4761         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4762
4763 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4764
4765         * elmo-utils.el (elmo-make-directory): Add option.
4766         Default file mode is 700.
4767
4768 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4769
4770         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4771
4772 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4773
4774         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4775         mime-charset.
4776
4777         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4778         and "smaller".
4779
4780 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4781
4782         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4783         (elmo-shimbun-folder-entity-hash): New function.
4784         (elmo-shimbun-folder-shimbun-header): Ditto.
4785         (elmo-shimbun-entity-to-header): Ditto.
4786         (elmo-shimbun-msgdb-to-headers): Removed.
4787         (elmo-shimbun-folder-setup): Ditto.
4788         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4789         for hash key.
4790         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4791         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4792         Removed useless local bind.
4793         (elmo-folder-open-internal): Don't call
4794         `elmo-shimbun-folder-setup'.
4795         (elmo-folder-close-internal): Clear entity-hash slot.
4796         (elmo-folder-clear): Ditto.
4797         (elmo-shimbun-msgdb-create-entity): Use
4798         `elmo-shimbun-folder-shimbun-header'.
4799         (elmo-map-message-fetch): Ditto.
4800         (elmo-shimbun-update-overview): Use overview entity instead of
4801         shimbun header to lookup id by references.
4802         (elmo-map-folder-list-message-locations): Use not only headers but
4803         also overviews to list locations.
4804
4805 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4806
4807         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4808         msgdb path.
4809
4810         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4811
4812 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4813
4814         * elmo-util.el (elmo-read-search-condition-internal): Give default
4815         value for date.
4816
4817 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4818
4819         * elmo-util.el (elmo-condition-parse-search-value): Accept
4820         YYYY-MM-DD format to search.
4821         * elmo-date.el (elmo-date-get-datevec): Likewise.
4822
4823 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4824
4825         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4826         debugging code.
4827
4828 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4829
4830         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4831         from t.
4832
4833         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4834
4835         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4836         case from `elmo-folder-exists-p'.
4837         (elmo-folder-exists-p): Removed.
4838         (elmo-folder-creatable-p) Ditto.
4839
4840         * elmo-net.el (elmo-folder-create): Defined.
4841         (elmo-folder-create-unplugged): New function.
4842         (elmo-folder-exists-p): Changed default value to nil from t.
4843
4844         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4845         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4846
4847         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4848         `elmo-create-folder-dop' and append queue
4849         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4850         (elmo-folder-create-dop-delayed): New function.
4851
4852         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4853
4854         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4855
4856         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4857         (elmo-folder-writable-p) : Ditto.
4858
4859         * elmo-version.el (elmo-version): Up to 2.9.9.
4860
4861 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4862
4863         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4864         `elmo-message-use-cache-p' returns nil.
4865         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4866         (ignore cache file and refer the substance in local folders)
4867
4868 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4869
4870         * elmo-version.el (elmo-version): Up to 2.9.8.
4871
4872 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4873
4874         * elmo-version.el (elmo-version): Up to 2.9.7.
4875
4876         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4877
4878 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4879
4880         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4881
4882 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4883
4884         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4885         from --early.
4886         (elmo-map-folder-list-message-locations): Reverse location list.
4887
4888 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4889
4890         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4891
4892 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4893
4894         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4895         as a key.
4896         (elmo-nntp-folder-list-subfolders): Follow the change above.
4897
4898 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4899
4900         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4901         name if authentication type is specified.
4902
4903 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4904
4905         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4906         variable.
4907         (elmo-default-nntp-stream-type): Ditto.
4908         (elmo-default-pop3-stream-type): Ditto.
4909
4910 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4911
4912         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4913
4914 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4915
4916         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4917         elmo-vars.el.
4918         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4919
4920         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4921         (elmo-maildir-folder-path): Ditto.
4922         (elmo-maildir-list): Ditto (abolished).
4923
4924 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4925
4926         * elmo-version.el (elmo-version): Up to 2.9.6.
4927
4928 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4929
4930         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4931         (elmo-maildir-folder-path): Ditto.
4932         (elmo-msgdb-directory): Ditto.
4933         (elmo-passwd-life-time): Ditto.
4934         (elmo-msgdb-extra-fields): Ditto.
4935         (elmo-enable-disconnected-operation): Ditto.
4936
4937 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4938
4939         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4940         other choices.
4941         (elmo-pop3-default-authenticate-type): Ditto.
4942
4943 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4944
4945         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4946         choices for custom.
4947         (elmo-pop3-default-authenticate-type): Ditto.
4948
4949 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4950
4951         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4952         mailbox to new-folder.
4953
4954 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4955
4956         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4957         less than new, set new as unread.
4958
4959         * elmo-util.el (elmo-string): Don't put text-property if nil.
4960
4961 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4962
4963         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4964         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4965
4966 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4967
4968         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4969         is nil on `completing-read'.
4970
4971 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4972
4973         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4974         for namespace part.
4975         (elmo-imap4-parse-namespace-subr): Ditto.
4976         (elmo-folder-list-subfolders): Append a delimiter when the specified
4977         folder path is a root with namespace and does not end with delimiter.
4978
4979 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4980
4981         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4982         was used.
4983
4984 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4985
4986         * elmo-util.el (elmo-save-buffer): The first argument of message
4987         is a format control string.
4988
4989 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4990
4991         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4992         `elmo-folder-diff').
4993         (elmo-diff-unread): Likewise.
4994
4995 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4996
4997         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4998         is t on `completing-read'.
4999
5000 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5001
5002         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5003         method of target folder with self mark-alist if MARK-ALIST is nil.
5004
5005 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5006
5007         * elmo-version.el (elmo-version): Up to 2.9.5.
5008
5009 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5010
5011         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5012         (elmo-dop-merge-funcs): Remove.
5013
5014 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5015
5016         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5017         Return t if PATH is directory, too.
5018         Use `dolist' instead of while loop.
5019
5020 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5021
5022         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5023         is deleted.
5024
5025 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5026
5027         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5028         return value to t.
5029         (elmo-folder-list-messages-unplugged): Return t if
5030         elmo-enable-disconnected-operation is nil.
5031
5032         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5033         `elmo-folder-list-messages-internal'.
5034
5035 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5036
5037         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5038         Change to looking-at `[23][0-9]+'.
5039         (elmo-network-initialize-session): Use 'error-msg'
5040         * elmo-net.el (elmo-network-open-session): Set unplugged
5041         if elmo-network-initialize-session returns 'elmo-open-err.
5042
5043 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5044
5045         * elmo-version.el (elmo-version): Up to 2.9.4.
5046
5047 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5048
5049         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5050         `elmo-folder-list-messages-internal'.
5051
5052 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5053
5054         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5055         (elmo-message-match-condition): New method.
5056         (elmo-folder-search-fast): New inline function.
5057         (elmo-msgdb-search): Removed.
5058
5059         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5060         target folder if it is unplugged.
5061         (elmo-folder-list-messages-internal): Return t if target folder is
5062         unplugged and itself is persistent; In this case, use list be
5063         searched already.
5064
5065         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5066         (elmo-msgdb-search-internal-primitive): Ditto.
5067         (elmo-msgdb-match-condition): New function.
5068         (elmo-msgdb-match-condition-primitive): Ditto.
5069
5070         * elmo-util.el (elmo-filter-condition-p): New macro.
5071
5072         * elmo-cache.el (elmo-folder-search): Removed.
5073
5074         * elmo-localdir.el (elmo-folder-search): Ditto.
5075
5076         * elmo-maildir.el (elmo-folder-search): Ditto.
5077
5078         * elmo-mark.el (elmo-folder-search): Ditto.
5079
5080         * elmo-nmz.el (elmo-folder-search): Ditto.
5081
5082         * elmo-sendlog.el (elmo-folder-search): Ditto.
5083
5084         * elmo-shimbun.el (elmo-folder-search): Ditto.
5085
5086         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5087         if folder is unplugged.
5088
5089         * elmo-nntp.el (elmo-folder-search): Likewise.
5090         (elmo-nntp-search-internal): New function.
5091
5092         * elmo-version.el (elmo-version): Up to 2.9.3.
5093
5094 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5095
5096         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5097
5098 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5099
5100         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5101
5102 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5103
5104         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5105
5106 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5107
5108         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5109         (elmo-map-folder-list-message-locations): Do drive letter conversion
5110         on Windows environment.
5111         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5112         (elmo-map-message-fetch): Ditto.
5113
5114 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5115
5116         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5117         (elmo-network-initialize-session): Ditto.
5118
5119 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5120
5121         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5122
5123         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5124
5125         * elmo-util.el (elmo-progress-clear): Ditto.
5126
5127         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5128         `DD-Mon-YYYY' type date.
5129
5130 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5131
5132         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5133         `elmo-date-make-sortable-string' instead of
5134         `timezone-make-date-sortable'.
5135
5136         * elmo-date.el (elmo-date-make-sortable-string): Use
5137         `timezone-make-time-string'.
5138
5139 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5140
5141         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5142
5143         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5144         `since'; Fix timezone.
5145
5146         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5147
5148         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5149
5150 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5151
5152         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5153
5154 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5155
5156         * elmo.el (elmo-generic-folder-append-messages): Make
5157         fetch-strategy with `use-cache' as 'maybe. Check return value of
5158         `elmo-message-fetch'.
5159         (elmo-message-fetch): Return return value of
5160         `elmo-message-fetch-with-cache-process'.
5161         (elmo-message-fetch-with-cache-process): Return non-nil if
5162         fetching was succeed. Load cache when fetching was failed and
5163         fetch-strategy-use-cache is 'maybe.
5164
5165         * elmo-util.el (elmo-file-cache-load): New function.
5166
5167         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5168         defun.
5169
5170         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5171         non-nil if fetching was succeed.
5172
5173         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5174
5175         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5176
5177         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5178         (elmo-message-fetch-with-cache-process): Likwise.
5179
5180         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5181
5182         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5183
5184         * elmo-version.el (elmo-version): Up to 2.9.2.
5185
5186 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5187
5188         * elmo.el (elmo-folder-delete): Delete msgdb path.
5189
5190         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5191
5192         * elmo-maildir.el (elmo-folder-delete): Ditto.
5193
5194         * elmo-localdir.el (elmo-folder-delete): Ditto.
5195
5196         * elmo-imap4.el (elmo-folder-delete): Ditto.
5197
5198 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5199
5200         * elmo.el (luna-define-class): Added `biff' slot.
5201
5202         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5203         (elmo-pop3-debug-inhibit-logging): Abolished.
5204         (elmo-network-close-session): Eliminated needless let.
5205         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5206         (elmo-pop3-send-command): Added `no-log' argument.
5207         (elmo-pop3-process-filter): Use `with-current-buffer'.
5208         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5209         if login failure.
5210         (elmo-pop3-auth-apop): Likewise.
5211         (elmo-network-authenticate-session): Likewise.
5212
5213         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5214         if biff folder.
5215
5216         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5217         string to determine protocol.
5218         (elmo-network-session-name-prefix): Abolished.
5219         (elmo-network-session-cache-key): Follow the change above.
5220         (elmo-network-open-session): Ditto.
5221
5222         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5223         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5224
5225         * elmo-version.el (elmo-version): Up to 2.9.1.
5226
5227         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5228         unmatch condition checking.
5229
5230         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5231         condition.
5232
5233 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5234
5235         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5236
5237 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5238
5239         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5240         test for while loop to execute at least one SEARCH command.
5241
5242 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5243
5244         * elmo-version.el (elmo-version): Up to 2.9.0.
5245
5246 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5247
5248         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5249         (elmo-archive-folder-path): Define.
5250         (elmo-folder-initialize): Setup `dir-name' slot.
5251         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5252         Use `dir-name' as prefix of each subfolders.
5253         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5254
5255 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5256
5257         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5258         (elmo-pipe-folder-list-target-messages): New internal function.
5259         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5260         `killed-list'.
5261         (elmo-pipe-folder-copied-list-load): New function.
5262         (elmo-pipe-folder-copied-list-save): Ditto.
5263         (elmo-folder-open-internal): Follow the change above.
5264         (elmo-folder-status): Fixed for copy.
5265
5266 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5267
5268         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5269
5270 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5271
5272         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5273         elmo-copy-file instead of elmo-add-name-to-file.
5274
5275         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5276
5277         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5278         "file://..." index.
5279
5280         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5281         of accept-process-output as 1.
5282         (elmo-pop3-read-contents): Ditto.
5283         (elmo-pop3-read-body): Ditto.
5284
5285 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5286
5287         * elmo-version.el (product-version-as-string): Remove define.
5288
5289 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5290
5291         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5292         (elmo-imap4-copy-messages): Chop number set using
5293         `elmo-imap4-number-set-chop-length'.
5294         (elmo-imap4-set-flag): Ditto.
5295         (elmo-imap4-search-internal-primitive): Ditto.
5296
5297 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5298
5299         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5300         `elmo-folder-make-temp-dir'
5301
5302         * elmo-vars.el (elmo-cache-directory): New variable.
5303         (elmo-cache-dir): Abolished.
5304         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5305
5306         * elmo-version.el (elmo-version): Up to 2.7.7.
5307
5308 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5309
5310         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5311         defcustom; Set default value as t.
5312
5313 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5314
5315         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5316         (ldap-search-program-arguments): Changed default value.
5317         (ldap-search-basic): Accept exit status 4.
5318         (ldap/field-body): Parse options.
5319         (ldap/collect-field): Ditto.
5320         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5321
5322         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5323         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5324         (elmo-imap4-accept-ok): Ditto.
5325         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5326         'notify-bye, only BYE error is reported.
5327         (elmo-folder-exists-p-plugged): Set no-error argument of
5328         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5329
5330         * elmo.el (elmo-imap4-bye-error): Changed message.
5331
5332         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5333         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5334         queues (It causes infinite loop).
5335
5336 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5337
5338         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5339         (RECENT UNSEEN MESSAGES) extension.
5340
5341 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5342
5343         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5344         Check number of overview fields.
5345
5346 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5347
5348         * elmo.el (elmo-folder-confirm-appends): Changed message.
5349         (elmo-folder-confirm-appends): Ditto.
5350
5351         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5352         `with-temp-buffer'.
5353         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5354
5355 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5356
5357         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5358         of elmo-folder-update-threshold is nil, which can be set by
5359         wl-summary-update-confirm-threshold.
5360
5361 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5362
5363         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5364         (elmo-nmz-index-alias-alist): Ditto.
5365         (elmo-map-folder-list-message-locations): Follow the change above.
5366
5367 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5368
5369         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5370
5371         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5372
5373         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5374
5375         * elmo-util.el (elmo-read): Ditto.
5376         (elmo-display-error): Ditto.
5377
5378         * elmo-vars.el (elmo-date-match): Ditto.
5379
5380         * pldap.el (ldap-coding-system): Ditto.
5381
5382         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5383         `elmo-inhibit-number-mapping' as nil.
5384
5385 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5386
5387         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5388         space delimiter for list response.
5389
5390 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5391
5392         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5393
5394 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5395
5396         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5397         (elmo-map-message-fetch): Fix.
5398         * elmo-map.el (elmo-folder-status): Fix for killed.
5399
5400 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5401
5402         * elmo-sendlog.el: New file.
5403         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5404
5405 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5406
5407         * acap.el (acap-logging-out): New buffer local variable.
5408         (acap-close): Set it.
5409         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5410         an error.
5411
5412 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5413
5414         * acap.el (acap-response-bye-p): New function.
5415         (acap-response-bye-message): Ditto.
5416         (acap-wait-for-response): If bye response is received, cause an error.
5417         (acap-parse-response): Make bye response when 'Bye' is received.
5418
5419 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5420
5421         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5422
5423 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5424
5425         * elmo-util.el (elmo-copy-file): Added argument
5426         `ok-if-already-exists'.
5427         (elmo-copy-file): Fixed typo.
5428
5429 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5430
5431         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5432
5433 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5434
5435         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5436
5437 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5438
5439         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5440         to killed-list.
5441
5442 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5443
5444         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5445         (elmo-folder-initialize): Fix for `copy'.
5446         (elmo-pipe-drain): Ditto.
5447         (elmo-folder-open-internal): Ditto.
5448         (elmo-folder-newsgroups): Fix.
5449
5450 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5451
5452         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5453         for each message.
5454
5455         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5456         recent value is returned from imap folder.
5457
5458         * elmo.el (elmo-folder-newsgroups): New generic function.
5459
5460         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5461         (elmo-folder-initialize): Set it.
5462         (elmo-folder-expand-msgdb-path): Use it.
5463         (elmo-folder-newsgroups): Define.
5464
5465         * elmo-filter.el (elmo-folder-newsgroups): Define.
5466
5467         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5468
5469         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5470
5471         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5472
5473 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5474
5475         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5476         user option.
5477         (elmo-shimbun-header-extra-field): New inline function.
5478         (elmo-shimbun-header-set-extra-field): Ditto.
5479         (elmo-shimbun-folder-header-hash-setup): Ditto.
5480         (elmo-shimbun-update-overview): Ditto.
5481         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5482         (elmo-shimbun-folder-setup): Use
5483         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5484         (elmo-shimbun-get-headers): Ditto.
5485         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5486         Insert `X-Shimbun-Id:' header if extra field is set.
5487         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5488         field's value instead of `shimbun-header-id'.
5489
5490         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5491         inline function.
5492         (elmo-msgdb-overview-entity-set-date): Ditto.
5493         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5494
5495 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5496
5497         * mmimap.el (mmimap-entity-section): Changed body node number from
5498         "0" to "1".
5499
5500 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5501
5502         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5503         `elmo-folder-delete-messages'.
5504
5505         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5506         (elmo-folder-initialize): Changed to expand alias into index path.
5507
5508         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5509         `elmo-mime-insert-header-from-buffer' with 6th arg
5510         `sorted-fields'.
5511
5512 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5513
5514         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5515
5516         * elmo.el (elmo-diff-new): New inline function.
5517         (elmo-diff-unread): Ditto.
5518         (elmo-diff-all): Ditto.
5519
5520         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5521         value from responseb.
5522         (elmo-imap4-folder-diff-plugged): Ditto.
5523         (elmo-imap4-server-diff-async): Added recent argument.
5524         (elmo-server-diff-async): Ditto.
5525         (elmo-imap4-folder-diff-plugged): Ditto.
5526
5527         * elmo-version.el (elmo-version): Up to 2.7.6.
5528
5529 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5530
5531         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5532         in quoted-stirng.
5533
5534 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5535
5536         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5537
5538         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5539
5540         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5541
5542         * elmo-multi.el (elmo-folder-initialize): Ditto.
5543
5544         * elmo-util.el (elmo-parse-token): New function.
5545         (elmo-parse-prefixed-element): Ditto.
5546
5547 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5548
5549         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5550         delete process.
5551         (elmo-imap4-accept-ok): Ditto.
5552
5553 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5554
5555         * mmimap.el (mime-imap-entity-header-string): Don't check first
5556         element of node-id is `0' (Follow last change).
5557
5558 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5559
5560         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5561         assigned irregular node-id to nested multipart section.
5562         (initialize-instance): Followed above change.
5563
5564 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5565
5566         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5567         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5568         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5569         `elmo-shimbun-get-headers');
5570         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5571         visible article on summary exists in headers).
5572         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5573
5574 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5575
5576         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5577         definition.
5578
5579 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5580
5581         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5582
5583 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5584
5585         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5586         header separator into loop condition.
5587
5588 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5589
5590         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5591         Return duplicate folder if it has subfolder.
5592
5593 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5594
5595         * elmo.el (elmo-make-folder): Add folder name error check.
5596
5597         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5598         (elmo-nntp-encode-group-string): New inline function.
5599         (elmo-nntp-decode-group-string): Ditto.
5600         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5601         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5602         Use `not' instead of `null';
5603         Use elmo-nntp-decode-group-string.
5604
5605         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5606
5607         * elmo-version.el (elmo-version): Up to 2.7.5.
5608
5609 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5610
5611         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5612         Hide progress gauge if `elmo-folder-move-messages' exits
5613         nonlocally.
5614
5615 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5616
5617         * elmo-imap4.el (elmo-folder-initialize): Use
5618         `elmo-imap4-encode-folder-string' for folder name.
5619
5620 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5621
5622         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5623         `done'.
5624
5625 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5626
5627         * elmo-util.el (elmo-progress-counter-alist): New internal
5628         variable.
5629         (elmo-progress-counter-value): New macro.
5630         (elmo-progress-counter-all-value): Ditto.
5631         (elmo-progress-counter-format): Ditto.
5632         (elmo-progress-counter-set-value): Ditto.
5633         (elmo-progress-set): New function.
5634         (elmo-progress-clear): Ditto.
5635         (elmo-progress-notify): Ditto.
5636
5637         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5638         counter.
5639
5640         * elmo.el (elmo-generic-folder-append-messages): Call
5641         `elmo-progress-notify'.
5642         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5643
5644         * elmo-archive.el (elmo-folder-append-messages): Call
5645         `elmo-progress-notify'.
5646
5647         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5648
5649         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5650
5651         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5652
5653 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5654
5655         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5656         'Create'.
5657         (elmo-message-encache-dop): Added argument `read'.
5658
5659         * elmo-shimbun.el (elmo-message-encache): Ditto.
5660
5661         * elmo-net.el (elmo-message-encache): Ditto.
5662
5663         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5664         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5665         elmo-imap4-seen-messages.
5666         (elmo-folder-msgdb-create-plugged): Initialize
5667         elmo-imap4-seen-messages;
5668         Set seen mark on elmo-imap4-seen-messages.
5669
5670         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5671
5672         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5673         elmo-folder-append-buffer.
5674         (elmo-folder-encache): Added optional argument `read'.
5675         (elmo-message-encache): Ditto.
5676
5677         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5678
5679         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5680
5681         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5682         if append buffer content succeds.
5683
5684 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5685
5686         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5687         elmo-display-progress.
5688
5689         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5690         Set 4th argument of mime-display-message.
5691         (elmo-mime-display-as-is): Ditto.
5692
5693 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5694
5695         * elmo-nmz.el (toplevel): Require 'mime-edit.
5696         (elmo-nmz-content-type-alist): Abolished.
5697         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5698         content is not a message.
5699         (elmo-map-message-fetch): Changed behavior exept for message content;
5700         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5701         content-type, Add From: and Subject: field.
5702
5703 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5704
5705         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5706         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5707         not a message.
5708
5709 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5710
5711         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5712         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5713
5714         * elmo-archive.el (elmo-folder-writable-p): Defined.
5715
5716         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5717
5718         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5719
5720         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5721
5722         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5723
5724         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5725
5726         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5727
5728         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5729
5730         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5731
5732 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5733
5734         * elmo-util.el (elmo-address-quote-specials): New function;
5735         Renamed from `wl-address-quote-specials'.
5736
5737 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5738
5739         * elmo-version.el (elmo-version): Up to 2.7.4.
5740
5741 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5742
5743         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5744
5745 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5746
5747         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5748         both compile-time and run-time to avoid byte-compile warning.
5749
5750 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5751
5752         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5753
5754 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5755
5756         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5757         option.
5758         (elmo-mime-display-as-is-internal): Use it.
5759
5760         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5761         if `read-passwd' is not defined.
5762
5763 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5764
5765         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5766         by original number.
5767         (elmo-folder-status): Call `elmo-folder-open-internal';
5768         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5769         (elmo-folder-close-internal): Set location-alist as nil.
5770         (elmo-folder-clear): Define.
5771         (elmo-folder-check): Don't set location-alist as nil.
5772
5773         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5774
5775 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5776
5777         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5778         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5779
5780         * mmimap.el (mime-imap-entity::requested): New slot.
5781         (mime-imap-location-fetch-entity-p): New generic function.
5782         (mime-decode-parameters): Define using `defun-maybe'.
5783         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5784         content-type structure.
5785         (mime-entity-body): Return empty body if
5786         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5787
5788         * elmo.el (elmo-message-displaying): New variable.
5789
5790         * elmo-mime.el (elmo-mime-message-display): Bind
5791         elmo-message-displaying as t.
5792
5793         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5794
5795 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5796
5797         * acap.el (acap-open): erase buffer before starting network process.
5798         (acap-store): Rewrite.
5799
5800 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5801
5802         * elmo-imap4.el (elmo-imap4-default-mailbox,
5803         elmo-imap4-default-server
5804         elmo-imap4-default-authenticate-type,
5805         elmo-imap4-default-user,
5806         elmo-imap4-default-port,
5807         elmo-imap4-default-stream-type,
5808         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5809
5810         * elmo-pop3.el (elmo-pop3-default-user,
5811         elmo-pop3-default-server,
5812         elmo-pop3-default-authenticate-type,
5813         elmo-pop3-default-port,
5814         elmo-pop3-default-stream-type,
5815         elmo-pop3-stream-type-alist): Ditto.
5816
5817         * elmo-nntp.el (elmo-nntp-default-server,
5818         elmo-nntp-default-user,
5819         elmo-nntp-default-port,
5820         elmo-nntp-default-stream-type,
5821         elmo-nntp-stream-type-alist): Ditto.
5822
5823         * elmo-vars.el: Follow changes above.
5824         (elmo-setting): New custom group; added 'elmo-setting group to
5825         above variables.
5826
5827         * elmo-version.el (elmo-version): Up to 2.7.3.
5828
5829         * acap.el (acap-parse-response): Don't delete process when BYE
5830         response (It causes hang-up on slow network environment).
5831         (toplevel): Added comment.
5832
5833 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5834
5835         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5836
5837         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5838         parsing NIL.
5839         (acap-parse-return-metadata): Ditto.
5840
5841         * slp.el: New file.
5842         (toplevel): Fixed typo.
5843
5844         * acap.el: New file.
5845         (acap-network-stream-open): Show "Connecting..." message.
5846         (acap-parse-response): Fixed problem for BYE untagged response.
5847         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5848         (toplevel): Added tiny comments.
5849
5850 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5851
5852         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5853         space delimiter for uidl response.
5854
5855 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5856
5857         * elmo-vars.el (elmo-use-semi): Eliminated.
5858
5859         * elmo-util.el (elmo-string-assoc-all): New function.
5860
5861 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5862
5863         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5864         property 'mime-preview-situation for `mime-preview-quit'.
5865
5866 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5867
5868         * elmo.el (elmo-message-fetch-with-cache-process): Call
5869         elmo-message-fetch-internal instead of causing an error when fetch
5870         strategy is 'entire but only 'section cache is available.
5871
5872 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5873
5874         * elmo-version.el (elmo-version): Up to 2.7.2.
5875
5876         * elmo.el (elmo-generic-folder-append-messages): Make
5877         fetch-strategy with `use-cache'.
5878
5879         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5880         (elmo-dop-queue-method-name): New macro.
5881
5882 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5883
5884         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5885         unbalanced parenthesis.
5886
5887 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5888
5889         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5890
5891 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5892
5893         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5894         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5895
5896 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5897
5898         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5899         local variables.
5900
5901 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5902
5903         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5904         (elmo-message-use-cache-p): Define.
5905         (elmo-folder-msgdb-create): Treat cache.
5906
5907 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5908
5909         * elmo-nntp.el (elmo-network-initialize-session): Call
5910         `elmo-nntp-send-mode-reader'.
5911         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5912
5913 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5914
5915         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5916         alist.
5917         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5918         assoc.
5919
5920         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5921         for `elmo-plugged-p'.
5922         (elmo-open-network-stream): Fixed stream-type argument.
5923
5924 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5925
5926         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5927         unknown archive type is specified.
5928
5929 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5930
5931         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5932
5933         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5934         while loading msgdb.
5935
5936         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5937         (elmo-folder-open-internal): Rewrite.
5938
5939 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5940
5941         * elmo-mime.el (elmo-mime-display-as-is-internal):
5942         Adjust buffer-multibyte status.
5943
5944 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5945
5946         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5947         of elmo-condition-find-key.
5948
5949         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5950         (elmo-condition-in-msgdb-p): Ditto.
5951         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5952         argument.
5953
5954 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5955
5956         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5957
5958 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5959
5960         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5961         label for elmo-display-progress.
5962
5963 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5964
5965         * elmo.el (elmo-folder-clear): New method.
5966         (elmo-folder-clear): Define.
5967         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5968
5969         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5970         (elmo-folder-clear): Define.
5971
5972         * elmo-map.el (elmo-folder-clear): Define.
5973
5974         * elmo-version.el (elmo-version): Up to 2.7.1.
5975
5976 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5977
5978         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5979         updates.
5980
5981 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5982
5983         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5984         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5985
5986 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5987
5988         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5989
5990         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5991         and re-written.
5992
5993         * elmo-imap4.el (elmo-folder-initialize): Use
5994         elmo-get-network-stream-type.
5995
5996         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5997
5998         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5999
6000 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6001
6002         * elmo.el (elmo-message-encache): Set unread argument for
6003         elmo-message-fetch.
6004
6005         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6006
6007         * elmo.el (elmo-net-port-info): New method.
6008
6009         * elmo-shimbun.el (elmo-net-port-info): Define.
6010         (elmo-message-encache): Ditto.
6011
6012         * elmo-net.el (elmo-net-port-info): Define as method.
6013
6014         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6015         unplugged status when elmo-enable-disconnected-operation is t.
6016
6017         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6018         of spool folder before checking new number.
6019
6020 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6021
6022         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6023         (elmo-network-setup-session): Ditto.
6024         (elmo-message-fetch-plugged): Ditto.
6025         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6026         (elmo-network-initialize-session): Ditto.
6027         (elmo-pop3-read-response): Abolish 3rd argument.
6028         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6029         (elmo-pop3-read-contents): Ditto.
6030         (elmo-pop3-read-body): Ditto.
6031         (elmo-folder-status): Call elmo-folder-close.
6032         (elmo-pop3-lock): Abolish.
6033         (elmo-pop3-unlock): Ditto.
6034         (elmo-pop3-locked-p): Ditto.
6035         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6036
6037 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6038
6039         * elmo-version.el (elmo-version): Up to 2.7.0.
6040
6041         * elmo-pop3.el (elmo-pop3-debug): New variable.
6042         (elmo-pop3-debug-inhibit-logging): Ditto.
6043         (elmo-pop3-debug): New function.
6044         (elmo-pop3-send-command): Call elmo-pop3-debug.
6045         (elmo-pop3-read-response): Added keep-lock optional argument;
6046         Don't unlock if keep-lock is non-nil.
6047         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6048         (elmo-network-authenticate-session): Bind
6049         elmo-pop3-debug-inhibit-logging as t.
6050         (elmo-network-setup-session): Call elmo-pop3-read-response with
6051         keep-lock argument.
6052         (elmo-pop3-read-msg): Ditto.
6053         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6054         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6055         (elmo-network-initialize-session): Call elmo-pop3-lock.
6056         (elmo-folder-close-internal): Don't clear location-alist slot.
6057         (elmo-folder-check): Clear location-alist slot.
6058
6059 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6060
6061         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6062         (elmo-pop3-send-command): Call elmo-pop3-lock.
6063         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6064         (elmo-pop3-read-contents): Ditto.
6065         (elmo-pop3-lock): New function.
6066         (elmo-pop3-unlock): Ditto.
6067         (elmo-pop3-locked-p): Ditto.
6068         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6069         returns t.
6070
6071 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6072
6073         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6074
6075         * elmo-util.el (elmo-file-field-primitive-condition-match):
6076         New inline function (Don't fetch file content if "first" or "last").
6077         (elmo-file-field-condition-match): Use
6078         elmo-file-field-primitive-condition-match.
6079
6080         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6081         "first".
6082
6083         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6084         (elmo-message-fetch-plugged): Fixed.
6085
6086         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6087
6088 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6089
6090         * elmo.el (elmo-folder-move-messages): Bind
6091         elmo-inhibit-display-retrieval-progress as t while moving messages.
6092
6093         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6094         New variable.
6095         (elmo-inhibit-display-retrieval-progress): Ditto.
6096
6097         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6098         for retrieval progress;
6099         Don't display progress when total buffer size is smaller than
6100         elmo-display-retrieval-progress-threshold.
6101         (elmo-message-fetch-plugged): Don't display progress when
6102         elmo-inhibit-display-retrieval-progress is non-nil.
6103
6104         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6105         for retrieval progress;
6106         Don't display progress when literal size is smaller than
6107         elmo-display-retrieval-progress-threshold.
6108         (elmo-imap4-message-fetch): Don't display progress when
6109         elmo-inhibit-display-retrieval-progress is non-nil.
6110
6111 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6112
6113         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6114         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6115         (elmo-imap4-message-fetch): Likewise.
6116
6117         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6118         (elmo-shimbun-index-range-alist): Ditto.
6119         (elmo-shimbun-use-entire-index): Abolish.
6120         (shimbun-mua-use-entire-index): Ditto.
6121         (elmo-shimbun-folder): Added new slot `range'.
6122         (elmo-folder-initialize): Setup slot `range'.
6123
6124 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6125
6126         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6127         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6128         (elmo-shimbun-get-headers): Use return value of
6129         `shimbun-article-expiration-days'.
6130         (elmo-folder-close-internal): Clean up last-check slot.
6131
6132         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6133         (elmo-pop3-total-size): New variable.
6134         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6135
6136         * elmo.el (elmo-folder-reserve-status-p): New method.
6137
6138         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6139         (elmo-shimbun-use-entire-index): New user option.
6140         (shimbun-elmo-mua): New class.
6141         (shimbun-mua-search-id): Define.
6142         (shimbun-mua-use-entire-index): Ditto.
6143         (elmo-shimbun-folder:last-check): New slot.
6144         (elmo-shimbun-headers-cache-header-list): Abolish.
6145         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6146         (elmo-shimbun-headers-cache-header-hash): Ditto.
6147         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6148         (elmo-shimbun-headers-cache-last-check): Ditto.
6149         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6150         (elmo-shimbun-headers-check-p): Rewrite.
6151         (elmo-shimbun-msgdb-to-headers): New function.
6152         (elmo-shimbun-get-headers): Rewrite.
6153         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6154         (elmo-folder-open-internal): Get headers only if
6155         `elmo-shimbun-headers-check-p' is non-nil.
6156         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6157         is non-nil.
6158         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6159         (elmo-quit): Removed.
6160
6161         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6162         function.
6163         (elmo-msgdb-overview-entity-set-extra): Ditto.
6164         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6165
6166         * elmo-map.el (elmo-folder-status): Don't call
6167         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6168         is non-nil.
6169
6170 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6171
6172         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6173         of `elmo-msgdb-search-internal-primitive' when condition's car is
6174         `and' or `or'.
6175
6176 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6177
6178         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6179
6180 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6181
6182         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6183         call `elmo-pipe-drain'.
6184
6185 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6186
6187         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6188         typo. (elmo-cache-folder -> elmo-mark-folder)
6189
6190 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6191
6192         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6193         `elmo-message-fetch'.
6194
6195 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6196
6197         * elmo-net.el (elmo-message-encache): Fixed typo.
6198         (elmo-message-fetch-unplugged): Changed call
6199         `elmo-message-fetch-internal' without argument `outbuf'.
6200
6201 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6202
6203         * elmo.el (elmo-message-encache): Define as generic function.
6204         (elmo-message-fetch-field): New generic function.
6205         (elmo-message-fetch-with-cache-process): Cause an error when
6206         fetch strategy is 'entire but only 'section cache is available.
6207         (toplevel): Fixed nmz folder definition.
6208
6209         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6210         (elmo-msgdb-resume-list-filename): Ditto.
6211         (elmo-queue-filename): Ditto.
6212         (elmo-enable-disconnected-operation): Changed default value to t.
6213
6214         * elmo-util.el (elmo-cache-path-section-p): New function.
6215         (elmo-file-cache-get): Use it.
6216         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6217         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6218         (elmo-dop-queue-save): Ditto.
6219
6220         * elmo-net.el (elmo-folder-status-unplugged): Call
6221         elmo-folder-status-dop.
6222         (elmo-folder-list-messages-unplugged): Implemented.
6223         (elmo-folder-delete-messages-unplugged): Define.
6224         (elmo-folder-msgdb-create): Define.
6225         (elmo-folder-msgdb-create-unplugged): Define.
6226         (elmo-folder-mark-as-read-unplugged): Ditto.
6227         (elmo-folder-unmark-read-unplugged): Ditto.
6228         (elmo-folder-mark-as-important-unplugged): Ditto.
6229         (elmo-folder-unmark-important-unplugged): Ditto.
6230         (elmo-message-encache): Ditto.
6231
6232         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6233         (elmo-dop-queue-save): Ditto.
6234
6235         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6236         `elmo-folder-msgdb-create'.
6237         (elmo-folder-append-buffer): Implemented unplugged operation.
6238         (elmo-folder-append-messages): Call parent method in unplugged status.
6239         (elmo-message-fetch-unplugged): Removed definition.
6240         (elmo-message-fetch-field): Implemented.
6241
6242         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6243         (elmo-dop-folder): Removed variable definition.
6244         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6245         (elmo-dop-queue-flush): Implemented.
6246         (elmo-dop-queue-merge): Removed definition (TODO).
6247         (elmo-dop-spool-folder): New function.
6248         (elmo-dop-spool-folder-append-buffer): Ditto.
6249         (elmo-dop-spool-folder-list-messages): Ditto.
6250         (elmo-dop-list-deleting-messages): Ditto.
6251         (elmo-folder-append-buffer-dop): Ditto.
6252         (elmo-folder-delete-messages-dop): Ditto.
6253         (elmo-message-encache-dop): New inline function.
6254         (elmo-create-folder-dop): Ditto.
6255         (elmo-folder-mark-as-read-dop): Ditto.
6256         (elmo-folder-unmark-read-dop): Ditto.
6257         (elmo-folder-mark-as-important-dop): Ditto.
6258         (elmo-folder-unmark-important-dop): Ditto.
6259         (elmo-folder-status-dop): Fixed.
6260         (elmo-folder-append-buffer-dop-delayed): New function.
6261         (elmo-folder-delete-messages-dop-delayed): Ditto.
6262         (elmo-dop-msgdb): Ditto.
6263
6264 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6265
6266         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6267
6268 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6269
6270         * elmo.el (elmo-folder-move-messages): Fixed problem when
6271         `dst-folder' is 'null.
6272
6273 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6274
6275         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6276         instead of current mark.
6277
6278         * elmo-multi.el (elmo-folder-list-importants-internal): No
6279         operation if importants is not list.
6280
6281         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6282         Return t if importants is not list.
6283
6284         * elmo-map.el (elmo-map-folder-list-importants): Define.
6285         (elmo-folder-list-importants-internal): Check return value of
6286         `elmo-map-folder-list-importants-internal'.
6287
6288         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6289
6290         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6291
6292         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6293
6294         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6295
6296 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6297
6298         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6299         (Patch is provided by <kita@coe.nttdata.co.jp>).
6300
6301 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6302
6303         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6304         mark folder.
6305
6306 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6307
6308         * elmo.el (elmo-message-fetch): Define.
6309         (elmo-message-fetch-with-cache-process): New generic method.
6310         (elmo-message-fetch-internal): New generic method.
6311         (elmo-folder-synchronize):
6312
6313         * elmo-archive.el (elmo-message-fetch-internal): Define.
6314         (elmo-message-fetch): Eliminated.
6315
6316         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6317         (elmo-message-fetch): Eliminated.
6318
6319         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6320         argument OUTBUF.
6321         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6322
6323         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6324         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6325
6326         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6327         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6328
6329         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6330
6331         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6332
6333         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6334
6335         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6336         (elmo-message-fetch-unplugged): New generic method.
6337         (elmo-message-fetch-internal): Remove cache process (Renamed from
6338         `elmo-message-fetch').
6339
6340         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6341         (elmo-message-fetch): Eliminated.
6342         (elmo-message-fetch-unplugged): Ditto.
6343
6344         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6345
6346 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6347
6348         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6349         of `to-be-deleted' from number-alist to number-list.
6350
6351 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6352
6353         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6354         (elmo-folder-mark-as-important): Ditto.
6355
6356 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6357
6358         * elmo.el (elmo-folder): Added process-duplicates slot.
6359
6360         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6361         (elmo-folder-unmark-read): Ditto.
6362         (elmo-folder-unmark-important): Ditto.
6363         (elmo-folder-mark-as-important): Ditto.
6364
6365         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6366         duplicated message processing.
6367
6368         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6369
6370 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6371
6372         * elmo-util.el (elmo-list-subdirectories-1): New function.
6373         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6374         (elmo-mapcar-list-of-list): New function.
6375
6376         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6377         `elmo-mapcar-list-of-list' instead of `mapcar'.
6378
6379         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6380
6381         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6382         `elmo-have-link-count'. Return the fully qualified folder name.
6383
6384 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6385
6386         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6387         (elmo-shimbun-headers-cache): New internal variable.
6388         (elmo-shimbun-headers-cache-header-list): New inline function.
6389         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6390         (elmo-shimbun-headers-cache-header-hash): Ditto.
6391         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6392         (elmo-shimbun-headers-cache-last-check): Ditto.
6393         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6394         (elmo-shimbun-lapse-seconds): Ditto.
6395         (elmo-shimbun-headers-cache-check-p): Ditto.
6396         (elmo-shimbun-get-headers): New function.
6397         (elmo-folder-open-internal): Call it.
6398         (elmo-quit): Define (Clear headers-cache).
6399
6400 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6401
6402         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6403
6404         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6405         (elmo-msgdb-flist-save): Ditto.
6406
6407         * elmo-shimbun.el (elmo-folder-list-subfolders):
6408         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6409         (elmo-folder-exists-p): Ditto.
6410
6411         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6412         argument for `shimbun-header-insert'.
6413
6414 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6415
6416         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6417         at first time.
6418
6419         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6420         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6421
6422 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6423
6424         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6425         (elmo-folder-plugged-p): Define.
6426         (elmo-folder-set-plugged): Ditto.
6427         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6428         (elmo-folder-list-messages-internal): Return t if unplugged.
6429         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6430
6431         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6432         when elmo-folder-list-messages-internal method of children returns t.
6433
6434         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6435         pair is nil.
6436         (elmo-folder-open-internal): Don't update if unplugged status.
6437
6438 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6439
6440         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6441         new message.
6442
6443 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6444
6445         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6446
6447         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6448         saving.
6449
6450 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6451
6452         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6453
6454         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6455         (elmo-folder-open-internal): Set up headers slot.
6456         (elmo-folder-check): Call elmo-folder-close-internal and
6457         elmo-folder-open-internal.
6458         (elmo-folder-close-internal): Clean up headers slot.
6459
6460 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6461
6462         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6463         exactly folder list.
6464         (elmo-folder-append-messages): Fixed append archive with prefix.
6465
6466         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6467         make temp files with start-number.
6468
6469         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6470
6471 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6472
6473         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6474         argument `visible-only'.
6475         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6476         instead of `if'.
6477
6478         * elmo-pop3.el (elmo-folder-open-internal): Check
6479         `elmo-inhibit-number-mapping' is non-nil.
6480
6481         * elmo-pipe.el (elmo-folder-status): Fixed.
6482
6483 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6484
6485         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6486
6487         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6488         (elmo-folder-open-internal): Setup `header-hash' slot.
6489         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6490         information.
6491         (elmo-map-message-fetch): Ditto.
6492
6493 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6494
6495         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6496         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6497         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6498         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6499
6500         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6501
6502 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6503
6504         * sb-airs.el: Added footer.
6505
6506         * shimbun.el (shimbun-article): Define as luna-method.
6507
6508         * sb-tcup.el: New file.
6509
6510         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6511         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6512
6513 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6514
6515         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6516         (shimbun-get-headers): Ditto.
6517
6518         * elmo.el: Moved obsolete variable definitions from
6519         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6520
6521         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6522         groups.
6523
6524         * shimbun.el: New file.
6525
6526         * elmo-shimbun.el: New file.
6527
6528         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6529         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6530         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6531         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6532
6533 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6534
6535         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6536         hierarchy is t.
6537
6538 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6539
6540         * elmo.el (elmo-folder-msgdb): Define as macro.
6541         (elmo-folder-open): Added argument `load-msgdb'.
6542         (elmo-generic-folder-open): Ditto.
6543         (elmo-folder-encache): New function.
6544
6545         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6546
6547         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6548
6549         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6550         Eliminated argument FOLDER and added argument MSGDB.
6551         (elmo-dop-queue-load): Moved from elmo-dop.el.
6552         (elmo-dop-queue-save): Ditto.
6553
6554         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6555
6556         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6557
6558         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6559         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6560         (elmo-filter-folder-list-importants-internal): Ditto.
6561
6562         * elmo-map.el (elmo-folder-pack-number): Ditto.
6563
6564         * elmo-mime.el (elmo-mime-message-display): Ditto.
6565
6566         * elmo.el (elmo-generic-folder-commit): Ditto.
6567         (elmo-folder-list-unreads): Ditto.
6568         (elmo-folder-list-importants): Ditto.
6569         (elmo-generic-folder-commit): Ditto.
6570         (elmo-message-set-mark): Ditto.
6571         (elmo-generic-folder-append-msgdb): Ditto.
6572         (elmo-folder-synchronize): Ditto.
6573         (elmo-folder-messages): Ditto.
6574         (elmo-init): Call elmo-dop-queue-load.
6575         (elmo-folder-list-messages): Ditto.
6576
6577         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6578         (elmo-nntp-folder-process-crosspost): Ditto.
6579         (elmo-folder-list-unreads-internal): Ditto.
6580
6581         * elmo-dop.el: Removed old functions.
6582
6583 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6584
6585         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6586         `folder' to `msgdb'.
6587
6588 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6589
6590         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6591         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6592
6593         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6594         case-fold-search.
6595
6596 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6597
6598         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6599         defined.
6600
6601         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6602         (mmimap-parse-parameters-from-list): Define as alias for
6603         `mime-decode-parameter-plist' if it is defined as function.
6604         (mmimap-make-mime-entity): Added argument `number'.
6605         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6606         as 0.
6607         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6608
6609         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6610
6611         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6612
6613         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6614
6615 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6616
6617         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6618
6619         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6620         when elmo-imap4-default-authenticate-type is nil.
6621         (elmo-folder-list-subfolders): Ditto
6622         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6623         (elmo-imap4-fetch-callback-1-subr): Renamed from
6624         `elmo-imap4-fetch-callback-1' and define as inline function.
6625         (elmo-imap4-fetch-callback-1):
6626         Renamed from `elmo-imap4-fetch-callback'.
6627         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6628
6629         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6630         msgdb path (To keep compatibility with main trunk).
6631
6632         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6633
6634         * elmo-util.el (elmo-make-file-cache): Moved position of
6635         some macros.
6636
6637         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6638         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6639         instead of `elmo-pop3-inhibit-uidl'.
6640         (elmo-folder-exists-p): Ditto.
6641         (elmo-pop3-folder-list-messages): Ditto.
6642
6643         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6644         instead of `elmo-pop3-inhibit-uidl'.
6645         (elmo-folder-status): Ditto.
6646
6647         * elmo-dop.el (elmo-dop-folder): New variable.
6648         (elmo-dop-lock-message): Eliminated.
6649         (elmo-dop-unlock-message): Ditto.
6650         (elmo-dop-lock-list-load): Ditto.
6651         (elmo-dop-lock-list-save): Ditto.
6652         (elmo-dop-delete-folder): Ditto.
6653         (elmo-dop-rename-folder): Ditto.
6654
6655         * elmo.el: Removed incomplete commentary.
6656
6657 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6658
6659         * elmo.el (toplevel): Require 'elmo-version first;
6660         for little `recursive-load-depth' settings.
6661         Fix "ends here" comment.
6662
6663 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6664
6665         * elmo-util.el (toplevel): Require 'poem;
6666         Some functions are moved from elmo-cache.el.
6667
6668         * elmo-net.el (toplevel): Require 'elmo-cache.
6669
6670         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6671
6672         * elmo.el (toplevel): Ditto.
6673
6674         * elmo-cache.el: Rewrite with luna;
6675         Some functions are moved to elmo-util.el.
6676
6677         * elmo-internal.el (elmo-internal-folder-list): New variable.
6678         (elmo-internal-folder-initialize): Rewrite.
6679         (elmo-folder-list-subfolders): Ditto.
6680
6681         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6682         (elmo-cache-collect-sub-directories): Ditto.
6683
6684 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6685
6686         * elmo-version.el (elmo-version): Up to 2.5.8.
6687
6688         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6689
6690         * elmo-util.el (elmo-list-insert): New function.
6691
6692 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6693
6694         * elmo.el (elmo-init): New function.
6695         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6696
6697         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6698         (Renamed from `elmo-localdir-header-chop-length').
6699
6700         * elmo-pop3.el (elmo-pop3-use-cache,
6701         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6702
6703         * elmo-nntp.el (elmo-message-fetch): Define.
6704         (elmo-message-fetch-unplugged): Ditto.
6705         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6706         (elmo-nntp-use-cache): Ditto.
6707         (elmo-nntp-max-number-precedes-list-active): Ditto.
6708
6709         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6710
6711         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6712         `elmo-msgdb-insert-file-header'.
6713         Use `elmo-msgdb-file-header-chop-length'.
6714
6715         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6716         `elmo-vars.el'.
6717
6718         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6719         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6720         `elmo-msgdb-insert-file-header'.
6721
6722         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6723         Use new variable;
6724         Define obsolete variables with `elmo-define-obsolete-variable',
6725
6726         * elmo-util.el (elmo-warning-buffer-name): New constant.
6727         (elmo-warning): New function.
6728         (elmo-obsolete-variable-alist): New variable.
6729         (elmo-obsolete-variable-show-warnings): New variable.
6730         (elmo-define-obsolete-variable): New function.
6731         (elmo-resque-obsolete-variable): Ditto.
6732         (elmo-resque-obsolete-variables): Ditto.
6733
6734 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6737         Eliminated.
6738
6739         * elmo-pop3.el, elmo-nntp.el: Use custom.
6740
6741 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6742
6743         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6744         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6745
6746 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6747
6748         * Luna-fy Kenichi OKADA's following changes.
6749         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6750         `nohide'.
6751         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6752
6753 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6754
6755         * elmo-util.el (elmo-display-progress): Prefer
6756         `progress-feedback-with-label' to `lprogress-display'.
6757
6758 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6759
6760         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6761
6762 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6763
6764         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6765         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6766         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6767         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6768         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6769         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6770         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6771         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6772         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6773         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6774         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6775         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6776         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6777
6778 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6779
6780         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6781         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6782
6783 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6784
6785         * elmo.el (elmo-folder-process-crosspost): New generic method.
6786         (elmo-folder-writable-p): Ditto.
6787         (elmo-folder-message-appendable-p): Eliminated.
6788         (elmo-generic-folder-append-msgdb): Rewrite.
6789         (elmo-newsgroups-hashtb): New internal variable.
6790         (elmo-crosspost-message-set): Eliminated.
6791         (elmo-crosspost-message-delete): Ditto.
6792         (elmo-setup-subscribed-newsgroups): New function.
6793         (elmo-crosspost-message-alist-modified): New internal variable.
6794         (elmo-crosspost-message-alist-load): New function (Renamed from
6795         `wl-crosspost-alist-load').
6796         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6797         `wl-crosspost-alist-save').
6798
6799         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6800
6801         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6802         `unreads'.
6803         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6804         elmo-newsgroups-hashtb).
6805         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6806         `elmo-nntp-folder-update-crosspost-message-alist'.
6807         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6808         `elmo-nntp-groups-hashtb'.
6809         (elmo-nntp-make-groups-hashtb): Eliminated.
6810         (elmo-nntp-parse-newsgroups): New function (Renamed from
6811         `wl-parse-newsgroups').
6812         (elmo-folder-creatable-p, elmo-folder-writable-p,
6813         elmo-folder-close-internal, elmo-folder-mark-as-read,
6814         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6815         Define.
6816         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6817
6818         * elmo-net.el (elmo-message-fetch): Check buffer size.
6819
6820         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6821
6822         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6823
6824         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6825         before `close' command.
6826
6827         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6828         `mark-alist' (All other related portions are changed).
6829
6830 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6831
6832         * elmo-util.el (elmo-create-hash-size): Eliminated.
6833         (elmo-make-hash) Make a hash with `one less than a power of two'
6834         length.
6835
6836         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6837         (elmo-hash-maximum-size): Changed value.
6838
6839 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6840
6841         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6842         (elmo-mime-message-display-as-is): Ditto.
6843
6844 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6845
6846         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6847         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6848
6849 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6850
6851         * elmo-mark.el: New file.
6852
6853         * elmo-internal.el: Rewrite (Almost empty).
6854
6855 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6856
6857         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6858         (mime-imap-entity-header-string): Ditto.
6859         (mmimap-entity-section): Rewrite.
6860
6861 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6862
6863         * elmo-nmz.el: New file.
6864
6865         * elmo-pipe.el: Rewrite with luna.
6866
6867 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6868
6869         * elmo-archive.el: Rewrite with luna.
6870
6871         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6872         (elmo-folder-list-importants-internal): Ditto.
6873
6874 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6875
6876         * elmo-archive.el (elmo-archive-version): Abolish.
6877         (toplevel) Removed `boso' comment.
6878
6879 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6880
6881         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6882         elmo-msgdb-add-msgs-to-seen-list-subr;
6883         Changed argument seen-marks to unread-marks.
6884
6885         * elmo-nntp.el: Rewrite with luna.
6886
6887 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6888
6889         * elmo-filter.el: Rewrite with luna.
6890
6891 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6892
6893         * elmo-pop3.el: Rewrite with luna.
6894
6895 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6896
6897         * elmo-multi.el: Rewrite with luna.
6898
6899         * elmo-vars.el (elmo-use-killed-list): Abolish.
6900         All other related portions are changed.
6901         (elmo-filename-replace-string-alist): Renamed from
6902         elmo-msgid-replace-string-alist.
6903
6904 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6905
6906         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6907
6908         * elmo-map.el: New file.
6909         * elmo-maildir.el: Rewrite with luna.
6910
6911 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6912
6913         * elmo.el: Changed meaning of `elmo-folder-commit'.
6914         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6915
6916 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6917
6918         * elmo.el (elmo-folder-append-buffer): New function.
6919         (Renamed from `elmo-append-msg')
6920
6921 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6922
6923         * elmo-mime.el: New file.
6924
6925 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6926
6927         * elmo-cache.el: Rewrite.
6928
6929 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6930
6931         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6932
6933 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6934
6935         * elmo-vars.el (elmo): New group.
6936         (elmo-strict-diff-folder-regexp): New variable.
6937
6938         * elmo-util.el (elmo-call-func): Abolish.
6939         (elmo-folder-get-type): Ditto.
6940         (elmo-*-get-spec): Ditto.
6941         (elmo-*-spec-*): Ditto.
6942         (elmo-imap4-identical-name-space-p): Ditto.
6943         (elmo-folder-identical-system-p): Ditto.
6944         (elmo-folder-direct-copy-alist): Ditto.
6945         (elmo-folder-direct-copy-p): Ditto.
6946
6947         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6948         (elmo-folder-initialize): Define.
6949         (elmo-folder-get-primitive-list): Ditto.
6950
6951         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6952         (elmo-folder-initialize): Define.
6953         Renamed `elmo-network-session-host-internal' to
6954         `elmo-network-session-server-internal'.
6955
6956         * elmo-multi.el (elmo-multi-folder): New luna class.
6957         (elmo-folder-initialize): Define.
6958         (elmo-folder-get-primitive-list): Ditto.
6959         (elmo-folder-contains-type): Ditto.
6960         (elmo-message-use-cache-p): Ditto.
6961
6962         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6963         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6964
6965         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6966         (elmo-folder-initialize): Define.
6967
6968         * elmo-filter.el (elmo-filter-folder): New luna class.
6969         (elmo-folder-initialize): Define.
6970         (elmo-folder-get-primitive-list): Ditto.
6971         (elmo-folder-contains-type): Ditto.
6972
6973 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6974
6975         * elmo-imap4.el: Rewrite with luna.
6976
6977         * mmimap.el: New file.
6978
6979         * mmelmo.el, mmelmo-imap4.el: Removed.
6980
6981         * elmo-net.el: Ditto.
6982
6983         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6984         (elmo-folder-initialize): Define.
6985
6986         * elmo-archive.el (elmo-archive-folder): New luna class.
6987         (elmo-folder-initialize): Define.
6988
6989         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6990         `elmo-folder-msgdb-path'.
6991         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6992         `elmo-make-folder'.
6993
6994 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6995
6996         * elmo.el: New file.
6997
6998         * elmo2.el: Renamed to elmo.el.
6999
7000 \f
7001 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7002
7003         * elmo-cache.el (elmo-cache-expire-by-size): Count
7004         a disk usage for a cache file entry in KB even when
7005         its kind is a directory.
7006
7007 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7008
7009         * elmo-version.el (elmo-version): Up to 2.5.7.
7010
7011 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7012
7013         * elmo-version.el (elmo-version): Up to 2.5.6.
7014
7015 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7016
7017         * elmo-version.el (elmo-version): Up to 2.5.5.
7018
7019 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7020
7021         * elmo-imap4.el (elmo-network-authenticate-session):
7022         Fixed a logic for response checking.
7023
7024 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7025
7026         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7027         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7028         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7029         `sasl-mechanisms'.
7030
7031         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7032         for `starttls-open-stream' and `starttls-negotiate'.
7033
7034         * elmo-nntp.el: Remove autoload settings for
7035         `starttls-open-stream' and `starttls-negotiate'.
7036
7037         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7038         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7039         `luna-define-class' with `eval-and-compile'.
7040
7041 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7042
7043         * elmo-util.el (elmo-read-search-condition-internal):
7044         Require an element of table for searching field.
7045
7046 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7047
7048         * elmo-version.el (elmo-version): Up to 2.5.4.
7049
7050 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7051
7052         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7053
7054 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7055
7056         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7057
7058 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7059
7060         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7061         before greeting.
7062
7063 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7064
7065         * elmo-imap4.el (elmo-imap4-delete-folder):
7066         Send "close" before "delete" (Use commented out line).
7067         (elmo-imap4-rename-folder): Ditto.
7068
7069         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7070         folder string itself.
7071         (elmo-dop-list-deleted): New function.
7072         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7073         killed.
7074
7075         * elmo-util.el (elmo-string-rassoc-all): New function.
7076
7077 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7078
7079         * elmo-version.el (elmo-version): Up to 2.5.3.
7080
7081         * elmo-net.el (elmo-network-get-session): Changed logic for
7082         checking process status.
7083
7084         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7085         process is nil;
7086         Changed logic for checking process status.
7087
7088 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7089
7090         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7091         before greeting.
7092         (elmo-network-setup-session): Set UIDL hash size according to
7093         the length of list response.
7094         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7095         according to the length of list response;
7096         Return the length of list response.
7097         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7098
7099 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7100
7101         * elmo-imap4.el (toplevel): Require 'ssl.
7102         Add autoload 'starttls.
7103         * elmo-pop3.el (toplevel): Ditto.
7104         * elmo-nntp.el (toplevel): Ditto.
7105
7106 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7107
7108         * elmo-imap4.el (toplevel): defun at compile time.
7109         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7110         sasl-next-step, sasl-step-data, sasl-step-set-data.
7111         * elmo-pop3.el (toplevel): Ditto.
7112
7113 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7114
7115         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7116
7117 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7118
7119         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7120         if error.
7121         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7122         and `elmo-pop-auth-apop'.
7123
7124 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7125
7126         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7127
7128 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7129
7130         * elmo-pop3.el (elmo-network-authenticate-session): Split
7131         encoded response value.
7132
7133 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7134
7135         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7136         `elmo-pop3-force-login'.
7137         Redefine `sasl-mechanisms'.
7138         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7139
7140 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7141
7142         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7143         Delete `elmo-imap4-authenticator-alist'.
7144         (elmo-imap4-auth-cram-md5): Delete.
7145         (elmo-imap4-auth-digest-md5): Delete.
7146
7147 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7148
7149         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7150         (elmo-pop3-auth-scram-md5): Ditto.
7151         (elmo-pop3-auth-cram-md5): Ditto.
7152
7153 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7154
7155         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7156         Delete `elmo-pop3-authenticator-alist'.
7157
7158 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7159
7160         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7161         new SASL API.
7162         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7163
7164 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7165
7166         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7167
7168 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7169
7170         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7171         Fixed problem when `elmo-pop3-use-uidl' is nil.
7172         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7173
7174 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7175
7176         * elmo-version.el (elmo-version): Up to 2.5.2.
7177
7178 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7179
7180         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7181         New function.
7182         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7183         (elmo-pop3-msgdb-create-as-numlist): Use it.
7184
7185         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7186         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7187
7188         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7189         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7190
7191 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7192
7193         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7194         when elmo-mark-as-read is called with second argument nil.
7195
7196 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7197
7198         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7199         Moved to elmo-util.el.
7200
7201         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7202         Moved from elmo-pipe.el
7203
7204         * elmo-archive.el (elmo-archive-call-process): Enclose with
7205         static-if.
7206
7207         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7208         "RFC822" (because RFC822.PEEK is obsolete).
7209         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7210
7211 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7212
7213         * elmo-archive.el (elmo-archive-call-process): Don't check for
7214         the exit status when Nemacs is running.
7215
7216 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7217
7218         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7219         'plain.
7220
7221         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7222         (elmo-pop3-get-spec): Set default of auth to 'user.
7223
7224         * elmo-imap4.el (elmo-imap4-session-check):
7225         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7226         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7227         (elmo-imap4-auth-login): New function; Revival.
7228         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7229         `elmo-imap4-auth-login'.
7230
7231 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7232
7233         * elmo2.el (toplevel): Move `product-provide' declare.
7234         * mmelmo.el (toplevel): Ditto.
7235
7236 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7237
7238         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7239
7240 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7241
7242         * elmo-util.el (elmo-folder-get-store-type): New function.
7243         (elmo-folder-direct-copy-p): Use it.
7244
7245 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7246
7247         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7248         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7249         and result of `elmo-imap4-use-flag-p'.
7250         (elmo-imap4-fetch-callback-1): Set mark according to
7251         the result of `elmo-imap4-use-flag-p'.
7252
7253 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7256         (elmo-generic-list-folder-unread): Ditto.
7257         (elmo-folder-get-info): Ditto.
7258         (elmo-folder-set-info-max-by-numdb): Ditto.
7259         (elmo-folder-get-info-max): Ditto.
7260         (elmo-folder-get-info-length): Ditto.
7261         (elmo-folder-get-info-unread): Ditto.
7262         (elmo-folder-info-make-hashtb): Ditto.
7263
7264         * elmo2.el: Removed above functions.
7265
7266 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7267
7268         * elmo-imap4.el (toplevel): Require 'ssl.
7269         Add autoload 'starttls.
7270         * elmo-pop3.el (toplevel): Ditto.
7271         * elmo-nntp.el (toplevel): Ditto.
7272
7273 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7274
7275         * elmo-imap4.el (toplevel): defun at compile time.
7276         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7277         sasl-next-step, sasl-step-data, sasl-step-set-data.
7278         * elmo-pop3.el (toplevel): Ditto.
7279
7280 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7281
7282         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7283
7284 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7285
7286         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7287         if error.
7288         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7289         and `elmo-pop-auth-apop'.
7290
7291 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7292
7293         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7294
7295 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7296
7297         * elmo-pop3.el (elmo-network-authenticate-session): Split
7298         encoded response value.
7299
7300 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7301
7302         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7303         `elmo-pop3-force-login'.
7304         Redefine `sasl-mechanisms'.
7305         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7306
7307 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7308
7309         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7310         Delete `elmo-imap4-authenticator-alist'.
7311         (elmo-imap4-auth-cram-md5): Delete.
7312         (elmo-imap4-auth-digest-md5): Delete.
7313
7314 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7315
7316         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7317         (elmo-pop3-auth-scram-md5): Ditto.
7318         (elmo-pop3-auth-cram-md5): Ditto.
7319
7320 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7321
7322         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7323         Delete `elmo-pop3-authenticator-alist'.
7324
7325 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7326
7327         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7328         new SASL API.
7329         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7330
7331 \f
7332 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7333
7334         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7335
7336 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7337
7338         * elmo-nntp.el (elmo-nntp-get-folders-info):
7339         Fixed problem when '\' character is contained in user-id.
7340         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7341
7342 \f
7343 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7344
7345         * elmo-imap4.el (elmo-imap4-delete-folder):
7346         Send "close" before "delete" (Use commented out line).
7347         (elmo-imap4-rename-folder): Ditto.
7348
7349         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7350         folder string itself.
7351         (elmo-dop-list-deleted): New function.
7352         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7353         killed.
7354
7355         * elmo-util.el (elmo-string-rassoc-all): New function.
7356
7357         * elmo-version.el (elmo-version): Up to 2.5.1.
7358
7359 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7360
7361         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7362
7363         * elmo-internal.el (elmo-internal-search): Fix last change.
7364
7365 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7366
7367         * elmo-internal.el (elmo-internal-search): Rewrite.
7368         (Fixed problem which is pointed out by Akihiro MOTOKI
7369         <motoki@da.jp.nec.com>)
7370
7371         * elmo-version.el (elmo-version): Up to 2.5.0.
7372
7373 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7374
7375         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7376
7377 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7378
7379         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7380         non-nil, make hierarchy.
7381
7382 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7383
7384         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7385         `elmo-pop3-use-uidl' must be bound to nil.
7386         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7387
7388 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7389
7390         * elmo-util.el (elmo-copy-file): Don't cause an error after
7391         `add-name-to-file' failed.
7392
7393         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7394         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7395
7396 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7397
7398         * elmo-version.el (elmo-version): Up to 2.3.93.
7399
7400 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7401
7402         * elmo-util.el (elmo-flatten): New function.
7403
7404 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7405
7406         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7407         sync Author header.
7408         * elmo-cache.el (toplevel): Ditto.
7409         * elmo-database.el (toplevel): Ditto.
7410         * elmo-date.el (toplevel): Ditto.
7411         * elmo-dop.el (toplevel): Ditto.
7412         * elmo-filter.el (toplevel): Ditto.
7413         * elmo-imap4.el (toplevel): Ditto.
7414         * elmo-internal.el (toplevel): Ditto.
7415         * elmo-localdir.el (toplevel): Ditto.
7416         * elmo-localnews.el (toplevel): Ditto.
7417         * elmo-maildir.el (toplevel): Ditto.
7418         * elmo-msgdb.el (toplevel): Ditto.
7419         * elmo-multi.el (toplevel): Ditto.
7420         * elmo-net.el (toplevel): Ditto.
7421         * elmo-nntp.el (toplevel): Ditto.
7422         * elmo-pipe.el (toplevel): Ditto.
7423         * elmo-pop3.el (toplevel): Ditto.
7424         * elmo-util.el (toplevel): Ditto.
7425         * elmo-vars.el (toplevel): Ditto.
7426         * elmo2.el (toplevel): Ditto.
7427         * mmelmo-imap4.el (toplevel): Ditto.
7428         * mmelmo.el (toplevel): Ditto.
7429
7430         * elmo-version.el (elmo-version): Move to top.
7431
7432         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7433         * elmo-imap4.el (toplevel): Ditto.
7434         * elmo-localdir.el (toplevel): Ditto.
7435         * elmo-msgdb.el (toplevel): Ditto.
7436         * elmo-nntp.el (toplevel): Ditto.
7437         * elmo-pop3.el (toplevel): Ditto.
7438         * elmo-version.el (toplevel): Ditto.
7439
7440         * elmo-localnews.el (toplevel): Added Keyword header.
7441
7442 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7443
7444         * elmo-version.el (product-version-as-string): Defined using
7445         `defun-maybe'.
7446         (toplevel): Use it.
7447
7448         * elmo-localdir.el (toplevel): Updated copyright notice.
7449         * elmo-version.el (toplevel): Ditto.
7450         * elmo-msgdb.el (toplevel): Ditto.
7451         * elmo-imap4.el (toplevel): Ditto.
7452         * elmo-nntp.el (toplevel): Ditto.
7453         * elmo-pop3.el (toplevel): Ditto.
7454
7455 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7456
7457         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7458         messages.
7459
7460         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7461         parameter value (It sometimes contains raw kanji).
7462
7463 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7464
7465         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7466         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7467
7468 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7469
7470         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7471
7472 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7473
7474         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7475         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7476
7477 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7478
7479         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7480         value if selecting folder succceeded.
7481         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7482
7483 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7484
7485         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7486         representation.
7487
7488         * elmo-util.el (elmo-string-matched-member): New function.
7489
7490 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7491
7492         * elmo-util.el (elmo-unintern): New macro.
7493         (elmo-number-set-member): Fixed docstring.
7494
7495         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7496         tag token.
7497
7498 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7499
7500         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7501         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7502
7503 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7504
7505         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7506         `no-error'.
7507         Added docstring.
7508         Return non-nil if selecting folder succeeded.
7509         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7510
7511 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7512
7513         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7514         `file-name-completion' returns t.
7515         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7516         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7517         directory if it does not exist.
7518         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7519         for iteration.
7520
7521 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7522
7523         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7524         enclosure (It's harmful in unplugged status).
7525
7526         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7527
7528         * mmelmo-1.el: Removed.
7529
7530         * mmelmo-2.el: Ditto.
7531
7532         * mmelmo-imap4-1.el: Ditto.
7533
7534         * mmelmo-imap4-2.el: Ditto.
7535
7536         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7537
7538         * mmelmo.el: Merged mmelmo-2.el.
7539
7540         * elmo-version.el (elmo-version): Up to 2.3.92.
7541
7542 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7543
7544         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7545         elmo-update-number): Remove last period in "...done." message.
7546         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7547         Ditto.
7548         * elmo-cache.el (elmo-cache-expire-by-size,
7549         elmo-cache-get-sorted-cache-file-list,
7550         elmo-cache-msgdb-create-as-numlist): Ditto.
7551         * elmo-dop.el (elmo-dop-save-pending-messages,
7552         (elmo-dop-flush-pending-append-operations): Ditto.
7553         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7554         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7555         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7556         (elmo-localdir-pack-number): Ditto.
7557         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7558         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7559         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7560         mime-write-entity-content): Ditto.
7561         * pldap.el (ldap-search-basic): Ditto.
7562
7563 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7564
7565         * elmo-version.el (elmo-version): Up to 2.3.91.
7566
7567         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7568         Only when filter is 'last'.
7569
7570         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7571         (elmo-condition-parse-search-value): Use it.
7572         (elmo-read-search-condition-internal): Quote value only when
7573         it is not an atom.
7574
7575 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7576
7577         * elmo2.el (elmo-generic-folder-diff): Fix.
7578
7579 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7580
7581         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7582         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7583         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7584         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7585         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7586         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7587
7588 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7589
7590         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7591         extra-fields.
7592
7593 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7594
7595         * elmo-version.el (elmo-version): Up to 2.3.90.
7596
7597         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7598         (elmo-imap4-list-folder-important): Ditto.
7599
7600 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7601
7602         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7603
7604 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7605
7606         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7607
7608 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7609
7610         * elmo-nntp.el (elmo-network-initialize-session):
7611         Add starttls negotiation.
7612
7613 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7614
7615         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7616         response.
7617         (elmo-network-setup-session): Define.
7618         Call `elmo-nntp-send-mode-reader' when session opened.
7619
7620 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7621
7622         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7623
7624 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7625
7626         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7627         an invalid SPACE character ahead of `SEARCH' command.  Move
7628         a valid SPACE character following `SEARCH' from conditional
7629         `format' arguments to control-strings.
7630
7631 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7632
7633         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7634         was succeeded.
7635
7636         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7637
7638 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7639
7640         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7641         `w32-get-true-file-link-count' as t.
7642
7643         * elmo-imap4.el (elmo-imap4-read): Abolished.
7644         (Renamed to `elmo-read' and moved to elmo-util.el)
7645         All other related portions are changed.
7646
7647         * elmo-util.el (elmo-read): New function.
7648         (elmo-condition-parse-search-value): Use it.
7649
7650 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7651
7652         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7653
7654         * elmo-nntp.el (elmo-nntp-session): Define.
7655         (elmo-nntp-setting): Abolished.
7656         All other related portions are changed.
7657         (elmo-nntp-get-server-command): Changed argument.
7658         (elmo-nntp-set-server-command): Ditto.
7659         (elmo-nntp-xover-p): Ditto.
7660         (elmo-nntp-set-xover): Ditto.
7661         (elmo-nntp-listgroup-p): Ditto.
7662         (elmo-nntp-set-listgroup): Ditto.
7663         (elmo-nntp-list-active-p): Ditto.
7664         (elmo-nntp-set-list-active): Ditto.
7665         (elmo-nntp-xhdr-p): Ditto.
7666         (elmo-nntp-set-xhdr): Ditto.
7667         (elmo-nntp-flush-connection): Abolished.
7668         (elmo-nntp-get-connection): Abolished.
7669         (elmo-nntp-get-session): New function.
7670         (elmo-network-initialize-session): Defined.
7671         (elmo-network-authenticate-session): Ditto.
7672         (elmo-nntp-send-mode-reader): Changed argument.
7673         (elmo-nntp-send-command): Changed argument.
7674         All other related portions are changed.
7675         (elmo-nntp-read-response): Ditto.
7676         (elmo-nntp-read-raw-response): Ditto.
7677         (elmo-nntp-read-contents): Ditto.
7678         (elmo-nntp-read-body): Ditto.
7679         (elmo-nntp-goto-folder): Abolished.
7680         (elmo-nntp-select-group): New function.
7681         All other related portions are changed.
7682         (This function substitutes `elmo-nntp-goto-folder')
7683         (elmo-nntp-msgdb-create-by-header): Rewrite.
7684         (elmo-nntp-get-overview): Eliminated.
7685         (elmo-nntp-get-message): Ditto.
7686         (elmo-nntp-open-connection) Abolished.
7687         (elmo-nntp-read-msg): Rewrite.
7688         (elmo-nntp-post): Ditto.
7689         (elmo-nntp-send-data): Abolished.
7690         (elmo-nntp-send-buffer): New function.
7691         (elmo-nntp-send-data-line): Define as inline function.
7692         (elmo-nntp-get-folders-info-prepare): Use session as key.
7693         (elmo-nntp-groups-read-response): Changed argument.
7694         (elmo-nntp-retrieve-headers): Ditto.
7695         (elmo-nntp-msgdb-create-message): Ditto.
7696
7697         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7698         when searching by 'since' or 'before'.
7699
7700 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7701
7702         * elmo-version.el (toplevel): Use product-version-as-string for set
7703         verstion-string, if defined.
7704
7705 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7706
7707         * elmo-util.el: Doc fixes.
7708
7709 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7710
7711         * elmo-archive.el (toplevel): Use product-provide.
7712         * elmo-cache.el (toplevel): Ditto.
7713         * elmo-database.el (toplevel): Ditto.
7714         * elmo-date.el (toplevel): Ditto.
7715         * elmo-dop.el (toplevel): Ditto.
7716         * elmo-filter.el (toplevel): Ditto.
7717         * elmo-imap4.el (toplevel): Ditto.
7718         * elmo-internal.el (toplevel): Ditto.
7719         * elmo-localdir.el (toplevel): Ditto.
7720         * elmo-localnews.el (toplevel): Ditto.
7721         * elmo-maildir.el (toplevel): Ditto.
7722         * elmo-msgdb.el (toplevel): Ditto.
7723         * elmo-multi.el (toplevel): Ditto.
7724         * elmo-net.el (toplevel): Ditto.
7725         * elmo-nntp.el (toplevel): Ditto.
7726         * elmo-pipe.el (toplevel): Ditto.
7727         * elmo-pop3.el (toplevel): Ditto.
7728         * elmo-util.el (toplevel): Ditto.
7729         * elmo-vars.el (toplevel): Ditto.
7730         * elmo2.el (toplevel): Ditto.
7731         * mmelmo-1.el (toplevel): Ditto.
7732         * mmelmo-2.el (toplevel): Ditto.
7733         * mmelmo-imap4-1.el (toplevel): Ditto.
7734         * mmelmo-imap4-2.el (toplevel): Ditto.
7735         * mmelmo-imap4.el (toplevel): Ditto.
7736         * mmelmo.el (toplevel): Ditto.
7737
7738 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7739
7740         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7741         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7742
7743 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7744
7745         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7746         before splitting.
7747         (elmo-multi-split-number-alist): Ditto.
7748
7749 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7750
7751         * elmo-version.el: New file.  Use product.el.
7752         * elmo2.el: Add (require 'elmo-version).
7753         * elmo-vars.el (elmo-appname, elmo-version): Move to
7754         elmo-version.el
7755
7756 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7757
7758         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7759         `elmo-msgdb-expand-path'.
7760         (elmo-msgdb-load): Ditto.
7761         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7762         (elmo-generic-list-folder-unread): Rewrite.
7763         (elmo-generic-list-folder-important): Changed argument.
7764         (elmo-list-folder-unread): Ditto.
7765         (elmo-list-folder-important): Ditto.
7766         (elmo-folder-diff): Rewrite.
7767         (elmo-generic-folder-diff): New function.
7768         (elmo-multi-get-number-alist-list): Abolished
7769         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7770         (elmo-multi-folder-diff): Moved to elmo-multi.el
7771         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7772
7773         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7774         `elmo-msgdb-expand-path'.
7775         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7776         (elmo-pop3-read-msg): Ditto.
7777         (elmo-pop3-delete-msgs): Ditto.
7778         (elmo-pop3-folder-diff): New alias.
7779
7780         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7781         `elmo-msgdb-expand-path'.
7782         (elmo-pipe-list-folder-unread): Changed arguments.
7783         (elmo-pipe-list-folder-important): Ditto.
7784         (elmo-pipe-folder-diff): New alias.
7785
7786         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7787         `elmo-msgdb-expand-path'.
7788         (elmo-nntp-max-of-folder): Ditto.
7789         (elmo-nntp-msgdb-create): Ditto.
7790         (elmo-nntp-delete-msgs): Ditto.
7791         (elmo-nntp-folder-diff): New alias.
7792
7793         * elmo-multi.el (elmo-multi-folder-diff): New function.
7794         (elmo-multi-split-mark-alist): Ditto.
7795         (elmo-multi-split-number-alist): Ditto.
7796         (elmo-multi-mark-alist-list): Abolished (Renamed to
7797         elmo-multi-split-mark-alist).
7798         (elmo-multi-list-folder-unread): Rewrite.
7799         (elmo-multi-list-folder-important): Ditto.
7800         (elmo-multi-list-folder): Set `spec' as 1st argument for
7801         `elmo-msgdb-expand-path'.
7802         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7803         instead of `elmo-multi-get-number-alist-list'.
7804
7805         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7806         If 1st argument is not string, treat as spec.
7807         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7808         `elmo-msgdb-expand-path'.
7809         (elmo-msgdb-flist-load): Ditto.
7810         (elmo-msgdb-flist-save): Ditto.
7811         (elmo-msgdb-delete-path): Ditto.
7812         (elmo-msgdb-rename-path): Ditto.
7813
7814         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7815         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7816         (elmo-maildir-delete-mark-msgs): Ditto.
7817         (elmo-maildir-msgdb-create): Ditto.
7818         (elmo-maildir-read-msg): Ditto.
7819         (elmo-maildir-delete-msgs): Ditto.
7820         (elmo-maildir-list-folder-subr): Ditto.
7821         (elmo-maildir-search): Ditto.
7822         (elmo-maildir-get-msg-filename): Ditto.
7823         (elmo-maildir-pack-number): Ditto.
7824         (elmo-maildir-folder-diff): New alias.
7825
7826         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7827
7828         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7829         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7830         (elmo-localdir-folder-diff): New alias.
7831
7832         * elmo-internal.el (elmo-internal-list-folder-subr):
7833         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7834         (elmo-internal-list-folder-by-location): Ditto.
7835         (elmo-internal-msgdb-create): Ditto.
7836         (elmo-internal-delete-msgs): Ditto.
7837         (elmo-internal-read-msg): Ditto.
7838         (elmo-internal-folder-diff): New alias.
7839
7840         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7841         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7842         `elmo-msgdb-expand-path'.
7843         (elmo-imap4-list-folder-unread): Changed arguments.
7844         (elmo-imap4-list-folder-important): Ditto.
7845
7846         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7847         (elmo-filter-list-folder-important): Ditto.
7848         (elmo-filter-folder-diff): New function.
7849
7850         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7851
7852         * elmo-cache.el (elmo-cache-list-folder):
7853         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7854         (elmo-cache-copy-msgs): Ditto.
7855         (elmo-cache-folder-diff): New alias.
7856
7857         * elmo-archive.el (elmo-archive-list-folder-subr):
7858         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7859         (elmo-archive-get-archive-name): Ditto.
7860         (elmo-archive-create-file): Ditto.
7861         (elmo-archive-append-msg): Ditto.
7862         (elmo-archive-copy-msgs): Ditto.
7863         (elmo-archive-copy-msgs-froms): Ditto.
7864         (elmo-archive-get-msg-filename): Ditto.
7865         (elmo-archive-folder-diff): New alias.
7866
7867 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7868
7869         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7870         (elmo-pop3-stream-type-alist): New variable.
7871         (elmo-nntp-stream-type-alist): New variable.
7872
7873         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7874         (elmo-kill-buffer): Ditto.
7875         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7876         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7877         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7878         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7879         (elmo-imap4-get-spec): Take into account
7880         `elmo-imap4-stream-type-alist'.
7881
7882 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7883
7884         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7885         (elmo-nntp-list-folders-get-cache): Ditto.
7886
7887 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7888
7889         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7890         character before 'uid'.
7891
7892 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7893
7894         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7895
7896         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7897
7898         * elmo-util.el (elmo-number-set-member): New function.
7899         (elmo-number-set-append-list): Ditto.
7900         (elmo-number-set-append): Ditto.
7901
7902         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7903         Use `elmo-number-set-member'.
7904         (elmo-living-messages): Ditto.
7905         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7906         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7907
7908         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7909         (elmo-imap4-add-to-cont-list): Abolished.
7910         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7911         instead of elmo-imap4-add-to-cont-list.
7912
7913         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7914         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7915
7916         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7917
7918 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7919
7920         * elmo-util.el (elmo-condition-parse-search-value):
7921         Fixed date parsing.
7922
7923 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7924
7925         * elmo-util.el (elmo-condition-find-key-internal): New function.
7926         (elmo-condition-find-key): Ditto.
7927
7928         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7929         (elmo-msgdb-search-internal): Ditto.
7930         (elmo-msgdb-search): Ditto.
7931
7932 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7933
7934         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7935         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7936
7937         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7938         (elmo-nntp-search-primitive): Fixed problem when condition is
7939         'unmatch'.
7940
7941         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7942
7943         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7944         (elmo-nntp-xhdr-p): New macro.
7945         (elmo-nntp-set-xhdr): Ditto.
7946         (elmo-nntp-parse-xhdr-response): New function.
7947         (elmo-nntp-retrieve-field): Ditto.
7948         (elmo-nntp-search-primitive): Ditto.
7949         (elmo-nntp-search): Implemented.
7950
7951         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7952
7953         * elmo-archive.el (elmo-archive-search): Set all number list to
7954         `elmo-archive-field-condition-match'
7955
7956         * elmo-localdir.el (elmo-localdir-search): Likewise.
7957
7958         * elmo-maildir.el (elmo-maildir-search): Likewise.
7959
7960 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7961
7962         * elmo-msgdb.el (elmo-living-messages): New function.
7963         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7964         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7965         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7966         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7967         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7968         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7969         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7970         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7971         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7972         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7973         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7974
7975 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7976
7977         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7978
7979         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7980
7981         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7982
7983         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7984         arguments for `SEARCH' command.
7985         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7986         All other related portions are changed.
7987
7988         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7989
7990         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7991         (elmo-list-folder-unread): Rewrite.
7992         (elmo-list-folder-important): Ditto.
7993
7994         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7995         (elmo-condition-parse-error): New inline function.
7996         (elmo-read-search-condition): New function.
7997         (elmo-read-search-condition-internal): Ditto.
7998         (elmo-parse-search-condition): Rewrite.
7999         (elmo-condition-parse): New function.
8000         (elmo-condition-parse-or-expr): Ditto.
8001         (elmo-condition-parse-and-expr): Ditto.
8002         (elmo-condition-parse-primitive): Ditto.
8003         (elmo-condition-parse-search-value): Ditto.
8004         (elmo-buffer-field-primitive-condition-match): Ditto.
8005         (elmo-buffer-field-condition-match): Rewrite.
8006         (elmo-file-field-condition-match): Ditto.
8007
8008         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8009         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8010
8011         * elmo-internal.el (elmo-internal-search): Set `number' and
8012         `number-list' argument of `elmo-file-field-condition-match'.
8013
8014         * elmo-maildir.el (elmo-maildir-search): Ditto.
8015
8016         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8017         `msgdb' as argument instead of `mark-alist'.
8018         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8019         `overview'.
8020
8021         * elmo-multi.el: Likewise.
8022
8023         * elmo-pipe.el: Likewise.
8024
8025         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8026         (elmo-imap4-search-internal): Rewrite.
8027         (elmo-imap4-search): Ditto.
8028
8029         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8030         (elmo-filter-list-folder-unread): Ditto.
8031         (elmo-filter-list-folder-important): Ditto.
8032         (elmo-filter-search): Rewrite.
8033
8034         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8035         `number-list' argument of `elmo-file-field-condition-match'.
8036         (elmo-cache-search): Ditto.
8037
8038         * elmo-localdir.el: Likewise.
8039
8040         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8041         number-list and pass it to `elmo-buffer-field-condition-match'.
8042         (elmo-archive-field-condition-match): Pass `number-list' to
8043         `elmo-archive-field-condition-match'
8044
8045 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8046
8047         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8048         `listgroup'.
8049
8050         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8051         (elmo-folder-diff-async-callback-data): Ditto.
8052         (elmo-folder-diff-async): New function.
8053
8054         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8055         (elmo-network-session-cache-key): Use it as a prefix of the session
8056         name.
8057         (elmo-network-open-session): Ditto.
8058
8059         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8060         (elmo-imap4-status-callback-data): Ditto.
8061         (elmo-imap4-server-diff-async-callback): New variable.
8062         (elmo-imap4-server-diff-async-callback-data): Ditto.
8063         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8064         `elmo-imap4-status-callback-data'.
8065         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8066         `elmo-imap4-status-callback-data' as nil.
8067         (elmo-imap4-server-diff): Ditto.
8068         (elmo-imap4-server-diff-async-callback-1): New function.
8069         (elmo-imap4-server-diff-async): Ditto.
8070         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8071
8072 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8073
8074         * elmo-util.el (elmo-list-delete): Doc fix.
8075         (elmo-delete-lists): Abolish.
8076         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8077         instead of `elmo-delete-lists'.
8078
8079 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8080
8081         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8082         before `sort'.
8083
8084 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8085
8086         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8087         `elmo-imap4-literal-subr'.
8088         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8089         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8090
8091 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8092
8093         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8094         (elmo-archive-list-folder): Fix.
8095         (elmo-archive-max-of-folder): Fix.
8096
8097 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8098
8099         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8100          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8101         (elmo-localdir-append-msg): Ditto.
8102         (elmo-localdir-list-folder): Fix for `nonsort'.
8103         (elmo-localdir-list-folder-subr): Fix for `killed'.
8104         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8105         (elmo-maildir-list-folder-subr): Ditto.
8106         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8107         (elmo-archive-list-folder-subr): Ditto.
8108         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8109         (elmo-internal-list-folder-subr): Ditto.
8110
8111 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8112
8113         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8114
8115 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8116
8117         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8118
8119 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8120
8121         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8122         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8123
8124         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8125         before greeting.
8126         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8127         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8128
8129 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8130
8131         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8132
8133         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8134         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8135         before STORE command.
8136
8137 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8138
8139         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8140
8141         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8142         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8143         of `response'.
8144         (elmo-imap4-list-folders): Removed unused local variable.
8145         (elmo-network-initialize-session): Ditto.
8146         (elmo-imap4-delete-msg-by-id): Ditto.
8147         (elmo-imap4-parse-fetch): Ditto.
8148         (elmo-imap4-copy-msgs): Ditto.
8149         Use `dst-spec' instead of `dst-folder'.
8150         (elmo-network-authenticate-session): Check authenticate type `plain'.
8151
8152 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8153
8154         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8155         garbage checking.
8156         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8157         `elmo-imap4-response-value'.
8158         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8159
8160 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8161
8162         * elmo-imap4.el (elmo-imap4-send-command):
8163         Cause elmo-imap4-bye-error when current response is BYE.
8164         (elmo-imap4-arrival-filter): Changed greeting response value.
8165
8166         * elmo2.el (elmo-imap4-bye-error): Define.
8167
8168         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8169         (elmo-imap4-server-diff): Ditto.
8170         (elmo-imap4-response-bye-p): New macro.
8171         (elmo-imap4-response-error-text): Get text from BYE response.
8172         (elmo-imap4-read-response): Return if BYE response.
8173         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8174         (elmo-imap4-folder-exists-p): Ditto.
8175         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8176         (elmo-imap4-parse-bye): New function.
8177         (elmo-imap4-parse-response): Remove needless let.
8178         Call `elmo-imap4-parse-bye'.
8179
8180 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8181
8182         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8183         the mailbox does not exist.
8184         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8185
8186 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8187
8188         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8189
8190 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8191
8192         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8193
8194         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8195         (elmo-network-initialize-session-buffer): Defined.
8196
8197         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8198         Abolished.
8199         (mmelmo-imap4-get-mime-entity): Rewrite.
8200
8201         * elmo2.el (elmo-error): Capitalize error message.
8202
8203         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8204         (elmo-network-session-buffer): New macro.
8205         (elmo-network-open-session): Use it.
8206
8207         * elmo-imap4.el: Rewrite.
8208
8209 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8210
8211         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8212
8213 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8214
8215         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8216         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8217         (elmo-imap4-create-msgdb-from-overview-string): Use
8218         `elmo-msgdb-create-overview-from-buffer'.
8219
8220 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8221
8222         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8223         (elmo-imap4-default-hierarchy-delimiter): New variable.
8224         (elmo-imap4-list-folders): Use it.
8225
8226 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8227
8228         * elmo-net.el (elmo-network-open-session): Add user and
8229         stream-type for process-buffer name.
8230
8231         * elmo-pop3.el (elmo-network-initialize-session): Call
8232         buffer-disable-undo.
8233
8234         * elmo-imap4.el (elmo-network-initialize-session):
8235         Set current-buffer as an argument for `buffer-disable-undo'.
8236
8237         * elmo-pop3.el (elmo-network-close-session): Don't use
8238         `process-live-p'.
8239
8240         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8241         Set default as 'user.
8242
8243         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8244
8245         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8246         and `elmo-imap4-flush-connection'.
8247
8248         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8249         (elmo-pop3-get-spec): Assume auth as symbol.
8250         (elmo-open-network-stream): Moved to `elmo-net'.
8251
8252         * elmo-pop3.el (toplevel): Require 'elmo-net.
8253         Define `sasl-cram-md5' to silence byte compilier.
8254         (elmo-pop3-connection-cache) Abolished.
8255         (elmo-pop3-authenticator-alist) New variable.
8256         (elmo-pop3-session): Define.
8257         (elmo-pop3-connection-get-process): Abolished.
8258         (elmo-pop3-connection-get-buffer): Ditto.
8259         (elmo-pop3-close-connection): Ditto.
8260         (elmo-pop3-flush-connection): Ditto.
8261         (elmo-pop3-get-connection): Ditto.
8262         (elmo-pop3-get-session): New function.
8263         (Replacement for `elmo-pop3-get-connection').
8264         All other related modules are changed.
8265         (elmo-network-close-session): Define.
8266         (elmo-pop3-send-command): Abolished argument `buffer'.
8267         All other related modules are changed.
8268         (elmo-pop3-read-response): Likewise.
8269         (elmo-pop3-open-connection): Abolished.
8270         (elmo-pop3-auth-user): New function.
8271         (elmo-pop3-auth-apop): Ditto.
8272         (elmo-pop3-auth-cram-md5): Ditto.
8273         (elmo-pop3-auth-scram-md5): Ditto.
8274         (elmo-pop3-auth-digest-md5): Ditto.
8275         (elmo-network-initialize-session): Define.
8276         (elmo-network-authenticate-session): Ditto.
8277         (elmo-network-setup-session): Ditto.
8278
8279         * elmo-imap4.el (toplevel): Require 'elmo-net.
8280         (elmo-imap4-session): Define.
8281         (elmo-imap4-connection-cache): Abolished.
8282         (elmo-imap4-password-key): Ditto.
8283         (elmo-imap4-flush-connection): Ditto.
8284         (elmo-imap4-get-connection): Ditto.
8285         All other related modules are changed.
8286         (elmo-imap4-get-session): New function
8287         (Replacement for `elmo-imap4-get-connection').
8288         (elmo-imap4-read-response): Abolished argument `buffer'.
8289         All other related modules are changed.
8290         (elmo-imap4-send-command): Likewise.
8291         (elmo-imap4-select-folder): Abolished.
8292         All other related modules are changed.
8293         (elmo-imap4-select-mailbox): New function.
8294         (Replacement for `elmo-imap4-select-folder').
8295         (elmo-imap4-auth-login): Simplify.
8296         (Assume current buffer as process buffer)
8297         (elmo-imap4-auth-cram-md5): Ditto.
8298         (elmo-imap4-auth-digest-md5): Ditto.
8299         (elmo-imap4-login): Ditto.
8300         (elmo-imap4-open-connection): Abolished.
8301         (elmo-imap4-open-connection-1): Abolished.
8302         (elmo-network-initialize-sessoin): Define.
8303         (elmo-network-authenticate-session): Ditto.
8304         (elmo-network-setup-session): Ditto.
8305
8306         * elmo-net.el: New module.
8307
8308 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8309
8310         * elmo-util.el (elmo-define-error): New function.
8311
8312         * elmo2.el (elmo-error): Define.
8313         (elmo-open-error): Define.
8314         (elmo-authenticate-error): Define.
8315
8316         * elmo-imap4.el (elmo-imap4-error): Abolish.
8317         (elmo-imap4-error-type): Abolish.
8318         (elmo-imap4-error-process): Abolish.
8319         (elmo-imap4-error-message): Abolish
8320         (elmo-imap4-list-folders): Don't quote lambda.
8321         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8322         (elmo-imap4-parse-namespace): Ditto.
8323         (elmo-imap4-open-connection): Rewrite.
8324         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8325         (elmo-imap4-get-connection): Abolish local variable `result'.
8326
8327 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8328
8329         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8330         wrong-type-argument error when auth is nil.
8331
8332 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8333
8334         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8335         (elmo-default-nntp-stream-type): Ditto.
8336         (elmo-default-pop3-stream-type): Ditto.
8337         (elmo-network-stream-type-alist): Ditto.
8338         (elmo-default-imap4-ssl): Abolished.
8339         (elmo-default-nntp-ssl): Ditto.
8340         (elmo-default-pop3-ssl): Ditto.
8341
8342         * elmo-util.el: (toplevel): Removed needless requires.
8343         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8344         (elmo-open-network-stream): Open network stream according to
8345         the value of `elmo-network-stream-type-alist'.
8346         (elmo-get-network-stream-type): New function.
8347         (elmo-network-stream-type-spec-string): New macro.
8348         (elmo-network-stream-type-symbol): Ditto.
8349         (elmo-network-stream-type-function): Ditto.
8350
8351         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8352         network-stream-type. All other related portions are changed.
8353         (elmo-pop3-open-connection): Ditto.
8354
8355         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8356         network-stream-type. All other related portions are changed.
8357
8358         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8359         network-stream-type.All other related portions are changed.
8360         (elmo-imap4-error): New macro.
8361         (elmo-imap4-error-type): Ditto.
8362         (elmo-imap4-error-process): Ditto.
8363         (elmo-imap4-error-message): Ditto.
8364         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8365         (elmo-imap4-auth-cram-md5): Ditto.
8366         (elmo-imap4-auth-digest-md5): Ditto.
8367         (elmo-imap4-login): Ditto.
8368         (elmo-imap4-open-connection): Remove password entry if authentication
8369         was in vain.
8370         (elmo-imap4-user-at-host): Abolished.
8371         (elmo-imap4-password-key): New buffer local variable.
8372         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8373         using protocol, port, auth and stream-type.
8374
8375         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8376
8377 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8378
8379         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8380
8381         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8382
8383         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8384         (elmo-imap4-authenticator-alist): New variable.
8385         (elmo-imap4-open-connection-1): Rename from
8386         elmo-imap4-open-connection.
8387         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8388         only wraps elmo-imap4-open-connection-1.
8389         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8390         user-at-host.
8391         (elmo-imap4-auth-login): New function.
8392         (elmo-imap4-auth-cram-md5): New function.
8393         (elmo-imap4-auth-digest-md5): New function.
8394         (elmo-imap4-login): New function.
8395
8396 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8397
8398         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8399         function `error'.
8400
8401 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8402
8403         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8404
8405 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8406
8407         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8408
8409 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8410
8411         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8412         for server responses, quote `*' regardless of where it appears.
8413
8414 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8415
8416         * elmo-maildir.el (elmo-maildir-commit): New alias.
8417
8418 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8419
8420         * elmo-util.el (elmo-display-progress):
8421                 Use `progress-feedback-with-label'.
8422
8423 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8424
8425         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8426         (elmo-imap4-non-atom-char-regex): Ditto.
8427         (elmo-imap4-non-text-char-regex): Ditto.
8428         (elmo-imap4-literal-threshold): Ditto.
8429         (elmo-imap4-atom-p): New function.
8430         (elmo-imap4-quotable-p): Ditto.
8431         (elmo-imap4-nil): Ditto.
8432         (elmo-imap4-atom): Ditto.
8433         (elmo-imap4-quoted): Ditto.
8434         (elmo-imap4-literal-subr): Ditto.
8435         (elmo-imap4-literal): Ditto.
8436         (elmo-imap4-buffer-literal): Ditto.
8437         (elmo-imap4-string-subr): Ditto.
8438         (elmo-imap4-string): Ditto.
8439         (elmo-imap4-buffer-string): Ditto.
8440         (elmo-imap4-astring-subr): Ditto.
8441         (elmo-imap4-astring): Ditto.
8442         (elmo-imap4-buffer-astring): Ditto.
8443         (elmo-imap4-nstring): Ditto.
8444         (elmo-imap4-buffer-nstring): Ditto.
8445         (elmo-imap4-mailbox): New alias.
8446         (elmo-imap4-field-body): Ditto.
8447         (elmo-imap4-userid): Ditto.
8448         (elmo-imap4-password): Ditto.
8449         (elmo-imap4-format-quoted): New function.
8450         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8451         arguments and handle "atom", "quoted" and "literal" string here.
8452         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8453         `elmo-imap4-send-command'.
8454         (elmo-imap4-folder-exists-p): Likewise.
8455         (elmo-imap4-create-folder): Likewise.
8456         (elmo-imap4-delete-folder): Likewise.
8457         (elmo-imap4-rename-folder): Likewise.
8458         (elmo-imap4-max-of-folder): Likewise.
8459         (elmo-imap4-check-validity): Likewise.
8460         (elmo-imap4-sync-validity): Likewise.
8461         (elmo-imap4-server-diff): Likewise.
8462         (elmo-imap4-select-folder): Likewise.
8463         (elmo-imap4-copy-msgs): Likewise.
8464         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8465         (elmo-imap4-mark-set-on-msgs): Likewise.
8466         (elmo-imap4-read-part): Likewise.
8467         (elmo-imap4-read-msg): Likewise.
8468         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8469         `elmo-imap4-password' for `elmo-imap4-send-command'.
8470         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8471         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8472         `elmo-imap4-buffer-literal'.
8473         (elmo-imap4-append-msg): Likewise.
8474
8475         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8476         `delete' for removing dead connection from the connection cache.
8477         Move deletion of the process buffer after that.
8478         (elmo-imap4-list): Change `defsubst' to `defun'.
8479         (elmo-imap4-commit): Make error message verbose.
8480         (elmo-imap4-search): Ditto.
8481         (elmo-imap4-list): Ditto.
8482         (elmo-imap4-select-folder): Ditto.
8483         (elmo-imap4-copy-msgs): Ditto.
8484         (elmo-imap4-delete-msg-by-id): Ditto.
8485         (elmo-imap4-append-msg-by-id): Ditto.
8486         (elmo-imap4-append-msg): Ditto.
8487
8488 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8489
8490         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8491         when dired is used on XEmacs.
8492
8493 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8494
8495         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8496         instead of `append'.
8497         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8498         `elmo-plugged-p' directly.
8499         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8500         of `elmo-plugged-p' directly.
8501
8502         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8503         Eliminate unused variable.  Use `memq' for checking a process status.
8504         Use `cons' instead of `append' for updating the connection cache.
8505         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8506         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8507
8508 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8509
8510         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8511         `elmo-imap4-read-point' exactly.
8512
8513         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8514         the local variable `folder' to `mailbox'.
8515         Rename the argument `fld' to `folder'.
8516
8517 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8518
8519         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8520         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8521
8522 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8523
8524         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8525         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8526         (elmo-pop3-uidl-number-hash): Ditto.
8527         (elmo-pop3-size-hash): Ditto.
8528         (elmo-pop3-uidl-done): Ditto.
8529         (elmo-pop3-list-done): Ditto.
8530         (elmo-pop3-connection-get-process): New defmacro.
8531         (elmo-pop3-connection-get-buffer): Ditto.
8532         (elmo-pop3-close-connection): Delete buffer and process.
8533         (elmo-pop3-flush-connection): Don't delete buffer and process.
8534         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8535         Setup UIDL and size hash.
8536         (elmo-pop3-send-command-no-erase): Deleted
8537         (elmo-pop3-send-command): Added optional argument `no-erase'.
8538         (elmo-pop3-parse-uidl-response): New function.
8539         (elmo-pop3-parse-list-response): Set size hash.
8540         (elmo-pop3-list-location): New function.
8541         (elmo-pop3-list-by-uidl-subr): Ditto.
8542         (elmo-pop3-list-by-list): Ditto.
8543         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8544         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8545         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8546         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8547         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8548         Use uidl.
8549         (elmo-pop3-uidl-to-number): New function.
8550         (elmo-pop3-number-to-uidl): Ditto.
8551         (elmo-pop3-number-to-size): Ditto.
8552         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8553         Set number by use of uidl.
8554         (elmo-pop3-msgdb-create-message): Likewise.
8555         Set size, loc-alist in msgdb.
8556         (elmo-pop3-read-msg): Set number by use of uidl.
8557         Added optional argument `msgdb'.
8558         (elmo-pop3-delete-msg): Ditto.
8559         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8560         (elmo-pop3-commit): Close connection.
8561
8562         * elmo-pipe.el (elmo-pipe-max-of-folder):
8563         Bind `elmo-pop3-use-uidl' as nil.
8564         (elmo-pipe-drain): Ditto.
8565         Call `elmo-commit'.
8566
8567         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8568         (elmo-msgdb-overview-entity-set-size): New defsubst.
8569
8570 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8571
8572         * elmo-vars.el (elmo-use-killed-list): New variable
8573         (Renamed from `elmo-nntp-use-killed-list').
8574         (elmo-nntp-use-killed-list): Eliminated.
8575
8576         * elmo-msgdb.el (elmo-msgdb-expand-path):
8577         Changed expanding msgdb path for elmo-multi.
8578
8579         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8580         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8581         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8582         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8583         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8584         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8585         (toplevel): Deleted time-stamp line.
8586
8587         * elmo2.el (elmo-clear-killed ): Defined as function
8588         (Abolished defining as a backend function).
8589         All other related modules are changed.
8590
8591 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8592
8593         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8594
8595 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8596
8597         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8598
8599 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8600
8601         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8602
8603 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8604
8605         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8606         asynchronous folder check.
8607
8608         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8609
8610         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8611         `elmo-nntp-use-killed-list'.
8612         (elmo-nntp-list-folder): Use killed list.
8613         (elmo-nntp-max-of-folder): Ditto.
8614         (elmo-nntp-msgdb-create): Set killed list.
8615
8616         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8617
8618         * elmo2.el (elmo-clear-killed): New backend function.
8619         All other related modules are changed.
8620
8621 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8622
8623         * elmo-util.el (elmo-imap4-spec-folder): Use
8624         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8625         All callers changed.
8626
8627 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8628
8629         * mmelmo-2.el (initialize-instance):
8630         Use `mime-buffer-entity-buffer-internal' instead of
8631         `mime-entity-buffer'.
8632
8633         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8634         (mime-entity-body): Implemented.
8635         (mime-goto-header-start-point): Deleted.
8636         (mime-goto-body-end-point): Ditto.
8637         (mime-entity-point-min): Ditto.
8638         (mime-entity-point-max): Ditto.
8639         (mime-entity-children): Ditto.
8640         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8641         instead of `mime-entity-buffer'.
8642         (mime-entity-header-buffer): Ditto.
8643         (mime-entity-body-buffer): Ditto.
8644         (mime-write-entity-content): Ditto.
8645
8646         * pldap.el (ldap-static-if): New macro.
8647         (toplevel): Use it instead of `static-if'.
8648
8649 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8650
8651         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8652         included in `attrs' argument.
8653
8654 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8655
8656         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8657
8658         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8659         (ldap-ldif-safe-init-char-regexp): Ditto.
8660         (ldap-ldif-safe-string-regexp): Ditto.
8661         (ldap/ldif-safe-string-p): New macro.
8662         (ldap/ldif-insert-field): Ditto.
8663         (ldap-modify): Use it.
8664         (ldap-add): Ditto.
8665         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8666         (ldap-decode-attribute): Decode only when `attr' is consp.
8667         (ldap-delete): Bind `ret'.
8668         (toplevel): Require 'cl at compile time.
8669         Removed (require 'poe) and (require 'std11).
8670         (pldap-version): Eliminated.
8671         (ldap-search-basic): Removed auth and dn binding.
8672         (ldap-ldif-field-name-regexp): New constant.
8673         (ldap-ldif-field-head-regexp): Ditto.
8674         (ldap-ldif-next-field-head-regexp): Ditto.
8675         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8676         (ldap/field-end): New function.
8677         (ldap/field-body): Use it.
8678         (ldap/collect-field): Ditto.
8679         (ldap-search-basic): Use `ldap/field-body'.
8680
8681 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8682
8683         * pldap.el (ldap-default-attribute-encoder): New user option.
8684         (ldap/field-body): Decode base64 string.
8685         (ldap/collect-field): Ditto.
8686         (ldap-encode-attribute): New function.
8687         (ldap-add-entries): Use it.
8688         (ldap-modify-entries): Ditto.
8689         (ldap-search-entries): Enclosed decoding function with
8690         `with-temp-buffer' and set as unibyte.
8691         (ldap-search-basic): Set process buffer as unibyte.
8692
8693         * elmo-util.el (elmo-folder-identical-system-p):
8694         Eliminated name space checking.
8695
8696         * pldap.el: New module.
8697         toplevel: Changed condition to detect built-in ldap feature.
8698         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8699         (ldap-add): Added error handling.
8700         (ldap-modify): Ditto.
8701         (ldap-delete): Ditto.
8702
8703 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8704
8705         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8706         Initialize local variables with `let'.  Inline a temporary
8707         variable for the progress percentage.  Sort `setq' to reduce
8708         function call in the while-loop.
8709
8710         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8711         into the conditional branch.
8712
8713 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8714
8715         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8716         Move a conditional out of the while-loop.
8717
8718 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8719
8720         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8721         elmo-msgdb-overview-get-entity-by-number.
8722         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8723         throw.
8724
8725 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8726
8727         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8728         the local variable for a packed number self descriptively.
8729
8730 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8731
8732         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8733         * elmo-localdir.el (elmo-localdir-pack-number): Use
8734         `elmo-msgdb-overview-get-entity' instead of
8735         `elmo-msgdb-overview-get-entity-by-number'.
8736         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8737         (elmo-msgdb-search-overview-entity): Removed.
8738         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8739         by message-id or number.
8740         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8741         instead of `elmo-msgdb-overview-get-entity-by-number'.
8742
8743 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8744
8745         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8746         non-nil, use hash table for overview.
8747         (elmo-hash-maximum-size): New variable.
8748         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8749         (elmo-msgdb-make-overview-hashtb): New function.
8750         (elmo-msgdb-clear-overview-hashtb): New function.
8751         (elmo-clear-hash-val): New macro.
8752         All other related modules are changed.
8753
8754 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8755
8756         * elmo2.el (elmo-move-msgs): If there's other message with
8757         same message-id, don't use cache.
8758
8759 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8760
8761         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8762         number is already packed.
8763
8764 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8765
8766         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8767
8768 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8769
8770         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8771         All other related modules are changed.
8772
8773 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8774
8775         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8776         of refiling failure on Maildir.
8777
8778 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8779
8780         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8781         decoded mime-charset with cache.
8782         (elmo-msgdb-overview-entity-get-from): Ditto.
8783         (elmo-msgdb-overview-entity-get-subject): Ditto.
8784         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8785
8786 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8787
8788         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8789         (elmo-remove-passwd): Fill password with 0 before erase.
8790         * elmo-vars.el (elmo-passwd-life-time): New variable.
8791
8792 \f
8793 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8794
8795         * elmo-cache.el (elmo-buffer-cache-add):
8796         Set message cache buffer as unibyte.
8797
8798 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8799
8800         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8801         become nil.
8802
8803 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8804
8805         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8806         when display is finished.
8807         (elmo-nntp-msgdb-create): Ditto.
8808         (elmo-nntp-groups-read-response): Ditto.
8809         (elmo-nntp-retrieve-headers): Ditto.
8810         (elmo-nntp-msgdb-create-message): Ditto.
8811         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8812         (elmo-pop3-msgdb-create-message): Ditto.
8813
8814 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8815
8816         * elmo-maildir.el (elmo-maildir-msgdb-create):
8817         Use `elmo-msgdb-sort-by-date'.
8818
8819 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8820
8821         * elmo2.el (elmo-read-msg-no-cache):
8822         Eliminated arguments after `outbuf'.
8823         Don't use cache even if it exists.
8824         (elmo-read-msg): Don't pass arguments after `outbuf' to
8825         `elmo-read-msg-no-cache'.
8826
8827 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8828
8829         * elmo-archive.el (elmo-archive-list-folders):
8830         Use `file-name-directory' if base folder does not exist.
8831
8832 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8833
8834         * elmo-archive.el (elmo-archive-list-folders): Don't use
8835         `file-name-directory'.
8836
8837 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8838
8839         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8840         If `force' is non-nil, try flushing all operation queues.
8841
8842 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8843
8844         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8845         as-binary-process.
8846
8847 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8848
8849         * elmo-util.el (elmo-display-progress): Fixed.
8850
8851 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8852
8853         * elmo-util.el (elmo-display-progress): New function.
8854         All other related modules are changed.