(elmo-make-search-engine): Use prefix
[elisp/wanderlust.git] / elmo / ChangeLog
1 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-search.el (elmo-make-search-engine): Use prefix
4         `elmo-search-' for require symbol instead of `else-'.
5         (elmo-search-engine-extprog): New class.
6         (elmo-search-engine-do-search): Remove nil from argument
7         list. Added argument pattern to evaluate element as function.
8         (elmo-search-engine-local-file): Derived from
9         `elmo-search-engine-extprog'.
10         (elmo-search-engine-create-message-entity): Check existance of file.
11         (elmo-search-engine-fetch-message): Ditto.
12         (elmo-search-namazu-index): Follow the API change.
13         (elmo-search-grep-target): Ditto.
14
15 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
16
17         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
18         characters of working buffer.
19
20         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
21         Does not bind `default-mime-charset'.
22         (elmo-msgdb-create-message-entity-from-buffer): Removed
23         unnecessary local bind.
24
25         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
26         function.
27         (modb-entity-extract-mailing-list-info-functions): Added it.
28
29 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
30
31         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
32         when number and message-id are non-nil.
33
34         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
35
36         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
37         conditional steatment.
38         (elmo-pop3-auth-apop): Likewise.
39         (elmo-network-authenticate-session): Likewise.
40
41 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
42
43         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
44         symbol `fill-column'.
45         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
46         decode field value.
47
48         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
49         (elmo-decoded-field-body): Ditto.
50
51 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
52
53         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
54         `tokens' to `params'.
55
56 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
57
58         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
59         working buffer.
60
61 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
62
63         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
64         decide index.
65
66 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
67
68         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
69         Set default value as nil.
70         (toplevel): Register search engines by
71         `elmo-search-register-engine' if there are not defined.
72
73         * elmo.el (autoload): Added autoload setting for
74         `elmo-search-register-engine'.
75
76 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
77
78         * elmo.el (toplevel): `[' is redefined as the prefix of the search
79         folder instead of nmz folder.
80         (elmo-nmz-default-index-path): Added obsolete variable setting.
81         (elmo-nmz-index-alias-alist): Ditto.
82         (elmo-nmz-use-drive-letter): Ditto.
83
84         * elmo-search.el (elmo-search-register-engine): New function.
85
86         * elmo-nmz.el: Removed.
87
88         * elmo-version.el (elmo-version): Up to 2.15.2.
89
90 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
91
92         * elmo-search.el: New file.
93
94 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
95
96         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
97         condition `larger' and `smaller'.
98
99 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
100
101         * elmo-util.el (elmo-safe-filename): Rewrite to replace
102         `"' (double quote) into "_Q_".
103
104 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
105
106         * elmo-net.el (elmo-net-quote-chars): Abolish.
107         (elmo-net-format-quoted): Ditto.
108
109 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
110
111         * elmo.el (elmo-get-folder-function): New variable.
112         (elmo-get-folder): New function.
113         (elmo-folder-rename): Call `elmo-make-folder' with specified
114         mime-charset.
115
116         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
117         `elmo-make-folder'.
118         (elmo-split-subr): Ditto.
119
120         * elmo-multi.el (elmo-folder-initialize): Ditto.
121
122         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
123
124         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
125         (elmo-flag-get-folder): Ditto.
126
127         * elmo-filter.el (elmo-folder-initialize): Ditto.
128
129         * elmo-access.el (elmo-folder-initialize): Ditto.
130         (elmo-access-folder-update-children): Ditto.
131
132         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
133         (elmo-dop-queue-flush): Ditto.
134         (elmo-folder-append-buffer-dop-delayed): Ditto.
135         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
136         mime-charset.
137
138         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
139         instead of `elmo-make-folder'.
140         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
141         destination folder instead of send `elmo-folder-rename-internal'.
142
143         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
144         slot of subfolder instead of create it.
145
146 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
147
148         * elmo-util.el (elmo-collect-separators): New function.
149         (elmo-collect-separators-internal): Ditto.
150         (elmo-collect-trail-separators): Ditto.
151         (elmo-parse-separated-tokens): Ditto.
152         (elmo-parse-separated-tokens-internal): Ditto.
153         (elmo-quote-syntactical-element): Ditto.
154
155         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
156         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
157
158         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
159         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
160         (elmo-nntp-folder-list-subfolders): Quote a user name.
161
162         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
163         (elmo-net-parse-network): Abolish.
164         (elmo-net-folder-set-parameters): New function.
165         (elmo-folder-initialize): Follow the above change.
166
167         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
168         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
169         (elmo-folder-list-subfolders): Use
170         `elmo-quote-syntactical-element' instead of
171         `elmo-net-format-quoted' to quote mailbox and user name.
172
173 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
174
175         * elmo-util.el (elmo-token-valid-p): New function.
176         (elmo-parse-token): Add optional argument `requirement'.
177         (elmo-parse-prefixed-element): Likewise.
178
179         * elmo-net.el (elmo-net-quote-chars): Renamed from
180         `elmo-net-quote-chars-regexp'.
181         (elmo-net-format-quoted): Add optional argument `extra-chars'.
182
183         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
184         by info document. Check token `uidl' is started an alphabet.
185
186         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
187         by info document. Check token `user' is started an alphabet.
188
189         * elmo-imap4.el (elmo-folder-initialize): Ditto.
190         (elmo-folder-list-subfolders): Quote user.
191
192 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
193
194         * elmo-util.el (elmo-quoted-specials-list): New constant.
195         (elmo-quoted-token): New function.
196
197         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
198         (elmo-net-format-quoted): New function.
199         (elmo-net-parse-network): Ditto.
200         (elmo-folder-initialize): Use it.
201
202         * elmo-nntp.el (elmo-folder-initialize): Use
203         `elmo-net-parse-network' to parse network specification instead of
204         `elmo-folder-initialize#elmo-net'.
205
206         * elmo-pop3.el (elmo-folder-initialize): Ditto.
207
208         * elmo-imap4.el (elmo-folder-initialize): Ditto.
209         (elmo-folder-list-subfolders): Quote folder name by
210         `elmo-net-format-quoted'.
211
212 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
213
214         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
215         (elmo-folder-search): Use it.
216
217 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
218
219         * modb-standard.el (modb-standard-loaded-message-id): Use
220         `elmo-msgdb-message-entity-field'.
221
222 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
223
224         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
225         without filename.
226
227 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
228
229         * elmo-util.el (elmo-set-auto-coding): New function.
230         (elmo-object-load): Use it.
231
232 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
233
234         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
235         (elmo-time<): Define as alias of `elmo-time-less-p'.
236         (elmo-time-to-datevec): New function.
237
238         * elmo-date.el (elmo-time-to-days): New function.
239
240 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
241
242         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
243         is not cons cell.
244
245 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
246
247         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
248         parenthesis.
249
250         * elmo-util.el (elmo-map-recursive): New function.
251
252         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
253         (modb-entity-encode-string-recursive): Ditto.
254
255 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
256
257         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
258         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
259         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
260         compare sequence number when last modified time is nil.
261
262 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
263
264         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
265
266         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
267
268 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
269
270         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
271         modification time of the file.
272
273 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
274
275         * elmo-util.el (elmo-condition-optimize): Discriminated against
276         preserved fields, extra fields and the other weight.
277
278 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
279
280         * modb-entity.el (initialize-instance): Define.
281         (modb-entity-handler-mime-charset): New internal function.
282         (modb-standard-entity-set-field): Use it.
283         (elmo-msgdb-message-entity-field): Ditto.
284         (elmo-msgdb-message-entity-field): Ditto.
285
286         * modb.el (elmo-msgdb-match-condition): Rewrite with
287         `elmo-condition-match'.
288         (elmo-msgdb-match-condition-primitive): New function.
289
290         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
291         arguments `flags' and `numbers'.
292         (elmo-msgdb-match-condition-primitive): Abolished (merged to
293         `elmo-msgdb-message-match-condition').
294         (modb-buffer-entity-handler): New class.
295
296         * elmo.el (elmo-folder-search): Optimize condition to use
297         `elmo-condition-optimize'.
298         (elmo-message-buffer-match-condition): New function.
299         (elmo-message-match-condition): Use
300         `elmo-message-buffer-match-condition' instead of
301         `elmo-buffer-field-condition-match'.
302
303         * elmo-util.el (elmo-condition-match): New function.
304         (elmo-condition-optimize): Ditto.
305         (elmo-buffer-field-primitive-condition-match): Abolish.
306         (elmo-buffer-field-condition-match): Ditto.
307
308         * elmo-archive.el (elmo-archive-field-condition-match): Use
309         `elmo-message-buffer-match-condition' instead of
310         `elmo-buffer-field-condition-match'.
311
312 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
313
314         * elmo-flag.el (elmo-global-flags-initialize): Check the
315         existence of the flag directory.
316
317 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
318
319         * elmo-access.el (elmo-folder-initialize): Call
320         `elmo-multi-connect-signals'.
321
322         * elmo-pipe.el (elmo-folder-close): Define.
323
324         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
325         children folders.
326
327         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
328         with target folder.
329
330         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
331         `number'.
332
333         * elmo-multi.el (elmo-message-entity): Don't use return value of
334         `elmo-message-entity-set-number'.
335
336 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
337
338         * modb.el (modb-generic): Added slot `mime-charset'.
339
340         * modb-standard.el (modb-standard): Added slot `overview-handler'.
341         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
342         and `modb-entity-handler-dump-parameters'.
343         (modb-standard-default-entity-handler): Abolish.
344         (elmo-msgdb-message-entity-handler): Save created handler by
345         instance slot.
346
347         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
348         (modb-entity-handler-list-parameters): New method.
349         (modb-entity-handler-equal-p): New function.
350         (modb-entity-handler-dump-parameters): Ditto.
351         (modb-entity-parse-address-string): Encode return value.
352         (modb-entity-make-address-string): Decode argument value.
353         (modb-entity-decode-string-recursive): New function.
354         (modb-entity-encode-string-recursive): Ditto.
355         (modb-standard-entity-normalizer): Set to encode field value.
356         (modb-standard-entity-specializer): Follow the above change.
357         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
358         mime-charset of handler.
359         (elmo-msgdb-message-entity-field): Ditto.
360         (elmo-msgdb-copy-message-entity): Fixed reference to internal
361         structure.
362         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
363
364         * elmo.el (elmo-folder): Added slot `mime-charset'.
365         (elmo-make-folder): Added argument `mime-charset'.
366         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
367         `mime-charest'.
368
369         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
370         (elmo-make-msgdb): Likewise.
371
372         * elmo-internal.el (elmo-internal-folder-initialize): Call
373         `luna-make-entity' with :mime-charset parameter.
374
375 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
376
377         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
378         encoded words in `from' and `subject' field.
379
380 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
381
382         * modb.el (elmo-msgdb-message-field): Add argument `type'.
383         (elmo-msgdb-match-condition): Get handler from entity instead of
384         msgdb.
385
386         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
387         (modb-standard-load-entity): Treat new file format.
388         (modb-standard-save-entity-1): Save as new file format.
389         (modb-standard-save-entity): Split messages into section here.
390         (elmo-msgdb-message-field): Follow the API change.
391         (modb-standard-default-entity-handler): New internal variable.
392         (elmo-msgdb-message-entity-handler): Define.
393
394         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
395         to `elmo-vars.el'.
396         (modb-entity-field-extractor-alist): New user option.
397         (elmo-msgdb-message-entity-field): Removed argument `decode' and
398         added argument `type'.
399         (elmo-msgdb-copy-message-entity): Add optional argument
400         `make-handler'.
401         (modb-set-field-converter): New function.
402         (modb-convert-field-value): Ditto.
403         (modb-entity-string-decoder): Ditto.
404         (modb-entity-string-encoder): Ditto.
405         (modb-entity-parse-date-string): Ditto.
406         (modb-entity-make-date-string): Ditto.
407         (modb-entity-mime-decoder): Ditto.
408         (modb-entity-mime-encoder): Ditto.
409         (modb-entity-address-list-decoder): Ditto.
410         (modb-entity-address-list-encoder): Ditto.
411         (modb-entity-parse-address-string): Ditto.
412         (modb-entity-make-address-string): Ditto.
413         (modb-entity-create-field-indices): Ditto.
414         (modb-legacy-entity-field-slots): New constant.
415         (modb-legacy-entity-field-indices): Ditto.
416         (modb-legacy-entity-normalizer): New variable.
417         (modb-legacy-entity-specializer): Ditto.
418         (modb-legacy-entity-field-index): New macro.
419         (modb-legacy-entity-set-field): New function.
420         (modb-legacy-make-message-entity): Rewrite.
421         (elmo-msgdb-create-message-entity-from-buffer): Use
422         `elmo-msgdb-get-references-from-buffer'. Use
423         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
424         Use `modb-legacy-entity-set-field' instead of
425         `elmo-msgdb-message-entity-set-field'.
426         (elmo-msgdb-message-entity-field): Rewrite.
427         (elmo-msgdb-message-entity-set-field): Ditto.
428         (elmo-msgdb-copy-message-entity): Make new entity by
429         `make-handler' if it specified.
430         (elmo-msgdb-message-match-condition): Define a method of
431         `modb-entity-handler' and follow the API change.
432         (modb-standard-entity-handler): New class.
433         (modb-entity-extract-ml-info-from-x-sequence): New function.
434         (modb-entity-extract-ml-info-from-subject): Ditto.
435         (modb-entity-extract-ml-info-from-return-path): Ditto.
436         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
437         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
438         (modb-entity-extract-mailing-list-info): Ditto.
439         (modb-entity-extract-mailing-list-info-functions): New variable.
440
441         * elmo.el (elmo-message-field): Add optional argument `type'.
442
443         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
444         from `modb-entity.el'.
445
446         * elmo-util.el (elmo-object-load): Decode by coding-system from
447         `set-auto-coding-function'.
448         (elmo-object-save): Use `detect-mime-charset-region' and add
449         coding cookie if encode.
450         (elmo-msgdb-get-references-from-buffer): New function.
451         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
452
453         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
454
455         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
456         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
457         instead of `shimbun-make-header' and follow the API change.
458         (elmo-shimbun-update-overview): Follow the API change.
459         (elmo-map-folder-list-message-locations): Ditto.
460
461         * elmo-pipe.el (elmo-message-field): Ditto.
462
463         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
464         Ditto.
465
466         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
467
468         * elmo-multi.el (elmo-message-field): Ditto.
469
470         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
471         (elmo-msgdb-sort-by-date): Ditto.
472         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
473         `elmo-message-entity-field'.
474         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
475         change.
476         (elmo-msgdb-overview-entity-get-from): Ditto.
477         (elmo-msgdb-overview-entity-get-subject): Ditto.
478         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
479         (elmo-msgdb-overview-entity-get-date): Ditto.
480         (elmo-msgdb-overview-entity-get-to): Ditto.
481         (elmo-msgdb-overview-entity-get-cc): Ditto.
482
483         * elmo-mime.el (elmo-message-mime-entity): Ditto.
484         (elmo-mime-collect-message/partial-pieces): Ditto.
485
486         * elmo-filter.el (elmo-message-field): Ditto.
487
488         * elmo-date.el (elmo-datevec-to-time): New function.
489         (elmo-time-parse-date-string): Ditto.
490         (elmo-time-make-date-string): Ditto.
491         (elmo-time<): Ditto.
492
493         * elmo-version.el (elmo-version): Up to 2.15.1.
494
495 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
496
497         * elmo-flag.el (elmo-global-flags-initialize): Don't include
498         member of elmo-local-flags.
499
500 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
501
502         * elmo-version.el (elmo-version): Up to 2.15.0.
503
504 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
505
506         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
507         `ignore-msgdb' is non-nil.
508
509 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
510
511         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
512         (elmo-condition-in-msgdb-p): Ditto.
513         (elmo-file-field-primitive-condition-match): Ditto.
514         (elmo-file-field-condition-match): Ditto.
515
516         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
517
518 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
519
520         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
521         subdirectories here.
522         (elmo-global-flags-initialize): New function.
523
524         * elmo.el (toplevel): Added autoload setting for
525         `elmo-global-flags-initialize'.
526
527 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
528
529         * elmo.el (message-number-changed): Define new signal.
530         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
531         message-number-changed signal.
532         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
533         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
534         Respect `elmo-pack-number-check-strict'.
535
536 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
537
538         * elmo-signal.el (elmo-connect-signal): Document.
539         (elmo-emit-signal): Ditto.
540         (elmo-emit-signal): It should pass source argument to filter and
541         handler, not slot-source.
542
543 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
544
545         * modb.el (elmo-msgdb-update-entity): New API and define generic
546         implement.
547
548         * modb-standard.el (elmo-msgdb-update-entity): Define.
549
550         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
551         API and define generic implement.
552
553         * elmo.el (update-overview): New singnal.
554
555         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
556         `elmo-msgdb-update-entity' and emit signal `update-overview'.
557         (elmo-message-entity-parent): Define.
558
559         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
560         `update-overview'.
561
562         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
563
564         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
565
566 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
567
568         * elmo.el (elmo-folder-synchronize): Sort the return value of
569         `elmo-list-diff'.
570
571         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
572         list.
573
574 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
575
576         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
577         `default-enable-multibyte-characters'.
578         (elmo-object-load): Use `with-temp-buffer' instead of
579         `elmo-set-work-buf'.
580         (elmo-object-save): Ditto.
581         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
582         `elmo-set-work-buf'.
583         (elmo-decoded-field-body): Ditto.
584
585         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
586
587         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
588         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
589
590         * elmo-version.el (elmo-version): Up to 2.13.3.
591
592 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
593
594         * elmo-util.el (elmo-list-diff): Fix the last change.
595         Reverse order of result lists.
596
597 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
598
599         * modb-standard.el (elmo-msgdb-set-flag): Use
600         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
601         (elmo-msgdb-unset-flag): Ditto.
602
603         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
604         `elmo-list-diff'.
605
606         * elmo-util.el (elmo-list-diff): Rewrite.
607         (elmo-list-diff-nonsortable): New function.
608
609 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
610
611         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
612         `elmo-multibypte-buffer-name'.  All referers are updated.
613
614 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
615
616         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
617         (elmo-mime-entity-fragment-p): New function.
618         (mime-elmo-buffer-entity): Added slot `reassembled'.
619         (elmo-message-mime-entity): Added 4th argument `reassemble'.
620         (elmo-message-mime-entity-internal): New function (renamed from
621         `elmo-message-mime-entity').
622         (elmo-mime-inherit-field-list-from-enclosed): New constant.
623         (elmo-mime-make-reassembled-mime-entity): New function.
624         (elmo-message-reassembled-mime-entity): Ditto.
625         (elmo-mime-collect-message/partial-pieces): Ditto.
626
627 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
628
629         * elmo.el (elmo-message-fetch-string): Disable multibyte.
630
631         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
632         (elmo-with-enable-multibyte): New macro.
633
634         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
635
636 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
637
638         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
639         argument `number'.
640         (elmo-filter-connect-signals): Follow the above change.
641
642 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
643
644         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
645
646         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
647         that only the first flag is used.
648
649 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
650
651         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
652         if available.
653
654 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
655
656         * elmo-signal.el: New file.
657
658         * elmo.el (toplevel): Require elmo-signal.
659         (flag-changing, flag-changed, cache-changed): New signal.
660         (elmo-folder): Remove slog `handlers'.
661         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
662         `elmo-folder-notify-event'.
663         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
664         (elmo-folder-unset-flag): Ditto.
665         (elmo-event-handler): Abolish.
666         (elmo-event-handler-flag-changed): Ditto.
667         (elmo-event-handler-cache-changed): Ditto.
668         (elmo-folder-add-handler): Ditto.
669         (elmo-folder-remove-handler): Ditto.
670         (elmo-folder-notify-event): Ditto.
671
672         * elmo-pipe.el (toplevel): Require elmo-signal.
673         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
674         (elmo-pipe-connect-signals): New function.
675         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
676         (elmo-folder-set-flag): Ditto.
677         (elmo-folder-unset-flag): Ditto.
678         (elmo-message-set-cached): Ditto.
679
680         * elmo-multi.el (toplevel): Require elmo-signal.
681         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
682         (elmo-multi-connect-signals): New function.
683         (elmo-multi-map-numbers): Ditto.
684         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
685         (elmo-message-fetch): Ditto.
686         (elmo-folder-set-flag): Ditto.
687         (elmo-folder-unset-flag): Ditto.
688
689         * elmo-filter.el (toplevel): Require elmo-signal.
690         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
691         (elmo-filter-connect-signals): New function.
692         (elmo-filter-add-flag-count): Ditto.
693         (elmo-message-fetch): Does not call
694         `elmo-filter-folder-countup-message-flags' and
695         `elmo-folder-notify-event'.
696         (elmo-message-set-cached): Ditto.
697         (elmo-folder-set-flag): Ditto.
698         (elmo-folder-unset-flag): Ditto.
699
700         * elmo-version.el (elmo-version): Up to 2.13.2.
701
702 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
703
704         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
705         `flags'.
706
707 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
708
709         * elmo-filter.el (elmo-message-set-cached): Call
710         `elmo-folder-notify-event' with event `cache-changed'.
711
712         * elmo-multi.el (elmo-message-set-cached): Ditto.
713
714         * elmo-pipe.el (elmo-message-set-cached): Ditto.
715
716 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
717
718         * elmo.el (elmo-folder-encache): Abolish.
719
720 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
721
722         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
723         (elmo-folder-next-message-number-dop): Return appropriate negative
724         integer.
725
726 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
727
728         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
729         clearing pending operations.
730         (elmo-folder-next-message-number-dop): Return appropriate negative
731         integer.
732
733 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
734
735         * elmo.el (toplevel): Added autoload setting for `md5'.
736         (elmo-msgdb-path-encode-threshold): New user option.
737         (elmo-folder-msgdb-path): Encode msgdb path if its length is
738         longer than `elmo-msgdb-path-encode-threshold'.
739
740         * elmo-flag.el (elmo-global-mark-migrate): Use
741         `elmo-folder-expand-msgdb-path' instead of
742         `elmo-folder-msgdb-path'.
743
744 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
745
746         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
747         element of the difference is nil.
748
749 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
750
751         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
752         to the check logic of file systems which are weak in colon character.
753
754 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
755
756         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
757
758 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
759
760         * elmo-maildir.el (elmo-maildir-move-file): New function.
761         (elmo-folder-append-buffer): Use it.
762         (elmo-folder-append-messages): Ditto.
763         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
764
765         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
766         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
767
768         * elmo-maildir.el (elmo-maildir-separator): New user option.
769         (elmo-maildir-adjust-separator): New macro.
770         (elmo-maildir-list-location): Use it.
771         (elmo-maildir-update-current): Ditto.
772         (elmo-maildir-set-mark): Ditto.
773         (elmo-maildir-delete-mark): Ditto.
774         (These changes are based on Hiroya Murata's patch [wl: 13437])
775
776 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
777
778         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
779
780 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
781
782         * elmo-flag.el (elmo-flag-valid-p): Simplify.
783         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
784         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
785
786 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
787
788         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
789         Use `with-temp-buffer'.
790
791 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
792
793         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
794
795         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
796         `wl-read-search-condition').
797         (elmo-read-search-condition-internal): Likewise.
798
799         * elmo-flag.el (elmo-flag-char-regexp): New constant.
800         (elmo-flag-valid-p): New function.
801         (elmo-folder-initialize): Check flag name is valid.
802
803 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
804
805         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
806         delimiter to obtain root mailbox itself.
807
808 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
809
810         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
811         type mismatch.
812
813 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
814
815         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
816         as t.
817
818 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
819
820         * elmo-shimbun.el (toplevel): Require cl at compile.
821
822         * elmo-nntp.el (toplevel): Ditto.
823
824         * elmo-nmz.el (toplevel): Ditto.
825
826         * elmo-multi.el (toplevel): Ditto.
827
828         * elmo-file.el (toplevel): Ditto.
829
830         * elmo-dop.el (toplevel): Ditto.
831
832         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
833
834 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
835
836         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
837         as nil.
838
839         * elmo.el (elmo-message-fetch): Return t even when the output buffer
840         size of elmo-message-fetch-internal is 0 byte.
841
842 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
843
844         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
845
846 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
847
848         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
849         always plugged.
850
851 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
852
853         * elmo-maildir.el (elmo-map-message-fetch): Call
854         `elmo-map-folder-set-flag'.
855
856         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
857         (elmo-message-fetch): Merge from
858         `elmo-message-fetch-with-cache-process'.
859
860         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
861         (elmo-message-fetch): Define.
862
863         * elmo-nntp.el (elmo-message-fetch): Renamed from
864         `elmo-message-fetch-with-cache-process'.
865
866         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
867         (elmo-message-fetch): Define.
868
869         * elmo-util.el (elmo-condition-parse-primitive): Downcase
870         search-key.
871
872         * elmo-shimbun.el (shimbun-mua-search-id): Use
873         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
874         (elmo-shimbun-folder-shimbun-header): Ditto.
875         (elmo-shimbun-get-headers): Ditto.
876         (elmo-shimbun-update-overview): Ditto.
877
878         * elmo-pipe.el (elmo-folder-detach-messages): Define.
879
880         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
881         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
882
883 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
884
885         * elmo.el (elmo-message-fetch): Unset unread flag on server when
886         message is cached.
887         (elmo-message-fetch-string): Fixed argument.
888
889 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
890
891         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
892         exchange order of arguments `section' and `unread'.
893         (elmo-message-encache): Follow the API change.
894         (elmo-message-match-condition): Ditto.
895         (elmo-generic-folder-append-messages): Ditto.
896         (elmo-message-fetch-string): New function.
897
898         * elmo-split.el (elmo-split-subr): Ditto.
899
900         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
901
902         * elmo-pipe.el (elmo-message-fetch): Ditto.
903
904         * elmo-multi.el (elmo-message-fetch): Ditto.
905
906         * elmo-mime.el (elmo-message-mime-entity): Ditto.
907
908         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
909
910         * elmo-filter.el (elmo-message-fetch): Ditto.
911
912         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
913
914         * elmo-imap4.el (mime-imap-location-section-body): Use
915         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
916         follow the API change.
917
918 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
919
920         * elmo-access.el: New file.
921
922         * elmo-null.el: Ditto.
923
924         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
925
926 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
927
928         * elmo-net.el (elmo-network-session-idle-timeout): New option.
929         (elmo-network-session): New attribute `last-accessed'.
930         (elmo-network-get-session): Discard network cache if elapsed time
931         since last-accessed is larger than elmo-network-session-idle-timeout.
932
933 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
934
935         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
936         and added `number', `require-entireness'.
937         (elmo-find-fetch-strategy): Rewrite.
938         (elmo-message-fetch): Unset `unread' flag when argument unread is
939         non-nil.
940
941         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
942
943         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
944         (elmo-message-fetch): Notify event `flag-changed'.
945
946         * elmo-pipe.el: Likewise.
947
948         * elmo-mime.el (elmo-mime-entity): New class.
949         (elmo-mime-entity-display-p): New generic function.
950         (elmo-mime-entity-display): Ditto.
951         (elmo-mime-entity-display-as-is): Ditto.
952         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
953         elmo-mime-entity.
954         (elmo-make-mime-message-location): Removed.
955         (elmo-mime-message-display): Ditto.
956         (elmo-mime-display-as-is): Ditto.
957         (elmo-message-mime-entity): New function.
958
959         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
960
961         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
962         change.
963         (elmo-message-fetch): Re-count flagged message number and notify
964         event `flag-changed'.
965
966         * elmo-version.el (elmo-version): Up to 2.13.1.
967
968 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
969
970         * elmo-filter.el (elmo-message-field): Define.
971         (elmo-message-set-field): Ditto.
972
973 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
974
975         * elmo.el (elmo-message-set-cached): Call
976         `elmo-folder-notify-event' with cache-changed.
977         (elmo-event-handler-cache-changed): New generic function.
978
979 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
980
981         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
982         instead of elmo-add-name-to-file.
983         (elmo-folder-append-messages): Ditto.
984
985 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
986
987         * elmo.el (elmo-folder-update-threshold): Add nil to range.
988
989 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
990
991         * elmo-version.el (elmo-version): Up to 2.13.0.
992
993         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
994         `auto'.
995
996         * modb-standard.el (modb-standard-economize-entity-size): Changed
997         default value to `t'.
998
999         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1000         `standard'.
1001
1002         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1003         after parsing greeting string.
1004
1005 2004-11-23  Daishi Kato <daishi@axlight.com>
1006
1007         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1008         New user option.
1009         (elmo-spam-spamoracle-call): Use it.
1010
1011 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1012
1013         * elmo.el (elmo-message-accessible-p): Message in dop spool
1014         is accessible.
1015
1016 2004-11-23  Daishi Kato <daishi@axlight.com>
1017
1018         * elsp-spamoracle.el: New file.
1019
1020 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1021
1022         * elmo.el (elmo-message-flags-for-append): New function.
1023         (elmo-generic-folder-append-messages): Use it.
1024
1025         * elmo-split.el (elmo-split-subr): Ditto.
1026
1027         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1028         `flags' and use elmo-folder-append-buffer instead of
1029         write-region-as-binary.
1030         (elmo-dop-filter-pending-messages): New function.
1031         (elmo-folder-append-buffer-dop): Call
1032         elmo-dop-spool-folder-append-buffer with `flag'.
1033         (elmo-folder-set-flag-dop): Filter messages by
1034         elmo-dop-filter-pending-messages.
1035         (elmo-folder-unset-flag-dop): Ditto.
1036         (elmo-folder-append-buffer-dop-delayed): Use
1037         elmo-message-flags-for-append to get flags of the message and
1038         simplify.
1039
1040 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1041
1042         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1043
1044 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1045
1046         * elmo.el (elmo-folder): Added handlers slot.
1047         (elmo-event-handler): New class.
1048         (elmo-event-handler-flag-changed): New API.
1049         (elmo-folder-add-handler): New function.
1050         (elmo-folder-remove-handler): Ditto.
1051         (elmo-folder-notify-event): Ditto.
1052         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1053         `flag-changed'.
1054         (elmo-folder-unset-flag): Ditto.
1055
1056         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1057         (elmo-folder-unset-flag): Ditto.
1058
1059         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1060         (elmo-folder-unset-flag): Ditto.
1061
1062         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1063         (elmo-folder-unset-flag): Ditto.
1064
1065         * elmo-version.el (elmo-version): Up to 2.11.33.
1066
1067 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1068
1069         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1070
1071 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1072
1073         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1074
1075         * elmo-flag.el (elmo-folder-unset-flag): Define.
1076         (elmo-global-flag-detach): Do process when the flag is not target
1077         flag.
1078
1079 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1080
1081         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1082         variable.
1083         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1084
1085 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1086
1087         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1088         function.
1089         (elmo-folder-delete-messages): Detach messages before delete
1090         messages from target folder.
1091         (elmo-folder-detach-messages): Set updated number-list to slot.
1092
1093 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1094
1095         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1096
1097 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1098
1099         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1100
1101 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1102
1103         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1104         internal use only).
1105         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1106         not modified.
1107         (elmo-folder-delete-messages): Define.
1108         (elmo-folder-move-messages): Don't call
1109         `elmo-folder-detach-messages'.
1110         (elmo-folder-synchronize): Rewrite.
1111         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1112
1113         * elmo-util.el (elmo-last): New function.
1114         (elmo-set-list): Ditto.
1115         (elmo-number-set-delete-list): Ditto.
1116         (elmo-number-set-delete): Ditto.
1117
1118         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1119
1120         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1121         `elmo-folder-delete-messages' and don't delete location map.
1122         (elmo-folder-detach-messages): Define.
1123
1124         * elmo-imap4.el (elmo-folder-delete): Use
1125         `elmo-folder-delete-messages-internal' instead of
1126         `elmo-folder-delete-messages'.
1127
1128         * elmo-filter.el (elmo-folder-delete-messages): Call
1129         `elmo-folder-detach-messages'.
1130         (elmo-folder-detach-messages): Don't call
1131         `elmo-folder-detach-messages' for target folder.
1132
1133         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1134         message deletion is succeeded.
1135
1136         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1137
1138         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1139         from `elmo-folder-delete-messages'.
1140
1141         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1142
1143         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1144
1145         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1146
1147         * elmo-version.el (elmo-version): Up to 2.11.32.
1148
1149 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1150
1151         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1152         (elmo-global-flag-list): Added obsolete variable setting.
1153
1154         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1155
1156         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1157         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1158         `elmo-mime-display-header-analysis' is nil.
1159
1160         * elmo-flag.el (elmo-global-flags): Renamed from
1161         `elmo-global-flag-list' (All other related portions are changed).
1162         (elmo-local-flags): New variable.
1163         (elmo-local-flag-p): New function.
1164         (elmo-global-flag-set-internal): Cause an error when flag is not
1165         global.
1166
1167 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1168
1169         * elmo-util.el (elmo-concat-path): Treat empty path.
1170
1171 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1172
1173         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1174         field-or-fields).
1175         (elmo-split-address-match): Ditto.
1176         (elmo-split-equal): Ditto.
1177         (elmo-split-match): Ditto.
1178
1179 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1180
1181         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1182         (elmo-generic-folder-append-messages): If src message exists but
1183         has no flag, pass (read) for the FLAG argument of
1184         `elmo-folder-append-buffer'. Otherwise, pass nil.
1185
1186         * elmo-split.el (elmo-split-subr): Likewise.
1187
1188         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1189
1190         * elmo-multi.el (elmo-message-flags): Ditto.
1191
1192         * elmo-filter.el (elmo-message-flags): Ditto.
1193
1194         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1195         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1196         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1197         
1198 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1199
1200         * elmo-split.el (elmo-split-rule): Update comment.
1201         (elmo-split-address-equal): Allow 2nd argument to be a list.
1202         (elmo-split-address-match): Ditto.
1203         (elmo-split-equal): Ditto.
1204         (elmo-split-match): Ditto.
1205
1206 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1207
1208         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1209         (elmo-folder-append-msgdb): Don't treat `read'.
1210         (elmo-message-flags): Don't return `read'.
1211
1212         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1213         (elmo-folder-unset-read-delayed): Ditto.
1214
1215         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1216
1217 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1218
1219         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1220         deletion.
1221
1222 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1223
1224         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1225         header.
1226
1227 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1228
1229         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1230         here.
1231         (elmo-msgdb-save): Bind inhibit-quit.
1232         (modb-standard-message-entity): Ditto.
1233
1234 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1235
1236         * elmo-database.el: No need to require elmo-msgdb.
1237
1238 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1239
1240         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1241         instead of `elmo-list-subdirectories'.
1242
1243 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1244
1245         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1246         group entry.
1247         (elmo-folder-exists-p): "[" is empty.
1248         (elmo-folder-list-subfolders): Define.
1249         (elmo-folder-have-subfolder-p): Ditto.
1250
1251 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1252
1253         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1254
1255 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1256
1257         * elmo-filter.el (elmo-folder-local-p): Define.
1258
1259 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1260
1261         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1262         when entity is garbaged.
1263         (modb-standard-save-entity-1): Don't modify the original entity.
1264
1265 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1266
1267         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1268
1269 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1270
1271         * elmo.el (elmo-strict-folder-diff): Use
1272         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1273
1274 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1275
1276         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1277         (elmo-msgdb-message-number): Ditto.
1278         (elmo-msgdb-message-field): Ditto.
1279
1280         * modb-standard.el (modb-standard-economize-entity-size): New user
1281         option.
1282         (modb-standard-loaded-message-id): New inline function.
1283         (modb-standard-load-entity): Use it.
1284         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1285         throw message-id string away.
1286         (elmo-msgdb-flag-available-p): Define.
1287         (elmo-msgdb-message-number): Ditto.
1288         (elmo-msgdb-message-field): Ditto.
1289
1290         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1291         (suppoted -> supported).
1292         (modb-legacy-supported-flag-p): Ditto.
1293         (elmo-msgdb-set-flag): Ditto.
1294         (elmo-msgdb-unset-flag): Ditto.
1295         (elmo-msgdb-flag-available-p): Define.
1296
1297         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1298         is `t', treat it as legacy entity.
1299         
1300         * elmo.el (elmo-message-flag-available-p): New generic function.
1301         (elmo-message-number): Ditto.
1302         (elmo-message-field): Use `elmo-msgdb-message-field'.
1303
1304         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1305
1306         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1307         (elmo-message-number): Ditto.
1308
1309         * elmo-multi.el (elmo-message-number): Define.
1310         (elmo-message-flag-available-p): Ditto.
1311
1312         * elmo-filter.el (elmo-message-flag-available-p): Define.
1313         (elmo-message-number): Ditto.
1314
1315         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1316         (elmo-folder-initialize): Load `max-number'.
1317         (elmo-folder-commit): Save it.
1318         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1319         (elmo-global-flag-set-internal): Set up max-number slot.
1320
1321 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1322
1323         * elmo-version.el (elmo-version): Up to 2.11.31.
1324
1325 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1326
1327         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1328         unibyte string of the current buffer for the argument of `md5'
1329         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1330
1331 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1332
1333         * modb-legacy.el (modb-legacy-flag-list): New constant.
1334         (modb-legacy-suppoted-flag-p): New internal function.
1335         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1336         (elmo-msgdb-unset-flag): Ditto.
1337
1338 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1339
1340         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1341
1342         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1343         from msgdb.
1344
1345 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1346
1347         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1348         (follow the API change).
1349
1350         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1351
1352 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1353
1354         * modb-standard.el (modb-standard-digest-flags): Abolish.
1355         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1356
1357         * elmo-vars.el (elmo-digest-flags): New variable.
1358         (elmo-preserved-flags): Moved from elmo-flag.el.
1359
1360         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1361         (elmo-imap4-flag-to-imap-criteria): Ditto.
1362         (elmo-imap4-folder-list-flagged): Use it.
1363
1364         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1365
1366         * elmo.el (elmo-folder-count-flags): Changed return value.
1367
1368         * elmo-flag.el (elmo-preserved-flags): New variable.
1369         (elmo-get-global-flags): Use it.
1370
1371         * modb-standard.el (modb-standard-digest-flags): New variable.
1372         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1373         Changed behavior of `any'.
1374
1375         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1376         which are defined the Internet draft
1377         (draft-melnikov-imap-keywords-03.txt).
1378         (elmo-imap4-flags-to-imap): New function.
1379         (elmo-folder-append-buffer): Use it.
1380
1381         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1382         in the docstring.
1383
1384         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1385         avoid the bug of Emacs 21.3.
1386
1387 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1388
1389         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1390         function find-coding-system does not exist.
1391
1392 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1393
1394         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1395         parsing.
1396
1397 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1398
1399         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1400         response codes.
1401
1402 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1403
1404         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1405         (elmo-network-close-session): Follow the changes in
1406         `elmo-pop3-read-response'.
1407         (elmo-pop3-auth-user): Ditto.
1408         (elmo-pop3-auth-apop): Ditto.
1409         (elmo-network-initialize-session): Ditto.
1410         (elmo-network-authenticate-session): Ditto.
1411         (elmo-network-setup-session): Ditto.
1412         (elmo-folder-status): Ditto.
1413         (elmo-message-fetch-plugged): Ditto.
1414         (elmo-pop3-delete-msg): Ditto.
1415
1416 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1417
1418         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1419         on failure.
1420
1421 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1422
1423         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1424         style.
1425         (elmo-bind-directory): Ditto.
1426
1427 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1428
1429         * elmo.el (elmo-folder-append-messages): Note on return value.
1430         * elmo-archive.el (elmo-folder-append-messages): Don't return
1431         message numbers which could not be appended.
1432
1433 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1434
1435         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1436
1437 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1438
1439         * elmo-version.el (elmo-version): Up to 2.11.30.
1440
1441 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1442
1443         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1444         `mask'.
1445
1446         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1447
1448         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1449         (elmo-multi-split-numbers): Add elmo-folder object into each
1450         element of return value at first.
1451         (elmo-folder-delete-messages): Follow the above change.
1452         (elmo-folder-detach-messages): Ditto.
1453
1454         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1455         number which is synchronized in target folder.
1456
1457 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1458
1459         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1460         Change default value to symbol `all'.
1461         (elmo-map-message-fetch): Change condition to update overview
1462         follow the above.
1463
1464 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1465
1466         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1467         behavior to update overview.
1468         (elmo-shimbun-update-overview-folder-list): Note it.
1469
1470 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1471
1472         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1473         recursive call.
1474
1475 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1476
1477         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1478         buffer-disable-undo, it is unnecessary.
1479         (elmo-spam-register-good-messages): Ditto.
1480
1481         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1482         Ditto.
1483
1484         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1485
1486 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1487
1488         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1489         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1490         elmo-set-buffer-multibyte.
1491         (elmo-object-load): Ditto.
1492         (elmo-save-buffer): Ditto.
1493         (elmo-delete-char): Ditto.
1494         (elmo-file-field-primitive-condition-match): Ditto.
1495         (elmo-mime-string): Ditto.
1496
1497         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1498         (elmo-archive-field-condition-match): Ditto.
1499
1500         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1501
1502         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1503
1504         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1505         (elmo-nntp-msgdb-create-message): Ditto.
1506
1507         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1508
1509         * elmo.el (elmo-message-match-condition): Ditto.
1510         (elmo-message-match-condition): Ditto.
1511
1512         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1513         Ditto.
1514
1515         * elmo-version.el (elmo-version): Up to 2.11.29.
1516
1517         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1518         (elsp-header): New backend.
1519
1520         * elmo-util.el (elmo-decoded-field-body): New function.
1521
1522 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1523
1524         * elmo-version.el (elmo-version): Up to 2.11.28.
1525
1526 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1527
1528         * elmo-filter.el: Rewrite.
1529
1530         * elmo-version.el (elmo-version): Up to 2.11.27.
1531
1532 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1533
1534         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1535         msgdb path for the localdir folder with absolute path.
1536
1537         * utf7.el: Synch up with latest gnus/utf7.el;
1538         Modified for latest Emacs.
1539
1540 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1541
1542         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1543         shimbun backend couldn't open.
1544
1545 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1546
1547         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1548         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1549         when a destination folder is a filter folder.
1550
1551 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1552
1553         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1554         (elmo-generic-folder-append-messages): Call elmo-message-flags
1555         with argument `msgid'.
1556
1557         * elmo-split.el (elmo-split-subr): Ditto.
1558
1559         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1560
1561         * elmo-multi.el (elmo-message-flags): Ditto.
1562
1563 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1564
1565         * elmo.el (elmo-folder): Add new slot `flag-table'.
1566         (elmo-folder-flag-table): New API.
1567         (elmo-folder-close-flag-table): Ditto.
1568         (elmo-folder-preserve-flags): New function.
1569         (elmo-generic-folder-append-messages): Use
1570         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1571         Flag of a non-registered message, it sets to nil.
1572         Does not set flag to flag-table.
1573
1574         * elmo-maildir.el (elmo-folder-append-buffer): Use
1575         `elmo-folder-preserve-flags'.
1576         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1577         `elmo-folder-close-flag-table'.
1578
1579         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1580         (elmo-archive-folder-append-buffer): Use
1581         `elmo-folder-preserve-flags'.
1582
1583         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1584
1585         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1586
1587         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1588         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1589         `elmo-folder-close-flag-table'.
1590
1591         * elmo-version.el (elmo-version): Up to 2.11.26.
1592
1593 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1594
1595         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1596
1597         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1598         md5's 4th and 5th argument (non-existent in flim one).
1599
1600 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1601
1602         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1603         message, It sets to nil.
1604
1605 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1606
1607         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1608         list is non-nil.
1609
1610 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1611
1612         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1613
1614         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1615
1616         * elmo-util.el (elmo-uniq-sorted-list): New function.
1617         (elmo-make-number-list): Ditto.
1618         (elmo-number-set-to-number-list): Use elmo-make-number-list
1619         and don't use nreverse.
1620
1621 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1622
1623         * elmo-version.el (elmo-version): Up to 2.11.25.
1624
1625 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1626
1627         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1628         field not exists in message, Use md5 message digest of header.
1629
1630 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1631
1632         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1633         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1634         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1635         * elmo-split.el (elmo-split-subr): Check return value of
1636         elmo-folder-append-buffer.
1637
1638         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1639         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1640
1641         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1642         message-id.
1643
1644 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1645
1646         * elmo-split.el (elmo-split-subr): Append message with flag.
1647
1648         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1649         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1650         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1651
1652 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1653
1654         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1655         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1656         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1657
1658 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1659
1660         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1661         with a function call of `process-buffer'.  All callers are updated.
1662         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1663         Remove redundant `set-buffer' in a while loop.
1664
1665 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1666
1667         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1668         calls.
1669
1670 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1671
1672         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1673         elsp-spamfilter-register-buffer-internal with current buffer.
1674         (elmo-spam-register-spam-buffer): Ditto.
1675         (elmo-spam-register-good-buffer): Ditto.
1676
1677 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1678
1679         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1680         if it is not contained in the response(A workaround for courier-imap).
1681
1682 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1683
1684         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1685         parenthesis.
1686
1687 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1688
1689         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1690         range.
1691
1692 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1693
1694         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1695         of nconc.
1696
1697         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1698         argument handler.
1699         (elmo-msgdb-message-match-condition): Follow the change above.
1700
1701 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1702
1703         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1704         folder name.
1705
1706 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1707
1708         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1709
1710 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1711
1712         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1713
1714 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1715
1716         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1717         not found.
1718
1719 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1720
1721         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1722         value.
1723         (elmo-file-command-argument): Undo last change for cygwin.
1724         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1725         Don't return nil.
1726         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1727
1728 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1729
1730         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1731         value returned from elmo-file-find is nil.
1732
1733 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1734
1735         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1736         to elmo-vars.el.
1737
1738         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1739         instead of insert-file-contents-as-binary.
1740         (elmo-message-set-field): New generic function.
1741
1742         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1743         behavior change on `split-string'.
1744
1745         * elmo-file.el (elmo-file-find): New function.
1746         (elmo-file-command): New user option.
1747         (elmo-file-command-argument): Ditto.
1748         (elmo-file-fetch-max-size): Ditto.
1749         (elmo-file-detect-format): New function.
1750         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1751         Use elmo-file-detect-format.
1752         (elmo-map-folder-list-message-locations): Don't treat directories.
1753
1754 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1755
1756         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1757         (elmo-passwd-alist-clear): Shred password before clear.
1758         (elmo-remove-passwd): Remove all mached pair.
1759
1760 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1761
1762         * elmo.el (elmo-folder-synchronize): Fix description of the return
1763         value.
1764
1765 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1766
1767         * elmo.el (elmo-message-fetch-bodystructure): New method.
1768         (elmo-message-fetch-bodystructure): Define default.
1769
1770         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1771         elmo-message-fetch-bodystructure.
1772         (elmo-message-fetch-bodystructure): Define.
1773
1774         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1775
1776 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1777
1778         * elmo-filter.el (elmo-message-folder): Define.
1779
1780 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1781
1782         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1783         elmo-delete-cr-buffer.
1784
1785         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1786
1787         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1788
1789         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1790
1791         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1792         type seems to be a text.
1793
1794 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1795
1796         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1797         (elmo-spam-register-good-buffer): Ditto.
1798         (elmo-spam-spamassassin-register-messages): Ditto.
1799
1800         * elmo-util.el (elmo-string-member-ignore-case): Define with
1801         static-cond.
1802
1803 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1804
1805         * elmo.el (elmo-folder-type): Undo last change.
1806
1807         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1808
1809         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1810         warnings.
1811
1812         * elmo-file.el: New file.
1813         
1814         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1815
1816         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1817         variable.
1818         (elmo-spam-spamassassin-register-messages): New inline function.
1819         (elmo-spam-register-spam-messages): Define.
1820         (elmo-spam-register-good-messages): Ditto.
1821
1822         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1823         Fixed typo.
1824
1825         * elmo.el (toplevel): Added autoload setting for
1826         `elmo-get-global-flags'.
1827         (elmo-message-has-global-flag-p): New function.
1828         (elmo-message-set-global-flags): Ditto.
1829         (elmo-folder-type): Improvement for name: format.
1830
1831         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1832         availability of keyword flags.
1833         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1834         (elmo-folder-list-flagged-plugged): Renamed from
1835         elmo-folder-list-flagged-unplugged.
1836         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1837         accept any flag as keyword flag.
1838         (elmo-folder-set-flag-plugged): Accept keyword flags.
1839         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1840
1841         * elmo-flag.el (elmo-get-global-flags): New function.
1842
1843         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1844         folders.
1845
1846         * elmo-version.el (elmo-version): Up to 2.11.24.
1847
1848 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1849
1850         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1851         elmo-multiple-field-body instead of std11-field-body to check all
1852         headers.
1853
1854 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1855
1856         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1857         or "size".
1858
1859 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1860
1861         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1862         unintern is unbound.
1863
1864 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1865
1866         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1867         Protect from infinite loop.
1868
1869 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1870
1871         * elsp-bogofilter.el
1872         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1873         (elmo-spam-bogofilter-register-messages): New internal function.
1874         (elmo-spam-register-spam-messages): Define.
1875         (elmo-spam-register-good-messages): Ditto.
1876
1877 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1878
1879         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1880         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1881         (elmo-spam-bogofilter-call): Fixed the last change.
1882         (elmo-spam-bogofilter-arguments): Ditto.
1883
1884         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1885         Follow the options change of latest bogofilter.
1886
1887         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1888         (elmo-spam-bogofilter-good-switch): Ditto.
1889         (elmo-spam-bogofilter-arguments-alist): New user option.
1890         (elmo-spam-bogofilter-debug): Ditto.
1891         (elmo-spam-bogofilter-call): Renamed from
1892         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1893         is non-nil, insert output in buffer for debug.
1894         (elmo-spam-bogofilter-arguments): New macro.
1895         (elmo-spam-buffer-spam-p): Use it.
1896         (elsp-bogofilter-register-buffer): Ditto.
1897
1898 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1899
1900         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1901         regexp.
1902
1903 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1904
1905         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1906         value as "ruby".
1907         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1908         (elmo-spam-bsfilter-program): Set default value as full path for
1909         `bsfilter'.
1910         (elmo-spam-bsfilter-debug): New user option.
1911         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1912         non-nil, insert output in buffer for debug. Fix treating of
1913         argument.
1914
1915 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1916
1917         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1918         `elmo-maildir-flag-specs' element instead of one.
1919         (elmo-map-folder-unset-flag): Ditto.
1920         (Reported by Ken Makimura <macky@astem.or.jp>)
1921
1922         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1923         (elmo-folder-unset-flag-plugged): Ditto.
1924
1925 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1926
1927         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1928         to `reads' slot only if `in-msgdb' is nil.
1929
1930 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1931
1932         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1933         and complement argument list.
1934
1935 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1936
1937         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1938         instead of elmo-folder-list-flagged.
1939
1940 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1941
1942         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1943
1944         * elsp-bsfilter.el: New file.
1945
1946         * elmo-pipe.el (elmo-folder-list-unreads,
1947         elmo-folder-list-answereds,
1948         elmo-folder-list-importants,
1949         elmo-folder-flag-as-important,
1950         elmo-folder-unflag-important,
1951         elmo-folder-flag-as-read,
1952         elmo-folder-unflag-read,
1953         elmo-folder-flag-as-answered,
1954         elmo-folder-unflag-answered): Remove.
1955         (elmo-folder-set-flag): Define.
1956         (elmo-folder-unset-flag): Ditto.
1957
1958         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1959         (elmo-folder-set-flag): Define.
1960         (elmo-folder-unset-flag): Ditto.
1961         (elmo-folder-list-unreads): Remove.
1962         (elmo-folder-list-flagged): Define.
1963
1964         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1965         (elmo-folder-list-unreads,
1966         elmo-folder-list-importants,
1967         elmo-folder-list-answereds,
1968         elmo-folder-list-unreads-plugged,
1969         elmo-folder-list-importants-plugged,
1970         elmo-folder-list-answereds-plugged): Remove.
1971         (elmo-folder-list-flagged-plugged): New method.
1972         (elmo-folder-unflag-important,
1973         elmo-folder-flag-as-important,
1974         elmo-folder-unflag-read,
1975         elmo-folder-flag-as-read,
1976         elmo-folder-unflag-answered,
1977         elmo-folder-flag-as-answered,
1978         elmo-folder-flag-as-read-unplugged,
1979         elmo-folder-unflag-read-unplugged,
1980         elmo-folder-flag-as-important-unplugged,
1981         elmo-folder-unflag-important-unplugged,
1982         elmo-folder-flag-as-answered-unplugged,
1983         elmo-folder-unflag-answered-unplugged): Remove.
1984         (elmo-folder-set-flag): Define.
1985         (elmo-folder-unset-flag): Ditto.
1986         (elmo-folder-set-flag-unplugged): Ditto.
1987         (elmo-folder-unset-flag-unplugged): Ditto.
1988
1989         * elmo-multi.el (elmo-folder-list-unreads,
1990         elmo-folder-list-answereds,
1991         elmo-folder-list-importants,
1992         elmo-folder-flag-as-important,
1993         elmo-folder-unflag-important,
1994         elmo-folder-flag-as-read,
1995         elmo-folder-unflag-read,
1996         elmo-folder-flag-as-answered,
1997         elmo-folder-unflag-answered): Remove.
1998         (elmo-folder-set-flag): Define.
1999         (elmo-folder-unset-flag): Ditto.
2000
2001         * elmo-map.el (elmo-map-folder-unflag-important,
2002         elmo-map-folder-flag-as-important,
2003         elmo-map-folder-unflag-read,
2004         elmo-map-folder-flag-as-read,
2005         elmo-map-folder-unflag-answered,
2006         elmo-map-folder-flag-as-answered): Remove.
2007         (elmo-map-folder-set-flag): New method.
2008         (elmo-map-folder-unset-flag): Ditto.
2009         (elmo-map-folder-list-unreads,
2010         elmo-map-folder-list-importants,
2011         elmo-map-folder-list-answereds): Remove.
2012         (elmo-folder-list-flagged-internal): Define.
2013         (elmo-map-folder-list-flagged): New method.
2014
2015         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2016         (elmo-map-folder-list-unreads,
2017         elmo-map-folder-list-importants,
2018         elmo-map-folder-list-flagged): Remove.
2019         (elmo-map-folder-list-flagged): Define.
2020         (elmo-map-folder-flag-as-important,
2021         elmo-map-folder-unflag-important,
2022         elmo-map-folder-flag-as-read,
2023         elmo-map-folder-unflag-read,
2024         elmo-map-folder-flag-as-answered,
2025         elmo-map-folder-unflag-answered): Remove.
2026         (elmo-maildir-set-mark-messages): New internal function.
2027         (elmo-map-folder-set-flag): Define.
2028         (elmo-map-folder-unset-flag): Ditto.
2029
2030         * elmo.el (toplevel): Added autoload setting for
2031         `elmo-folder-list-global-flag-messages'.
2032         (elmo-folder-list-unreads,
2033         elmo-folder-list-importants,
2034         elmo-folder-list-answereds): Remove.
2035         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2036         Return a list whitch merged with messages have global flag.
2037         (elmo-folder-list-flagged-internal): New method.
2038         (elmo-folder-unflag-important,
2039         elmo-folder-flag-as-important,
2040         elmo-folder-unflag-read,
2041         elmo-folder-flag-as-read,
2042         elmo-folder-unflag-answered,
2043         elmo-folder-flag-as-answered): Remove.
2044         (elmo-folder-set-flag): New method.
2045         (elmo-folder-unset-flag): Ditto.
2046         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2047         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2048
2049         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2050         (elmo-folder-list-unreads-plugged,
2051         elmo-folder-list-importants-plugged,
2052         elmo-folder-list-answereds-plugged,
2053         elmo-folder-list-flagged-unplugged,
2054         elmo-folder-unflag-important-plugged,
2055         elmo-folder-flag-as-important-plugged,
2056         elmo-folder-unflag-read-plugged,
2057         elmo-folder-flag-as-read-plugged,
2058         elmo-folder-unflag-answered-plugged,
2059         elmo-folder-flag-as-answered-plugged): Remove.
2060         (elmo-folder-set-flag-plugged,
2061         elmo-folder-unset-flag-plugged): Define.
2062
2063         * elmo-flag.el (elmo-folder-initialize): Register to
2064         `elmo-global-flag-list' if flag is not global.
2065         (elmo-folder-append-messages): Set flag to source messages.
2066
2067         * elmo-filter.el (elmo-filter-folder-list-unreads,
2068         elmo-folder-list-unreads,
2069         elmo-filter-folder-list-importants,
2070         elmo-folder-list-importants,
2071         elmo-folder-flag-as-read,
2072         elmo-folder-unflag-read,
2073         elmo-folder-flag-as-important,
2074         elmo-folder-unflag-important,
2075         elmo-folder-flag-as-answered,
2076         elmo-folder-unflag-answered): Remove.
2077         (elmo-folder-set-flag): Define.
2078         (elmo-folder-unset-flag): Ditto.
2079
2080         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2081         elmo-folder-unflag-read-dop,
2082         elmo-folder-flag-as-important-dop,
2083         elmo-folder-unflag-important-dop,
2084         elmo-folder-flag-as-answered-dop,
2085         elmo-folder-unflag-answered-dop): Remove.
2086         (elmo-folder-set-flag-dop,
2087         elmo-folder-unset-flag-dop,
2088         elmo-folder-set-important-delayed,
2089         elmo-folder-unset-important-delayed,
2090         elmo-folder-set-read-delayed,
2091         elmo-folder-unset-read-delayed,
2092         elmo-folder-set-answered-delayed,
2093         elmo-folder-unset-answered-delayed): New function.
2094         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2095         (elmo-dop-queue-method-name-alist): Ditto.
2096
2097         * elmo-version.el (elmo-version): Up to 2.11.23.
2098
2099 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2100
2101         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2102
2103         * elsp-sa.el: New file.
2104
2105 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2106
2107         * modb-standard.el (modb-standard-message-entity): New function.
2108         (elmo-msgdb-message-entity): Use it.
2109
2110 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2111
2112         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2113         behavior when one-level is nil.
2114
2115         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2116
2117         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2118
2119 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2120
2121         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2122         get max number.
2123         (elmo-generic-folder-diff): Ditto.
2124
2125         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2126         (elmo-folder-update-number): Ditto.
2127
2128         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2129         (elmo-folder-next-message-number-dop): Ditto.
2130
2131 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2132
2133         * elmo-filter.el (elmo-folder-msgdb-create): Use
2134         `elmo-message-entity' and `elmo-message-flags' instead of
2135         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2136
2137 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2138
2139         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2140         `if-exists'.
2141
2142 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2143
2144         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2145
2146         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2147
2148         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2149
2150 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2151
2152         * elmo-version.el (elmo-version): Up to 2.11.22.
2153
2154 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2155
2156         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2157
2158 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2159
2160         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2161         if the message dose not exist.
2162
2163 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2164
2165         * elmo-version.el (elmo-version): Up to 2.11.21.
2166
2167 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2168
2169         * modb-standard.el (toplevel): Don't require mime.
2170
2171 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2172
2173         * elsp-bogofilter.el (toplevel): Don't require path-util.
2174         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2175         (elmo-spam-bogofilter-header): Abolish.
2176         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2177         (elmo-spam-bogofilter-args): New user option.
2178         (elsp-bogofilter-call-bogofilter): New internal function.
2179         (elmo-spam-buffer-spam-p): Use it.
2180         (elsp-bogofilter-register-buffer): Renamed from
2181         `elmo-spam-bogofilter-register-buffer';
2182         Use `elsp-bogofilter-call-bogofilter'.
2183         (elmo-spam-register-spam-buffer): Follow the change above.
2184         (elmo-spam-register-good-buffer): Ditto.
2185
2186 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2187
2188         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2189         message-id is nil do nothing.
2190
2191 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2192
2193         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2194         Revival.
2195         (elmo-imap4-session): Removed use-flag slot.
2196         (elmo-imap4-session-select-mailbox): Undo last change.
2197         (elmo-folder-use-flag-p): Use
2198         elmo-imap4-disuse-server-flag-mailbox-regexp.
2199
2200 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2201
2202         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2203         (elmo-imap4-session-select-mailbox): Set it up.
2204         (elmo-folder-use-flag-p): Return value of use-flag slot.
2205
2206 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2207
2208         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2209         message-id is nil.
2210         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2211
2212         * modb-entity.el (elmo-message-entity-handler): Likewise.
2213
2214 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2215
2216         * elmo.el (toplevel): Remove setting of autoloding for
2217         elmo-global-flag-initialize.
2218         (elmo-init): Don't call elmo-global-flag-initialize.
2219         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2220
2221         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2222         (elmo-global-mark-migrate): Don't call it.
2223         (elmo-global-mark-upgrade): Ditto.
2224
2225 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2226
2227         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2228         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2229
2230         * elmo-vars.el (elmo-init-hook): New user option.
2231
2232         * elmo.el (elmo-init): Run the elmo-init-hook.
2233
2234         * elmo-flag.el (elmo-global-mark-migrate): New function.
2235
2236 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2237
2238         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2239         Undo last change (move to elmo-msgdb-unset-flag).
2240         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2241         flag is unset.
2242
2243 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2244
2245         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2246         read flag is set.
2247         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2248         (elmo-msgdb-unset-flag): Ditto.
2249
2250 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2251
2252         * elmo-split.el (elmo-split): Return split message count.
2253
2254 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2255
2256         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2257         is nil.
2258
2259 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2260
2261         * elmo.el (elmo-folder-unflag-important): Call
2262         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2263         a symbol `always'.
2264
2265         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2266         before unset flag.
2267         (elmo-global-flag-detach): Delete the message from flag folder, if
2268         `delete-if-none' is a symbol `always'.
2269
2270 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2271
2272         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2273         `elmo-spam-spamfilter-decode-buffer'.
2274         (elsp-spamfilter-register-buffer-internal): New internal function.
2275         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2276         (elmo-spam-register-spam-buffer): Ditto.
2277         (elmo-spam-register-good-buffer): Ditto.
2278
2279         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2280         change.
2281         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2282         (elmo-spam-register-spam-buffer): Follow the API change.
2283         (elmo-spam-register-good-buffer): Ditto.
2284
2285         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2286         (elmo-split-spam-p): Added argument plist; Call
2287         `elmo-spam-buffer-spam-p' with new argument register.
2288
2289         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2290         `register'.
2291         (elmo-spam-message-spam-p): Ditto.
2292         (elmo-spam-register-spam-buffer): Added optional argument
2293         `restore'.
2294         (elmo-spam-register-good-buffer): Ditto.
2295         (elmo-spam-register-spam-messages): Ditto.
2296         (elmo-spam-register-good-messages): Ditto.
2297
2298 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2299
2300         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2301         register into good corpus.
2302         (elmo-spam-register-good-buffer): Fixed to register into bad
2303         corpus.
2304
2305 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2306
2307         * elmo-version.el (elmo-version): Up to 2.11.20.
2308
2309         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2310         change.
2311
2312         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2313         flag without depending on \Recent flag.
2314
2315 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2316
2317         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2318         (elmo-spam-modified-p): Defined.
2319         (elmo-spam-save-status): Set `modified' slot to nil.
2320         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2321         (elmo-spam-register-good-buffer): Ditto.
2322
2323         * elmo-spam.el (elmo-spam-modified-p): New API.
2324
2325 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2326
2327         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2328         duplicate definition.
2329
2330         * elmo-util.el (elmo-unfold-field-body): New function.
2331         (elmo-msgdb-get-message-id-from-buffer): Use it.
2332
2333         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2334         Fixed the last change; Use elmo-unfold-field-body.
2335
2336 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2337
2338         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2339         Unfold date value.
2340
2341 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2342
2343         * elmo-spam.el (elmo-spam-save-status): New API.
2344
2345         * elsp-spamfilter.el: New file.
2346
2347 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2348
2349         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2350
2351 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2352
2353         * elmo-split.el (elmo-split-spam-p): New function.
2354
2355         * elmo-spam.el: New file.
2356
2357         * elsp-bogofilter.el: Ditto.
2358
2359 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2360
2361         * elmo.el (elmo-folder-next-message-number): New API.
2362         (elmo-folder-next-message-number): Define.
2363         (elmo-message-field): Don't check folder length.
2364
2365         * elmo-net.el (elmo-folder-next-message-number): Define.
2366         (elmo-folder-next-message-number-unplugged): Define.
2367
2368         * elmo-map.el (elmo-folder-next-message-number): Define.
2369         (elmo-folder-delete-messages): Clear hash value.
2370
2371         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2372
2373         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2374         (elmo-folder-delete-messages-dop-delayed): Always return t.
2375
2376         * elmo-version.el (elmo-version): Up to 2.11.19.
2377
2378 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2379
2380         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2381         change.
2382
2383         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2384         identical cons cell into the mark-alist and the hash table.
2385
2386 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2387
2388         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2389         elmo-folder-list-messages with argument `visible-only' as t.
2390
2391         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2392         (elmo-folder-msgdb-create): Check the target folder.
2393
2394 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2395
2396         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2397         `permanentflag' instead of `flags'.
2398         (elmo-folder-open): Ditto.
2399         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2400         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2401         (elmo-folder-use-flag-p): Always return t.
2402         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2403         `permanentflags' does not exist.
2404         (elmo-folder-open): Ditto.
2405
2406 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2407
2408         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2409         is nil.
2410         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2411
2412         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2413         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2414         response.
2415         (elmo-folder-open): Ditto.
2416         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2417         slot of the session includes the flag.
2418         (elmo-imap4-session-flag-available-p): New function.
2419         (elmo-imap4-folder-list-flagged): Ditto.
2420         (elmo-folder-list-unreads-plugged): Use it.
2421         (elmo-folder-list-importants-plugged): Ditto.
2422         (elmo-folder-list-answereds-plugged): Ditto.
2423         (elmo-imap4-search-internal-primitive): Ditto.
2424         (elmo-imap4-folder-list-any-plugged,
2425         elmo-imap4-folder-list-digest-plugged): Abolish.
2426
2427         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2428         if numbers is nil.
2429
2430 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2431
2432         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2433
2434 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2435
2436         * elmo-util.el (elmo-get-hash-val): Simplify.
2437         (elmo-set-hash-val): Rewrite.
2438
2439 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2440
2441         * elmo.el (elmo-folder-list-messages): Append killed messages into
2442         result if `visible-only' is nil and `in-msgdb' is non-nil.
2443
2444         * elmo-util.el (elmo-uniq-list): Added optional argument
2445         `delete-function'.
2446
2447         * modb.el (elmo-msgdb-flag-count): New API.
2448
2449         * modb-standard.el (modb-standard): Added slot flag-count.
2450         (modb-standard-countup-flags): New function.
2451         (modb-standard-load-flag): Call it.
2452         (elmo-msgdb-append): Ditto.
2453         (elmo-msgdb-clear): Clear slot flag-count.
2454         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2455         (elmo-msgdb-unset-flag): Treat `all' flag and call
2456         modb-standard-countup-flags.
2457         (elmo-msgdb-flag-count): Define.
2458         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2459         (elmo-msgdb-delete-messages): Ditto.
2460
2461         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2462         (elmo-msgdb-flag-count): Define.
2463
2464         * elmo.el (elmo-folder-list-messages): Undo last change.
2465         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2466         (elmo-folder-kill-messages): Unset all flags to numbers.
2467
2468         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2469         elmo-folder-kill-messages.
2470
2471         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2472         (elmo-nntp-folder-delete-messages): Abolish.
2473
2474         * elmo-version.el (elmo-version): Up to 2.11.18.
2475
2476 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2477
2478         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2479         (elmo-folder-kill-messages-range): New function.
2480         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2481         instead of elmo-folder-kill-messages-before.
2482
2483 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2484
2485         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2486         elmo-imap4-current-msgdb to decide entity handler.
2487
2488 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2489
2490         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2491
2492         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2493         inline function.
2494         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2495         (elmo-msgdb-overview-entity-set-number,
2496         elmo-msgdb-overview-entity-get-references,
2497         elmo-msgdb-overview-entity-set-references,
2498         elmo-msgdb-overview-entity-get-from-no-decode,
2499         elmo-msgdb-overview-entity-get-from,
2500         elmo-msgdb-overview-entity-set-from,
2501         elmo-msgdb-overview-entity-get-subject,
2502         elmo-msgdb-overview-entity-get-subject-no-decode,
2503         elmo-msgdb-overview-entity-set-subject,
2504         elmo-msgdb-overview-entity-get-date,
2505         elmo-msgdb-overview-entity-set-date,
2506         elmo-msgdb-overview-entity-get-to,
2507         elmo-msgdb-overview-entity-get-cc,
2508         elmo-msgdb-overview-entity-get-size,
2509         elmo-msgdb-overview-entity-set-size,
2510         elmo-msgdb-overview-entity-get-extra,
2511         elmo-msgdb-overview-entity-set-extra,
2512         elmo-msgdb-overview-entity-get-extra-field,
2513         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2514         (elmo-msgdb-make-index): Use
2515         `elmo-msgdb-overview-entity-get-number-internal'.
2516         (elmo-msgdb-clear-index): Ditto.
2517         (elmo-msgdb-append-entity): Ditto;
2518         Use `elmo-msgdb-overview-entity-get-id-internal'.
2519
2520         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2521         elmo-msgdb-overview-entity-set-number,
2522         elmo-msgdb-overview-entity-get-references,
2523         elmo-msgdb-overview-entity-set-references,
2524         elmo-msgdb-overview-entity-get-from-no-decode,
2525         elmo-msgdb-overview-entity-get-from,
2526         elmo-msgdb-overview-entity-set-from,
2527         elmo-msgdb-overview-entity-get-subject,
2528         elmo-msgdb-overview-entity-get-subject-no-decode,
2529         elmo-msgdb-overview-entity-set-subject,
2530         elmo-msgdb-overview-entity-get-date,
2531         elmo-msgdb-overview-entity-set-date,
2532         elmo-msgdb-overview-entity-get-to,
2533         elmo-msgdb-overview-entity-get-cc,
2534         elmo-msgdb-overview-entity-get-size,
2535         elmo-msgdb-overview-entity-set-size,
2536         elmo-msgdb-overview-entity-get-extra,
2537         elmo-msgdb-overview-entity-set-extra,
2538         elmo-msgdb-overview-entity-get-extra-field,
2539         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2540         and rewrote for backward compatibility.
2541
2542 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2543
2544         * elmo.el (elmo-message-entity-number,
2545         elmo-message-entity-set-number,
2546         elmo-message-entity-field,
2547         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2548
2549         * elmo-msgdb.el (elmo-message-entity-number,
2550         elmo-message-entity-set-number,
2551         elmo-message-entity-field,
2552         elmo-message-entity-set-field): Moved from elmo.el.
2553
2554 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2555
2556         * elmo.el (toplevel): Changed definition orders.
2557
2558 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2559
2560         * modb.el (elmo-msgdb-search): New API .
2561         (elmo-msgdb-match-condition): Ditto.
2562
2563         * modb-standard.el (elmo-msgdb-search): Define.
2564
2565         * modb-legacy.el (elmo-msgdb-search): Ditto.
2566
2567         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2568         from elmo-msgdb-match-condition-internal.
2569
2570         * elmo.el (elmo-folder-search-fast): Abolish.
2571         (elmo-folder-search): Use elmo-msgdb-search and
2572         elmo-with-progress-display.
2573
2574         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2575         as msgdb API.
2576
2577         * elmo.el (elmo-folder): Remove slot message-modified and
2578         flag-modified.
2579         (elmo-folder-set-message-modified): Abolish.
2580         (elmo-generic-folder-commit): Follow the change above.
2581         (elmo-folder-synchronize): Ditto.
2582
2583         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2584
2585         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2586
2587         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2588
2589 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2590
2591         * modb-standard.el (modb-standard-make-message-entity,
2592         elmo-msgdb-make-message-entity,
2593         elmo-msgdb-create-message-entity-from-buffer,
2594         elmo-msgdb-message-entity-number,
2595         elmo-msgdb-message-entity-set-number,
2596         elmo-msgdb-message-entity-field,
2597         elmo-msgdb-message-entity-set-field,
2598         elmo-msgdb-copy-message-entity,
2599         elmo-msgdb-match-condition-internal): Remove.
2600
2601         * modb-entity.el: New file (again).
2602
2603         * modb.el (toplevel): Require modb-entity.
2604         (elmo-msgdb-message-entity-handler): New method.
2605
2606         * modb-standard.el (modb-standard-entity-id): Use
2607         elmo-message-entity-handler.
2608         (modb-standard-load-entity): Ditto.
2609         (elmo-msgdb-append-entity): Ditto.
2610         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2611
2612         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2613         elmo-msgdb-decoded-cache-hashtb,
2614         (modb-legacy-make-message-entity,
2615         elmo-msgdb-make-message-entity,
2616         elmo-msgdb-create-message-entity-from-buffer,
2617         elmo-msgdb-message-entity-number,
2618         elmo-msgdb-message-entity-set-number,
2619         elmo-msgdb-message-entity-field,
2620         elmo-msgdb-message-entity-set-field,
2621         elmo-msgdb-copy-message-entity,
2622         elmo-msgdb-match-condition-internal,
2623         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2624
2625         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2626         (elmo-message-entity-set-number): Ditto.
2627         (elmo-message-entity-field): Ditto.
2628         (elmo-message-entity-set-field): Ditto.
2629
2630         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2631
2632         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2633
2634         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2635
2636         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2637         (elmo-nntp-msgdb-create-message): Ditto.
2638
2639         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2640         (elmo-folder-msgdb-create): Add unread flag.
2641
2642         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2643
2644         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2645
2646         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2647
2648         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2649
2650         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2651         elmo-msgdb-messge-entity-handler.
2652         * elmo-version.el (elmo-version): Up to 2.11.17.
2653
2654 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2655
2656         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2657         change.
2658
2659 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2660
2661         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2662
2663         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2664         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2665         (elmo-msgdb-flag-table): Ditto.
2666         (elmo-msgdb-sort-by-date): Ditto.
2667
2668         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2669
2670         * modb-standard.el (toplevel): Require mime.
2671         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2672         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2673         elmo-msgdb-message-entity-number.
2674         (elmo-msgdb-append-entity): Ditto.
2675         (elmo-msgdb-create-message-entity-from-file): Remove.
2676         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2677         corresponds to the entity.
2678         (elmo-msgdb-message-entity-number): Do nothing currently.
2679         (elmo-msgdb-message-entity-field): Ditto.
2680         (elmo-msgdb-message-entity-set-field): Ditto.
2681         (elmo-msgdb-copy-message-entity): Ditto.
2682         (elmo-msgdb-match-condition-internal): Ditto.
2683
2684         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2685         elmo-util.el.
2686         (elmo-msgdb-create-message-entity-from-file): Remove.
2687
2688         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2689         modb-legacy.el.
2690         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2691
2692         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2693
2694 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2695
2696         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2697         (elmo-msgdb-message-entity-field): Ditto.
2698         (elmo-msgdb-message-entity-number): Ditto.
2699
2700 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2701
2702         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2703         Fixed how to set extra field into entity.
2704         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2705         symbol.
2706
2707         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2708         Fixed how to set extra field into entity.
2709         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2710         symbol.
2711
2712 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2713
2714         * modb.el (elmo-message-entity-db): New function.
2715         (elmo-msgdb-make-message-entity): New API.
2716         (elmo-msgdb-message-entity-number): Ditto.
2717         (elmo-msgdb-message-entity-set-number): Ditto.
2718         (elmo-msgdb-message-entity-field): Ditto.
2719         (elmo-msgdb-message-entity-set-field): Ditto.
2720         (elmo-msgdb-copy-message-entity): Ditto.
2721         (elmo-msgdb-create-message-entity-from-file): Ditto.
2722         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2723         (elmo-msgdb-match-condition-internal): Ditto.
2724
2725         * modb-standard.el (modb-legacy): Require modb-legacy.
2726         (modb-standard-make-message-entity): New inline function.
2727         (elmo-msgdb-make-message-entity): Define.
2728         (elmo-msgdb-create-message-entity-from-file): Ditto.
2729         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2730         (elmo-msgdb-message-entity-field): Ditto.
2731         (elmo-msgdb-message-entity-set-field): Ditto.
2732         (elmo-msgdb-copy-message-entity): Ditto.
2733         (elmo-msgdb-match-condition-internal): Ditto.
2734
2735         * modb-legacy.el: Don't require modb-entity.
2736         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2737         (elmo-msgdb-match-condition-primitive): Ditto.
2738         (elmo-msgdb-get-decoded-cache): Ditto.
2739         (elmo-msgdb-overview-entity-get-id): Ditto.
2740         (elmo-msgdb-overview-entity-get-number): Ditto.
2741         (elmo-msgdb-overview-entity-set-number): Ditto.
2742         (elmo-msgdb-overview-entity-get-references): Ditto.
2743         (elmo-msgdb-overview-entity-set-references): Ditto.
2744         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2745         (elmo-msgdb-overview-entity-get-from): Ditto.
2746         (elmo-msgdb-overview-entity-set-from): Ditto.
2747         (elmo-msgdb-overview-entity-get-subject): Ditto.
2748         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2749         (elmo-msgdb-overview-entity-set-subject): Ditto.
2750         (elmo-msgdb-overview-entity-get-date): Ditto.
2751         (elmo-msgdb-overview-entity-set-date): Ditto.
2752         (elmo-msgdb-overview-entity-get-to): Ditto.
2753         (elmo-msgdb-overview-entity-get-cc): Ditto.
2754         (elmo-msgdb-overview-entity-get-size): Ditto.
2755         (elmo-msgdb-overview-entity-set-size): Ditto.
2756         (elmo-msgdb-overview-entity-get-extra): Ditto.
2757         (elmo-msgdb-overview-entity-set-extra): Ditto.
2758         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2759         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2760         (elmo-msgdb-number-load): Ditto.
2761         (elmo-msgdb-overview-load): Ditto.
2762         (elmo-msgdb-mark-load): Ditto.
2763         (elmo-msgdb-number-save): Ditto.
2764         (elmo-msgdb-mark-save): Ditto.
2765         (elmo-msgdb-overview-save): Ditto.
2766         (modb-legacy-make-message-entity): New inline function.
2767         (elmo-msgdb-insert-file-header): Ditto.
2768         (elmo-msgdb-make-message-entity): Define.
2769         (elmo-msgdb-create-message-entity-from-file): Ditto.
2770         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2771         (elmo-msgdb-message-entity-number): Ditto.
2772         (elmo-msgdb-message-entity-set-number): Ditto.
2773         (elmo-msgdb-message-entity-field): Ditto.
2774         (elmo-msgdb-message-entity-set-field): Ditto.
2775         (elmo-msgdb-copy-message-entity): Ditto.
2776         (elmo-msgdb-match-condition-internal): Ditto.
2777
2778         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2779         (elmo-message-copy-entity): Rewrite.
2780         (elmo-message-entity-number): Ditto.
2781         (elmo-message-entity-set-number): Ditto.
2782         (elmo-message-entity-field): Use elmo-message-entity-db.
2783         (elmo-message-entity-set-field): Ditto.
2784         (elmo-message-field): Rewrite.
2785
2786         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2787         elmo-msgdb.el
2788         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2789
2790         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2791         elmo-message-entity-field.
2792         (elmo-shimbun-folder-shimbun-header): Ditto.
2793         (elmo-shimbun-entity-to-header): Ditto.
2794         (elmo-folder-msgdb-create): Ditto.
2795         (elmo-shimbun-msgdb-create-entity): Ditto;
2796         Use elmo-msgdb-create-message-entity-from-buffer.
2797         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2798         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2799
2800         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2801         elmo-msgdb-create-message-entity-from-file and 
2802         elmo-message-entity-field.
2803
2804         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2805         elmo-message-entity-number.
2806         (elmo-pop3-msgdb-create-message): Use
2807         elmo-msgdb-create-message-entity-from-buffer,
2808         elmo-message-entity-set-field, elmo-message-entity-number and
2809         elmo-message-entity-set-number.
2810
2811         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2812         the API change in elmo-msgdb-make-message-entity.
2813         (elmo-nntp-msgdb-create-message): Use
2814         elmo-msgdb-create-message-entity-from-buffer.
2815
2816         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2817         elmo-message-entity-field and
2818         elmo-msgdb-create-message-entity-from-file.
2819
2820         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2821         (elmo-msgdb-get-field): Abolish.
2822         (elmo-msgdb-get-number): Rewrite.
2823         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2824         (elmo-msgdb-flag-table): Ditto.
2825         (elmo-msgdb-get-last-message-id,
2826         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2827         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2828         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2829         (elmo-msgdb-create-overview-from-buffer,
2830         elmo-msgdb-overview-get-parent-entity): Abolish.
2831
2832         * elmo-mime.el (elmo-mime-display-as-is): Use
2833         elmo-message-entity-field.
2834
2835         * elmo-map.el (elmo-folder-pack-numbers): Use
2836         elmo-message-entity-set-number.
2837
2838         * elmo-maildir.el (elmo-folder-msgdb-create): 
2839         elmo-msgdb-create-message-entity-from-file instead of
2840         elmo-msgdb-create-overview-entity-from-file.
2841
2842         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2843         msgdb.
2844         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2845         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2846
2847         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2848         elmo-messge-entity-field and elmo-message-entity-number.
2849         (elmo-imap4-fetch-callback-1): Call
2850         elmo-msgdb-create-message-entity-from-buffer instead of
2851         elmo-msgdb-create-overview-from-buffer. 
2852         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2853         (elmo-find-fetch-strategy): Likewise.
2854
2855         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2856         elmo-localdir-msgdb-create-entity with argument msgdb.
2857
2858         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2859         and elmo-message-entity-set-number.
2860
2861         * elmo-cache.el (elmo-folder-msgdb-create): Use
2862         elmo-message-entity-field.
2863         (elmo-folder-msgdb-create): Call
2864         elmo-msgdb-create-message-entity-from-file instead of
2865         elmo-msgdb-create-overview-entity-from-file.
2866
2867         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2868         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2869         instead of elmo-msgdb-create-overview-from-buffer.
2870         (elmo-archive-msgdb-create-entity): Ditto.
2871         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2872         elmo-message-entity-field.
2873         (elmo-archive-parse-mmdf): Ditto.
2874
2875         * modb-entity.el: Removed.
2876
2877         * elmo-version.el (elmo-version): Up to 2.11.16.
2878
2879 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2880
2881         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2882         `is-local'.
2883         (elmo-folder-flag-as-answered): Ditto.
2884
2885 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2886
2887         * modb-standard.el: New file.
2888
2889         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2890         elmo-msgdb-convert-type is `sync'.
2891
2892         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2893         (elmo-msgdb-convert-type): New user option.
2894
2895         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2896         (elmo-load-msgdb): Auto detect saved type.
2897
2898         * elmo-version.el (elmo-version): Up to 2.11.15.
2899
2900 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2901
2902         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2903
2904         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2905         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2906         with argument `delete-if-none' when dst-folder is 'null.
2907
2908         * elmo-flag.el (elmo-folder-append-messages): Defined.
2909         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2910
2911 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2912
2913         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2914
2915 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2916
2917         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2918         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2919         (elmo-folder-commit): Ditto.
2920
2921 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2922
2923         * elmo-flag.el: New file.
2924
2925         * elmo-mark.el: Removed.
2926
2927         * modb-legacy.el (modb-legacy-new-mark,
2928         modb-legacy-unread-uncached-mark,
2929         modb-legacy-unread-cached-mark,
2930         modb-legacy-read-uncached-mark,
2931         modb-legacy-answered-cached-mark,
2932         modb-legacy-answered-uncached-mark,
2933         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2934         All other related portions are changed.
2935
2936         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2937         (elmo-folder-list-messages-with-global-mark): Abolish.
2938         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2939         (elmo-folder-flag-as-important): Ditto.
2940         (elmo-folder-unflag-read): Ditto.
2941         (elmo-folder-flag-as-read): Ditto.
2942         (elmo-folder-unflag-answered): Ditto.
2943         (elmo-folder-flag-as-answered): Ditto.
2944         (elmo-message-encache): Return the cache path.
2945         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2946         (elmo-message-set-flag): Transitional implementation.
2947         (elmo-message-unset-flag): Ditto.
2948         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2949         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2950         (elmo-init): Call elmo-global-flag-initialize.
2951         (toplevel): Added autoload settings for elmo-flag.
2952
2953         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2954
2955         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2956         (elmo-file-cache-delete): Don't treat global-mark.
2957
2958         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2959
2960         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2961
2962         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2963         `elmo-global-flags-set'.
2964
2965         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2966         `flag'.
2967         (elmo-folder-unflag-read): Ditto.
2968         (elmo-folder-unflag-important): Ditto.
2969         (elmo-folder-flag-as-important): Ditto.
2970         (elmo-folder-unflag-answered): Ditto.
2971         (elmo-folder-flag-as-answered): Ditto.
2972
2973         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2974         `elmo-global-flags-set'.
2975         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2976
2977         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2978
2979         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2980         `flag'.
2981         (elmo-folder-flag-as-important): Ditto.
2982         (elmo-folder-unflag-important): Ditto.
2983         (elmo-folder-flag-as-important): Ditto.
2984         (elmo-folder-unflag-read): Ditto.
2985         (elmo-folder-flag-as-read): Ditto.
2986         (elmo-folder-unflag-answered): Ditto.
2987         (elmo-folder-flag-as-answered): Ditto.
2988
2989         * elmo-multi.el (elmo-folder-list-importants): Don't call
2990         elmo-folder-list-messages-with-global-mark.
2991         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2992         (elmo-folder-unflag-important): Ditto.
2993         (elmo-folder-flag-as-read): Ditto.
2994         (elmo-folder-unflag-read): Ditto.
2995         (elmo-folder-flag-as-answered): Ditto.
2996         (elmo-folder-unflag-answered): Ditto.
2997
2998         * elmo-msgdb.el (elmo-msgdb-new-mark,
2999         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3000         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3001         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3002         (Moved to modb-legacy.el).
3003         (elmo-flag-table-get): Treat important flag too.
3004
3005         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3006         `mark' to `flag'.
3007         (elmo-map-folder-flag-as-important): Ditto.
3008         (elmo-map-folder-unflag-read): Ditto.
3009         (elmo-map-folder-flag-as-read): Ditto.
3010         (elmo-map-folder-unflag-answered): Ditto.
3011         (elmo-map-folder-flag-as-answered): Ditto.
3012         (elmo-folder-unflag-important): Ditto.
3013         (elmo-folder-flag-as-important): Ditto.
3014         (elmo-folder-unflag-read): Ditto.
3015         (elmo-folder-flag-as-read): Ditto.
3016         (elmo-folder-unflag-answered): Ditto.
3017         (elmo-folder-flag-as-answered): Ditto.
3018
3019         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3020         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3021         `flag'.
3022         (elmo-map-folder-unflag-important): Ditto.
3023         (elmo-map-folder-flag-as-read): Ditto.
3024         (elmo-map-folder-unflag-read): Ditto.
3025         (elmo-map-folder-flag-as-answered): Ditto.
3026         (elmo-map-folder-unflag-answered): Ditto.
3027
3028         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3029         `elmo-global-flags-set'.
3030         (elmo-global-flags-set): Added autoload setting.
3031
3032         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3033         `flag'.
3034
3035         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3036         `elmo-msgdb-global-mark-set'.
3037         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3038         Call `elmo-global-flags-set'.
3039         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3040         `flag'.
3041         (elmo-folder-flag-as-important-plugged): Ditto.
3042         (elmo-folder-unflag-read-plugged): Ditto.
3043         (elmo-folder-flag-as-read-plugged): Ditto.
3044         (elmo-folder-unflag-answered-plugged): Ditto.
3045         (elmo-folder-flag-as-answered-plugged): Ditto.
3046         (elmo-global-flags-set): Added autoload setting.
3047
3048         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3049         `flag'.
3050         (elmo-folder-unflag-read): Ditto.
3051         (elmo-folder-flag-as-important): Ditto.
3052         (elmo-folder-unflag-important): Ditto.
3053         (elmo-folder-flag-as-answered): Ditto.
3054         (elmo-folder-unflag-answered): Ditto.
3055
3056         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3057         change of `mark'->`flag'.
3058         (elmo-dop-queue-method-name-alist): Ditto.
3059         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3060         (elmo-folder-unflag-read-dop): Ditto.
3061         (elmo-folder-flag-as-important-dop): Ditto.
3062         (elmo-folder-unflag-important-dop): Ditto.
3063         (elmo-folder-flag-as-answered-dop): Ditto.
3064         (elmo-folder-unflag-answered-dop): Ditto.
3065
3066         * elmo-cache.el (elmo-folder-msgdb-create): Call
3067         `elmo-global-flags-set'.
3068
3069         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3070         Call `elmo-global-flags-set'.
3071         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3072         elmo-archive-parse-mmdf with argument `folder'.
3073         (elmo-archive-parse-mmdf): Added argument `folder';
3074         Call `elmo-global-flags-set'.
3075
3076         * elmo-version.el (elmo-version): Up to 2.11.14.
3077
3078 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3079
3080         * modb.el (elmo-msgdb-length): Define.
3081
3082         * elmo.el (elmo-make-folder): Fixed.
3083         (elmo-generic-folder-append-messages): Follow the API change.
3084
3085         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3086         API change.
3087
3088 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3089
3090         * modb.el: New file.
3091
3092         * modb-entity.el: Ditto.
3093
3094         * modb-legacy.el: Ditto.
3095
3096         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3097         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3098         of `elmo-msgdb-overview-get-entity'.
3099         (elmo-msgdb-get-field): Ditto.
3100         (elmo-msgdb-merge): Moved to `elmo.el'.
3101         (elmo-msgdb-length): Removed; redefine as modb method.
3102         (elmo-msgdb-change-mark): Abolish.
3103         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3104         (elmo-msgdb-match-condition): Don't use mark.
3105         (elmo-msgdb-overview-get-entity): Abolish.
3106         Split modb part into `modb*.el'.
3107
3108         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3109
3110         * elmo-shimbun.el (shimbun-mua-search-id): Use
3111         `elmo-msgdb-message-entity' instead of
3112         `elmo-msgdb-overview-get-entity'.
3113         (elmo-shimbun-folder-shimbun-header): Ditto.
3114         (elmo-shimbun-get-headers): Ditto.
3115         (elmo-shimbun-update-overview): Ditto.
3116
3117         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3118
3119         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3120
3121         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3122         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3123
3124         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3125         `elmo-msgdb-mark-to-flags'.
3126
3127         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3128         `elmo-msgdb-set-path'.
3129
3130         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3131  
3132         * elmo-version.el (elmo-version): Up to 2.11.13.
3133
3134         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3135
3136         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3137         of mark.
3138
3139 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3140
3141         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3142         mismatch.
3143
3144 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3145
3146         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3147         instead of `elmo-msgdb-get-cached'.
3148         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3149
3150         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3151         (elmo-msgdb-set-cached): Ditto.
3152         (elmo-msgdb-set-flag): Rewrite.
3153         (elmo-msgdb-unset-flag): Ditto.
3154
3155         * elmo-msgdb.el: Rewrite with luna.
3156
3157         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3158         (elmo-folder-msgdb): Follow the change above.
3159         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3160         (elmo-folder-unmark-important): Follow the API change.
3161         (elmo-folder-mark-as-important): Ditto.
3162         (elmo-folder-unmark-read): Ditto.
3163         (elmo-folder-mark-as-read): Ditto.
3164         (elmo-folder-unmark-answered): Ditto.
3165         (elmo-folder-mark-as-answered): Ditto.
3166         (elmo-folder-clear): Likewise.
3167
3168         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3169         instead of `elmo-msgdb-load' (renamed).
3170
3171         * elmo-version.el (elmo-version): Up to 2.11.12.
3172
3173 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3174
3175         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3176         change.
3177         (elmo-message-mark): Abolish.
3178         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3179         instead of `elmo-msgdb-change-mark'.
3180
3181         * elmo-pipe.el (elmo-message-mark): Abolish.
3182
3183         * elmo-multi.el (elmo-message-mark): Ditto.
3184
3185         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3186         (elmo-msgdb-unread-uncached-mark): Ditto.
3187         (elmo-msgdb-unread-cached-mark): Ditto.
3188         (elmo-msgdb-read-uncached-mark): Ditto.
3189         (elmo-msgdb-answered-cached-mark): Ditto.
3190         (elmo-msgdb-answered-uncached-mark): Ditto.
3191         (elmo-msgdb-important-mark): Ditto.
3192         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3193         `use-cache'.
3194         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3195         `flags'.
3196         (elmo-flag-table-load): Changed flag to list of flag.
3197         (elmo-flag-table-set): If flags is nil, set read flag.
3198         (elmo-flag-table-get): Return derived flags from global mark,
3199         cache status and saved flags.
3200         (elmo-msgdb-flag-table): Follow the change above.
3201         (elmo-msgdb-out-of-date-messages): New function.
3202
3203         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3204
3205         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3206
3207         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3208
3209         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3210         (elmo-nntp-msgdb-create-message): Ditto.
3211
3212         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3213
3214         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3215         independent.
3216         (elmo-folder-msgdb-create): Follow the API change.
3217
3218         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3219         (elmo-folder-append-messages): Ditto.
3220
3221         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3222         (elmo-folder-append-buffer): Ditto.
3223
3224         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3225
3226         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3227
3228         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3229         (elmo-archive-parse-mmdf): Ditto.
3230
3231         * elmo-version.el (elmo-version): Up to 2.11.11.
3232
3233 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3234
3235         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3236         `elmo-msgdb-mark'.
3237
3238         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3239
3240         * elmo-pipe.el (elmo-message-flags): Defined.
3241
3242         * elmo-multi.el (elmo-message-flags): Ditto.
3243
3244 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3245
3246         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3247         `elmo-msgdb-delete-msgs'.
3248
3249         * elmo.el (elmo-folder-count-flags): Don't use
3250         `elmo-msgdb-get-mark-alist'.
3251         (elmo-folder-detach-messages): Follow the API change.
3252
3253         * elmo.el (elmo-folder-list-messages): Append killed messages into
3254         result if `visible-only' is nil.
3255
3256         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3257         canceled messages.
3258         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3259         (elmo-folder-update-number): Likewise.
3260
3261         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3262         (elmo-pop3-sort-msgdb-by-original-number): Use
3263         `elmo-msgdb-sort-entities'.
3264
3265         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3266         (elmo-msgdb-sort-by-date): Use it.
3267         (elmo-msgdb-overview-sort-by-date): Abolish.
3268
3269         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3270
3271         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3272         (elmo-msgdb-flags): New function.
3273         (elmo-msgdb-merge): Use elmo-msgdb-append.
3274
3275         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3276         change.
3277
3278         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3279
3280         * elmo-dop.el (elmo-folder-status-dop): Use
3281         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3282
3283 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3284
3285         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3286
3287         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3288
3289         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3290
3291         * elmo-util.el (elmo-with-progress-display): New macro.
3292
3293         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3294
3295 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3296
3297         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3298         `elmo-folder-list-message-entities' instead of
3299         `elmo-msgdb-get-overview'.
3300         (elmo-map-folder-list-message-locations): Ditto.
3301
3302         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3303         methods instead of treat directly).
3304         (elmo-msgdb-clear): Ditto.
3305         (elmo-msgdb-delete-msgs): Ditto.
3306         (elmo-msgdb-sort-by-date): Ditto.
3307
3308         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3309         local variables.
3310         (elmo-nntp-folder-msgdb-create): Follow the API change.
3311
3312         * elmo-version.el (elmo-version): Up to 2.11.10.
3313
3314 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3315
3316         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3317         (elmo-msgdb-flags-to-mark): Ditto.
3318         (elmo-msgdb-append-entity): Ditto.
3319
3320         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3321         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3322         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3323         (elmo-archive-parse-mmdf): Ditto.
3324
3325         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3326
3327         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3328
3329         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3330
3331         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3332
3333         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3334
3335         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3336
3337         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3338
3339         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3340
3341         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3342         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3343         to empty msgdb.
3344
3345         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3346         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3347         instead of directly construction.
3348         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3349         instead of construct msgdb.
3350
3351         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3352         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3353         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3354         instead of construct msgdb.
3355
3356 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3357
3358         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3359         when field is from or subject.
3360
3361 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3362
3363         * elmo-multi.el (elmo-message-entity-parent): Define.
3364         (elmo-folder-search): Rewrite.
3365
3366 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3367
3368         * elmo-multi.el (elmo-message-cached-p): Define.
3369
3370         * elmo.el (elmo-message-cached-p): New method.
3371         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3372         (elmo-message-flags): New method.
3373         (elmo-message-flagged-p): New function.
3374
3375         * elmo-version.el (elmo-version): Up to 2.11.9.
3376
3377 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3378
3379         * elmo-version.el (elmo-version): Up to 2.11.8.
3380
3381         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3382
3383         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3384
3385 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3386
3387         * elmo.el (elmo-folder-detach-messages): Undo last change.
3388
3389 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3390
3391         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3392
3393         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3394         only when src folder type is pop3.
3395
3396 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3397
3398         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3399         elmo-msgdb-overview-entity-get-number instead of
3400         elmo-message-entity-number.
3401
3402 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3403
3404         * elmo-version.el (elmo-version): Up to 2.11.7.
3405
3406 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3407
3408         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3409         function.
3410
3411         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3412         (elmo-msgdb-merge): New function.
3413         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3414         (elmo-msgdb-make-index): Rewrite.
3415
3416         * elmo-version.el (elmo-version): Up to 2.11.6.
3417
3418         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3419         use it as a the path for loading message entities.
3420
3421         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3422
3423 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3424
3425         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3426         message-modified slot of itself if it does not require target msgdb.
3427
3428         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3429         if folder length is zero.
3430         (elmo-mime-display-as-is): Ditto.
3431
3432         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3433
3434         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3435
3436 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3437
3438         * elmo.el (elmo-folder-set-message-modified): New method.
3439         (elmo-generic-folder-commit): Use it.
3440         (elmo-folder-synchronize): Ditto.
3441
3442         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3443         (elmo-folder-commit): Remove duplicate definition.
3444
3445 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3446
3447         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3448
3449 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3450
3451         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3452         (elmo-strict-folder-diff): Ditto.
3453         (elmo-folder-set-info-max-by-numdb): Simplify.
3454
3455         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3456         elmo-msgdb-list-messages.
3457
3458         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3459         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3460
3461 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3462
3463         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3464         visible-only is non-nil.
3465         (elmo-folder-confirm-appends): Changed message.
3466         (elmo-folder-synchronize): Added argument disable-killed.
3467
3468         * elmo-multi.el (elmo-folder-synchronize): Added argument
3469         disable-killed.
3470
3471         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3472
3473         * elmo-version.el (elmo-version): Up to 2.11.5.
3474
3475         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3476         elmo-list-filter.
3477
3478         * elmo-util.el (elmo-list-filter): Simplify.
3479
3480         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3481         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3482         (elmo-generic-folder-diff): Abolish argument.
3483         (elmo-msgdb-load): Don't use number-alist.
3484
3485         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3486
3487         * elmo-pipe.el (elmo-folder-diff): Ditto.
3488
3489         * elmo-nmz.el (elmo-folder-diff): Ditto.
3490
3491         * elmo-net.el (elmo-folder-diff): Ditto.
3492
3493         * elmo-maildir.el (elmo-folder-diff): Ditto.
3494
3495         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3496
3497         * elmo-multi.el (elmo-folder-diff): Ditto
3498         (elmo-multi-folder-diff): Rewrite.
3499
3500 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3501
3502         * elmo-pipe.el (elmo-folder-msgdb): Define.
3503
3504 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3505
3506         * elmo.el (elmo-message-set-cached): Define as a method.
3507
3508         * elmo-pipe.el (elmo-message-set-cached): Define.
3509         (elmo-find-fetch-strategy): Ditto.
3510
3511         * elmo-multi.el (elmo-message-set-cached): Define.
3512         (elmo-find-fetch-strategy): Rewrite.
3513
3514         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3515
3516         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3517
3518 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3519
3520         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3521         instead of number-alist.
3522
3523         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3524         mark nor message-id when msgdb of source folder is not loaded.
3525
3526         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3527
3528         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3529
3530 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3531
3532         * elmo.el (elmo-folder-length): Don't require msgdb.
3533
3534 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3535
3536         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3537         (elmo-message-field): Ditto.
3538
3539         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3540         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3541         slot.
3542         (elmo-map-folder-list-answereds): Define.
3543         (elmo-maildir-list-location): Treat 'R' info.
3544         (elmo-folder-msgdb-create): Treat flag-table.
3545         (elmo-folder-append-messages): Save flag-table.
3546
3547 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3548
3549         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3550         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3551
3552 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3553
3554         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3555
3556         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3557         'read when mark is null.
3558
3559 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3560
3561         * elmo-version.el (elmo-version): Up to 2.11.4.
3562
3563 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3564
3565         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3566         (elmo-folder-mark-as-answered): Ditto.
3567
3568 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3569
3570         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3571         (elmo-pop3-get-session): Make msgdb directory after session.
3572         (elmo-folder-exists-p): Check exactly at the first time even when the
3573         elmo-pop3-exists-exactly is nil.
3574
3575         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3576         (elmo-folder-list-messages): Define instead of
3577         elmo-folder-list-messages-internal.
3578         (elmo-folder-check): Check destination folder.
3579         (elmo-folder-synchronize): Drain the pipe.
3580
3581         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3582         when msgdb is not loaded.
3583
3584         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3585
3586         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3587         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3588         messages.
3589
3590         * elmo.el (elmo-folder-kill-messages-before): New function.
3591         (elmo-folder-kill-messages): Ditto.
3592         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3593
3594         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3595         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3596         killed not by synchronize (e.g. scoring).
3597
3598 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3599
3600         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3601         treated.
3602         (elmo-folder-search): Follow the change above.
3603
3604         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3605         into the candidates of search field.
3606
3607 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3608
3609         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3610         (elmo-msgdb-unset-flag): Ditto.
3611
3612         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3613
3614 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3615
3616         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3617         (elmo-folder-commit): Define.
3618         (elmo-folder-synchronize): Ditto.
3619         (elmo-folder-list-flagged): Ditto.
3620         (elmo-folder-commit): Ditto.
3621         (elmo-folder-length): Ditto.
3622         (elmo-folder-count-flags): Ditto.
3623         (elmo-message-mark): Ditto.
3624         (elmo-message-field): Ditto.
3625         (elmo-message-entity): Ditto.
3626         (elmo-message-folder): Ditto.
3627
3628 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3629
3630         * elmo.el (elmo-message-field): Define as a method.
3631
3632         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3633         (elmo-message-field): Define.
3634
3635         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3636         (elmo-folder-list-importants): Ditto.
3637         (elmo-folder-list-answereds): Ditto.
3638
3639         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3640         qualifier.
3641         (elmo-folder-mark-as-read): Ditto.
3642         (elmo-folder-unmark-read): Ditto.
3643         (elmo-folder-mark-as-answered): Ditto.
3644         (elmo-folder-unmark-answered): Ditto.
3645         (elmo-folder-list-flagged): Define.
3646         (elmo-folder-commit): Ditto.
3647         (elmo-folder-length): Ditto.
3648         (elmo-folder-count-flags): Ditto.
3649
3650 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3651
3652         * elmo.el (elmo-folder-detach-messages): New method.
3653         (elmo-folder-move-messages): Use it.
3654         (elmo-folder-synchronize): Ditto.
3655
3656         * elmo-multi.el (elmo-folder-detach-messages): Define.
3657
3658         * elmo.el (elmo-message-copy-entity): New function.
3659         (elmo-message-entity-set-number): Ditto.
3660         (elmo-message-mark): Define as method.
3661
3662         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3663         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3664         (elmo-message-entity): Fixed last change.
3665         (elmo-message-mark): Define.
3666         (elmo-folder-msgdb-create): Abolish.
3667         (elmo-multi-folder-append-msgdb): Ditto.
3668         (elmo-multi-folder-diff): Fixed.
3669         (elmo-multi-split-number-alist): Removed.
3670         (elmo-multi-split-mark-alist): Removed.
3671         (elmo-folder-list-messages): Define.
3672         (elmo-folder-list-messages-internal): Removed.
3673
3674         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3675         local file messages.
3676         (elmo-folder-msgdb-create): Fixed read mark.
3677
3678 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3679
3680         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3681         if mark is nil.
3682
3683 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3684
3685         * elmo.el (elmo-folder-list-message-entities): Define as inline
3686         function.
3687         (elmo-folder-messages): Abolish.
3688
3689         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3690         folder.
3691         (elmo-folder-synchronize): Define.
3692         (elmo-message-entity): Define.
3693
3694 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3695
3696         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3697         elmo-imap4-session-select-mailbox.
3698
3699         * elmo.el (elmo-folder-move-messages): Don't display any message.
3700
3701         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3702         parsing.
3703         (elmo-imap4-session-check): Don't wait CHECK response.
3704         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3705
3706 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3707
3708         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3709
3710 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3711
3712         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3713         API.
3714         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3715
3716
3717         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3718         (elmo-folder-list-message-entities): Added argument in-msgdb and
3719         numbers.
3720         (elmo-folder-synchronize): Define as a method.
3721
3722         * elmo-nntp.el (elmo-folder-initialize): Don't use
3723         elmo-nntp-default-user if zero-length username is specified
3724         explicitly.
3725
3726 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3727
3728         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3729         server name in case with username.
3730         (XXX: this is ad-hoc fix against username includes "@", it
3731         should be solved fundamentally)
3732
3733 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3734
3735         * elmo-nntp.el (elmo-nntp-debug): New function.
3736         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3737         (elmo-network-authenticate-session): Hide auth-info from the log.
3738
3739         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3740         user name if it is equal to elmo-nntp-default-user.
3741
3742 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3743
3744         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3745         instead of shimbun-server-internal;
3746         Use shimbun-current-group instead of shimbun-current-group-internal.
3747         (elmo-folder-plugged-p): Use shimbun-server instead of
3748         shimbun-server-internal.
3749         (elmo-folder-set-plugged): Ditto.
3750         (elmo-net-port-info): Ditto.
3751         (elmo-folder-check): Ditto.
3752         (elmo-folder-expand-msgdb-path): Ditto.
3753         (elmo-folder-list-subfolders): Ditto.
3754
3755 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3756
3757         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3758         Convert field-name to lower case.
3759         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3760
3761 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3762
3763         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3764         `message' and `error' take format string.
3765
3766 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3767
3768         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3769
3770 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3771
3772         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3773         recursive call (can't byte compile on emacs 20.7).
3774
3775 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3776
3777         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3778         (elmo-folder-list-message-entities): New API.
3779         (elmo-message-entity): Ditto.
3780         (elmo-message-entity-parent): Ditto.
3781         (elmo-folder-do-each-message-entity): Ditto.
3782         (elmo-message-entity-number): Ditto.
3783         (elmo-message-entity-field): Ditto.
3784         (elmo-message-entity-set-field): Ditto.
3785         (elmo-folder-count-flags): Ditto.
3786         (elmo-folder-length): Ditto.
3787
3788         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3789         not.
3790
3791         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3792         (elmo-msgdb-count-marks): Abolish.
3793         (elmo-msgdb-make-entity): Ditto.
3794         (elmo-msgdb-do-each-entity): Ditto.
3795         (elmo-msgdb-message-entity): New inline function.
3796         (elmo-msgdb-message-entity-field): Ditto.
3797         (elmo-msgdb-message-entity-set-field): Ditto.
3798         (elmo-msgdb-make-message-entity): New function.
3799
3800 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3801
3802         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3803         to flag. (All other related portions are changed.)
3804         (elmo-folder-msgdb-create): Likewise.
3805         (elmo-generic-folder-append-messages): Use flag-table instead of
3806         seen-list.
3807         (elmo-folder-move-messages): Removed redundant process.
3808         (elmo-folder-synchronize): Likewise.
3809
3810         * elmo-msgdb.el (elmo-flag-table-get): New function.
3811         (elmo-flag-table-save): Fixed.
3812         (elmo-msgdb-length): New inline function.
3813         (elmo-msgdb-flag-table): New function.
3814         (elmo-msgdb-mark): Add optional argument new.
3815         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3816         (elmo-msgdb-seen-list): Ditto.
3817         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3818
3819
3820 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3821
3822         * elmo.el (elmo-message-set-mark): Abolish.
3823         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3824         (All related portions are changed.)
3825
3826         * elmo-msgdb.el (toplevel): Added comment.
3827         (elmo-load-msgdb): Added 4th element `path'.
3828         (elmo-msgdb-append): Follow the change above.
3829         (elmo-msgdb-clear): Ditto.
3830         (elmo-msgdb-delete-msgs): Ditto.
3831         (elmo-msgdb-get-path): New inline function.
3832         (elmo-msgdb-set-path): Ditto.
3833         (elmo-flag-table-filename): New variable.
3834         (elmo-flag-table-load): New function.
3835         (elmo-flag-table-set): Ditto.
3836         (elmo-flag-table-save): Ditto.
3837         (elmo-msgdb-get-field-value): Abolish.
3838         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3839
3840 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3841
3842         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3843         the folder has been deleted successfully.
3844         * elmo-imap4.el (elmo-folder-delete): Ditto.
3845         * elmo-archive.el (elmo-folder-delete): Ditto.
3846         * elmo-localdir.el (elmo-folder-delete): Ditto.
3847         * elmo-maildir.el (elmo-folder-delete): Ditto.
3848
3849 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3850
3851         * elmo-util.el (elmo-string-member-ignore-case): New function.
3852         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3853         (elmo-imap4-fetch-callback-1-subr): Likewise.
3854
3855 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3856
3857         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3858         the case of the name attribute "\Noselect".
3859
3860 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3861
3862         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3863
3864         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3865         flist, is not always a member of onum-alist.
3866
3867 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3868
3869         * elmo-version.el (elmo-version): Up to 2.11.3.
3870
3871 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3872
3873         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3874         copied from localdir's one.
3875
3876         * elmo-pipe.el (elmo-folder-rename): New method, rename
3877         destination folder with leaving source folder as it is.
3878
3879 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3880
3881         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3882         replace-regexp.
3883
3884 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3885
3886         * elmo-version.el (elmo-version): Up to 2.11.2.
3887
3888 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3889
3890         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3891         shimbun-open in case of "@".
3892         (elmo-folder-open-internal): Cope with shimbun = nil case.
3893         (elmo-folder-plugged-p): Ditto.
3894         (elmo-folder-list-subfolders): Make list for "@/" group.
3895
3896 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3897
3898         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3899         mailbox (e.g. for %~/something).
3900
3901 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3902
3903         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3904         Replace nested conditional with guard clauses.
3905
3906 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3907
3908         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3909         error [wl:11327].
3910
3911         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3912         print-depth.
3913
3914 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3915
3916         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3917         Replace nested conditional with guard clauses.
3918
3919 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3920
3921         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3922         (elmo-passwd-alist-save): Ditto.
3923         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3924
3925 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3926
3927         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3928         dir-name only if it is absolute path.
3929         (TODO: distinguish +/something and +something)
3930
3931 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3932
3933         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3934         path for "+~/something".
3935
3936 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3937
3938         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3939         as non-directory, cause error before rename-file.
3940         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3941         apropriately, mimic localdir's one.
3942         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3943
3944 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3945
3946         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3947
3948 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3949
3950         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3951
3952         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3953         
3954         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3955         is included in the global-mark or not.
3956
3957 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3958
3959         * utf7.el (toplevel): Avoid error when the function
3960         find-coding-system does not exist.
3961
3962 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3963
3964         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3965         cache even if the folder is plugged.
3966         (elmo-nntp-search-primitive): Do nothing when body search is
3967         invoked (although it is not used by the change above).
3968         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3969
3970 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3971
3972         * elmo-version.el (elmo-version): Up to 2.11.1.
3973
3974 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3975
3976         * elmo-archive.el: Specify charset.
3977
3978 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3979
3980         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3981         process buffer lives or not.
3982
3983         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3984         while flushing queues (It causes infinite loop).
3985
3986 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
3987
3988         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3989
3990 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
3991
3992         * utf7.el (toplevel): Check the ucs features dynamically.
3993         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
3994
3995         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3996         folder is creatabe or not if it already exists.
3997
3998 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
3999
4000         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4001
4002         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4003
4004         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4005         (elmo-imap4-read-response): Take care of garbage response.
4006
4007 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4008
4009         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4010         just return nil instead of error.
4011
4012 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4013
4014         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4015         search-key is "body".
4016
4017 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4018
4019         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4020         of elmo-string-matched-assoc to use match-data.
4021         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4022
4023 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4024
4025         * elmo-split.el (elmo-split->): New function.
4026         (elmo-split-<): Ditto.
4027
4028 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4029
4030         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4031         workaround for invalid message-id.
4032
4033 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4034
4035         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4036         return normal pop3 session or pop3 biff session.
4037
4038 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4039
4040         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4041         info part to the cur files when the new files already have it.
4042         (Adviced by Jared Rhine <jared@wordzoo.com>)
4043
4044 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4045
4046         * elmo-split.el (elmo-split-default-action): New variable.
4047         (elmo-split-subr): Use it if all other conditions are passed.
4048         Extend `fname' and rename it as `action'. (implemented
4049         Teranishi-san's idea in [wl:10800])
4050
4051 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4052
4053         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4054         * elmo-util.el: Ditto.
4055
4056 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4057
4058         * elmo.el (elmo-message-accessible-p): Renamed from
4059         elmo-message-cached-p and rewritten.
4060
4061 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4062
4063         * elmo.el (elmo-folder-list-flagged): New generic function.
4064         (elmo-folder-list-importants): New implementation.
4065         (elmo-folder-list-answereds): Ditto.
4066         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4067         Added 'digest'.
4068         (elmo-message-cached-p): New function.
4069         (elmo-message-set-flag): Ditto (no content).
4070         (elmo-message-unset-flag): Ditto.
4071         (elmo-folder-list-messages-mark-match): Abolish.
4072
4073         * elmo-util.el (elmo-regexp-opt): New function.
4074
4075         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4076         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4077         Added 'digest'.
4078         (elmo-msgdb-list-flagged): New function.
4079
4080         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4081         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4082         Added 'digest'.
4083
4084         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4085
4086 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4087
4088         * elmo-version.el (elmo-version): Up to 2.11.0.
4089
4090 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4091
4092         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4093         `elmo-file-cache-exists-p'; use proper mark that depends on
4094         `use-cache'.
4095         (elmo-msgdb-unset-flag): Ditto.
4096         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4097
4098         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4099         with 4th argument `use-cache'.
4100
4101 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4102
4103         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4104         (elmo-folder-mark-as-important): Ditto.
4105         (elmo-folder-unmark-read): Ditto.
4106         (elmo-folder-mark-as-read): Ditto.
4107         (elmo-folder-unmark-answered): Ditto.
4108         (elmo-folder-mark-as-answered): Ditto.
4109
4110         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4111         message status.
4112         (elmo-msgdb-mark): Likewise.
4113         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4114         (elmo-msgdb-unset-flag): Likewise.
4115
4116         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4117
4118 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4119
4120         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4121         `last:' filter.
4122
4123 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4124
4125         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4126         set spool-length to 0.
4127
4128 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4129
4130         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4131         (elmo-dop-queue-flush): Fixed last change.
4132
4133 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4134
4135         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4136         if require-msgdb slot is nil.
4137         (elmo-folder-list-importants): Likewise.
4138
4139 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4140
4141         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4142         mark is changed.
4143
4144         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4145         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4146         is changed.
4147
4148 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4149
4150         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4151
4152 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4153
4154         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4155
4156         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4157
4158 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4159
4160         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4161         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4162
4163 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4164
4165         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4166         the problem reported by Sean Rima [wl-en:180].
4167
4168 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4169
4170         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4171
4172         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4173
4174         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4175
4176         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4177
4178         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4179
4180         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4181
4182         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4183
4184 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4185
4186         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4187         status number.
4188
4189 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4190
4191         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4192         (elmo-folder-mark-as-read): Follow the API change.
4193         (elmo-message-set-cached): New function.
4194
4195         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4196
4197         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4198
4199         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4200         (elmo-folder-mark-as-important): Ditto.
4201         (elmo-folder-unmark-read): Ditto.
4202         (elmo-folder-mark-as-read): Ditto.
4203         (elmo-folder-unmark-answered): Ditto.
4204         (elmo-folder-mark-as-answered): Ditto.
4205
4206         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4207         (elmo-folder-unmark-important): Ditto.
4208         (elmo-folder-mark-as-read): Ditto.
4209         (elmo-folder-unmark-read): Ditto.
4210         (elmo-folder-mark-as-answered): Ditto.
4211         (elmo-folder-unmark-answered): Ditto.
4212
4213         * elmo-mark.el (toplevel): Removed some mark method definitions.
4214
4215         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4216         (elmo-map-folder-mark-as-answered): Ditto.
4217         (elmo-folder-unmark-important): Add :before qualifier.
4218         (elmo-folder-mark-as-important): Ditto.
4219         (elmo-folder-unmark-read): Ditto.
4220         (elmo-folder-mark-as-read): Ditto.
4221         (elmo-folder-unmark-answered): Define.
4222         (elmo-folder-mark-as-answered): Ditto.
4223
4224         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4225         (elmo-map-folder-unmark-answered): Ditto.
4226
4227         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4228
4229         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4230         (elmo-folder-mark-as-important): Ditto.
4231         (elmo-folder-unmark-read): Ditto.
4232         (elmo-folder-mark-as-read): Ditto.
4233         (elmo-folder-unmark-answered): Ditto.
4234         (elmo-folder-mark-as-answered): Ditto.
4235
4236         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4237         `mark'; evaluate mark condition.
4238         (elmo-msgdb-match-condition-internal): New function.
4239         (elmo-msgdb-match-condition): Call it; changed argument.
4240
4241         * elmo.el (elmo-folder-search): Follow the API change on
4242         `elmo-msgdb-match-condition'.
4243
4244 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4245
4246         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4247         original mark is non-nil.
4248
4249 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4250
4251         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4252         (elmo-map-folder-list-answereds): New method.
4253         (elmo-folder-list-unreads): Add :around qualifier.
4254         (elmo-folder-list-importants): Ditto.
4255         (elmo-folder-list-answereds): Ditto.
4256
4257 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4258
4259         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4260
4261         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4262         method if msgdb is not required.
4263         (elmo-filter-folder-list-importants): Don't treat global-mark.
4264
4265         * elmo.el (elmo-folder-list-importants): Ditto.
4266
4267         * elmo-net.el (elmo-folder-list-importants): Ditto.
4268
4269         * elmo-map.el (elmo-folder-list-importants): Ditto.
4270
4271         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4272
4273         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4274         (elmo-imap4-folder-list-any-plugged): New function.
4275         (elmo-imap4-search-internal-primitive): Use it.
4276
4277         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4278         only when require-msgdb slot is non-nil.
4279         (elmo-folder-close): Clear target folder's msgdb.
4280
4281 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4282
4283         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4284         (elmo-pop3-msgdb-create-by-header): Ditto.
4285         (elmo-pop3-msgdb-create-message): Ditto.
4286
4287         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4288
4289         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4290
4291         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4292
4293         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4294         (elmo-folder-msgdb-create): Ditto.
4295         (elmo-nntp-folder-msgdb-create): Ditto.
4296         (elmo-nntp-msgdb-create-by-header): Ditto.
4297         (elmo-nntp-msgdb-create-message): Ditto.
4298         (elmo-folder-list-unreads): Define.
4299
4300         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4301         (elmo-folder-append-messages): Ditto.
4302         (elmo-folder-list-unreads): Define.
4303         (elmo-folder-list-importants): Ditto.
4304         (elmo-folder-list-answereds): Ditto.
4305
4306         * elmo-net.el (elmo-folder-list-unreads): Define.
4307         (elmo-folder-list-importants): Ditto.
4308         (elmo-folder-list-answereds): Ditto.
4309         (elmo-folder-list-answereds-plugged): Ditto.
4310         (elmo-folder-msgdb-create): Follow the API change.
4311         (elmo-folder-msgdb-create-unplugged): Ditto.
4312         (elmo-folder-unmark-answered): Define.
4313         (elmo-folder-mark-as-answered-unplugged): Ditto.
4314         (elmo-folder-unmark-answered-unplugged): Ditto.
4315
4316         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4317         (elmo-msgdb-unread-uncached-mark): Ditto.
4318         (elmo-msgdb-unread-cached-mark): Ditto.
4319         (elmo-msgdb-read-uncached-mark): Ditto.
4320         (elmo-msgdb-answered-cached-mark): Ditto.
4321         (elmo-msgdb-answered-uncached-mark): Ditto.
4322         (elmo-msgdb-important-mark): Ditto.
4323         (elmo-msgdb-set-mark): Rewrite.
4324         (elmo-msgdb-count-marks): Rewrite.
4325         (elmo-msgdb-mark-alist-set): Abolish.
4326         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4327         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4328
4329         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4330         (elmo-folder-close): Define.
4331         (elmo-folder-msgdb-create): Follow the API change.
4332         (elmo-folder-list-unreads): Rewrite.
4333         (elmo-folder-mark-as-important): Ditto.
4334         (elmo-folder-unmark-important): Ditto.
4335         (elmo-folder-mark-as-read): Ditto.
4336         (elmo-folder-unmark-read): Ditto.
4337         (elmo-folder-mark-as-answered): Define.
4338         (elmo-folder-unmark-answered): Ditto.
4339
4340         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4341         (elmo-folder-append-messages): Ditto.
4342
4343         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4344
4345         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4346         (elmo-folder-list-importants): Ditto.
4347
4348         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4349         (elmo-folder-append-messages): Ditto.
4350
4351         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4352         change.
4353         (elmo-folder-msgdb-create-plugged): Ditto.
4354         (elmo-folder-append-messages): Ditto.
4355         (elmo-folder-list-answereds-plugged): Define.
4356         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4357         (elmo-folder-unmark-answered-plugged): Define.
4358         (elmo-folder-mark-as-answered-plugged): Ditto.
4359         (elmo-folder-search-requires-msgdb-p): Ditto.
4360
4361         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4362         (elmo-folder-initialize): Set it.
4363         (elmo-folder-msgdb): Define.
4364         (elmo-folder-check): Call elmo-folder-synchronize.
4365         (elmo-folder-close): Define.
4366         (elmo-folder-commit): Ditto.
4367         (elmo-folder-msgdb-create): Rewrite.
4368         (elmo-folder-list-unreads): Ditto.
4369         (elmo-folder-list-importants): Ditto.
4370         (elmo-folder-mark-as-read): Ditto.
4371         (elmo-folder-unmark-read): Ditto.
4372         (elmo-folder-mark-as-important): Ditto.
4373         (elmo-folder-unmark-important): Ditto.
4374         (elmo-folder-mark-as-answered): Define.
4375         (elmo-folder-unmark-answered): Ditto.
4376
4377         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4378         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4379         (elmo-dop-queue-method-name-alist): Likewise.
4380         (elmo-folder-mark-as-answered-dop): New inline function.
4381         (elmo-folder-unmark-answered-dop): Ditto.
4382         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4383
4384         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4385         (elmo-folder-msgdb-create): Ditto.
4386         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4387         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4388         (elmo-archive-parse-mmdf): Ditto.
4389
4390         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4391         (elmo-folder-list-unreads-internal): Ditto.
4392
4393         * elmo.el (elmo-folder-msgdb): Define as generic function.
4394         (elmo-folder-list-messages): Added argument `in-msgdb'.
4395         (elmo-folder-list-unreads): Define as generic function.
4396         (elmo-folder-list-importants): Ditto.
4397         (elmo-folder-list-answereds): Ditto.
4398         (elmo-folder-list-messages-with-global-mark): New function.
4399         (elmo-folder-msgdb-create): Removed mark arguments.
4400         (elmo-folder-unmark-answered): New generic function.
4401         (elmo-folder-mark-as-answered): Ditto.
4402         (elmo-folder-append-messages): Removed argunment `unread-marks'
4403         (elmo-folder-list-unreads-internal): Abolish.
4404         (elmo-folder-list-importants-internal): Ditto.
4405         (elmo-folder-search-requires-msgdb-p): New generic function.
4406         (elmo-folder-search-requires-msgdb-p-internal): New function.
4407         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4408         elmo-msgdb-load.
4409         (elmo-folder-search-fast): Added key 'mark'.
4410         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4411         instead of unread-marks argument.
4412         (elmo-folder-move-messages): Removed argunment `unread-marks'
4413         (elmo-folder-unmark-important): Define.
4414         (elmo-folder-mark-as-important): Ditto.
4415         (elmo-folder-unmark-read): Ditto.
4416         (elmo-folder-mark-as-read): Ditto.
4417         (elmo-folder-unmark-answered): Ditto.
4418         (elmo-folder-mark-as-answered): Ditto.
4419         (elmo-folder-replace-marks): Abolish.
4420         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4421         duplicates.
4422         (elmo-folder-synchronize): Removed mark arguments;
4423         return crosspost only number.
4424
4425 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4426
4427         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4428         Remove redundunt connectivity check.
4429
4430 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4431
4432         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4433         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4434
4435 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4436
4437         * pldap.el (ldap-decode-string): Return string as-is if
4438         `ldap-coding-system' is nil.
4439         (ldap-encode-string): Ditto.
4440         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4441         (ldap-default-host): Fixed docstring.
4442
4443 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4444
4445         * elmo-util.el (elmo-warning): Define as a macro which uses
4446         `display-warning' if it is defined as a function.
4447
4448         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4449         (elmo-split-equal): Use it.
4450         (elmo-split-match): Ditto.
4451         (elmo-split-message-entity): New buffer-local variable.
4452         (elmo-split-subr): Set it.
4453
4454         * elmo-version.el (elmo-version): Up to 2.9.15.
4455
4456 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4457
4458         * elmo-imap4.el (elmo-network-initialize-session):
4459         Check capability after starttls.
4460
4461 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4462
4463         * elmo-util.el (elmo-list-delete): Added optional argument
4464         DELETE-FUNCTION.
4465
4466         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4467
4468         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4469
4470         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4471
4472         * elmo-imap4.el (elmo-folder-initialize): Don't use
4473         elmo-imap4-default-mailbox.
4474
4475 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4476
4477         * elmo-split.el (toplevel): Use `product-provide'.
4478         (elmo-split): Checkdoc.
4479
4480 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4481
4482         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4483         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4484         the function `elmo-imap4-debug-1'.
4485
4486 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4487
4488         * elmo-split.el (elmo-split): Moved to run hooks and to show
4489         message from elmo-split-subr.
4490         (elmo-split-subr): Follow the change above.
4491
4492         * elmo-split.el (elmo-split-subr): New function (renamed from
4493         elmo-split-subr).
4494         (elmo-split): Changed to call elmo-split-subr by element of
4495         elmo-split-folder.
4496         (elmo-split-folder): Changed customization type to choice.
4497
4498 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4499
4500         * elmo-split.el (elmo-split-and): Fixed condition.
4501
4502 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4503
4504         * elmo-split.el: New file.
4505         (elmo-split): Fixed logic.
4506         Display "Test:" instead of "Folder:" when reharsal.
4507
4508         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4509         explicitly.
4510
4511         * elmo-version.el (elmo-version): Up to 2.9.14.
4512
4513         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4514         wl-expand-newtext).
4515
4516 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4517
4518         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4519         message with no message-id field.
4520
4521 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4522
4523         * elmo-version.el (elmo-version): Up to 2.9.13.
4524
4525         * elmo-dop.el (elmo-folder-status-dop): Fix.
4526
4527 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4528
4529         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4530
4531         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4532         changing default value of default-mime-charset.
4533         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4534
4535         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4536
4537         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4538         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4539         instead of elmo-dop-queue-method-name-alist to check merging queue.
4540         (elmo-folder-delete-messages-dop): Delete from queue if negative
4541         message number.
4542         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4543         file is already removed.
4544
4545 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4546
4547         * elmo-vars.el: Bind colon keywords for old Emacsen.
4548
4549 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4550
4551         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4552         against non-exsisting charset.
4553
4554 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4555
4556         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4557         Use eword-decode-and-unfold-unstructured-field-body.
4558
4559         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4560         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4561         exists to decode raw subject string.
4562         (toplevel): Require 'mime.
4563
4564         * elmo-version.el (elmo-version): Up to 2.9.12.
4565
4566 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4567
4568         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4569         (elmo-msgdb-set-mark): Ditto.
4570
4571         * elmo-version.el (elmo-version): Up to 2.9.11.
4572
4573 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4574
4575         * elmo-util.el (elmo-delete-match-files): New function.
4576
4577         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4578         instead of elmo-delete-directory.
4579
4580         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4581         elmo-hash-minimun-size as 63.
4582
4583         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4584         elmo-diff-unread is nil.
4585
4586         * elmo-imap4.el (elmo-folder-open): Fix.
4587
4588         * elmo.el (elmo-message-mark): Rewrite.
4589         (elmo-message-field): Ditto.
4590         (elmo-message-set-mark): Ditto.
4591         (elmo-folder-replace-marks): New function.
4592         (elmo-generic-folder-append-msgdb): Removed third argument for
4593         elmo-msgdb-append.
4594         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4595         (elmo-msgdb-load): New implementation.
4596
4597         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4598
4599         * elmo-util.el (elmo-list-insert): New implementation.
4600
4601         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4602         argument for elmo-msgdb-append.
4603         
4604
4605         * elmo-msgdb.el (elmo-load-msgdb): New function.
4606         (elmo-make-msgdb): Ditto.
4607         (elmo-msgdb-get-index): New inline function.
4608         (elmo-msgdb-set-index): Ditto.
4609         (elmo-msgdb-get-entity-hashtb): Ditto.
4610         (elmo-msgdb-get-mark-hashtb): Ditto.
4611         (elmo-msgdb-get-mark): Ditto.
4612         (elmo-msgdb-set-mark): Ditto.
4613         (elmo-msgdb-count-marks): Ditto.
4614         (elmo-msgdb-get-number): Ditto.
4615         (elmo-msgdb-get-field): Ditto.
4616         (elmo-msgdb-seen-list): Ditto.
4617         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4618         (elmo-msgdb-delete-msgs): Follow the changes above.
4619         (elmo-msgdb-overview-get-entity): Ditto.
4620         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4621         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4622         and rewritten.
4623         (elmo-msgdb-make-index): Likewise.
4624         (elmo-msgdb-append): Removed third argument.
4625         (elmo-msgdb-clear): Clear index as nil.
4626         (elmo-folder-set-info-hashtb): Removed.
4627         (elmo-folder-set-info-max-by-numdb): Ditto.
4628         (elmo-folder-info-make-hashtb): Ditto.
4629
4630         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4631
4632         * elmo-map.el (elmo-folder-pack-number): Ditto.
4633
4634 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4635
4636         * elmo-version.el (elmo-version): Up to 2.9.10.
4637
4638         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4639
4640         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4641
4642 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4643
4644         * elmo-utils.el (elmo-make-directory): Add option.
4645         Default file mode is 700.
4646
4647 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4648
4649         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4650
4651 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4652
4653         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4654         mime-charset.
4655
4656         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4657         and "smaller".
4658
4659 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4660
4661         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4662         (elmo-shimbun-folder-entity-hash): New function.
4663         (elmo-shimbun-folder-shimbun-header): Ditto.
4664         (elmo-shimbun-entity-to-header): Ditto.
4665         (elmo-shimbun-msgdb-to-headers): Removed.
4666         (elmo-shimbun-folder-setup): Ditto.
4667         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4668         for hash key.
4669         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4670         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4671         Removed useless local bind.
4672         (elmo-folder-open-internal): Don't call
4673         `elmo-shimbun-folder-setup'.
4674         (elmo-folder-close-internal): Clear entity-hash slot.
4675         (elmo-folder-clear): Ditto.
4676         (elmo-shimbun-msgdb-create-entity): Use
4677         `elmo-shimbun-folder-shimbun-header'.
4678         (elmo-map-message-fetch): Ditto.
4679         (elmo-shimbun-update-overview): Use overview entity instead of
4680         shimbun header to lookup id by references.
4681         (elmo-map-folder-list-message-locations): Use not only headers but
4682         also overviews to list locations.
4683
4684 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4685
4686         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4687         msgdb path.
4688
4689         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4690
4691 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4692
4693         * elmo-util.el (elmo-read-search-condition-internal): Give default
4694         value for date.
4695
4696 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4697
4698         * elmo-util.el (elmo-condition-parse-search-value): Accept
4699         YYYY-MM-DD format to search.
4700         * elmo-date.el (elmo-date-get-datevec): Likewise.
4701
4702 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4703
4704         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4705         debugging code.
4706
4707 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4708
4709         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4710         from t.
4711
4712         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4713
4714         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4715         case from `elmo-folder-exists-p'.
4716         (elmo-folder-exists-p): Removed.
4717         (elmo-folder-creatable-p) Ditto.
4718
4719         * elmo-net.el (elmo-folder-create): Defined.
4720         (elmo-folder-create-unplugged): New function.
4721         (elmo-folder-exists-p): Changed default value to nil from t.
4722
4723         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4724         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4725
4726         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4727         `elmo-create-folder-dop' and append queue
4728         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4729         (elmo-folder-create-dop-delayed): New function.
4730
4731         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4732
4733         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4734
4735         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4736         (elmo-folder-writable-p) : Ditto.
4737
4738         * elmo-version.el (elmo-version): Up to 2.9.9.
4739
4740 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4741
4742         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4743         `elmo-message-use-cache-p' returns nil.
4744         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4745         (ignore cache file and refer the substance in local folders)
4746
4747 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4748
4749         * elmo-version.el (elmo-version): Up to 2.9.8.
4750
4751 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4752
4753         * elmo-version.el (elmo-version): Up to 2.9.7.
4754
4755         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4756
4757 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4758
4759         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4760
4761 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4762
4763         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4764         from --early.
4765         (elmo-map-folder-list-message-locations): Reverse location list.
4766
4767 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4768
4769         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4770
4771 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4772
4773         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4774         as a key.
4775         (elmo-nntp-folder-list-subfolders): Follow the change above.
4776
4777 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4778
4779         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4780         name if authentication type is specified.
4781
4782 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4783
4784         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4785         variable.
4786         (elmo-default-nntp-stream-type): Ditto.
4787         (elmo-default-pop3-stream-type): Ditto.
4788
4789 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4790
4791         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4792
4793 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4794
4795         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4796         elmo-vars.el.
4797         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4798
4799         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4800         (elmo-maildir-folder-path): Ditto.
4801         (elmo-maildir-list): Ditto (abolished).
4802
4803 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4804
4805         * elmo-version.el (elmo-version): Up to 2.9.6.
4806
4807 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4808
4809         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4810         (elmo-maildir-folder-path): Ditto.
4811         (elmo-msgdb-directory): Ditto.
4812         (elmo-passwd-life-time): Ditto.
4813         (elmo-msgdb-extra-fields): Ditto.
4814         (elmo-enable-disconnected-operation): Ditto.
4815
4816 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4817
4818         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4819         other choices.
4820         (elmo-pop3-default-authenticate-type): Ditto.
4821
4822 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4823
4824         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4825         choices for custom.
4826         (elmo-pop3-default-authenticate-type): Ditto.
4827
4828 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4829
4830         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4831         mailbox to new-folder.
4832
4833 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4834
4835         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4836         less than new, set new as unread.
4837
4838         * elmo-util.el (elmo-string): Don't put text-property if nil.
4839
4840 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4841
4842         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4843         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4844
4845 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4846
4847         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4848         is nil on `completing-read'.
4849
4850 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4851
4852         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4853         for namespace part.
4854         (elmo-imap4-parse-namespace-subr): Ditto.
4855         (elmo-folder-list-subfolders): Append a delimiter when the specified
4856         folder path is a root with namespace and does not end with delimiter.
4857
4858 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4859
4860         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4861         was used.
4862
4863 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4864
4865         * elmo-util.el (elmo-save-buffer): The first argument of message
4866         is a format control string.
4867
4868 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4869
4870         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4871         `elmo-folder-diff').
4872         (elmo-diff-unread): Likewise.
4873
4874 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4875
4876         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4877         is t on `completing-read'.
4878
4879 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4880
4881         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4882         method of target folder with self mark-alist if MARK-ALIST is nil.
4883
4884 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4885
4886         * elmo-version.el (elmo-version): Up to 2.9.5.
4887
4888 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4889
4890         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4891         (elmo-dop-merge-funcs): Remove.
4892
4893 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4894
4895         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4896         Return t if PATH is directory, too.
4897         Use `dolist' instead of while loop.
4898
4899 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4900
4901         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4902         is deleted.
4903
4904 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4905
4906         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4907         return value to t.
4908         (elmo-folder-list-messages-unplugged): Return t if
4909         elmo-enable-disconnected-operation is nil.
4910
4911         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4912         `elmo-folder-list-messages-internal'.
4913
4914 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4915
4916         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4917         Change to looking-at `[23][0-9]+'.
4918         (elmo-network-initialize-session): Use 'error-msg'
4919         * elmo-net.el (elmo-network-open-session): Set unplugged
4920         if elmo-network-initialize-session returns 'elmo-open-err.
4921
4922 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4923
4924         * elmo-version.el (elmo-version): Up to 2.9.4.
4925
4926 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4927
4928         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4929         `elmo-folder-list-messages-internal'.
4930
4931 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4932
4933         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4934         (elmo-message-match-condition): New method.
4935         (elmo-folder-search-fast): New inline function.
4936         (elmo-msgdb-search): Removed.
4937
4938         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4939         target folder if it is unplugged.
4940         (elmo-folder-list-messages-internal): Return t if target folder is
4941         unplugged and itself is persistent; In this case, use list be
4942         searched already.
4943
4944         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4945         (elmo-msgdb-search-internal-primitive): Ditto.
4946         (elmo-msgdb-match-condition): New function.
4947         (elmo-msgdb-match-condition-primitive): Ditto.
4948
4949         * elmo-util.el (elmo-filter-condition-p): New macro.
4950
4951         * elmo-cache.el (elmo-folder-search): Removed.
4952
4953         * elmo-localdir.el (elmo-folder-search): Ditto.
4954
4955         * elmo-maildir.el (elmo-folder-search): Ditto.
4956
4957         * elmo-mark.el (elmo-folder-search): Ditto.
4958
4959         * elmo-nmz.el (elmo-folder-search): Ditto.
4960
4961         * elmo-sendlog.el (elmo-folder-search): Ditto.
4962
4963         * elmo-shimbun.el (elmo-folder-search): Ditto.
4964
4965         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4966         if folder is unplugged.
4967
4968         * elmo-nntp.el (elmo-folder-search): Likewise.
4969         (elmo-nntp-search-internal): New function.
4970
4971         * elmo-version.el (elmo-version): Up to 2.9.3.
4972
4973 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4974
4975         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4976
4977 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4978
4979         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4980
4981 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4982
4983         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4984
4985 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
4986
4987         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4988         (elmo-map-folder-list-message-locations): Do drive letter conversion
4989         on Windows environment.
4990         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4991         (elmo-map-message-fetch): Ditto.
4992
4993 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
4994
4995         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4996         (elmo-network-initialize-session): Ditto.
4997
4998 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4999
5000         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5001
5002         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5003
5004         * elmo-util.el (elmo-progress-clear): Ditto.
5005
5006         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5007         `DD-Mon-YYYY' type date.
5008
5009 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5010
5011         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5012         `elmo-date-make-sortable-string' instead of
5013         `timezone-make-date-sortable'.
5014
5015         * elmo-date.el (elmo-date-make-sortable-string): Use
5016         `timezone-make-time-string'.
5017
5018 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5019
5020         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5021
5022         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5023         `since'; Fix timezone.
5024
5025         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5026
5027         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5028
5029 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5030
5031         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5032
5033 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5034
5035         * elmo.el (elmo-generic-folder-append-messages): Make
5036         fetch-strategy with `use-cache' as 'maybe. Check return value of
5037         `elmo-message-fetch'.
5038         (elmo-message-fetch): Return return value of
5039         `elmo-message-fetch-with-cache-process'.
5040         (elmo-message-fetch-with-cache-process): Return non-nil if
5041         fetching was succeed. Load cache when fetching was failed and
5042         fetch-strategy-use-cache is 'maybe.
5043
5044         * elmo-util.el (elmo-file-cache-load): New function.
5045
5046         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5047         defun.
5048
5049         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5050         non-nil if fetching was succeed.
5051
5052         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5053
5054         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5055
5056         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5057         (elmo-message-fetch-with-cache-process): Likwise.
5058
5059         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5060
5061         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5062
5063         * elmo-version.el (elmo-version): Up to 2.9.2.
5064
5065 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5066
5067         * elmo.el (elmo-folder-delete): Delete msgdb path.
5068
5069         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5070
5071         * elmo-maildir.el (elmo-folder-delete): Ditto.
5072
5073         * elmo-localdir.el (elmo-folder-delete): Ditto.
5074
5075         * elmo-imap4.el (elmo-folder-delete): Ditto.
5076
5077 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5078
5079         * elmo.el (luna-define-class): Added `biff' slot.
5080
5081         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5082         (elmo-pop3-debug-inhibit-logging): Abolished.
5083         (elmo-network-close-session): Eliminated needless let.
5084         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5085         (elmo-pop3-send-command): Added `no-log' argument.
5086         (elmo-pop3-process-filter): Use `with-current-buffer'.
5087         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5088         if login failure.
5089         (elmo-pop3-auth-apop): Likewise.
5090         (elmo-network-authenticate-session): Likewise.
5091
5092         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5093         if biff folder.
5094
5095         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5096         string to determine protocol.
5097         (elmo-network-session-name-prefix): Abolished.
5098         (elmo-network-session-cache-key): Follow the change above.
5099         (elmo-network-open-session): Ditto.
5100
5101         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5102         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5103
5104         * elmo-version.el (elmo-version): Up to 2.9.1.
5105
5106         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5107         unmatch condition checking.
5108
5109         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5110         condition.
5111
5112 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5113
5114         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5115
5116 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5117
5118         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5119         test for while loop to execute at least one SEARCH command.
5120
5121 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5122
5123         * elmo-version.el (elmo-version): Up to 2.9.0.
5124
5125 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5126
5127         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5128         (elmo-archive-folder-path): Define.
5129         (elmo-folder-initialize): Setup `dir-name' slot.
5130         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5131         Use `dir-name' as prefix of each subfolders.
5132         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5133
5134 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5135
5136         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5137         (elmo-pipe-folder-list-target-messages): New internal function.
5138         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5139         `killed-list'.
5140         (elmo-pipe-folder-copied-list-load): New function.
5141         (elmo-pipe-folder-copied-list-save): Ditto.
5142         (elmo-folder-open-internal): Follow the change above.
5143         (elmo-folder-status): Fixed for copy.
5144
5145 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5146
5147         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5148
5149 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5150
5151         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5152         elmo-copy-file instead of elmo-add-name-to-file.
5153
5154         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5155
5156         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5157         "file://..." index.
5158
5159         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5160         of accept-process-output as 1.
5161         (elmo-pop3-read-contents): Ditto.
5162         (elmo-pop3-read-body): Ditto.
5163
5164 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5165
5166         * elmo-version.el (product-version-as-string): Remove define.
5167
5168 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5169
5170         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5171         (elmo-imap4-copy-messages): Chop number set using
5172         `elmo-imap4-number-set-chop-length'.
5173         (elmo-imap4-set-flag): Ditto.
5174         (elmo-imap4-search-internal-primitive): Ditto.
5175
5176 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5177
5178         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5179         `elmo-folder-make-temp-dir'
5180
5181         * elmo-vars.el (elmo-cache-directory): New variable.
5182         (elmo-cache-dir): Abolished.
5183         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5184
5185         * elmo-version.el (elmo-version): Up to 2.7.7.
5186
5187 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5188
5189         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5190         defcustom; Set default value as t.
5191
5192 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5193
5194         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5195         (ldap-search-program-arguments): Changed default value.
5196         (ldap-search-basic): Accept exit status 4.
5197         (ldap/field-body): Parse options.
5198         (ldap/collect-field): Ditto.
5199         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5200
5201         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5202         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5203         (elmo-imap4-accept-ok): Ditto.
5204         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5205         'notify-bye, only BYE error is reported.
5206         (elmo-folder-exists-p-plugged): Set no-error argument of
5207         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5208
5209         * elmo.el (elmo-imap4-bye-error): Changed message.
5210
5211         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5212         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5213         queues (It causes infinite loop).
5214
5215 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5216
5217         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5218         (RECENT UNSEEN MESSAGES) extension.
5219
5220 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5221
5222         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5223         Check number of overview fields.
5224
5225 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5226
5227         * elmo.el (elmo-folder-confirm-appends): Changed message.
5228         (elmo-folder-confirm-appends): Ditto.
5229
5230         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5231         `with-temp-buffer'.
5232         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5233
5234 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5235
5236         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5237         of elmo-folder-update-threshold is nil, which can be set by
5238         wl-summary-update-confirm-threshold.
5239
5240 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5241
5242         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5243         (elmo-nmz-index-alias-alist): Ditto.
5244         (elmo-map-folder-list-message-locations): Follow the change above.
5245
5246 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5247
5248         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5249
5250         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5251
5252         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5253
5254         * elmo-util.el (elmo-read): Ditto.
5255         (elmo-display-error): Ditto.
5256
5257         * elmo-vars.el (elmo-date-match): Ditto.
5258
5259         * pldap.el (ldap-coding-system): Ditto.
5260
5261         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5262         `elmo-inhibit-number-mapping' as nil.
5263
5264 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5265
5266         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5267         space delimiter for list response.
5268
5269 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5270
5271         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5272
5273 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5274
5275         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5276         (elmo-map-message-fetch): Fix.
5277         * elmo-map.el (elmo-folder-status): Fix for killed.
5278
5279 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5280
5281         * elmo-sendlog.el: New file.
5282         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5283
5284 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5285
5286         * acap.el (acap-logging-out): New buffer local variable.
5287         (acap-close): Set it.
5288         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5289         an error.
5290
5291 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5292
5293         * acap.el (acap-response-bye-p): New function.
5294         (acap-response-bye-message): Ditto.
5295         (acap-wait-for-response): If bye response is received, cause an error.
5296         (acap-parse-response): Make bye response when 'Bye' is received.
5297
5298 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5299
5300         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5301
5302 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5303
5304         * elmo-util.el (elmo-copy-file): Added argument
5305         `ok-if-already-exists'.
5306         (elmo-copy-file): Fixed typo.
5307
5308 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5309
5310         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5311
5312 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5313
5314         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5315
5316 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5317
5318         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5319         to killed-list.
5320
5321 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5322
5323         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5324         (elmo-folder-initialize): Fix for `copy'.
5325         (elmo-pipe-drain): Ditto.
5326         (elmo-folder-open-internal): Ditto.
5327         (elmo-folder-newsgroups): Fix.
5328
5329 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5330
5331         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5332         for each message.
5333
5334         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5335         recent value is returned from imap folder.
5336
5337         * elmo.el (elmo-folder-newsgroups): New generic function.
5338
5339         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5340         (elmo-folder-initialize): Set it.
5341         (elmo-folder-expand-msgdb-path): Use it.
5342         (elmo-folder-newsgroups): Define.
5343
5344         * elmo-filter.el (elmo-folder-newsgroups): Define.
5345
5346         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5347
5348         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5349
5350         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5351
5352 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5353
5354         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5355         user option.
5356         (elmo-shimbun-header-extra-field): New inline function.
5357         (elmo-shimbun-header-set-extra-field): Ditto.
5358         (elmo-shimbun-folder-header-hash-setup): Ditto.
5359         (elmo-shimbun-update-overview): Ditto.
5360         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5361         (elmo-shimbun-folder-setup): Use
5362         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5363         (elmo-shimbun-get-headers): Ditto.
5364         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5365         Insert `X-Shimbun-Id:' header if extra field is set.
5366         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5367         field's value instead of `shimbun-header-id'.
5368
5369         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5370         inline function.
5371         (elmo-msgdb-overview-entity-set-date): Ditto.
5372         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5373
5374 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5375
5376         * mmimap.el (mmimap-entity-section): Changed body node number from
5377         "0" to "1".
5378
5379 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5380
5381         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5382         `elmo-folder-delete-messages'.
5383
5384         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5385         (elmo-folder-initialize): Changed to expand alias into index path.
5386
5387         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5388         `elmo-mime-insert-header-from-buffer' with 6th arg
5389         `sorted-fields'.
5390
5391 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5392
5393         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5394
5395         * elmo.el (elmo-diff-new): New inline function.
5396         (elmo-diff-unread): Ditto.
5397         (elmo-diff-all): Ditto.
5398
5399         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5400         value from responseb.
5401         (elmo-imap4-folder-diff-plugged): Ditto.
5402         (elmo-imap4-server-diff-async): Added recent argument.
5403         (elmo-server-diff-async): Ditto.
5404         (elmo-imap4-folder-diff-plugged): Ditto.
5405
5406         * elmo-version.el (elmo-version): Up to 2.7.6.
5407
5408 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5409
5410         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5411         in quoted-stirng.
5412
5413 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5414
5415         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5416
5417         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5418
5419         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5420
5421         * elmo-multi.el (elmo-folder-initialize): Ditto.
5422
5423         * elmo-util.el (elmo-parse-token): New function.
5424         (elmo-parse-prefixed-element): Ditto.
5425
5426 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5427
5428         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5429         delete process.
5430         (elmo-imap4-accept-ok): Ditto.
5431
5432 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5433
5434         * mmimap.el (mime-imap-entity-header-string): Don't check first
5435         element of node-id is `0' (Follow last change).
5436
5437 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5438
5439         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5440         assigned irregular node-id to nested multipart section.
5441         (initialize-instance): Followed above change.
5442
5443 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5444
5445         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5446         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5447         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5448         `elmo-shimbun-get-headers');
5449         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5450         visible article on summary exists in headers).
5451         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5452
5453 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5454
5455         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5456         definition.
5457
5458 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5459
5460         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5461
5462 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5463
5464         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5465         header separator into loop condition.
5466
5467 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5468
5469         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5470         Return duplicate folder if it has subfolder.
5471
5472 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5473
5474         * elmo.el (elmo-make-folder): Add folder name error check.
5475
5476         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5477         (elmo-nntp-encode-group-string): New inline function.
5478         (elmo-nntp-decode-group-string): Ditto.
5479         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5480         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5481         Use `not' instead of `null';
5482         Use elmo-nntp-decode-group-string.
5483
5484         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5485
5486         * elmo-version.el (elmo-version): Up to 2.7.5.
5487
5488 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5489
5490         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5491         Hide progress gauge if `elmo-folder-move-messages' exits
5492         nonlocally.
5493
5494 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5495
5496         * elmo-imap4.el (elmo-folder-initialize): Use
5497         `elmo-imap4-encode-folder-string' for folder name.
5498
5499 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5500
5501         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5502         `done'.
5503
5504 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5505
5506         * elmo-util.el (elmo-progress-counter-alist): New internal
5507         variable.
5508         (elmo-progress-counter-value): New macro.
5509         (elmo-progress-counter-all-value): Ditto.
5510         (elmo-progress-counter-format): Ditto.
5511         (elmo-progress-counter-set-value): Ditto.
5512         (elmo-progress-set): New function.
5513         (elmo-progress-clear): Ditto.
5514         (elmo-progress-notify): Ditto.
5515
5516         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5517         counter.
5518
5519         * elmo.el (elmo-generic-folder-append-messages): Call
5520         `elmo-progress-notify'.
5521         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5522
5523         * elmo-archive.el (elmo-folder-append-messages): Call
5524         `elmo-progress-notify'.
5525
5526         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5527
5528         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5529
5530         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5531
5532 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5533
5534         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5535         'Create'.
5536         (elmo-message-encache-dop): Added argument `read'.
5537
5538         * elmo-shimbun.el (elmo-message-encache): Ditto.
5539
5540         * elmo-net.el (elmo-message-encache): Ditto.
5541
5542         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5543         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5544         elmo-imap4-seen-messages.
5545         (elmo-folder-msgdb-create-plugged): Initialize
5546         elmo-imap4-seen-messages;
5547         Set seen mark on elmo-imap4-seen-messages.
5548
5549         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5550
5551         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5552         elmo-folder-append-buffer.
5553         (elmo-folder-encache): Added optional argument `read'.
5554         (elmo-message-encache): Ditto.
5555
5556         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5557
5558         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5559
5560         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5561         if append buffer content succeds.
5562
5563 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5564
5565         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5566         elmo-display-progress.
5567
5568         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5569         Set 4th argument of mime-display-message.
5570         (elmo-mime-display-as-is): Ditto.
5571
5572 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5573
5574         * elmo-nmz.el (toplevel): Require 'mime-edit.
5575         (elmo-nmz-content-type-alist): Abolished.
5576         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5577         content is not a message.
5578         (elmo-map-message-fetch): Changed behavior exept for message content;
5579         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5580         content-type, Add From: and Subject: field.
5581
5582 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5583
5584         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5585         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5586         not a message.
5587
5588 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5589
5590         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5591         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5592
5593         * elmo-archive.el (elmo-folder-writable-p): Defined.
5594
5595         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5596
5597         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5598
5599         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5600
5601         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5602
5603         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5604
5605         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5606
5607         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5608
5609         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5610
5611 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5612
5613         * elmo-util.el (elmo-address-quote-specials): New function;
5614         Renamed from `wl-address-quote-specials'.
5615
5616 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5617
5618         * elmo-version.el (elmo-version): Up to 2.7.4.
5619
5620 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5621
5622         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5623
5624 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5625
5626         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5627         both compile-time and run-time to avoid byte-compile warning.
5628
5629 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5630
5631         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5632
5633 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5634
5635         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5636         option.
5637         (elmo-mime-display-as-is-internal): Use it.
5638
5639         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5640         if `read-passwd' is not defined.
5641
5642 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5643
5644         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5645         by original number.
5646         (elmo-folder-status): Call `elmo-folder-open-internal';
5647         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5648         (elmo-folder-close-internal): Set location-alist as nil.
5649         (elmo-folder-clear): Define.
5650         (elmo-folder-check): Don't set location-alist as nil.
5651
5652         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5653
5654 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5655
5656         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5657         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5658
5659         * mmimap.el (mime-imap-entity::requested): New slot.
5660         (mime-imap-location-fetch-entity-p): New generic function.
5661         (mime-decode-parameters): Define using `defun-maybe'.
5662         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5663         content-type structure.
5664         (mime-entity-body): Return empty body if
5665         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5666
5667         * elmo.el (elmo-message-displaying): New variable.
5668
5669         * elmo-mime.el (elmo-mime-message-display): Bind
5670         elmo-message-displaying as t.
5671
5672         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5673
5674 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5675
5676         * acap.el (acap-open): erase buffer before starting network process.
5677         (acap-store): Rewrite.
5678
5679 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5680
5681         * elmo-imap4.el (elmo-imap4-default-mailbox,
5682         elmo-imap4-default-server
5683         elmo-imap4-default-authenticate-type,
5684         elmo-imap4-default-user,
5685         elmo-imap4-default-port,
5686         elmo-imap4-default-stream-type,
5687         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5688
5689         * elmo-pop3.el (elmo-pop3-default-user,
5690         elmo-pop3-default-server,
5691         elmo-pop3-default-authenticate-type,
5692         elmo-pop3-default-port,
5693         elmo-pop3-default-stream-type,
5694         elmo-pop3-stream-type-alist): Ditto.
5695
5696         * elmo-nntp.el (elmo-nntp-default-server,
5697         elmo-nntp-default-user,
5698         elmo-nntp-default-port,
5699         elmo-nntp-default-stream-type,
5700         elmo-nntp-stream-type-alist): Ditto.
5701
5702         * elmo-vars.el: Follow changes above.
5703         (elmo-setting): New custom group; added 'elmo-setting group to
5704         above variables.
5705
5706         * elmo-version.el (elmo-version): Up to 2.7.3.
5707
5708         * acap.el (acap-parse-response): Don't delete process when BYE
5709         response (It causes hang-up on slow network environment).
5710         (toplevel): Added comment.
5711
5712 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5713
5714         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5715
5716         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5717         parsing NIL.
5718         (acap-parse-return-metadata): Ditto.
5719
5720         * slp.el: New file.
5721         (toplevel): Fixed typo.
5722
5723         * acap.el: New file.
5724         (acap-network-stream-open): Show "Connecting..." message.
5725         (acap-parse-response): Fixed problem for BYE untagged response.
5726         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5727         (toplevel): Added tiny comments.
5728
5729 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5730
5731         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5732         space delimiter for uidl response.
5733
5734 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5735
5736         * elmo-vars.el (elmo-use-semi): Eliminated.
5737
5738         * elmo-util.el (elmo-string-assoc-all): New function.
5739
5740 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5741
5742         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5743         property 'mime-preview-situation for `mime-preview-quit'.
5744
5745 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5746
5747         * elmo.el (elmo-message-fetch-with-cache-process): Call
5748         elmo-message-fetch-internal instead of causing an error when fetch
5749         strategy is 'entire but only 'section cache is available.
5750
5751 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5752
5753         * elmo-version.el (elmo-version): Up to 2.7.2.
5754
5755         * elmo.el (elmo-generic-folder-append-messages): Make
5756         fetch-strategy with `use-cache'.
5757
5758         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5759         (elmo-dop-queue-method-name): New macro.
5760
5761 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5762
5763         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5764         unbalanced parenthesis.
5765
5766 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5767
5768         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5769
5770 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5771
5772         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5773         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5774
5775 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5776
5777         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5778         local variables.
5779
5780 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5781
5782         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5783         (elmo-message-use-cache-p): Define.
5784         (elmo-folder-msgdb-create): Treat cache.
5785
5786 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5787
5788         * elmo-nntp.el (elmo-network-initialize-session): Call
5789         `elmo-nntp-send-mode-reader'.
5790         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5791
5792 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5793
5794         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5795         alist.
5796         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5797         assoc.
5798
5799         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5800         for `elmo-plugged-p'.
5801         (elmo-open-network-stream): Fixed stream-type argument.
5802
5803 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5804
5805         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5806         unknown archive type is specified.
5807
5808 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5809
5810         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5811
5812         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5813         while loading msgdb.
5814
5815         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5816         (elmo-folder-open-internal): Rewrite.
5817
5818 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5819
5820         * elmo-mime.el (elmo-mime-display-as-is-internal):
5821         Adjust buffer-multibyte status.
5822
5823 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5824
5825         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5826         of elmo-condition-find-key.
5827
5828         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5829         (elmo-condition-in-msgdb-p): Ditto.
5830         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5831         argument.
5832
5833 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5834
5835         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5836
5837 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5838
5839         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5840         label for elmo-display-progress.
5841
5842 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5843
5844         * elmo.el (elmo-folder-clear): New method.
5845         (elmo-folder-clear): Define.
5846         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5847
5848         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5849         (elmo-folder-clear): Define.
5850
5851         * elmo-map.el (elmo-folder-clear): Define.
5852
5853         * elmo-version.el (elmo-version): Up to 2.7.1.
5854
5855 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5856
5857         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5858         updates.
5859
5860 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5861
5862         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5863         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5864
5865 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5866
5867         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5868
5869         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5870         and re-written.
5871
5872         * elmo-imap4.el (elmo-folder-initialize): Use
5873         elmo-get-network-stream-type.
5874
5875         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5876
5877         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5878
5879 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5880
5881         * elmo.el (elmo-message-encache): Set unread argument for
5882         elmo-message-fetch.
5883
5884         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5885
5886         * elmo.el (elmo-net-port-info): New method.
5887
5888         * elmo-shimbun.el (elmo-net-port-info): Define.
5889         (elmo-message-encache): Ditto.
5890
5891         * elmo-net.el (elmo-net-port-info): Define as method.
5892
5893         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5894         unplugged status when elmo-enable-disconnected-operation is t.
5895
5896         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5897         of spool folder before checking new number.
5898
5899 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5900
5901         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5902         (elmo-network-setup-session): Ditto.
5903         (elmo-message-fetch-plugged): Ditto.
5904         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5905         (elmo-network-initialize-session): Ditto.
5906         (elmo-pop3-read-response): Abolish 3rd argument.
5907         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5908         (elmo-pop3-read-contents): Ditto.
5909         (elmo-pop3-read-body): Ditto.
5910         (elmo-folder-status): Call elmo-folder-close.
5911         (elmo-pop3-lock): Abolish.
5912         (elmo-pop3-unlock): Ditto.
5913         (elmo-pop3-locked-p): Ditto.
5914         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5915
5916 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5917
5918         * elmo-version.el (elmo-version): Up to 2.7.0.
5919
5920         * elmo-pop3.el (elmo-pop3-debug): New variable.
5921         (elmo-pop3-debug-inhibit-logging): Ditto.
5922         (elmo-pop3-debug): New function.
5923         (elmo-pop3-send-command): Call elmo-pop3-debug.
5924         (elmo-pop3-read-response): Added keep-lock optional argument;
5925         Don't unlock if keep-lock is non-nil.
5926         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5927         (elmo-network-authenticate-session): Bind
5928         elmo-pop3-debug-inhibit-logging as t.
5929         (elmo-network-setup-session): Call elmo-pop3-read-response with
5930         keep-lock argument.
5931         (elmo-pop3-read-msg): Ditto.
5932         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5933         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5934         (elmo-network-initialize-session): Call elmo-pop3-lock.
5935         (elmo-folder-close-internal): Don't clear location-alist slot.
5936         (elmo-folder-check): Clear location-alist slot.
5937
5938 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5939
5940         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5941         (elmo-pop3-send-command): Call elmo-pop3-lock.
5942         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5943         (elmo-pop3-read-contents): Ditto.
5944         (elmo-pop3-lock): New function.
5945         (elmo-pop3-unlock): Ditto.
5946         (elmo-pop3-locked-p): Ditto.
5947         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5948         returns t.
5949
5950 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5951
5952         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5953
5954         * elmo-util.el (elmo-file-field-primitive-condition-match):
5955         New inline function (Don't fetch file content if "first" or "last").
5956         (elmo-file-field-condition-match): Use
5957         elmo-file-field-primitive-condition-match.
5958
5959         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5960         "first".
5961
5962         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5963         (elmo-message-fetch-plugged): Fixed.
5964
5965         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5966
5967 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5968
5969         * elmo.el (elmo-folder-move-messages): Bind
5970         elmo-inhibit-display-retrieval-progress as t while moving messages.
5971
5972         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5973         New variable.
5974         (elmo-inhibit-display-retrieval-progress): Ditto.
5975
5976         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5977         for retrieval progress;
5978         Don't display progress when total buffer size is smaller than
5979         elmo-display-retrieval-progress-threshold.
5980         (elmo-message-fetch-plugged): Don't display progress when
5981         elmo-inhibit-display-retrieval-progress is non-nil.
5982
5983         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5984         for retrieval progress;
5985         Don't display progress when literal size is smaller than
5986         elmo-display-retrieval-progress-threshold.
5987         (elmo-imap4-message-fetch): Don't display progress when
5988         elmo-inhibit-display-retrieval-progress is non-nil.
5989
5990 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
5991
5992         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5993         (elmo-imap4-find-next-line): Display progress whille literal fetching.
5994         (elmo-imap4-message-fetch): Likewise.
5995
5996         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5997         (elmo-shimbun-index-range-alist): Ditto.
5998         (elmo-shimbun-use-entire-index): Abolish.
5999         (shimbun-mua-use-entire-index): Ditto.
6000         (elmo-shimbun-folder): Added new slot `range'.
6001         (elmo-folder-initialize): Setup slot `range'.
6002
6003 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6004
6005         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6006         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6007         (elmo-shimbun-get-headers): Use return value of
6008         `shimbun-article-expiration-days'.
6009         (elmo-folder-close-internal): Clean up last-check slot.
6010
6011         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6012         (elmo-pop3-total-size): New variable.
6013         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6014
6015         * elmo.el (elmo-folder-reserve-status-p): New method.
6016
6017         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6018         (elmo-shimbun-use-entire-index): New user option.
6019         (shimbun-elmo-mua): New class.
6020         (shimbun-mua-search-id): Define.
6021         (shimbun-mua-use-entire-index): Ditto.
6022         (elmo-shimbun-folder:last-check): New slot.
6023         (elmo-shimbun-headers-cache-header-list): Abolish.
6024         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6025         (elmo-shimbun-headers-cache-header-hash): Ditto.
6026         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6027         (elmo-shimbun-headers-cache-last-check): Ditto.
6028         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6029         (elmo-shimbun-headers-check-p): Rewrite.
6030         (elmo-shimbun-msgdb-to-headers): New function.
6031         (elmo-shimbun-get-headers): Rewrite.
6032         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6033         (elmo-folder-open-internal): Get headers only if
6034         `elmo-shimbun-headers-check-p' is non-nil.
6035         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6036         is non-nil.
6037         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6038         (elmo-quit): Removed.
6039
6040         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6041         function.
6042         (elmo-msgdb-overview-entity-set-extra): Ditto.
6043         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6044
6045         * elmo-map.el (elmo-folder-status): Don't call
6046         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6047         is non-nil.
6048
6049 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6050
6051         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6052         of `elmo-msgdb-search-internal-primitive' when condition's car is
6053         `and' or `or'.
6054
6055 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6056
6057         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6058
6059 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6060
6061         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6062         call `elmo-pipe-drain'.
6063
6064 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6065
6066         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6067         typo. (elmo-cache-folder -> elmo-mark-folder)
6068
6069 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6070
6071         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6072         `elmo-message-fetch'.
6073
6074 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6075
6076         * elmo-net.el (elmo-message-encache): Fixed typo.
6077         (elmo-message-fetch-unplugged): Changed call
6078         `elmo-message-fetch-internal' without argument `outbuf'.
6079
6080 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6081
6082         * elmo.el (elmo-message-encache): Define as generic function.
6083         (elmo-message-fetch-field): New generic function.
6084         (elmo-message-fetch-with-cache-process): Cause an error when
6085         fetch strategy is 'entire but only 'section cache is available.
6086         (toplevel): Fixed nmz folder definition.
6087
6088         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6089         (elmo-msgdb-resume-list-filename): Ditto.
6090         (elmo-queue-filename): Ditto.
6091         (elmo-enable-disconnected-operation): Changed default value to t.
6092
6093         * elmo-util.el (elmo-cache-path-section-p): New function.
6094         (elmo-file-cache-get): Use it.
6095         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6096         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6097         (elmo-dop-queue-save): Ditto.
6098
6099         * elmo-net.el (elmo-folder-status-unplugged): Call
6100         elmo-folder-status-dop.
6101         (elmo-folder-list-messages-unplugged): Implemented.
6102         (elmo-folder-delete-messages-unplugged): Define.
6103         (elmo-folder-msgdb-create): Define.
6104         (elmo-folder-msgdb-create-unplugged): Define.
6105         (elmo-folder-mark-as-read-unplugged): Ditto.
6106         (elmo-folder-unmark-read-unplugged): Ditto.
6107         (elmo-folder-mark-as-important-unplugged): Ditto.
6108         (elmo-folder-unmark-important-unplugged): Ditto.
6109         (elmo-message-encache): Ditto.
6110
6111         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6112         (elmo-dop-queue-save): Ditto.
6113
6114         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6115         `elmo-folder-msgdb-create'.
6116         (elmo-folder-append-buffer): Implemented unplugged operation.
6117         (elmo-folder-append-messages): Call parent method in unplugged status.
6118         (elmo-message-fetch-unplugged): Removed definition.
6119         (elmo-message-fetch-field): Implemented.
6120
6121         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6122         (elmo-dop-folder): Removed variable definition.
6123         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6124         (elmo-dop-queue-flush): Implemented.
6125         (elmo-dop-queue-merge): Removed definition (TODO).
6126         (elmo-dop-spool-folder): New function.
6127         (elmo-dop-spool-folder-append-buffer): Ditto.
6128         (elmo-dop-spool-folder-list-messages): Ditto.
6129         (elmo-dop-list-deleting-messages): Ditto.
6130         (elmo-folder-append-buffer-dop): Ditto.
6131         (elmo-folder-delete-messages-dop): Ditto.
6132         (elmo-message-encache-dop): New inline function.
6133         (elmo-create-folder-dop): Ditto.
6134         (elmo-folder-mark-as-read-dop): Ditto.
6135         (elmo-folder-unmark-read-dop): Ditto.
6136         (elmo-folder-mark-as-important-dop): Ditto.
6137         (elmo-folder-unmark-important-dop): Ditto.
6138         (elmo-folder-status-dop): Fixed.
6139         (elmo-folder-append-buffer-dop-delayed): New function.
6140         (elmo-folder-delete-messages-dop-delayed): Ditto.
6141         (elmo-dop-msgdb): Ditto.
6142
6143 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6144
6145         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6146
6147 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6148
6149         * elmo.el (elmo-folder-move-messages): Fixed problem when
6150         `dst-folder' is 'null.
6151
6152 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6153
6154         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6155         instead of current mark.
6156
6157         * elmo-multi.el (elmo-folder-list-importants-internal): No
6158         operation if importants is not list.
6159
6160         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6161         Return t if importants is not list.
6162
6163         * elmo-map.el (elmo-map-folder-list-importants): Define.
6164         (elmo-folder-list-importants-internal): Check return value of
6165         `elmo-map-folder-list-importants-internal'.
6166
6167         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6168
6169         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6170
6171         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6172
6173         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6174
6175 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6176
6177         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6178         (Patch is provided by <kita@coe.nttdata.co.jp>).
6179
6180 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6181
6182         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6183         mark folder.
6184
6185 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6186
6187         * elmo.el (elmo-message-fetch): Define.
6188         (elmo-message-fetch-with-cache-process): New generic method.
6189         (elmo-message-fetch-internal): New generic method.
6190         (elmo-folder-synchronize):
6191
6192         * elmo-archive.el (elmo-message-fetch-internal): Define.
6193         (elmo-message-fetch): Eliminated.
6194
6195         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6196         (elmo-message-fetch): Eliminated.
6197
6198         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6199         argument OUTBUF.
6200         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6201
6202         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6203         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6204
6205         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6206         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6207
6208         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6209
6210         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6211
6212         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6213
6214         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6215         (elmo-message-fetch-unplugged): New generic method.
6216         (elmo-message-fetch-internal): Remove cache process (Renamed from
6217         `elmo-message-fetch').
6218
6219         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6220         (elmo-message-fetch): Eliminated.
6221         (elmo-message-fetch-unplugged): Ditto.
6222
6223         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6224
6225 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6226
6227         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6228         of `to-be-deleted' from number-alist to number-list.
6229
6230 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6231
6232         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6233         (elmo-folder-mark-as-important): Ditto.
6234
6235 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6236
6237         * elmo.el (elmo-folder): Added process-duplicates slot.
6238
6239         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6240         (elmo-folder-unmark-read): Ditto.
6241         (elmo-folder-unmark-important): Ditto.
6242         (elmo-folder-mark-as-important): Ditto.
6243
6244         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6245         duplicated message processing.
6246
6247         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6248
6249 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6250
6251         * elmo-util.el (elmo-list-subdirectories-1): New function.
6252         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6253         (elmo-mapcar-list-of-list): New function.
6254
6255         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6256         `elmo-mapcar-list-of-list' instead of `mapcar'.
6257
6258         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6259
6260         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6261         `elmo-have-link-count'. Return the fully qualified folder name.
6262
6263 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6264
6265         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6266         (elmo-shimbun-headers-cache): New internal variable.
6267         (elmo-shimbun-headers-cache-header-list): New inline function.
6268         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6269         (elmo-shimbun-headers-cache-header-hash): Ditto.
6270         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6271         (elmo-shimbun-headers-cache-last-check): Ditto.
6272         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6273         (elmo-shimbun-lapse-seconds): Ditto.
6274         (elmo-shimbun-headers-cache-check-p): Ditto.
6275         (elmo-shimbun-get-headers): New function.
6276         (elmo-folder-open-internal): Call it.
6277         (elmo-quit): Define (Clear headers-cache).
6278
6279 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6280
6281         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6282
6283         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6284         (elmo-msgdb-flist-save): Ditto.
6285
6286         * elmo-shimbun.el (elmo-folder-list-subfolders):
6287         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6288         (elmo-folder-exists-p): Ditto.
6289
6290         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6291         argument for `shimbun-header-insert'.
6292
6293 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6294
6295         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6296         at first time.
6297
6298         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6299         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6300
6301 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6302
6303         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6304         (elmo-folder-plugged-p): Define.
6305         (elmo-folder-set-plugged): Ditto.
6306         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6307         (elmo-folder-list-messages-internal): Return t if unplugged.
6308         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6309
6310         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6311         when elmo-folder-list-messages-internal method of children returns t.
6312
6313         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6314         pair is nil.
6315         (elmo-folder-open-internal): Don't update if unplugged status.
6316
6317 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6318
6319         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6320         new message.
6321
6322 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6323
6324         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6325
6326         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6327         saving.
6328
6329 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6330
6331         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6332
6333         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6334         (elmo-folder-open-internal): Set up headers slot.
6335         (elmo-folder-check): Call elmo-folder-close-internal and
6336         elmo-folder-open-internal.
6337         (elmo-folder-close-internal): Clean up headers slot.
6338
6339 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6340
6341         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6342         exactly folder list.
6343         (elmo-folder-append-messages): Fixed append archive with prefix.
6344
6345         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6346         make temp files with start-number.
6347
6348         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6349
6350 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6351
6352         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6353         argument `visible-only'.
6354         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6355         instead of `if'.
6356
6357         * elmo-pop3.el (elmo-folder-open-internal): Check
6358         `elmo-inhibit-number-mapping' is non-nil.
6359
6360         * elmo-pipe.el (elmo-folder-status): Fixed.
6361
6362 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6363
6364         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6365
6366         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6367         (elmo-folder-open-internal): Setup `header-hash' slot.
6368         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6369         information.
6370         (elmo-map-message-fetch): Ditto.
6371
6372 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6373
6374         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6375         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6376         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6377         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6378
6379         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6380
6381 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6382
6383         * sb-airs.el: Added footer.
6384
6385         * shimbun.el (shimbun-article): Define as luna-method.
6386
6387         * sb-tcup.el: New file.
6388
6389         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6390         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6391
6392 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6393
6394         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6395         (shimbun-get-headers): Ditto.
6396
6397         * elmo.el: Moved obsolete variable definitions from
6398         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6399
6400         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6401         groups.
6402
6403         * shimbun.el: New file.
6404
6405         * elmo-shimbun.el: New file.
6406
6407         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6408         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6409         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6410         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6411
6412 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6413
6414         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6415         hierarchy is t.
6416
6417 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6418
6419         * elmo.el (elmo-folder-msgdb): Define as macro.
6420         (elmo-folder-open): Added argument `load-msgdb'.
6421         (elmo-generic-folder-open): Ditto.
6422         (elmo-folder-encache): New function.
6423
6424         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6425
6426         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6427
6428         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6429         Eliminated argument FOLDER and added argument MSGDB.
6430         (elmo-dop-queue-load): Moved from elmo-dop.el.
6431         (elmo-dop-queue-save): Ditto.
6432
6433         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6434
6435         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6436
6437         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6438         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6439         (elmo-filter-folder-list-importants-internal): Ditto.
6440
6441         * elmo-map.el (elmo-folder-pack-number): Ditto.
6442
6443         * elmo-mime.el (elmo-mime-message-display): Ditto.
6444
6445         * elmo.el (elmo-generic-folder-commit): Ditto.
6446         (elmo-folder-list-unreads): Ditto.
6447         (elmo-folder-list-importants): Ditto.
6448         (elmo-generic-folder-commit): Ditto.
6449         (elmo-message-set-mark): Ditto.
6450         (elmo-generic-folder-append-msgdb): Ditto.
6451         (elmo-folder-synchronize): Ditto.
6452         (elmo-folder-messages): Ditto.
6453         (elmo-init): Call elmo-dop-queue-load.
6454         (elmo-folder-list-messages): Ditto.
6455
6456         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6457         (elmo-nntp-folder-process-crosspost): Ditto.
6458         (elmo-folder-list-unreads-internal): Ditto.
6459
6460         * elmo-dop.el: Removed old functions.
6461
6462 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6463
6464         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6465         `folder' to `msgdb'.
6466
6467 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6468
6469         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6470         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6471
6472         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6473         case-fold-search.
6474
6475 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6476
6477         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6478         defined.
6479
6480         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6481         (mmimap-parse-parameters-from-list): Define as alias for
6482         `mime-decode-parameter-plist' if it is defined as function.
6483         (mmimap-make-mime-entity): Added argument `number'.
6484         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6485         as 0.
6486         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6487
6488         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6489
6490         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6491
6492         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6493
6494 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6495
6496         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6497
6498         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6499         when elmo-imap4-default-authenticate-type is nil.
6500         (elmo-folder-list-subfolders): Ditto
6501         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6502         (elmo-imap4-fetch-callback-1-subr): Renamed from
6503         `elmo-imap4-fetch-callback-1' and define as inline function.
6504         (elmo-imap4-fetch-callback-1):
6505         Renamed from `elmo-imap4-fetch-callback'.
6506         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6507
6508         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6509         msgdb path (To keep compatibility with main trunk).
6510
6511         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6512
6513         * elmo-util.el (elmo-make-file-cache): Moved position of
6514         some macros.
6515
6516         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6517         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6518         instead of `elmo-pop3-inhibit-uidl'.
6519         (elmo-folder-exists-p): Ditto.
6520         (elmo-pop3-folder-list-messages): Ditto.
6521
6522         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6523         instead of `elmo-pop3-inhibit-uidl'.
6524         (elmo-folder-status): Ditto.
6525
6526         * elmo-dop.el (elmo-dop-folder): New variable.
6527         (elmo-dop-lock-message): Eliminated.
6528         (elmo-dop-unlock-message): Ditto.
6529         (elmo-dop-lock-list-load): Ditto.
6530         (elmo-dop-lock-list-save): Ditto.
6531         (elmo-dop-delete-folder): Ditto.
6532         (elmo-dop-rename-folder): Ditto.
6533
6534         * elmo.el: Removed incomplete commentary.
6535
6536 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6537
6538         * elmo.el (toplevel): Require 'elmo-version first;
6539         for little `recursive-load-depth' settings.
6540         Fix "ends here" comment.
6541
6542 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6543
6544         * elmo-util.el (toplevel): Require 'poem;
6545         Some functions are moved from elmo-cache.el.
6546
6547         * elmo-net.el (toplevel): Require 'elmo-cache.
6548
6549         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6550
6551         * elmo.el (toplevel): Ditto.
6552
6553         * elmo-cache.el: Rewrite with luna;
6554         Some functions are moved to elmo-util.el.
6555
6556         * elmo-internal.el (elmo-internal-folder-list): New variable.
6557         (elmo-internal-folder-initialize): Rewrite.
6558         (elmo-folder-list-subfolders): Ditto.
6559
6560         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6561         (elmo-cache-collect-sub-directories): Ditto.
6562
6563 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6564
6565         * elmo-version.el (elmo-version): Up to 2.5.8.
6566
6567         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6568
6569         * elmo-util.el (elmo-list-insert): New function.
6570
6571 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6572
6573         * elmo.el (elmo-init): New function.
6574         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6575
6576         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6577         (Renamed from `elmo-localdir-header-chop-length').
6578
6579         * elmo-pop3.el (elmo-pop3-use-cache,
6580         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6581
6582         * elmo-nntp.el (elmo-message-fetch): Define.
6583         (elmo-message-fetch-unplugged): Ditto.
6584         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6585         (elmo-nntp-use-cache): Ditto.
6586         (elmo-nntp-max-number-precedes-list-active): Ditto.
6587
6588         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6589
6590         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6591         `elmo-msgdb-insert-file-header'.
6592         Use `elmo-msgdb-file-header-chop-length'.
6593
6594         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6595         `elmo-vars.el'.
6596
6597         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6598         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6599         `elmo-msgdb-insert-file-header'.
6600
6601         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6602         Use new variable;
6603         Define obsolete variables with `elmo-define-obsolete-variable',
6604
6605         * elmo-util.el (elmo-warning-buffer-name): New constant.
6606         (elmo-warning): New function.
6607         (elmo-obsolete-variable-alist): New variable.
6608         (elmo-obsolete-variable-show-warnings): New variable.
6609         (elmo-define-obsolete-variable): New function.
6610         (elmo-resque-obsolete-variable): Ditto.
6611         (elmo-resque-obsolete-variables): Ditto.
6612
6613 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6614
6615         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6616         Eliminated.
6617
6618         * elmo-pop3.el, elmo-nntp.el: Use custom.
6619
6620 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6621
6622         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6623         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6624
6625 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6626
6627         * Luna-fy Kenichi OKADA's following changes.
6628         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6629         `nohide'.
6630         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6631
6632 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6633
6634         * elmo-util.el (elmo-display-progress): Prefer
6635         `progress-feedback-with-label' to `lprogress-display'.
6636
6637 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6638
6639         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6640
6641 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6642
6643         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6644         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6645         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6646         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6647         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6648         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6649         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6650         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6651         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6652         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6653         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6654         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6655         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6656
6657 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6658
6659         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6660         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6661
6662 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6663
6664         * elmo.el (elmo-folder-process-crosspost): New generic method.
6665         (elmo-folder-writable-p): Ditto.
6666         (elmo-folder-message-appendable-p): Eliminated.
6667         (elmo-generic-folder-append-msgdb): Rewrite.
6668         (elmo-newsgroups-hashtb): New internal variable.
6669         (elmo-crosspost-message-set): Eliminated.
6670         (elmo-crosspost-message-delete): Ditto.
6671         (elmo-setup-subscribed-newsgroups): New function.
6672         (elmo-crosspost-message-alist-modified): New internal variable.
6673         (elmo-crosspost-message-alist-load): New function (Renamed from
6674         `wl-crosspost-alist-load').
6675         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6676         `wl-crosspost-alist-save').
6677
6678         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6679
6680         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6681         `unreads'.
6682         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6683         elmo-newsgroups-hashtb).
6684         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6685         `elmo-nntp-folder-update-crosspost-message-alist'.
6686         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6687         `elmo-nntp-groups-hashtb'.
6688         (elmo-nntp-make-groups-hashtb): Eliminated.
6689         (elmo-nntp-parse-newsgroups): New function (Renamed from
6690         `wl-parse-newsgroups').
6691         (elmo-folder-creatable-p, elmo-folder-writable-p,
6692         elmo-folder-close-internal, elmo-folder-mark-as-read,
6693         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6694         Define.
6695         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6696
6697         * elmo-net.el (elmo-message-fetch): Check buffer size.
6698
6699         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6700
6701         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6702
6703         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6704         before `close' command.
6705
6706         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6707         `mark-alist' (All other related portions are changed).
6708
6709 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6710
6711         * elmo-util.el (elmo-create-hash-size): Eliminated.
6712         (elmo-make-hash) Make a hash with `one less than a power of two'
6713         length.
6714
6715         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6716         (elmo-hash-maximum-size): Changed value.
6717
6718 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6719
6720         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6721         (elmo-mime-message-display-as-is): Ditto.
6722
6723 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6724
6725         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6726         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6727
6728 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6729
6730         * elmo-mark.el: New file.
6731
6732         * elmo-internal.el: Rewrite (Almost empty).
6733
6734 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6737         (mime-imap-entity-header-string): Ditto.
6738         (mmimap-entity-section): Rewrite.
6739
6740 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6741
6742         * elmo-nmz.el: New file.
6743
6744         * elmo-pipe.el: Rewrite with luna.
6745
6746 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6747
6748         * elmo-archive.el: Rewrite with luna.
6749
6750         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6751         (elmo-folder-list-importants-internal): Ditto.
6752
6753 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6754
6755         * elmo-archive.el (elmo-archive-version): Abolish.
6756         (toplevel) Removed `boso' comment.
6757
6758 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6759
6760         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6761         elmo-msgdb-add-msgs-to-seen-list-subr;
6762         Changed argument seen-marks to unread-marks.
6763
6764         * elmo-nntp.el: Rewrite with luna.
6765
6766 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6767
6768         * elmo-filter.el: Rewrite with luna.
6769
6770 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6771
6772         * elmo-pop3.el: Rewrite with luna.
6773
6774 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6775
6776         * elmo-multi.el: Rewrite with luna.
6777
6778         * elmo-vars.el (elmo-use-killed-list): Abolish.
6779         All other related portions are changed.
6780         (elmo-filename-replace-string-alist): Renamed from
6781         elmo-msgid-replace-string-alist.
6782
6783 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6784
6785         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6786
6787         * elmo-map.el: New file.
6788         * elmo-maildir.el: Rewrite with luna.
6789
6790 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * elmo.el: Changed meaning of `elmo-folder-commit'.
6793         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6794
6795 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6796
6797         * elmo.el (elmo-folder-append-buffer): New function.
6798         (Renamed from `elmo-append-msg')
6799
6800 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6801
6802         * elmo-mime.el: New file.
6803
6804 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6805
6806         * elmo-cache.el: Rewrite.
6807
6808 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6809
6810         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6811
6812 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6813
6814         * elmo-vars.el (elmo): New group.
6815         (elmo-strict-diff-folder-regexp): New variable.
6816
6817         * elmo-util.el (elmo-call-func): Abolish.
6818         (elmo-folder-get-type): Ditto.
6819         (elmo-*-get-spec): Ditto.
6820         (elmo-*-spec-*): Ditto.
6821         (elmo-imap4-identical-name-space-p): Ditto.
6822         (elmo-folder-identical-system-p): Ditto.
6823         (elmo-folder-direct-copy-alist): Ditto.
6824         (elmo-folder-direct-copy-p): Ditto.
6825
6826         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6827         (elmo-folder-initialize): Define.
6828         (elmo-folder-get-primitive-list): Ditto.
6829
6830         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6831         (elmo-folder-initialize): Define.
6832         Renamed `elmo-network-session-host-internal' to
6833         `elmo-network-session-server-internal'.
6834
6835         * elmo-multi.el (elmo-multi-folder): New luna class.
6836         (elmo-folder-initialize): Define.
6837         (elmo-folder-get-primitive-list): Ditto.
6838         (elmo-folder-contains-type): Ditto.
6839         (elmo-message-use-cache-p): Ditto.
6840
6841         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6842         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6843
6844         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6845         (elmo-folder-initialize): Define.
6846
6847         * elmo-filter.el (elmo-filter-folder): New luna class.
6848         (elmo-folder-initialize): Define.
6849         (elmo-folder-get-primitive-list): Ditto.
6850         (elmo-folder-contains-type): Ditto.
6851
6852 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6853
6854         * elmo-imap4.el: Rewrite with luna.
6855
6856         * mmimap.el: New file.
6857
6858         * mmelmo.el, mmelmo-imap4.el: Removed.
6859
6860         * elmo-net.el: Ditto.
6861
6862         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6863         (elmo-folder-initialize): Define.
6864
6865         * elmo-archive.el (elmo-archive-folder): New luna class.
6866         (elmo-folder-initialize): Define.
6867
6868         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6869         `elmo-folder-msgdb-path'.
6870         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6871         `elmo-make-folder'.
6872
6873 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6874
6875         * elmo.el: New file.
6876
6877         * elmo2.el: Renamed to elmo.el.
6878
6879 \f
6880 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6881
6882         * elmo-cache.el (elmo-cache-expire-by-size): Count
6883         a disk usage for a cache file entry in KB even when
6884         its kind is a directory.
6885
6886 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6887
6888         * elmo-version.el (elmo-version): Up to 2.5.7.
6889
6890 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6891
6892         * elmo-version.el (elmo-version): Up to 2.5.6.
6893
6894 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6895
6896         * elmo-version.el (elmo-version): Up to 2.5.5.
6897
6898 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6899
6900         * elmo-imap4.el (elmo-network-authenticate-session):
6901         Fixed a logic for response checking.
6902
6903 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6904
6905         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6906         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6907         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6908         `sasl-mechanisms'.
6909
6910         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6911         for `starttls-open-stream' and `starttls-negotiate'.
6912
6913         * elmo-nntp.el: Remove autoload settings for
6914         `starttls-open-stream' and `starttls-negotiate'.
6915
6916         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6917         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6918         `luna-define-class' with `eval-and-compile'.
6919
6920 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6921
6922         * elmo-util.el (elmo-read-search-condition-internal):
6923         Require an element of table for searching field.
6924
6925 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6926
6927         * elmo-version.el (elmo-version): Up to 2.5.4.
6928
6929 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6930
6931         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6932
6933 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6934
6935         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6936
6937 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6938
6939         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6940         before greeting.
6941
6942 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6943
6944         * elmo-imap4.el (elmo-imap4-delete-folder):
6945         Send "close" before "delete" (Use commented out line).
6946         (elmo-imap4-rename-folder): Ditto.
6947
6948         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6949         folder string itself.
6950         (elmo-dop-list-deleted): New function.
6951         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6952         killed.
6953
6954         * elmo-util.el (elmo-string-rassoc-all): New function.
6955
6956 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6957
6958         * elmo-version.el (elmo-version): Up to 2.5.3.
6959
6960         * elmo-net.el (elmo-network-get-session): Changed logic for
6961         checking process status.
6962
6963         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6964         process is nil;
6965         Changed logic for checking process status.
6966
6967 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6968
6969         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6970         before greeting.
6971         (elmo-network-setup-session): Set UIDL hash size according to
6972         the length of list response.
6973         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6974         according to the length of list response;
6975         Return the length of list response.
6976         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6977
6978 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6979
6980         * elmo-imap4.el (toplevel): Require 'ssl.
6981         Add autoload 'starttls.
6982         * elmo-pop3.el (toplevel): Ditto.
6983         * elmo-nntp.el (toplevel): Ditto.
6984
6985 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6986
6987         * elmo-imap4.el (toplevel): defun at compile time.
6988         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6989         sasl-next-step, sasl-step-data, sasl-step-set-data.
6990         * elmo-pop3.el (toplevel): Ditto.
6991
6992 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6993
6994         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6995
6996 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6997
6998         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6999         if error.
7000         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7001         and `elmo-pop-auth-apop'.
7002
7003 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7004
7005         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7006
7007 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7008
7009         * elmo-pop3.el (elmo-network-authenticate-session): Split
7010         encoded response value.
7011
7012 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7013
7014         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7015         `elmo-pop3-force-login'.
7016         Redefine `sasl-mechanisms'.
7017         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7018
7019 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7020
7021         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7022         Delete `elmo-imap4-authenticator-alist'.
7023         (elmo-imap4-auth-cram-md5): Delete.
7024         (elmo-imap4-auth-digest-md5): Delete.
7025
7026 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7027
7028         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7029         (elmo-pop3-auth-scram-md5): Ditto.
7030         (elmo-pop3-auth-cram-md5): Ditto.
7031
7032 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7033
7034         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7035         Delete `elmo-pop3-authenticator-alist'.
7036
7037 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7038
7039         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7040         new SASL API.
7041         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7042
7043 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7044
7045         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7046
7047 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7048
7049         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7050         Fixed problem when `elmo-pop3-use-uidl' is nil.
7051         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7052
7053 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7054
7055         * elmo-version.el (elmo-version): Up to 2.5.2.
7056
7057 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7058
7059         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7060         New function.
7061         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7062         (elmo-pop3-msgdb-create-as-numlist): Use it.
7063
7064         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7065         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7066
7067         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7068         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7069
7070 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7071
7072         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7073         when elmo-mark-as-read is called with second argument nil.
7074
7075 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7076
7077         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7078         Moved to elmo-util.el.
7079
7080         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7081         Moved from elmo-pipe.el
7082
7083         * elmo-archive.el (elmo-archive-call-process): Enclose with
7084         static-if.
7085
7086         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7087         "RFC822" (because RFC822.PEEK is obsolete).
7088         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7089
7090 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7091
7092         * elmo-archive.el (elmo-archive-call-process): Don't check for
7093         the exit status when Nemacs is running.
7094
7095 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7096
7097         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7098         'plain.
7099
7100         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7101         (elmo-pop3-get-spec): Set default of auth to 'user.
7102
7103         * elmo-imap4.el (elmo-imap4-session-check):
7104         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7105         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7106         (elmo-imap4-auth-login): New function; Revival.
7107         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7108         `elmo-imap4-auth-login'.
7109
7110 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7111
7112         * elmo2.el (toplevel): Move `product-provide' declare.
7113         * mmelmo.el (toplevel): Ditto.
7114
7115 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7116
7117         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7118
7119 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7120
7121         * elmo-util.el (elmo-folder-get-store-type): New function.
7122         (elmo-folder-direct-copy-p): Use it.
7123
7124 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7125
7126         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7127         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7128         and result of `elmo-imap4-use-flag-p'.
7129         (elmo-imap4-fetch-callback-1): Set mark according to
7130         the result of `elmo-imap4-use-flag-p'.
7131
7132 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7133
7134         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7135         (elmo-generic-list-folder-unread): Ditto.
7136         (elmo-folder-get-info): Ditto.
7137         (elmo-folder-set-info-max-by-numdb): Ditto.
7138         (elmo-folder-get-info-max): Ditto.
7139         (elmo-folder-get-info-length): Ditto.
7140         (elmo-folder-get-info-unread): Ditto.
7141         (elmo-folder-info-make-hashtb): Ditto.
7142
7143         * elmo2.el: Removed above functions.
7144
7145 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7146
7147         * elmo-imap4.el (toplevel): Require 'ssl.
7148         Add autoload 'starttls.
7149         * elmo-pop3.el (toplevel): Ditto.
7150         * elmo-nntp.el (toplevel): Ditto.
7151
7152 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7153
7154         * elmo-imap4.el (toplevel): defun at compile time.
7155         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7156         sasl-next-step, sasl-step-data, sasl-step-set-data.
7157         * elmo-pop3.el (toplevel): Ditto.
7158
7159 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7160
7161         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7162
7163 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7164
7165         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7166         if error.
7167         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7168         and `elmo-pop-auth-apop'.
7169
7170 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7171
7172         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7173
7174 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7175
7176         * elmo-pop3.el (elmo-network-authenticate-session): Split
7177         encoded response value.
7178
7179 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7180
7181         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7182         `elmo-pop3-force-login'.
7183         Redefine `sasl-mechanisms'.
7184         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7185
7186 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7187
7188         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7189         Delete `elmo-imap4-authenticator-alist'.
7190         (elmo-imap4-auth-cram-md5): Delete.
7191         (elmo-imap4-auth-digest-md5): Delete.
7192
7193 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7194
7195         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7196         (elmo-pop3-auth-scram-md5): Ditto.
7197         (elmo-pop3-auth-cram-md5): Ditto.
7198
7199 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7200
7201         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7202         Delete `elmo-pop3-authenticator-alist'.
7203
7204 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7205
7206         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7207         new SASL API.
7208         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7209
7210 \f
7211 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7212
7213         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7214
7215 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7216
7217         * elmo-nntp.el (elmo-nntp-get-folders-info):
7218         Fixed problem when '\' character is contained in user-id.
7219         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7220
7221 \f
7222 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo-imap4.el (elmo-imap4-delete-folder):
7225         Send "close" before "delete" (Use commented out line).
7226         (elmo-imap4-rename-folder): Ditto.
7227
7228         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7229         folder string itself.
7230         (elmo-dop-list-deleted): New function.
7231         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7232         killed.
7233
7234         * elmo-util.el (elmo-string-rassoc-all): New function.
7235
7236         * elmo-version.el (elmo-version): Up to 2.5.1.
7237
7238 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7239
7240         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7241
7242         * elmo-internal.el (elmo-internal-search): Fix last change.
7243
7244 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7245
7246         * elmo-internal.el (elmo-internal-search): Rewrite.
7247         (Fixed problem which is pointed out by Akihiro MOTOKI
7248         <motoki@da.jp.nec.com>)
7249
7250         * elmo-version.el (elmo-version): Up to 2.5.0.
7251
7252 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7253
7254         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7255
7256 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7257
7258         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7259         non-nil, make hierarchy.
7260
7261 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7262
7263         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7264         `elmo-pop3-use-uidl' must be bound to nil.
7265         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7266
7267 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7268
7269         * elmo-util.el (elmo-copy-file): Don't cause an error after
7270         `add-name-to-file' failed.
7271
7272         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7273         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7274
7275 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7276
7277         * elmo-version.el (elmo-version): Up to 2.3.93.
7278
7279 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7280
7281         * elmo-util.el (elmo-flatten): New function.
7282
7283 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7284
7285         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7286         sync Author header.
7287         * elmo-cache.el (toplevel): Ditto.
7288         * elmo-database.el (toplevel): Ditto.
7289         * elmo-date.el (toplevel): Ditto.
7290         * elmo-dop.el (toplevel): Ditto.
7291         * elmo-filter.el (toplevel): Ditto.
7292         * elmo-imap4.el (toplevel): Ditto.
7293         * elmo-internal.el (toplevel): Ditto.
7294         * elmo-localdir.el (toplevel): Ditto.
7295         * elmo-localnews.el (toplevel): Ditto.
7296         * elmo-maildir.el (toplevel): Ditto.
7297         * elmo-msgdb.el (toplevel): Ditto.
7298         * elmo-multi.el (toplevel): Ditto.
7299         * elmo-net.el (toplevel): Ditto.
7300         * elmo-nntp.el (toplevel): Ditto.
7301         * elmo-pipe.el (toplevel): Ditto.
7302         * elmo-pop3.el (toplevel): Ditto.
7303         * elmo-util.el (toplevel): Ditto.
7304         * elmo-vars.el (toplevel): Ditto.
7305         * elmo2.el (toplevel): Ditto.
7306         * mmelmo-imap4.el (toplevel): Ditto.
7307         * mmelmo.el (toplevel): Ditto.
7308
7309         * elmo-version.el (elmo-version): Move to top.
7310
7311         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7312         * elmo-imap4.el (toplevel): Ditto.
7313         * elmo-localdir.el (toplevel): Ditto.
7314         * elmo-msgdb.el (toplevel): Ditto.
7315         * elmo-nntp.el (toplevel): Ditto.
7316         * elmo-pop3.el (toplevel): Ditto.
7317         * elmo-version.el (toplevel): Ditto.
7318
7319         * elmo-localnews.el (toplevel): Added Keyword header.
7320
7321 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7322
7323         * elmo-version.el (product-version-as-string): Defined using
7324         `defun-maybe'.
7325         (toplevel): Use it.
7326
7327         * elmo-localdir.el (toplevel): Updated copyright notice.
7328         * elmo-version.el (toplevel): Ditto.
7329         * elmo-msgdb.el (toplevel): Ditto.
7330         * elmo-imap4.el (toplevel): Ditto.
7331         * elmo-nntp.el (toplevel): Ditto.
7332         * elmo-pop3.el (toplevel): Ditto.
7333
7334 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7335
7336         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7337         messages.
7338
7339         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7340         parameter value (It sometimes contains raw kanji).
7341
7342 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7343
7344         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7345         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7346
7347 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7348
7349         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7350
7351 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7352
7353         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7354         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7355
7356 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7357
7358         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7359         value if selecting folder succceeded.
7360         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7361
7362 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7363
7364         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7365         representation.
7366
7367         * elmo-util.el (elmo-string-matched-member): New function.
7368
7369 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7370
7371         * elmo-util.el (elmo-unintern): New macro.
7372         (elmo-number-set-member): Fixed docstring.
7373
7374         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7375         tag token.
7376
7377 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7378
7379         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7380         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7381
7382 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7383
7384         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7385         `no-error'.
7386         Added docstring.
7387         Return non-nil if selecting folder succeeded.
7388         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7389
7390 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7391
7392         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7393         `file-name-completion' returns t.
7394         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7395         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7396         directory if it does not exist.
7397         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7398         for iteration.
7399
7400 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7401
7402         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7403         enclosure (It's harmful in unplugged status).
7404
7405         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7406
7407         * mmelmo-1.el: Removed.
7408
7409         * mmelmo-2.el: Ditto.
7410
7411         * mmelmo-imap4-1.el: Ditto.
7412
7413         * mmelmo-imap4-2.el: Ditto.
7414
7415         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7416
7417         * mmelmo.el: Merged mmelmo-2.el.
7418
7419         * elmo-version.el (elmo-version): Up to 2.3.92.
7420
7421 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7422
7423         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7424         elmo-update-number): Remove last period in "...done." message.
7425         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7426         Ditto.
7427         * elmo-cache.el (elmo-cache-expire-by-size,
7428         elmo-cache-get-sorted-cache-file-list,
7429         elmo-cache-msgdb-create-as-numlist): Ditto.
7430         * elmo-dop.el (elmo-dop-save-pending-messages,
7431         (elmo-dop-flush-pending-append-operations): Ditto.
7432         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7433         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7434         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7435         (elmo-localdir-pack-number): Ditto.
7436         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7437         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7438         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7439         mime-write-entity-content): Ditto.
7440         * pldap.el (ldap-search-basic): Ditto.
7441
7442 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7443
7444         * elmo-version.el (elmo-version): Up to 2.3.91.
7445
7446         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7447         Only when filter is 'last'.
7448
7449         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7450         (elmo-condition-parse-search-value): Use it.
7451         (elmo-read-search-condition-internal): Quote value only when
7452         it is not an atom.
7453
7454 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7455
7456         * elmo2.el (elmo-generic-folder-diff): Fix.
7457
7458 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7459
7460         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7461         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7462         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7463         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7464         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7465         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7466
7467 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7468
7469         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7470         extra-fields.
7471
7472 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7473
7474         * elmo-version.el (elmo-version): Up to 2.3.90.
7475
7476         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7477         (elmo-imap4-list-folder-important): Ditto.
7478
7479 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7480
7481         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7482
7483 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7484
7485         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7486
7487 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7488
7489         * elmo-nntp.el (elmo-network-initialize-session):
7490         Add starttls negotiation.
7491
7492 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7493
7494         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7495         response.
7496         (elmo-network-setup-session): Define.
7497         Call `elmo-nntp-send-mode-reader' when session opened.
7498
7499 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7500
7501         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7502
7503 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7504
7505         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7506         an invalid SPACE character ahead of `SEARCH' command.  Move
7507         a valid SPACE character following `SEARCH' from conditional
7508         `format' arguments to control-strings.
7509
7510 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7511
7512         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7513         was succeeded.
7514
7515         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7516
7517 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7518
7519         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7520         `w32-get-true-file-link-count' as t.
7521
7522         * elmo-imap4.el (elmo-imap4-read): Abolished.
7523         (Renamed to `elmo-read' and moved to elmo-util.el)
7524         All other related portions are changed.
7525
7526         * elmo-util.el (elmo-read): New function.
7527         (elmo-condition-parse-search-value): Use it.
7528
7529 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7530
7531         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7532
7533         * elmo-nntp.el (elmo-nntp-session): Define.
7534         (elmo-nntp-setting): Abolished.
7535         All other related portions are changed.
7536         (elmo-nntp-get-server-command): Changed argument.
7537         (elmo-nntp-set-server-command): Ditto.
7538         (elmo-nntp-xover-p): Ditto.
7539         (elmo-nntp-set-xover): Ditto.
7540         (elmo-nntp-listgroup-p): Ditto.
7541         (elmo-nntp-set-listgroup): Ditto.
7542         (elmo-nntp-list-active-p): Ditto.
7543         (elmo-nntp-set-list-active): Ditto.
7544         (elmo-nntp-xhdr-p): Ditto.
7545         (elmo-nntp-set-xhdr): Ditto.
7546         (elmo-nntp-flush-connection): Abolished.
7547         (elmo-nntp-get-connection): Abolished.
7548         (elmo-nntp-get-session): New function.
7549         (elmo-network-initialize-session): Defined.
7550         (elmo-network-authenticate-session): Ditto.
7551         (elmo-nntp-send-mode-reader): Changed argument.
7552         (elmo-nntp-send-command): Changed argument.
7553         All other related portions are changed.
7554         (elmo-nntp-read-response): Ditto.
7555         (elmo-nntp-read-raw-response): Ditto.
7556         (elmo-nntp-read-contents): Ditto.
7557         (elmo-nntp-read-body): Ditto.
7558         (elmo-nntp-goto-folder): Abolished.
7559         (elmo-nntp-select-group): New function.
7560         All other related portions are changed.
7561         (This function substitutes `elmo-nntp-goto-folder')
7562         (elmo-nntp-msgdb-create-by-header): Rewrite.
7563         (elmo-nntp-get-overview): Eliminated.
7564         (elmo-nntp-get-message): Ditto.
7565         (elmo-nntp-open-connection) Abolished.
7566         (elmo-nntp-read-msg): Rewrite.
7567         (elmo-nntp-post): Ditto.
7568         (elmo-nntp-send-data): Abolished.
7569         (elmo-nntp-send-buffer): New function.
7570         (elmo-nntp-send-data-line): Define as inline function.
7571         (elmo-nntp-get-folders-info-prepare): Use session as key.
7572         (elmo-nntp-groups-read-response): Changed argument.
7573         (elmo-nntp-retrieve-headers): Ditto.
7574         (elmo-nntp-msgdb-create-message): Ditto.
7575
7576         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7577         when searching by 'since' or 'before'.
7578
7579 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7580
7581         * elmo-version.el (toplevel): Use product-version-as-string for set
7582         verstion-string, if defined.
7583
7584 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7585
7586         * elmo-util.el: Doc fixes.
7587
7588 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7589
7590         * elmo-archive.el (toplevel): Use product-provide.
7591         * elmo-cache.el (toplevel): Ditto.
7592         * elmo-database.el (toplevel): Ditto.
7593         * elmo-date.el (toplevel): Ditto.
7594         * elmo-dop.el (toplevel): Ditto.
7595         * elmo-filter.el (toplevel): Ditto.
7596         * elmo-imap4.el (toplevel): Ditto.
7597         * elmo-internal.el (toplevel): Ditto.
7598         * elmo-localdir.el (toplevel): Ditto.
7599         * elmo-localnews.el (toplevel): Ditto.
7600         * elmo-maildir.el (toplevel): Ditto.
7601         * elmo-msgdb.el (toplevel): Ditto.
7602         * elmo-multi.el (toplevel): Ditto.
7603         * elmo-net.el (toplevel): Ditto.
7604         * elmo-nntp.el (toplevel): Ditto.
7605         * elmo-pipe.el (toplevel): Ditto.
7606         * elmo-pop3.el (toplevel): Ditto.
7607         * elmo-util.el (toplevel): Ditto.
7608         * elmo-vars.el (toplevel): Ditto.
7609         * elmo2.el (toplevel): Ditto.
7610         * mmelmo-1.el (toplevel): Ditto.
7611         * mmelmo-2.el (toplevel): Ditto.
7612         * mmelmo-imap4-1.el (toplevel): Ditto.
7613         * mmelmo-imap4-2.el (toplevel): Ditto.
7614         * mmelmo-imap4.el (toplevel): Ditto.
7615         * mmelmo.el (toplevel): Ditto.
7616
7617 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7618
7619         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7620         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7621
7622 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7623
7624         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7625         before splitting.
7626         (elmo-multi-split-number-alist): Ditto.
7627
7628 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7629
7630         * elmo-version.el: New file.  Use product.el.
7631         * elmo2.el: Add (require 'elmo-version).
7632         * elmo-vars.el (elmo-appname, elmo-version): Move to
7633         elmo-version.el
7634
7635 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7636
7637         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7638         `elmo-msgdb-expand-path'.
7639         (elmo-msgdb-load): Ditto.
7640         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7641         (elmo-generic-list-folder-unread): Rewrite.
7642         (elmo-generic-list-folder-important): Changed argument.
7643         (elmo-list-folder-unread): Ditto.
7644         (elmo-list-folder-important): Ditto.
7645         (elmo-folder-diff): Rewrite.
7646         (elmo-generic-folder-diff): New function.
7647         (elmo-multi-get-number-alist-list): Abolished
7648         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7649         (elmo-multi-folder-diff): Moved to elmo-multi.el
7650         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7651
7652         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7653         `elmo-msgdb-expand-path'.
7654         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7655         (elmo-pop3-read-msg): Ditto.
7656         (elmo-pop3-delete-msgs): Ditto.
7657         (elmo-pop3-folder-diff): New alias.
7658
7659         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7660         `elmo-msgdb-expand-path'.
7661         (elmo-pipe-list-folder-unread): Changed arguments.
7662         (elmo-pipe-list-folder-important): Ditto.
7663         (elmo-pipe-folder-diff): New alias.
7664
7665         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7666         `elmo-msgdb-expand-path'.
7667         (elmo-nntp-max-of-folder): Ditto.
7668         (elmo-nntp-msgdb-create): Ditto.
7669         (elmo-nntp-delete-msgs): Ditto.
7670         (elmo-nntp-folder-diff): New alias.
7671
7672         * elmo-multi.el (elmo-multi-folder-diff): New function.
7673         (elmo-multi-split-mark-alist): Ditto.
7674         (elmo-multi-split-number-alist): Ditto.
7675         (elmo-multi-mark-alist-list): Abolished (Renamed to
7676         elmo-multi-split-mark-alist).
7677         (elmo-multi-list-folder-unread): Rewrite.
7678         (elmo-multi-list-folder-important): Ditto.
7679         (elmo-multi-list-folder): Set `spec' as 1st argument for
7680         `elmo-msgdb-expand-path'.
7681         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7682         instead of `elmo-multi-get-number-alist-list'.
7683
7684         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7685         If 1st argument is not string, treat as spec.
7686         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7687         `elmo-msgdb-expand-path'.
7688         (elmo-msgdb-flist-load): Ditto.
7689         (elmo-msgdb-flist-save): Ditto.
7690         (elmo-msgdb-delete-path): Ditto.
7691         (elmo-msgdb-rename-path): Ditto.
7692
7693         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7694         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7695         (elmo-maildir-delete-mark-msgs): Ditto.
7696         (elmo-maildir-msgdb-create): Ditto.
7697         (elmo-maildir-read-msg): Ditto.
7698         (elmo-maildir-delete-msgs): Ditto.
7699         (elmo-maildir-list-folder-subr): Ditto.
7700         (elmo-maildir-search): Ditto.
7701         (elmo-maildir-get-msg-filename): Ditto.
7702         (elmo-maildir-pack-number): Ditto.
7703         (elmo-maildir-folder-diff): New alias.
7704
7705         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7706
7707         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7708         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7709         (elmo-localdir-folder-diff): New alias.
7710
7711         * elmo-internal.el (elmo-internal-list-folder-subr):
7712         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7713         (elmo-internal-list-folder-by-location): Ditto.
7714         (elmo-internal-msgdb-create): Ditto.
7715         (elmo-internal-delete-msgs): Ditto.
7716         (elmo-internal-read-msg): Ditto.
7717         (elmo-internal-folder-diff): New alias.
7718
7719         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7720         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7721         `elmo-msgdb-expand-path'.
7722         (elmo-imap4-list-folder-unread): Changed arguments.
7723         (elmo-imap4-list-folder-important): Ditto.
7724
7725         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7726         (elmo-filter-list-folder-important): Ditto.
7727         (elmo-filter-folder-diff): New function.
7728
7729         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7730
7731         * elmo-cache.el (elmo-cache-list-folder):
7732         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7733         (elmo-cache-copy-msgs): Ditto.
7734         (elmo-cache-folder-diff): New alias.
7735
7736         * elmo-archive.el (elmo-archive-list-folder-subr):
7737         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7738         (elmo-archive-get-archive-name): Ditto.
7739         (elmo-archive-create-file): Ditto.
7740         (elmo-archive-append-msg): Ditto.
7741         (elmo-archive-copy-msgs): Ditto.
7742         (elmo-archive-copy-msgs-froms): Ditto.
7743         (elmo-archive-get-msg-filename): Ditto.
7744         (elmo-archive-folder-diff): New alias.
7745
7746 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7747
7748         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7749         (elmo-pop3-stream-type-alist): New variable.
7750         (elmo-nntp-stream-type-alist): New variable.
7751
7752         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7753         (elmo-kill-buffer): Ditto.
7754         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7755         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7756         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7757         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7758         (elmo-imap4-get-spec): Take into account
7759         `elmo-imap4-stream-type-alist'.
7760
7761 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7762
7763         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7764         (elmo-nntp-list-folders-get-cache): Ditto.
7765
7766 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7767
7768         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7769         character before 'uid'.
7770
7771 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7772
7773         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7774
7775         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7776
7777         * elmo-util.el (elmo-number-set-member): New function.
7778         (elmo-number-set-append-list): Ditto.
7779         (elmo-number-set-append): Ditto.
7780
7781         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7782         Use `elmo-number-set-member'.
7783         (elmo-living-messages): Ditto.
7784         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7785         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7786
7787         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7788         (elmo-imap4-add-to-cont-list): Abolished.
7789         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7790         instead of elmo-imap4-add-to-cont-list.
7791
7792         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7793         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7794
7795         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7796
7797 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7798
7799         * elmo-util.el (elmo-condition-parse-search-value):
7800         Fixed date parsing.
7801
7802 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7803
7804         * elmo-util.el (elmo-condition-find-key-internal): New function.
7805         (elmo-condition-find-key): Ditto.
7806
7807         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7808         (elmo-msgdb-search-internal): Ditto.
7809         (elmo-msgdb-search): Ditto.
7810
7811 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7812
7813         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7814         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7815
7816         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7817         (elmo-nntp-search-primitive): Fixed problem when condition is
7818         'unmatch'.
7819
7820         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7821
7822         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7823         (elmo-nntp-xhdr-p): New macro.
7824         (elmo-nntp-set-xhdr): Ditto.
7825         (elmo-nntp-parse-xhdr-response): New function.
7826         (elmo-nntp-retrieve-field): Ditto.
7827         (elmo-nntp-search-primitive): Ditto.
7828         (elmo-nntp-search): Implemented.
7829
7830         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7831
7832         * elmo-archive.el (elmo-archive-search): Set all number list to
7833         `elmo-archive-field-condition-match'
7834
7835         * elmo-localdir.el (elmo-localdir-search): Likewise.
7836
7837         * elmo-maildir.el (elmo-maildir-search): Likewise.
7838
7839 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7840
7841         * elmo-msgdb.el (elmo-living-messages): New function.
7842         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7843         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7844         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7845         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7846         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7847         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7848         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7849         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7850         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7851         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7852         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7853
7854 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7855
7856         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7857
7858         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7859
7860         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7861
7862         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7863         arguments for `SEARCH' command.
7864         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7865         All other related portions are changed.
7866
7867         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7868
7869         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7870         (elmo-list-folder-unread): Rewrite.
7871         (elmo-list-folder-important): Ditto.
7872
7873         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7874         (elmo-condition-parse-error): New inline function.
7875         (elmo-read-search-condition): New function.
7876         (elmo-read-search-condition-internal): Ditto.
7877         (elmo-parse-search-condition): Rewrite.
7878         (elmo-condition-parse): New function.
7879         (elmo-condition-parse-or-expr): Ditto.
7880         (elmo-condition-parse-and-expr): Ditto.
7881         (elmo-condition-parse-primitive): Ditto.
7882         (elmo-condition-parse-search-value): Ditto.
7883         (elmo-buffer-field-primitive-condition-match): Ditto.
7884         (elmo-buffer-field-condition-match): Rewrite.
7885         (elmo-file-field-condition-match): Ditto.
7886
7887         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7888         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7889
7890         * elmo-internal.el (elmo-internal-search): Set `number' and
7891         `number-list' argument of `elmo-file-field-condition-match'.
7892
7893         * elmo-maildir.el (elmo-maildir-search): Ditto.
7894
7895         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7896         `msgdb' as argument instead of `mark-alist'.
7897         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7898         `overview'.
7899
7900         * elmo-multi.el: Likewise.
7901
7902         * elmo-pipe.el: Likewise.
7903
7904         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7905         (elmo-imap4-search-internal): Rewrite.
7906         (elmo-imap4-search): Ditto.
7907
7908         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7909         (elmo-filter-list-folder-unread): Ditto.
7910         (elmo-filter-list-folder-important): Ditto.
7911         (elmo-filter-search): Rewrite.
7912
7913         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7914         `number-list' argument of `elmo-file-field-condition-match'.
7915         (elmo-cache-search): Ditto.
7916
7917         * elmo-localdir.el: Likewise.
7918
7919         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7920         number-list and pass it to `elmo-buffer-field-condition-match'.
7921         (elmo-archive-field-condition-match): Pass `number-list' to
7922         `elmo-archive-field-condition-match'
7923
7924 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7925
7926         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7927         `listgroup'.
7928
7929         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7930         (elmo-folder-diff-async-callback-data): Ditto.
7931         (elmo-folder-diff-async): New function.
7932
7933         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7934         (elmo-network-session-cache-key): Use it as a prefix of the session
7935         name.
7936         (elmo-network-open-session): Ditto.
7937
7938         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7939         (elmo-imap4-status-callback-data): Ditto.
7940         (elmo-imap4-server-diff-async-callback): New variable.
7941         (elmo-imap4-server-diff-async-callback-data): Ditto.
7942         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7943         `elmo-imap4-status-callback-data'.
7944         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7945         `elmo-imap4-status-callback-data' as nil.
7946         (elmo-imap4-server-diff): Ditto.
7947         (elmo-imap4-server-diff-async-callback-1): New function.
7948         (elmo-imap4-server-diff-async): Ditto.
7949         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7950
7951 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7952
7953         * elmo-util.el (elmo-list-delete): Doc fix.
7954         (elmo-delete-lists): Abolish.
7955         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7956         instead of `elmo-delete-lists'.
7957
7958 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7959
7960         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7961         before `sort'.
7962
7963 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7964
7965         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7966         `elmo-imap4-literal-subr'.
7967         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7968         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7969
7970 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7971
7972         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7973         (elmo-archive-list-folder): Fix.
7974         (elmo-archive-max-of-folder): Fix.
7975
7976 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7977
7978         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7979          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7980         (elmo-localdir-append-msg): Ditto.
7981         (elmo-localdir-list-folder): Fix for `nonsort'.
7982         (elmo-localdir-list-folder-subr): Fix for `killed'.
7983         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7984         (elmo-maildir-list-folder-subr): Ditto.
7985         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7986         (elmo-archive-list-folder-subr): Ditto.
7987         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7988         (elmo-internal-list-folder-subr): Ditto.
7989
7990 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
7991
7992         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7993
7994 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
7995
7996         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7997
7998 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
7999
8000         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8001         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8002
8003         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8004         before greeting.
8005         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8006         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8007
8008 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8009
8010         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8011
8012         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8013         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8014         before STORE command.
8015
8016 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8017
8018         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8019
8020         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8021         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8022         of `response'.
8023         (elmo-imap4-list-folders): Removed unused local variable.
8024         (elmo-network-initialize-session): Ditto.
8025         (elmo-imap4-delete-msg-by-id): Ditto.
8026         (elmo-imap4-parse-fetch): Ditto.
8027         (elmo-imap4-copy-msgs): Ditto.
8028         Use `dst-spec' instead of `dst-folder'.
8029         (elmo-network-authenticate-session): Check authenticate type `plain'.
8030
8031 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8032
8033         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8034         garbage checking.
8035         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8036         `elmo-imap4-response-value'.
8037         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8038
8039 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8040
8041         * elmo-imap4.el (elmo-imap4-send-command):
8042         Cause elmo-imap4-bye-error when current response is BYE.
8043         (elmo-imap4-arrival-filter): Changed greeting response value.
8044
8045         * elmo2.el (elmo-imap4-bye-error): Define.
8046
8047         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8048         (elmo-imap4-server-diff): Ditto.
8049         (elmo-imap4-response-bye-p): New macro.
8050         (elmo-imap4-response-error-text): Get text from BYE response.
8051         (elmo-imap4-read-response): Return if BYE response.
8052         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8053         (elmo-imap4-folder-exists-p): Ditto.
8054         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8055         (elmo-imap4-parse-bye): New function.
8056         (elmo-imap4-parse-response): Remove needless let.
8057         Call `elmo-imap4-parse-bye'.
8058
8059 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8060
8061         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8062         the mailbox does not exist.
8063         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8064
8065 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8066
8067         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8068
8069 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8070
8071         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8072
8073         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8074         (elmo-network-initialize-session-buffer): Defined.
8075
8076         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8077         Abolished.
8078         (mmelmo-imap4-get-mime-entity): Rewrite.
8079
8080         * elmo2.el (elmo-error): Capitalize error message.
8081
8082         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8083         (elmo-network-session-buffer): New macro.
8084         (elmo-network-open-session): Use it.
8085
8086         * elmo-imap4.el: Rewrite.
8087
8088 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8089
8090         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8091
8092 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8093
8094         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8095         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8096         (elmo-imap4-create-msgdb-from-overview-string): Use
8097         `elmo-msgdb-create-overview-from-buffer'.
8098
8099 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8100
8101         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8102         (elmo-imap4-default-hierarchy-delimiter): New variable.
8103         (elmo-imap4-list-folders): Use it.
8104
8105 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8106
8107         * elmo-net.el (elmo-network-open-session): Add user and
8108         stream-type for process-buffer name.
8109
8110         * elmo-pop3.el (elmo-network-initialize-session): Call
8111         buffer-disable-undo.
8112
8113         * elmo-imap4.el (elmo-network-initialize-session):
8114         Set current-buffer as an argument for `buffer-disable-undo'.
8115
8116         * elmo-pop3.el (elmo-network-close-session): Don't use
8117         `process-live-p'.
8118
8119         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8120         Set default as 'user.
8121
8122         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8123
8124         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8125         and `elmo-imap4-flush-connection'.
8126
8127         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8128         (elmo-pop3-get-spec): Assume auth as symbol.
8129         (elmo-open-network-stream): Moved to `elmo-net'.
8130
8131         * elmo-pop3.el (toplevel): Require 'elmo-net.
8132         Define `sasl-cram-md5' to silence byte compilier.
8133         (elmo-pop3-connection-cache) Abolished.
8134         (elmo-pop3-authenticator-alist) New variable.
8135         (elmo-pop3-session): Define.
8136         (elmo-pop3-connection-get-process): Abolished.
8137         (elmo-pop3-connection-get-buffer): Ditto.
8138         (elmo-pop3-close-connection): Ditto.
8139         (elmo-pop3-flush-connection): Ditto.
8140         (elmo-pop3-get-connection): Ditto.
8141         (elmo-pop3-get-session): New function.
8142         (Replacement for `elmo-pop3-get-connection').
8143         All other related modules are changed.
8144         (elmo-network-close-session): Define.
8145         (elmo-pop3-send-command): Abolished argument `buffer'.
8146         All other related modules are changed.
8147         (elmo-pop3-read-response): Likewise.
8148         (elmo-pop3-open-connection): Abolished.
8149         (elmo-pop3-auth-user): New function.
8150         (elmo-pop3-auth-apop): Ditto.
8151         (elmo-pop3-auth-cram-md5): Ditto.
8152         (elmo-pop3-auth-scram-md5): Ditto.
8153         (elmo-pop3-auth-digest-md5): Ditto.
8154         (elmo-network-initialize-session): Define.
8155         (elmo-network-authenticate-session): Ditto.
8156         (elmo-network-setup-session): Ditto.
8157
8158         * elmo-imap4.el (toplevel): Require 'elmo-net.
8159         (elmo-imap4-session): Define.
8160         (elmo-imap4-connection-cache): Abolished.
8161         (elmo-imap4-password-key): Ditto.
8162         (elmo-imap4-flush-connection): Ditto.
8163         (elmo-imap4-get-connection): Ditto.
8164         All other related modules are changed.
8165         (elmo-imap4-get-session): New function
8166         (Replacement for `elmo-imap4-get-connection').
8167         (elmo-imap4-read-response): Abolished argument `buffer'.
8168         All other related modules are changed.
8169         (elmo-imap4-send-command): Likewise.
8170         (elmo-imap4-select-folder): Abolished.
8171         All other related modules are changed.
8172         (elmo-imap4-select-mailbox): New function.
8173         (Replacement for `elmo-imap4-select-folder').
8174         (elmo-imap4-auth-login): Simplify.
8175         (Assume current buffer as process buffer)
8176         (elmo-imap4-auth-cram-md5): Ditto.
8177         (elmo-imap4-auth-digest-md5): Ditto.
8178         (elmo-imap4-login): Ditto.
8179         (elmo-imap4-open-connection): Abolished.
8180         (elmo-imap4-open-connection-1): Abolished.
8181         (elmo-network-initialize-sessoin): Define.
8182         (elmo-network-authenticate-session): Ditto.
8183         (elmo-network-setup-session): Ditto.
8184
8185         * elmo-net.el: New module.
8186
8187 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8188
8189         * elmo-util.el (elmo-define-error): New function.
8190
8191         * elmo2.el (elmo-error): Define.
8192         (elmo-open-error): Define.
8193         (elmo-authenticate-error): Define.
8194
8195         * elmo-imap4.el (elmo-imap4-error): Abolish.
8196         (elmo-imap4-error-type): Abolish.
8197         (elmo-imap4-error-process): Abolish.
8198         (elmo-imap4-error-message): Abolish
8199         (elmo-imap4-list-folders): Don't quote lambda.
8200         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8201         (elmo-imap4-parse-namespace): Ditto.
8202         (elmo-imap4-open-connection): Rewrite.
8203         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8204         (elmo-imap4-get-connection): Abolish local variable `result'.
8205
8206 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8207
8208         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8209         wrong-type-argument error when auth is nil.
8210
8211 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8212
8213         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8214         (elmo-default-nntp-stream-type): Ditto.
8215         (elmo-default-pop3-stream-type): Ditto.
8216         (elmo-network-stream-type-alist): Ditto.
8217         (elmo-default-imap4-ssl): Abolished.
8218         (elmo-default-nntp-ssl): Ditto.
8219         (elmo-default-pop3-ssl): Ditto.
8220
8221         * elmo-util.el: (toplevel): Removed needless requires.
8222         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8223         (elmo-open-network-stream): Open network stream according to
8224         the value of `elmo-network-stream-type-alist'.
8225         (elmo-get-network-stream-type): New function.
8226         (elmo-network-stream-type-spec-string): New macro.
8227         (elmo-network-stream-type-symbol): Ditto.
8228         (elmo-network-stream-type-function): Ditto.
8229
8230         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8231         network-stream-type. All other related portions are changed.
8232         (elmo-pop3-open-connection): Ditto.
8233
8234         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8235         network-stream-type. All other related portions are changed.
8236
8237         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8238         network-stream-type.All other related portions are changed.
8239         (elmo-imap4-error): New macro.
8240         (elmo-imap4-error-type): Ditto.
8241         (elmo-imap4-error-process): Ditto.
8242         (elmo-imap4-error-message): Ditto.
8243         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8244         (elmo-imap4-auth-cram-md5): Ditto.
8245         (elmo-imap4-auth-digest-md5): Ditto.
8246         (elmo-imap4-login): Ditto.
8247         (elmo-imap4-open-connection): Remove password entry if authentication
8248         was in vain.
8249         (elmo-imap4-user-at-host): Abolished.
8250         (elmo-imap4-password-key): New buffer local variable.
8251         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8252         using protocol, port, auth and stream-type.
8253
8254         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8255
8256 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8257
8258         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8259
8260         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8261
8262         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8263         (elmo-imap4-authenticator-alist): New variable.
8264         (elmo-imap4-open-connection-1): Rename from
8265         elmo-imap4-open-connection.
8266         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8267         only wraps elmo-imap4-open-connection-1.
8268         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8269         user-at-host.
8270         (elmo-imap4-auth-login): New function.
8271         (elmo-imap4-auth-cram-md5): New function.
8272         (elmo-imap4-auth-digest-md5): New function.
8273         (elmo-imap4-login): New function.
8274
8275 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8276
8277         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8278         function `error'.
8279
8280 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8281
8282         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8283
8284 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8285
8286         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8287
8288 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8289
8290         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8291         for server responses, quote `*' regardless of where it appears.
8292
8293 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8294
8295         * elmo-maildir.el (elmo-maildir-commit): New alias.
8296
8297 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8298
8299         * elmo-util.el (elmo-display-progress):
8300                 Use `progress-feedback-with-label'.
8301
8302 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8303
8304         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8305         (elmo-imap4-non-atom-char-regex): Ditto.
8306         (elmo-imap4-non-text-char-regex): Ditto.
8307         (elmo-imap4-literal-threshold): Ditto.
8308         (elmo-imap4-atom-p): New function.
8309         (elmo-imap4-quotable-p): Ditto.
8310         (elmo-imap4-nil): Ditto.
8311         (elmo-imap4-atom): Ditto.
8312         (elmo-imap4-quoted): Ditto.
8313         (elmo-imap4-literal-subr): Ditto.
8314         (elmo-imap4-literal): Ditto.
8315         (elmo-imap4-buffer-literal): Ditto.
8316         (elmo-imap4-string-subr): Ditto.
8317         (elmo-imap4-string): Ditto.
8318         (elmo-imap4-buffer-string): Ditto.
8319         (elmo-imap4-astring-subr): Ditto.
8320         (elmo-imap4-astring): Ditto.
8321         (elmo-imap4-buffer-astring): Ditto.
8322         (elmo-imap4-nstring): Ditto.
8323         (elmo-imap4-buffer-nstring): Ditto.
8324         (elmo-imap4-mailbox): New alias.
8325         (elmo-imap4-field-body): Ditto.
8326         (elmo-imap4-userid): Ditto.
8327         (elmo-imap4-password): Ditto.
8328         (elmo-imap4-format-quoted): New function.
8329         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8330         arguments and handle "atom", "quoted" and "literal" string here.
8331         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8332         `elmo-imap4-send-command'.
8333         (elmo-imap4-folder-exists-p): Likewise.
8334         (elmo-imap4-create-folder): Likewise.
8335         (elmo-imap4-delete-folder): Likewise.
8336         (elmo-imap4-rename-folder): Likewise.
8337         (elmo-imap4-max-of-folder): Likewise.
8338         (elmo-imap4-check-validity): Likewise.
8339         (elmo-imap4-sync-validity): Likewise.
8340         (elmo-imap4-server-diff): Likewise.
8341         (elmo-imap4-select-folder): Likewise.
8342         (elmo-imap4-copy-msgs): Likewise.
8343         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8344         (elmo-imap4-mark-set-on-msgs): Likewise.
8345         (elmo-imap4-read-part): Likewise.
8346         (elmo-imap4-read-msg): Likewise.
8347         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8348         `elmo-imap4-password' for `elmo-imap4-send-command'.
8349         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8350         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8351         `elmo-imap4-buffer-literal'.
8352         (elmo-imap4-append-msg): Likewise.
8353
8354         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8355         `delete' for removing dead connection from the connection cache.
8356         Move deletion of the process buffer after that.
8357         (elmo-imap4-list): Change `defsubst' to `defun'.
8358         (elmo-imap4-commit): Make error message verbose.
8359         (elmo-imap4-search): Ditto.
8360         (elmo-imap4-list): Ditto.
8361         (elmo-imap4-select-folder): Ditto.
8362         (elmo-imap4-copy-msgs): Ditto.
8363         (elmo-imap4-delete-msg-by-id): Ditto.
8364         (elmo-imap4-append-msg-by-id): Ditto.
8365         (elmo-imap4-append-msg): Ditto.
8366
8367 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8368
8369         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8370         when dired is used on XEmacs.
8371
8372 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8373
8374         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8375         instead of `append'.
8376         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8377         `elmo-plugged-p' directly.
8378         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8379         of `elmo-plugged-p' directly.
8380
8381         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8382         Eliminate unused variable.  Use `memq' for checking a process status.
8383         Use `cons' instead of `append' for updating the connection cache.
8384         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8385         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8386
8387 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8388
8389         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8390         `elmo-imap4-read-point' exactly.
8391
8392         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8393         the local variable `folder' to `mailbox'.
8394         Rename the argument `fld' to `folder'.
8395
8396 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8397
8398         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8399         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8400
8401 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8402
8403         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8404         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8405         (elmo-pop3-uidl-number-hash): Ditto.
8406         (elmo-pop3-size-hash): Ditto.
8407         (elmo-pop3-uidl-done): Ditto.
8408         (elmo-pop3-list-done): Ditto.
8409         (elmo-pop3-connection-get-process): New defmacro.
8410         (elmo-pop3-connection-get-buffer): Ditto.
8411         (elmo-pop3-close-connection): Delete buffer and process.
8412         (elmo-pop3-flush-connection): Don't delete buffer and process.
8413         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8414         Setup UIDL and size hash.
8415         (elmo-pop3-send-command-no-erase): Deleted
8416         (elmo-pop3-send-command): Added optional argument `no-erase'.
8417         (elmo-pop3-parse-uidl-response): New function.
8418         (elmo-pop3-parse-list-response): Set size hash.
8419         (elmo-pop3-list-location): New function.
8420         (elmo-pop3-list-by-uidl-subr): Ditto.
8421         (elmo-pop3-list-by-list): Ditto.
8422         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8423         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8424         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8425         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8426         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8427         Use uidl.
8428         (elmo-pop3-uidl-to-number): New function.
8429         (elmo-pop3-number-to-uidl): Ditto.
8430         (elmo-pop3-number-to-size): Ditto.
8431         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8432         Set number by use of uidl.
8433         (elmo-pop3-msgdb-create-message): Likewise.
8434         Set size, loc-alist in msgdb.
8435         (elmo-pop3-read-msg): Set number by use of uidl.
8436         Added optional argument `msgdb'.
8437         (elmo-pop3-delete-msg): Ditto.
8438         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8439         (elmo-pop3-commit): Close connection.
8440
8441         * elmo-pipe.el (elmo-pipe-max-of-folder):
8442         Bind `elmo-pop3-use-uidl' as nil.
8443         (elmo-pipe-drain): Ditto.
8444         Call `elmo-commit'.
8445
8446         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8447         (elmo-msgdb-overview-entity-set-size): New defsubst.
8448
8449 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8450
8451         * elmo-vars.el (elmo-use-killed-list): New variable
8452         (Renamed from `elmo-nntp-use-killed-list').
8453         (elmo-nntp-use-killed-list): Eliminated.
8454
8455         * elmo-msgdb.el (elmo-msgdb-expand-path):
8456         Changed expanding msgdb path for elmo-multi.
8457
8458         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8459         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8460         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8461         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8462         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8463         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8464         (toplevel): Deleted time-stamp line.
8465
8466         * elmo2.el (elmo-clear-killed ): Defined as function
8467         (Abolished defining as a backend function).
8468         All other related modules are changed.
8469
8470 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8471
8472         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8473
8474 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8475
8476         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8477
8478 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8479
8480         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8481
8482 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8483
8484         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8485         asynchronous folder check.
8486
8487         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8488
8489         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8490         `elmo-nntp-use-killed-list'.
8491         (elmo-nntp-list-folder): Use killed list.
8492         (elmo-nntp-max-of-folder): Ditto.
8493         (elmo-nntp-msgdb-create): Set killed list.
8494
8495         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8496
8497         * elmo2.el (elmo-clear-killed): New backend function.
8498         All other related modules are changed.
8499
8500 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8501
8502         * elmo-util.el (elmo-imap4-spec-folder): Use
8503         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8504         All callers changed.
8505
8506 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8507
8508         * mmelmo-2.el (initialize-instance):
8509         Use `mime-buffer-entity-buffer-internal' instead of
8510         `mime-entity-buffer'.
8511
8512         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8513         (mime-entity-body): Implemented.
8514         (mime-goto-header-start-point): Deleted.
8515         (mime-goto-body-end-point): Ditto.
8516         (mime-entity-point-min): Ditto.
8517         (mime-entity-point-max): Ditto.
8518         (mime-entity-children): Ditto.
8519         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8520         instead of `mime-entity-buffer'.
8521         (mime-entity-header-buffer): Ditto.
8522         (mime-entity-body-buffer): Ditto.
8523         (mime-write-entity-content): Ditto.
8524
8525         * pldap.el (ldap-static-if): New macro.
8526         (toplevel): Use it instead of `static-if'.
8527
8528 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8529
8530         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8531         included in `attrs' argument.
8532
8533 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8534
8535         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8536
8537         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8538         (ldap-ldif-safe-init-char-regexp): Ditto.
8539         (ldap-ldif-safe-string-regexp): Ditto.
8540         (ldap/ldif-safe-string-p): New macro.
8541         (ldap/ldif-insert-field): Ditto.
8542         (ldap-modify): Use it.
8543         (ldap-add): Ditto.
8544         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8545         (ldap-decode-attribute): Decode only when `attr' is consp.
8546         (ldap-delete): Bind `ret'.
8547         (toplevel): Require 'cl at compile time.
8548         Removed (require 'poe) and (require 'std11).
8549         (pldap-version): Eliminated.
8550         (ldap-search-basic): Removed auth and dn binding.
8551         (ldap-ldif-field-name-regexp): New constant.
8552         (ldap-ldif-field-head-regexp): Ditto.
8553         (ldap-ldif-next-field-head-regexp): Ditto.
8554         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8555         (ldap/field-end): New function.
8556         (ldap/field-body): Use it.
8557         (ldap/collect-field): Ditto.
8558         (ldap-search-basic): Use `ldap/field-body'.
8559
8560 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8561
8562         * pldap.el (ldap-default-attribute-encoder): New user option.
8563         (ldap/field-body): Decode base64 string.
8564         (ldap/collect-field): Ditto.
8565         (ldap-encode-attribute): New function.
8566         (ldap-add-entries): Use it.
8567         (ldap-modify-entries): Ditto.
8568         (ldap-search-entries): Enclosed decoding function with
8569         `with-temp-buffer' and set as unibyte.
8570         (ldap-search-basic): Set process buffer as unibyte.
8571
8572         * elmo-util.el (elmo-folder-identical-system-p):
8573         Eliminated name space checking.
8574
8575         * pldap.el: New module.
8576         toplevel: Changed condition to detect built-in ldap feature.
8577         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8578         (ldap-add): Added error handling.
8579         (ldap-modify): Ditto.
8580         (ldap-delete): Ditto.
8581
8582 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8583
8584         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8585         Initialize local variables with `let'.  Inline a temporary
8586         variable for the progress percentage.  Sort `setq' to reduce
8587         function call in the while-loop.
8588
8589         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8590         into the conditional branch.
8591
8592 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8593
8594         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8595         Move a conditional out of the while-loop.
8596
8597 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8598
8599         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8600         elmo-msgdb-overview-get-entity-by-number.
8601         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8602         throw.
8603
8604 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8605
8606         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8607         the local variable for a packed number self descriptively.
8608
8609 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8610
8611         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8612         * elmo-localdir.el (elmo-localdir-pack-number): Use
8613         `elmo-msgdb-overview-get-entity' instead of
8614         `elmo-msgdb-overview-get-entity-by-number'.
8615         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8616         (elmo-msgdb-search-overview-entity): Removed.
8617         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8618         by message-id or number.
8619         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8620         instead of `elmo-msgdb-overview-get-entity-by-number'.
8621
8622 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8623
8624         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8625         non-nil, use hash table for overview.
8626         (elmo-hash-maximum-size): New variable.
8627         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8628         (elmo-msgdb-make-overview-hashtb): New function.
8629         (elmo-msgdb-clear-overview-hashtb): New function.
8630         (elmo-clear-hash-val): New macro.
8631         All other related modules are changed.
8632
8633 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8634
8635         * elmo2.el (elmo-move-msgs): If there's other message with
8636         same message-id, don't use cache.
8637
8638 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8639
8640         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8641         number is already packed.
8642
8643 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8644
8645         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8646
8647 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8648
8649         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8650         All other related modules are changed.
8651
8652 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8653
8654         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8655         of refiling failure on Maildir.
8656
8657 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8658
8659         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8660         decoded mime-charset with cache.
8661         (elmo-msgdb-overview-entity-get-from): Ditto.
8662         (elmo-msgdb-overview-entity-get-subject): Ditto.
8663         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8664
8665 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8666
8667         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8668         (elmo-remove-passwd): Fill password with 0 before erase.
8669         * elmo-vars.el (elmo-passwd-life-time): New variable.
8670
8671 \f
8672 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8673
8674         * elmo-cache.el (elmo-buffer-cache-add):
8675         Set message cache buffer as unibyte.
8676
8677 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8678
8679         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8680         become nil.
8681
8682 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8683
8684         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8685         when display is finished.
8686         (elmo-nntp-msgdb-create): Ditto.
8687         (elmo-nntp-groups-read-response): Ditto.
8688         (elmo-nntp-retrieve-headers): Ditto.
8689         (elmo-nntp-msgdb-create-message): Ditto.
8690         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8691         (elmo-pop3-msgdb-create-message): Ditto.
8692
8693 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8694
8695         * elmo-maildir.el (elmo-maildir-msgdb-create):
8696         Use `elmo-msgdb-sort-by-date'.
8697
8698 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8699
8700         * elmo2.el (elmo-read-msg-no-cache):
8701         Eliminated arguments after `outbuf'.
8702         Don't use cache even if it exists.
8703         (elmo-read-msg): Don't pass arguments after `outbuf' to
8704         `elmo-read-msg-no-cache'.
8705
8706 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8707
8708         * elmo-archive.el (elmo-archive-list-folders):
8709         Use `file-name-directory' if base folder does not exist.
8710
8711 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8712
8713         * elmo-archive.el (elmo-archive-list-folders): Don't use
8714         `file-name-directory'.
8715
8716 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8717
8718         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8719         If `force' is non-nil, try flushing all operation queues.
8720
8721 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8722
8723         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8724         as-binary-process.
8725
8726 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8727
8728         * elmo-util.el (elmo-display-progress): Fixed.
8729
8730 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8731
8732         * elmo-util.el (elmo-display-progress): New function.
8733         All other related modules are changed.