* elmo.el (elmo-folder-confirm-appends): Display folder name.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo.el (elmo-folder-confirm-appends): Display folder name.
4
5 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
6
7         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
8         literals.
9
10 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
11
12         * elmo-maildir.el (elmo-maildir-list-location): Reduce
13         `elmo-get-last-modification-time' call.
14
15 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
16
17         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
18         expression.
19         (elmo-maildir-set-mark): Ditto.
20         (elmo-maildir-delete-mark): Ditto.
21
22 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
23
24         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
25         optional argument `separators'.
26
27 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
28
29         * elmo.el (cache-changed): Abolish.
30         (status-changed): New signal.
31         (elmo-message-killed-p): New generic function and define for
32         elmo-folder.
33         (elmo-folder-recover-messages): Ditto.
34         (elmo-message-set-cached): Emit signal `status-changed' instead of
35         `cache-changed'.
36         (elmo-message-status): New macro.
37         (elmo-message-status-folder): Ditto.
38         (elmo-message-status-number): Ditto.
39         (elmo-message-status-set-flags): Ditto.
40         (elmo-message-status-set-killed): Ditto.
41         (elmo-message-status-flags): New function.
42         (elmo-message-status-cached-p): Ditto.
43         (elmo-message-status-killed-p): Ditto.
44
45         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
46         `status-changed' instead of `cache-changed'.
47         (elmo-folder-recover-messages): Define.
48         (elmo-message-killed-p): Ditto.
49
50         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
51         `status-changed' instead of `cache-changed'.
52
53         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
54         (elmo-message-killed-p): Define.
55         (elmo-folder-recover-messages): Ditto.
56
57         * elmo-version.el (elmo-version): Up to 2.15.3.
58
59 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo-signal.el (elmo-signal-bindings): Use cons to append
62         element into list.
63         (elmo-define-signal-handler): Add docstring.
64         (elmo-define-signal-filter): Ditto.
65
66         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
67
68 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
69
70         * elmo-util.el (elmo-flatten): Don't use recursive call.
71
72         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
73         assignment.
74         (elmo-folder-message-make-temp-files): Use `number-to-string'
75         instead of `int-to-string'.
76
77 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
78
79         * elmo-search.el (elmo-folder-delete-messages): Define.
80
81 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
82
83         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
84         customization type.
85         (elmo-mailing-list-count-spec-list): Ditto.
86
87         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
88         for `list-id'.
89
90 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
91
92         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
93         handling.
94
95 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
96
97         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
98         (elmo-mailing-list-count-spec-list): Ditto.
99
100         * elmo-util.el (elmo-map-until-success): New function.
101         (elmo-string-match-substring): Ditto.
102         (elmo-find-list-match-value): Ditto.
103
104         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
105         Removed.
106         (modb-entity-extract-ml-info-from-subject): Ditto.
107         (modb-entity-extract-ml-info-from-return-path): Ditto.
108         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
109         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
110         (modb-entity-extract-ml-info-from-mailman): Ditto.
111         (modb-entity-extract-mailing-list-info-functions): Ditto.
112         (modb-entity-extract-mailing-list-info): Rewrite with
113         `elmo-find-list-match-value'.
114
115 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
116
117         * elmo-net.el (elmo-network-session-retry-count): New user option.
118         (elmo-network-session-buffer-name): New internal function.
119         (elmo-network-session-buffer-create): Ditto.
120         (elmo-network-open-session): Retry open network session
121         `elmo-network-session-retry-count' times.
122
123 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
124
125         * elmo-util.el (elmo-list-filter): Rewritten.
126
127 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
128
129         * elmo-util.el (elmo-string-member): Allow symbol element in list.
130
131 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
132
133         * elmo-search.el (elmo-make-search-engine): Use prefix
134         `elmo-search-' for require symbol instead of `else-'.
135         (elmo-search-engine-extprog): New class.
136         (elmo-search-engine-do-search): Remove nil from argument
137         list. Added argument pattern to evaluate element as function.
138         (elmo-search-engine-local-file): Derived from
139         `elmo-search-engine-extprog'.
140         (elmo-search-engine-create-message-entity): Check existance of file.
141         (elmo-search-engine-fetch-message): Ditto.
142         (elmo-search-namazu-index): Follow the API change.
143         (elmo-search-grep-target): Ditto.
144
145 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
146
147         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
148         characters of working buffer.
149
150         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
151         Does not bind `default-mime-charset'.
152         (elmo-msgdb-create-message-entity-from-buffer): Removed
153         unnecessary local bind.
154
155         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
156         function.
157         (modb-entity-extract-mailing-list-info-functions): Added it.
158
159 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
160
161         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
162         when number and message-id are non-nil.
163
164         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
165
166         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
167         conditional steatment.
168         (elmo-pop3-auth-apop): Likewise.
169         (elmo-network-authenticate-session): Likewise.
170
171 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
172
173         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
174         symbol `fill-column'.
175         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
176         decode field value.
177
178         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
179         (elmo-decoded-field-body): Ditto.
180
181 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
182
183         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
184         `tokens' to `params'.
185
186 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
187
188         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
189         working buffer.
190
191 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
192
193         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
194         decide index.
195
196 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
197
198         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
199         Set default value as nil.
200         (toplevel): Register search engines by
201         `elmo-search-register-engine' if there are not defined.
202
203         * elmo.el (autoload): Added autoload setting for
204         `elmo-search-register-engine'.
205
206 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
207
208         * elmo.el (toplevel): `[' is redefined as the prefix of the search
209         folder instead of nmz folder.
210         (elmo-nmz-default-index-path): Added obsolete variable setting.
211         (elmo-nmz-index-alias-alist): Ditto.
212         (elmo-nmz-use-drive-letter): Ditto.
213
214         * elmo-search.el (elmo-search-register-engine): New function.
215
216         * elmo-nmz.el: Removed.
217
218         * elmo-version.el (elmo-version): Up to 2.15.2.
219
220 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
221
222         * elmo-search.el: New file.
223
224 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
225
226         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
227         condition `larger' and `smaller'.
228
229 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
230
231         * elmo-util.el (elmo-safe-filename): Rewrite to replace
232         `"' (double quote) into "_Q_".
233
234 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
235
236         * elmo-net.el (elmo-net-quote-chars): Abolish.
237         (elmo-net-format-quoted): Ditto.
238
239 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
240
241         * elmo.el (elmo-get-folder-function): New variable.
242         (elmo-get-folder): New function.
243         (elmo-folder-rename): Call `elmo-make-folder' with specified
244         mime-charset.
245
246         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
247         `elmo-make-folder'.
248         (elmo-split-subr): Ditto.
249
250         * elmo-multi.el (elmo-folder-initialize): Ditto.
251
252         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
253
254         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
255         (elmo-flag-get-folder): Ditto.
256
257         * elmo-filter.el (elmo-folder-initialize): Ditto.
258
259         * elmo-access.el (elmo-folder-initialize): Ditto.
260         (elmo-access-folder-update-children): Ditto.
261
262         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
263         (elmo-dop-queue-flush): Ditto.
264         (elmo-folder-append-buffer-dop-delayed): Ditto.
265         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
266         mime-charset.
267
268         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
269         instead of `elmo-make-folder'.
270         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
271         destination folder instead of send `elmo-folder-rename-internal'.
272
273         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
274         slot of subfolder instead of create it.
275
276 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
277
278         * elmo-util.el (elmo-collect-separators): New function.
279         (elmo-collect-separators-internal): Ditto.
280         (elmo-collect-trail-separators): Ditto.
281         (elmo-parse-separated-tokens): Ditto.
282         (elmo-parse-separated-tokens-internal): Ditto.
283         (elmo-quote-syntactical-element): Ditto.
284
285         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
286         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
287
288         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
289         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
290         (elmo-nntp-folder-list-subfolders): Quote a user name.
291
292         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
293         (elmo-net-parse-network): Abolish.
294         (elmo-net-folder-set-parameters): New function.
295         (elmo-folder-initialize): Follow the above change.
296
297         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
298         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
299         (elmo-folder-list-subfolders): Use
300         `elmo-quote-syntactical-element' instead of
301         `elmo-net-format-quoted' to quote mailbox and user name.
302
303 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
304
305         * elmo-util.el (elmo-token-valid-p): New function.
306         (elmo-parse-token): Add optional argument `requirement'.
307         (elmo-parse-prefixed-element): Likewise.
308
309         * elmo-net.el (elmo-net-quote-chars): Renamed from
310         `elmo-net-quote-chars-regexp'.
311         (elmo-net-format-quoted): Add optional argument `extra-chars'.
312
313         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
314         by info document. Check token `uidl' is started an alphabet.
315
316         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
317         by info document. Check token `user' is started an alphabet.
318
319         * elmo-imap4.el (elmo-folder-initialize): Ditto.
320         (elmo-folder-list-subfolders): Quote user.
321
322 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
323
324         * elmo-util.el (elmo-quoted-specials-list): New constant.
325         (elmo-quoted-token): New function.
326
327         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
328         (elmo-net-format-quoted): New function.
329         (elmo-net-parse-network): Ditto.
330         (elmo-folder-initialize): Use it.
331
332         * elmo-nntp.el (elmo-folder-initialize): Use
333         `elmo-net-parse-network' to parse network specification instead of
334         `elmo-folder-initialize#elmo-net'.
335
336         * elmo-pop3.el (elmo-folder-initialize): Ditto.
337
338         * elmo-imap4.el (elmo-folder-initialize): Ditto.
339         (elmo-folder-list-subfolders): Quote folder name by
340         `elmo-net-format-quoted'.
341
342 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
343
344         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
345         (elmo-folder-search): Use it.
346
347 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
348
349         * modb-standard.el (modb-standard-loaded-message-id): Use
350         `elmo-msgdb-message-entity-field'.
351
352 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
353
354         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
355         without filename.
356
357 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
358
359         * elmo-util.el (elmo-set-auto-coding): New function.
360         (elmo-object-load): Use it.
361
362 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
363
364         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
365         (elmo-time<): Define as alias of `elmo-time-less-p'.
366         (elmo-time-to-datevec): New function.
367
368         * elmo-date.el (elmo-time-to-days): New function.
369
370 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
371
372         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
373         is not cons cell.
374
375 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
376
377         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
378         parenthesis.
379
380         * elmo-util.el (elmo-map-recursive): New function.
381
382         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
383         (modb-entity-encode-string-recursive): Ditto.
384
385 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
386
387         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
388         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
389         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
390         compare sequence number when last modified time is nil.
391
392 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
393
394         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
395
396         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
397
398 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
399
400         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
401         modification time of the file.
402
403 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
404
405         * elmo-util.el (elmo-condition-optimize): Discriminated against
406         preserved fields, extra fields and the other weight.
407
408 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
409
410         * modb-entity.el (initialize-instance): Define.
411         (modb-entity-handler-mime-charset): New internal function.
412         (modb-standard-entity-set-field): Use it.
413         (elmo-msgdb-message-entity-field): Ditto.
414         (elmo-msgdb-message-entity-field): Ditto.
415
416         * modb.el (elmo-msgdb-match-condition): Rewrite with
417         `elmo-condition-match'.
418         (elmo-msgdb-match-condition-primitive): New function.
419
420         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
421         arguments `flags' and `numbers'.
422         (elmo-msgdb-match-condition-primitive): Abolished (merged to
423         `elmo-msgdb-message-match-condition').
424         (modb-buffer-entity-handler): New class.
425
426         * elmo.el (elmo-folder-search): Optimize condition to use
427         `elmo-condition-optimize'.
428         (elmo-message-buffer-match-condition): New function.
429         (elmo-message-match-condition): Use
430         `elmo-message-buffer-match-condition' instead of
431         `elmo-buffer-field-condition-match'.
432
433         * elmo-util.el (elmo-condition-match): New function.
434         (elmo-condition-optimize): Ditto.
435         (elmo-buffer-field-primitive-condition-match): Abolish.
436         (elmo-buffer-field-condition-match): Ditto.
437
438         * elmo-archive.el (elmo-archive-field-condition-match): Use
439         `elmo-message-buffer-match-condition' instead of
440         `elmo-buffer-field-condition-match'.
441
442 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-flag.el (elmo-global-flags-initialize): Check the
445         existence of the flag directory.
446
447 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-access.el (elmo-folder-initialize): Call
450         `elmo-multi-connect-signals'.
451
452         * elmo-pipe.el (elmo-folder-close): Define.
453
454         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
455         children folders.
456
457         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
458         with target folder.
459
460         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
461         `number'.
462
463         * elmo-multi.el (elmo-message-entity): Don't use return value of
464         `elmo-message-entity-set-number'.
465
466 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
467
468         * modb.el (modb-generic): Added slot `mime-charset'.
469
470         * modb-standard.el (modb-standard): Added slot `overview-handler'.
471         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
472         and `modb-entity-handler-dump-parameters'.
473         (modb-standard-default-entity-handler): Abolish.
474         (elmo-msgdb-message-entity-handler): Save created handler by
475         instance slot.
476
477         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
478         (modb-entity-handler-list-parameters): New method.
479         (modb-entity-handler-equal-p): New function.
480         (modb-entity-handler-dump-parameters): Ditto.
481         (modb-entity-parse-address-string): Encode return value.
482         (modb-entity-make-address-string): Decode argument value.
483         (modb-entity-decode-string-recursive): New function.
484         (modb-entity-encode-string-recursive): Ditto.
485         (modb-standard-entity-normalizer): Set to encode field value.
486         (modb-standard-entity-specializer): Follow the above change.
487         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
488         mime-charset of handler.
489         (elmo-msgdb-message-entity-field): Ditto.
490         (elmo-msgdb-copy-message-entity): Fixed reference to internal
491         structure.
492         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
493
494         * elmo.el (elmo-folder): Added slot `mime-charset'.
495         (elmo-make-folder): Added argument `mime-charset'.
496         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
497         `mime-charest'.
498
499         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
500         (elmo-make-msgdb): Likewise.
501
502         * elmo-internal.el (elmo-internal-folder-initialize): Call
503         `luna-make-entity' with :mime-charset parameter.
504
505 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
506
507         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
508         encoded words in `from' and `subject' field.
509
510 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
511
512         * modb.el (elmo-msgdb-message-field): Add argument `type'.
513         (elmo-msgdb-match-condition): Get handler from entity instead of
514         msgdb.
515
516         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
517         (modb-standard-load-entity): Treat new file format.
518         (modb-standard-save-entity-1): Save as new file format.
519         (modb-standard-save-entity): Split messages into section here.
520         (elmo-msgdb-message-field): Follow the API change.
521         (modb-standard-default-entity-handler): New internal variable.
522         (elmo-msgdb-message-entity-handler): Define.
523
524         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
525         to `elmo-vars.el'.
526         (modb-entity-field-extractor-alist): New user option.
527         (elmo-msgdb-message-entity-field): Removed argument `decode' and
528         added argument `type'.
529         (elmo-msgdb-copy-message-entity): Add optional argument
530         `make-handler'.
531         (modb-set-field-converter): New function.
532         (modb-convert-field-value): Ditto.
533         (modb-entity-string-decoder): Ditto.
534         (modb-entity-string-encoder): Ditto.
535         (modb-entity-parse-date-string): Ditto.
536         (modb-entity-make-date-string): Ditto.
537         (modb-entity-mime-decoder): Ditto.
538         (modb-entity-mime-encoder): Ditto.
539         (modb-entity-address-list-decoder): Ditto.
540         (modb-entity-address-list-encoder): Ditto.
541         (modb-entity-parse-address-string): Ditto.
542         (modb-entity-make-address-string): Ditto.
543         (modb-entity-create-field-indices): Ditto.
544         (modb-legacy-entity-field-slots): New constant.
545         (modb-legacy-entity-field-indices): Ditto.
546         (modb-legacy-entity-normalizer): New variable.
547         (modb-legacy-entity-specializer): Ditto.
548         (modb-legacy-entity-field-index): New macro.
549         (modb-legacy-entity-set-field): New function.
550         (modb-legacy-make-message-entity): Rewrite.
551         (elmo-msgdb-create-message-entity-from-buffer): Use
552         `elmo-msgdb-get-references-from-buffer'. Use
553         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
554         Use `modb-legacy-entity-set-field' instead of
555         `elmo-msgdb-message-entity-set-field'.
556         (elmo-msgdb-message-entity-field): Rewrite.
557         (elmo-msgdb-message-entity-set-field): Ditto.
558         (elmo-msgdb-copy-message-entity): Make new entity by
559         `make-handler' if it specified.
560         (elmo-msgdb-message-match-condition): Define a method of
561         `modb-entity-handler' and follow the API change.
562         (modb-standard-entity-handler): New class.
563         (modb-entity-extract-ml-info-from-x-sequence): New function.
564         (modb-entity-extract-ml-info-from-subject): Ditto.
565         (modb-entity-extract-ml-info-from-return-path): Ditto.
566         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
567         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
568         (modb-entity-extract-mailing-list-info): Ditto.
569         (modb-entity-extract-mailing-list-info-functions): New variable.
570
571         * elmo.el (elmo-message-field): Add optional argument `type'.
572
573         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
574         from `modb-entity.el'.
575
576         * elmo-util.el (elmo-object-load): Decode by coding-system from
577         `set-auto-coding-function'.
578         (elmo-object-save): Use `detect-mime-charset-region' and add
579         coding cookie if encode.
580         (elmo-msgdb-get-references-from-buffer): New function.
581         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
582
583         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
584
585         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
586         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
587         instead of `shimbun-make-header' and follow the API change.
588         (elmo-shimbun-update-overview): Follow the API change.
589         (elmo-map-folder-list-message-locations): Ditto.
590
591         * elmo-pipe.el (elmo-message-field): Ditto.
592
593         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
594         Ditto.
595
596         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
597
598         * elmo-multi.el (elmo-message-field): Ditto.
599
600         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
601         (elmo-msgdb-sort-by-date): Ditto.
602         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
603         `elmo-message-entity-field'.
604         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
605         change.
606         (elmo-msgdb-overview-entity-get-from): Ditto.
607         (elmo-msgdb-overview-entity-get-subject): Ditto.
608         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
609         (elmo-msgdb-overview-entity-get-date): Ditto.
610         (elmo-msgdb-overview-entity-get-to): Ditto.
611         (elmo-msgdb-overview-entity-get-cc): Ditto.
612
613         * elmo-mime.el (elmo-message-mime-entity): Ditto.
614         (elmo-mime-collect-message/partial-pieces): Ditto.
615
616         * elmo-filter.el (elmo-message-field): Ditto.
617
618         * elmo-date.el (elmo-datevec-to-time): New function.
619         (elmo-time-parse-date-string): Ditto.
620         (elmo-time-make-date-string): Ditto.
621         (elmo-time<): Ditto.
622
623         * elmo-version.el (elmo-version): Up to 2.15.1.
624
625 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
626
627         * elmo-flag.el (elmo-global-flags-initialize): Don't include
628         member of elmo-local-flags.
629
630 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
631
632         * elmo-version.el (elmo-version): Up to 2.15.0.
633
634 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
635
636         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
637         `ignore-msgdb' is non-nil.
638
639 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
640
641         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
642         (elmo-condition-in-msgdb-p): Ditto.
643         (elmo-file-field-primitive-condition-match): Ditto.
644         (elmo-file-field-condition-match): Ditto.
645
646         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
647
648 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
649
650         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
651         subdirectories here.
652         (elmo-global-flags-initialize): New function.
653
654         * elmo.el (toplevel): Added autoload setting for
655         `elmo-global-flags-initialize'.
656
657 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
658
659         * elmo.el (message-number-changed): Define new signal.
660         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
661         message-number-changed signal.
662         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
663         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
664         Respect `elmo-pack-number-check-strict'.
665
666 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
667
668         * elmo-signal.el (elmo-connect-signal): Document.
669         (elmo-emit-signal): Ditto.
670         (elmo-emit-signal): It should pass source argument to filter and
671         handler, not slot-source.
672
673 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
674
675         * modb.el (elmo-msgdb-update-entity): New API and define generic
676         implement.
677
678         * modb-standard.el (elmo-msgdb-update-entity): Define.
679
680         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
681         API and define generic implement.
682
683         * elmo.el (update-overview): New singnal.
684
685         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
686         `elmo-msgdb-update-entity' and emit signal `update-overview'.
687         (elmo-message-entity-parent): Define.
688
689         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
690         `update-overview'.
691
692         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
693
694         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
695
696 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
697
698         * elmo.el (elmo-folder-synchronize): Sort the return value of
699         `elmo-list-diff'.
700
701         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
702         list.
703
704 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
705
706         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
707         `default-enable-multibyte-characters'.
708         (elmo-object-load): Use `with-temp-buffer' instead of
709         `elmo-set-work-buf'.
710         (elmo-object-save): Ditto.
711         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
712         `elmo-set-work-buf'.
713         (elmo-decoded-field-body): Ditto.
714
715         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
716
717         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
718         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
719
720         * elmo-version.el (elmo-version): Up to 2.13.3.
721
722 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
723
724         * elmo-util.el (elmo-list-diff): Fix the last change.
725         Reverse order of result lists.
726
727 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
728
729         * modb-standard.el (elmo-msgdb-set-flag): Use
730         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
731         (elmo-msgdb-unset-flag): Ditto.
732
733         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
734         `elmo-list-diff'.
735
736         * elmo-util.el (elmo-list-diff): Rewrite.
737         (elmo-list-diff-nonsortable): New function.
738
739 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
740
741         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
742         `elmo-multibypte-buffer-name'.  All referers are updated.
743
744 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
745
746         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
747         (elmo-mime-entity-fragment-p): New function.
748         (mime-elmo-buffer-entity): Added slot `reassembled'.
749         (elmo-message-mime-entity): Added 4th argument `reassemble'.
750         (elmo-message-mime-entity-internal): New function (renamed from
751         `elmo-message-mime-entity').
752         (elmo-mime-inherit-field-list-from-enclosed): New constant.
753         (elmo-mime-make-reassembled-mime-entity): New function.
754         (elmo-message-reassembled-mime-entity): Ditto.
755         (elmo-mime-collect-message/partial-pieces): Ditto.
756
757 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
758
759         * elmo.el (elmo-message-fetch-string): Disable multibyte.
760
761         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
762         (elmo-with-enable-multibyte): New macro.
763
764         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
765
766 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
767
768         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
769         argument `number'.
770         (elmo-filter-connect-signals): Follow the above change.
771
772 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
773
774         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
775
776         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
777         that only the first flag is used.
778
779 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
780
781         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
782         if available.
783
784 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
785
786         * elmo-signal.el: New file.
787
788         * elmo.el (toplevel): Require elmo-signal.
789         (flag-changing, flag-changed, cache-changed): New signal.
790         (elmo-folder): Remove slog `handlers'.
791         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
792         `elmo-folder-notify-event'.
793         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
794         (elmo-folder-unset-flag): Ditto.
795         (elmo-event-handler): Abolish.
796         (elmo-event-handler-flag-changed): Ditto.
797         (elmo-event-handler-cache-changed): Ditto.
798         (elmo-folder-add-handler): Ditto.
799         (elmo-folder-remove-handler): Ditto.
800         (elmo-folder-notify-event): Ditto.
801
802         * elmo-pipe.el (toplevel): Require elmo-signal.
803         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
804         (elmo-pipe-connect-signals): New function.
805         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
806         (elmo-folder-set-flag): Ditto.
807         (elmo-folder-unset-flag): Ditto.
808         (elmo-message-set-cached): Ditto.
809
810         * elmo-multi.el (toplevel): Require elmo-signal.
811         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
812         (elmo-multi-connect-signals): New function.
813         (elmo-multi-map-numbers): Ditto.
814         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
815         (elmo-message-fetch): Ditto.
816         (elmo-folder-set-flag): Ditto.
817         (elmo-folder-unset-flag): Ditto.
818
819         * elmo-filter.el (toplevel): Require elmo-signal.
820         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
821         (elmo-filter-connect-signals): New function.
822         (elmo-filter-add-flag-count): Ditto.
823         (elmo-message-fetch): Does not call
824         `elmo-filter-folder-countup-message-flags' and
825         `elmo-folder-notify-event'.
826         (elmo-message-set-cached): Ditto.
827         (elmo-folder-set-flag): Ditto.
828         (elmo-folder-unset-flag): Ditto.
829
830         * elmo-version.el (elmo-version): Up to 2.13.2.
831
832 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
833
834         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
835         `flags'.
836
837 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
838
839         * elmo-filter.el (elmo-message-set-cached): Call
840         `elmo-folder-notify-event' with event `cache-changed'.
841
842         * elmo-multi.el (elmo-message-set-cached): Ditto.
843
844         * elmo-pipe.el (elmo-message-set-cached): Ditto.
845
846 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
847
848         * elmo.el (elmo-folder-encache): Abolish.
849
850 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
851
852         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
853         (elmo-folder-next-message-number-dop): Return appropriate negative
854         integer.
855
856 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
857
858         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
859         clearing pending operations.
860         (elmo-folder-next-message-number-dop): Return appropriate negative
861         integer.
862
863 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
864
865         * elmo.el (toplevel): Added autoload setting for `md5'.
866         (elmo-msgdb-path-encode-threshold): New user option.
867         (elmo-folder-msgdb-path): Encode msgdb path if its length is
868         longer than `elmo-msgdb-path-encode-threshold'.
869
870         * elmo-flag.el (elmo-global-mark-migrate): Use
871         `elmo-folder-expand-msgdb-path' instead of
872         `elmo-folder-msgdb-path'.
873
874 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
875
876         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
877         element of the difference is nil.
878
879 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
880
881         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
882         to the check logic of file systems which are weak in colon character.
883
884 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
885
886         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
887
888 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
889
890         * elmo-maildir.el (elmo-maildir-move-file): New function.
891         (elmo-folder-append-buffer): Use it.
892         (elmo-folder-append-messages): Ditto.
893         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
894
895         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
896         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
897
898         * elmo-maildir.el (elmo-maildir-separator): New user option.
899         (elmo-maildir-adjust-separator): New macro.
900         (elmo-maildir-list-location): Use it.
901         (elmo-maildir-update-current): Ditto.
902         (elmo-maildir-set-mark): Ditto.
903         (elmo-maildir-delete-mark): Ditto.
904         (These changes are based on Hiroya Murata's patch [wl: 13437])
905
906 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
907
908         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
909
910 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
911
912         * elmo-flag.el (elmo-flag-valid-p): Simplify.
913         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
914         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
915
916 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
917
918         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
919         Use `with-temp-buffer'.
920
921 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
922
923         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
924
925         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
926         `wl-read-search-condition').
927         (elmo-read-search-condition-internal): Likewise.
928
929         * elmo-flag.el (elmo-flag-char-regexp): New constant.
930         (elmo-flag-valid-p): New function.
931         (elmo-folder-initialize): Check flag name is valid.
932
933 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
934
935         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
936         delimiter to obtain root mailbox itself.
937
938 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
939
940         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
941         type mismatch.
942
943 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
944
945         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
946         as t.
947
948 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
949
950         * elmo-shimbun.el (toplevel): Require cl at compile.
951
952         * elmo-nntp.el (toplevel): Ditto.
953
954         * elmo-nmz.el (toplevel): Ditto.
955
956         * elmo-multi.el (toplevel): Ditto.
957
958         * elmo-file.el (toplevel): Ditto.
959
960         * elmo-dop.el (toplevel): Ditto.
961
962         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
963
964 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
965
966         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
967         as nil.
968
969         * elmo.el (elmo-message-fetch): Return t even when the output buffer
970         size of elmo-message-fetch-internal is 0 byte.
971
972 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
975
976 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
977
978         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
979         always plugged.
980
981 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
982
983         * elmo-maildir.el (elmo-map-message-fetch): Call
984         `elmo-map-folder-set-flag'.
985
986         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
987         (elmo-message-fetch): Merge from
988         `elmo-message-fetch-with-cache-process'.
989
990         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
991         (elmo-message-fetch): Define.
992
993         * elmo-nntp.el (elmo-message-fetch): Renamed from
994         `elmo-message-fetch-with-cache-process'.
995
996         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
997         (elmo-message-fetch): Define.
998
999         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1000         search-key.
1001
1002         * elmo-shimbun.el (shimbun-mua-search-id): Use
1003         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1004         (elmo-shimbun-folder-shimbun-header): Ditto.
1005         (elmo-shimbun-get-headers): Ditto.
1006         (elmo-shimbun-update-overview): Ditto.
1007
1008         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1009
1010         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1011         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1012
1013 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1014
1015         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1016         message is cached.
1017         (elmo-message-fetch-string): Fixed argument.
1018
1019 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1020
1021         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1022         exchange order of arguments `section' and `unread'.
1023         (elmo-message-encache): Follow the API change.
1024         (elmo-message-match-condition): Ditto.
1025         (elmo-generic-folder-append-messages): Ditto.
1026         (elmo-message-fetch-string): New function.
1027
1028         * elmo-split.el (elmo-split-subr): Ditto.
1029
1030         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1031
1032         * elmo-pipe.el (elmo-message-fetch): Ditto.
1033
1034         * elmo-multi.el (elmo-message-fetch): Ditto.
1035
1036         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1037
1038         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1039
1040         * elmo-filter.el (elmo-message-fetch): Ditto.
1041
1042         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1043
1044         * elmo-imap4.el (mime-imap-location-section-body): Use
1045         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1046         follow the API change.
1047
1048 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1049
1050         * elmo-access.el: New file.
1051
1052         * elmo-null.el: Ditto.
1053
1054         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1055
1056 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1057
1058         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1059         (elmo-network-session): New attribute `last-accessed'.
1060         (elmo-network-get-session): Discard network cache if elapsed time
1061         since last-accessed is larger than elmo-network-session-idle-timeout.
1062
1063 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1064
1065         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1066         and added `number', `require-entireness'.
1067         (elmo-find-fetch-strategy): Rewrite.
1068         (elmo-message-fetch): Unset `unread' flag when argument unread is
1069         non-nil.
1070
1071         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1072
1073         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1074         (elmo-message-fetch): Notify event `flag-changed'.
1075
1076         * elmo-pipe.el: Likewise.
1077
1078         * elmo-mime.el (elmo-mime-entity): New class.
1079         (elmo-mime-entity-display-p): New generic function.
1080         (elmo-mime-entity-display): Ditto.
1081         (elmo-mime-entity-display-as-is): Ditto.
1082         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1083         elmo-mime-entity.
1084         (elmo-make-mime-message-location): Removed.
1085         (elmo-mime-message-display): Ditto.
1086         (elmo-mime-display-as-is): Ditto.
1087         (elmo-message-mime-entity): New function.
1088
1089         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1090
1091         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1092         change.
1093         (elmo-message-fetch): Re-count flagged message number and notify
1094         event `flag-changed'.
1095
1096         * elmo-version.el (elmo-version): Up to 2.13.1.
1097
1098 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1099
1100         * elmo-filter.el (elmo-message-field): Define.
1101         (elmo-message-set-field): Ditto.
1102
1103 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1104
1105         * elmo.el (elmo-message-set-cached): Call
1106         `elmo-folder-notify-event' with cache-changed.
1107         (elmo-event-handler-cache-changed): New generic function.
1108
1109 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1110
1111         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1112         instead of elmo-add-name-to-file.
1113         (elmo-folder-append-messages): Ditto.
1114
1115 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1116
1117         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1118
1119 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1120
1121         * elmo-version.el (elmo-version): Up to 2.13.0.
1122
1123         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1124         `auto'.
1125
1126         * modb-standard.el (modb-standard-economize-entity-size): Changed
1127         default value to `t'.
1128
1129         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1130         `standard'.
1131
1132         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1133         after parsing greeting string.
1134
1135 2004-11-23  Daishi Kato <daishi@axlight.com>
1136
1137         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1138         New user option.
1139         (elmo-spam-spamoracle-call): Use it.
1140
1141 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1142
1143         * elmo.el (elmo-message-accessible-p): Message in dop spool
1144         is accessible.
1145
1146 2004-11-23  Daishi Kato <daishi@axlight.com>
1147
1148         * elsp-spamoracle.el: New file.
1149
1150 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1151
1152         * elmo.el (elmo-message-flags-for-append): New function.
1153         (elmo-generic-folder-append-messages): Use it.
1154
1155         * elmo-split.el (elmo-split-subr): Ditto.
1156
1157         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1158         `flags' and use elmo-folder-append-buffer instead of
1159         write-region-as-binary.
1160         (elmo-dop-filter-pending-messages): New function.
1161         (elmo-folder-append-buffer-dop): Call
1162         elmo-dop-spool-folder-append-buffer with `flag'.
1163         (elmo-folder-set-flag-dop): Filter messages by
1164         elmo-dop-filter-pending-messages.
1165         (elmo-folder-unset-flag-dop): Ditto.
1166         (elmo-folder-append-buffer-dop-delayed): Use
1167         elmo-message-flags-for-append to get flags of the message and
1168         simplify.
1169
1170 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1171
1172         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1173
1174 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1175
1176         * elmo.el (elmo-folder): Added handlers slot.
1177         (elmo-event-handler): New class.
1178         (elmo-event-handler-flag-changed): New API.
1179         (elmo-folder-add-handler): New function.
1180         (elmo-folder-remove-handler): Ditto.
1181         (elmo-folder-notify-event): Ditto.
1182         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1183         `flag-changed'.
1184         (elmo-folder-unset-flag): Ditto.
1185
1186         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1187         (elmo-folder-unset-flag): Ditto.
1188
1189         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1190         (elmo-folder-unset-flag): Ditto.
1191
1192         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1193         (elmo-folder-unset-flag): Ditto.
1194
1195         * elmo-version.el (elmo-version): Up to 2.11.33.
1196
1197 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1198
1199         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1200
1201 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1202
1203         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1204
1205         * elmo-flag.el (elmo-folder-unset-flag): Define.
1206         (elmo-global-flag-detach): Do process when the flag is not target
1207         flag.
1208
1209 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1210
1211         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1212         variable.
1213         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1214
1215 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1216
1217         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1218         function.
1219         (elmo-folder-delete-messages): Detach messages before delete
1220         messages from target folder.
1221         (elmo-folder-detach-messages): Set updated number-list to slot.
1222
1223 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1224
1225         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1226
1227 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1228
1229         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1230
1231 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1232
1233         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1234         internal use only).
1235         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1236         not modified.
1237         (elmo-folder-delete-messages): Define.
1238         (elmo-folder-move-messages): Don't call
1239         `elmo-folder-detach-messages'.
1240         (elmo-folder-synchronize): Rewrite.
1241         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1242
1243         * elmo-util.el (elmo-last): New function.
1244         (elmo-set-list): Ditto.
1245         (elmo-number-set-delete-list): Ditto.
1246         (elmo-number-set-delete): Ditto.
1247
1248         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1249
1250         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1251         `elmo-folder-delete-messages' and don't delete location map.
1252         (elmo-folder-detach-messages): Define.
1253
1254         * elmo-imap4.el (elmo-folder-delete): Use
1255         `elmo-folder-delete-messages-internal' instead of
1256         `elmo-folder-delete-messages'.
1257
1258         * elmo-filter.el (elmo-folder-delete-messages): Call
1259         `elmo-folder-detach-messages'.
1260         (elmo-folder-detach-messages): Don't call
1261         `elmo-folder-detach-messages' for target folder.
1262
1263         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1264         message deletion is succeeded.
1265
1266         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1267
1268         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1269         from `elmo-folder-delete-messages'.
1270
1271         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1272
1273         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1274
1275         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1276
1277         * elmo-version.el (elmo-version): Up to 2.11.32.
1278
1279 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1280
1281         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1282         (elmo-global-flag-list): Added obsolete variable setting.
1283
1284         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1285
1286         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1287         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1288         `elmo-mime-display-header-analysis' is nil.
1289
1290         * elmo-flag.el (elmo-global-flags): Renamed from
1291         `elmo-global-flag-list' (All other related portions are changed).
1292         (elmo-local-flags): New variable.
1293         (elmo-local-flag-p): New function.
1294         (elmo-global-flag-set-internal): Cause an error when flag is not
1295         global.
1296
1297 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1298
1299         * elmo-util.el (elmo-concat-path): Treat empty path.
1300
1301 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1302
1303         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1304         field-or-fields).
1305         (elmo-split-address-match): Ditto.
1306         (elmo-split-equal): Ditto.
1307         (elmo-split-match): Ditto.
1308
1309 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1310
1311         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1312         (elmo-generic-folder-append-messages): If src message exists but
1313         has no flag, pass (read) for the FLAG argument of
1314         `elmo-folder-append-buffer'. Otherwise, pass nil.
1315
1316         * elmo-split.el (elmo-split-subr): Likewise.
1317
1318         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1319
1320         * elmo-multi.el (elmo-message-flags): Ditto.
1321
1322         * elmo-filter.el (elmo-message-flags): Ditto.
1323
1324         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1325         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1326         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1327         
1328 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1329
1330         * elmo-split.el (elmo-split-rule): Update comment.
1331         (elmo-split-address-equal): Allow 2nd argument to be a list.
1332         (elmo-split-address-match): Ditto.
1333         (elmo-split-equal): Ditto.
1334         (elmo-split-match): Ditto.
1335
1336 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1337
1338         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1339         (elmo-folder-append-msgdb): Don't treat `read'.
1340         (elmo-message-flags): Don't return `read'.
1341
1342         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1343         (elmo-folder-unset-read-delayed): Ditto.
1344
1345         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1346
1347 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1348
1349         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1350         deletion.
1351
1352 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1353
1354         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1355         header.
1356
1357 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1358
1359         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1360         here.
1361         (elmo-msgdb-save): Bind inhibit-quit.
1362         (modb-standard-message-entity): Ditto.
1363
1364 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1365
1366         * elmo-database.el: No need to require elmo-msgdb.
1367
1368 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1369
1370         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1371         instead of `elmo-list-subdirectories'.
1372
1373 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1374
1375         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1376         group entry.
1377         (elmo-folder-exists-p): "[" is empty.
1378         (elmo-folder-list-subfolders): Define.
1379         (elmo-folder-have-subfolder-p): Ditto.
1380
1381 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1382
1383         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1384
1385 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1386
1387         * elmo-filter.el (elmo-folder-local-p): Define.
1388
1389 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1390
1391         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1392         when entity is garbaged.
1393         (modb-standard-save-entity-1): Don't modify the original entity.
1394
1395 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1396
1397         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1398
1399 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1400
1401         * elmo.el (elmo-strict-folder-diff): Use
1402         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1403
1404 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1405
1406         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1407         (elmo-msgdb-message-number): Ditto.
1408         (elmo-msgdb-message-field): Ditto.
1409
1410         * modb-standard.el (modb-standard-economize-entity-size): New user
1411         option.
1412         (modb-standard-loaded-message-id): New inline function.
1413         (modb-standard-load-entity): Use it.
1414         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1415         throw message-id string away.
1416         (elmo-msgdb-flag-available-p): Define.
1417         (elmo-msgdb-message-number): Ditto.
1418         (elmo-msgdb-message-field): Ditto.
1419
1420         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1421         (suppoted -> supported).
1422         (modb-legacy-supported-flag-p): Ditto.
1423         (elmo-msgdb-set-flag): Ditto.
1424         (elmo-msgdb-unset-flag): Ditto.
1425         (elmo-msgdb-flag-available-p): Define.
1426
1427         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1428         is `t', treat it as legacy entity.
1429         
1430         * elmo.el (elmo-message-flag-available-p): New generic function.
1431         (elmo-message-number): Ditto.
1432         (elmo-message-field): Use `elmo-msgdb-message-field'.
1433
1434         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1435
1436         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1437         (elmo-message-number): Ditto.
1438
1439         * elmo-multi.el (elmo-message-number): Define.
1440         (elmo-message-flag-available-p): Ditto.
1441
1442         * elmo-filter.el (elmo-message-flag-available-p): Define.
1443         (elmo-message-number): Ditto.
1444
1445         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1446         (elmo-folder-initialize): Load `max-number'.
1447         (elmo-folder-commit): Save it.
1448         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1449         (elmo-global-flag-set-internal): Set up max-number slot.
1450
1451 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1452
1453         * elmo-version.el (elmo-version): Up to 2.11.31.
1454
1455 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1456
1457         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1458         unibyte string of the current buffer for the argument of `md5'
1459         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1460
1461 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1462
1463         * modb-legacy.el (modb-legacy-flag-list): New constant.
1464         (modb-legacy-suppoted-flag-p): New internal function.
1465         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1466         (elmo-msgdb-unset-flag): Ditto.
1467
1468 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1469
1470         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1471
1472         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1473         from msgdb.
1474
1475 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1476
1477         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1478         (follow the API change).
1479
1480         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1481
1482 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1483
1484         * modb-standard.el (modb-standard-digest-flags): Abolish.
1485         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1486
1487         * elmo-vars.el (elmo-digest-flags): New variable.
1488         (elmo-preserved-flags): Moved from elmo-flag.el.
1489
1490         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1491         (elmo-imap4-flag-to-imap-criteria): Ditto.
1492         (elmo-imap4-folder-list-flagged): Use it.
1493
1494         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1495
1496         * elmo.el (elmo-folder-count-flags): Changed return value.
1497
1498         * elmo-flag.el (elmo-preserved-flags): New variable.
1499         (elmo-get-global-flags): Use it.
1500
1501         * modb-standard.el (modb-standard-digest-flags): New variable.
1502         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1503         Changed behavior of `any'.
1504
1505         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1506         which are defined the Internet draft
1507         (draft-melnikov-imap-keywords-03.txt).
1508         (elmo-imap4-flags-to-imap): New function.
1509         (elmo-folder-append-buffer): Use it.
1510
1511         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1512         in the docstring.
1513
1514         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1515         avoid the bug of Emacs 21.3.
1516
1517 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1518
1519         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1520         function find-coding-system does not exist.
1521
1522 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1523
1524         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1525         parsing.
1526
1527 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1528
1529         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1530         response codes.
1531
1532 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1533
1534         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1535         (elmo-network-close-session): Follow the changes in
1536         `elmo-pop3-read-response'.
1537         (elmo-pop3-auth-user): Ditto.
1538         (elmo-pop3-auth-apop): Ditto.
1539         (elmo-network-initialize-session): Ditto.
1540         (elmo-network-authenticate-session): Ditto.
1541         (elmo-network-setup-session): Ditto.
1542         (elmo-folder-status): Ditto.
1543         (elmo-message-fetch-plugged): Ditto.
1544         (elmo-pop3-delete-msg): Ditto.
1545
1546 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1547
1548         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1549         on failure.
1550
1551 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1552
1553         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1554         style.
1555         (elmo-bind-directory): Ditto.
1556
1557 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1558
1559         * elmo.el (elmo-folder-append-messages): Note on return value.
1560         * elmo-archive.el (elmo-folder-append-messages): Don't return
1561         message numbers which could not be appended.
1562
1563 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1564
1565         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1566
1567 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1568
1569         * elmo-version.el (elmo-version): Up to 2.11.30.
1570
1571 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1572
1573         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1574         `mask'.
1575
1576         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1577
1578         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1579         (elmo-multi-split-numbers): Add elmo-folder object into each
1580         element of return value at first.
1581         (elmo-folder-delete-messages): Follow the above change.
1582         (elmo-folder-detach-messages): Ditto.
1583
1584         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1585         number which is synchronized in target folder.
1586
1587 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1588
1589         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1590         Change default value to symbol `all'.
1591         (elmo-map-message-fetch): Change condition to update overview
1592         follow the above.
1593
1594 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1595
1596         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1597         behavior to update overview.
1598         (elmo-shimbun-update-overview-folder-list): Note it.
1599
1600 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1601
1602         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1603         recursive call.
1604
1605 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1606
1607         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1608         buffer-disable-undo, it is unnecessary.
1609         (elmo-spam-register-good-messages): Ditto.
1610
1611         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1612         Ditto.
1613
1614         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1615
1616 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1617
1618         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1619         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1620         elmo-set-buffer-multibyte.
1621         (elmo-object-load): Ditto.
1622         (elmo-save-buffer): Ditto.
1623         (elmo-delete-char): Ditto.
1624         (elmo-file-field-primitive-condition-match): Ditto.
1625         (elmo-mime-string): Ditto.
1626
1627         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1628         (elmo-archive-field-condition-match): Ditto.
1629
1630         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1631
1632         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1633
1634         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1635         (elmo-nntp-msgdb-create-message): Ditto.
1636
1637         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1638
1639         * elmo.el (elmo-message-match-condition): Ditto.
1640         (elmo-message-match-condition): Ditto.
1641
1642         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1643         Ditto.
1644
1645         * elmo-version.el (elmo-version): Up to 2.11.29.
1646
1647         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1648         (elsp-header): New backend.
1649
1650         * elmo-util.el (elmo-decoded-field-body): New function.
1651
1652 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1653
1654         * elmo-version.el (elmo-version): Up to 2.11.28.
1655
1656 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1657
1658         * elmo-filter.el: Rewrite.
1659
1660         * elmo-version.el (elmo-version): Up to 2.11.27.
1661
1662 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1663
1664         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1665         msgdb path for the localdir folder with absolute path.
1666
1667         * utf7.el: Synch up with latest gnus/utf7.el;
1668         Modified for latest Emacs.
1669
1670 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1671
1672         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1673         shimbun backend couldn't open.
1674
1675 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1676
1677         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1678         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1679         when a destination folder is a filter folder.
1680
1681 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1682
1683         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1684         (elmo-generic-folder-append-messages): Call elmo-message-flags
1685         with argument `msgid'.
1686
1687         * elmo-split.el (elmo-split-subr): Ditto.
1688
1689         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1690
1691         * elmo-multi.el (elmo-message-flags): Ditto.
1692
1693 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1694
1695         * elmo.el (elmo-folder): Add new slot `flag-table'.
1696         (elmo-folder-flag-table): New API.
1697         (elmo-folder-close-flag-table): Ditto.
1698         (elmo-folder-preserve-flags): New function.
1699         (elmo-generic-folder-append-messages): Use
1700         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1701         Flag of a non-registered message, it sets to nil.
1702         Does not set flag to flag-table.
1703
1704         * elmo-maildir.el (elmo-folder-append-buffer): Use
1705         `elmo-folder-preserve-flags'.
1706         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1707         `elmo-folder-close-flag-table'.
1708
1709         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1710         (elmo-archive-folder-append-buffer): Use
1711         `elmo-folder-preserve-flags'.
1712
1713         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1714
1715         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1716
1717         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1718         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1719         `elmo-folder-close-flag-table'.
1720
1721         * elmo-version.el (elmo-version): Up to 2.11.26.
1722
1723 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1724
1725         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1726
1727         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1728         md5's 4th and 5th argument (non-existent in flim one).
1729
1730 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1731
1732         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1733         message, It sets to nil.
1734
1735 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1736
1737         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1738         list is non-nil.
1739
1740 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1741
1742         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1743
1744         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1745
1746         * elmo-util.el (elmo-uniq-sorted-list): New function.
1747         (elmo-make-number-list): Ditto.
1748         (elmo-number-set-to-number-list): Use elmo-make-number-list
1749         and don't use nreverse.
1750
1751 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1752
1753         * elmo-version.el (elmo-version): Up to 2.11.25.
1754
1755 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1756
1757         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1758         field not exists in message, Use md5 message digest of header.
1759
1760 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1761
1762         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1763         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1764         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1765         * elmo-split.el (elmo-split-subr): Check return value of
1766         elmo-folder-append-buffer.
1767
1768         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1769         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1770
1771         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1772         message-id.
1773
1774 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1775
1776         * elmo-split.el (elmo-split-subr): Append message with flag.
1777
1778         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1779         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1780         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1781
1782 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1783
1784         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1785         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1786         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1787
1788 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1789
1790         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1791         with a function call of `process-buffer'.  All callers are updated.
1792         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1793         Remove redundant `set-buffer' in a while loop.
1794
1795 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1796
1797         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1798         calls.
1799
1800 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1801
1802         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1803         elsp-spamfilter-register-buffer-internal with current buffer.
1804         (elmo-spam-register-spam-buffer): Ditto.
1805         (elmo-spam-register-good-buffer): Ditto.
1806
1807 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1808
1809         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1810         if it is not contained in the response(A workaround for courier-imap).
1811
1812 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1813
1814         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1815         parenthesis.
1816
1817 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1818
1819         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1820         range.
1821
1822 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1823
1824         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1825         of nconc.
1826
1827         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1828         argument handler.
1829         (elmo-msgdb-message-match-condition): Follow the change above.
1830
1831 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1832
1833         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1834         folder name.
1835
1836 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1837
1838         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1839
1840 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1841
1842         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1843
1844 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1845
1846         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1847         not found.
1848
1849 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1850
1851         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1852         value.
1853         (elmo-file-command-argument): Undo last change for cygwin.
1854         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1855         Don't return nil.
1856         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1857
1858 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1859
1860         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1861         value returned from elmo-file-find is nil.
1862
1863 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1864
1865         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1866         to elmo-vars.el.
1867
1868         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1869         instead of insert-file-contents-as-binary.
1870         (elmo-message-set-field): New generic function.
1871
1872         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1873         behavior change on `split-string'.
1874
1875         * elmo-file.el (elmo-file-find): New function.
1876         (elmo-file-command): New user option.
1877         (elmo-file-command-argument): Ditto.
1878         (elmo-file-fetch-max-size): Ditto.
1879         (elmo-file-detect-format): New function.
1880         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1881         Use elmo-file-detect-format.
1882         (elmo-map-folder-list-message-locations): Don't treat directories.
1883
1884 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1885
1886         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1887         (elmo-passwd-alist-clear): Shred password before clear.
1888         (elmo-remove-passwd): Remove all mached pair.
1889
1890 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1891
1892         * elmo.el (elmo-folder-synchronize): Fix description of the return
1893         value.
1894
1895 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1896
1897         * elmo.el (elmo-message-fetch-bodystructure): New method.
1898         (elmo-message-fetch-bodystructure): Define default.
1899
1900         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1901         elmo-message-fetch-bodystructure.
1902         (elmo-message-fetch-bodystructure): Define.
1903
1904         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1905
1906 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1907
1908         * elmo-filter.el (elmo-message-folder): Define.
1909
1910 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1911
1912         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1913         elmo-delete-cr-buffer.
1914
1915         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1916
1917         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1918
1919         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1920
1921         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1922         type seems to be a text.
1923
1924 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1925
1926         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1927         (elmo-spam-register-good-buffer): Ditto.
1928         (elmo-spam-spamassassin-register-messages): Ditto.
1929
1930         * elmo-util.el (elmo-string-member-ignore-case): Define with
1931         static-cond.
1932
1933 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1934
1935         * elmo.el (elmo-folder-type): Undo last change.
1936
1937         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1938
1939         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1940         warnings.
1941
1942         * elmo-file.el: New file.
1943         
1944         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1945
1946         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1947         variable.
1948         (elmo-spam-spamassassin-register-messages): New inline function.
1949         (elmo-spam-register-spam-messages): Define.
1950         (elmo-spam-register-good-messages): Ditto.
1951
1952         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1953         Fixed typo.
1954
1955         * elmo.el (toplevel): Added autoload setting for
1956         `elmo-get-global-flags'.
1957         (elmo-message-has-global-flag-p): New function.
1958         (elmo-message-set-global-flags): Ditto.
1959         (elmo-folder-type): Improvement for name: format.
1960
1961         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1962         availability of keyword flags.
1963         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1964         (elmo-folder-list-flagged-plugged): Renamed from
1965         elmo-folder-list-flagged-unplugged.
1966         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1967         accept any flag as keyword flag.
1968         (elmo-folder-set-flag-plugged): Accept keyword flags.
1969         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1970
1971         * elmo-flag.el (elmo-get-global-flags): New function.
1972
1973         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1974         folders.
1975
1976         * elmo-version.el (elmo-version): Up to 2.11.24.
1977
1978 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1979
1980         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1981         elmo-multiple-field-body instead of std11-field-body to check all
1982         headers.
1983
1984 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1985
1986         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1987         or "size".
1988
1989 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1990
1991         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1992         unintern is unbound.
1993
1994 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1995
1996         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1997         Protect from infinite loop.
1998
1999 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2000
2001         * elsp-bogofilter.el
2002         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2003         (elmo-spam-bogofilter-register-messages): New internal function.
2004         (elmo-spam-register-spam-messages): Define.
2005         (elmo-spam-register-good-messages): Ditto.
2006
2007 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2008
2009         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2010         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2011         (elmo-spam-bogofilter-call): Fixed the last change.
2012         (elmo-spam-bogofilter-arguments): Ditto.
2013
2014         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2015         Follow the options change of latest bogofilter.
2016
2017         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2018         (elmo-spam-bogofilter-good-switch): Ditto.
2019         (elmo-spam-bogofilter-arguments-alist): New user option.
2020         (elmo-spam-bogofilter-debug): Ditto.
2021         (elmo-spam-bogofilter-call): Renamed from
2022         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2023         is non-nil, insert output in buffer for debug.
2024         (elmo-spam-bogofilter-arguments): New macro.
2025         (elmo-spam-buffer-spam-p): Use it.
2026         (elsp-bogofilter-register-buffer): Ditto.
2027
2028 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2029
2030         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2031         regexp.
2032
2033 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2034
2035         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2036         value as "ruby".
2037         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2038         (elmo-spam-bsfilter-program): Set default value as full path for
2039         `bsfilter'.
2040         (elmo-spam-bsfilter-debug): New user option.
2041         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2042         non-nil, insert output in buffer for debug. Fix treating of
2043         argument.
2044
2045 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2046
2047         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2048         `elmo-maildir-flag-specs' element instead of one.
2049         (elmo-map-folder-unset-flag): Ditto.
2050         (Reported by Ken Makimura <macky@astem.or.jp>)
2051
2052         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2053         (elmo-folder-unset-flag-plugged): Ditto.
2054
2055 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2056
2057         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2058         to `reads' slot only if `in-msgdb' is nil.
2059
2060 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2061
2062         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2063         and complement argument list.
2064
2065 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2066
2067         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2068         instead of elmo-folder-list-flagged.
2069
2070 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2071
2072         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2073
2074         * elsp-bsfilter.el: New file.
2075
2076         * elmo-pipe.el (elmo-folder-list-unreads,
2077         elmo-folder-list-answereds,
2078         elmo-folder-list-importants,
2079         elmo-folder-flag-as-important,
2080         elmo-folder-unflag-important,
2081         elmo-folder-flag-as-read,
2082         elmo-folder-unflag-read,
2083         elmo-folder-flag-as-answered,
2084         elmo-folder-unflag-answered): Remove.
2085         (elmo-folder-set-flag): Define.
2086         (elmo-folder-unset-flag): Ditto.
2087
2088         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2089         (elmo-folder-set-flag): Define.
2090         (elmo-folder-unset-flag): Ditto.
2091         (elmo-folder-list-unreads): Remove.
2092         (elmo-folder-list-flagged): Define.
2093
2094         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2095         (elmo-folder-list-unreads,
2096         elmo-folder-list-importants,
2097         elmo-folder-list-answereds,
2098         elmo-folder-list-unreads-plugged,
2099         elmo-folder-list-importants-plugged,
2100         elmo-folder-list-answereds-plugged): Remove.
2101         (elmo-folder-list-flagged-plugged): New method.
2102         (elmo-folder-unflag-important,
2103         elmo-folder-flag-as-important,
2104         elmo-folder-unflag-read,
2105         elmo-folder-flag-as-read,
2106         elmo-folder-unflag-answered,
2107         elmo-folder-flag-as-answered,
2108         elmo-folder-flag-as-read-unplugged,
2109         elmo-folder-unflag-read-unplugged,
2110         elmo-folder-flag-as-important-unplugged,
2111         elmo-folder-unflag-important-unplugged,
2112         elmo-folder-flag-as-answered-unplugged,
2113         elmo-folder-unflag-answered-unplugged): Remove.
2114         (elmo-folder-set-flag): Define.
2115         (elmo-folder-unset-flag): Ditto.
2116         (elmo-folder-set-flag-unplugged): Ditto.
2117         (elmo-folder-unset-flag-unplugged): Ditto.
2118
2119         * elmo-multi.el (elmo-folder-list-unreads,
2120         elmo-folder-list-answereds,
2121         elmo-folder-list-importants,
2122         elmo-folder-flag-as-important,
2123         elmo-folder-unflag-important,
2124         elmo-folder-flag-as-read,
2125         elmo-folder-unflag-read,
2126         elmo-folder-flag-as-answered,
2127         elmo-folder-unflag-answered): Remove.
2128         (elmo-folder-set-flag): Define.
2129         (elmo-folder-unset-flag): Ditto.
2130
2131         * elmo-map.el (elmo-map-folder-unflag-important,
2132         elmo-map-folder-flag-as-important,
2133         elmo-map-folder-unflag-read,
2134         elmo-map-folder-flag-as-read,
2135         elmo-map-folder-unflag-answered,
2136         elmo-map-folder-flag-as-answered): Remove.
2137         (elmo-map-folder-set-flag): New method.
2138         (elmo-map-folder-unset-flag): Ditto.
2139         (elmo-map-folder-list-unreads,
2140         elmo-map-folder-list-importants,
2141         elmo-map-folder-list-answereds): Remove.
2142         (elmo-folder-list-flagged-internal): Define.
2143         (elmo-map-folder-list-flagged): New method.
2144
2145         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2146         (elmo-map-folder-list-unreads,
2147         elmo-map-folder-list-importants,
2148         elmo-map-folder-list-flagged): Remove.
2149         (elmo-map-folder-list-flagged): Define.
2150         (elmo-map-folder-flag-as-important,
2151         elmo-map-folder-unflag-important,
2152         elmo-map-folder-flag-as-read,
2153         elmo-map-folder-unflag-read,
2154         elmo-map-folder-flag-as-answered,
2155         elmo-map-folder-unflag-answered): Remove.
2156         (elmo-maildir-set-mark-messages): New internal function.
2157         (elmo-map-folder-set-flag): Define.
2158         (elmo-map-folder-unset-flag): Ditto.
2159
2160         * elmo.el (toplevel): Added autoload setting for
2161         `elmo-folder-list-global-flag-messages'.
2162         (elmo-folder-list-unreads,
2163         elmo-folder-list-importants,
2164         elmo-folder-list-answereds): Remove.
2165         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2166         Return a list whitch merged with messages have global flag.
2167         (elmo-folder-list-flagged-internal): New method.
2168         (elmo-folder-unflag-important,
2169         elmo-folder-flag-as-important,
2170         elmo-folder-unflag-read,
2171         elmo-folder-flag-as-read,
2172         elmo-folder-unflag-answered,
2173         elmo-folder-flag-as-answered): Remove.
2174         (elmo-folder-set-flag): New method.
2175         (elmo-folder-unset-flag): Ditto.
2176         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2177         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2178
2179         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2180         (elmo-folder-list-unreads-plugged,
2181         elmo-folder-list-importants-plugged,
2182         elmo-folder-list-answereds-plugged,
2183         elmo-folder-list-flagged-unplugged,
2184         elmo-folder-unflag-important-plugged,
2185         elmo-folder-flag-as-important-plugged,
2186         elmo-folder-unflag-read-plugged,
2187         elmo-folder-flag-as-read-plugged,
2188         elmo-folder-unflag-answered-plugged,
2189         elmo-folder-flag-as-answered-plugged): Remove.
2190         (elmo-folder-set-flag-plugged,
2191         elmo-folder-unset-flag-plugged): Define.
2192
2193         * elmo-flag.el (elmo-folder-initialize): Register to
2194         `elmo-global-flag-list' if flag is not global.
2195         (elmo-folder-append-messages): Set flag to source messages.
2196
2197         * elmo-filter.el (elmo-filter-folder-list-unreads,
2198         elmo-folder-list-unreads,
2199         elmo-filter-folder-list-importants,
2200         elmo-folder-list-importants,
2201         elmo-folder-flag-as-read,
2202         elmo-folder-unflag-read,
2203         elmo-folder-flag-as-important,
2204         elmo-folder-unflag-important,
2205         elmo-folder-flag-as-answered,
2206         elmo-folder-unflag-answered): Remove.
2207         (elmo-folder-set-flag): Define.
2208         (elmo-folder-unset-flag): Ditto.
2209
2210         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2211         elmo-folder-unflag-read-dop,
2212         elmo-folder-flag-as-important-dop,
2213         elmo-folder-unflag-important-dop,
2214         elmo-folder-flag-as-answered-dop,
2215         elmo-folder-unflag-answered-dop): Remove.
2216         (elmo-folder-set-flag-dop,
2217         elmo-folder-unset-flag-dop,
2218         elmo-folder-set-important-delayed,
2219         elmo-folder-unset-important-delayed,
2220         elmo-folder-set-read-delayed,
2221         elmo-folder-unset-read-delayed,
2222         elmo-folder-set-answered-delayed,
2223         elmo-folder-unset-answered-delayed): New function.
2224         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2225         (elmo-dop-queue-method-name-alist): Ditto.
2226
2227         * elmo-version.el (elmo-version): Up to 2.11.23.
2228
2229 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2230
2231         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2232
2233         * elsp-sa.el: New file.
2234
2235 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2236
2237         * modb-standard.el (modb-standard-message-entity): New function.
2238         (elmo-msgdb-message-entity): Use it.
2239
2240 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2241
2242         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2243         behavior when one-level is nil.
2244
2245         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2246
2247         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2248
2249 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2250
2251         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2252         get max number.
2253         (elmo-generic-folder-diff): Ditto.
2254
2255         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2256         (elmo-folder-update-number): Ditto.
2257
2258         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2259         (elmo-folder-next-message-number-dop): Ditto.
2260
2261 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2262
2263         * elmo-filter.el (elmo-folder-msgdb-create): Use
2264         `elmo-message-entity' and `elmo-message-flags' instead of
2265         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2266
2267 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2268
2269         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2270         `if-exists'.
2271
2272 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2273
2274         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2275
2276         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2277
2278         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2279
2280 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2281
2282         * elmo-version.el (elmo-version): Up to 2.11.22.
2283
2284 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2285
2286         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2287
2288 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2289
2290         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2291         if the message dose not exist.
2292
2293 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2294
2295         * elmo-version.el (elmo-version): Up to 2.11.21.
2296
2297 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2298
2299         * modb-standard.el (toplevel): Don't require mime.
2300
2301 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * elsp-bogofilter.el (toplevel): Don't require path-util.
2304         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2305         (elmo-spam-bogofilter-header): Abolish.
2306         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2307         (elmo-spam-bogofilter-args): New user option.
2308         (elsp-bogofilter-call-bogofilter): New internal function.
2309         (elmo-spam-buffer-spam-p): Use it.
2310         (elsp-bogofilter-register-buffer): Renamed from
2311         `elmo-spam-bogofilter-register-buffer';
2312         Use `elsp-bogofilter-call-bogofilter'.
2313         (elmo-spam-register-spam-buffer): Follow the change above.
2314         (elmo-spam-register-good-buffer): Ditto.
2315
2316 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2317
2318         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2319         message-id is nil do nothing.
2320
2321 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2322
2323         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2324         Revival.
2325         (elmo-imap4-session): Removed use-flag slot.
2326         (elmo-imap4-session-select-mailbox): Undo last change.
2327         (elmo-folder-use-flag-p): Use
2328         elmo-imap4-disuse-server-flag-mailbox-regexp.
2329
2330 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2331
2332         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2333         (elmo-imap4-session-select-mailbox): Set it up.
2334         (elmo-folder-use-flag-p): Return value of use-flag slot.
2335
2336 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2337
2338         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2339         message-id is nil.
2340         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2341
2342         * modb-entity.el (elmo-message-entity-handler): Likewise.
2343
2344 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2345
2346         * elmo.el (toplevel): Remove setting of autoloding for
2347         elmo-global-flag-initialize.
2348         (elmo-init): Don't call elmo-global-flag-initialize.
2349         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2350
2351         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2352         (elmo-global-mark-migrate): Don't call it.
2353         (elmo-global-mark-upgrade): Ditto.
2354
2355 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2356
2357         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2358         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2359
2360         * elmo-vars.el (elmo-init-hook): New user option.
2361
2362         * elmo.el (elmo-init): Run the elmo-init-hook.
2363
2364         * elmo-flag.el (elmo-global-mark-migrate): New function.
2365
2366 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2367
2368         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2369         Undo last change (move to elmo-msgdb-unset-flag).
2370         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2371         flag is unset.
2372
2373 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2374
2375         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2376         read flag is set.
2377         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2378         (elmo-msgdb-unset-flag): Ditto.
2379
2380 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2381
2382         * elmo-split.el (elmo-split): Return split message count.
2383
2384 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2385
2386         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2387         is nil.
2388
2389 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2390
2391         * elmo.el (elmo-folder-unflag-important): Call
2392         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2393         a symbol `always'.
2394
2395         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2396         before unset flag.
2397         (elmo-global-flag-detach): Delete the message from flag folder, if
2398         `delete-if-none' is a symbol `always'.
2399
2400 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2401
2402         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2403         `elmo-spam-spamfilter-decode-buffer'.
2404         (elsp-spamfilter-register-buffer-internal): New internal function.
2405         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2406         (elmo-spam-register-spam-buffer): Ditto.
2407         (elmo-spam-register-good-buffer): Ditto.
2408
2409         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2410         change.
2411         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2412         (elmo-spam-register-spam-buffer): Follow the API change.
2413         (elmo-spam-register-good-buffer): Ditto.
2414
2415         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2416         (elmo-split-spam-p): Added argument plist; Call
2417         `elmo-spam-buffer-spam-p' with new argument register.
2418
2419         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2420         `register'.
2421         (elmo-spam-message-spam-p): Ditto.
2422         (elmo-spam-register-spam-buffer): Added optional argument
2423         `restore'.
2424         (elmo-spam-register-good-buffer): Ditto.
2425         (elmo-spam-register-spam-messages): Ditto.
2426         (elmo-spam-register-good-messages): Ditto.
2427
2428 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2429
2430         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2431         register into good corpus.
2432         (elmo-spam-register-good-buffer): Fixed to register into bad
2433         corpus.
2434
2435 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2436
2437         * elmo-version.el (elmo-version): Up to 2.11.20.
2438
2439         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2440         change.
2441
2442         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2443         flag without depending on \Recent flag.
2444
2445 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2446
2447         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2448         (elmo-spam-modified-p): Defined.
2449         (elmo-spam-save-status): Set `modified' slot to nil.
2450         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2451         (elmo-spam-register-good-buffer): Ditto.
2452
2453         * elmo-spam.el (elmo-spam-modified-p): New API.
2454
2455 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2456
2457         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2458         duplicate definition.
2459
2460         * elmo-util.el (elmo-unfold-field-body): New function.
2461         (elmo-msgdb-get-message-id-from-buffer): Use it.
2462
2463         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2464         Fixed the last change; Use elmo-unfold-field-body.
2465
2466 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2467
2468         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2469         Unfold date value.
2470
2471 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2472
2473         * elmo-spam.el (elmo-spam-save-status): New API.
2474
2475         * elsp-spamfilter.el: New file.
2476
2477 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2478
2479         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2480
2481 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2482
2483         * elmo-split.el (elmo-split-spam-p): New function.
2484
2485         * elmo-spam.el: New file.
2486
2487         * elsp-bogofilter.el: Ditto.
2488
2489 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2490
2491         * elmo.el (elmo-folder-next-message-number): New API.
2492         (elmo-folder-next-message-number): Define.
2493         (elmo-message-field): Don't check folder length.
2494
2495         * elmo-net.el (elmo-folder-next-message-number): Define.
2496         (elmo-folder-next-message-number-unplugged): Define.
2497
2498         * elmo-map.el (elmo-folder-next-message-number): Define.
2499         (elmo-folder-delete-messages): Clear hash value.
2500
2501         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2502
2503         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2504         (elmo-folder-delete-messages-dop-delayed): Always return t.
2505
2506         * elmo-version.el (elmo-version): Up to 2.11.19.
2507
2508 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2509
2510         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2511         change.
2512
2513         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2514         identical cons cell into the mark-alist and the hash table.
2515
2516 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2517
2518         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2519         elmo-folder-list-messages with argument `visible-only' as t.
2520
2521         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2522         (elmo-folder-msgdb-create): Check the target folder.
2523
2524 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2525
2526         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2527         `permanentflag' instead of `flags'.
2528         (elmo-folder-open): Ditto.
2529         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2530         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2531         (elmo-folder-use-flag-p): Always return t.
2532         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2533         `permanentflags' does not exist.
2534         (elmo-folder-open): Ditto.
2535
2536 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2537
2538         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2539         is nil.
2540         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2541
2542         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2543         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2544         response.
2545         (elmo-folder-open): Ditto.
2546         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2547         slot of the session includes the flag.
2548         (elmo-imap4-session-flag-available-p): New function.
2549         (elmo-imap4-folder-list-flagged): Ditto.
2550         (elmo-folder-list-unreads-plugged): Use it.
2551         (elmo-folder-list-importants-plugged): Ditto.
2552         (elmo-folder-list-answereds-plugged): Ditto.
2553         (elmo-imap4-search-internal-primitive): Ditto.
2554         (elmo-imap4-folder-list-any-plugged,
2555         elmo-imap4-folder-list-digest-plugged): Abolish.
2556
2557         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2558         if numbers is nil.
2559
2560 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2561
2562         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2563
2564 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2565
2566         * elmo-util.el (elmo-get-hash-val): Simplify.
2567         (elmo-set-hash-val): Rewrite.
2568
2569 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2570
2571         * elmo.el (elmo-folder-list-messages): Append killed messages into
2572         result if `visible-only' is nil and `in-msgdb' is non-nil.
2573
2574         * elmo-util.el (elmo-uniq-list): Added optional argument
2575         `delete-function'.
2576
2577         * modb.el (elmo-msgdb-flag-count): New API.
2578
2579         * modb-standard.el (modb-standard): Added slot flag-count.
2580         (modb-standard-countup-flags): New function.
2581         (modb-standard-load-flag): Call it.
2582         (elmo-msgdb-append): Ditto.
2583         (elmo-msgdb-clear): Clear slot flag-count.
2584         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2585         (elmo-msgdb-unset-flag): Treat `all' flag and call
2586         modb-standard-countup-flags.
2587         (elmo-msgdb-flag-count): Define.
2588         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2589         (elmo-msgdb-delete-messages): Ditto.
2590
2591         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2592         (elmo-msgdb-flag-count): Define.
2593
2594         * elmo.el (elmo-folder-list-messages): Undo last change.
2595         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2596         (elmo-folder-kill-messages): Unset all flags to numbers.
2597
2598         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2599         elmo-folder-kill-messages.
2600
2601         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2602         (elmo-nntp-folder-delete-messages): Abolish.
2603
2604         * elmo-version.el (elmo-version): Up to 2.11.18.
2605
2606 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2607
2608         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2609         (elmo-folder-kill-messages-range): New function.
2610         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2611         instead of elmo-folder-kill-messages-before.
2612
2613 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2614
2615         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2616         elmo-imap4-current-msgdb to decide entity handler.
2617
2618 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2619
2620         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2621
2622         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2623         inline function.
2624         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2625         (elmo-msgdb-overview-entity-set-number,
2626         elmo-msgdb-overview-entity-get-references,
2627         elmo-msgdb-overview-entity-set-references,
2628         elmo-msgdb-overview-entity-get-from-no-decode,
2629         elmo-msgdb-overview-entity-get-from,
2630         elmo-msgdb-overview-entity-set-from,
2631         elmo-msgdb-overview-entity-get-subject,
2632         elmo-msgdb-overview-entity-get-subject-no-decode,
2633         elmo-msgdb-overview-entity-set-subject,
2634         elmo-msgdb-overview-entity-get-date,
2635         elmo-msgdb-overview-entity-set-date,
2636         elmo-msgdb-overview-entity-get-to,
2637         elmo-msgdb-overview-entity-get-cc,
2638         elmo-msgdb-overview-entity-get-size,
2639         elmo-msgdb-overview-entity-set-size,
2640         elmo-msgdb-overview-entity-get-extra,
2641         elmo-msgdb-overview-entity-set-extra,
2642         elmo-msgdb-overview-entity-get-extra-field,
2643         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2644         (elmo-msgdb-make-index): Use
2645         `elmo-msgdb-overview-entity-get-number-internal'.
2646         (elmo-msgdb-clear-index): Ditto.
2647         (elmo-msgdb-append-entity): Ditto;
2648         Use `elmo-msgdb-overview-entity-get-id-internal'.
2649
2650         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2651         elmo-msgdb-overview-entity-set-number,
2652         elmo-msgdb-overview-entity-get-references,
2653         elmo-msgdb-overview-entity-set-references,
2654         elmo-msgdb-overview-entity-get-from-no-decode,
2655         elmo-msgdb-overview-entity-get-from,
2656         elmo-msgdb-overview-entity-set-from,
2657         elmo-msgdb-overview-entity-get-subject,
2658         elmo-msgdb-overview-entity-get-subject-no-decode,
2659         elmo-msgdb-overview-entity-set-subject,
2660         elmo-msgdb-overview-entity-get-date,
2661         elmo-msgdb-overview-entity-set-date,
2662         elmo-msgdb-overview-entity-get-to,
2663         elmo-msgdb-overview-entity-get-cc,
2664         elmo-msgdb-overview-entity-get-size,
2665         elmo-msgdb-overview-entity-set-size,
2666         elmo-msgdb-overview-entity-get-extra,
2667         elmo-msgdb-overview-entity-set-extra,
2668         elmo-msgdb-overview-entity-get-extra-field,
2669         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2670         and rewrote for backward compatibility.
2671
2672 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2673
2674         * elmo.el (elmo-message-entity-number,
2675         elmo-message-entity-set-number,
2676         elmo-message-entity-field,
2677         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2678
2679         * elmo-msgdb.el (elmo-message-entity-number,
2680         elmo-message-entity-set-number,
2681         elmo-message-entity-field,
2682         elmo-message-entity-set-field): Moved from elmo.el.
2683
2684 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2685
2686         * elmo.el (toplevel): Changed definition orders.
2687
2688 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2689
2690         * modb.el (elmo-msgdb-search): New API .
2691         (elmo-msgdb-match-condition): Ditto.
2692
2693         * modb-standard.el (elmo-msgdb-search): Define.
2694
2695         * modb-legacy.el (elmo-msgdb-search): Ditto.
2696
2697         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2698         from elmo-msgdb-match-condition-internal.
2699
2700         * elmo.el (elmo-folder-search-fast): Abolish.
2701         (elmo-folder-search): Use elmo-msgdb-search and
2702         elmo-with-progress-display.
2703
2704         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2705         as msgdb API.
2706
2707         * elmo.el (elmo-folder): Remove slot message-modified and
2708         flag-modified.
2709         (elmo-folder-set-message-modified): Abolish.
2710         (elmo-generic-folder-commit): Follow the change above.
2711         (elmo-folder-synchronize): Ditto.
2712
2713         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2714
2715         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2716
2717         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2718
2719 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2720
2721         * modb-standard.el (modb-standard-make-message-entity,
2722         elmo-msgdb-make-message-entity,
2723         elmo-msgdb-create-message-entity-from-buffer,
2724         elmo-msgdb-message-entity-number,
2725         elmo-msgdb-message-entity-set-number,
2726         elmo-msgdb-message-entity-field,
2727         elmo-msgdb-message-entity-set-field,
2728         elmo-msgdb-copy-message-entity,
2729         elmo-msgdb-match-condition-internal): Remove.
2730
2731         * modb-entity.el: New file (again).
2732
2733         * modb.el (toplevel): Require modb-entity.
2734         (elmo-msgdb-message-entity-handler): New method.
2735
2736         * modb-standard.el (modb-standard-entity-id): Use
2737         elmo-message-entity-handler.
2738         (modb-standard-load-entity): Ditto.
2739         (elmo-msgdb-append-entity): Ditto.
2740         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2741
2742         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2743         elmo-msgdb-decoded-cache-hashtb,
2744         (modb-legacy-make-message-entity,
2745         elmo-msgdb-make-message-entity,
2746         elmo-msgdb-create-message-entity-from-buffer,
2747         elmo-msgdb-message-entity-number,
2748         elmo-msgdb-message-entity-set-number,
2749         elmo-msgdb-message-entity-field,
2750         elmo-msgdb-message-entity-set-field,
2751         elmo-msgdb-copy-message-entity,
2752         elmo-msgdb-match-condition-internal,
2753         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2754
2755         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2756         (elmo-message-entity-set-number): Ditto.
2757         (elmo-message-entity-field): Ditto.
2758         (elmo-message-entity-set-field): Ditto.
2759
2760         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2761
2762         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2763
2764         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2765
2766         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2767         (elmo-nntp-msgdb-create-message): Ditto.
2768
2769         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2770         (elmo-folder-msgdb-create): Add unread flag.
2771
2772         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2773
2774         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2775
2776         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2777
2778         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2779
2780         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2781         elmo-msgdb-messge-entity-handler.
2782         * elmo-version.el (elmo-version): Up to 2.11.17.
2783
2784 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2785
2786         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2787         change.
2788
2789 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2790
2791         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2792
2793         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2794         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2795         (elmo-msgdb-flag-table): Ditto.
2796         (elmo-msgdb-sort-by-date): Ditto.
2797
2798         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2799
2800         * modb-standard.el (toplevel): Require mime.
2801         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2802         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2803         elmo-msgdb-message-entity-number.
2804         (elmo-msgdb-append-entity): Ditto.
2805         (elmo-msgdb-create-message-entity-from-file): Remove.
2806         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2807         corresponds to the entity.
2808         (elmo-msgdb-message-entity-number): Do nothing currently.
2809         (elmo-msgdb-message-entity-field): Ditto.
2810         (elmo-msgdb-message-entity-set-field): Ditto.
2811         (elmo-msgdb-copy-message-entity): Ditto.
2812         (elmo-msgdb-match-condition-internal): Ditto.
2813
2814         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2815         elmo-util.el.
2816         (elmo-msgdb-create-message-entity-from-file): Remove.
2817
2818         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2819         modb-legacy.el.
2820         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2821
2822         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2823
2824 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2825
2826         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2827         (elmo-msgdb-message-entity-field): Ditto.
2828         (elmo-msgdb-message-entity-number): Ditto.
2829
2830 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2831
2832         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2833         Fixed how to set extra field into entity.
2834         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2835         symbol.
2836
2837         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2838         Fixed how to set extra field into entity.
2839         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2840         symbol.
2841
2842 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2843
2844         * modb.el (elmo-message-entity-db): New function.
2845         (elmo-msgdb-make-message-entity): New API.
2846         (elmo-msgdb-message-entity-number): Ditto.
2847         (elmo-msgdb-message-entity-set-number): Ditto.
2848         (elmo-msgdb-message-entity-field): Ditto.
2849         (elmo-msgdb-message-entity-set-field): Ditto.
2850         (elmo-msgdb-copy-message-entity): Ditto.
2851         (elmo-msgdb-create-message-entity-from-file): Ditto.
2852         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2853         (elmo-msgdb-match-condition-internal): Ditto.
2854
2855         * modb-standard.el (modb-legacy): Require modb-legacy.
2856         (modb-standard-make-message-entity): New inline function.
2857         (elmo-msgdb-make-message-entity): Define.
2858         (elmo-msgdb-create-message-entity-from-file): Ditto.
2859         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2860         (elmo-msgdb-message-entity-field): Ditto.
2861         (elmo-msgdb-message-entity-set-field): Ditto.
2862         (elmo-msgdb-copy-message-entity): Ditto.
2863         (elmo-msgdb-match-condition-internal): Ditto.
2864
2865         * modb-legacy.el: Don't require modb-entity.
2866         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2867         (elmo-msgdb-match-condition-primitive): Ditto.
2868         (elmo-msgdb-get-decoded-cache): Ditto.
2869         (elmo-msgdb-overview-entity-get-id): Ditto.
2870         (elmo-msgdb-overview-entity-get-number): Ditto.
2871         (elmo-msgdb-overview-entity-set-number): Ditto.
2872         (elmo-msgdb-overview-entity-get-references): Ditto.
2873         (elmo-msgdb-overview-entity-set-references): Ditto.
2874         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2875         (elmo-msgdb-overview-entity-get-from): Ditto.
2876         (elmo-msgdb-overview-entity-set-from): Ditto.
2877         (elmo-msgdb-overview-entity-get-subject): Ditto.
2878         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2879         (elmo-msgdb-overview-entity-set-subject): Ditto.
2880         (elmo-msgdb-overview-entity-get-date): Ditto.
2881         (elmo-msgdb-overview-entity-set-date): Ditto.
2882         (elmo-msgdb-overview-entity-get-to): Ditto.
2883         (elmo-msgdb-overview-entity-get-cc): Ditto.
2884         (elmo-msgdb-overview-entity-get-size): Ditto.
2885         (elmo-msgdb-overview-entity-set-size): Ditto.
2886         (elmo-msgdb-overview-entity-get-extra): Ditto.
2887         (elmo-msgdb-overview-entity-set-extra): Ditto.
2888         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2889         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2890         (elmo-msgdb-number-load): Ditto.
2891         (elmo-msgdb-overview-load): Ditto.
2892         (elmo-msgdb-mark-load): Ditto.
2893         (elmo-msgdb-number-save): Ditto.
2894         (elmo-msgdb-mark-save): Ditto.
2895         (elmo-msgdb-overview-save): Ditto.
2896         (modb-legacy-make-message-entity): New inline function.
2897         (elmo-msgdb-insert-file-header): Ditto.
2898         (elmo-msgdb-make-message-entity): Define.
2899         (elmo-msgdb-create-message-entity-from-file): Ditto.
2900         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2901         (elmo-msgdb-message-entity-number): Ditto.
2902         (elmo-msgdb-message-entity-set-number): Ditto.
2903         (elmo-msgdb-message-entity-field): Ditto.
2904         (elmo-msgdb-message-entity-set-field): Ditto.
2905         (elmo-msgdb-copy-message-entity): Ditto.
2906         (elmo-msgdb-match-condition-internal): Ditto.
2907
2908         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2909         (elmo-message-copy-entity): Rewrite.
2910         (elmo-message-entity-number): Ditto.
2911         (elmo-message-entity-set-number): Ditto.
2912         (elmo-message-entity-field): Use elmo-message-entity-db.
2913         (elmo-message-entity-set-field): Ditto.
2914         (elmo-message-field): Rewrite.
2915
2916         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2917         elmo-msgdb.el
2918         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2919
2920         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2921         elmo-message-entity-field.
2922         (elmo-shimbun-folder-shimbun-header): Ditto.
2923         (elmo-shimbun-entity-to-header): Ditto.
2924         (elmo-folder-msgdb-create): Ditto.
2925         (elmo-shimbun-msgdb-create-entity): Ditto;
2926         Use elmo-msgdb-create-message-entity-from-buffer.
2927         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2928         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2929
2930         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2931         elmo-msgdb-create-message-entity-from-file and 
2932         elmo-message-entity-field.
2933
2934         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2935         elmo-message-entity-number.
2936         (elmo-pop3-msgdb-create-message): Use
2937         elmo-msgdb-create-message-entity-from-buffer,
2938         elmo-message-entity-set-field, elmo-message-entity-number and
2939         elmo-message-entity-set-number.
2940
2941         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2942         the API change in elmo-msgdb-make-message-entity.
2943         (elmo-nntp-msgdb-create-message): Use
2944         elmo-msgdb-create-message-entity-from-buffer.
2945
2946         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2947         elmo-message-entity-field and
2948         elmo-msgdb-create-message-entity-from-file.
2949
2950         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2951         (elmo-msgdb-get-field): Abolish.
2952         (elmo-msgdb-get-number): Rewrite.
2953         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2954         (elmo-msgdb-flag-table): Ditto.
2955         (elmo-msgdb-get-last-message-id,
2956         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2957         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2958         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2959         (elmo-msgdb-create-overview-from-buffer,
2960         elmo-msgdb-overview-get-parent-entity): Abolish.
2961
2962         * elmo-mime.el (elmo-mime-display-as-is): Use
2963         elmo-message-entity-field.
2964
2965         * elmo-map.el (elmo-folder-pack-numbers): Use
2966         elmo-message-entity-set-number.
2967
2968         * elmo-maildir.el (elmo-folder-msgdb-create): 
2969         elmo-msgdb-create-message-entity-from-file instead of
2970         elmo-msgdb-create-overview-entity-from-file.
2971
2972         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2973         msgdb.
2974         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2975         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2976
2977         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2978         elmo-messge-entity-field and elmo-message-entity-number.
2979         (elmo-imap4-fetch-callback-1): Call
2980         elmo-msgdb-create-message-entity-from-buffer instead of
2981         elmo-msgdb-create-overview-from-buffer. 
2982         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2983         (elmo-find-fetch-strategy): Likewise.
2984
2985         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2986         elmo-localdir-msgdb-create-entity with argument msgdb.
2987
2988         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2989         and elmo-message-entity-set-number.
2990
2991         * elmo-cache.el (elmo-folder-msgdb-create): Use
2992         elmo-message-entity-field.
2993         (elmo-folder-msgdb-create): Call
2994         elmo-msgdb-create-message-entity-from-file instead of
2995         elmo-msgdb-create-overview-entity-from-file.
2996
2997         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2998         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2999         instead of elmo-msgdb-create-overview-from-buffer.
3000         (elmo-archive-msgdb-create-entity): Ditto.
3001         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3002         elmo-message-entity-field.
3003         (elmo-archive-parse-mmdf): Ditto.
3004
3005         * modb-entity.el: Removed.
3006
3007         * elmo-version.el (elmo-version): Up to 2.11.16.
3008
3009 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3010
3011         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3012         `is-local'.
3013         (elmo-folder-flag-as-answered): Ditto.
3014
3015 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3016
3017         * modb-standard.el: New file.
3018
3019         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3020         elmo-msgdb-convert-type is `sync'.
3021
3022         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3023         (elmo-msgdb-convert-type): New user option.
3024
3025         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3026         (elmo-load-msgdb): Auto detect saved type.
3027
3028         * elmo-version.el (elmo-version): Up to 2.11.15.
3029
3030 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3031
3032         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3033
3034         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3035         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3036         with argument `delete-if-none' when dst-folder is 'null.
3037
3038         * elmo-flag.el (elmo-folder-append-messages): Defined.
3039         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3040
3041 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3042
3043         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3044
3045 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3046
3047         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3048         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3049         (elmo-folder-commit): Ditto.
3050
3051 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3052
3053         * elmo-flag.el: New file.
3054
3055         * elmo-mark.el: Removed.
3056
3057         * modb-legacy.el (modb-legacy-new-mark,
3058         modb-legacy-unread-uncached-mark,
3059         modb-legacy-unread-cached-mark,
3060         modb-legacy-read-uncached-mark,
3061         modb-legacy-answered-cached-mark,
3062         modb-legacy-answered-uncached-mark,
3063         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3064         All other related portions are changed.
3065
3066         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3067         (elmo-folder-list-messages-with-global-mark): Abolish.
3068         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3069         (elmo-folder-flag-as-important): Ditto.
3070         (elmo-folder-unflag-read): Ditto.
3071         (elmo-folder-flag-as-read): Ditto.
3072         (elmo-folder-unflag-answered): Ditto.
3073         (elmo-folder-flag-as-answered): Ditto.
3074         (elmo-message-encache): Return the cache path.
3075         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3076         (elmo-message-set-flag): Transitional implementation.
3077         (elmo-message-unset-flag): Ditto.
3078         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3079         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3080         (elmo-init): Call elmo-global-flag-initialize.
3081         (toplevel): Added autoload settings for elmo-flag.
3082
3083         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3084
3085         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3086         (elmo-file-cache-delete): Don't treat global-mark.
3087
3088         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3089
3090         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3091
3092         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3093         `elmo-global-flags-set'.
3094
3095         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3096         `flag'.
3097         (elmo-folder-unflag-read): Ditto.
3098         (elmo-folder-unflag-important): Ditto.
3099         (elmo-folder-flag-as-important): Ditto.
3100         (elmo-folder-unflag-answered): Ditto.
3101         (elmo-folder-flag-as-answered): Ditto.
3102
3103         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3104         `elmo-global-flags-set'.
3105         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3106
3107         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3108
3109         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3110         `flag'.
3111         (elmo-folder-flag-as-important): Ditto.
3112         (elmo-folder-unflag-important): Ditto.
3113         (elmo-folder-flag-as-important): Ditto.
3114         (elmo-folder-unflag-read): Ditto.
3115         (elmo-folder-flag-as-read): Ditto.
3116         (elmo-folder-unflag-answered): Ditto.
3117         (elmo-folder-flag-as-answered): Ditto.
3118
3119         * elmo-multi.el (elmo-folder-list-importants): Don't call
3120         elmo-folder-list-messages-with-global-mark.
3121         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3122         (elmo-folder-unflag-important): Ditto.
3123         (elmo-folder-flag-as-read): Ditto.
3124         (elmo-folder-unflag-read): Ditto.
3125         (elmo-folder-flag-as-answered): Ditto.
3126         (elmo-folder-unflag-answered): Ditto.
3127
3128         * elmo-msgdb.el (elmo-msgdb-new-mark,
3129         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3130         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3131         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3132         (Moved to modb-legacy.el).
3133         (elmo-flag-table-get): Treat important flag too.
3134
3135         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3136         `mark' to `flag'.
3137         (elmo-map-folder-flag-as-important): Ditto.
3138         (elmo-map-folder-unflag-read): Ditto.
3139         (elmo-map-folder-flag-as-read): Ditto.
3140         (elmo-map-folder-unflag-answered): Ditto.
3141         (elmo-map-folder-flag-as-answered): Ditto.
3142         (elmo-folder-unflag-important): Ditto.
3143         (elmo-folder-flag-as-important): Ditto.
3144         (elmo-folder-unflag-read): Ditto.
3145         (elmo-folder-flag-as-read): Ditto.
3146         (elmo-folder-unflag-answered): Ditto.
3147         (elmo-folder-flag-as-answered): Ditto.
3148
3149         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3150         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3151         `flag'.
3152         (elmo-map-folder-unflag-important): Ditto.
3153         (elmo-map-folder-flag-as-read): Ditto.
3154         (elmo-map-folder-unflag-read): Ditto.
3155         (elmo-map-folder-flag-as-answered): Ditto.
3156         (elmo-map-folder-unflag-answered): Ditto.
3157
3158         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3159         `elmo-global-flags-set'.
3160         (elmo-global-flags-set): Added autoload setting.
3161
3162         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3163         `flag'.
3164
3165         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3166         `elmo-msgdb-global-mark-set'.
3167         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3168         Call `elmo-global-flags-set'.
3169         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3170         `flag'.
3171         (elmo-folder-flag-as-important-plugged): Ditto.
3172         (elmo-folder-unflag-read-plugged): Ditto.
3173         (elmo-folder-flag-as-read-plugged): Ditto.
3174         (elmo-folder-unflag-answered-plugged): Ditto.
3175         (elmo-folder-flag-as-answered-plugged): Ditto.
3176         (elmo-global-flags-set): Added autoload setting.
3177
3178         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3179         `flag'.
3180         (elmo-folder-unflag-read): Ditto.
3181         (elmo-folder-flag-as-important): Ditto.
3182         (elmo-folder-unflag-important): Ditto.
3183         (elmo-folder-flag-as-answered): Ditto.
3184         (elmo-folder-unflag-answered): Ditto.
3185
3186         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3187         change of `mark'->`flag'.
3188         (elmo-dop-queue-method-name-alist): Ditto.
3189         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3190         (elmo-folder-unflag-read-dop): Ditto.
3191         (elmo-folder-flag-as-important-dop): Ditto.
3192         (elmo-folder-unflag-important-dop): Ditto.
3193         (elmo-folder-flag-as-answered-dop): Ditto.
3194         (elmo-folder-unflag-answered-dop): Ditto.
3195
3196         * elmo-cache.el (elmo-folder-msgdb-create): Call
3197         `elmo-global-flags-set'.
3198
3199         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3200         Call `elmo-global-flags-set'.
3201         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3202         elmo-archive-parse-mmdf with argument `folder'.
3203         (elmo-archive-parse-mmdf): Added argument `folder';
3204         Call `elmo-global-flags-set'.
3205
3206         * elmo-version.el (elmo-version): Up to 2.11.14.
3207
3208 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3209
3210         * modb.el (elmo-msgdb-length): Define.
3211
3212         * elmo.el (elmo-make-folder): Fixed.
3213         (elmo-generic-folder-append-messages): Follow the API change.
3214
3215         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3216         API change.
3217
3218 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3219
3220         * modb.el: New file.
3221
3222         * modb-entity.el: Ditto.
3223
3224         * modb-legacy.el: Ditto.
3225
3226         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3227         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3228         of `elmo-msgdb-overview-get-entity'.
3229         (elmo-msgdb-get-field): Ditto.
3230         (elmo-msgdb-merge): Moved to `elmo.el'.
3231         (elmo-msgdb-length): Removed; redefine as modb method.
3232         (elmo-msgdb-change-mark): Abolish.
3233         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3234         (elmo-msgdb-match-condition): Don't use mark.
3235         (elmo-msgdb-overview-get-entity): Abolish.
3236         Split modb part into `modb*.el'.
3237
3238         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3239
3240         * elmo-shimbun.el (shimbun-mua-search-id): Use
3241         `elmo-msgdb-message-entity' instead of
3242         `elmo-msgdb-overview-get-entity'.
3243         (elmo-shimbun-folder-shimbun-header): Ditto.
3244         (elmo-shimbun-get-headers): Ditto.
3245         (elmo-shimbun-update-overview): Ditto.
3246
3247         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3248
3249         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3250
3251         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3252         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3253
3254         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3255         `elmo-msgdb-mark-to-flags'.
3256
3257         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3258         `elmo-msgdb-set-path'.
3259
3260         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3261  
3262         * elmo-version.el (elmo-version): Up to 2.11.13.
3263
3264         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3265
3266         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3267         of mark.
3268
3269 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3270
3271         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3272         mismatch.
3273
3274 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3275
3276         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3277         instead of `elmo-msgdb-get-cached'.
3278         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3279
3280         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3281         (elmo-msgdb-set-cached): Ditto.
3282         (elmo-msgdb-set-flag): Rewrite.
3283         (elmo-msgdb-unset-flag): Ditto.
3284
3285         * elmo-msgdb.el: Rewrite with luna.
3286
3287         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3288         (elmo-folder-msgdb): Follow the change above.
3289         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3290         (elmo-folder-unmark-important): Follow the API change.
3291         (elmo-folder-mark-as-important): Ditto.
3292         (elmo-folder-unmark-read): Ditto.
3293         (elmo-folder-mark-as-read): Ditto.
3294         (elmo-folder-unmark-answered): Ditto.
3295         (elmo-folder-mark-as-answered): Ditto.
3296         (elmo-folder-clear): Likewise.
3297
3298         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3299         instead of `elmo-msgdb-load' (renamed).
3300
3301         * elmo-version.el (elmo-version): Up to 2.11.12.
3302
3303 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3304
3305         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3306         change.
3307         (elmo-message-mark): Abolish.
3308         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3309         instead of `elmo-msgdb-change-mark'.
3310
3311         * elmo-pipe.el (elmo-message-mark): Abolish.
3312
3313         * elmo-multi.el (elmo-message-mark): Ditto.
3314
3315         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3316         (elmo-msgdb-unread-uncached-mark): Ditto.
3317         (elmo-msgdb-unread-cached-mark): Ditto.
3318         (elmo-msgdb-read-uncached-mark): Ditto.
3319         (elmo-msgdb-answered-cached-mark): Ditto.
3320         (elmo-msgdb-answered-uncached-mark): Ditto.
3321         (elmo-msgdb-important-mark): Ditto.
3322         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3323         `use-cache'.
3324         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3325         `flags'.
3326         (elmo-flag-table-load): Changed flag to list of flag.
3327         (elmo-flag-table-set): If flags is nil, set read flag.
3328         (elmo-flag-table-get): Return derived flags from global mark,
3329         cache status and saved flags.
3330         (elmo-msgdb-flag-table): Follow the change above.
3331         (elmo-msgdb-out-of-date-messages): New function.
3332
3333         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3334
3335         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3336
3337         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3338
3339         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3340         (elmo-nntp-msgdb-create-message): Ditto.
3341
3342         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3343
3344         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3345         independent.
3346         (elmo-folder-msgdb-create): Follow the API change.
3347
3348         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3349         (elmo-folder-append-messages): Ditto.
3350
3351         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3352         (elmo-folder-append-buffer): Ditto.
3353
3354         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3355
3356         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3357
3358         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3359         (elmo-archive-parse-mmdf): Ditto.
3360
3361         * elmo-version.el (elmo-version): Up to 2.11.11.
3362
3363 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3364
3365         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3366         `elmo-msgdb-mark'.
3367
3368         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3369
3370         * elmo-pipe.el (elmo-message-flags): Defined.
3371
3372         * elmo-multi.el (elmo-message-flags): Ditto.
3373
3374 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3375
3376         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3377         `elmo-msgdb-delete-msgs'.
3378
3379         * elmo.el (elmo-folder-count-flags): Don't use
3380         `elmo-msgdb-get-mark-alist'.
3381         (elmo-folder-detach-messages): Follow the API change.
3382
3383         * elmo.el (elmo-folder-list-messages): Append killed messages into
3384         result if `visible-only' is nil.
3385
3386         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3387         canceled messages.
3388         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3389         (elmo-folder-update-number): Likewise.
3390
3391         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3392         (elmo-pop3-sort-msgdb-by-original-number): Use
3393         `elmo-msgdb-sort-entities'.
3394
3395         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3396         (elmo-msgdb-sort-by-date): Use it.
3397         (elmo-msgdb-overview-sort-by-date): Abolish.
3398
3399         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3400
3401         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3402         (elmo-msgdb-flags): New function.
3403         (elmo-msgdb-merge): Use elmo-msgdb-append.
3404
3405         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3406         change.
3407
3408         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3409
3410         * elmo-dop.el (elmo-folder-status-dop): Use
3411         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3412
3413 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3414
3415         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3416
3417         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3418
3419         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3420
3421         * elmo-util.el (elmo-with-progress-display): New macro.
3422
3423         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3424
3425 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3426
3427         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3428         `elmo-folder-list-message-entities' instead of
3429         `elmo-msgdb-get-overview'.
3430         (elmo-map-folder-list-message-locations): Ditto.
3431
3432         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3433         methods instead of treat directly).
3434         (elmo-msgdb-clear): Ditto.
3435         (elmo-msgdb-delete-msgs): Ditto.
3436         (elmo-msgdb-sort-by-date): Ditto.
3437
3438         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3439         local variables.
3440         (elmo-nntp-folder-msgdb-create): Follow the API change.
3441
3442         * elmo-version.el (elmo-version): Up to 2.11.10.
3443
3444 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3445
3446         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3447         (elmo-msgdb-flags-to-mark): Ditto.
3448         (elmo-msgdb-append-entity): Ditto.
3449
3450         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3451         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3452         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3453         (elmo-archive-parse-mmdf): Ditto.
3454
3455         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3456
3457         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3458
3459         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3460
3461         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3462
3463         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3464
3465         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3466
3467         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3468
3469         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3470
3471         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3472         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3473         to empty msgdb.
3474
3475         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3476         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3477         instead of directly construction.
3478         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3479         instead of construct msgdb.
3480
3481         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3482         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3483         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3484         instead of construct msgdb.
3485
3486 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3487
3488         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3489         when field is from or subject.
3490
3491 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3492
3493         * elmo-multi.el (elmo-message-entity-parent): Define.
3494         (elmo-folder-search): Rewrite.
3495
3496 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3497
3498         * elmo-multi.el (elmo-message-cached-p): Define.
3499
3500         * elmo.el (elmo-message-cached-p): New method.
3501         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3502         (elmo-message-flags): New method.
3503         (elmo-message-flagged-p): New function.
3504
3505         * elmo-version.el (elmo-version): Up to 2.11.9.
3506
3507 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3508
3509         * elmo-version.el (elmo-version): Up to 2.11.8.
3510
3511         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3512
3513         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3514
3515 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3516
3517         * elmo.el (elmo-folder-detach-messages): Undo last change.
3518
3519 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3520
3521         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3522
3523         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3524         only when src folder type is pop3.
3525
3526 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3527
3528         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3529         elmo-msgdb-overview-entity-get-number instead of
3530         elmo-message-entity-number.
3531
3532 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3533
3534         * elmo-version.el (elmo-version): Up to 2.11.7.
3535
3536 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3537
3538         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3539         function.
3540
3541         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3542         (elmo-msgdb-merge): New function.
3543         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3544         (elmo-msgdb-make-index): Rewrite.
3545
3546         * elmo-version.el (elmo-version): Up to 2.11.6.
3547
3548         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3549         use it as a the path for loading message entities.
3550
3551         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3552
3553 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3554
3555         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3556         message-modified slot of itself if it does not require target msgdb.
3557
3558         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3559         if folder length is zero.
3560         (elmo-mime-display-as-is): Ditto.
3561
3562         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3563
3564         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3565
3566 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3567
3568         * elmo.el (elmo-folder-set-message-modified): New method.
3569         (elmo-generic-folder-commit): Use it.
3570         (elmo-folder-synchronize): Ditto.
3571
3572         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3573         (elmo-folder-commit): Remove duplicate definition.
3574
3575 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3576
3577         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3578
3579 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3580
3581         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3582         (elmo-strict-folder-diff): Ditto.
3583         (elmo-folder-set-info-max-by-numdb): Simplify.
3584
3585         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3586         elmo-msgdb-list-messages.
3587
3588         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3589         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3590
3591 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3592
3593         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3594         visible-only is non-nil.
3595         (elmo-folder-confirm-appends): Changed message.
3596         (elmo-folder-synchronize): Added argument disable-killed.
3597
3598         * elmo-multi.el (elmo-folder-synchronize): Added argument
3599         disable-killed.
3600
3601         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3602
3603         * elmo-version.el (elmo-version): Up to 2.11.5.
3604
3605         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3606         elmo-list-filter.
3607
3608         * elmo-util.el (elmo-list-filter): Simplify.
3609
3610         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3611         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3612         (elmo-generic-folder-diff): Abolish argument.
3613         (elmo-msgdb-load): Don't use number-alist.
3614
3615         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3616
3617         * elmo-pipe.el (elmo-folder-diff): Ditto.
3618
3619         * elmo-nmz.el (elmo-folder-diff): Ditto.
3620
3621         * elmo-net.el (elmo-folder-diff): Ditto.
3622
3623         * elmo-maildir.el (elmo-folder-diff): Ditto.
3624
3625         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3626
3627         * elmo-multi.el (elmo-folder-diff): Ditto
3628         (elmo-multi-folder-diff): Rewrite.
3629
3630 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3631
3632         * elmo-pipe.el (elmo-folder-msgdb): Define.
3633
3634 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3635
3636         * elmo.el (elmo-message-set-cached): Define as a method.
3637
3638         * elmo-pipe.el (elmo-message-set-cached): Define.
3639         (elmo-find-fetch-strategy): Ditto.
3640
3641         * elmo-multi.el (elmo-message-set-cached): Define.
3642         (elmo-find-fetch-strategy): Rewrite.
3643
3644         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3645
3646         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3647
3648 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3649
3650         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3651         instead of number-alist.
3652
3653         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3654         mark nor message-id when msgdb of source folder is not loaded.
3655
3656         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3657
3658         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3659
3660 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3661
3662         * elmo.el (elmo-folder-length): Don't require msgdb.
3663
3664 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3665
3666         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3667         (elmo-message-field): Ditto.
3668
3669         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3670         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3671         slot.
3672         (elmo-map-folder-list-answereds): Define.
3673         (elmo-maildir-list-location): Treat 'R' info.
3674         (elmo-folder-msgdb-create): Treat flag-table.
3675         (elmo-folder-append-messages): Save flag-table.
3676
3677 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3678
3679         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3680         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3681
3682 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3683
3684         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3685
3686         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3687         'read when mark is null.
3688
3689 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3690
3691         * elmo-version.el (elmo-version): Up to 2.11.4.
3692
3693 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3694
3695         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3696         (elmo-folder-mark-as-answered): Ditto.
3697
3698 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3699
3700         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3701         (elmo-pop3-get-session): Make msgdb directory after session.
3702         (elmo-folder-exists-p): Check exactly at the first time even when the
3703         elmo-pop3-exists-exactly is nil.
3704
3705         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3706         (elmo-folder-list-messages): Define instead of
3707         elmo-folder-list-messages-internal.
3708         (elmo-folder-check): Check destination folder.
3709         (elmo-folder-synchronize): Drain the pipe.
3710
3711         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3712         when msgdb is not loaded.
3713
3714         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3715
3716         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3717         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3718         messages.
3719
3720         * elmo.el (elmo-folder-kill-messages-before): New function.
3721         (elmo-folder-kill-messages): Ditto.
3722         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3723
3724         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3725         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3726         killed not by synchronize (e.g. scoring).
3727
3728 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3729
3730         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3731         treated.
3732         (elmo-folder-search): Follow the change above.
3733
3734         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3735         into the candidates of search field.
3736
3737 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3738
3739         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3740         (elmo-msgdb-unset-flag): Ditto.
3741
3742         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3743
3744 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3745
3746         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3747         (elmo-folder-commit): Define.
3748         (elmo-folder-synchronize): Ditto.
3749         (elmo-folder-list-flagged): Ditto.
3750         (elmo-folder-commit): Ditto.
3751         (elmo-folder-length): Ditto.
3752         (elmo-folder-count-flags): Ditto.
3753         (elmo-message-mark): Ditto.
3754         (elmo-message-field): Ditto.
3755         (elmo-message-entity): Ditto.
3756         (elmo-message-folder): Ditto.
3757
3758 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3759
3760         * elmo.el (elmo-message-field): Define as a method.
3761
3762         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3763         (elmo-message-field): Define.
3764
3765         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3766         (elmo-folder-list-importants): Ditto.
3767         (elmo-folder-list-answereds): Ditto.
3768
3769         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3770         qualifier.
3771         (elmo-folder-mark-as-read): Ditto.
3772         (elmo-folder-unmark-read): Ditto.
3773         (elmo-folder-mark-as-answered): Ditto.
3774         (elmo-folder-unmark-answered): Ditto.
3775         (elmo-folder-list-flagged): Define.
3776         (elmo-folder-commit): Ditto.
3777         (elmo-folder-length): Ditto.
3778         (elmo-folder-count-flags): Ditto.
3779
3780 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3781
3782         * elmo.el (elmo-folder-detach-messages): New method.
3783         (elmo-folder-move-messages): Use it.
3784         (elmo-folder-synchronize): Ditto.
3785
3786         * elmo-multi.el (elmo-folder-detach-messages): Define.
3787
3788         * elmo.el (elmo-message-copy-entity): New function.
3789         (elmo-message-entity-set-number): Ditto.
3790         (elmo-message-mark): Define as method.
3791
3792         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3793         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3794         (elmo-message-entity): Fixed last change.
3795         (elmo-message-mark): Define.
3796         (elmo-folder-msgdb-create): Abolish.
3797         (elmo-multi-folder-append-msgdb): Ditto.
3798         (elmo-multi-folder-diff): Fixed.
3799         (elmo-multi-split-number-alist): Removed.
3800         (elmo-multi-split-mark-alist): Removed.
3801         (elmo-folder-list-messages): Define.
3802         (elmo-folder-list-messages-internal): Removed.
3803
3804         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3805         local file messages.
3806         (elmo-folder-msgdb-create): Fixed read mark.
3807
3808 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3809
3810         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3811         if mark is nil.
3812
3813 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3814
3815         * elmo.el (elmo-folder-list-message-entities): Define as inline
3816         function.
3817         (elmo-folder-messages): Abolish.
3818
3819         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3820         folder.
3821         (elmo-folder-synchronize): Define.
3822         (elmo-message-entity): Define.
3823
3824 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3825
3826         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3827         elmo-imap4-session-select-mailbox.
3828
3829         * elmo.el (elmo-folder-move-messages): Don't display any message.
3830
3831         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3832         parsing.
3833         (elmo-imap4-session-check): Don't wait CHECK response.
3834         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3835
3836 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3837
3838         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3839
3840 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3841
3842         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3843         API.
3844         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3845
3846
3847         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3848         (elmo-folder-list-message-entities): Added argument in-msgdb and
3849         numbers.
3850         (elmo-folder-synchronize): Define as a method.
3851
3852         * elmo-nntp.el (elmo-folder-initialize): Don't use
3853         elmo-nntp-default-user if zero-length username is specified
3854         explicitly.
3855
3856 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3857
3858         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3859         server name in case with username.
3860         (XXX: this is ad-hoc fix against username includes "@", it
3861         should be solved fundamentally)
3862
3863 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3864
3865         * elmo-nntp.el (elmo-nntp-debug): New function.
3866         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3867         (elmo-network-authenticate-session): Hide auth-info from the log.
3868
3869         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3870         user name if it is equal to elmo-nntp-default-user.
3871
3872 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3873
3874         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3875         instead of shimbun-server-internal;
3876         Use shimbun-current-group instead of shimbun-current-group-internal.
3877         (elmo-folder-plugged-p): Use shimbun-server instead of
3878         shimbun-server-internal.
3879         (elmo-folder-set-plugged): Ditto.
3880         (elmo-net-port-info): Ditto.
3881         (elmo-folder-check): Ditto.
3882         (elmo-folder-expand-msgdb-path): Ditto.
3883         (elmo-folder-list-subfolders): Ditto.
3884
3885 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3886
3887         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3888         Convert field-name to lower case.
3889         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3890
3891 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3892
3893         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3894         `message' and `error' take format string.
3895
3896 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3897
3898         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3899
3900 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3901
3902         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3903         recursive call (can't byte compile on emacs 20.7).
3904
3905 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3906
3907         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3908         (elmo-folder-list-message-entities): New API.
3909         (elmo-message-entity): Ditto.
3910         (elmo-message-entity-parent): Ditto.
3911         (elmo-folder-do-each-message-entity): Ditto.
3912         (elmo-message-entity-number): Ditto.
3913         (elmo-message-entity-field): Ditto.
3914         (elmo-message-entity-set-field): Ditto.
3915         (elmo-folder-count-flags): Ditto.
3916         (elmo-folder-length): Ditto.
3917
3918         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3919         not.
3920
3921         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3922         (elmo-msgdb-count-marks): Abolish.
3923         (elmo-msgdb-make-entity): Ditto.
3924         (elmo-msgdb-do-each-entity): Ditto.
3925         (elmo-msgdb-message-entity): New inline function.
3926         (elmo-msgdb-message-entity-field): Ditto.
3927         (elmo-msgdb-message-entity-set-field): Ditto.
3928         (elmo-msgdb-make-message-entity): New function.
3929
3930 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3931
3932         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3933         to flag. (All other related portions are changed.)
3934         (elmo-folder-msgdb-create): Likewise.
3935         (elmo-generic-folder-append-messages): Use flag-table instead of
3936         seen-list.
3937         (elmo-folder-move-messages): Removed redundant process.
3938         (elmo-folder-synchronize): Likewise.
3939
3940         * elmo-msgdb.el (elmo-flag-table-get): New function.
3941         (elmo-flag-table-save): Fixed.
3942         (elmo-msgdb-length): New inline function.
3943         (elmo-msgdb-flag-table): New function.
3944         (elmo-msgdb-mark): Add optional argument new.
3945         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3946         (elmo-msgdb-seen-list): Ditto.
3947         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3948
3949
3950 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3951
3952         * elmo.el (elmo-message-set-mark): Abolish.
3953         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3954         (All related portions are changed.)
3955
3956         * elmo-msgdb.el (toplevel): Added comment.
3957         (elmo-load-msgdb): Added 4th element `path'.
3958         (elmo-msgdb-append): Follow the change above.
3959         (elmo-msgdb-clear): Ditto.
3960         (elmo-msgdb-delete-msgs): Ditto.
3961         (elmo-msgdb-get-path): New inline function.
3962         (elmo-msgdb-set-path): Ditto.
3963         (elmo-flag-table-filename): New variable.
3964         (elmo-flag-table-load): New function.
3965         (elmo-flag-table-set): Ditto.
3966         (elmo-flag-table-save): Ditto.
3967         (elmo-msgdb-get-field-value): Abolish.
3968         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3969
3970 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3971
3972         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3973         the folder has been deleted successfully.
3974         * elmo-imap4.el (elmo-folder-delete): Ditto.
3975         * elmo-archive.el (elmo-folder-delete): Ditto.
3976         * elmo-localdir.el (elmo-folder-delete): Ditto.
3977         * elmo-maildir.el (elmo-folder-delete): Ditto.
3978
3979 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3980
3981         * elmo-util.el (elmo-string-member-ignore-case): New function.
3982         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3983         (elmo-imap4-fetch-callback-1-subr): Likewise.
3984
3985 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3986
3987         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3988         the case of the name attribute "\Noselect".
3989
3990 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3991
3992         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3993
3994         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3995         flist, is not always a member of onum-alist.
3996
3997 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3998
3999         * elmo-version.el (elmo-version): Up to 2.11.3.
4000
4001 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4002
4003         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4004         copied from localdir's one.
4005
4006         * elmo-pipe.el (elmo-folder-rename): New method, rename
4007         destination folder with leaving source folder as it is.
4008
4009 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4010
4011         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4012         replace-regexp.
4013
4014 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4015
4016         * elmo-version.el (elmo-version): Up to 2.11.2.
4017
4018 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4019
4020         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4021         shimbun-open in case of "@".
4022         (elmo-folder-open-internal): Cope with shimbun = nil case.
4023         (elmo-folder-plugged-p): Ditto.
4024         (elmo-folder-list-subfolders): Make list for "@/" group.
4025
4026 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4027
4028         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4029         mailbox (e.g. for %~/something).
4030
4031 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4032
4033         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4034         Replace nested conditional with guard clauses.
4035
4036 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4037
4038         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4039         error [wl:11327].
4040
4041         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4042         print-depth.
4043
4044 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4045
4046         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4047         Replace nested conditional with guard clauses.
4048
4049 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4050
4051         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4052         (elmo-passwd-alist-save): Ditto.
4053         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4054
4055 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4056
4057         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4058         dir-name only if it is absolute path.
4059         (TODO: distinguish +/something and +something)
4060
4061 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4062
4063         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4064         path for "+~/something".
4065
4066 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4067
4068         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4069         as non-directory, cause error before rename-file.
4070         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4071         apropriately, mimic localdir's one.
4072         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4073
4074 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4075
4076         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4077
4078 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4079
4080         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4081
4082         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4083         
4084         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4085         is included in the global-mark or not.
4086
4087 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4088
4089         * utf7.el (toplevel): Avoid error when the function
4090         find-coding-system does not exist.
4091
4092 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4093
4094         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4095         cache even if the folder is plugged.
4096         (elmo-nntp-search-primitive): Do nothing when body search is
4097         invoked (although it is not used by the change above).
4098         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4099
4100 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4101
4102         * elmo-version.el (elmo-version): Up to 2.11.1.
4103
4104 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4105
4106         * elmo-archive.el: Specify charset.
4107
4108 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4109
4110         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4111         process buffer lives or not.
4112
4113         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4114         while flushing queues (It causes infinite loop).
4115
4116 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4117
4118         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4119
4120 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4121
4122         * utf7.el (toplevel): Check the ucs features dynamically.
4123         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4124
4125         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4126         folder is creatabe or not if it already exists.
4127
4128 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4129
4130         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4131
4132         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4133
4134         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4135         (elmo-imap4-read-response): Take care of garbage response.
4136
4137 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4138
4139         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4140         just return nil instead of error.
4141
4142 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4143
4144         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4145         search-key is "body".
4146
4147 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4148
4149         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4150         of elmo-string-matched-assoc to use match-data.
4151         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4152
4153 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4154
4155         * elmo-split.el (elmo-split->): New function.
4156         (elmo-split-<): Ditto.
4157
4158 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4159
4160         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4161         workaround for invalid message-id.
4162
4163 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4164
4165         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4166         return normal pop3 session or pop3 biff session.
4167
4168 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4169
4170         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4171         info part to the cur files when the new files already have it.
4172         (Adviced by Jared Rhine <jared@wordzoo.com>)
4173
4174 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4175
4176         * elmo-split.el (elmo-split-default-action): New variable.
4177         (elmo-split-subr): Use it if all other conditions are passed.
4178         Extend `fname' and rename it as `action'. (implemented
4179         Teranishi-san's idea in [wl:10800])
4180
4181 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4182
4183         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4184         * elmo-util.el: Ditto.
4185
4186 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4187
4188         * elmo.el (elmo-message-accessible-p): Renamed from
4189         elmo-message-cached-p and rewritten.
4190
4191 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4192
4193         * elmo.el (elmo-folder-list-flagged): New generic function.
4194         (elmo-folder-list-importants): New implementation.
4195         (elmo-folder-list-answereds): Ditto.
4196         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4197         Added 'digest'.
4198         (elmo-message-cached-p): New function.
4199         (elmo-message-set-flag): Ditto (no content).
4200         (elmo-message-unset-flag): Ditto.
4201         (elmo-folder-list-messages-mark-match): Abolish.
4202
4203         * elmo-util.el (elmo-regexp-opt): New function.
4204
4205         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4206         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4207         Added 'digest'.
4208         (elmo-msgdb-list-flagged): New function.
4209
4210         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4211         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4212         Added 'digest'.
4213
4214         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4215
4216 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4217
4218         * elmo-version.el (elmo-version): Up to 2.11.0.
4219
4220 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4221
4222         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4223         `elmo-file-cache-exists-p'; use proper mark that depends on
4224         `use-cache'.
4225         (elmo-msgdb-unset-flag): Ditto.
4226         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4227
4228         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4229         with 4th argument `use-cache'.
4230
4231 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4232
4233         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4234         (elmo-folder-mark-as-important): Ditto.
4235         (elmo-folder-unmark-read): Ditto.
4236         (elmo-folder-mark-as-read): Ditto.
4237         (elmo-folder-unmark-answered): Ditto.
4238         (elmo-folder-mark-as-answered): Ditto.
4239
4240         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4241         message status.
4242         (elmo-msgdb-mark): Likewise.
4243         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4244         (elmo-msgdb-unset-flag): Likewise.
4245
4246         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4247
4248 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4249
4250         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4251         `last:' filter.
4252
4253 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4254
4255         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4256         set spool-length to 0.
4257
4258 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4259
4260         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4261         (elmo-dop-queue-flush): Fixed last change.
4262
4263 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4264
4265         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4266         if require-msgdb slot is nil.
4267         (elmo-folder-list-importants): Likewise.
4268
4269 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4270
4271         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4272         mark is changed.
4273
4274         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4275         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4276         is changed.
4277
4278 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4279
4280         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4281
4282 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4283
4284         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4285
4286         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4287
4288 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4289
4290         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4291         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4292
4293 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4294
4295         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4296         the problem reported by Sean Rima [wl-en:180].
4297
4298 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4299
4300         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4301
4302         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4303
4304         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4305
4306         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4307
4308         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4309
4310         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4311
4312         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4313
4314 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4315
4316         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4317         status number.
4318
4319 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4320
4321         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4322         (elmo-folder-mark-as-read): Follow the API change.
4323         (elmo-message-set-cached): New function.
4324
4325         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4326
4327         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4328
4329         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4330         (elmo-folder-mark-as-important): Ditto.
4331         (elmo-folder-unmark-read): Ditto.
4332         (elmo-folder-mark-as-read): Ditto.
4333         (elmo-folder-unmark-answered): Ditto.
4334         (elmo-folder-mark-as-answered): Ditto.
4335
4336         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4337         (elmo-folder-unmark-important): Ditto.
4338         (elmo-folder-mark-as-read): Ditto.
4339         (elmo-folder-unmark-read): Ditto.
4340         (elmo-folder-mark-as-answered): Ditto.
4341         (elmo-folder-unmark-answered): Ditto.
4342
4343         * elmo-mark.el (toplevel): Removed some mark method definitions.
4344
4345         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4346         (elmo-map-folder-mark-as-answered): Ditto.
4347         (elmo-folder-unmark-important): Add :before qualifier.
4348         (elmo-folder-mark-as-important): Ditto.
4349         (elmo-folder-unmark-read): Ditto.
4350         (elmo-folder-mark-as-read): Ditto.
4351         (elmo-folder-unmark-answered): Define.
4352         (elmo-folder-mark-as-answered): Ditto.
4353
4354         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4355         (elmo-map-folder-unmark-answered): Ditto.
4356
4357         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4358
4359         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4360         (elmo-folder-mark-as-important): Ditto.
4361         (elmo-folder-unmark-read): Ditto.
4362         (elmo-folder-mark-as-read): Ditto.
4363         (elmo-folder-unmark-answered): Ditto.
4364         (elmo-folder-mark-as-answered): Ditto.
4365
4366         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4367         `mark'; evaluate mark condition.
4368         (elmo-msgdb-match-condition-internal): New function.
4369         (elmo-msgdb-match-condition): Call it; changed argument.
4370
4371         * elmo.el (elmo-folder-search): Follow the API change on
4372         `elmo-msgdb-match-condition'.
4373
4374 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4375
4376         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4377         original mark is non-nil.
4378
4379 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4380
4381         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4382         (elmo-map-folder-list-answereds): New method.
4383         (elmo-folder-list-unreads): Add :around qualifier.
4384         (elmo-folder-list-importants): Ditto.
4385         (elmo-folder-list-answereds): Ditto.
4386
4387 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4388
4389         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4390
4391         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4392         method if msgdb is not required.
4393         (elmo-filter-folder-list-importants): Don't treat global-mark.
4394
4395         * elmo.el (elmo-folder-list-importants): Ditto.
4396
4397         * elmo-net.el (elmo-folder-list-importants): Ditto.
4398
4399         * elmo-map.el (elmo-folder-list-importants): Ditto.
4400
4401         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4402
4403         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4404         (elmo-imap4-folder-list-any-plugged): New function.
4405         (elmo-imap4-search-internal-primitive): Use it.
4406
4407         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4408         only when require-msgdb slot is non-nil.
4409         (elmo-folder-close): Clear target folder's msgdb.
4410
4411 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4412
4413         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4414         (elmo-pop3-msgdb-create-by-header): Ditto.
4415         (elmo-pop3-msgdb-create-message): Ditto.
4416
4417         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4418
4419         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4420
4421         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4422
4423         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4424         (elmo-folder-msgdb-create): Ditto.
4425         (elmo-nntp-folder-msgdb-create): Ditto.
4426         (elmo-nntp-msgdb-create-by-header): Ditto.
4427         (elmo-nntp-msgdb-create-message): Ditto.
4428         (elmo-folder-list-unreads): Define.
4429
4430         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4431         (elmo-folder-append-messages): Ditto.
4432         (elmo-folder-list-unreads): Define.
4433         (elmo-folder-list-importants): Ditto.
4434         (elmo-folder-list-answereds): Ditto.
4435
4436         * elmo-net.el (elmo-folder-list-unreads): Define.
4437         (elmo-folder-list-importants): Ditto.
4438         (elmo-folder-list-answereds): Ditto.
4439         (elmo-folder-list-answereds-plugged): Ditto.
4440         (elmo-folder-msgdb-create): Follow the API change.
4441         (elmo-folder-msgdb-create-unplugged): Ditto.
4442         (elmo-folder-unmark-answered): Define.
4443         (elmo-folder-mark-as-answered-unplugged): Ditto.
4444         (elmo-folder-unmark-answered-unplugged): Ditto.
4445
4446         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4447         (elmo-msgdb-unread-uncached-mark): Ditto.
4448         (elmo-msgdb-unread-cached-mark): Ditto.
4449         (elmo-msgdb-read-uncached-mark): Ditto.
4450         (elmo-msgdb-answered-cached-mark): Ditto.
4451         (elmo-msgdb-answered-uncached-mark): Ditto.
4452         (elmo-msgdb-important-mark): Ditto.
4453         (elmo-msgdb-set-mark): Rewrite.
4454         (elmo-msgdb-count-marks): Rewrite.
4455         (elmo-msgdb-mark-alist-set): Abolish.
4456         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4457         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4458
4459         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4460         (elmo-folder-close): Define.
4461         (elmo-folder-msgdb-create): Follow the API change.
4462         (elmo-folder-list-unreads): Rewrite.
4463         (elmo-folder-mark-as-important): Ditto.
4464         (elmo-folder-unmark-important): Ditto.
4465         (elmo-folder-mark-as-read): Ditto.
4466         (elmo-folder-unmark-read): Ditto.
4467         (elmo-folder-mark-as-answered): Define.
4468         (elmo-folder-unmark-answered): Ditto.
4469
4470         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4471         (elmo-folder-append-messages): Ditto.
4472
4473         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4474
4475         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4476         (elmo-folder-list-importants): Ditto.
4477
4478         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4479         (elmo-folder-append-messages): Ditto.
4480
4481         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4482         change.
4483         (elmo-folder-msgdb-create-plugged): Ditto.
4484         (elmo-folder-append-messages): Ditto.
4485         (elmo-folder-list-answereds-plugged): Define.
4486         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4487         (elmo-folder-unmark-answered-plugged): Define.
4488         (elmo-folder-mark-as-answered-plugged): Ditto.
4489         (elmo-folder-search-requires-msgdb-p): Ditto.
4490
4491         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4492         (elmo-folder-initialize): Set it.
4493         (elmo-folder-msgdb): Define.
4494         (elmo-folder-check): Call elmo-folder-synchronize.
4495         (elmo-folder-close): Define.
4496         (elmo-folder-commit): Ditto.
4497         (elmo-folder-msgdb-create): Rewrite.
4498         (elmo-folder-list-unreads): Ditto.
4499         (elmo-folder-list-importants): Ditto.
4500         (elmo-folder-mark-as-read): Ditto.
4501         (elmo-folder-unmark-read): Ditto.
4502         (elmo-folder-mark-as-important): Ditto.
4503         (elmo-folder-unmark-important): Ditto.
4504         (elmo-folder-mark-as-answered): Define.
4505         (elmo-folder-unmark-answered): Ditto.
4506
4507         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4508         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4509         (elmo-dop-queue-method-name-alist): Likewise.
4510         (elmo-folder-mark-as-answered-dop): New inline function.
4511         (elmo-folder-unmark-answered-dop): Ditto.
4512         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4513
4514         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4515         (elmo-folder-msgdb-create): Ditto.
4516         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4517         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4518         (elmo-archive-parse-mmdf): Ditto.
4519
4520         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4521         (elmo-folder-list-unreads-internal): Ditto.
4522
4523         * elmo.el (elmo-folder-msgdb): Define as generic function.
4524         (elmo-folder-list-messages): Added argument `in-msgdb'.
4525         (elmo-folder-list-unreads): Define as generic function.
4526         (elmo-folder-list-importants): Ditto.
4527         (elmo-folder-list-answereds): Ditto.
4528         (elmo-folder-list-messages-with-global-mark): New function.
4529         (elmo-folder-msgdb-create): Removed mark arguments.
4530         (elmo-folder-unmark-answered): New generic function.
4531         (elmo-folder-mark-as-answered): Ditto.
4532         (elmo-folder-append-messages): Removed argunment `unread-marks'
4533         (elmo-folder-list-unreads-internal): Abolish.
4534         (elmo-folder-list-importants-internal): Ditto.
4535         (elmo-folder-search-requires-msgdb-p): New generic function.
4536         (elmo-folder-search-requires-msgdb-p-internal): New function.
4537         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4538         elmo-msgdb-load.
4539         (elmo-folder-search-fast): Added key 'mark'.
4540         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4541         instead of unread-marks argument.
4542         (elmo-folder-move-messages): Removed argunment `unread-marks'
4543         (elmo-folder-unmark-important): Define.
4544         (elmo-folder-mark-as-important): Ditto.
4545         (elmo-folder-unmark-read): Ditto.
4546         (elmo-folder-mark-as-read): Ditto.
4547         (elmo-folder-unmark-answered): Ditto.
4548         (elmo-folder-mark-as-answered): Ditto.
4549         (elmo-folder-replace-marks): Abolish.
4550         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4551         duplicates.
4552         (elmo-folder-synchronize): Removed mark arguments;
4553         return crosspost only number.
4554
4555 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4556
4557         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4558         Remove redundunt connectivity check.
4559
4560 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4561
4562         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4563         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4564
4565 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4566
4567         * pldap.el (ldap-decode-string): Return string as-is if
4568         `ldap-coding-system' is nil.
4569         (ldap-encode-string): Ditto.
4570         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4571         (ldap-default-host): Fixed docstring.
4572
4573 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4574
4575         * elmo-util.el (elmo-warning): Define as a macro which uses
4576         `display-warning' if it is defined as a function.
4577
4578         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4579         (elmo-split-equal): Use it.
4580         (elmo-split-match): Ditto.
4581         (elmo-split-message-entity): New buffer-local variable.
4582         (elmo-split-subr): Set it.
4583
4584         * elmo-version.el (elmo-version): Up to 2.9.15.
4585
4586 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4587
4588         * elmo-imap4.el (elmo-network-initialize-session):
4589         Check capability after starttls.
4590
4591 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4592
4593         * elmo-util.el (elmo-list-delete): Added optional argument
4594         DELETE-FUNCTION.
4595
4596         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4597
4598         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4599
4600         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4601
4602         * elmo-imap4.el (elmo-folder-initialize): Don't use
4603         elmo-imap4-default-mailbox.
4604
4605 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4606
4607         * elmo-split.el (toplevel): Use `product-provide'.
4608         (elmo-split): Checkdoc.
4609
4610 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4611
4612         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4613         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4614         the function `elmo-imap4-debug-1'.
4615
4616 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4617
4618         * elmo-split.el (elmo-split): Moved to run hooks and to show
4619         message from elmo-split-subr.
4620         (elmo-split-subr): Follow the change above.
4621
4622         * elmo-split.el (elmo-split-subr): New function (renamed from
4623         elmo-split-subr).
4624         (elmo-split): Changed to call elmo-split-subr by element of
4625         elmo-split-folder.
4626         (elmo-split-folder): Changed customization type to choice.
4627
4628 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4629
4630         * elmo-split.el (elmo-split-and): Fixed condition.
4631
4632 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4633
4634         * elmo-split.el: New file.
4635         (elmo-split): Fixed logic.
4636         Display "Test:" instead of "Folder:" when reharsal.
4637
4638         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4639         explicitly.
4640
4641         * elmo-version.el (elmo-version): Up to 2.9.14.
4642
4643         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4644         wl-expand-newtext).
4645
4646 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4647
4648         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4649         message with no message-id field.
4650
4651 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4652
4653         * elmo-version.el (elmo-version): Up to 2.9.13.
4654
4655         * elmo-dop.el (elmo-folder-status-dop): Fix.
4656
4657 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4658
4659         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4660
4661         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4662         changing default value of default-mime-charset.
4663         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4664
4665         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4666
4667         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4668         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4669         instead of elmo-dop-queue-method-name-alist to check merging queue.
4670         (elmo-folder-delete-messages-dop): Delete from queue if negative
4671         message number.
4672         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4673         file is already removed.
4674
4675 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4676
4677         * elmo-vars.el: Bind colon keywords for old Emacsen.
4678
4679 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4680
4681         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4682         against non-exsisting charset.
4683
4684 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4685
4686         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4687         Use eword-decode-and-unfold-unstructured-field-body.
4688
4689         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4690         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4691         exists to decode raw subject string.
4692         (toplevel): Require 'mime.
4693
4694         * elmo-version.el (elmo-version): Up to 2.9.12.
4695
4696 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4697
4698         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4699         (elmo-msgdb-set-mark): Ditto.
4700
4701         * elmo-version.el (elmo-version): Up to 2.9.11.
4702
4703 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4704
4705         * elmo-util.el (elmo-delete-match-files): New function.
4706
4707         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4708         instead of elmo-delete-directory.
4709
4710         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4711         elmo-hash-minimun-size as 63.
4712
4713         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4714         elmo-diff-unread is nil.
4715
4716         * elmo-imap4.el (elmo-folder-open): Fix.
4717
4718         * elmo.el (elmo-message-mark): Rewrite.
4719         (elmo-message-field): Ditto.
4720         (elmo-message-set-mark): Ditto.
4721         (elmo-folder-replace-marks): New function.
4722         (elmo-generic-folder-append-msgdb): Removed third argument for
4723         elmo-msgdb-append.
4724         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4725         (elmo-msgdb-load): New implementation.
4726
4727         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4728
4729         * elmo-util.el (elmo-list-insert): New implementation.
4730
4731         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4732         argument for elmo-msgdb-append.
4733         
4734
4735         * elmo-msgdb.el (elmo-load-msgdb): New function.
4736         (elmo-make-msgdb): Ditto.
4737         (elmo-msgdb-get-index): New inline function.
4738         (elmo-msgdb-set-index): Ditto.
4739         (elmo-msgdb-get-entity-hashtb): Ditto.
4740         (elmo-msgdb-get-mark-hashtb): Ditto.
4741         (elmo-msgdb-get-mark): Ditto.
4742         (elmo-msgdb-set-mark): Ditto.
4743         (elmo-msgdb-count-marks): Ditto.
4744         (elmo-msgdb-get-number): Ditto.
4745         (elmo-msgdb-get-field): Ditto.
4746         (elmo-msgdb-seen-list): Ditto.
4747         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4748         (elmo-msgdb-delete-msgs): Follow the changes above.
4749         (elmo-msgdb-overview-get-entity): Ditto.
4750         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4751         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4752         and rewritten.
4753         (elmo-msgdb-make-index): Likewise.
4754         (elmo-msgdb-append): Removed third argument.
4755         (elmo-msgdb-clear): Clear index as nil.
4756         (elmo-folder-set-info-hashtb): Removed.
4757         (elmo-folder-set-info-max-by-numdb): Ditto.
4758         (elmo-folder-info-make-hashtb): Ditto.
4759
4760         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4761
4762         * elmo-map.el (elmo-folder-pack-number): Ditto.
4763
4764 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4765
4766         * elmo-version.el (elmo-version): Up to 2.9.10.
4767
4768         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4769
4770         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4771
4772 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4773
4774         * elmo-utils.el (elmo-make-directory): Add option.
4775         Default file mode is 700.
4776
4777 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4778
4779         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4780
4781 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4782
4783         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4784         mime-charset.
4785
4786         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4787         and "smaller".
4788
4789 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4790
4791         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4792         (elmo-shimbun-folder-entity-hash): New function.
4793         (elmo-shimbun-folder-shimbun-header): Ditto.
4794         (elmo-shimbun-entity-to-header): Ditto.
4795         (elmo-shimbun-msgdb-to-headers): Removed.
4796         (elmo-shimbun-folder-setup): Ditto.
4797         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4798         for hash key.
4799         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4800         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4801         Removed useless local bind.
4802         (elmo-folder-open-internal): Don't call
4803         `elmo-shimbun-folder-setup'.
4804         (elmo-folder-close-internal): Clear entity-hash slot.
4805         (elmo-folder-clear): Ditto.
4806         (elmo-shimbun-msgdb-create-entity): Use
4807         `elmo-shimbun-folder-shimbun-header'.
4808         (elmo-map-message-fetch): Ditto.
4809         (elmo-shimbun-update-overview): Use overview entity instead of
4810         shimbun header to lookup id by references.
4811         (elmo-map-folder-list-message-locations): Use not only headers but
4812         also overviews to list locations.
4813
4814 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4815
4816         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4817         msgdb path.
4818
4819         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4820
4821 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4822
4823         * elmo-util.el (elmo-read-search-condition-internal): Give default
4824         value for date.
4825
4826 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4827
4828         * elmo-util.el (elmo-condition-parse-search-value): Accept
4829         YYYY-MM-DD format to search.
4830         * elmo-date.el (elmo-date-get-datevec): Likewise.
4831
4832 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4833
4834         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4835         debugging code.
4836
4837 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4838
4839         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4840         from t.
4841
4842         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4843
4844         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4845         case from `elmo-folder-exists-p'.
4846         (elmo-folder-exists-p): Removed.
4847         (elmo-folder-creatable-p) Ditto.
4848
4849         * elmo-net.el (elmo-folder-create): Defined.
4850         (elmo-folder-create-unplugged): New function.
4851         (elmo-folder-exists-p): Changed default value to nil from t.
4852
4853         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4854         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4855
4856         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4857         `elmo-create-folder-dop' and append queue
4858         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4859         (elmo-folder-create-dop-delayed): New function.
4860
4861         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4862
4863         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4864
4865         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4866         (elmo-folder-writable-p) : Ditto.
4867
4868         * elmo-version.el (elmo-version): Up to 2.9.9.
4869
4870 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4871
4872         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4873         `elmo-message-use-cache-p' returns nil.
4874         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4875         (ignore cache file and refer the substance in local folders)
4876
4877 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4878
4879         * elmo-version.el (elmo-version): Up to 2.9.8.
4880
4881 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4882
4883         * elmo-version.el (elmo-version): Up to 2.9.7.
4884
4885         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4886
4887 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4888
4889         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4890
4891 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4892
4893         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4894         from --early.
4895         (elmo-map-folder-list-message-locations): Reverse location list.
4896
4897 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4898
4899         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4900
4901 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4902
4903         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4904         as a key.
4905         (elmo-nntp-folder-list-subfolders): Follow the change above.
4906
4907 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4908
4909         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4910         name if authentication type is specified.
4911
4912 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4913
4914         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4915         variable.
4916         (elmo-default-nntp-stream-type): Ditto.
4917         (elmo-default-pop3-stream-type): Ditto.
4918
4919 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4920
4921         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4922
4923 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4924
4925         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4926         elmo-vars.el.
4927         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4928
4929         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4930         (elmo-maildir-folder-path): Ditto.
4931         (elmo-maildir-list): Ditto (abolished).
4932
4933 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4934
4935         * elmo-version.el (elmo-version): Up to 2.9.6.
4936
4937 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4938
4939         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4940         (elmo-maildir-folder-path): Ditto.
4941         (elmo-msgdb-directory): Ditto.
4942         (elmo-passwd-life-time): Ditto.
4943         (elmo-msgdb-extra-fields): Ditto.
4944         (elmo-enable-disconnected-operation): Ditto.
4945
4946 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4947
4948         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4949         other choices.
4950         (elmo-pop3-default-authenticate-type): Ditto.
4951
4952 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4953
4954         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4955         choices for custom.
4956         (elmo-pop3-default-authenticate-type): Ditto.
4957
4958 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4959
4960         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4961         mailbox to new-folder.
4962
4963 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4964
4965         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4966         less than new, set new as unread.
4967
4968         * elmo-util.el (elmo-string): Don't put text-property if nil.
4969
4970 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4971
4972         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4973         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4974
4975 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4976
4977         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4978         is nil on `completing-read'.
4979
4980 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4981
4982         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4983         for namespace part.
4984         (elmo-imap4-parse-namespace-subr): Ditto.
4985         (elmo-folder-list-subfolders): Append a delimiter when the specified
4986         folder path is a root with namespace and does not end with delimiter.
4987
4988 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4989
4990         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4991         was used.
4992
4993 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4994
4995         * elmo-util.el (elmo-save-buffer): The first argument of message
4996         is a format control string.
4997
4998 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4999
5000         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5001         `elmo-folder-diff').
5002         (elmo-diff-unread): Likewise.
5003
5004 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5005
5006         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5007         is t on `completing-read'.
5008
5009 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5010
5011         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5012         method of target folder with self mark-alist if MARK-ALIST is nil.
5013
5014 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5015
5016         * elmo-version.el (elmo-version): Up to 2.9.5.
5017
5018 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5019
5020         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5021         (elmo-dop-merge-funcs): Remove.
5022
5023 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5024
5025         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5026         Return t if PATH is directory, too.
5027         Use `dolist' instead of while loop.
5028
5029 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5030
5031         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5032         is deleted.
5033
5034 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5035
5036         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5037         return value to t.
5038         (elmo-folder-list-messages-unplugged): Return t if
5039         elmo-enable-disconnected-operation is nil.
5040
5041         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5042         `elmo-folder-list-messages-internal'.
5043
5044 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5045
5046         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5047         Change to looking-at `[23][0-9]+'.
5048         (elmo-network-initialize-session): Use 'error-msg'
5049         * elmo-net.el (elmo-network-open-session): Set unplugged
5050         if elmo-network-initialize-session returns 'elmo-open-err.
5051
5052 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5053
5054         * elmo-version.el (elmo-version): Up to 2.9.4.
5055
5056 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5057
5058         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5059         `elmo-folder-list-messages-internal'.
5060
5061 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5062
5063         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5064         (elmo-message-match-condition): New method.
5065         (elmo-folder-search-fast): New inline function.
5066         (elmo-msgdb-search): Removed.
5067
5068         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5069         target folder if it is unplugged.
5070         (elmo-folder-list-messages-internal): Return t if target folder is
5071         unplugged and itself is persistent; In this case, use list be
5072         searched already.
5073
5074         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5075         (elmo-msgdb-search-internal-primitive): Ditto.
5076         (elmo-msgdb-match-condition): New function.
5077         (elmo-msgdb-match-condition-primitive): Ditto.
5078
5079         * elmo-util.el (elmo-filter-condition-p): New macro.
5080
5081         * elmo-cache.el (elmo-folder-search): Removed.
5082
5083         * elmo-localdir.el (elmo-folder-search): Ditto.
5084
5085         * elmo-maildir.el (elmo-folder-search): Ditto.
5086
5087         * elmo-mark.el (elmo-folder-search): Ditto.
5088
5089         * elmo-nmz.el (elmo-folder-search): Ditto.
5090
5091         * elmo-sendlog.el (elmo-folder-search): Ditto.
5092
5093         * elmo-shimbun.el (elmo-folder-search): Ditto.
5094
5095         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5096         if folder is unplugged.
5097
5098         * elmo-nntp.el (elmo-folder-search): Likewise.
5099         (elmo-nntp-search-internal): New function.
5100
5101         * elmo-version.el (elmo-version): Up to 2.9.3.
5102
5103 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5104
5105         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5106
5107 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5108
5109         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5110
5111 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5112
5113         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5114
5115 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5116
5117         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5118         (elmo-map-folder-list-message-locations): Do drive letter conversion
5119         on Windows environment.
5120         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5121         (elmo-map-message-fetch): Ditto.
5122
5123 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5124
5125         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5126         (elmo-network-initialize-session): Ditto.
5127
5128 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5129
5130         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5131
5132         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5133
5134         * elmo-util.el (elmo-progress-clear): Ditto.
5135
5136         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5137         `DD-Mon-YYYY' type date.
5138
5139 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5140
5141         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5142         `elmo-date-make-sortable-string' instead of
5143         `timezone-make-date-sortable'.
5144
5145         * elmo-date.el (elmo-date-make-sortable-string): Use
5146         `timezone-make-time-string'.
5147
5148 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5149
5150         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5151
5152         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5153         `since'; Fix timezone.
5154
5155         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5156
5157         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5158
5159 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5160
5161         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5162
5163 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5164
5165         * elmo.el (elmo-generic-folder-append-messages): Make
5166         fetch-strategy with `use-cache' as 'maybe. Check return value of
5167         `elmo-message-fetch'.
5168         (elmo-message-fetch): Return return value of
5169         `elmo-message-fetch-with-cache-process'.
5170         (elmo-message-fetch-with-cache-process): Return non-nil if
5171         fetching was succeed. Load cache when fetching was failed and
5172         fetch-strategy-use-cache is 'maybe.
5173
5174         * elmo-util.el (elmo-file-cache-load): New function.
5175
5176         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5177         defun.
5178
5179         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5180         non-nil if fetching was succeed.
5181
5182         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5183
5184         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5185
5186         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5187         (elmo-message-fetch-with-cache-process): Likwise.
5188
5189         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5190
5191         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5192
5193         * elmo-version.el (elmo-version): Up to 2.9.2.
5194
5195 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5196
5197         * elmo.el (elmo-folder-delete): Delete msgdb path.
5198
5199         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5200
5201         * elmo-maildir.el (elmo-folder-delete): Ditto.
5202
5203         * elmo-localdir.el (elmo-folder-delete): Ditto.
5204
5205         * elmo-imap4.el (elmo-folder-delete): Ditto.
5206
5207 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5208
5209         * elmo.el (luna-define-class): Added `biff' slot.
5210
5211         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5212         (elmo-pop3-debug-inhibit-logging): Abolished.
5213         (elmo-network-close-session): Eliminated needless let.
5214         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5215         (elmo-pop3-send-command): Added `no-log' argument.
5216         (elmo-pop3-process-filter): Use `with-current-buffer'.
5217         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5218         if login failure.
5219         (elmo-pop3-auth-apop): Likewise.
5220         (elmo-network-authenticate-session): Likewise.
5221
5222         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5223         if biff folder.
5224
5225         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5226         string to determine protocol.
5227         (elmo-network-session-name-prefix): Abolished.
5228         (elmo-network-session-cache-key): Follow the change above.
5229         (elmo-network-open-session): Ditto.
5230
5231         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5232         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5233
5234         * elmo-version.el (elmo-version): Up to 2.9.1.
5235
5236         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5237         unmatch condition checking.
5238
5239         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5240         condition.
5241
5242 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5243
5244         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5245
5246 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5247
5248         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5249         test for while loop to execute at least one SEARCH command.
5250
5251 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5252
5253         * elmo-version.el (elmo-version): Up to 2.9.0.
5254
5255 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5256
5257         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5258         (elmo-archive-folder-path): Define.
5259         (elmo-folder-initialize): Setup `dir-name' slot.
5260         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5261         Use `dir-name' as prefix of each subfolders.
5262         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5263
5264 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5265
5266         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5267         (elmo-pipe-folder-list-target-messages): New internal function.
5268         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5269         `killed-list'.
5270         (elmo-pipe-folder-copied-list-load): New function.
5271         (elmo-pipe-folder-copied-list-save): Ditto.
5272         (elmo-folder-open-internal): Follow the change above.
5273         (elmo-folder-status): Fixed for copy.
5274
5275 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5276
5277         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5278
5279 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5280
5281         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5282         elmo-copy-file instead of elmo-add-name-to-file.
5283
5284         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5285
5286         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5287         "file://..." index.
5288
5289         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5290         of accept-process-output as 1.
5291         (elmo-pop3-read-contents): Ditto.
5292         (elmo-pop3-read-body): Ditto.
5293
5294 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5295
5296         * elmo-version.el (product-version-as-string): Remove define.
5297
5298 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5299
5300         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5301         (elmo-imap4-copy-messages): Chop number set using
5302         `elmo-imap4-number-set-chop-length'.
5303         (elmo-imap4-set-flag): Ditto.
5304         (elmo-imap4-search-internal-primitive): Ditto.
5305
5306 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5307
5308         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5309         `elmo-folder-make-temp-dir'
5310
5311         * elmo-vars.el (elmo-cache-directory): New variable.
5312         (elmo-cache-dir): Abolished.
5313         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5314
5315         * elmo-version.el (elmo-version): Up to 2.7.7.
5316
5317 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5318
5319         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5320         defcustom; Set default value as t.
5321
5322 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5323
5324         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5325         (ldap-search-program-arguments): Changed default value.
5326         (ldap-search-basic): Accept exit status 4.
5327         (ldap/field-body): Parse options.
5328         (ldap/collect-field): Ditto.
5329         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5330
5331         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5332         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5333         (elmo-imap4-accept-ok): Ditto.
5334         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5335         'notify-bye, only BYE error is reported.
5336         (elmo-folder-exists-p-plugged): Set no-error argument of
5337         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5338
5339         * elmo.el (elmo-imap4-bye-error): Changed message.
5340
5341         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5342         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5343         queues (It causes infinite loop).
5344
5345 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5346
5347         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5348         (RECENT UNSEEN MESSAGES) extension.
5349
5350 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5351
5352         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5353         Check number of overview fields.
5354
5355 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5356
5357         * elmo.el (elmo-folder-confirm-appends): Changed message.
5358         (elmo-folder-confirm-appends): Ditto.
5359
5360         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5361         `with-temp-buffer'.
5362         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5363
5364 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5365
5366         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5367         of elmo-folder-update-threshold is nil, which can be set by
5368         wl-summary-update-confirm-threshold.
5369
5370 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5371
5372         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5373         (elmo-nmz-index-alias-alist): Ditto.
5374         (elmo-map-folder-list-message-locations): Follow the change above.
5375
5376 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5377
5378         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5379
5380         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5381
5382         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5383
5384         * elmo-util.el (elmo-read): Ditto.
5385         (elmo-display-error): Ditto.
5386
5387         * elmo-vars.el (elmo-date-match): Ditto.
5388
5389         * pldap.el (ldap-coding-system): Ditto.
5390
5391         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5392         `elmo-inhibit-number-mapping' as nil.
5393
5394 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5395
5396         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5397         space delimiter for list response.
5398
5399 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5400
5401         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5402
5403 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5404
5405         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5406         (elmo-map-message-fetch): Fix.
5407         * elmo-map.el (elmo-folder-status): Fix for killed.
5408
5409 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5410
5411         * elmo-sendlog.el: New file.
5412         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5413
5414 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5415
5416         * acap.el (acap-logging-out): New buffer local variable.
5417         (acap-close): Set it.
5418         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5419         an error.
5420
5421 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5422
5423         * acap.el (acap-response-bye-p): New function.
5424         (acap-response-bye-message): Ditto.
5425         (acap-wait-for-response): If bye response is received, cause an error.
5426         (acap-parse-response): Make bye response when 'Bye' is received.
5427
5428 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5429
5430         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5431
5432 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5433
5434         * elmo-util.el (elmo-copy-file): Added argument
5435         `ok-if-already-exists'.
5436         (elmo-copy-file): Fixed typo.
5437
5438 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5439
5440         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5441
5442 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5443
5444         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5445
5446 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5447
5448         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5449         to killed-list.
5450
5451 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5452
5453         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5454         (elmo-folder-initialize): Fix for `copy'.
5455         (elmo-pipe-drain): Ditto.
5456         (elmo-folder-open-internal): Ditto.
5457         (elmo-folder-newsgroups): Fix.
5458
5459 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5460
5461         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5462         for each message.
5463
5464         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5465         recent value is returned from imap folder.
5466
5467         * elmo.el (elmo-folder-newsgroups): New generic function.
5468
5469         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5470         (elmo-folder-initialize): Set it.
5471         (elmo-folder-expand-msgdb-path): Use it.
5472         (elmo-folder-newsgroups): Define.
5473
5474         * elmo-filter.el (elmo-folder-newsgroups): Define.
5475
5476         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5477
5478         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5479
5480         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5481
5482 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5483
5484         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5485         user option.
5486         (elmo-shimbun-header-extra-field): New inline function.
5487         (elmo-shimbun-header-set-extra-field): Ditto.
5488         (elmo-shimbun-folder-header-hash-setup): Ditto.
5489         (elmo-shimbun-update-overview): Ditto.
5490         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5491         (elmo-shimbun-folder-setup): Use
5492         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5493         (elmo-shimbun-get-headers): Ditto.
5494         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5495         Insert `X-Shimbun-Id:' header if extra field is set.
5496         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5497         field's value instead of `shimbun-header-id'.
5498
5499         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5500         inline function.
5501         (elmo-msgdb-overview-entity-set-date): Ditto.
5502         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5503
5504 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5505
5506         * mmimap.el (mmimap-entity-section): Changed body node number from
5507         "0" to "1".
5508
5509 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5510
5511         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5512         `elmo-folder-delete-messages'.
5513
5514         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5515         (elmo-folder-initialize): Changed to expand alias into index path.
5516
5517         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5518         `elmo-mime-insert-header-from-buffer' with 6th arg
5519         `sorted-fields'.
5520
5521 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5522
5523         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5524
5525         * elmo.el (elmo-diff-new): New inline function.
5526         (elmo-diff-unread): Ditto.
5527         (elmo-diff-all): Ditto.
5528
5529         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5530         value from responseb.
5531         (elmo-imap4-folder-diff-plugged): Ditto.
5532         (elmo-imap4-server-diff-async): Added recent argument.
5533         (elmo-server-diff-async): Ditto.
5534         (elmo-imap4-folder-diff-plugged): Ditto.
5535
5536         * elmo-version.el (elmo-version): Up to 2.7.6.
5537
5538 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5539
5540         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5541         in quoted-stirng.
5542
5543 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5544
5545         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5546
5547         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5548
5549         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5550
5551         * elmo-multi.el (elmo-folder-initialize): Ditto.
5552
5553         * elmo-util.el (elmo-parse-token): New function.
5554         (elmo-parse-prefixed-element): Ditto.
5555
5556 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5557
5558         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5559         delete process.
5560         (elmo-imap4-accept-ok): Ditto.
5561
5562 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5563
5564         * mmimap.el (mime-imap-entity-header-string): Don't check first
5565         element of node-id is `0' (Follow last change).
5566
5567 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5568
5569         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5570         assigned irregular node-id to nested multipart section.
5571         (initialize-instance): Followed above change.
5572
5573 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5574
5575         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5576         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5577         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5578         `elmo-shimbun-get-headers');
5579         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5580         visible article on summary exists in headers).
5581         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5582
5583 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5584
5585         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5586         definition.
5587
5588 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5589
5590         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5591
5592 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5593
5594         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5595         header separator into loop condition.
5596
5597 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5598
5599         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5600         Return duplicate folder if it has subfolder.
5601
5602 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5603
5604         * elmo.el (elmo-make-folder): Add folder name error check.
5605
5606         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5607         (elmo-nntp-encode-group-string): New inline function.
5608         (elmo-nntp-decode-group-string): Ditto.
5609         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5610         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5611         Use `not' instead of `null';
5612         Use elmo-nntp-decode-group-string.
5613
5614         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5615
5616         * elmo-version.el (elmo-version): Up to 2.7.5.
5617
5618 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5619
5620         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5621         Hide progress gauge if `elmo-folder-move-messages' exits
5622         nonlocally.
5623
5624 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5625
5626         * elmo-imap4.el (elmo-folder-initialize): Use
5627         `elmo-imap4-encode-folder-string' for folder name.
5628
5629 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5630
5631         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5632         `done'.
5633
5634 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5635
5636         * elmo-util.el (elmo-progress-counter-alist): New internal
5637         variable.
5638         (elmo-progress-counter-value): New macro.
5639         (elmo-progress-counter-all-value): Ditto.
5640         (elmo-progress-counter-format): Ditto.
5641         (elmo-progress-counter-set-value): Ditto.
5642         (elmo-progress-set): New function.
5643         (elmo-progress-clear): Ditto.
5644         (elmo-progress-notify): Ditto.
5645
5646         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5647         counter.
5648
5649         * elmo.el (elmo-generic-folder-append-messages): Call
5650         `elmo-progress-notify'.
5651         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5652
5653         * elmo-archive.el (elmo-folder-append-messages): Call
5654         `elmo-progress-notify'.
5655
5656         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5657
5658         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5659
5660         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5661
5662 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5663
5664         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5665         'Create'.
5666         (elmo-message-encache-dop): Added argument `read'.
5667
5668         * elmo-shimbun.el (elmo-message-encache): Ditto.
5669
5670         * elmo-net.el (elmo-message-encache): Ditto.
5671
5672         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5673         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5674         elmo-imap4-seen-messages.
5675         (elmo-folder-msgdb-create-plugged): Initialize
5676         elmo-imap4-seen-messages;
5677         Set seen mark on elmo-imap4-seen-messages.
5678
5679         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5680
5681         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5682         elmo-folder-append-buffer.
5683         (elmo-folder-encache): Added optional argument `read'.
5684         (elmo-message-encache): Ditto.
5685
5686         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5687
5688         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5689
5690         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5691         if append buffer content succeds.
5692
5693 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5694
5695         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5696         elmo-display-progress.
5697
5698         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5699         Set 4th argument of mime-display-message.
5700         (elmo-mime-display-as-is): Ditto.
5701
5702 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5703
5704         * elmo-nmz.el (toplevel): Require 'mime-edit.
5705         (elmo-nmz-content-type-alist): Abolished.
5706         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5707         content is not a message.
5708         (elmo-map-message-fetch): Changed behavior exept for message content;
5709         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5710         content-type, Add From: and Subject: field.
5711
5712 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5713
5714         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5715         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5716         not a message.
5717
5718 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5719
5720         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5721         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5722
5723         * elmo-archive.el (elmo-folder-writable-p): Defined.
5724
5725         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5726
5727         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5728
5729         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5730
5731         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5732
5733         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5734
5735         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5736
5737         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5738
5739         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5740
5741 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5742
5743         * elmo-util.el (elmo-address-quote-specials): New function;
5744         Renamed from `wl-address-quote-specials'.
5745
5746 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5747
5748         * elmo-version.el (elmo-version): Up to 2.7.4.
5749
5750 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5751
5752         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5753
5754 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5755
5756         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5757         both compile-time and run-time to avoid byte-compile warning.
5758
5759 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5760
5761         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5762
5763 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5764
5765         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5766         option.
5767         (elmo-mime-display-as-is-internal): Use it.
5768
5769         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5770         if `read-passwd' is not defined.
5771
5772 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5773
5774         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5775         by original number.
5776         (elmo-folder-status): Call `elmo-folder-open-internal';
5777         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5778         (elmo-folder-close-internal): Set location-alist as nil.
5779         (elmo-folder-clear): Define.
5780         (elmo-folder-check): Don't set location-alist as nil.
5781
5782         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5783
5784 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5785
5786         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5787         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5788
5789         * mmimap.el (mime-imap-entity::requested): New slot.
5790         (mime-imap-location-fetch-entity-p): New generic function.
5791         (mime-decode-parameters): Define using `defun-maybe'.
5792         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5793         content-type structure.
5794         (mime-entity-body): Return empty body if
5795         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5796
5797         * elmo.el (elmo-message-displaying): New variable.
5798
5799         * elmo-mime.el (elmo-mime-message-display): Bind
5800         elmo-message-displaying as t.
5801
5802         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5803
5804 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5805
5806         * acap.el (acap-open): erase buffer before starting network process.
5807         (acap-store): Rewrite.
5808
5809 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5810
5811         * elmo-imap4.el (elmo-imap4-default-mailbox,
5812         elmo-imap4-default-server
5813         elmo-imap4-default-authenticate-type,
5814         elmo-imap4-default-user,
5815         elmo-imap4-default-port,
5816         elmo-imap4-default-stream-type,
5817         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5818
5819         * elmo-pop3.el (elmo-pop3-default-user,
5820         elmo-pop3-default-server,
5821         elmo-pop3-default-authenticate-type,
5822         elmo-pop3-default-port,
5823         elmo-pop3-default-stream-type,
5824         elmo-pop3-stream-type-alist): Ditto.
5825
5826         * elmo-nntp.el (elmo-nntp-default-server,
5827         elmo-nntp-default-user,
5828         elmo-nntp-default-port,
5829         elmo-nntp-default-stream-type,
5830         elmo-nntp-stream-type-alist): Ditto.
5831
5832         * elmo-vars.el: Follow changes above.
5833         (elmo-setting): New custom group; added 'elmo-setting group to
5834         above variables.
5835
5836         * elmo-version.el (elmo-version): Up to 2.7.3.
5837
5838         * acap.el (acap-parse-response): Don't delete process when BYE
5839         response (It causes hang-up on slow network environment).
5840         (toplevel): Added comment.
5841
5842 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5843
5844         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5845
5846         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5847         parsing NIL.
5848         (acap-parse-return-metadata): Ditto.
5849
5850         * slp.el: New file.
5851         (toplevel): Fixed typo.
5852
5853         * acap.el: New file.
5854         (acap-network-stream-open): Show "Connecting..." message.
5855         (acap-parse-response): Fixed problem for BYE untagged response.
5856         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5857         (toplevel): Added tiny comments.
5858
5859 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5860
5861         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5862         space delimiter for uidl response.
5863
5864 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5865
5866         * elmo-vars.el (elmo-use-semi): Eliminated.
5867
5868         * elmo-util.el (elmo-string-assoc-all): New function.
5869
5870 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5871
5872         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5873         property 'mime-preview-situation for `mime-preview-quit'.
5874
5875 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5876
5877         * elmo.el (elmo-message-fetch-with-cache-process): Call
5878         elmo-message-fetch-internal instead of causing an error when fetch
5879         strategy is 'entire but only 'section cache is available.
5880
5881 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5882
5883         * elmo-version.el (elmo-version): Up to 2.7.2.
5884
5885         * elmo.el (elmo-generic-folder-append-messages): Make
5886         fetch-strategy with `use-cache'.
5887
5888         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5889         (elmo-dop-queue-method-name): New macro.
5890
5891 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5892
5893         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5894         unbalanced parenthesis.
5895
5896 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5897
5898         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5899
5900 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5901
5902         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5903         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5904
5905 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5906
5907         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5908         local variables.
5909
5910 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5911
5912         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5913         (elmo-message-use-cache-p): Define.
5914         (elmo-folder-msgdb-create): Treat cache.
5915
5916 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5917
5918         * elmo-nntp.el (elmo-network-initialize-session): Call
5919         `elmo-nntp-send-mode-reader'.
5920         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5921
5922 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5923
5924         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5925         alist.
5926         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5927         assoc.
5928
5929         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5930         for `elmo-plugged-p'.
5931         (elmo-open-network-stream): Fixed stream-type argument.
5932
5933 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5934
5935         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5936         unknown archive type is specified.
5937
5938 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5939
5940         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5941
5942         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5943         while loading msgdb.
5944
5945         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5946         (elmo-folder-open-internal): Rewrite.
5947
5948 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5949
5950         * elmo-mime.el (elmo-mime-display-as-is-internal):
5951         Adjust buffer-multibyte status.
5952
5953 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5954
5955         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5956         of elmo-condition-find-key.
5957
5958         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5959         (elmo-condition-in-msgdb-p): Ditto.
5960         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5961         argument.
5962
5963 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5964
5965         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5966
5967 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5968
5969         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5970         label for elmo-display-progress.
5971
5972 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5973
5974         * elmo.el (elmo-folder-clear): New method.
5975         (elmo-folder-clear): Define.
5976         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5977
5978         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5979         (elmo-folder-clear): Define.
5980
5981         * elmo-map.el (elmo-folder-clear): Define.
5982
5983         * elmo-version.el (elmo-version): Up to 2.7.1.
5984
5985 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5986
5987         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5988         updates.
5989
5990 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5991
5992         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5993         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5994
5995 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5996
5997         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5998
5999         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6000         and re-written.
6001
6002         * elmo-imap4.el (elmo-folder-initialize): Use
6003         elmo-get-network-stream-type.
6004
6005         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6006
6007         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6008
6009 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6010
6011         * elmo.el (elmo-message-encache): Set unread argument for
6012         elmo-message-fetch.
6013
6014         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6015
6016         * elmo.el (elmo-net-port-info): New method.
6017
6018         * elmo-shimbun.el (elmo-net-port-info): Define.
6019         (elmo-message-encache): Ditto.
6020
6021         * elmo-net.el (elmo-net-port-info): Define as method.
6022
6023         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6024         unplugged status when elmo-enable-disconnected-operation is t.
6025
6026         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6027         of spool folder before checking new number.
6028
6029 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6030
6031         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6032         (elmo-network-setup-session): Ditto.
6033         (elmo-message-fetch-plugged): Ditto.
6034         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6035         (elmo-network-initialize-session): Ditto.
6036         (elmo-pop3-read-response): Abolish 3rd argument.
6037         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6038         (elmo-pop3-read-contents): Ditto.
6039         (elmo-pop3-read-body): Ditto.
6040         (elmo-folder-status): Call elmo-folder-close.
6041         (elmo-pop3-lock): Abolish.
6042         (elmo-pop3-unlock): Ditto.
6043         (elmo-pop3-locked-p): Ditto.
6044         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6045
6046 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6047
6048         * elmo-version.el (elmo-version): Up to 2.7.0.
6049
6050         * elmo-pop3.el (elmo-pop3-debug): New variable.
6051         (elmo-pop3-debug-inhibit-logging): Ditto.
6052         (elmo-pop3-debug): New function.
6053         (elmo-pop3-send-command): Call elmo-pop3-debug.
6054         (elmo-pop3-read-response): Added keep-lock optional argument;
6055         Don't unlock if keep-lock is non-nil.
6056         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6057         (elmo-network-authenticate-session): Bind
6058         elmo-pop3-debug-inhibit-logging as t.
6059         (elmo-network-setup-session): Call elmo-pop3-read-response with
6060         keep-lock argument.
6061         (elmo-pop3-read-msg): Ditto.
6062         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6063         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6064         (elmo-network-initialize-session): Call elmo-pop3-lock.
6065         (elmo-folder-close-internal): Don't clear location-alist slot.
6066         (elmo-folder-check): Clear location-alist slot.
6067
6068 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6069
6070         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6071         (elmo-pop3-send-command): Call elmo-pop3-lock.
6072         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6073         (elmo-pop3-read-contents): Ditto.
6074         (elmo-pop3-lock): New function.
6075         (elmo-pop3-unlock): Ditto.
6076         (elmo-pop3-locked-p): Ditto.
6077         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6078         returns t.
6079
6080 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6081
6082         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6083
6084         * elmo-util.el (elmo-file-field-primitive-condition-match):
6085         New inline function (Don't fetch file content if "first" or "last").
6086         (elmo-file-field-condition-match): Use
6087         elmo-file-field-primitive-condition-match.
6088
6089         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6090         "first".
6091
6092         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6093         (elmo-message-fetch-plugged): Fixed.
6094
6095         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6096
6097 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6098
6099         * elmo.el (elmo-folder-move-messages): Bind
6100         elmo-inhibit-display-retrieval-progress as t while moving messages.
6101
6102         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6103         New variable.
6104         (elmo-inhibit-display-retrieval-progress): Ditto.
6105
6106         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6107         for retrieval progress;
6108         Don't display progress when total buffer size is smaller than
6109         elmo-display-retrieval-progress-threshold.
6110         (elmo-message-fetch-plugged): Don't display progress when
6111         elmo-inhibit-display-retrieval-progress is non-nil.
6112
6113         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6114         for retrieval progress;
6115         Don't display progress when literal size is smaller than
6116         elmo-display-retrieval-progress-threshold.
6117         (elmo-imap4-message-fetch): Don't display progress when
6118         elmo-inhibit-display-retrieval-progress is non-nil.
6119
6120 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6121
6122         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6123         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6124         (elmo-imap4-message-fetch): Likewise.
6125
6126         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6127         (elmo-shimbun-index-range-alist): Ditto.
6128         (elmo-shimbun-use-entire-index): Abolish.
6129         (shimbun-mua-use-entire-index): Ditto.
6130         (elmo-shimbun-folder): Added new slot `range'.
6131         (elmo-folder-initialize): Setup slot `range'.
6132
6133 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6134
6135         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6136         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6137         (elmo-shimbun-get-headers): Use return value of
6138         `shimbun-article-expiration-days'.
6139         (elmo-folder-close-internal): Clean up last-check slot.
6140
6141         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6142         (elmo-pop3-total-size): New variable.
6143         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6144
6145         * elmo.el (elmo-folder-reserve-status-p): New method.
6146
6147         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6148         (elmo-shimbun-use-entire-index): New user option.
6149         (shimbun-elmo-mua): New class.
6150         (shimbun-mua-search-id): Define.
6151         (shimbun-mua-use-entire-index): Ditto.
6152         (elmo-shimbun-folder:last-check): New slot.
6153         (elmo-shimbun-headers-cache-header-list): Abolish.
6154         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6155         (elmo-shimbun-headers-cache-header-hash): Ditto.
6156         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6157         (elmo-shimbun-headers-cache-last-check): Ditto.
6158         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6159         (elmo-shimbun-headers-check-p): Rewrite.
6160         (elmo-shimbun-msgdb-to-headers): New function.
6161         (elmo-shimbun-get-headers): Rewrite.
6162         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6163         (elmo-folder-open-internal): Get headers only if
6164         `elmo-shimbun-headers-check-p' is non-nil.
6165         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6166         is non-nil.
6167         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6168         (elmo-quit): Removed.
6169
6170         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6171         function.
6172         (elmo-msgdb-overview-entity-set-extra): Ditto.
6173         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6174
6175         * elmo-map.el (elmo-folder-status): Don't call
6176         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6177         is non-nil.
6178
6179 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6180
6181         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6182         of `elmo-msgdb-search-internal-primitive' when condition's car is
6183         `and' or `or'.
6184
6185 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6186
6187         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6188
6189 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6190
6191         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6192         call `elmo-pipe-drain'.
6193
6194 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6195
6196         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6197         typo. (elmo-cache-folder -> elmo-mark-folder)
6198
6199 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6200
6201         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6202         `elmo-message-fetch'.
6203
6204 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6205
6206         * elmo-net.el (elmo-message-encache): Fixed typo.
6207         (elmo-message-fetch-unplugged): Changed call
6208         `elmo-message-fetch-internal' without argument `outbuf'.
6209
6210 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6211
6212         * elmo.el (elmo-message-encache): Define as generic function.
6213         (elmo-message-fetch-field): New generic function.
6214         (elmo-message-fetch-with-cache-process): Cause an error when
6215         fetch strategy is 'entire but only 'section cache is available.
6216         (toplevel): Fixed nmz folder definition.
6217
6218         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6219         (elmo-msgdb-resume-list-filename): Ditto.
6220         (elmo-queue-filename): Ditto.
6221         (elmo-enable-disconnected-operation): Changed default value to t.
6222
6223         * elmo-util.el (elmo-cache-path-section-p): New function.
6224         (elmo-file-cache-get): Use it.
6225         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6226         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6227         (elmo-dop-queue-save): Ditto.
6228
6229         * elmo-net.el (elmo-folder-status-unplugged): Call
6230         elmo-folder-status-dop.
6231         (elmo-folder-list-messages-unplugged): Implemented.
6232         (elmo-folder-delete-messages-unplugged): Define.
6233         (elmo-folder-msgdb-create): Define.
6234         (elmo-folder-msgdb-create-unplugged): Define.
6235         (elmo-folder-mark-as-read-unplugged): Ditto.
6236         (elmo-folder-unmark-read-unplugged): Ditto.
6237         (elmo-folder-mark-as-important-unplugged): Ditto.
6238         (elmo-folder-unmark-important-unplugged): Ditto.
6239         (elmo-message-encache): Ditto.
6240
6241         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6242         (elmo-dop-queue-save): Ditto.
6243
6244         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6245         `elmo-folder-msgdb-create'.
6246         (elmo-folder-append-buffer): Implemented unplugged operation.
6247         (elmo-folder-append-messages): Call parent method in unplugged status.
6248         (elmo-message-fetch-unplugged): Removed definition.
6249         (elmo-message-fetch-field): Implemented.
6250
6251         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6252         (elmo-dop-folder): Removed variable definition.
6253         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6254         (elmo-dop-queue-flush): Implemented.
6255         (elmo-dop-queue-merge): Removed definition (TODO).
6256         (elmo-dop-spool-folder): New function.
6257         (elmo-dop-spool-folder-append-buffer): Ditto.
6258         (elmo-dop-spool-folder-list-messages): Ditto.
6259         (elmo-dop-list-deleting-messages): Ditto.
6260         (elmo-folder-append-buffer-dop): Ditto.
6261         (elmo-folder-delete-messages-dop): Ditto.
6262         (elmo-message-encache-dop): New inline function.
6263         (elmo-create-folder-dop): Ditto.
6264         (elmo-folder-mark-as-read-dop): Ditto.
6265         (elmo-folder-unmark-read-dop): Ditto.
6266         (elmo-folder-mark-as-important-dop): Ditto.
6267         (elmo-folder-unmark-important-dop): Ditto.
6268         (elmo-folder-status-dop): Fixed.
6269         (elmo-folder-append-buffer-dop-delayed): New function.
6270         (elmo-folder-delete-messages-dop-delayed): Ditto.
6271         (elmo-dop-msgdb): Ditto.
6272
6273 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6274
6275         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6276
6277 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6278
6279         * elmo.el (elmo-folder-move-messages): Fixed problem when
6280         `dst-folder' is 'null.
6281
6282 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6283
6284         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6285         instead of current mark.
6286
6287         * elmo-multi.el (elmo-folder-list-importants-internal): No
6288         operation if importants is not list.
6289
6290         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6291         Return t if importants is not list.
6292
6293         * elmo-map.el (elmo-map-folder-list-importants): Define.
6294         (elmo-folder-list-importants-internal): Check return value of
6295         `elmo-map-folder-list-importants-internal'.
6296
6297         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6298
6299         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6300
6301         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6302
6303         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6304
6305 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6306
6307         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6308         (Patch is provided by <kita@coe.nttdata.co.jp>).
6309
6310 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6311
6312         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6313         mark folder.
6314
6315 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6316
6317         * elmo.el (elmo-message-fetch): Define.
6318         (elmo-message-fetch-with-cache-process): New generic method.
6319         (elmo-message-fetch-internal): New generic method.
6320         (elmo-folder-synchronize):
6321
6322         * elmo-archive.el (elmo-message-fetch-internal): Define.
6323         (elmo-message-fetch): Eliminated.
6324
6325         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6326         (elmo-message-fetch): Eliminated.
6327
6328         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6329         argument OUTBUF.
6330         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6331
6332         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6333         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6334
6335         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6336         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6337
6338         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6339
6340         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6341
6342         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6343
6344         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6345         (elmo-message-fetch-unplugged): New generic method.
6346         (elmo-message-fetch-internal): Remove cache process (Renamed from
6347         `elmo-message-fetch').
6348
6349         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6350         (elmo-message-fetch): Eliminated.
6351         (elmo-message-fetch-unplugged): Ditto.
6352
6353         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6354
6355 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6356
6357         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6358         of `to-be-deleted' from number-alist to number-list.
6359
6360 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6361
6362         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6363         (elmo-folder-mark-as-important): Ditto.
6364
6365 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6366
6367         * elmo.el (elmo-folder): Added process-duplicates slot.
6368
6369         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6370         (elmo-folder-unmark-read): Ditto.
6371         (elmo-folder-unmark-important): Ditto.
6372         (elmo-folder-mark-as-important): Ditto.
6373
6374         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6375         duplicated message processing.
6376
6377         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6378
6379 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6380
6381         * elmo-util.el (elmo-list-subdirectories-1): New function.
6382         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6383         (elmo-mapcar-list-of-list): New function.
6384
6385         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6386         `elmo-mapcar-list-of-list' instead of `mapcar'.
6387
6388         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6389
6390         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6391         `elmo-have-link-count'. Return the fully qualified folder name.
6392
6393 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6394
6395         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6396         (elmo-shimbun-headers-cache): New internal variable.
6397         (elmo-shimbun-headers-cache-header-list): New inline function.
6398         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6399         (elmo-shimbun-headers-cache-header-hash): Ditto.
6400         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6401         (elmo-shimbun-headers-cache-last-check): Ditto.
6402         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6403         (elmo-shimbun-lapse-seconds): Ditto.
6404         (elmo-shimbun-headers-cache-check-p): Ditto.
6405         (elmo-shimbun-get-headers): New function.
6406         (elmo-folder-open-internal): Call it.
6407         (elmo-quit): Define (Clear headers-cache).
6408
6409 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6410
6411         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6412
6413         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6414         (elmo-msgdb-flist-save): Ditto.
6415
6416         * elmo-shimbun.el (elmo-folder-list-subfolders):
6417         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6418         (elmo-folder-exists-p): Ditto.
6419
6420         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6421         argument for `shimbun-header-insert'.
6422
6423 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6424
6425         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6426         at first time.
6427
6428         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6429         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6430
6431 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6432
6433         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6434         (elmo-folder-plugged-p): Define.
6435         (elmo-folder-set-plugged): Ditto.
6436         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6437         (elmo-folder-list-messages-internal): Return t if unplugged.
6438         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6439
6440         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6441         when elmo-folder-list-messages-internal method of children returns t.
6442
6443         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6444         pair is nil.
6445         (elmo-folder-open-internal): Don't update if unplugged status.
6446
6447 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6448
6449         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6450         new message.
6451
6452 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6453
6454         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6455
6456         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6457         saving.
6458
6459 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6460
6461         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6462
6463         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6464         (elmo-folder-open-internal): Set up headers slot.
6465         (elmo-folder-check): Call elmo-folder-close-internal and
6466         elmo-folder-open-internal.
6467         (elmo-folder-close-internal): Clean up headers slot.
6468
6469 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6470
6471         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6472         exactly folder list.
6473         (elmo-folder-append-messages): Fixed append archive with prefix.
6474
6475         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6476         make temp files with start-number.
6477
6478         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6479
6480 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6481
6482         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6483         argument `visible-only'.
6484         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6485         instead of `if'.
6486
6487         * elmo-pop3.el (elmo-folder-open-internal): Check
6488         `elmo-inhibit-number-mapping' is non-nil.
6489
6490         * elmo-pipe.el (elmo-folder-status): Fixed.
6491
6492 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6493
6494         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6495
6496         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6497         (elmo-folder-open-internal): Setup `header-hash' slot.
6498         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6499         information.
6500         (elmo-map-message-fetch): Ditto.
6501
6502 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6503
6504         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6505         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6506         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6507         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6508
6509         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6510
6511 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6512
6513         * sb-airs.el: Added footer.
6514
6515         * shimbun.el (shimbun-article): Define as luna-method.
6516
6517         * sb-tcup.el: New file.
6518
6519         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6520         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6521
6522 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6523
6524         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6525         (shimbun-get-headers): Ditto.
6526
6527         * elmo.el: Moved obsolete variable definitions from
6528         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6529
6530         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6531         groups.
6532
6533         * shimbun.el: New file.
6534
6535         * elmo-shimbun.el: New file.
6536
6537         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6538         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6539         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6540         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6541
6542 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6543
6544         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6545         hierarchy is t.
6546
6547 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6548
6549         * elmo.el (elmo-folder-msgdb): Define as macro.
6550         (elmo-folder-open): Added argument `load-msgdb'.
6551         (elmo-generic-folder-open): Ditto.
6552         (elmo-folder-encache): New function.
6553
6554         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6555
6556         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6557
6558         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6559         Eliminated argument FOLDER and added argument MSGDB.
6560         (elmo-dop-queue-load): Moved from elmo-dop.el.
6561         (elmo-dop-queue-save): Ditto.
6562
6563         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6564
6565         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6566
6567         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6568         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6569         (elmo-filter-folder-list-importants-internal): Ditto.
6570
6571         * elmo-map.el (elmo-folder-pack-number): Ditto.
6572
6573         * elmo-mime.el (elmo-mime-message-display): Ditto.
6574
6575         * elmo.el (elmo-generic-folder-commit): Ditto.
6576         (elmo-folder-list-unreads): Ditto.
6577         (elmo-folder-list-importants): Ditto.
6578         (elmo-generic-folder-commit): Ditto.
6579         (elmo-message-set-mark): Ditto.
6580         (elmo-generic-folder-append-msgdb): Ditto.
6581         (elmo-folder-synchronize): Ditto.
6582         (elmo-folder-messages): Ditto.
6583         (elmo-init): Call elmo-dop-queue-load.
6584         (elmo-folder-list-messages): Ditto.
6585
6586         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6587         (elmo-nntp-folder-process-crosspost): Ditto.
6588         (elmo-folder-list-unreads-internal): Ditto.
6589
6590         * elmo-dop.el: Removed old functions.
6591
6592 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6593
6594         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6595         `folder' to `msgdb'.
6596
6597 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6598
6599         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6600         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6601
6602         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6603         case-fold-search.
6604
6605 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6606
6607         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6608         defined.
6609
6610         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6611         (mmimap-parse-parameters-from-list): Define as alias for
6612         `mime-decode-parameter-plist' if it is defined as function.
6613         (mmimap-make-mime-entity): Added argument `number'.
6614         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6615         as 0.
6616         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6617
6618         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6619
6620         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6621
6622         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6623
6624 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6625
6626         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6627
6628         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6629         when elmo-imap4-default-authenticate-type is nil.
6630         (elmo-folder-list-subfolders): Ditto
6631         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6632         (elmo-imap4-fetch-callback-1-subr): Renamed from
6633         `elmo-imap4-fetch-callback-1' and define as inline function.
6634         (elmo-imap4-fetch-callback-1):
6635         Renamed from `elmo-imap4-fetch-callback'.
6636         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6637
6638         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6639         msgdb path (To keep compatibility with main trunk).
6640
6641         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6642
6643         * elmo-util.el (elmo-make-file-cache): Moved position of
6644         some macros.
6645
6646         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6647         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6648         instead of `elmo-pop3-inhibit-uidl'.
6649         (elmo-folder-exists-p): Ditto.
6650         (elmo-pop3-folder-list-messages): Ditto.
6651
6652         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6653         instead of `elmo-pop3-inhibit-uidl'.
6654         (elmo-folder-status): Ditto.
6655
6656         * elmo-dop.el (elmo-dop-folder): New variable.
6657         (elmo-dop-lock-message): Eliminated.
6658         (elmo-dop-unlock-message): Ditto.
6659         (elmo-dop-lock-list-load): Ditto.
6660         (elmo-dop-lock-list-save): Ditto.
6661         (elmo-dop-delete-folder): Ditto.
6662         (elmo-dop-rename-folder): Ditto.
6663
6664         * elmo.el: Removed incomplete commentary.
6665
6666 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6667
6668         * elmo.el (toplevel): Require 'elmo-version first;
6669         for little `recursive-load-depth' settings.
6670         Fix "ends here" comment.
6671
6672 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6673
6674         * elmo-util.el (toplevel): Require 'poem;
6675         Some functions are moved from elmo-cache.el.
6676
6677         * elmo-net.el (toplevel): Require 'elmo-cache.
6678
6679         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6680
6681         * elmo.el (toplevel): Ditto.
6682
6683         * elmo-cache.el: Rewrite with luna;
6684         Some functions are moved to elmo-util.el.
6685
6686         * elmo-internal.el (elmo-internal-folder-list): New variable.
6687         (elmo-internal-folder-initialize): Rewrite.
6688         (elmo-folder-list-subfolders): Ditto.
6689
6690         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6691         (elmo-cache-collect-sub-directories): Ditto.
6692
6693 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6694
6695         * elmo-version.el (elmo-version): Up to 2.5.8.
6696
6697         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6698
6699         * elmo-util.el (elmo-list-insert): New function.
6700
6701 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6702
6703         * elmo.el (elmo-init): New function.
6704         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6705
6706         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6707         (Renamed from `elmo-localdir-header-chop-length').
6708
6709         * elmo-pop3.el (elmo-pop3-use-cache,
6710         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6711
6712         * elmo-nntp.el (elmo-message-fetch): Define.
6713         (elmo-message-fetch-unplugged): Ditto.
6714         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6715         (elmo-nntp-use-cache): Ditto.
6716         (elmo-nntp-max-number-precedes-list-active): Ditto.
6717
6718         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6719
6720         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6721         `elmo-msgdb-insert-file-header'.
6722         Use `elmo-msgdb-file-header-chop-length'.
6723
6724         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6725         `elmo-vars.el'.
6726
6727         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6728         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6729         `elmo-msgdb-insert-file-header'.
6730
6731         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6732         Use new variable;
6733         Define obsolete variables with `elmo-define-obsolete-variable',
6734
6735         * elmo-util.el (elmo-warning-buffer-name): New constant.
6736         (elmo-warning): New function.
6737         (elmo-obsolete-variable-alist): New variable.
6738         (elmo-obsolete-variable-show-warnings): New variable.
6739         (elmo-define-obsolete-variable): New function.
6740         (elmo-resque-obsolete-variable): Ditto.
6741         (elmo-resque-obsolete-variables): Ditto.
6742
6743 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6744
6745         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6746         Eliminated.
6747
6748         * elmo-pop3.el, elmo-nntp.el: Use custom.
6749
6750 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6751
6752         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6753         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6754
6755 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6756
6757         * Luna-fy Kenichi OKADA's following changes.
6758         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6759         `nohide'.
6760         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6761
6762 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6763
6764         * elmo-util.el (elmo-display-progress): Prefer
6765         `progress-feedback-with-label' to `lprogress-display'.
6766
6767 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6768
6769         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6770
6771 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6772
6773         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6774         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6775         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6776         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6777         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6778         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6779         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6780         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6781         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6782         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6783         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6784         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6785         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6786
6787 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6788
6789         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6790         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6791
6792 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6793
6794         * elmo.el (elmo-folder-process-crosspost): New generic method.
6795         (elmo-folder-writable-p): Ditto.
6796         (elmo-folder-message-appendable-p): Eliminated.
6797         (elmo-generic-folder-append-msgdb): Rewrite.
6798         (elmo-newsgroups-hashtb): New internal variable.
6799         (elmo-crosspost-message-set): Eliminated.
6800         (elmo-crosspost-message-delete): Ditto.
6801         (elmo-setup-subscribed-newsgroups): New function.
6802         (elmo-crosspost-message-alist-modified): New internal variable.
6803         (elmo-crosspost-message-alist-load): New function (Renamed from
6804         `wl-crosspost-alist-load').
6805         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6806         `wl-crosspost-alist-save').
6807
6808         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6809
6810         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6811         `unreads'.
6812         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6813         elmo-newsgroups-hashtb).
6814         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6815         `elmo-nntp-folder-update-crosspost-message-alist'.
6816         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6817         `elmo-nntp-groups-hashtb'.
6818         (elmo-nntp-make-groups-hashtb): Eliminated.
6819         (elmo-nntp-parse-newsgroups): New function (Renamed from
6820         `wl-parse-newsgroups').
6821         (elmo-folder-creatable-p, elmo-folder-writable-p,
6822         elmo-folder-close-internal, elmo-folder-mark-as-read,
6823         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6824         Define.
6825         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6826
6827         * elmo-net.el (elmo-message-fetch): Check buffer size.
6828
6829         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6830
6831         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6832
6833         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6834         before `close' command.
6835
6836         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6837         `mark-alist' (All other related portions are changed).
6838
6839 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6840
6841         * elmo-util.el (elmo-create-hash-size): Eliminated.
6842         (elmo-make-hash) Make a hash with `one less than a power of two'
6843         length.
6844
6845         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6846         (elmo-hash-maximum-size): Changed value.
6847
6848 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6849
6850         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6851         (elmo-mime-message-display-as-is): Ditto.
6852
6853 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6854
6855         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6856         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6857
6858 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6859
6860         * elmo-mark.el: New file.
6861
6862         * elmo-internal.el: Rewrite (Almost empty).
6863
6864 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6865
6866         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6867         (mime-imap-entity-header-string): Ditto.
6868         (mmimap-entity-section): Rewrite.
6869
6870 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6871
6872         * elmo-nmz.el: New file.
6873
6874         * elmo-pipe.el: Rewrite with luna.
6875
6876 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6877
6878         * elmo-archive.el: Rewrite with luna.
6879
6880         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6881         (elmo-folder-list-importants-internal): Ditto.
6882
6883 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6884
6885         * elmo-archive.el (elmo-archive-version): Abolish.
6886         (toplevel) Removed `boso' comment.
6887
6888 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6889
6890         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6891         elmo-msgdb-add-msgs-to-seen-list-subr;
6892         Changed argument seen-marks to unread-marks.
6893
6894         * elmo-nntp.el: Rewrite with luna.
6895
6896 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6897
6898         * elmo-filter.el: Rewrite with luna.
6899
6900 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6901
6902         * elmo-pop3.el: Rewrite with luna.
6903
6904 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6905
6906         * elmo-multi.el: Rewrite with luna.
6907
6908         * elmo-vars.el (elmo-use-killed-list): Abolish.
6909         All other related portions are changed.
6910         (elmo-filename-replace-string-alist): Renamed from
6911         elmo-msgid-replace-string-alist.
6912
6913 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6914
6915         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6916
6917         * elmo-map.el: New file.
6918         * elmo-maildir.el: Rewrite with luna.
6919
6920 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6921
6922         * elmo.el: Changed meaning of `elmo-folder-commit'.
6923         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6924
6925 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6926
6927         * elmo.el (elmo-folder-append-buffer): New function.
6928         (Renamed from `elmo-append-msg')
6929
6930 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6931
6932         * elmo-mime.el: New file.
6933
6934 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6935
6936         * elmo-cache.el: Rewrite.
6937
6938 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6939
6940         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6941
6942 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6943
6944         * elmo-vars.el (elmo): New group.
6945         (elmo-strict-diff-folder-regexp): New variable.
6946
6947         * elmo-util.el (elmo-call-func): Abolish.
6948         (elmo-folder-get-type): Ditto.
6949         (elmo-*-get-spec): Ditto.
6950         (elmo-*-spec-*): Ditto.
6951         (elmo-imap4-identical-name-space-p): Ditto.
6952         (elmo-folder-identical-system-p): Ditto.
6953         (elmo-folder-direct-copy-alist): Ditto.
6954         (elmo-folder-direct-copy-p): Ditto.
6955
6956         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6957         (elmo-folder-initialize): Define.
6958         (elmo-folder-get-primitive-list): Ditto.
6959
6960         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6961         (elmo-folder-initialize): Define.
6962         Renamed `elmo-network-session-host-internal' to
6963         `elmo-network-session-server-internal'.
6964
6965         * elmo-multi.el (elmo-multi-folder): New luna class.
6966         (elmo-folder-initialize): Define.
6967         (elmo-folder-get-primitive-list): Ditto.
6968         (elmo-folder-contains-type): Ditto.
6969         (elmo-message-use-cache-p): Ditto.
6970
6971         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6972         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6973
6974         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6975         (elmo-folder-initialize): Define.
6976
6977         * elmo-filter.el (elmo-filter-folder): New luna class.
6978         (elmo-folder-initialize): Define.
6979         (elmo-folder-get-primitive-list): Ditto.
6980         (elmo-folder-contains-type): Ditto.
6981
6982 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6983
6984         * elmo-imap4.el: Rewrite with luna.
6985
6986         * mmimap.el: New file.
6987
6988         * mmelmo.el, mmelmo-imap4.el: Removed.
6989
6990         * elmo-net.el: Ditto.
6991
6992         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6993         (elmo-folder-initialize): Define.
6994
6995         * elmo-archive.el (elmo-archive-folder): New luna class.
6996         (elmo-folder-initialize): Define.
6997
6998         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6999         `elmo-folder-msgdb-path'.
7000         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7001         `elmo-make-folder'.
7002
7003 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7004
7005         * elmo.el: New file.
7006
7007         * elmo2.el: Renamed to elmo.el.
7008
7009 \f
7010 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7011
7012         * elmo-cache.el (elmo-cache-expire-by-size): Count
7013         a disk usage for a cache file entry in KB even when
7014         its kind is a directory.
7015
7016 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7017
7018         * elmo-version.el (elmo-version): Up to 2.5.7.
7019
7020 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7021
7022         * elmo-version.el (elmo-version): Up to 2.5.6.
7023
7024 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7025
7026         * elmo-version.el (elmo-version): Up to 2.5.5.
7027
7028 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7029
7030         * elmo-imap4.el (elmo-network-authenticate-session):
7031         Fixed a logic for response checking.
7032
7033 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7034
7035         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7036         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7037         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7038         `sasl-mechanisms'.
7039
7040         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7041         for `starttls-open-stream' and `starttls-negotiate'.
7042
7043         * elmo-nntp.el: Remove autoload settings for
7044         `starttls-open-stream' and `starttls-negotiate'.
7045
7046         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7047         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7048         `luna-define-class' with `eval-and-compile'.
7049
7050 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7051
7052         * elmo-util.el (elmo-read-search-condition-internal):
7053         Require an element of table for searching field.
7054
7055 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7056
7057         * elmo-version.el (elmo-version): Up to 2.5.4.
7058
7059 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7060
7061         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7062
7063 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7064
7065         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7066
7067 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7068
7069         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7070         before greeting.
7071
7072 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7073
7074         * elmo-imap4.el (elmo-imap4-delete-folder):
7075         Send "close" before "delete" (Use commented out line).
7076         (elmo-imap4-rename-folder): Ditto.
7077
7078         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7079         folder string itself.
7080         (elmo-dop-list-deleted): New function.
7081         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7082         killed.
7083
7084         * elmo-util.el (elmo-string-rassoc-all): New function.
7085
7086 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7087
7088         * elmo-version.el (elmo-version): Up to 2.5.3.
7089
7090         * elmo-net.el (elmo-network-get-session): Changed logic for
7091         checking process status.
7092
7093         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7094         process is nil;
7095         Changed logic for checking process status.
7096
7097 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7098
7099         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7100         before greeting.
7101         (elmo-network-setup-session): Set UIDL hash size according to
7102         the length of list response.
7103         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7104         according to the length of list response;
7105         Return the length of list response.
7106         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7107
7108 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7109
7110         * elmo-imap4.el (toplevel): Require 'ssl.
7111         Add autoload 'starttls.
7112         * elmo-pop3.el (toplevel): Ditto.
7113         * elmo-nntp.el (toplevel): Ditto.
7114
7115 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7116
7117         * elmo-imap4.el (toplevel): defun at compile time.
7118         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7119         sasl-next-step, sasl-step-data, sasl-step-set-data.
7120         * elmo-pop3.el (toplevel): Ditto.
7121
7122 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7123
7124         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7125
7126 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7127
7128         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7129         if error.
7130         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7131         and `elmo-pop-auth-apop'.
7132
7133 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7134
7135         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7136
7137 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7138
7139         * elmo-pop3.el (elmo-network-authenticate-session): Split
7140         encoded response value.
7141
7142 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7143
7144         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7145         `elmo-pop3-force-login'.
7146         Redefine `sasl-mechanisms'.
7147         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7148
7149 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7150
7151         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7152         Delete `elmo-imap4-authenticator-alist'.
7153         (elmo-imap4-auth-cram-md5): Delete.
7154         (elmo-imap4-auth-digest-md5): Delete.
7155
7156 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7157
7158         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7159         (elmo-pop3-auth-scram-md5): Ditto.
7160         (elmo-pop3-auth-cram-md5): Ditto.
7161
7162 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7163
7164         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7165         Delete `elmo-pop3-authenticator-alist'.
7166
7167 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7168
7169         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7170         new SASL API.
7171         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7172
7173 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7174
7175         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7176
7177 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7178
7179         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7180         Fixed problem when `elmo-pop3-use-uidl' is nil.
7181         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7182
7183 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7184
7185         * elmo-version.el (elmo-version): Up to 2.5.2.
7186
7187 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7188
7189         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7190         New function.
7191         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7192         (elmo-pop3-msgdb-create-as-numlist): Use it.
7193
7194         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7195         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7196
7197         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7198         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7199
7200 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7201
7202         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7203         when elmo-mark-as-read is called with second argument nil.
7204
7205 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7206
7207         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7208         Moved to elmo-util.el.
7209
7210         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7211         Moved from elmo-pipe.el
7212
7213         * elmo-archive.el (elmo-archive-call-process): Enclose with
7214         static-if.
7215
7216         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7217         "RFC822" (because RFC822.PEEK is obsolete).
7218         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7219
7220 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7221
7222         * elmo-archive.el (elmo-archive-call-process): Don't check for
7223         the exit status when Nemacs is running.
7224
7225 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7228         'plain.
7229
7230         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7231         (elmo-pop3-get-spec): Set default of auth to 'user.
7232
7233         * elmo-imap4.el (elmo-imap4-session-check):
7234         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7235         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7236         (elmo-imap4-auth-login): New function; Revival.
7237         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7238         `elmo-imap4-auth-login'.
7239
7240 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7241
7242         * elmo2.el (toplevel): Move `product-provide' declare.
7243         * mmelmo.el (toplevel): Ditto.
7244
7245 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7246
7247         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7248
7249 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7250
7251         * elmo-util.el (elmo-folder-get-store-type): New function.
7252         (elmo-folder-direct-copy-p): Use it.
7253
7254 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7255
7256         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7257         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7258         and result of `elmo-imap4-use-flag-p'.
7259         (elmo-imap4-fetch-callback-1): Set mark according to
7260         the result of `elmo-imap4-use-flag-p'.
7261
7262 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7263
7264         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7265         (elmo-generic-list-folder-unread): Ditto.
7266         (elmo-folder-get-info): Ditto.
7267         (elmo-folder-set-info-max-by-numdb): Ditto.
7268         (elmo-folder-get-info-max): Ditto.
7269         (elmo-folder-get-info-length): Ditto.
7270         (elmo-folder-get-info-unread): Ditto.
7271         (elmo-folder-info-make-hashtb): Ditto.
7272
7273         * elmo2.el: Removed above functions.
7274
7275 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7276
7277         * elmo-imap4.el (toplevel): Require 'ssl.
7278         Add autoload 'starttls.
7279         * elmo-pop3.el (toplevel): Ditto.
7280         * elmo-nntp.el (toplevel): Ditto.
7281
7282 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7283
7284         * elmo-imap4.el (toplevel): defun at compile time.
7285         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7286         sasl-next-step, sasl-step-data, sasl-step-set-data.
7287         * elmo-pop3.el (toplevel): Ditto.
7288
7289 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7290
7291         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7292
7293 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7294
7295         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7296         if error.
7297         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7298         and `elmo-pop-auth-apop'.
7299
7300 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7301
7302         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7303
7304 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7305
7306         * elmo-pop3.el (elmo-network-authenticate-session): Split
7307         encoded response value.
7308
7309 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7310
7311         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7312         `elmo-pop3-force-login'.
7313         Redefine `sasl-mechanisms'.
7314         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7315
7316 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7317
7318         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7319         Delete `elmo-imap4-authenticator-alist'.
7320         (elmo-imap4-auth-cram-md5): Delete.
7321         (elmo-imap4-auth-digest-md5): Delete.
7322
7323 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7324
7325         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7326         (elmo-pop3-auth-scram-md5): Ditto.
7327         (elmo-pop3-auth-cram-md5): Ditto.
7328
7329 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7330
7331         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7332         Delete `elmo-pop3-authenticator-alist'.
7333
7334 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7335
7336         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7337         new SASL API.
7338         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7339
7340 \f
7341 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7342
7343         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7344
7345 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7346
7347         * elmo-nntp.el (elmo-nntp-get-folders-info):
7348         Fixed problem when '\' character is contained in user-id.
7349         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7350
7351 \f
7352 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7353
7354         * elmo-imap4.el (elmo-imap4-delete-folder):
7355         Send "close" before "delete" (Use commented out line).
7356         (elmo-imap4-rename-folder): Ditto.
7357
7358         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7359         folder string itself.
7360         (elmo-dop-list-deleted): New function.
7361         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7362         killed.
7363
7364         * elmo-util.el (elmo-string-rassoc-all): New function.
7365
7366         * elmo-version.el (elmo-version): Up to 2.5.1.
7367
7368 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7369
7370         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7371
7372         * elmo-internal.el (elmo-internal-search): Fix last change.
7373
7374 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7375
7376         * elmo-internal.el (elmo-internal-search): Rewrite.
7377         (Fixed problem which is pointed out by Akihiro MOTOKI
7378         <motoki@da.jp.nec.com>)
7379
7380         * elmo-version.el (elmo-version): Up to 2.5.0.
7381
7382 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7383
7384         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7385
7386 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7387
7388         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7389         non-nil, make hierarchy.
7390
7391 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7392
7393         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7394         `elmo-pop3-use-uidl' must be bound to nil.
7395         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7396
7397 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7398
7399         * elmo-util.el (elmo-copy-file): Don't cause an error after
7400         `add-name-to-file' failed.
7401
7402         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7403         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7404
7405 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7406
7407         * elmo-version.el (elmo-version): Up to 2.3.93.
7408
7409 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7410
7411         * elmo-util.el (elmo-flatten): New function.
7412
7413 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7414
7415         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7416         sync Author header.
7417         * elmo-cache.el (toplevel): Ditto.
7418         * elmo-database.el (toplevel): Ditto.
7419         * elmo-date.el (toplevel): Ditto.
7420         * elmo-dop.el (toplevel): Ditto.
7421         * elmo-filter.el (toplevel): Ditto.
7422         * elmo-imap4.el (toplevel): Ditto.
7423         * elmo-internal.el (toplevel): Ditto.
7424         * elmo-localdir.el (toplevel): Ditto.
7425         * elmo-localnews.el (toplevel): Ditto.
7426         * elmo-maildir.el (toplevel): Ditto.
7427         * elmo-msgdb.el (toplevel): Ditto.
7428         * elmo-multi.el (toplevel): Ditto.
7429         * elmo-net.el (toplevel): Ditto.
7430         * elmo-nntp.el (toplevel): Ditto.
7431         * elmo-pipe.el (toplevel): Ditto.
7432         * elmo-pop3.el (toplevel): Ditto.
7433         * elmo-util.el (toplevel): Ditto.
7434         * elmo-vars.el (toplevel): Ditto.
7435         * elmo2.el (toplevel): Ditto.
7436         * mmelmo-imap4.el (toplevel): Ditto.
7437         * mmelmo.el (toplevel): Ditto.
7438
7439         * elmo-version.el (elmo-version): Move to top.
7440
7441         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7442         * elmo-imap4.el (toplevel): Ditto.
7443         * elmo-localdir.el (toplevel): Ditto.
7444         * elmo-msgdb.el (toplevel): Ditto.
7445         * elmo-nntp.el (toplevel): Ditto.
7446         * elmo-pop3.el (toplevel): Ditto.
7447         * elmo-version.el (toplevel): Ditto.
7448
7449         * elmo-localnews.el (toplevel): Added Keyword header.
7450
7451 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7452
7453         * elmo-version.el (product-version-as-string): Defined using
7454         `defun-maybe'.
7455         (toplevel): Use it.
7456
7457         * elmo-localdir.el (toplevel): Updated copyright notice.
7458         * elmo-version.el (toplevel): Ditto.
7459         * elmo-msgdb.el (toplevel): Ditto.
7460         * elmo-imap4.el (toplevel): Ditto.
7461         * elmo-nntp.el (toplevel): Ditto.
7462         * elmo-pop3.el (toplevel): Ditto.
7463
7464 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7465
7466         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7467         messages.
7468
7469         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7470         parameter value (It sometimes contains raw kanji).
7471
7472 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7473
7474         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7475         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7476
7477 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7478
7479         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7480
7481 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7482
7483         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7484         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7485
7486 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7487
7488         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7489         value if selecting folder succceeded.
7490         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7491
7492 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7493
7494         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7495         representation.
7496
7497         * elmo-util.el (elmo-string-matched-member): New function.
7498
7499 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7500
7501         * elmo-util.el (elmo-unintern): New macro.
7502         (elmo-number-set-member): Fixed docstring.
7503
7504         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7505         tag token.
7506
7507 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7508
7509         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7510         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7511
7512 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7513
7514         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7515         `no-error'.
7516         Added docstring.
7517         Return non-nil if selecting folder succeeded.
7518         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7519
7520 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7521
7522         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7523         `file-name-completion' returns t.
7524         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7525         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7526         directory if it does not exist.
7527         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7528         for iteration.
7529
7530 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7531
7532         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7533         enclosure (It's harmful in unplugged status).
7534
7535         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7536
7537         * mmelmo-1.el: Removed.
7538
7539         * mmelmo-2.el: Ditto.
7540
7541         * mmelmo-imap4-1.el: Ditto.
7542
7543         * mmelmo-imap4-2.el: Ditto.
7544
7545         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7546
7547         * mmelmo.el: Merged mmelmo-2.el.
7548
7549         * elmo-version.el (elmo-version): Up to 2.3.92.
7550
7551 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7552
7553         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7554         elmo-update-number): Remove last period in "...done." message.
7555         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7556         Ditto.
7557         * elmo-cache.el (elmo-cache-expire-by-size,
7558         elmo-cache-get-sorted-cache-file-list,
7559         elmo-cache-msgdb-create-as-numlist): Ditto.
7560         * elmo-dop.el (elmo-dop-save-pending-messages,
7561         (elmo-dop-flush-pending-append-operations): Ditto.
7562         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7563         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7564         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7565         (elmo-localdir-pack-number): Ditto.
7566         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7567         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7568         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7569         mime-write-entity-content): Ditto.
7570         * pldap.el (ldap-search-basic): Ditto.
7571
7572 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7573
7574         * elmo-version.el (elmo-version): Up to 2.3.91.
7575
7576         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7577         Only when filter is 'last'.
7578
7579         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7580         (elmo-condition-parse-search-value): Use it.
7581         (elmo-read-search-condition-internal): Quote value only when
7582         it is not an atom.
7583
7584 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7585
7586         * elmo2.el (elmo-generic-folder-diff): Fix.
7587
7588 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7589
7590         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7591         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7592         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7593         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7594         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7595         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7596
7597 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7598
7599         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7600         extra-fields.
7601
7602 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7603
7604         * elmo-version.el (elmo-version): Up to 2.3.90.
7605
7606         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7607         (elmo-imap4-list-folder-important): Ditto.
7608
7609 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7610
7611         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7612
7613 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7614
7615         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7616
7617 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7618
7619         * elmo-nntp.el (elmo-network-initialize-session):
7620         Add starttls negotiation.
7621
7622 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7623
7624         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7625         response.
7626         (elmo-network-setup-session): Define.
7627         Call `elmo-nntp-send-mode-reader' when session opened.
7628
7629 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7630
7631         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7632
7633 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7634
7635         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7636         an invalid SPACE character ahead of `SEARCH' command.  Move
7637         a valid SPACE character following `SEARCH' from conditional
7638         `format' arguments to control-strings.
7639
7640 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7641
7642         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7643         was succeeded.
7644
7645         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7646
7647 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7648
7649         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7650         `w32-get-true-file-link-count' as t.
7651
7652         * elmo-imap4.el (elmo-imap4-read): Abolished.
7653         (Renamed to `elmo-read' and moved to elmo-util.el)
7654         All other related portions are changed.
7655
7656         * elmo-util.el (elmo-read): New function.
7657         (elmo-condition-parse-search-value): Use it.
7658
7659 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7660
7661         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7662
7663         * elmo-nntp.el (elmo-nntp-session): Define.
7664         (elmo-nntp-setting): Abolished.
7665         All other related portions are changed.
7666         (elmo-nntp-get-server-command): Changed argument.
7667         (elmo-nntp-set-server-command): Ditto.
7668         (elmo-nntp-xover-p): Ditto.
7669         (elmo-nntp-set-xover): Ditto.
7670         (elmo-nntp-listgroup-p): Ditto.
7671         (elmo-nntp-set-listgroup): Ditto.
7672         (elmo-nntp-list-active-p): Ditto.
7673         (elmo-nntp-set-list-active): Ditto.
7674         (elmo-nntp-xhdr-p): Ditto.
7675         (elmo-nntp-set-xhdr): Ditto.
7676         (elmo-nntp-flush-connection): Abolished.
7677         (elmo-nntp-get-connection): Abolished.
7678         (elmo-nntp-get-session): New function.
7679         (elmo-network-initialize-session): Defined.
7680         (elmo-network-authenticate-session): Ditto.
7681         (elmo-nntp-send-mode-reader): Changed argument.
7682         (elmo-nntp-send-command): Changed argument.
7683         All other related portions are changed.
7684         (elmo-nntp-read-response): Ditto.
7685         (elmo-nntp-read-raw-response): Ditto.
7686         (elmo-nntp-read-contents): Ditto.
7687         (elmo-nntp-read-body): Ditto.
7688         (elmo-nntp-goto-folder): Abolished.
7689         (elmo-nntp-select-group): New function.
7690         All other related portions are changed.
7691         (This function substitutes `elmo-nntp-goto-folder')
7692         (elmo-nntp-msgdb-create-by-header): Rewrite.
7693         (elmo-nntp-get-overview): Eliminated.
7694         (elmo-nntp-get-message): Ditto.
7695         (elmo-nntp-open-connection) Abolished.
7696         (elmo-nntp-read-msg): Rewrite.
7697         (elmo-nntp-post): Ditto.
7698         (elmo-nntp-send-data): Abolished.
7699         (elmo-nntp-send-buffer): New function.
7700         (elmo-nntp-send-data-line): Define as inline function.
7701         (elmo-nntp-get-folders-info-prepare): Use session as key.
7702         (elmo-nntp-groups-read-response): Changed argument.
7703         (elmo-nntp-retrieve-headers): Ditto.
7704         (elmo-nntp-msgdb-create-message): Ditto.
7705
7706         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7707         when searching by 'since' or 'before'.
7708
7709 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7710
7711         * elmo-version.el (toplevel): Use product-version-as-string for set
7712         verstion-string, if defined.
7713
7714 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7715
7716         * elmo-util.el: Doc fixes.
7717
7718 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7719
7720         * elmo-archive.el (toplevel): Use product-provide.
7721         * elmo-cache.el (toplevel): Ditto.
7722         * elmo-database.el (toplevel): Ditto.
7723         * elmo-date.el (toplevel): Ditto.
7724         * elmo-dop.el (toplevel): Ditto.
7725         * elmo-filter.el (toplevel): Ditto.
7726         * elmo-imap4.el (toplevel): Ditto.
7727         * elmo-internal.el (toplevel): Ditto.
7728         * elmo-localdir.el (toplevel): Ditto.
7729         * elmo-localnews.el (toplevel): Ditto.
7730         * elmo-maildir.el (toplevel): Ditto.
7731         * elmo-msgdb.el (toplevel): Ditto.
7732         * elmo-multi.el (toplevel): Ditto.
7733         * elmo-net.el (toplevel): Ditto.
7734         * elmo-nntp.el (toplevel): Ditto.
7735         * elmo-pipe.el (toplevel): Ditto.
7736         * elmo-pop3.el (toplevel): Ditto.
7737         * elmo-util.el (toplevel): Ditto.
7738         * elmo-vars.el (toplevel): Ditto.
7739         * elmo2.el (toplevel): Ditto.
7740         * mmelmo-1.el (toplevel): Ditto.
7741         * mmelmo-2.el (toplevel): Ditto.
7742         * mmelmo-imap4-1.el (toplevel): Ditto.
7743         * mmelmo-imap4-2.el (toplevel): Ditto.
7744         * mmelmo-imap4.el (toplevel): Ditto.
7745         * mmelmo.el (toplevel): Ditto.
7746
7747 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7748
7749         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7750         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7751
7752 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7753
7754         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7755         before splitting.
7756         (elmo-multi-split-number-alist): Ditto.
7757
7758 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7759
7760         * elmo-version.el: New file.  Use product.el.
7761         * elmo2.el: Add (require 'elmo-version).
7762         * elmo-vars.el (elmo-appname, elmo-version): Move to
7763         elmo-version.el
7764
7765 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7766
7767         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7768         `elmo-msgdb-expand-path'.
7769         (elmo-msgdb-load): Ditto.
7770         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7771         (elmo-generic-list-folder-unread): Rewrite.
7772         (elmo-generic-list-folder-important): Changed argument.
7773         (elmo-list-folder-unread): Ditto.
7774         (elmo-list-folder-important): Ditto.
7775         (elmo-folder-diff): Rewrite.
7776         (elmo-generic-folder-diff): New function.
7777         (elmo-multi-get-number-alist-list): Abolished
7778         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7779         (elmo-multi-folder-diff): Moved to elmo-multi.el
7780         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7781
7782         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7783         `elmo-msgdb-expand-path'.
7784         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7785         (elmo-pop3-read-msg): Ditto.
7786         (elmo-pop3-delete-msgs): Ditto.
7787         (elmo-pop3-folder-diff): New alias.
7788
7789         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7790         `elmo-msgdb-expand-path'.
7791         (elmo-pipe-list-folder-unread): Changed arguments.
7792         (elmo-pipe-list-folder-important): Ditto.
7793         (elmo-pipe-folder-diff): New alias.
7794
7795         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7796         `elmo-msgdb-expand-path'.
7797         (elmo-nntp-max-of-folder): Ditto.
7798         (elmo-nntp-msgdb-create): Ditto.
7799         (elmo-nntp-delete-msgs): Ditto.
7800         (elmo-nntp-folder-diff): New alias.
7801
7802         * elmo-multi.el (elmo-multi-folder-diff): New function.
7803         (elmo-multi-split-mark-alist): Ditto.
7804         (elmo-multi-split-number-alist): Ditto.
7805         (elmo-multi-mark-alist-list): Abolished (Renamed to
7806         elmo-multi-split-mark-alist).
7807         (elmo-multi-list-folder-unread): Rewrite.
7808         (elmo-multi-list-folder-important): Ditto.
7809         (elmo-multi-list-folder): Set `spec' as 1st argument for
7810         `elmo-msgdb-expand-path'.
7811         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7812         instead of `elmo-multi-get-number-alist-list'.
7813
7814         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7815         If 1st argument is not string, treat as spec.
7816         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7817         `elmo-msgdb-expand-path'.
7818         (elmo-msgdb-flist-load): Ditto.
7819         (elmo-msgdb-flist-save): Ditto.
7820         (elmo-msgdb-delete-path): Ditto.
7821         (elmo-msgdb-rename-path): Ditto.
7822
7823         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7824         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7825         (elmo-maildir-delete-mark-msgs): Ditto.
7826         (elmo-maildir-msgdb-create): Ditto.
7827         (elmo-maildir-read-msg): Ditto.
7828         (elmo-maildir-delete-msgs): Ditto.
7829         (elmo-maildir-list-folder-subr): Ditto.
7830         (elmo-maildir-search): Ditto.
7831         (elmo-maildir-get-msg-filename): Ditto.
7832         (elmo-maildir-pack-number): Ditto.
7833         (elmo-maildir-folder-diff): New alias.
7834
7835         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7836
7837         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7838         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7839         (elmo-localdir-folder-diff): New alias.
7840
7841         * elmo-internal.el (elmo-internal-list-folder-subr):
7842         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7843         (elmo-internal-list-folder-by-location): Ditto.
7844         (elmo-internal-msgdb-create): Ditto.
7845         (elmo-internal-delete-msgs): Ditto.
7846         (elmo-internal-read-msg): Ditto.
7847         (elmo-internal-folder-diff): New alias.
7848
7849         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7850         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7851         `elmo-msgdb-expand-path'.
7852         (elmo-imap4-list-folder-unread): Changed arguments.
7853         (elmo-imap4-list-folder-important): Ditto.
7854
7855         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7856         (elmo-filter-list-folder-important): Ditto.
7857         (elmo-filter-folder-diff): New function.
7858
7859         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7860
7861         * elmo-cache.el (elmo-cache-list-folder):
7862         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7863         (elmo-cache-copy-msgs): Ditto.
7864         (elmo-cache-folder-diff): New alias.
7865
7866         * elmo-archive.el (elmo-archive-list-folder-subr):
7867         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7868         (elmo-archive-get-archive-name): Ditto.
7869         (elmo-archive-create-file): Ditto.
7870         (elmo-archive-append-msg): Ditto.
7871         (elmo-archive-copy-msgs): Ditto.
7872         (elmo-archive-copy-msgs-froms): Ditto.
7873         (elmo-archive-get-msg-filename): Ditto.
7874         (elmo-archive-folder-diff): New alias.
7875
7876 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7877
7878         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7879         (elmo-pop3-stream-type-alist): New variable.
7880         (elmo-nntp-stream-type-alist): New variable.
7881
7882         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7883         (elmo-kill-buffer): Ditto.
7884         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7885         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7886         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7887         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7888         (elmo-imap4-get-spec): Take into account
7889         `elmo-imap4-stream-type-alist'.
7890
7891 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7892
7893         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7894         (elmo-nntp-list-folders-get-cache): Ditto.
7895
7896 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7897
7898         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7899         character before 'uid'.
7900
7901 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7902
7903         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7904
7905         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7906
7907         * elmo-util.el (elmo-number-set-member): New function.
7908         (elmo-number-set-append-list): Ditto.
7909         (elmo-number-set-append): Ditto.
7910
7911         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7912         Use `elmo-number-set-member'.
7913         (elmo-living-messages): Ditto.
7914         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7915         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7916
7917         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7918         (elmo-imap4-add-to-cont-list): Abolished.
7919         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7920         instead of elmo-imap4-add-to-cont-list.
7921
7922         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7923         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7924
7925         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7926
7927 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7928
7929         * elmo-util.el (elmo-condition-parse-search-value):
7930         Fixed date parsing.
7931
7932 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7933
7934         * elmo-util.el (elmo-condition-find-key-internal): New function.
7935         (elmo-condition-find-key): Ditto.
7936
7937         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7938         (elmo-msgdb-search-internal): Ditto.
7939         (elmo-msgdb-search): Ditto.
7940
7941 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7942
7943         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7944         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7945
7946         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7947         (elmo-nntp-search-primitive): Fixed problem when condition is
7948         'unmatch'.
7949
7950         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7951
7952         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7953         (elmo-nntp-xhdr-p): New macro.
7954         (elmo-nntp-set-xhdr): Ditto.
7955         (elmo-nntp-parse-xhdr-response): New function.
7956         (elmo-nntp-retrieve-field): Ditto.
7957         (elmo-nntp-search-primitive): Ditto.
7958         (elmo-nntp-search): Implemented.
7959
7960         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7961
7962         * elmo-archive.el (elmo-archive-search): Set all number list to
7963         `elmo-archive-field-condition-match'
7964
7965         * elmo-localdir.el (elmo-localdir-search): Likewise.
7966
7967         * elmo-maildir.el (elmo-maildir-search): Likewise.
7968
7969 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7970
7971         * elmo-msgdb.el (elmo-living-messages): New function.
7972         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7973         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7974         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7975         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7976         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7977         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7978         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7979         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7980         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7981         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7982         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7983
7984 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7985
7986         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7987
7988         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7989
7990         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7991
7992         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7993         arguments for `SEARCH' command.
7994         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7995         All other related portions are changed.
7996
7997         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7998
7999         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8000         (elmo-list-folder-unread): Rewrite.
8001         (elmo-list-folder-important): Ditto.
8002
8003         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8004         (elmo-condition-parse-error): New inline function.
8005         (elmo-read-search-condition): New function.
8006         (elmo-read-search-condition-internal): Ditto.
8007         (elmo-parse-search-condition): Rewrite.
8008         (elmo-condition-parse): New function.
8009         (elmo-condition-parse-or-expr): Ditto.
8010         (elmo-condition-parse-and-expr): Ditto.
8011         (elmo-condition-parse-primitive): Ditto.
8012         (elmo-condition-parse-search-value): Ditto.
8013         (elmo-buffer-field-primitive-condition-match): Ditto.
8014         (elmo-buffer-field-condition-match): Rewrite.
8015         (elmo-file-field-condition-match): Ditto.
8016
8017         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8018         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8019
8020         * elmo-internal.el (elmo-internal-search): Set `number' and
8021         `number-list' argument of `elmo-file-field-condition-match'.
8022
8023         * elmo-maildir.el (elmo-maildir-search): Ditto.
8024
8025         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8026         `msgdb' as argument instead of `mark-alist'.
8027         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8028         `overview'.
8029
8030         * elmo-multi.el: Likewise.
8031
8032         * elmo-pipe.el: Likewise.
8033
8034         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8035         (elmo-imap4-search-internal): Rewrite.
8036         (elmo-imap4-search): Ditto.
8037
8038         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8039         (elmo-filter-list-folder-unread): Ditto.
8040         (elmo-filter-list-folder-important): Ditto.
8041         (elmo-filter-search): Rewrite.
8042
8043         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8044         `number-list' argument of `elmo-file-field-condition-match'.
8045         (elmo-cache-search): Ditto.
8046
8047         * elmo-localdir.el: Likewise.
8048
8049         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8050         number-list and pass it to `elmo-buffer-field-condition-match'.
8051         (elmo-archive-field-condition-match): Pass `number-list' to
8052         `elmo-archive-field-condition-match'
8053
8054 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8055
8056         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8057         `listgroup'.
8058
8059         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8060         (elmo-folder-diff-async-callback-data): Ditto.
8061         (elmo-folder-diff-async): New function.
8062
8063         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8064         (elmo-network-session-cache-key): Use it as a prefix of the session
8065         name.
8066         (elmo-network-open-session): Ditto.
8067
8068         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8069         (elmo-imap4-status-callback-data): Ditto.
8070         (elmo-imap4-server-diff-async-callback): New variable.
8071         (elmo-imap4-server-diff-async-callback-data): Ditto.
8072         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8073         `elmo-imap4-status-callback-data'.
8074         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8075         `elmo-imap4-status-callback-data' as nil.
8076         (elmo-imap4-server-diff): Ditto.
8077         (elmo-imap4-server-diff-async-callback-1): New function.
8078         (elmo-imap4-server-diff-async): Ditto.
8079         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8080
8081 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8082
8083         * elmo-util.el (elmo-list-delete): Doc fix.
8084         (elmo-delete-lists): Abolish.
8085         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8086         instead of `elmo-delete-lists'.
8087
8088 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8089
8090         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8091         before `sort'.
8092
8093 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8094
8095         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8096         `elmo-imap4-literal-subr'.
8097         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8098         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8099
8100 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8101
8102         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8103         (elmo-archive-list-folder): Fix.
8104         (elmo-archive-max-of-folder): Fix.
8105
8106 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8107
8108         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8109          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8110         (elmo-localdir-append-msg): Ditto.
8111         (elmo-localdir-list-folder): Fix for `nonsort'.
8112         (elmo-localdir-list-folder-subr): Fix for `killed'.
8113         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8114         (elmo-maildir-list-folder-subr): Ditto.
8115         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8116         (elmo-archive-list-folder-subr): Ditto.
8117         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8118         (elmo-internal-list-folder-subr): Ditto.
8119
8120 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8121
8122         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8123
8124 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8125
8126         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8127
8128 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8129
8130         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8131         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8132
8133         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8134         before greeting.
8135         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8136         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8137
8138 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8139
8140         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8141
8142         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8143         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8144         before STORE command.
8145
8146 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8147
8148         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8149
8150         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8151         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8152         of `response'.
8153         (elmo-imap4-list-folders): Removed unused local variable.
8154         (elmo-network-initialize-session): Ditto.
8155         (elmo-imap4-delete-msg-by-id): Ditto.
8156         (elmo-imap4-parse-fetch): Ditto.
8157         (elmo-imap4-copy-msgs): Ditto.
8158         Use `dst-spec' instead of `dst-folder'.
8159         (elmo-network-authenticate-session): Check authenticate type `plain'.
8160
8161 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8162
8163         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8164         garbage checking.
8165         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8166         `elmo-imap4-response-value'.
8167         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8168
8169 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8170
8171         * elmo-imap4.el (elmo-imap4-send-command):
8172         Cause elmo-imap4-bye-error when current response is BYE.
8173         (elmo-imap4-arrival-filter): Changed greeting response value.
8174
8175         * elmo2.el (elmo-imap4-bye-error): Define.
8176
8177         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8178         (elmo-imap4-server-diff): Ditto.
8179         (elmo-imap4-response-bye-p): New macro.
8180         (elmo-imap4-response-error-text): Get text from BYE response.
8181         (elmo-imap4-read-response): Return if BYE response.
8182         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8183         (elmo-imap4-folder-exists-p): Ditto.
8184         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8185         (elmo-imap4-parse-bye): New function.
8186         (elmo-imap4-parse-response): Remove needless let.
8187         Call `elmo-imap4-parse-bye'.
8188
8189 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8190
8191         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8192         the mailbox does not exist.
8193         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8194
8195 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8196
8197         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8198
8199 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8200
8201         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8202
8203         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8204         (elmo-network-initialize-session-buffer): Defined.
8205
8206         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8207         Abolished.
8208         (mmelmo-imap4-get-mime-entity): Rewrite.
8209
8210         * elmo2.el (elmo-error): Capitalize error message.
8211
8212         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8213         (elmo-network-session-buffer): New macro.
8214         (elmo-network-open-session): Use it.
8215
8216         * elmo-imap4.el: Rewrite.
8217
8218 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8219
8220         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8221
8222 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8223
8224         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8225         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8226         (elmo-imap4-create-msgdb-from-overview-string): Use
8227         `elmo-msgdb-create-overview-from-buffer'.
8228
8229 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8230
8231         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8232         (elmo-imap4-default-hierarchy-delimiter): New variable.
8233         (elmo-imap4-list-folders): Use it.
8234
8235 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8236
8237         * elmo-net.el (elmo-network-open-session): Add user and
8238         stream-type for process-buffer name.
8239
8240         * elmo-pop3.el (elmo-network-initialize-session): Call
8241         buffer-disable-undo.
8242
8243         * elmo-imap4.el (elmo-network-initialize-session):
8244         Set current-buffer as an argument for `buffer-disable-undo'.
8245
8246         * elmo-pop3.el (elmo-network-close-session): Don't use
8247         `process-live-p'.
8248
8249         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8250         Set default as 'user.
8251
8252         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8253
8254         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8255         and `elmo-imap4-flush-connection'.
8256
8257         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8258         (elmo-pop3-get-spec): Assume auth as symbol.
8259         (elmo-open-network-stream): Moved to `elmo-net'.
8260
8261         * elmo-pop3.el (toplevel): Require 'elmo-net.
8262         Define `sasl-cram-md5' to silence byte compilier.
8263         (elmo-pop3-connection-cache) Abolished.
8264         (elmo-pop3-authenticator-alist) New variable.
8265         (elmo-pop3-session): Define.
8266         (elmo-pop3-connection-get-process): Abolished.
8267         (elmo-pop3-connection-get-buffer): Ditto.
8268         (elmo-pop3-close-connection): Ditto.
8269         (elmo-pop3-flush-connection): Ditto.
8270         (elmo-pop3-get-connection): Ditto.
8271         (elmo-pop3-get-session): New function.
8272         (Replacement for `elmo-pop3-get-connection').
8273         All other related modules are changed.
8274         (elmo-network-close-session): Define.
8275         (elmo-pop3-send-command): Abolished argument `buffer'.
8276         All other related modules are changed.
8277         (elmo-pop3-read-response): Likewise.
8278         (elmo-pop3-open-connection): Abolished.
8279         (elmo-pop3-auth-user): New function.
8280         (elmo-pop3-auth-apop): Ditto.
8281         (elmo-pop3-auth-cram-md5): Ditto.
8282         (elmo-pop3-auth-scram-md5): Ditto.
8283         (elmo-pop3-auth-digest-md5): Ditto.
8284         (elmo-network-initialize-session): Define.
8285         (elmo-network-authenticate-session): Ditto.
8286         (elmo-network-setup-session): Ditto.
8287
8288         * elmo-imap4.el (toplevel): Require 'elmo-net.
8289         (elmo-imap4-session): Define.
8290         (elmo-imap4-connection-cache): Abolished.
8291         (elmo-imap4-password-key): Ditto.
8292         (elmo-imap4-flush-connection): Ditto.
8293         (elmo-imap4-get-connection): Ditto.
8294         All other related modules are changed.
8295         (elmo-imap4-get-session): New function
8296         (Replacement for `elmo-imap4-get-connection').
8297         (elmo-imap4-read-response): Abolished argument `buffer'.
8298         All other related modules are changed.
8299         (elmo-imap4-send-command): Likewise.
8300         (elmo-imap4-select-folder): Abolished.
8301         All other related modules are changed.
8302         (elmo-imap4-select-mailbox): New function.
8303         (Replacement for `elmo-imap4-select-folder').
8304         (elmo-imap4-auth-login): Simplify.
8305         (Assume current buffer as process buffer)
8306         (elmo-imap4-auth-cram-md5): Ditto.
8307         (elmo-imap4-auth-digest-md5): Ditto.
8308         (elmo-imap4-login): Ditto.
8309         (elmo-imap4-open-connection): Abolished.
8310         (elmo-imap4-open-connection-1): Abolished.
8311         (elmo-network-initialize-sessoin): Define.
8312         (elmo-network-authenticate-session): Ditto.
8313         (elmo-network-setup-session): Ditto.
8314
8315         * elmo-net.el: New module.
8316
8317 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8318
8319         * elmo-util.el (elmo-define-error): New function.
8320
8321         * elmo2.el (elmo-error): Define.
8322         (elmo-open-error): Define.
8323         (elmo-authenticate-error): Define.
8324
8325         * elmo-imap4.el (elmo-imap4-error): Abolish.
8326         (elmo-imap4-error-type): Abolish.
8327         (elmo-imap4-error-process): Abolish.
8328         (elmo-imap4-error-message): Abolish
8329         (elmo-imap4-list-folders): Don't quote lambda.
8330         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8331         (elmo-imap4-parse-namespace): Ditto.
8332         (elmo-imap4-open-connection): Rewrite.
8333         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8334         (elmo-imap4-get-connection): Abolish local variable `result'.
8335
8336 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8337
8338         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8339         wrong-type-argument error when auth is nil.
8340
8341 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8342
8343         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8344         (elmo-default-nntp-stream-type): Ditto.
8345         (elmo-default-pop3-stream-type): Ditto.
8346         (elmo-network-stream-type-alist): Ditto.
8347         (elmo-default-imap4-ssl): Abolished.
8348         (elmo-default-nntp-ssl): Ditto.
8349         (elmo-default-pop3-ssl): Ditto.
8350
8351         * elmo-util.el: (toplevel): Removed needless requires.
8352         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8353         (elmo-open-network-stream): Open network stream according to
8354         the value of `elmo-network-stream-type-alist'.
8355         (elmo-get-network-stream-type): New function.
8356         (elmo-network-stream-type-spec-string): New macro.
8357         (elmo-network-stream-type-symbol): Ditto.
8358         (elmo-network-stream-type-function): Ditto.
8359
8360         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8361         network-stream-type. All other related portions are changed.
8362         (elmo-pop3-open-connection): Ditto.
8363
8364         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8365         network-stream-type. All other related portions are changed.
8366
8367         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8368         network-stream-type.All other related portions are changed.
8369         (elmo-imap4-error): New macro.
8370         (elmo-imap4-error-type): Ditto.
8371         (elmo-imap4-error-process): Ditto.
8372         (elmo-imap4-error-message): Ditto.
8373         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8374         (elmo-imap4-auth-cram-md5): Ditto.
8375         (elmo-imap4-auth-digest-md5): Ditto.
8376         (elmo-imap4-login): Ditto.
8377         (elmo-imap4-open-connection): Remove password entry if authentication
8378         was in vain.
8379         (elmo-imap4-user-at-host): Abolished.
8380         (elmo-imap4-password-key): New buffer local variable.
8381         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8382         using protocol, port, auth and stream-type.
8383
8384         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8385
8386 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8387
8388         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8389
8390         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8391
8392         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8393         (elmo-imap4-authenticator-alist): New variable.
8394         (elmo-imap4-open-connection-1): Rename from
8395         elmo-imap4-open-connection.
8396         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8397         only wraps elmo-imap4-open-connection-1.
8398         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8399         user-at-host.
8400         (elmo-imap4-auth-login): New function.
8401         (elmo-imap4-auth-cram-md5): New function.
8402         (elmo-imap4-auth-digest-md5): New function.
8403         (elmo-imap4-login): New function.
8404
8405 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8406
8407         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8408         function `error'.
8409
8410 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8411
8412         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8413
8414 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8415
8416         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8417
8418 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8419
8420         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8421         for server responses, quote `*' regardless of where it appears.
8422
8423 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8424
8425         * elmo-maildir.el (elmo-maildir-commit): New alias.
8426
8427 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8428
8429         * elmo-util.el (elmo-display-progress):
8430                 Use `progress-feedback-with-label'.
8431
8432 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8433
8434         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8435         (elmo-imap4-non-atom-char-regex): Ditto.
8436         (elmo-imap4-non-text-char-regex): Ditto.
8437         (elmo-imap4-literal-threshold): Ditto.
8438         (elmo-imap4-atom-p): New function.
8439         (elmo-imap4-quotable-p): Ditto.
8440         (elmo-imap4-nil): Ditto.
8441         (elmo-imap4-atom): Ditto.
8442         (elmo-imap4-quoted): Ditto.
8443         (elmo-imap4-literal-subr): Ditto.
8444         (elmo-imap4-literal): Ditto.
8445         (elmo-imap4-buffer-literal): Ditto.
8446         (elmo-imap4-string-subr): Ditto.
8447         (elmo-imap4-string): Ditto.
8448         (elmo-imap4-buffer-string): Ditto.
8449         (elmo-imap4-astring-subr): Ditto.
8450         (elmo-imap4-astring): Ditto.
8451         (elmo-imap4-buffer-astring): Ditto.
8452         (elmo-imap4-nstring): Ditto.
8453         (elmo-imap4-buffer-nstring): Ditto.
8454         (elmo-imap4-mailbox): New alias.
8455         (elmo-imap4-field-body): Ditto.
8456         (elmo-imap4-userid): Ditto.
8457         (elmo-imap4-password): Ditto.
8458         (elmo-imap4-format-quoted): New function.
8459         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8460         arguments and handle "atom", "quoted" and "literal" string here.
8461         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8462         `elmo-imap4-send-command'.
8463         (elmo-imap4-folder-exists-p): Likewise.
8464         (elmo-imap4-create-folder): Likewise.
8465         (elmo-imap4-delete-folder): Likewise.
8466         (elmo-imap4-rename-folder): Likewise.
8467         (elmo-imap4-max-of-folder): Likewise.
8468         (elmo-imap4-check-validity): Likewise.
8469         (elmo-imap4-sync-validity): Likewise.
8470         (elmo-imap4-server-diff): Likewise.
8471         (elmo-imap4-select-folder): Likewise.
8472         (elmo-imap4-copy-msgs): Likewise.
8473         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8474         (elmo-imap4-mark-set-on-msgs): Likewise.
8475         (elmo-imap4-read-part): Likewise.
8476         (elmo-imap4-read-msg): Likewise.
8477         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8478         `elmo-imap4-password' for `elmo-imap4-send-command'.
8479         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8480         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8481         `elmo-imap4-buffer-literal'.
8482         (elmo-imap4-append-msg): Likewise.
8483
8484         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8485         `delete' for removing dead connection from the connection cache.
8486         Move deletion of the process buffer after that.
8487         (elmo-imap4-list): Change `defsubst' to `defun'.
8488         (elmo-imap4-commit): Make error message verbose.
8489         (elmo-imap4-search): Ditto.
8490         (elmo-imap4-list): Ditto.
8491         (elmo-imap4-select-folder): Ditto.
8492         (elmo-imap4-copy-msgs): Ditto.
8493         (elmo-imap4-delete-msg-by-id): Ditto.
8494         (elmo-imap4-append-msg-by-id): Ditto.
8495         (elmo-imap4-append-msg): Ditto.
8496
8497 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8498
8499         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8500         when dired is used on XEmacs.
8501
8502 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8503
8504         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8505         instead of `append'.
8506         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8507         `elmo-plugged-p' directly.
8508         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8509         of `elmo-plugged-p' directly.
8510
8511         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8512         Eliminate unused variable.  Use `memq' for checking a process status.
8513         Use `cons' instead of `append' for updating the connection cache.
8514         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8515         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8516
8517 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8518
8519         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8520         `elmo-imap4-read-point' exactly.
8521
8522         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8523         the local variable `folder' to `mailbox'.
8524         Rename the argument `fld' to `folder'.
8525
8526 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8527
8528         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8529         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8530
8531 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8532
8533         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8534         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8535         (elmo-pop3-uidl-number-hash): Ditto.
8536         (elmo-pop3-size-hash): Ditto.
8537         (elmo-pop3-uidl-done): Ditto.
8538         (elmo-pop3-list-done): Ditto.
8539         (elmo-pop3-connection-get-process): New defmacro.
8540         (elmo-pop3-connection-get-buffer): Ditto.
8541         (elmo-pop3-close-connection): Delete buffer and process.
8542         (elmo-pop3-flush-connection): Don't delete buffer and process.
8543         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8544         Setup UIDL and size hash.
8545         (elmo-pop3-send-command-no-erase): Deleted
8546         (elmo-pop3-send-command): Added optional argument `no-erase'.
8547         (elmo-pop3-parse-uidl-response): New function.
8548         (elmo-pop3-parse-list-response): Set size hash.
8549         (elmo-pop3-list-location): New function.
8550         (elmo-pop3-list-by-uidl-subr): Ditto.
8551         (elmo-pop3-list-by-list): Ditto.
8552         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8553         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8554         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8555         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8556         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8557         Use uidl.
8558         (elmo-pop3-uidl-to-number): New function.
8559         (elmo-pop3-number-to-uidl): Ditto.
8560         (elmo-pop3-number-to-size): Ditto.
8561         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8562         Set number by use of uidl.
8563         (elmo-pop3-msgdb-create-message): Likewise.
8564         Set size, loc-alist in msgdb.
8565         (elmo-pop3-read-msg): Set number by use of uidl.
8566         Added optional argument `msgdb'.
8567         (elmo-pop3-delete-msg): Ditto.
8568         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8569         (elmo-pop3-commit): Close connection.
8570
8571         * elmo-pipe.el (elmo-pipe-max-of-folder):
8572         Bind `elmo-pop3-use-uidl' as nil.
8573         (elmo-pipe-drain): Ditto.
8574         Call `elmo-commit'.
8575
8576         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8577         (elmo-msgdb-overview-entity-set-size): New defsubst.
8578
8579 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8580
8581         * elmo-vars.el (elmo-use-killed-list): New variable
8582         (Renamed from `elmo-nntp-use-killed-list').
8583         (elmo-nntp-use-killed-list): Eliminated.
8584
8585         * elmo-msgdb.el (elmo-msgdb-expand-path):
8586         Changed expanding msgdb path for elmo-multi.
8587
8588         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8589         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8590         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8591         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8592         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8593         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8594         (toplevel): Deleted time-stamp line.
8595
8596         * elmo2.el (elmo-clear-killed ): Defined as function
8597         (Abolished defining as a backend function).
8598         All other related modules are changed.
8599
8600 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8601
8602         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8603
8604 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8605
8606         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8607
8608 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8609
8610         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8611
8612 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8613
8614         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8615         asynchronous folder check.
8616
8617         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8618
8619         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8620         `elmo-nntp-use-killed-list'.
8621         (elmo-nntp-list-folder): Use killed list.
8622         (elmo-nntp-max-of-folder): Ditto.
8623         (elmo-nntp-msgdb-create): Set killed list.
8624
8625         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8626
8627         * elmo2.el (elmo-clear-killed): New backend function.
8628         All other related modules are changed.
8629
8630 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8631
8632         * elmo-util.el (elmo-imap4-spec-folder): Use
8633         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8634         All callers changed.
8635
8636 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8637
8638         * mmelmo-2.el (initialize-instance):
8639         Use `mime-buffer-entity-buffer-internal' instead of
8640         `mime-entity-buffer'.
8641
8642         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8643         (mime-entity-body): Implemented.
8644         (mime-goto-header-start-point): Deleted.
8645         (mime-goto-body-end-point): Ditto.
8646         (mime-entity-point-min): Ditto.
8647         (mime-entity-point-max): Ditto.
8648         (mime-entity-children): Ditto.
8649         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8650         instead of `mime-entity-buffer'.
8651         (mime-entity-header-buffer): Ditto.
8652         (mime-entity-body-buffer): Ditto.
8653         (mime-write-entity-content): Ditto.
8654
8655         * pldap.el (ldap-static-if): New macro.
8656         (toplevel): Use it instead of `static-if'.
8657
8658 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8659
8660         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8661         included in `attrs' argument.
8662
8663 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8664
8665         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8666
8667         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8668         (ldap-ldif-safe-init-char-regexp): Ditto.
8669         (ldap-ldif-safe-string-regexp): Ditto.
8670         (ldap/ldif-safe-string-p): New macro.
8671         (ldap/ldif-insert-field): Ditto.
8672         (ldap-modify): Use it.
8673         (ldap-add): Ditto.
8674         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8675         (ldap-decode-attribute): Decode only when `attr' is consp.
8676         (ldap-delete): Bind `ret'.
8677         (toplevel): Require 'cl at compile time.
8678         Removed (require 'poe) and (require 'std11).
8679         (pldap-version): Eliminated.
8680         (ldap-search-basic): Removed auth and dn binding.
8681         (ldap-ldif-field-name-regexp): New constant.
8682         (ldap-ldif-field-head-regexp): Ditto.
8683         (ldap-ldif-next-field-head-regexp): Ditto.
8684         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8685         (ldap/field-end): New function.
8686         (ldap/field-body): Use it.
8687         (ldap/collect-field): Ditto.
8688         (ldap-search-basic): Use `ldap/field-body'.
8689
8690 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8691
8692         * pldap.el (ldap-default-attribute-encoder): New user option.
8693         (ldap/field-body): Decode base64 string.
8694         (ldap/collect-field): Ditto.
8695         (ldap-encode-attribute): New function.
8696         (ldap-add-entries): Use it.
8697         (ldap-modify-entries): Ditto.
8698         (ldap-search-entries): Enclosed decoding function with
8699         `with-temp-buffer' and set as unibyte.
8700         (ldap-search-basic): Set process buffer as unibyte.
8701
8702         * elmo-util.el (elmo-folder-identical-system-p):
8703         Eliminated name space checking.
8704
8705         * pldap.el: New module.
8706         toplevel: Changed condition to detect built-in ldap feature.
8707         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8708         (ldap-add): Added error handling.
8709         (ldap-modify): Ditto.
8710         (ldap-delete): Ditto.
8711
8712 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8713
8714         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8715         Initialize local variables with `let'.  Inline a temporary
8716         variable for the progress percentage.  Sort `setq' to reduce
8717         function call in the while-loop.
8718
8719         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8720         into the conditional branch.
8721
8722 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8723
8724         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8725         Move a conditional out of the while-loop.
8726
8727 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8728
8729         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8730         elmo-msgdb-overview-get-entity-by-number.
8731         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8732         throw.
8733
8734 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8735
8736         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8737         the local variable for a packed number self descriptively.
8738
8739 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8740
8741         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8742         * elmo-localdir.el (elmo-localdir-pack-number): Use
8743         `elmo-msgdb-overview-get-entity' instead of
8744         `elmo-msgdb-overview-get-entity-by-number'.
8745         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8746         (elmo-msgdb-search-overview-entity): Removed.
8747         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8748         by message-id or number.
8749         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8750         instead of `elmo-msgdb-overview-get-entity-by-number'.
8751
8752 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8753
8754         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8755         non-nil, use hash table for overview.
8756         (elmo-hash-maximum-size): New variable.
8757         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8758         (elmo-msgdb-make-overview-hashtb): New function.
8759         (elmo-msgdb-clear-overview-hashtb): New function.
8760         (elmo-clear-hash-val): New macro.
8761         All other related modules are changed.
8762
8763 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8764
8765         * elmo2.el (elmo-move-msgs): If there's other message with
8766         same message-id, don't use cache.
8767
8768 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8769
8770         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8771         number is already packed.
8772
8773 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8774
8775         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8776
8777 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8778
8779         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8780         All other related modules are changed.
8781
8782 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8783
8784         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8785         of refiling failure on Maildir.
8786
8787 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8788
8789         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8790         decoded mime-charset with cache.
8791         (elmo-msgdb-overview-entity-get-from): Ditto.
8792         (elmo-msgdb-overview-entity-get-subject): Ditto.
8793         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8794
8795 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8796
8797         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8798         (elmo-remove-passwd): Fill password with 0 before erase.
8799         * elmo-vars.el (elmo-passwd-life-time): New variable.
8800
8801 \f
8802 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8803
8804         * elmo-cache.el (elmo-buffer-cache-add):
8805         Set message cache buffer as unibyte.
8806
8807 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8808
8809         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8810         become nil.
8811
8812 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8813
8814         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8815         when display is finished.
8816         (elmo-nntp-msgdb-create): Ditto.
8817         (elmo-nntp-groups-read-response): Ditto.
8818         (elmo-nntp-retrieve-headers): Ditto.
8819         (elmo-nntp-msgdb-create-message): Ditto.
8820         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8821         (elmo-pop3-msgdb-create-message): Ditto.
8822
8823 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8824
8825         * elmo-maildir.el (elmo-maildir-msgdb-create):
8826         Use `elmo-msgdb-sort-by-date'.
8827
8828 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8829
8830         * elmo2.el (elmo-read-msg-no-cache):
8831         Eliminated arguments after `outbuf'.
8832         Don't use cache even if it exists.
8833         (elmo-read-msg): Don't pass arguments after `outbuf' to
8834         `elmo-read-msg-no-cache'.
8835
8836 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8837
8838         * elmo-archive.el (elmo-archive-list-folders):
8839         Use `file-name-directory' if base folder does not exist.
8840
8841 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8842
8843         * elmo-archive.el (elmo-archive-list-folders): Don't use
8844         `file-name-directory'.
8845
8846 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8847
8848         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8849         If `force' is non-nil, try flushing all operation queues.
8850
8851 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8852
8853         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8854         as-binary-process.
8855
8856 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8857
8858         * elmo-util.el (elmo-display-progress): Fixed.
8859
8860 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8861
8862         * elmo-util.el (elmo-display-progress): New function.
8863         All other related modules are changed.