(elmo-net-folder-set-parameters): Rename argument
[elisp/wanderlust.git] / elmo / ChangeLog
1 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
4         `tokens' to `params'.
5
6 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
9         working buffer.
10
11 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
12
13         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
14         decide index.
15
16 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
17
18         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
19         Set default value as nil.
20         (toplevel): Register search engines by
21         `elmo-search-register-engine' if there are not defined.
22
23         * elmo.el (autoload): Added autoload setting for
24         `elmo-search-register-engine'.
25
26 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
27
28         * elmo.el (toplevel): `[' is redefined as the prefix of the search
29         folder instead of nmz folder.
30         (elmo-nmz-default-index-path): Added obsolete variable setting.
31         (elmo-nmz-index-alias-alist): Ditto.
32         (elmo-nmz-use-drive-letter): Ditto.
33
34         * elmo-search.el (elmo-search-register-engine): New function.
35
36         * elmo-nmz.el: Removed.
37
38         * elmo-version.el (elmo-version): Up to 2.15.2.
39
40 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
41
42         * elmo-search.el: New file.
43
44 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
45
46         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
47         condition `larger' and `smaller'.
48
49 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
50
51         * elmo-util.el (elmo-safe-filename): Rewrite to replace
52         `"' (double quote) into "_Q_".
53
54 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
55
56         * elmo-net.el (elmo-net-quote-chars): Abolish.
57         (elmo-net-format-quoted): Ditto.
58
59 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo.el (elmo-get-folder-function): New variable.
62         (elmo-get-folder): New function.
63         (elmo-folder-rename): Call `elmo-make-folder' with specified
64         mime-charset.
65
66         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
67         `elmo-make-folder'.
68         (elmo-split-subr): Ditto.
69
70         * elmo-multi.el (elmo-folder-initialize): Ditto.
71
72         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
73
74         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
75         (elmo-flag-get-folder): Ditto.
76
77         * elmo-filter.el (elmo-folder-initialize): Ditto.
78
79         * elmo-access.el (elmo-folder-initialize): Ditto.
80         (elmo-access-folder-update-children): Ditto.
81
82         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
83         (elmo-dop-queue-flush): Ditto.
84         (elmo-folder-append-buffer-dop-delayed): Ditto.
85         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
86         mime-charset.
87
88         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
89         instead of `elmo-make-folder'.
90         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
91         destination folder instead of send `elmo-folder-rename-internal'.
92
93         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
94         slot of subfolder instead of create it.
95
96 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
97
98         * elmo-util.el (elmo-collect-separators): New function.
99         (elmo-collect-separators-internal): Ditto.
100         (elmo-collect-trail-separators): Ditto.
101         (elmo-parse-separated-tokens): Ditto.
102         (elmo-parse-separated-tokens-internal): Ditto.
103         (elmo-quote-syntactical-element): Ditto.
104
105         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
106         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
107
108         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
109         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
110         (elmo-nntp-folder-list-subfolders): Quote a user name.
111
112         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
113         (elmo-net-parse-network): Abolish.
114         (elmo-net-folder-set-parameters): New function.
115         (elmo-folder-initialize): Follow the above change.
116
117         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
118         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
119         (elmo-folder-list-subfolders): Use
120         `elmo-quote-syntactical-element' instead of
121         `elmo-net-format-quoted' to quote mailbox and user name.
122
123 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
124
125         * elmo-util.el (elmo-token-valid-p): New function.
126         (elmo-parse-token): Add optional argument `requirement'.
127         (elmo-parse-prefixed-element): Likewise.
128
129         * elmo-net.el (elmo-net-quote-chars): Renamed from
130         `elmo-net-quote-chars-regexp'.
131         (elmo-net-format-quoted): Add optional argument `extra-chars'.
132
133         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
134         by info document. Check token `uidl' is started an alphabet.
135
136         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
137         by info document. Check token `user' is started an alphabet.
138
139         * elmo-imap4.el (elmo-folder-initialize): Ditto.
140         (elmo-folder-list-subfolders): Quote user.
141
142 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
143
144         * elmo-util.el (elmo-quoted-specials-list): New constant.
145         (elmo-quoted-token): New function.
146
147         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
148         (elmo-net-format-quoted): New function.
149         (elmo-net-parse-network): Ditto.
150         (elmo-folder-initialize): Use it.
151
152         * elmo-nntp.el (elmo-folder-initialize): Use
153         `elmo-net-parse-network' to parse network specification instead of
154         `elmo-folder-initialize#elmo-net'.
155
156         * elmo-pop3.el (elmo-folder-initialize): Ditto.
157
158         * elmo-imap4.el (elmo-folder-initialize): Ditto.
159         (elmo-folder-list-subfolders): Quote folder name by
160         `elmo-net-format-quoted'.
161
162 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
165         (elmo-folder-search): Use it.
166
167 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
168
169         * modb-standard.el (modb-standard-loaded-message-id): Use
170         `elmo-msgdb-message-entity-field'.
171
172 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
173
174         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
175         without filename.
176
177 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
178
179         * elmo-util.el (elmo-set-auto-coding): New function.
180         (elmo-object-load): Use it.
181
182 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
183
184         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
185         (elmo-time<): Define as alias of `elmo-time-less-p'.
186         (elmo-time-to-datevec): New function.
187
188         * elmo-date.el (elmo-time-to-days): New function.
189
190 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
191
192         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
193         is not cons cell.
194
195 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
196
197         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
198         parenthesis.
199
200         * elmo-util.el (elmo-map-recursive): New function.
201
202         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
203         (modb-entity-encode-string-recursive): Ditto.
204
205 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
206
207         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
208         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
209         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
210         compare sequence number when last modified time is nil.
211
212 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
213
214         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
215
216         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
217
218 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
219
220         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
221         modification time of the file.
222
223 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * elmo-util.el (elmo-condition-optimize): Discriminated against
226         preserved fields, extra fields and the other weight.
227
228 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
229
230         * modb-entity.el (initialize-instance): Define.
231         (modb-entity-handler-mime-charset): New internal function.
232         (modb-standard-entity-set-field): Use it.
233         (elmo-msgdb-message-entity-field): Ditto.
234         (elmo-msgdb-message-entity-field): Ditto.
235
236         * modb.el (elmo-msgdb-match-condition): Rewrite with
237         `elmo-condition-match'.
238         (elmo-msgdb-match-condition-primitive): New function.
239
240         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
241         arguments `flags' and `numbers'.
242         (elmo-msgdb-match-condition-primitive): Abolished (merged to
243         `elmo-msgdb-message-match-condition').
244         (modb-buffer-entity-handler): New class.
245
246         * elmo.el (elmo-folder-search): Optimize condition to use
247         `elmo-condition-optimize'.
248         (elmo-message-buffer-match-condition): New function.
249         (elmo-message-match-condition): Use
250         `elmo-message-buffer-match-condition' instead of
251         `elmo-buffer-field-condition-match'.
252
253         * elmo-util.el (elmo-condition-match): New function.
254         (elmo-condition-optimize): Ditto.
255         (elmo-buffer-field-primitive-condition-match): Abolish.
256         (elmo-buffer-field-condition-match): Ditto.
257
258         * elmo-archive.el (elmo-archive-field-condition-match): Use
259         `elmo-message-buffer-match-condition' instead of
260         `elmo-buffer-field-condition-match'.
261
262 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
263
264         * elmo-flag.el (elmo-global-flags-initialize): Check the
265         existence of the flag directory.
266
267 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
268
269         * elmo-access.el (elmo-folder-initialize): Call
270         `elmo-multi-connect-signals'.
271
272         * elmo-pipe.el (elmo-folder-close): Define.
273
274         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
275         children folders.
276
277         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
278         with target folder.
279
280         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
281         `number'.
282
283         * elmo-multi.el (elmo-message-entity): Don't use return value of
284         `elmo-message-entity-set-number'.
285
286 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * modb.el (modb-generic): Added slot `mime-charset'.
289
290         * modb-standard.el (modb-standard): Added slot `overview-handler'.
291         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
292         and `modb-entity-handler-dump-parameters'.
293         (modb-standard-default-entity-handler): Abolish.
294         (elmo-msgdb-message-entity-handler): Save created handler by
295         instance slot.
296
297         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
298         (modb-entity-handler-list-parameters): New method.
299         (modb-entity-handler-equal-p): New function.
300         (modb-entity-handler-dump-parameters): Ditto.
301         (modb-entity-parse-address-string): Encode return value.
302         (modb-entity-make-address-string): Decode argument value.
303         (modb-entity-decode-string-recursive): New function.
304         (modb-entity-encode-string-recursive): Ditto.
305         (modb-standard-entity-normalizer): Set to encode field value.
306         (modb-standard-entity-specializer): Follow the above change.
307         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
308         mime-charset of handler.
309         (elmo-msgdb-message-entity-field): Ditto.
310         (elmo-msgdb-copy-message-entity): Fixed reference to internal
311         structure.
312         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
313
314         * elmo.el (elmo-folder): Added slot `mime-charset'.
315         (elmo-make-folder): Added argument `mime-charset'.
316         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
317         `mime-charest'.
318
319         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
320         (elmo-make-msgdb): Likewise.
321
322         * elmo-internal.el (elmo-internal-folder-initialize): Call
323         `luna-make-entity' with :mime-charset parameter.
324
325 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
326
327         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
328         encoded words in `from' and `subject' field.
329
330 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
331
332         * modb.el (elmo-msgdb-message-field): Add argument `type'.
333         (elmo-msgdb-match-condition): Get handler from entity instead of
334         msgdb.
335
336         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
337         (modb-standard-load-entity): Treat new file format.
338         (modb-standard-save-entity-1): Save as new file format.
339         (modb-standard-save-entity): Split messages into section here.
340         (elmo-msgdb-message-field): Follow the API change.
341         (modb-standard-default-entity-handler): New internal variable.
342         (elmo-msgdb-message-entity-handler): Define.
343
344         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
345         to `elmo-vars.el'.
346         (modb-entity-field-extractor-alist): New user option.
347         (elmo-msgdb-message-entity-field): Removed argument `decode' and
348         added argument `type'.
349         (elmo-msgdb-copy-message-entity): Add optional argument
350         `make-handler'.
351         (modb-set-field-converter): New function.
352         (modb-convert-field-value): Ditto.
353         (modb-entity-string-decoder): Ditto.
354         (modb-entity-string-encoder): Ditto.
355         (modb-entity-parse-date-string): Ditto.
356         (modb-entity-make-date-string): Ditto.
357         (modb-entity-mime-decoder): Ditto.
358         (modb-entity-mime-encoder): Ditto.
359         (modb-entity-address-list-decoder): Ditto.
360         (modb-entity-address-list-encoder): Ditto.
361         (modb-entity-parse-address-string): Ditto.
362         (modb-entity-make-address-string): Ditto.
363         (modb-entity-create-field-indices): Ditto.
364         (modb-legacy-entity-field-slots): New constant.
365         (modb-legacy-entity-field-indices): Ditto.
366         (modb-legacy-entity-normalizer): New variable.
367         (modb-legacy-entity-specializer): Ditto.
368         (modb-legacy-entity-field-index): New macro.
369         (modb-legacy-entity-set-field): New function.
370         (modb-legacy-make-message-entity): Rewrite.
371         (elmo-msgdb-create-message-entity-from-buffer): Use
372         `elmo-msgdb-get-references-from-buffer'. Use
373         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
374         Use `modb-legacy-entity-set-field' instead of
375         `elmo-msgdb-message-entity-set-field'.
376         (elmo-msgdb-message-entity-field): Rewrite.
377         (elmo-msgdb-message-entity-set-field): Ditto.
378         (elmo-msgdb-copy-message-entity): Make new entity by
379         `make-handler' if it specified.
380         (elmo-msgdb-message-match-condition): Define a method of
381         `modb-entity-handler' and follow the API change.
382         (modb-standard-entity-handler): New class.
383         (modb-entity-extract-ml-info-from-x-sequence): New function.
384         (modb-entity-extract-ml-info-from-subject): Ditto.
385         (modb-entity-extract-ml-info-from-return-path): Ditto.
386         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
387         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
388         (modb-entity-extract-mailing-list-info): Ditto.
389         (modb-entity-extract-mailing-list-info-functions): New variable.
390
391         * elmo.el (elmo-message-field): Add optional argument `type'.
392
393         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
394         from `modb-entity.el'.
395
396         * elmo-util.el (elmo-object-load): Decode by coding-system from
397         `set-auto-coding-function'.
398         (elmo-object-save): Use `detect-mime-charset-region' and add
399         coding cookie if encode.
400         (elmo-msgdb-get-references-from-buffer): New function.
401         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
402
403         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
404
405         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
406         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
407         instead of `shimbun-make-header' and follow the API change.
408         (elmo-shimbun-update-overview): Follow the API change.
409         (elmo-map-folder-list-message-locations): Ditto.
410
411         * elmo-pipe.el (elmo-message-field): Ditto.
412
413         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
414         Ditto.
415
416         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
417
418         * elmo-multi.el (elmo-message-field): Ditto.
419
420         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
421         (elmo-msgdb-sort-by-date): Ditto.
422         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
423         `elmo-message-entity-field'.
424         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
425         change.
426         (elmo-msgdb-overview-entity-get-from): Ditto.
427         (elmo-msgdb-overview-entity-get-subject): Ditto.
428         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
429         (elmo-msgdb-overview-entity-get-date): Ditto.
430         (elmo-msgdb-overview-entity-get-to): Ditto.
431         (elmo-msgdb-overview-entity-get-cc): Ditto.
432
433         * elmo-mime.el (elmo-message-mime-entity): Ditto.
434         (elmo-mime-collect-message/partial-pieces): Ditto.
435
436         * elmo-filter.el (elmo-message-field): Ditto.
437
438         * elmo-date.el (elmo-datevec-to-time): New function.
439         (elmo-time-parse-date-string): Ditto.
440         (elmo-time-make-date-string): Ditto.
441         (elmo-time<): Ditto.
442
443         * elmo-version.el (elmo-version): Up to 2.15.1.
444
445 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
446
447         * elmo-flag.el (elmo-global-flags-initialize): Don't include
448         member of elmo-local-flags.
449
450 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
451
452         * elmo-version.el (elmo-version): Up to 2.15.0.
453
454 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
455
456         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
457         `ignore-msgdb' is non-nil.
458
459 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
460
461         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
462         (elmo-condition-in-msgdb-p): Ditto.
463         (elmo-file-field-primitive-condition-match): Ditto.
464         (elmo-file-field-condition-match): Ditto.
465
466         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
467
468 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
469
470         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
471         subdirectories here.
472         (elmo-global-flags-initialize): New function.
473
474         * elmo.el (toplevel): Added autoload setting for
475         `elmo-global-flags-initialize'.
476
477 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
478
479         * elmo.el (message-number-changed): Define new signal.
480         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
481         message-number-changed signal.
482         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
483         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
484         Respect `elmo-pack-number-check-strict'.
485
486 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
487
488         * elmo-signal.el (elmo-connect-signal): Document.
489         (elmo-emit-signal): Ditto.
490         (elmo-emit-signal): It should pass source argument to filter and
491         handler, not slot-source.
492
493 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * modb.el (elmo-msgdb-update-entity): New API and define generic
496         implement.
497
498         * modb-standard.el (elmo-msgdb-update-entity): Define.
499
500         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
501         API and define generic implement.
502
503         * elmo.el (update-overview): New singnal.
504
505         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
506         `elmo-msgdb-update-entity' and emit signal `update-overview'.
507         (elmo-message-entity-parent): Define.
508
509         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
510         `update-overview'.
511
512         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
513
514         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
515
516 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
517
518         * elmo.el (elmo-folder-synchronize): Sort the return value of
519         `elmo-list-diff'.
520
521         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
522         list.
523
524 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
525
526         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
527         `default-enable-multibyte-characters'.
528         (elmo-object-load): Use `with-temp-buffer' instead of
529         `elmo-set-work-buf'.
530         (elmo-object-save): Ditto.
531         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
532         `elmo-set-work-buf'.
533         (elmo-decoded-field-body): Ditto.
534
535         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
536
537         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
538         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
539
540         * elmo-version.el (elmo-version): Up to 2.13.3.
541
542 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
543
544         * elmo-util.el (elmo-list-diff): Fix the last change.
545         Reverse order of result lists.
546
547 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
548
549         * modb-standard.el (elmo-msgdb-set-flag): Use
550         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
551         (elmo-msgdb-unset-flag): Ditto.
552
553         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
554         `elmo-list-diff'.
555
556         * elmo-util.el (elmo-list-diff): Rewrite.
557         (elmo-list-diff-nonsortable): New function.
558
559 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
560
561         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
562         `elmo-multibypte-buffer-name'.  All referers are updated.
563
564 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
565
566         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
567         (elmo-mime-entity-fragment-p): New function.
568         (mime-elmo-buffer-entity): Added slot `reassembled'.
569         (elmo-message-mime-entity): Added 4th argument `reassemble'.
570         (elmo-message-mime-entity-internal): New function (renamed from
571         `elmo-message-mime-entity').
572         (elmo-mime-inherit-field-list-from-enclosed): New constant.
573         (elmo-mime-make-reassembled-mime-entity): New function.
574         (elmo-message-reassembled-mime-entity): Ditto.
575         (elmo-mime-collect-message/partial-pieces): Ditto.
576
577 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
578
579         * elmo.el (elmo-message-fetch-string): Disable multibyte.
580
581         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
582         (elmo-with-enable-multibyte): New macro.
583
584         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
585
586 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
587
588         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
589         argument `number'.
590         (elmo-filter-connect-signals): Follow the above change.
591
592 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
593
594         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
595
596         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
597         that only the first flag is used.
598
599 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
600
601         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
602         if available.
603
604 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
605
606         * elmo-signal.el: New file.
607
608         * elmo.el (toplevel): Require elmo-signal.
609         (flag-changing, flag-changed, cache-changed): New signal.
610         (elmo-folder): Remove slog `handlers'.
611         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
612         `elmo-folder-notify-event'.
613         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
614         (elmo-folder-unset-flag): Ditto.
615         (elmo-event-handler): Abolish.
616         (elmo-event-handler-flag-changed): Ditto.
617         (elmo-event-handler-cache-changed): Ditto.
618         (elmo-folder-add-handler): Ditto.
619         (elmo-folder-remove-handler): Ditto.
620         (elmo-folder-notify-event): Ditto.
621
622         * elmo-pipe.el (toplevel): Require elmo-signal.
623         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
624         (elmo-pipe-connect-signals): New function.
625         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
626         (elmo-folder-set-flag): Ditto.
627         (elmo-folder-unset-flag): Ditto.
628         (elmo-message-set-cached): Ditto.
629
630         * elmo-multi.el (toplevel): Require elmo-signal.
631         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
632         (elmo-multi-connect-signals): New function.
633         (elmo-multi-map-numbers): Ditto.
634         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
635         (elmo-message-fetch): Ditto.
636         (elmo-folder-set-flag): Ditto.
637         (elmo-folder-unset-flag): Ditto.
638
639         * elmo-filter.el (toplevel): Require elmo-signal.
640         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
641         (elmo-filter-connect-signals): New function.
642         (elmo-filter-add-flag-count): Ditto.
643         (elmo-message-fetch): Does not call
644         `elmo-filter-folder-countup-message-flags' and
645         `elmo-folder-notify-event'.
646         (elmo-message-set-cached): Ditto.
647         (elmo-folder-set-flag): Ditto.
648         (elmo-folder-unset-flag): Ditto.
649
650         * elmo-version.el (elmo-version): Up to 2.13.2.
651
652 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
655         `flags'.
656
657 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
658
659         * elmo-filter.el (elmo-message-set-cached): Call
660         `elmo-folder-notify-event' with event `cache-changed'.
661
662         * elmo-multi.el (elmo-message-set-cached): Ditto.
663
664         * elmo-pipe.el (elmo-message-set-cached): Ditto.
665
666 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
667
668         * elmo.el (elmo-folder-encache): Abolish.
669
670 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
671
672         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
673         (elmo-folder-next-message-number-dop): Return appropriate negative
674         integer.
675
676 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
677
678         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
679         clearing pending operations.
680         (elmo-folder-next-message-number-dop): Return appropriate negative
681         integer.
682
683 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
684
685         * elmo.el (toplevel): Added autoload setting for `md5'.
686         (elmo-msgdb-path-encode-threshold): New user option.
687         (elmo-folder-msgdb-path): Encode msgdb path if its length is
688         longer than `elmo-msgdb-path-encode-threshold'.
689
690         * elmo-flag.el (elmo-global-mark-migrate): Use
691         `elmo-folder-expand-msgdb-path' instead of
692         `elmo-folder-msgdb-path'.
693
694 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
695
696         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
697         element of the difference is nil.
698
699 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
700
701         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
702         to the check logic of file systems which are weak in colon character.
703
704 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
705
706         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
707
708 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
709
710         * elmo-maildir.el (elmo-maildir-move-file): New function.
711         (elmo-folder-append-buffer): Use it.
712         (elmo-folder-append-messages): Ditto.
713         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
714
715         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
716         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
717
718         * elmo-maildir.el (elmo-maildir-separator): New user option.
719         (elmo-maildir-adjust-separator): New macro.
720         (elmo-maildir-list-location): Use it.
721         (elmo-maildir-update-current): Ditto.
722         (elmo-maildir-set-mark): Ditto.
723         (elmo-maildir-delete-mark): Ditto.
724         (These changes are based on Hiroya Murata's patch [wl: 13437])
725
726 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
727
728         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
729
730 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
731
732         * elmo-flag.el (elmo-flag-valid-p): Simplify.
733         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
734         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
735
736 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
737
738         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
739         Use `with-temp-buffer'.
740
741 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
742
743         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
744
745         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
746         `wl-read-search-condition').
747         (elmo-read-search-condition-internal): Likewise.
748
749         * elmo-flag.el (elmo-flag-char-regexp): New constant.
750         (elmo-flag-valid-p): New function.
751         (elmo-folder-initialize): Check flag name is valid.
752
753 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
754
755         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
756         delimiter to obtain root mailbox itself.
757
758 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
759
760         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
761         type mismatch.
762
763 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
764
765         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
766         as t.
767
768 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
769
770         * elmo-shimbun.el (toplevel): Require cl at compile.
771
772         * elmo-nntp.el (toplevel): Ditto.
773
774         * elmo-nmz.el (toplevel): Ditto.
775
776         * elmo-multi.el (toplevel): Ditto.
777
778         * elmo-file.el (toplevel): Ditto.
779
780         * elmo-dop.el (toplevel): Ditto.
781
782         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
783
784 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
785
786         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
787         as nil.
788
789         * elmo.el (elmo-message-fetch): Return t even when the output buffer
790         size of elmo-message-fetch-internal is 0 byte.
791
792 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
793
794         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
795
796 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
797
798         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
799         always plugged.
800
801 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
802
803         * elmo-maildir.el (elmo-map-message-fetch): Call
804         `elmo-map-folder-set-flag'.
805
806         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
807         (elmo-message-fetch): Merge from
808         `elmo-message-fetch-with-cache-process'.
809
810         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
811         (elmo-message-fetch): Define.
812
813         * elmo-nntp.el (elmo-message-fetch): Renamed from
814         `elmo-message-fetch-with-cache-process'.
815
816         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
817         (elmo-message-fetch): Define.
818
819         * elmo-util.el (elmo-condition-parse-primitive): Downcase
820         search-key.
821
822         * elmo-shimbun.el (shimbun-mua-search-id): Use
823         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
824         (elmo-shimbun-folder-shimbun-header): Ditto.
825         (elmo-shimbun-get-headers): Ditto.
826         (elmo-shimbun-update-overview): Ditto.
827
828         * elmo-pipe.el (elmo-folder-detach-messages): Define.
829
830         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
831         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
832
833 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
834
835         * elmo.el (elmo-message-fetch): Unset unread flag on server when
836         message is cached.
837         (elmo-message-fetch-string): Fixed argument.
838
839 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
840
841         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
842         exchange order of arguments `section' and `unread'.
843         (elmo-message-encache): Follow the API change.
844         (elmo-message-match-condition): Ditto.
845         (elmo-generic-folder-append-messages): Ditto.
846         (elmo-message-fetch-string): New function.
847
848         * elmo-split.el (elmo-split-subr): Ditto.
849
850         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
851
852         * elmo-pipe.el (elmo-message-fetch): Ditto.
853
854         * elmo-multi.el (elmo-message-fetch): Ditto.
855
856         * elmo-mime.el (elmo-message-mime-entity): Ditto.
857
858         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
859
860         * elmo-filter.el (elmo-message-fetch): Ditto.
861
862         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
863
864         * elmo-imap4.el (mime-imap-location-section-body): Use
865         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
866         follow the API change.
867
868 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
869
870         * elmo-access.el: New file.
871
872         * elmo-null.el: Ditto.
873
874         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
875
876 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
877
878         * elmo-net.el (elmo-network-session-idle-timeout): New option.
879         (elmo-network-session): New attribute `last-accessed'.
880         (elmo-network-get-session): Discard network cache if elapsed time
881         since last-accessed is larger than elmo-network-session-idle-timeout.
882
883 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
884
885         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
886         and added `number', `require-entireness'.
887         (elmo-find-fetch-strategy): Rewrite.
888         (elmo-message-fetch): Unset `unread' flag when argument unread is
889         non-nil.
890
891         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
892
893         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
894         (elmo-message-fetch): Notify event `flag-changed'.
895
896         * elmo-pipe.el: Likewise.
897
898         * elmo-mime.el (elmo-mime-entity): New class.
899         (elmo-mime-entity-display-p): New generic function.
900         (elmo-mime-entity-display): Ditto.
901         (elmo-mime-entity-display-as-is): Ditto.
902         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
903         elmo-mime-entity.
904         (elmo-make-mime-message-location): Removed.
905         (elmo-mime-message-display): Ditto.
906         (elmo-mime-display-as-is): Ditto.
907         (elmo-message-mime-entity): New function.
908
909         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
910
911         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
912         change.
913         (elmo-message-fetch): Re-count flagged message number and notify
914         event `flag-changed'.
915
916         * elmo-version.el (elmo-version): Up to 2.13.1.
917
918 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
919
920         * elmo-filter.el (elmo-message-field): Define.
921         (elmo-message-set-field): Ditto.
922
923 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
924
925         * elmo.el (elmo-message-set-cached): Call
926         `elmo-folder-notify-event' with cache-changed.
927         (elmo-event-handler-cache-changed): New generic function.
928
929 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
930
931         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
932         instead of elmo-add-name-to-file.
933         (elmo-folder-append-messages): Ditto.
934
935 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
936
937         * elmo.el (elmo-folder-update-threshold): Add nil to range.
938
939 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
940
941         * elmo-version.el (elmo-version): Up to 2.13.0.
942
943         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
944         `auto'.
945
946         * modb-standard.el (modb-standard-economize-entity-size): Changed
947         default value to `t'.
948
949         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
950         `standard'.
951
952         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
953         after parsing greeting string.
954
955 2004-11-23  Daishi Kato <daishi@axlight.com>
956
957         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
958         New user option.
959         (elmo-spam-spamoracle-call): Use it.
960
961 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
962
963         * elmo.el (elmo-message-accessible-p): Message in dop spool
964         is accessible.
965
966 2004-11-23  Daishi Kato <daishi@axlight.com>
967
968         * elsp-spamoracle.el: New file.
969
970 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
971
972         * elmo.el (elmo-message-flags-for-append): New function.
973         (elmo-generic-folder-append-messages): Use it.
974
975         * elmo-split.el (elmo-split-subr): Ditto.
976
977         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
978         `flags' and use elmo-folder-append-buffer instead of
979         write-region-as-binary.
980         (elmo-dop-filter-pending-messages): New function.
981         (elmo-folder-append-buffer-dop): Call
982         elmo-dop-spool-folder-append-buffer with `flag'.
983         (elmo-folder-set-flag-dop): Filter messages by
984         elmo-dop-filter-pending-messages.
985         (elmo-folder-unset-flag-dop): Ditto.
986         (elmo-folder-append-buffer-dop-delayed): Use
987         elmo-message-flags-for-append to get flags of the message and
988         simplify.
989
990 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
991
992         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
993
994 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
995
996         * elmo.el (elmo-folder): Added handlers slot.
997         (elmo-event-handler): New class.
998         (elmo-event-handler-flag-changed): New API.
999         (elmo-folder-add-handler): New function.
1000         (elmo-folder-remove-handler): Ditto.
1001         (elmo-folder-notify-event): Ditto.
1002         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1003         `flag-changed'.
1004         (elmo-folder-unset-flag): Ditto.
1005
1006         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1007         (elmo-folder-unset-flag): Ditto.
1008
1009         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1010         (elmo-folder-unset-flag): Ditto.
1011
1012         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1013         (elmo-folder-unset-flag): Ditto.
1014
1015         * elmo-version.el (elmo-version): Up to 2.11.33.
1016
1017 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1018
1019         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1020
1021 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1022
1023         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1024
1025         * elmo-flag.el (elmo-folder-unset-flag): Define.
1026         (elmo-global-flag-detach): Do process when the flag is not target
1027         flag.
1028
1029 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1030
1031         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1032         variable.
1033         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1034
1035 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1036
1037         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1038         function.
1039         (elmo-folder-delete-messages): Detach messages before delete
1040         messages from target folder.
1041         (elmo-folder-detach-messages): Set updated number-list to slot.
1042
1043 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1044
1045         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1046
1047 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1048
1049         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1050
1051 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1052
1053         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1054         internal use only).
1055         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1056         not modified.
1057         (elmo-folder-delete-messages): Define.
1058         (elmo-folder-move-messages): Don't call
1059         `elmo-folder-detach-messages'.
1060         (elmo-folder-synchronize): Rewrite.
1061         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1062
1063         * elmo-util.el (elmo-last): New function.
1064         (elmo-set-list): Ditto.
1065         (elmo-number-set-delete-list): Ditto.
1066         (elmo-number-set-delete): Ditto.
1067
1068         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1069
1070         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1071         `elmo-folder-delete-messages' and don't delete location map.
1072         (elmo-folder-detach-messages): Define.
1073
1074         * elmo-imap4.el (elmo-folder-delete): Use
1075         `elmo-folder-delete-messages-internal' instead of
1076         `elmo-folder-delete-messages'.
1077
1078         * elmo-filter.el (elmo-folder-delete-messages): Call
1079         `elmo-folder-detach-messages'.
1080         (elmo-folder-detach-messages): Don't call
1081         `elmo-folder-detach-messages' for target folder.
1082
1083         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1084         message deletion is succeeded.
1085
1086         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1087
1088         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1089         from `elmo-folder-delete-messages'.
1090
1091         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1092
1093         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1094
1095         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1096
1097         * elmo-version.el (elmo-version): Up to 2.11.32.
1098
1099 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1100
1101         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1102         (elmo-global-flag-list): Added obsolete variable setting.
1103
1104         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1105
1106         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1107         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1108         `elmo-mime-display-header-analysis' is nil.
1109
1110         * elmo-flag.el (elmo-global-flags): Renamed from
1111         `elmo-global-flag-list' (All other related portions are changed).
1112         (elmo-local-flags): New variable.
1113         (elmo-local-flag-p): New function.
1114         (elmo-global-flag-set-internal): Cause an error when flag is not
1115         global.
1116
1117 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1118
1119         * elmo-util.el (elmo-concat-path): Treat empty path.
1120
1121 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1122
1123         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1124         field-or-fields).
1125         (elmo-split-address-match): Ditto.
1126         (elmo-split-equal): Ditto.
1127         (elmo-split-match): Ditto.
1128
1129 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1130
1131         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1132         (elmo-generic-folder-append-messages): If src message exists but
1133         has no flag, pass (read) for the FLAG argument of
1134         `elmo-folder-append-buffer'. Otherwise, pass nil.
1135
1136         * elmo-split.el (elmo-split-subr): Likewise.
1137
1138         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1139
1140         * elmo-multi.el (elmo-message-flags): Ditto.
1141
1142         * elmo-filter.el (elmo-message-flags): Ditto.
1143
1144         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1145         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1146         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1147         
1148 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1149
1150         * elmo-split.el (elmo-split-rule): Update comment.
1151         (elmo-split-address-equal): Allow 2nd argument to be a list.
1152         (elmo-split-address-match): Ditto.
1153         (elmo-split-equal): Ditto.
1154         (elmo-split-match): Ditto.
1155
1156 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1157
1158         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1159         (elmo-folder-append-msgdb): Don't treat `read'.
1160         (elmo-message-flags): Don't return `read'.
1161
1162         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1163         (elmo-folder-unset-read-delayed): Ditto.
1164
1165         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1166
1167 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1168
1169         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1170         deletion.
1171
1172 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1173
1174         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1175         header.
1176
1177 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1178
1179         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1180         here.
1181         (elmo-msgdb-save): Bind inhibit-quit.
1182         (modb-standard-message-entity): Ditto.
1183
1184 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1185
1186         * elmo-database.el: No need to require elmo-msgdb.
1187
1188 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1189
1190         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1191         instead of `elmo-list-subdirectories'.
1192
1193 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1194
1195         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1196         group entry.
1197         (elmo-folder-exists-p): "[" is empty.
1198         (elmo-folder-list-subfolders): Define.
1199         (elmo-folder-have-subfolder-p): Ditto.
1200
1201 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1202
1203         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1204
1205 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1206
1207         * elmo-filter.el (elmo-folder-local-p): Define.
1208
1209 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1210
1211         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1212         when entity is garbaged.
1213         (modb-standard-save-entity-1): Don't modify the original entity.
1214
1215 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1216
1217         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1218
1219 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1220
1221         * elmo.el (elmo-strict-folder-diff): Use
1222         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1223
1224 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1225
1226         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1227         (elmo-msgdb-message-number): Ditto.
1228         (elmo-msgdb-message-field): Ditto.
1229
1230         * modb-standard.el (modb-standard-economize-entity-size): New user
1231         option.
1232         (modb-standard-loaded-message-id): New inline function.
1233         (modb-standard-load-entity): Use it.
1234         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1235         throw message-id string away.
1236         (elmo-msgdb-flag-available-p): Define.
1237         (elmo-msgdb-message-number): Ditto.
1238         (elmo-msgdb-message-field): Ditto.
1239
1240         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1241         (suppoted -> supported).
1242         (modb-legacy-supported-flag-p): Ditto.
1243         (elmo-msgdb-set-flag): Ditto.
1244         (elmo-msgdb-unset-flag): Ditto.
1245         (elmo-msgdb-flag-available-p): Define.
1246
1247         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1248         is `t', treat it as legacy entity.
1249         
1250         * elmo.el (elmo-message-flag-available-p): New generic function.
1251         (elmo-message-number): Ditto.
1252         (elmo-message-field): Use `elmo-msgdb-message-field'.
1253
1254         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1255
1256         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1257         (elmo-message-number): Ditto.
1258
1259         * elmo-multi.el (elmo-message-number): Define.
1260         (elmo-message-flag-available-p): Ditto.
1261
1262         * elmo-filter.el (elmo-message-flag-available-p): Define.
1263         (elmo-message-number): Ditto.
1264
1265         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1266         (elmo-folder-initialize): Load `max-number'.
1267         (elmo-folder-commit): Save it.
1268         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1269         (elmo-global-flag-set-internal): Set up max-number slot.
1270
1271 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1272
1273         * elmo-version.el (elmo-version): Up to 2.11.31.
1274
1275 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1276
1277         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1278         unibyte string of the current buffer for the argument of `md5'
1279         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1280
1281 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1282
1283         * modb-legacy.el (modb-legacy-flag-list): New constant.
1284         (modb-legacy-suppoted-flag-p): New internal function.
1285         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1286         (elmo-msgdb-unset-flag): Ditto.
1287
1288 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1289
1290         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1291
1292         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1293         from msgdb.
1294
1295 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1296
1297         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1298         (follow the API change).
1299
1300         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1301
1302 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1303
1304         * modb-standard.el (modb-standard-digest-flags): Abolish.
1305         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1306
1307         * elmo-vars.el (elmo-digest-flags): New variable.
1308         (elmo-preserved-flags): Moved from elmo-flag.el.
1309
1310         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1311         (elmo-imap4-flag-to-imap-criteria): Ditto.
1312         (elmo-imap4-folder-list-flagged): Use it.
1313
1314         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1315
1316         * elmo.el (elmo-folder-count-flags): Changed return value.
1317
1318         * elmo-flag.el (elmo-preserved-flags): New variable.
1319         (elmo-get-global-flags): Use it.
1320
1321         * modb-standard.el (modb-standard-digest-flags): New variable.
1322         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1323         Changed behavior of `any'.
1324
1325         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1326         which are defined the Internet draft
1327         (draft-melnikov-imap-keywords-03.txt).
1328         (elmo-imap4-flags-to-imap): New function.
1329         (elmo-folder-append-buffer): Use it.
1330
1331         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1332         in the docstring.
1333
1334         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1335         avoid the bug of Emacs 21.3.
1336
1337 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1338
1339         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1340         function find-coding-system does not exist.
1341
1342 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1343
1344         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1345         parsing.
1346
1347 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1348
1349         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1350         response codes.
1351
1352 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1353
1354         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1355         (elmo-network-close-session): Follow the changes in
1356         `elmo-pop3-read-response'.
1357         (elmo-pop3-auth-user): Ditto.
1358         (elmo-pop3-auth-apop): Ditto.
1359         (elmo-network-initialize-session): Ditto.
1360         (elmo-network-authenticate-session): Ditto.
1361         (elmo-network-setup-session): Ditto.
1362         (elmo-folder-status): Ditto.
1363         (elmo-message-fetch-plugged): Ditto.
1364         (elmo-pop3-delete-msg): Ditto.
1365
1366 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1367
1368         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1369         on failure.
1370
1371 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1372
1373         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1374         style.
1375         (elmo-bind-directory): Ditto.
1376
1377 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1378
1379         * elmo.el (elmo-folder-append-messages): Note on return value.
1380         * elmo-archive.el (elmo-folder-append-messages): Don't return
1381         message numbers which could not be appended.
1382
1383 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1384
1385         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1386
1387 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1388
1389         * elmo-version.el (elmo-version): Up to 2.11.30.
1390
1391 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1392
1393         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1394         `mask'.
1395
1396         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1397
1398         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1399         (elmo-multi-split-numbers): Add elmo-folder object into each
1400         element of return value at first.
1401         (elmo-folder-delete-messages): Follow the above change.
1402         (elmo-folder-detach-messages): Ditto.
1403
1404         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1405         number which is synchronized in target folder.
1406
1407 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1408
1409         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1410         Change default value to symbol `all'.
1411         (elmo-map-message-fetch): Change condition to update overview
1412         follow the above.
1413
1414 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1415
1416         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1417         behavior to update overview.
1418         (elmo-shimbun-update-overview-folder-list): Note it.
1419
1420 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1421
1422         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1423         recursive call.
1424
1425 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1426
1427         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1428         buffer-disable-undo, it is unnecessary.
1429         (elmo-spam-register-good-messages): Ditto.
1430
1431         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1432         Ditto.
1433
1434         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1435
1436 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1437
1438         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1439         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1440         elmo-set-buffer-multibyte.
1441         (elmo-object-load): Ditto.
1442         (elmo-save-buffer): Ditto.
1443         (elmo-delete-char): Ditto.
1444         (elmo-file-field-primitive-condition-match): Ditto.
1445         (elmo-mime-string): Ditto.
1446
1447         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1448         (elmo-archive-field-condition-match): Ditto.
1449
1450         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1451
1452         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1453
1454         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1455         (elmo-nntp-msgdb-create-message): Ditto.
1456
1457         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1458
1459         * elmo.el (elmo-message-match-condition): Ditto.
1460         (elmo-message-match-condition): Ditto.
1461
1462         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1463         Ditto.
1464
1465         * elmo-version.el (elmo-version): Up to 2.11.29.
1466
1467         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1468         (elsp-header): New backend.
1469
1470         * elmo-util.el (elmo-decoded-field-body): New function.
1471
1472 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1473
1474         * elmo-version.el (elmo-version): Up to 2.11.28.
1475
1476 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1477
1478         * elmo-filter.el: Rewrite.
1479
1480         * elmo-version.el (elmo-version): Up to 2.11.27.
1481
1482 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1483
1484         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1485         msgdb path for the localdir folder with absolute path.
1486
1487         * utf7.el: Synch up with latest gnus/utf7.el;
1488         Modified for latest Emacs.
1489
1490 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1491
1492         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1493         shimbun backend couldn't open.
1494
1495 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1496
1497         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1498         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1499         when a destination folder is a filter folder.
1500
1501 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1502
1503         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1504         (elmo-generic-folder-append-messages): Call elmo-message-flags
1505         with argument `msgid'.
1506
1507         * elmo-split.el (elmo-split-subr): Ditto.
1508
1509         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1510
1511         * elmo-multi.el (elmo-message-flags): Ditto.
1512
1513 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1514
1515         * elmo.el (elmo-folder): Add new slot `flag-table'.
1516         (elmo-folder-flag-table): New API.
1517         (elmo-folder-close-flag-table): Ditto.
1518         (elmo-folder-preserve-flags): New function.
1519         (elmo-generic-folder-append-messages): Use
1520         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1521         Flag of a non-registered message, it sets to nil.
1522         Does not set flag to flag-table.
1523
1524         * elmo-maildir.el (elmo-folder-append-buffer): Use
1525         `elmo-folder-preserve-flags'.
1526         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1527         `elmo-folder-close-flag-table'.
1528
1529         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1530         (elmo-archive-folder-append-buffer): Use
1531         `elmo-folder-preserve-flags'.
1532
1533         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1534
1535         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1536
1537         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1538         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1539         `elmo-folder-close-flag-table'.
1540
1541         * elmo-version.el (elmo-version): Up to 2.11.26.
1542
1543 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1544
1545         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1546
1547         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1548         md5's 4th and 5th argument (non-existent in flim one).
1549
1550 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1551
1552         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1553         message, It sets to nil.
1554
1555 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1556
1557         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1558         list is non-nil.
1559
1560 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1561
1562         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1563
1564         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1565
1566         * elmo-util.el (elmo-uniq-sorted-list): New function.
1567         (elmo-make-number-list): Ditto.
1568         (elmo-number-set-to-number-list): Use elmo-make-number-list
1569         and don't use nreverse.
1570
1571 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1572
1573         * elmo-version.el (elmo-version): Up to 2.11.25.
1574
1575 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1576
1577         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1578         field not exists in message, Use md5 message digest of header.
1579
1580 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1581
1582         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1583         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1584         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1585         * elmo-split.el (elmo-split-subr): Check return value of
1586         elmo-folder-append-buffer.
1587
1588         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1589         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1590
1591         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1592         message-id.
1593
1594 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1595
1596         * elmo-split.el (elmo-split-subr): Append message with flag.
1597
1598         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1599         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1600         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1601
1602 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1603
1604         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1605         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1606         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1607
1608 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1609
1610         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1611         with a function call of `process-buffer'.  All callers are updated.
1612         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1613         Remove redundant `set-buffer' in a while loop.
1614
1615 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1616
1617         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1618         calls.
1619
1620 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1621
1622         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1623         elsp-spamfilter-register-buffer-internal with current buffer.
1624         (elmo-spam-register-spam-buffer): Ditto.
1625         (elmo-spam-register-good-buffer): Ditto.
1626
1627 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1628
1629         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1630         if it is not contained in the response(A workaround for courier-imap).
1631
1632 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1633
1634         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1635         parenthesis.
1636
1637 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1638
1639         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1640         range.
1641
1642 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1643
1644         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1645         of nconc.
1646
1647         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1648         argument handler.
1649         (elmo-msgdb-message-match-condition): Follow the change above.
1650
1651 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1652
1653         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1654         folder name.
1655
1656 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1657
1658         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1659
1660 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1661
1662         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1663
1664 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1665
1666         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1667         not found.
1668
1669 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1670
1671         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1672         value.
1673         (elmo-file-command-argument): Undo last change for cygwin.
1674         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1675         Don't return nil.
1676         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1677
1678 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1679
1680         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1681         value returned from elmo-file-find is nil.
1682
1683 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1684
1685         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1686         to elmo-vars.el.
1687
1688         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1689         instead of insert-file-contents-as-binary.
1690         (elmo-message-set-field): New generic function.
1691
1692         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1693         behavior change on `split-string'.
1694
1695         * elmo-file.el (elmo-file-find): New function.
1696         (elmo-file-command): New user option.
1697         (elmo-file-command-argument): Ditto.
1698         (elmo-file-fetch-max-size): Ditto.
1699         (elmo-file-detect-format): New function.
1700         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1701         Use elmo-file-detect-format.
1702         (elmo-map-folder-list-message-locations): Don't treat directories.
1703
1704 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1705
1706         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1707         (elmo-passwd-alist-clear): Shred password before clear.
1708         (elmo-remove-passwd): Remove all mached pair.
1709
1710 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1711
1712         * elmo.el (elmo-folder-synchronize): Fix description of the return
1713         value.
1714
1715 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1716
1717         * elmo.el (elmo-message-fetch-bodystructure): New method.
1718         (elmo-message-fetch-bodystructure): Define default.
1719
1720         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1721         elmo-message-fetch-bodystructure.
1722         (elmo-message-fetch-bodystructure): Define.
1723
1724         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1725
1726 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1727
1728         * elmo-filter.el (elmo-message-folder): Define.
1729
1730 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1731
1732         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1733         elmo-delete-cr-buffer.
1734
1735         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1736
1737         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1738
1739         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1740
1741         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1742         type seems to be a text.
1743
1744 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1745
1746         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1747         (elmo-spam-register-good-buffer): Ditto.
1748         (elmo-spam-spamassassin-register-messages): Ditto.
1749
1750         * elmo-util.el (elmo-string-member-ignore-case): Define with
1751         static-cond.
1752
1753 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1754
1755         * elmo.el (elmo-folder-type): Undo last change.
1756
1757         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1758
1759         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1760         warnings.
1761
1762         * elmo-file.el: New file.
1763         
1764         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1765
1766         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1767         variable.
1768         (elmo-spam-spamassassin-register-messages): New inline function.
1769         (elmo-spam-register-spam-messages): Define.
1770         (elmo-spam-register-good-messages): Ditto.
1771
1772         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1773         Fixed typo.
1774
1775         * elmo.el (toplevel): Added autoload setting for
1776         `elmo-get-global-flags'.
1777         (elmo-message-has-global-flag-p): New function.
1778         (elmo-message-set-global-flags): Ditto.
1779         (elmo-folder-type): Improvement for name: format.
1780
1781         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1782         availability of keyword flags.
1783         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1784         (elmo-folder-list-flagged-plugged): Renamed from
1785         elmo-folder-list-flagged-unplugged.
1786         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1787         accept any flag as keyword flag.
1788         (elmo-folder-set-flag-plugged): Accept keyword flags.
1789         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1790
1791         * elmo-flag.el (elmo-get-global-flags): New function.
1792
1793         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1794         folders.
1795
1796         * elmo-version.el (elmo-version): Up to 2.11.24.
1797
1798 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1799
1800         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1801         elmo-multiple-field-body instead of std11-field-body to check all
1802         headers.
1803
1804 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1805
1806         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1807         or "size".
1808
1809 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1810
1811         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1812         unintern is unbound.
1813
1814 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1815
1816         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1817         Protect from infinite loop.
1818
1819 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1820
1821         * elsp-bogofilter.el
1822         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1823         (elmo-spam-bogofilter-register-messages): New internal function.
1824         (elmo-spam-register-spam-messages): Define.
1825         (elmo-spam-register-good-messages): Ditto.
1826
1827 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1828
1829         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1830         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1831         (elmo-spam-bogofilter-call): Fixed the last change.
1832         (elmo-spam-bogofilter-arguments): Ditto.
1833
1834         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1835         Follow the options change of latest bogofilter.
1836
1837         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1838         (elmo-spam-bogofilter-good-switch): Ditto.
1839         (elmo-spam-bogofilter-arguments-alist): New user option.
1840         (elmo-spam-bogofilter-debug): Ditto.
1841         (elmo-spam-bogofilter-call): Renamed from
1842         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1843         is non-nil, insert output in buffer for debug.
1844         (elmo-spam-bogofilter-arguments): New macro.
1845         (elmo-spam-buffer-spam-p): Use it.
1846         (elsp-bogofilter-register-buffer): Ditto.
1847
1848 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1849
1850         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1851         regexp.
1852
1853 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1854
1855         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1856         value as "ruby".
1857         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1858         (elmo-spam-bsfilter-program): Set default value as full path for
1859         `bsfilter'.
1860         (elmo-spam-bsfilter-debug): New user option.
1861         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1862         non-nil, insert output in buffer for debug. Fix treating of
1863         argument.
1864
1865 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1866
1867         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1868         `elmo-maildir-flag-specs' element instead of one.
1869         (elmo-map-folder-unset-flag): Ditto.
1870         (Reported by Ken Makimura <macky@astem.or.jp>)
1871
1872         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1873         (elmo-folder-unset-flag-plugged): Ditto.
1874
1875 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1878         to `reads' slot only if `in-msgdb' is nil.
1879
1880 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1881
1882         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1883         and complement argument list.
1884
1885 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1886
1887         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1888         instead of elmo-folder-list-flagged.
1889
1890 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1891
1892         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1893
1894         * elsp-bsfilter.el: New file.
1895
1896         * elmo-pipe.el (elmo-folder-list-unreads,
1897         elmo-folder-list-answereds,
1898         elmo-folder-list-importants,
1899         elmo-folder-flag-as-important,
1900         elmo-folder-unflag-important,
1901         elmo-folder-flag-as-read,
1902         elmo-folder-unflag-read,
1903         elmo-folder-flag-as-answered,
1904         elmo-folder-unflag-answered): Remove.
1905         (elmo-folder-set-flag): Define.
1906         (elmo-folder-unset-flag): Ditto.
1907
1908         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1909         (elmo-folder-set-flag): Define.
1910         (elmo-folder-unset-flag): Ditto.
1911         (elmo-folder-list-unreads): Remove.
1912         (elmo-folder-list-flagged): Define.
1913
1914         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1915         (elmo-folder-list-unreads,
1916         elmo-folder-list-importants,
1917         elmo-folder-list-answereds,
1918         elmo-folder-list-unreads-plugged,
1919         elmo-folder-list-importants-plugged,
1920         elmo-folder-list-answereds-plugged): Remove.
1921         (elmo-folder-list-flagged-plugged): New method.
1922         (elmo-folder-unflag-important,
1923         elmo-folder-flag-as-important,
1924         elmo-folder-unflag-read,
1925         elmo-folder-flag-as-read,
1926         elmo-folder-unflag-answered,
1927         elmo-folder-flag-as-answered,
1928         elmo-folder-flag-as-read-unplugged,
1929         elmo-folder-unflag-read-unplugged,
1930         elmo-folder-flag-as-important-unplugged,
1931         elmo-folder-unflag-important-unplugged,
1932         elmo-folder-flag-as-answered-unplugged,
1933         elmo-folder-unflag-answered-unplugged): Remove.
1934         (elmo-folder-set-flag): Define.
1935         (elmo-folder-unset-flag): Ditto.
1936         (elmo-folder-set-flag-unplugged): Ditto.
1937         (elmo-folder-unset-flag-unplugged): Ditto.
1938
1939         * elmo-multi.el (elmo-folder-list-unreads,
1940         elmo-folder-list-answereds,
1941         elmo-folder-list-importants,
1942         elmo-folder-flag-as-important,
1943         elmo-folder-unflag-important,
1944         elmo-folder-flag-as-read,
1945         elmo-folder-unflag-read,
1946         elmo-folder-flag-as-answered,
1947         elmo-folder-unflag-answered): Remove.
1948         (elmo-folder-set-flag): Define.
1949         (elmo-folder-unset-flag): Ditto.
1950
1951         * elmo-map.el (elmo-map-folder-unflag-important,
1952         elmo-map-folder-flag-as-important,
1953         elmo-map-folder-unflag-read,
1954         elmo-map-folder-flag-as-read,
1955         elmo-map-folder-unflag-answered,
1956         elmo-map-folder-flag-as-answered): Remove.
1957         (elmo-map-folder-set-flag): New method.
1958         (elmo-map-folder-unset-flag): Ditto.
1959         (elmo-map-folder-list-unreads,
1960         elmo-map-folder-list-importants,
1961         elmo-map-folder-list-answereds): Remove.
1962         (elmo-folder-list-flagged-internal): Define.
1963         (elmo-map-folder-list-flagged): New method.
1964
1965         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1966         (elmo-map-folder-list-unreads,
1967         elmo-map-folder-list-importants,
1968         elmo-map-folder-list-flagged): Remove.
1969         (elmo-map-folder-list-flagged): Define.
1970         (elmo-map-folder-flag-as-important,
1971         elmo-map-folder-unflag-important,
1972         elmo-map-folder-flag-as-read,
1973         elmo-map-folder-unflag-read,
1974         elmo-map-folder-flag-as-answered,
1975         elmo-map-folder-unflag-answered): Remove.
1976         (elmo-maildir-set-mark-messages): New internal function.
1977         (elmo-map-folder-set-flag): Define.
1978         (elmo-map-folder-unset-flag): Ditto.
1979
1980         * elmo.el (toplevel): Added autoload setting for
1981         `elmo-folder-list-global-flag-messages'.
1982         (elmo-folder-list-unreads,
1983         elmo-folder-list-importants,
1984         elmo-folder-list-answereds): Remove.
1985         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1986         Return a list whitch merged with messages have global flag.
1987         (elmo-folder-list-flagged-internal): New method.
1988         (elmo-folder-unflag-important,
1989         elmo-folder-flag-as-important,
1990         elmo-folder-unflag-read,
1991         elmo-folder-flag-as-read,
1992         elmo-folder-unflag-answered,
1993         elmo-folder-flag-as-answered): Remove.
1994         (elmo-folder-set-flag): New method.
1995         (elmo-folder-unset-flag): Ditto.
1996         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1997         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1998
1999         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2000         (elmo-folder-list-unreads-plugged,
2001         elmo-folder-list-importants-plugged,
2002         elmo-folder-list-answereds-plugged,
2003         elmo-folder-list-flagged-unplugged,
2004         elmo-folder-unflag-important-plugged,
2005         elmo-folder-flag-as-important-plugged,
2006         elmo-folder-unflag-read-plugged,
2007         elmo-folder-flag-as-read-plugged,
2008         elmo-folder-unflag-answered-plugged,
2009         elmo-folder-flag-as-answered-plugged): Remove.
2010         (elmo-folder-set-flag-plugged,
2011         elmo-folder-unset-flag-plugged): Define.
2012
2013         * elmo-flag.el (elmo-folder-initialize): Register to
2014         `elmo-global-flag-list' if flag is not global.
2015         (elmo-folder-append-messages): Set flag to source messages.
2016
2017         * elmo-filter.el (elmo-filter-folder-list-unreads,
2018         elmo-folder-list-unreads,
2019         elmo-filter-folder-list-importants,
2020         elmo-folder-list-importants,
2021         elmo-folder-flag-as-read,
2022         elmo-folder-unflag-read,
2023         elmo-folder-flag-as-important,
2024         elmo-folder-unflag-important,
2025         elmo-folder-flag-as-answered,
2026         elmo-folder-unflag-answered): Remove.
2027         (elmo-folder-set-flag): Define.
2028         (elmo-folder-unset-flag): Ditto.
2029
2030         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2031         elmo-folder-unflag-read-dop,
2032         elmo-folder-flag-as-important-dop,
2033         elmo-folder-unflag-important-dop,
2034         elmo-folder-flag-as-answered-dop,
2035         elmo-folder-unflag-answered-dop): Remove.
2036         (elmo-folder-set-flag-dop,
2037         elmo-folder-unset-flag-dop,
2038         elmo-folder-set-important-delayed,
2039         elmo-folder-unset-important-delayed,
2040         elmo-folder-set-read-delayed,
2041         elmo-folder-unset-read-delayed,
2042         elmo-folder-set-answered-delayed,
2043         elmo-folder-unset-answered-delayed): New function.
2044         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2045         (elmo-dop-queue-method-name-alist): Ditto.
2046
2047         * elmo-version.el (elmo-version): Up to 2.11.23.
2048
2049 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2050
2051         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2052
2053         * elsp-sa.el: New file.
2054
2055 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2056
2057         * modb-standard.el (modb-standard-message-entity): New function.
2058         (elmo-msgdb-message-entity): Use it.
2059
2060 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2061
2062         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2063         behavior when one-level is nil.
2064
2065         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2066
2067         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2068
2069 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2070
2071         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2072         get max number.
2073         (elmo-generic-folder-diff): Ditto.
2074
2075         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2076         (elmo-folder-update-number): Ditto.
2077
2078         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2079         (elmo-folder-next-message-number-dop): Ditto.
2080
2081 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2082
2083         * elmo-filter.el (elmo-folder-msgdb-create): Use
2084         `elmo-message-entity' and `elmo-message-flags' instead of
2085         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2086
2087 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2088
2089         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2090         `if-exists'.
2091
2092 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2093
2094         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2095
2096         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2097
2098         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2099
2100 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2101
2102         * elmo-version.el (elmo-version): Up to 2.11.22.
2103
2104 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2105
2106         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2107
2108 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2109
2110         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2111         if the message dose not exist.
2112
2113 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2114
2115         * elmo-version.el (elmo-version): Up to 2.11.21.
2116
2117 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2118
2119         * modb-standard.el (toplevel): Don't require mime.
2120
2121 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2122
2123         * elsp-bogofilter.el (toplevel): Don't require path-util.
2124         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2125         (elmo-spam-bogofilter-header): Abolish.
2126         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2127         (elmo-spam-bogofilter-args): New user option.
2128         (elsp-bogofilter-call-bogofilter): New internal function.
2129         (elmo-spam-buffer-spam-p): Use it.
2130         (elsp-bogofilter-register-buffer): Renamed from
2131         `elmo-spam-bogofilter-register-buffer';
2132         Use `elsp-bogofilter-call-bogofilter'.
2133         (elmo-spam-register-spam-buffer): Follow the change above.
2134         (elmo-spam-register-good-buffer): Ditto.
2135
2136 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2137
2138         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2139         message-id is nil do nothing.
2140
2141 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2142
2143         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2144         Revival.
2145         (elmo-imap4-session): Removed use-flag slot.
2146         (elmo-imap4-session-select-mailbox): Undo last change.
2147         (elmo-folder-use-flag-p): Use
2148         elmo-imap4-disuse-server-flag-mailbox-regexp.
2149
2150 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2151
2152         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2153         (elmo-imap4-session-select-mailbox): Set it up.
2154         (elmo-folder-use-flag-p): Return value of use-flag slot.
2155
2156 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2157
2158         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2159         message-id is nil.
2160         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2161
2162         * modb-entity.el (elmo-message-entity-handler): Likewise.
2163
2164 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2165
2166         * elmo.el (toplevel): Remove setting of autoloding for
2167         elmo-global-flag-initialize.
2168         (elmo-init): Don't call elmo-global-flag-initialize.
2169         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2170
2171         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2172         (elmo-global-mark-migrate): Don't call it.
2173         (elmo-global-mark-upgrade): Ditto.
2174
2175 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2176
2177         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2178         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2179
2180         * elmo-vars.el (elmo-init-hook): New user option.
2181
2182         * elmo.el (elmo-init): Run the elmo-init-hook.
2183
2184         * elmo-flag.el (elmo-global-mark-migrate): New function.
2185
2186 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2187
2188         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2189         Undo last change (move to elmo-msgdb-unset-flag).
2190         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2191         flag is unset.
2192
2193 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2194
2195         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2196         read flag is set.
2197         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2198         (elmo-msgdb-unset-flag): Ditto.
2199
2200 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2201
2202         * elmo-split.el (elmo-split): Return split message count.
2203
2204 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2205
2206         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2207         is nil.
2208
2209 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2210
2211         * elmo.el (elmo-folder-unflag-important): Call
2212         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2213         a symbol `always'.
2214
2215         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2216         before unset flag.
2217         (elmo-global-flag-detach): Delete the message from flag folder, if
2218         `delete-if-none' is a symbol `always'.
2219
2220 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2221
2222         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2223         `elmo-spam-spamfilter-decode-buffer'.
2224         (elsp-spamfilter-register-buffer-internal): New internal function.
2225         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2226         (elmo-spam-register-spam-buffer): Ditto.
2227         (elmo-spam-register-good-buffer): Ditto.
2228
2229         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2230         change.
2231         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2232         (elmo-spam-register-spam-buffer): Follow the API change.
2233         (elmo-spam-register-good-buffer): Ditto.
2234
2235         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2236         (elmo-split-spam-p): Added argument plist; Call
2237         `elmo-spam-buffer-spam-p' with new argument register.
2238
2239         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2240         `register'.
2241         (elmo-spam-message-spam-p): Ditto.
2242         (elmo-spam-register-spam-buffer): Added optional argument
2243         `restore'.
2244         (elmo-spam-register-good-buffer): Ditto.
2245         (elmo-spam-register-spam-messages): Ditto.
2246         (elmo-spam-register-good-messages): Ditto.
2247
2248 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2249
2250         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2251         register into good corpus.
2252         (elmo-spam-register-good-buffer): Fixed to register into bad
2253         corpus.
2254
2255 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2256
2257         * elmo-version.el (elmo-version): Up to 2.11.20.
2258
2259         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2260         change.
2261
2262         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2263         flag without depending on \Recent flag.
2264
2265 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2266
2267         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2268         (elmo-spam-modified-p): Defined.
2269         (elmo-spam-save-status): Set `modified' slot to nil.
2270         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2271         (elmo-spam-register-good-buffer): Ditto.
2272
2273         * elmo-spam.el (elmo-spam-modified-p): New API.
2274
2275 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2276
2277         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2278         duplicate definition.
2279
2280         * elmo-util.el (elmo-unfold-field-body): New function.
2281         (elmo-msgdb-get-message-id-from-buffer): Use it.
2282
2283         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2284         Fixed the last change; Use elmo-unfold-field-body.
2285
2286 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2287
2288         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2289         Unfold date value.
2290
2291 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2292
2293         * elmo-spam.el (elmo-spam-save-status): New API.
2294
2295         * elsp-spamfilter.el: New file.
2296
2297 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2298
2299         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2300
2301 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * elmo-split.el (elmo-split-spam-p): New function.
2304
2305         * elmo-spam.el: New file.
2306
2307         * elsp-bogofilter.el: Ditto.
2308
2309 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2310
2311         * elmo.el (elmo-folder-next-message-number): New API.
2312         (elmo-folder-next-message-number): Define.
2313         (elmo-message-field): Don't check folder length.
2314
2315         * elmo-net.el (elmo-folder-next-message-number): Define.
2316         (elmo-folder-next-message-number-unplugged): Define.
2317
2318         * elmo-map.el (elmo-folder-next-message-number): Define.
2319         (elmo-folder-delete-messages): Clear hash value.
2320
2321         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2322
2323         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2324         (elmo-folder-delete-messages-dop-delayed): Always return t.
2325
2326         * elmo-version.el (elmo-version): Up to 2.11.19.
2327
2328 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2329
2330         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2331         change.
2332
2333         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2334         identical cons cell into the mark-alist and the hash table.
2335
2336 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2337
2338         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2339         elmo-folder-list-messages with argument `visible-only' as t.
2340
2341         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2342         (elmo-folder-msgdb-create): Check the target folder.
2343
2344 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2345
2346         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2347         `permanentflag' instead of `flags'.
2348         (elmo-folder-open): Ditto.
2349         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2350         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2351         (elmo-folder-use-flag-p): Always return t.
2352         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2353         `permanentflags' does not exist.
2354         (elmo-folder-open): Ditto.
2355
2356 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2357
2358         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2359         is nil.
2360         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2361
2362         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2363         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2364         response.
2365         (elmo-folder-open): Ditto.
2366         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2367         slot of the session includes the flag.
2368         (elmo-imap4-session-flag-available-p): New function.
2369         (elmo-imap4-folder-list-flagged): Ditto.
2370         (elmo-folder-list-unreads-plugged): Use it.
2371         (elmo-folder-list-importants-plugged): Ditto.
2372         (elmo-folder-list-answereds-plugged): Ditto.
2373         (elmo-imap4-search-internal-primitive): Ditto.
2374         (elmo-imap4-folder-list-any-plugged,
2375         elmo-imap4-folder-list-digest-plugged): Abolish.
2376
2377         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2378         if numbers is nil.
2379
2380 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2381
2382         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2383
2384 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2385
2386         * elmo-util.el (elmo-get-hash-val): Simplify.
2387         (elmo-set-hash-val): Rewrite.
2388
2389 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2390
2391         * elmo.el (elmo-folder-list-messages): Append killed messages into
2392         result if `visible-only' is nil and `in-msgdb' is non-nil.
2393
2394         * elmo-util.el (elmo-uniq-list): Added optional argument
2395         `delete-function'.
2396
2397         * modb.el (elmo-msgdb-flag-count): New API.
2398
2399         * modb-standard.el (modb-standard): Added slot flag-count.
2400         (modb-standard-countup-flags): New function.
2401         (modb-standard-load-flag): Call it.
2402         (elmo-msgdb-append): Ditto.
2403         (elmo-msgdb-clear): Clear slot flag-count.
2404         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2405         (elmo-msgdb-unset-flag): Treat `all' flag and call
2406         modb-standard-countup-flags.
2407         (elmo-msgdb-flag-count): Define.
2408         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2409         (elmo-msgdb-delete-messages): Ditto.
2410
2411         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2412         (elmo-msgdb-flag-count): Define.
2413
2414         * elmo.el (elmo-folder-list-messages): Undo last change.
2415         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2416         (elmo-folder-kill-messages): Unset all flags to numbers.
2417
2418         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2419         elmo-folder-kill-messages.
2420
2421         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2422         (elmo-nntp-folder-delete-messages): Abolish.
2423
2424         * elmo-version.el (elmo-version): Up to 2.11.18.
2425
2426 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2427
2428         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2429         (elmo-folder-kill-messages-range): New function.
2430         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2431         instead of elmo-folder-kill-messages-before.
2432
2433 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2434
2435         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2436         elmo-imap4-current-msgdb to decide entity handler.
2437
2438 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2439
2440         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2441
2442         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2443         inline function.
2444         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2445         (elmo-msgdb-overview-entity-set-number,
2446         elmo-msgdb-overview-entity-get-references,
2447         elmo-msgdb-overview-entity-set-references,
2448         elmo-msgdb-overview-entity-get-from-no-decode,
2449         elmo-msgdb-overview-entity-get-from,
2450         elmo-msgdb-overview-entity-set-from,
2451         elmo-msgdb-overview-entity-get-subject,
2452         elmo-msgdb-overview-entity-get-subject-no-decode,
2453         elmo-msgdb-overview-entity-set-subject,
2454         elmo-msgdb-overview-entity-get-date,
2455         elmo-msgdb-overview-entity-set-date,
2456         elmo-msgdb-overview-entity-get-to,
2457         elmo-msgdb-overview-entity-get-cc,
2458         elmo-msgdb-overview-entity-get-size,
2459         elmo-msgdb-overview-entity-set-size,
2460         elmo-msgdb-overview-entity-get-extra,
2461         elmo-msgdb-overview-entity-set-extra,
2462         elmo-msgdb-overview-entity-get-extra-field,
2463         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2464         (elmo-msgdb-make-index): Use
2465         `elmo-msgdb-overview-entity-get-number-internal'.
2466         (elmo-msgdb-clear-index): Ditto.
2467         (elmo-msgdb-append-entity): Ditto;
2468         Use `elmo-msgdb-overview-entity-get-id-internal'.
2469
2470         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2471         elmo-msgdb-overview-entity-set-number,
2472         elmo-msgdb-overview-entity-get-references,
2473         elmo-msgdb-overview-entity-set-references,
2474         elmo-msgdb-overview-entity-get-from-no-decode,
2475         elmo-msgdb-overview-entity-get-from,
2476         elmo-msgdb-overview-entity-set-from,
2477         elmo-msgdb-overview-entity-get-subject,
2478         elmo-msgdb-overview-entity-get-subject-no-decode,
2479         elmo-msgdb-overview-entity-set-subject,
2480         elmo-msgdb-overview-entity-get-date,
2481         elmo-msgdb-overview-entity-set-date,
2482         elmo-msgdb-overview-entity-get-to,
2483         elmo-msgdb-overview-entity-get-cc,
2484         elmo-msgdb-overview-entity-get-size,
2485         elmo-msgdb-overview-entity-set-size,
2486         elmo-msgdb-overview-entity-get-extra,
2487         elmo-msgdb-overview-entity-set-extra,
2488         elmo-msgdb-overview-entity-get-extra-field,
2489         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2490         and rewrote for backward compatibility.
2491
2492 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2493
2494         * elmo.el (elmo-message-entity-number,
2495         elmo-message-entity-set-number,
2496         elmo-message-entity-field,
2497         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2498
2499         * elmo-msgdb.el (elmo-message-entity-number,
2500         elmo-message-entity-set-number,
2501         elmo-message-entity-field,
2502         elmo-message-entity-set-field): Moved from elmo.el.
2503
2504 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2505
2506         * elmo.el (toplevel): Changed definition orders.
2507
2508 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2509
2510         * modb.el (elmo-msgdb-search): New API .
2511         (elmo-msgdb-match-condition): Ditto.
2512
2513         * modb-standard.el (elmo-msgdb-search): Define.
2514
2515         * modb-legacy.el (elmo-msgdb-search): Ditto.
2516
2517         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2518         from elmo-msgdb-match-condition-internal.
2519
2520         * elmo.el (elmo-folder-search-fast): Abolish.
2521         (elmo-folder-search): Use elmo-msgdb-search and
2522         elmo-with-progress-display.
2523
2524         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2525         as msgdb API.
2526
2527         * elmo.el (elmo-folder): Remove slot message-modified and
2528         flag-modified.
2529         (elmo-folder-set-message-modified): Abolish.
2530         (elmo-generic-folder-commit): Follow the change above.
2531         (elmo-folder-synchronize): Ditto.
2532
2533         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2534
2535         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2536
2537         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2538
2539 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2540
2541         * modb-standard.el (modb-standard-make-message-entity,
2542         elmo-msgdb-make-message-entity,
2543         elmo-msgdb-create-message-entity-from-buffer,
2544         elmo-msgdb-message-entity-number,
2545         elmo-msgdb-message-entity-set-number,
2546         elmo-msgdb-message-entity-field,
2547         elmo-msgdb-message-entity-set-field,
2548         elmo-msgdb-copy-message-entity,
2549         elmo-msgdb-match-condition-internal): Remove.
2550
2551         * modb-entity.el: New file (again).
2552
2553         * modb.el (toplevel): Require modb-entity.
2554         (elmo-msgdb-message-entity-handler): New method.
2555
2556         * modb-standard.el (modb-standard-entity-id): Use
2557         elmo-message-entity-handler.
2558         (modb-standard-load-entity): Ditto.
2559         (elmo-msgdb-append-entity): Ditto.
2560         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2561
2562         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2563         elmo-msgdb-decoded-cache-hashtb,
2564         (modb-legacy-make-message-entity,
2565         elmo-msgdb-make-message-entity,
2566         elmo-msgdb-create-message-entity-from-buffer,
2567         elmo-msgdb-message-entity-number,
2568         elmo-msgdb-message-entity-set-number,
2569         elmo-msgdb-message-entity-field,
2570         elmo-msgdb-message-entity-set-field,
2571         elmo-msgdb-copy-message-entity,
2572         elmo-msgdb-match-condition-internal,
2573         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2574
2575         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2576         (elmo-message-entity-set-number): Ditto.
2577         (elmo-message-entity-field): Ditto.
2578         (elmo-message-entity-set-field): Ditto.
2579
2580         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2581
2582         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2583
2584         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2585
2586         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2587         (elmo-nntp-msgdb-create-message): Ditto.
2588
2589         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2590         (elmo-folder-msgdb-create): Add unread flag.
2591
2592         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2593
2594         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2595
2596         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2597
2598         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2599
2600         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2601         elmo-msgdb-messge-entity-handler.
2602         * elmo-version.el (elmo-version): Up to 2.11.17.
2603
2604 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2605
2606         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2607         change.
2608
2609 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2610
2611         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2612
2613         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2614         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2615         (elmo-msgdb-flag-table): Ditto.
2616         (elmo-msgdb-sort-by-date): Ditto.
2617
2618         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2619
2620         * modb-standard.el (toplevel): Require mime.
2621         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2622         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2623         elmo-msgdb-message-entity-number.
2624         (elmo-msgdb-append-entity): Ditto.
2625         (elmo-msgdb-create-message-entity-from-file): Remove.
2626         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2627         corresponds to the entity.
2628         (elmo-msgdb-message-entity-number): Do nothing currently.
2629         (elmo-msgdb-message-entity-field): Ditto.
2630         (elmo-msgdb-message-entity-set-field): Ditto.
2631         (elmo-msgdb-copy-message-entity): Ditto.
2632         (elmo-msgdb-match-condition-internal): Ditto.
2633
2634         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2635         elmo-util.el.
2636         (elmo-msgdb-create-message-entity-from-file): Remove.
2637
2638         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2639         modb-legacy.el.
2640         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2641
2642         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2643
2644 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2645
2646         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2647         (elmo-msgdb-message-entity-field): Ditto.
2648         (elmo-msgdb-message-entity-number): Ditto.
2649
2650 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2651
2652         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2653         Fixed how to set extra field into entity.
2654         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2655         symbol.
2656
2657         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2658         Fixed how to set extra field into entity.
2659         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2660         symbol.
2661
2662 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2663
2664         * modb.el (elmo-message-entity-db): New function.
2665         (elmo-msgdb-make-message-entity): New API.
2666         (elmo-msgdb-message-entity-number): Ditto.
2667         (elmo-msgdb-message-entity-set-number): Ditto.
2668         (elmo-msgdb-message-entity-field): Ditto.
2669         (elmo-msgdb-message-entity-set-field): Ditto.
2670         (elmo-msgdb-copy-message-entity): Ditto.
2671         (elmo-msgdb-create-message-entity-from-file): Ditto.
2672         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2673         (elmo-msgdb-match-condition-internal): Ditto.
2674
2675         * modb-standard.el (modb-legacy): Require modb-legacy.
2676         (modb-standard-make-message-entity): New inline function.
2677         (elmo-msgdb-make-message-entity): Define.
2678         (elmo-msgdb-create-message-entity-from-file): Ditto.
2679         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2680         (elmo-msgdb-message-entity-field): Ditto.
2681         (elmo-msgdb-message-entity-set-field): Ditto.
2682         (elmo-msgdb-copy-message-entity): Ditto.
2683         (elmo-msgdb-match-condition-internal): Ditto.
2684
2685         * modb-legacy.el: Don't require modb-entity.
2686         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2687         (elmo-msgdb-match-condition-primitive): Ditto.
2688         (elmo-msgdb-get-decoded-cache): Ditto.
2689         (elmo-msgdb-overview-entity-get-id): Ditto.
2690         (elmo-msgdb-overview-entity-get-number): Ditto.
2691         (elmo-msgdb-overview-entity-set-number): Ditto.
2692         (elmo-msgdb-overview-entity-get-references): Ditto.
2693         (elmo-msgdb-overview-entity-set-references): Ditto.
2694         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2695         (elmo-msgdb-overview-entity-get-from): Ditto.
2696         (elmo-msgdb-overview-entity-set-from): Ditto.
2697         (elmo-msgdb-overview-entity-get-subject): Ditto.
2698         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2699         (elmo-msgdb-overview-entity-set-subject): Ditto.
2700         (elmo-msgdb-overview-entity-get-date): Ditto.
2701         (elmo-msgdb-overview-entity-set-date): Ditto.
2702         (elmo-msgdb-overview-entity-get-to): Ditto.
2703         (elmo-msgdb-overview-entity-get-cc): Ditto.
2704         (elmo-msgdb-overview-entity-get-size): Ditto.
2705         (elmo-msgdb-overview-entity-set-size): Ditto.
2706         (elmo-msgdb-overview-entity-get-extra): Ditto.
2707         (elmo-msgdb-overview-entity-set-extra): Ditto.
2708         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2709         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2710         (elmo-msgdb-number-load): Ditto.
2711         (elmo-msgdb-overview-load): Ditto.
2712         (elmo-msgdb-mark-load): Ditto.
2713         (elmo-msgdb-number-save): Ditto.
2714         (elmo-msgdb-mark-save): Ditto.
2715         (elmo-msgdb-overview-save): Ditto.
2716         (modb-legacy-make-message-entity): New inline function.
2717         (elmo-msgdb-insert-file-header): Ditto.
2718         (elmo-msgdb-make-message-entity): Define.
2719         (elmo-msgdb-create-message-entity-from-file): Ditto.
2720         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2721         (elmo-msgdb-message-entity-number): Ditto.
2722         (elmo-msgdb-message-entity-set-number): Ditto.
2723         (elmo-msgdb-message-entity-field): Ditto.
2724         (elmo-msgdb-message-entity-set-field): Ditto.
2725         (elmo-msgdb-copy-message-entity): Ditto.
2726         (elmo-msgdb-match-condition-internal): Ditto.
2727
2728         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2729         (elmo-message-copy-entity): Rewrite.
2730         (elmo-message-entity-number): Ditto.
2731         (elmo-message-entity-set-number): Ditto.
2732         (elmo-message-entity-field): Use elmo-message-entity-db.
2733         (elmo-message-entity-set-field): Ditto.
2734         (elmo-message-field): Rewrite.
2735
2736         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2737         elmo-msgdb.el
2738         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2739
2740         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2741         elmo-message-entity-field.
2742         (elmo-shimbun-folder-shimbun-header): Ditto.
2743         (elmo-shimbun-entity-to-header): Ditto.
2744         (elmo-folder-msgdb-create): Ditto.
2745         (elmo-shimbun-msgdb-create-entity): Ditto;
2746         Use elmo-msgdb-create-message-entity-from-buffer.
2747         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2748         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2749
2750         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2751         elmo-msgdb-create-message-entity-from-file and 
2752         elmo-message-entity-field.
2753
2754         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2755         elmo-message-entity-number.
2756         (elmo-pop3-msgdb-create-message): Use
2757         elmo-msgdb-create-message-entity-from-buffer,
2758         elmo-message-entity-set-field, elmo-message-entity-number and
2759         elmo-message-entity-set-number.
2760
2761         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2762         the API change in elmo-msgdb-make-message-entity.
2763         (elmo-nntp-msgdb-create-message): Use
2764         elmo-msgdb-create-message-entity-from-buffer.
2765
2766         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2767         elmo-message-entity-field and
2768         elmo-msgdb-create-message-entity-from-file.
2769
2770         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2771         (elmo-msgdb-get-field): Abolish.
2772         (elmo-msgdb-get-number): Rewrite.
2773         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2774         (elmo-msgdb-flag-table): Ditto.
2775         (elmo-msgdb-get-last-message-id,
2776         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2777         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2778         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2779         (elmo-msgdb-create-overview-from-buffer,
2780         elmo-msgdb-overview-get-parent-entity): Abolish.
2781
2782         * elmo-mime.el (elmo-mime-display-as-is): Use
2783         elmo-message-entity-field.
2784
2785         * elmo-map.el (elmo-folder-pack-numbers): Use
2786         elmo-message-entity-set-number.
2787
2788         * elmo-maildir.el (elmo-folder-msgdb-create): 
2789         elmo-msgdb-create-message-entity-from-file instead of
2790         elmo-msgdb-create-overview-entity-from-file.
2791
2792         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2793         msgdb.
2794         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2795         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2796
2797         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2798         elmo-messge-entity-field and elmo-message-entity-number.
2799         (elmo-imap4-fetch-callback-1): Call
2800         elmo-msgdb-create-message-entity-from-buffer instead of
2801         elmo-msgdb-create-overview-from-buffer. 
2802         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2803         (elmo-find-fetch-strategy): Likewise.
2804
2805         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2806         elmo-localdir-msgdb-create-entity with argument msgdb.
2807
2808         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2809         and elmo-message-entity-set-number.
2810
2811         * elmo-cache.el (elmo-folder-msgdb-create): Use
2812         elmo-message-entity-field.
2813         (elmo-folder-msgdb-create): Call
2814         elmo-msgdb-create-message-entity-from-file instead of
2815         elmo-msgdb-create-overview-entity-from-file.
2816
2817         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2818         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2819         instead of elmo-msgdb-create-overview-from-buffer.
2820         (elmo-archive-msgdb-create-entity): Ditto.
2821         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2822         elmo-message-entity-field.
2823         (elmo-archive-parse-mmdf): Ditto.
2824
2825         * modb-entity.el: Removed.
2826
2827         * elmo-version.el (elmo-version): Up to 2.11.16.
2828
2829 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2830
2831         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2832         `is-local'.
2833         (elmo-folder-flag-as-answered): Ditto.
2834
2835 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2836
2837         * modb-standard.el: New file.
2838
2839         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2840         elmo-msgdb-convert-type is `sync'.
2841
2842         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2843         (elmo-msgdb-convert-type): New user option.
2844
2845         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2846         (elmo-load-msgdb): Auto detect saved type.
2847
2848         * elmo-version.el (elmo-version): Up to 2.11.15.
2849
2850 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2851
2852         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2853
2854         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2855         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2856         with argument `delete-if-none' when dst-folder is 'null.
2857
2858         * elmo-flag.el (elmo-folder-append-messages): Defined.
2859         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2860
2861 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2862
2863         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2864
2865 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2866
2867         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2868         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2869         (elmo-folder-commit): Ditto.
2870
2871 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2872
2873         * elmo-flag.el: New file.
2874
2875         * elmo-mark.el: Removed.
2876
2877         * modb-legacy.el (modb-legacy-new-mark,
2878         modb-legacy-unread-uncached-mark,
2879         modb-legacy-unread-cached-mark,
2880         modb-legacy-read-uncached-mark,
2881         modb-legacy-answered-cached-mark,
2882         modb-legacy-answered-uncached-mark,
2883         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2884         All other related portions are changed.
2885
2886         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2887         (elmo-folder-list-messages-with-global-mark): Abolish.
2888         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2889         (elmo-folder-flag-as-important): Ditto.
2890         (elmo-folder-unflag-read): Ditto.
2891         (elmo-folder-flag-as-read): Ditto.
2892         (elmo-folder-unflag-answered): Ditto.
2893         (elmo-folder-flag-as-answered): Ditto.
2894         (elmo-message-encache): Return the cache path.
2895         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2896         (elmo-message-set-flag): Transitional implementation.
2897         (elmo-message-unset-flag): Ditto.
2898         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2899         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2900         (elmo-init): Call elmo-global-flag-initialize.
2901         (toplevel): Added autoload settings for elmo-flag.
2902
2903         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2904
2905         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2906         (elmo-file-cache-delete): Don't treat global-mark.
2907
2908         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2909
2910         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2911
2912         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2913         `elmo-global-flags-set'.
2914
2915         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2916         `flag'.
2917         (elmo-folder-unflag-read): Ditto.
2918         (elmo-folder-unflag-important): Ditto.
2919         (elmo-folder-flag-as-important): Ditto.
2920         (elmo-folder-unflag-answered): Ditto.
2921         (elmo-folder-flag-as-answered): Ditto.
2922
2923         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2924         `elmo-global-flags-set'.
2925         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2926
2927         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2928
2929         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2930         `flag'.
2931         (elmo-folder-flag-as-important): Ditto.
2932         (elmo-folder-unflag-important): Ditto.
2933         (elmo-folder-flag-as-important): Ditto.
2934         (elmo-folder-unflag-read): Ditto.
2935         (elmo-folder-flag-as-read): Ditto.
2936         (elmo-folder-unflag-answered): Ditto.
2937         (elmo-folder-flag-as-answered): Ditto.
2938
2939         * elmo-multi.el (elmo-folder-list-importants): Don't call
2940         elmo-folder-list-messages-with-global-mark.
2941         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2942         (elmo-folder-unflag-important): Ditto.
2943         (elmo-folder-flag-as-read): Ditto.
2944         (elmo-folder-unflag-read): Ditto.
2945         (elmo-folder-flag-as-answered): Ditto.
2946         (elmo-folder-unflag-answered): Ditto.
2947
2948         * elmo-msgdb.el (elmo-msgdb-new-mark,
2949         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2950         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2951         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2952         (Moved to modb-legacy.el).
2953         (elmo-flag-table-get): Treat important flag too.
2954
2955         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2956         `mark' to `flag'.
2957         (elmo-map-folder-flag-as-important): Ditto.
2958         (elmo-map-folder-unflag-read): Ditto.
2959         (elmo-map-folder-flag-as-read): Ditto.
2960         (elmo-map-folder-unflag-answered): Ditto.
2961         (elmo-map-folder-flag-as-answered): Ditto.
2962         (elmo-folder-unflag-important): Ditto.
2963         (elmo-folder-flag-as-important): Ditto.
2964         (elmo-folder-unflag-read): Ditto.
2965         (elmo-folder-flag-as-read): Ditto.
2966         (elmo-folder-unflag-answered): Ditto.
2967         (elmo-folder-flag-as-answered): Ditto.
2968
2969         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2970         (elmo-map-folder-flag-as-important): Renamed from `mark' to
2971         `flag'.
2972         (elmo-map-folder-unflag-important): Ditto.
2973         (elmo-map-folder-flag-as-read): Ditto.
2974         (elmo-map-folder-unflag-read): Ditto.
2975         (elmo-map-folder-flag-as-answered): Ditto.
2976         (elmo-map-folder-unflag-answered): Ditto.
2977
2978         * elmo-localdir.el (elmo-folder-msgdb-create): Call
2979         `elmo-global-flags-set'.
2980         (elmo-global-flags-set): Added autoload setting.
2981
2982         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2983         `flag'.
2984
2985         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2986         `elmo-msgdb-global-mark-set'.
2987         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2988         Call `elmo-global-flags-set'.
2989         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2990         `flag'.
2991         (elmo-folder-flag-as-important-plugged): Ditto.
2992         (elmo-folder-unflag-read-plugged): Ditto.
2993         (elmo-folder-flag-as-read-plugged): Ditto.
2994         (elmo-folder-unflag-answered-plugged): Ditto.
2995         (elmo-folder-flag-as-answered-plugged): Ditto.
2996         (elmo-global-flags-set): Added autoload setting.
2997
2998         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2999         `flag'.
3000         (elmo-folder-unflag-read): Ditto.
3001         (elmo-folder-flag-as-important): Ditto.
3002         (elmo-folder-unflag-important): Ditto.
3003         (elmo-folder-flag-as-answered): Ditto.
3004         (elmo-folder-unflag-answered): Ditto.
3005
3006         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3007         change of `mark'->`flag'.
3008         (elmo-dop-queue-method-name-alist): Ditto.
3009         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3010         (elmo-folder-unflag-read-dop): Ditto.
3011         (elmo-folder-flag-as-important-dop): Ditto.
3012         (elmo-folder-unflag-important-dop): Ditto.
3013         (elmo-folder-flag-as-answered-dop): Ditto.
3014         (elmo-folder-unflag-answered-dop): Ditto.
3015
3016         * elmo-cache.el (elmo-folder-msgdb-create): Call
3017         `elmo-global-flags-set'.
3018
3019         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3020         Call `elmo-global-flags-set'.
3021         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3022         elmo-archive-parse-mmdf with argument `folder'.
3023         (elmo-archive-parse-mmdf): Added argument `folder';
3024         Call `elmo-global-flags-set'.
3025
3026         * elmo-version.el (elmo-version): Up to 2.11.14.
3027
3028 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3029
3030         * modb.el (elmo-msgdb-length): Define.
3031
3032         * elmo.el (elmo-make-folder): Fixed.
3033         (elmo-generic-folder-append-messages): Follow the API change.
3034
3035         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3036         API change.
3037
3038 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3039
3040         * modb.el: New file.
3041
3042         * modb-entity.el: Ditto.
3043
3044         * modb-legacy.el: Ditto.
3045
3046         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3047         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3048         of `elmo-msgdb-overview-get-entity'.
3049         (elmo-msgdb-get-field): Ditto.
3050         (elmo-msgdb-merge): Moved to `elmo.el'.
3051         (elmo-msgdb-length): Removed; redefine as modb method.
3052         (elmo-msgdb-change-mark): Abolish.
3053         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3054         (elmo-msgdb-match-condition): Don't use mark.
3055         (elmo-msgdb-overview-get-entity): Abolish.
3056         Split modb part into `modb*.el'.
3057
3058         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3059
3060         * elmo-shimbun.el (shimbun-mua-search-id): Use
3061         `elmo-msgdb-message-entity' instead of
3062         `elmo-msgdb-overview-get-entity'.
3063         (elmo-shimbun-folder-shimbun-header): Ditto.
3064         (elmo-shimbun-get-headers): Ditto.
3065         (elmo-shimbun-update-overview): Ditto.
3066
3067         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3068
3069         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3070
3071         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3072         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3073
3074         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3075         `elmo-msgdb-mark-to-flags'.
3076
3077         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3078         `elmo-msgdb-set-path'.
3079
3080         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3081  
3082         * elmo-version.el (elmo-version): Up to 2.11.13.
3083
3084         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3085
3086         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3087         of mark.
3088
3089 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3090
3091         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3092         mismatch.
3093
3094 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3095
3096         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3097         instead of `elmo-msgdb-get-cached'.
3098         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3099
3100         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3101         (elmo-msgdb-set-cached): Ditto.
3102         (elmo-msgdb-set-flag): Rewrite.
3103         (elmo-msgdb-unset-flag): Ditto.
3104
3105         * elmo-msgdb.el: Rewrite with luna.
3106
3107         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3108         (elmo-folder-msgdb): Follow the change above.
3109         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3110         (elmo-folder-unmark-important): Follow the API change.
3111         (elmo-folder-mark-as-important): Ditto.
3112         (elmo-folder-unmark-read): Ditto.
3113         (elmo-folder-mark-as-read): Ditto.
3114         (elmo-folder-unmark-answered): Ditto.
3115         (elmo-folder-mark-as-answered): Ditto.
3116         (elmo-folder-clear): Likewise.
3117
3118         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3119         instead of `elmo-msgdb-load' (renamed).
3120
3121         * elmo-version.el (elmo-version): Up to 2.11.12.
3122
3123 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3124
3125         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3126         change.
3127         (elmo-message-mark): Abolish.
3128         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3129         instead of `elmo-msgdb-change-mark'.
3130
3131         * elmo-pipe.el (elmo-message-mark): Abolish.
3132
3133         * elmo-multi.el (elmo-message-mark): Ditto.
3134
3135         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3136         (elmo-msgdb-unread-uncached-mark): Ditto.
3137         (elmo-msgdb-unread-cached-mark): Ditto.
3138         (elmo-msgdb-read-uncached-mark): Ditto.
3139         (elmo-msgdb-answered-cached-mark): Ditto.
3140         (elmo-msgdb-answered-uncached-mark): Ditto.
3141         (elmo-msgdb-important-mark): Ditto.
3142         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3143         `use-cache'.
3144         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3145         `flags'.
3146         (elmo-flag-table-load): Changed flag to list of flag.
3147         (elmo-flag-table-set): If flags is nil, set read flag.
3148         (elmo-flag-table-get): Return derived flags from global mark,
3149         cache status and saved flags.
3150         (elmo-msgdb-flag-table): Follow the change above.
3151         (elmo-msgdb-out-of-date-messages): New function.
3152
3153         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3154
3155         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3156
3157         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3158
3159         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3160         (elmo-nntp-msgdb-create-message): Ditto.
3161
3162         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3163
3164         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3165         independent.
3166         (elmo-folder-msgdb-create): Follow the API change.
3167
3168         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3169         (elmo-folder-append-messages): Ditto.
3170
3171         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3172         (elmo-folder-append-buffer): Ditto.
3173
3174         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3175
3176         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3177
3178         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3179         (elmo-archive-parse-mmdf): Ditto.
3180
3181         * elmo-version.el (elmo-version): Up to 2.11.11.
3182
3183 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3184
3185         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3186         `elmo-msgdb-mark'.
3187
3188         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3189
3190         * elmo-pipe.el (elmo-message-flags): Defined.
3191
3192         * elmo-multi.el (elmo-message-flags): Ditto.
3193
3194 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3195
3196         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3197         `elmo-msgdb-delete-msgs'.
3198
3199         * elmo.el (elmo-folder-count-flags): Don't use
3200         `elmo-msgdb-get-mark-alist'.
3201         (elmo-folder-detach-messages): Follow the API change.
3202
3203         * elmo.el (elmo-folder-list-messages): Append killed messages into
3204         result if `visible-only' is nil.
3205
3206         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3207         canceled messages.
3208         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3209         (elmo-folder-update-number): Likewise.
3210
3211         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3212         (elmo-pop3-sort-msgdb-by-original-number): Use
3213         `elmo-msgdb-sort-entities'.
3214
3215         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3216         (elmo-msgdb-sort-by-date): Use it.
3217         (elmo-msgdb-overview-sort-by-date): Abolish.
3218
3219         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3220
3221         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3222         (elmo-msgdb-flags): New function.
3223         (elmo-msgdb-merge): Use elmo-msgdb-append.
3224
3225         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3226         change.
3227
3228         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3229
3230         * elmo-dop.el (elmo-folder-status-dop): Use
3231         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3232
3233 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3234
3235         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3236
3237         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3238
3239         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3240
3241         * elmo-util.el (elmo-with-progress-display): New macro.
3242
3243         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3244
3245 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3246
3247         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3248         `elmo-folder-list-message-entities' instead of
3249         `elmo-msgdb-get-overview'.
3250         (elmo-map-folder-list-message-locations): Ditto.
3251
3252         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3253         methods instead of treat directly).
3254         (elmo-msgdb-clear): Ditto.
3255         (elmo-msgdb-delete-msgs): Ditto.
3256         (elmo-msgdb-sort-by-date): Ditto.
3257
3258         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3259         local variables.
3260         (elmo-nntp-folder-msgdb-create): Follow the API change.
3261
3262         * elmo-version.el (elmo-version): Up to 2.11.10.
3263
3264 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3265
3266         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3267         (elmo-msgdb-flags-to-mark): Ditto.
3268         (elmo-msgdb-append-entity): Ditto.
3269
3270         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3271         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3272         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3273         (elmo-archive-parse-mmdf): Ditto.
3274
3275         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3276
3277         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3278
3279         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3280
3281         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3282
3283         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3284
3285         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3286
3287         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3288
3289         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3290
3291         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3292         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3293         to empty msgdb.
3294
3295         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3296         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3297         instead of directly construction.
3298         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3299         instead of construct msgdb.
3300
3301         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3302         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3303         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3304         instead of construct msgdb.
3305
3306 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3307
3308         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3309         when field is from or subject.
3310
3311 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3312
3313         * elmo-multi.el (elmo-message-entity-parent): Define.
3314         (elmo-folder-search): Rewrite.
3315
3316 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3317
3318         * elmo-multi.el (elmo-message-cached-p): Define.
3319
3320         * elmo.el (elmo-message-cached-p): New method.
3321         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3322         (elmo-message-flags): New method.
3323         (elmo-message-flagged-p): New function.
3324
3325         * elmo-version.el (elmo-version): Up to 2.11.9.
3326
3327 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3328
3329         * elmo-version.el (elmo-version): Up to 2.11.8.
3330
3331         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3332
3333         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3334
3335 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3336
3337         * elmo.el (elmo-folder-detach-messages): Undo last change.
3338
3339 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3340
3341         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3342
3343         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3344         only when src folder type is pop3.
3345
3346 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3347
3348         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3349         elmo-msgdb-overview-entity-get-number instead of
3350         elmo-message-entity-number.
3351
3352 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3353
3354         * elmo-version.el (elmo-version): Up to 2.11.7.
3355
3356 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3357
3358         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3359         function.
3360
3361         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3362         (elmo-msgdb-merge): New function.
3363         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3364         (elmo-msgdb-make-index): Rewrite.
3365
3366         * elmo-version.el (elmo-version): Up to 2.11.6.
3367
3368         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3369         use it as a the path for loading message entities.
3370
3371         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3372
3373 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3374
3375         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3376         message-modified slot of itself if it does not require target msgdb.
3377
3378         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3379         if folder length is zero.
3380         (elmo-mime-display-as-is): Ditto.
3381
3382         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3383
3384         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3385
3386 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3387
3388         * elmo.el (elmo-folder-set-message-modified): New method.
3389         (elmo-generic-folder-commit): Use it.
3390         (elmo-folder-synchronize): Ditto.
3391
3392         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3393         (elmo-folder-commit): Remove duplicate definition.
3394
3395 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3396
3397         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3398
3399 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3400
3401         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3402         (elmo-strict-folder-diff): Ditto.
3403         (elmo-folder-set-info-max-by-numdb): Simplify.
3404
3405         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3406         elmo-msgdb-list-messages.
3407
3408         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3409         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3410
3411 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3412
3413         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3414         visible-only is non-nil.
3415         (elmo-folder-confirm-appends): Changed message.
3416         (elmo-folder-synchronize): Added argument disable-killed.
3417
3418         * elmo-multi.el (elmo-folder-synchronize): Added argument
3419         disable-killed.
3420
3421         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3422
3423         * elmo-version.el (elmo-version): Up to 2.11.5.
3424
3425         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3426         elmo-list-filter.
3427
3428         * elmo-util.el (elmo-list-filter): Simplify.
3429
3430         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3431         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3432         (elmo-generic-folder-diff): Abolish argument.
3433         (elmo-msgdb-load): Don't use number-alist.
3434
3435         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3436
3437         * elmo-pipe.el (elmo-folder-diff): Ditto.
3438
3439         * elmo-nmz.el (elmo-folder-diff): Ditto.
3440
3441         * elmo-net.el (elmo-folder-diff): Ditto.
3442
3443         * elmo-maildir.el (elmo-folder-diff): Ditto.
3444
3445         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3446
3447         * elmo-multi.el (elmo-folder-diff): Ditto
3448         (elmo-multi-folder-diff): Rewrite.
3449
3450 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3451
3452         * elmo-pipe.el (elmo-folder-msgdb): Define.
3453
3454 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3455
3456         * elmo.el (elmo-message-set-cached): Define as a method.
3457
3458         * elmo-pipe.el (elmo-message-set-cached): Define.
3459         (elmo-find-fetch-strategy): Ditto.
3460
3461         * elmo-multi.el (elmo-message-set-cached): Define.
3462         (elmo-find-fetch-strategy): Rewrite.
3463
3464         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3465
3466         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3467
3468 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3469
3470         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3471         instead of number-alist.
3472
3473         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3474         mark nor message-id when msgdb of source folder is not loaded.
3475
3476         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3477
3478         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3479
3480 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3481
3482         * elmo.el (elmo-folder-length): Don't require msgdb.
3483
3484 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3485
3486         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3487         (elmo-message-field): Ditto.
3488
3489         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3490         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3491         slot.
3492         (elmo-map-folder-list-answereds): Define.
3493         (elmo-maildir-list-location): Treat 'R' info.
3494         (elmo-folder-msgdb-create): Treat flag-table.
3495         (elmo-folder-append-messages): Save flag-table.
3496
3497 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3498
3499         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3500         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3501
3502 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3503
3504         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3505
3506         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3507         'read when mark is null.
3508
3509 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3510
3511         * elmo-version.el (elmo-version): Up to 2.11.4.
3512
3513 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3514
3515         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3516         (elmo-folder-mark-as-answered): Ditto.
3517
3518 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3519
3520         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3521         (elmo-pop3-get-session): Make msgdb directory after session.
3522         (elmo-folder-exists-p): Check exactly at the first time even when the
3523         elmo-pop3-exists-exactly is nil.
3524
3525         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3526         (elmo-folder-list-messages): Define instead of
3527         elmo-folder-list-messages-internal.
3528         (elmo-folder-check): Check destination folder.
3529         (elmo-folder-synchronize): Drain the pipe.
3530
3531         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3532         when msgdb is not loaded.
3533
3534         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3535
3536         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3537         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3538         messages.
3539
3540         * elmo.el (elmo-folder-kill-messages-before): New function.
3541         (elmo-folder-kill-messages): Ditto.
3542         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3543
3544         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3545         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3546         killed not by synchronize (e.g. scoring).
3547
3548 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3549
3550         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3551         treated.
3552         (elmo-folder-search): Follow the change above.
3553
3554         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3555         into the candidates of search field.
3556
3557 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3558
3559         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3560         (elmo-msgdb-unset-flag): Ditto.
3561
3562         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3563
3564 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3565
3566         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3567         (elmo-folder-commit): Define.
3568         (elmo-folder-synchronize): Ditto.
3569         (elmo-folder-list-flagged): Ditto.
3570         (elmo-folder-commit): Ditto.
3571         (elmo-folder-length): Ditto.
3572         (elmo-folder-count-flags): Ditto.
3573         (elmo-message-mark): Ditto.
3574         (elmo-message-field): Ditto.
3575         (elmo-message-entity): Ditto.
3576         (elmo-message-folder): Ditto.
3577
3578 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3579
3580         * elmo.el (elmo-message-field): Define as a method.
3581
3582         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3583         (elmo-message-field): Define.
3584
3585         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3586         (elmo-folder-list-importants): Ditto.
3587         (elmo-folder-list-answereds): Ditto.
3588
3589         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3590         qualifier.
3591         (elmo-folder-mark-as-read): Ditto.
3592         (elmo-folder-unmark-read): Ditto.
3593         (elmo-folder-mark-as-answered): Ditto.
3594         (elmo-folder-unmark-answered): Ditto.
3595         (elmo-folder-list-flagged): Define.
3596         (elmo-folder-commit): Ditto.
3597         (elmo-folder-length): Ditto.
3598         (elmo-folder-count-flags): Ditto.
3599
3600 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3601
3602         * elmo.el (elmo-folder-detach-messages): New method.
3603         (elmo-folder-move-messages): Use it.
3604         (elmo-folder-synchronize): Ditto.
3605
3606         * elmo-multi.el (elmo-folder-detach-messages): Define.
3607
3608         * elmo.el (elmo-message-copy-entity): New function.
3609         (elmo-message-entity-set-number): Ditto.
3610         (elmo-message-mark): Define as method.
3611
3612         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3613         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3614         (elmo-message-entity): Fixed last change.
3615         (elmo-message-mark): Define.
3616         (elmo-folder-msgdb-create): Abolish.
3617         (elmo-multi-folder-append-msgdb): Ditto.
3618         (elmo-multi-folder-diff): Fixed.
3619         (elmo-multi-split-number-alist): Removed.
3620         (elmo-multi-split-mark-alist): Removed.
3621         (elmo-folder-list-messages): Define.
3622         (elmo-folder-list-messages-internal): Removed.
3623
3624         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3625         local file messages.
3626         (elmo-folder-msgdb-create): Fixed read mark.
3627
3628 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3629
3630         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3631         if mark is nil.
3632
3633 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3634
3635         * elmo.el (elmo-folder-list-message-entities): Define as inline
3636         function.
3637         (elmo-folder-messages): Abolish.
3638
3639         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3640         folder.
3641         (elmo-folder-synchronize): Define.
3642         (elmo-message-entity): Define.
3643
3644 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3645
3646         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3647         elmo-imap4-session-select-mailbox.
3648
3649         * elmo.el (elmo-folder-move-messages): Don't display any message.
3650
3651         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3652         parsing.
3653         (elmo-imap4-session-check): Don't wait CHECK response.
3654         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3655
3656 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3657
3658         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3659
3660 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3661
3662         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3663         API.
3664         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3665
3666
3667         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3668         (elmo-folder-list-message-entities): Added argument in-msgdb and
3669         numbers.
3670         (elmo-folder-synchronize): Define as a method.
3671
3672         * elmo-nntp.el (elmo-folder-initialize): Don't use
3673         elmo-nntp-default-user if zero-length username is specified
3674         explicitly.
3675
3676 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3677
3678         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3679         server name in case with username.
3680         (XXX: this is ad-hoc fix against username includes "@", it
3681         should be solved fundamentally)
3682
3683 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3684
3685         * elmo-nntp.el (elmo-nntp-debug): New function.
3686         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3687         (elmo-network-authenticate-session): Hide auth-info from the log.
3688
3689         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3690         user name if it is equal to elmo-nntp-default-user.
3691
3692 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3693
3694         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3695         instead of shimbun-server-internal;
3696         Use shimbun-current-group instead of shimbun-current-group-internal.
3697         (elmo-folder-plugged-p): Use shimbun-server instead of
3698         shimbun-server-internal.
3699         (elmo-folder-set-plugged): Ditto.
3700         (elmo-net-port-info): Ditto.
3701         (elmo-folder-check): Ditto.
3702         (elmo-folder-expand-msgdb-path): Ditto.
3703         (elmo-folder-list-subfolders): Ditto.
3704
3705 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3706
3707         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3708         Convert field-name to lower case.
3709         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3710
3711 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3712
3713         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3714         `message' and `error' take format string.
3715
3716 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3717
3718         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3719
3720 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3721
3722         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3723         recursive call (can't byte compile on emacs 20.7).
3724
3725 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3726
3727         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3728         (elmo-folder-list-message-entities): New API.
3729         (elmo-message-entity): Ditto.
3730         (elmo-message-entity-parent): Ditto.
3731         (elmo-folder-do-each-message-entity): Ditto.
3732         (elmo-message-entity-number): Ditto.
3733         (elmo-message-entity-field): Ditto.
3734         (elmo-message-entity-set-field): Ditto.
3735         (elmo-folder-count-flags): Ditto.
3736         (elmo-folder-length): Ditto.
3737
3738         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3739         not.
3740
3741         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3742         (elmo-msgdb-count-marks): Abolish.
3743         (elmo-msgdb-make-entity): Ditto.
3744         (elmo-msgdb-do-each-entity): Ditto.
3745         (elmo-msgdb-message-entity): New inline function.
3746         (elmo-msgdb-message-entity-field): Ditto.
3747         (elmo-msgdb-message-entity-set-field): Ditto.
3748         (elmo-msgdb-make-message-entity): New function.
3749
3750 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3751
3752         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3753         to flag. (All other related portions are changed.)
3754         (elmo-folder-msgdb-create): Likewise.
3755         (elmo-generic-folder-append-messages): Use flag-table instead of
3756         seen-list.
3757         (elmo-folder-move-messages): Removed redundant process.
3758         (elmo-folder-synchronize): Likewise.
3759
3760         * elmo-msgdb.el (elmo-flag-table-get): New function.
3761         (elmo-flag-table-save): Fixed.
3762         (elmo-msgdb-length): New inline function.
3763         (elmo-msgdb-flag-table): New function.
3764         (elmo-msgdb-mark): Add optional argument new.
3765         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3766         (elmo-msgdb-seen-list): Ditto.
3767         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3768
3769
3770 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3771
3772         * elmo.el (elmo-message-set-mark): Abolish.
3773         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3774         (All related portions are changed.)
3775
3776         * elmo-msgdb.el (toplevel): Added comment.
3777         (elmo-load-msgdb): Added 4th element `path'.
3778         (elmo-msgdb-append): Follow the change above.
3779         (elmo-msgdb-clear): Ditto.
3780         (elmo-msgdb-delete-msgs): Ditto.
3781         (elmo-msgdb-get-path): New inline function.
3782         (elmo-msgdb-set-path): Ditto.
3783         (elmo-flag-table-filename): New variable.
3784         (elmo-flag-table-load): New function.
3785         (elmo-flag-table-set): Ditto.
3786         (elmo-flag-table-save): Ditto.
3787         (elmo-msgdb-get-field-value): Abolish.
3788         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3789
3790 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3791
3792         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3793         the folder has been deleted successfully.
3794         * elmo-imap4.el (elmo-folder-delete): Ditto.
3795         * elmo-archive.el (elmo-folder-delete): Ditto.
3796         * elmo-localdir.el (elmo-folder-delete): Ditto.
3797         * elmo-maildir.el (elmo-folder-delete): Ditto.
3798
3799 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3800
3801         * elmo-util.el (elmo-string-member-ignore-case): New function.
3802         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3803         (elmo-imap4-fetch-callback-1-subr): Likewise.
3804
3805 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3806
3807         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3808         the case of the name attribute "\Noselect".
3809
3810 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3811
3812         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3813
3814         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3815         flist, is not always a member of onum-alist.
3816
3817 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3818
3819         * elmo-version.el (elmo-version): Up to 2.11.3.
3820
3821 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3822
3823         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3824         copied from localdir's one.
3825
3826         * elmo-pipe.el (elmo-folder-rename): New method, rename
3827         destination folder with leaving source folder as it is.
3828
3829 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3830
3831         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3832         replace-regexp.
3833
3834 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3835
3836         * elmo-version.el (elmo-version): Up to 2.11.2.
3837
3838 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3839
3840         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3841         shimbun-open in case of "@".
3842         (elmo-folder-open-internal): Cope with shimbun = nil case.
3843         (elmo-folder-plugged-p): Ditto.
3844         (elmo-folder-list-subfolders): Make list for "@/" group.
3845
3846 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3847
3848         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3849         mailbox (e.g. for %~/something).
3850
3851 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3852
3853         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3854         Replace nested conditional with guard clauses.
3855
3856 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3857
3858         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3859         error [wl:11327].
3860
3861         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3862         print-depth.
3863
3864 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3865
3866         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3867         Replace nested conditional with guard clauses.
3868
3869 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3870
3871         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3872         (elmo-passwd-alist-save): Ditto.
3873         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3874
3875 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3876
3877         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3878         dir-name only if it is absolute path.
3879         (TODO: distinguish +/something and +something)
3880
3881 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3882
3883         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3884         path for "+~/something".
3885
3886 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3887
3888         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3889         as non-directory, cause error before rename-file.
3890         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3891         apropriately, mimic localdir's one.
3892         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3893
3894 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3895
3896         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3897
3898 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
3899
3900         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3901
3902         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3903         
3904         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3905         is included in the global-mark or not.
3906
3907 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3908
3909         * utf7.el (toplevel): Avoid error when the function
3910         find-coding-system does not exist.
3911
3912 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3913
3914         * elmo-nntp.el (elmo-folder-search): Body search is to search from
3915         cache even if the folder is plugged.
3916         (elmo-nntp-search-primitive): Do nothing when body search is
3917         invoked (although it is not used by the change above).
3918         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3919
3920 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
3921
3922         * elmo-version.el (elmo-version): Up to 2.11.1.
3923
3924 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
3925
3926         * elmo-archive.el: Specify charset.
3927
3928 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
3929
3930         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3931         process buffer lives or not.
3932
3933         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3934         while flushing queues (It causes infinite loop).
3935
3936 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
3937
3938         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3939
3940 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
3941
3942         * utf7.el (toplevel): Check the ucs features dynamically.
3943         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
3944
3945         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3946         folder is creatabe or not if it already exists.
3947
3948 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
3949
3950         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3951
3952         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3953
3954         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3955         (elmo-imap4-read-response): Take care of garbage response.
3956
3957 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3958
3959         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3960         just return nil instead of error.
3961
3962 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3963
3964         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3965         search-key is "body".
3966
3967 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
3968
3969         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3970         of elmo-string-matched-assoc to use match-data.
3971         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3972
3973 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3974
3975         * elmo-split.el (elmo-split->): New function.
3976         (elmo-split-<): Ditto.
3977
3978 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
3979
3980         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3981         workaround for invalid message-id.
3982
3983 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
3984
3985         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3986         return normal pop3 session or pop3 biff session.
3987
3988 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
3989
3990         * elmo-maildir.el (elmo-maildir-update-current): Don't append
3991         info part to the cur files when the new files already have it.
3992         (Adviced by Jared Rhine <jared@wordzoo.com>)
3993
3994 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3995
3996         * elmo-split.el (elmo-split-default-action): New variable.
3997         (elmo-split-subr): Use it if all other conditions are passed.
3998         Extend `fname' and rename it as `action'. (implemented
3999         Teranishi-san's idea in [wl:10800])
4000
4001 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4002
4003         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4004         * elmo-util.el: Ditto.
4005
4006 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4007
4008         * elmo.el (elmo-message-accessible-p): Renamed from
4009         elmo-message-cached-p and rewritten.
4010
4011 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4012
4013         * elmo.el (elmo-folder-list-flagged): New generic function.
4014         (elmo-folder-list-importants): New implementation.
4015         (elmo-folder-list-answereds): Ditto.
4016         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4017         Added 'digest'.
4018         (elmo-message-cached-p): New function.
4019         (elmo-message-set-flag): Ditto (no content).
4020         (elmo-message-unset-flag): Ditto.
4021         (elmo-folder-list-messages-mark-match): Abolish.
4022
4023         * elmo-util.el (elmo-regexp-opt): New function.
4024
4025         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4026         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4027         Added 'digest'.
4028         (elmo-msgdb-list-flagged): New function.
4029
4030         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4031         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4032         Added 'digest'.
4033
4034         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4035
4036 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4037
4038         * elmo-version.el (elmo-version): Up to 2.11.0.
4039
4040 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4041
4042         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4043         `elmo-file-cache-exists-p'; use proper mark that depends on
4044         `use-cache'.
4045         (elmo-msgdb-unset-flag): Ditto.
4046         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4047
4048         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4049         with 4th argument `use-cache'.
4050
4051 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4052
4053         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4054         (elmo-folder-mark-as-important): Ditto.
4055         (elmo-folder-unmark-read): Ditto.
4056         (elmo-folder-mark-as-read): Ditto.
4057         (elmo-folder-unmark-answered): Ditto.
4058         (elmo-folder-mark-as-answered): Ditto.
4059
4060         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4061         message status.
4062         (elmo-msgdb-mark): Likewise.
4063         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4064         (elmo-msgdb-unset-flag): Likewise.
4065
4066         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4067
4068 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4069
4070         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4071         `last:' filter.
4072
4073 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4074
4075         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4076         set spool-length to 0.
4077
4078 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4079
4080         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4081         (elmo-dop-queue-flush): Fixed last change.
4082
4083 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4084
4085         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4086         if require-msgdb slot is nil.
4087         (elmo-folder-list-importants): Likewise.
4088
4089 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4090
4091         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4092         mark is changed.
4093
4094         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4095         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4096         is changed.
4097
4098 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4099
4100         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4101
4102 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4103
4104         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4105
4106         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4107
4108 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4109
4110         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4111         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4112
4113 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4114
4115         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4116         the problem reported by Sean Rima [wl-en:180].
4117
4118 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4119
4120         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4121
4122         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4123
4124         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4125
4126         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4127
4128         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4129
4130         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4131
4132         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4133
4134 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4135
4136         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4137         status number.
4138
4139 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4140
4141         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4142         (elmo-folder-mark-as-read): Follow the API change.
4143         (elmo-message-set-cached): New function.
4144
4145         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4146
4147         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4148
4149         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4150         (elmo-folder-mark-as-important): Ditto.
4151         (elmo-folder-unmark-read): Ditto.
4152         (elmo-folder-mark-as-read): Ditto.
4153         (elmo-folder-unmark-answered): Ditto.
4154         (elmo-folder-mark-as-answered): Ditto.
4155
4156         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4157         (elmo-folder-unmark-important): Ditto.
4158         (elmo-folder-mark-as-read): Ditto.
4159         (elmo-folder-unmark-read): Ditto.
4160         (elmo-folder-mark-as-answered): Ditto.
4161         (elmo-folder-unmark-answered): Ditto.
4162
4163         * elmo-mark.el (toplevel): Removed some mark method definitions.
4164
4165         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4166         (elmo-map-folder-mark-as-answered): Ditto.
4167         (elmo-folder-unmark-important): Add :before qualifier.
4168         (elmo-folder-mark-as-important): Ditto.
4169         (elmo-folder-unmark-read): Ditto.
4170         (elmo-folder-mark-as-read): Ditto.
4171         (elmo-folder-unmark-answered): Define.
4172         (elmo-folder-mark-as-answered): Ditto.
4173
4174         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4175         (elmo-map-folder-unmark-answered): Ditto.
4176
4177         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4178
4179         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4180         (elmo-folder-mark-as-important): Ditto.
4181         (elmo-folder-unmark-read): Ditto.
4182         (elmo-folder-mark-as-read): Ditto.
4183         (elmo-folder-unmark-answered): Ditto.
4184         (elmo-folder-mark-as-answered): Ditto.
4185
4186         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4187         `mark'; evaluate mark condition.
4188         (elmo-msgdb-match-condition-internal): New function.
4189         (elmo-msgdb-match-condition): Call it; changed argument.
4190
4191         * elmo.el (elmo-folder-search): Follow the API change on
4192         `elmo-msgdb-match-condition'.
4193
4194 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4195
4196         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4197         original mark is non-nil.
4198
4199 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4200
4201         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4202         (elmo-map-folder-list-answereds): New method.
4203         (elmo-folder-list-unreads): Add :around qualifier.
4204         (elmo-folder-list-importants): Ditto.
4205         (elmo-folder-list-answereds): Ditto.
4206
4207 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4208
4209         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4210
4211         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4212         method if msgdb is not required.
4213         (elmo-filter-folder-list-importants): Don't treat global-mark.
4214
4215         * elmo.el (elmo-folder-list-importants): Ditto.
4216
4217         * elmo-net.el (elmo-folder-list-importants): Ditto.
4218
4219         * elmo-map.el (elmo-folder-list-importants): Ditto.
4220
4221         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4222
4223         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4224         (elmo-imap4-folder-list-any-plugged): New function.
4225         (elmo-imap4-search-internal-primitive): Use it.
4226
4227         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4228         only when require-msgdb slot is non-nil.
4229         (elmo-folder-close): Clear target folder's msgdb.
4230
4231 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4232
4233         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4234         (elmo-pop3-msgdb-create-by-header): Ditto.
4235         (elmo-pop3-msgdb-create-message): Ditto.
4236
4237         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4238
4239         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4240
4241         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4242
4243         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4244         (elmo-folder-msgdb-create): Ditto.
4245         (elmo-nntp-folder-msgdb-create): Ditto.
4246         (elmo-nntp-msgdb-create-by-header): Ditto.
4247         (elmo-nntp-msgdb-create-message): Ditto.
4248         (elmo-folder-list-unreads): Define.
4249
4250         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4251         (elmo-folder-append-messages): Ditto.
4252         (elmo-folder-list-unreads): Define.
4253         (elmo-folder-list-importants): Ditto.
4254         (elmo-folder-list-answereds): Ditto.
4255
4256         * elmo-net.el (elmo-folder-list-unreads): Define.
4257         (elmo-folder-list-importants): Ditto.
4258         (elmo-folder-list-answereds): Ditto.
4259         (elmo-folder-list-answereds-plugged): Ditto.
4260         (elmo-folder-msgdb-create): Follow the API change.
4261         (elmo-folder-msgdb-create-unplugged): Ditto.
4262         (elmo-folder-unmark-answered): Define.
4263         (elmo-folder-mark-as-answered-unplugged): Ditto.
4264         (elmo-folder-unmark-answered-unplugged): Ditto.
4265
4266         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4267         (elmo-msgdb-unread-uncached-mark): Ditto.
4268         (elmo-msgdb-unread-cached-mark): Ditto.
4269         (elmo-msgdb-read-uncached-mark): Ditto.
4270         (elmo-msgdb-answered-cached-mark): Ditto.
4271         (elmo-msgdb-answered-uncached-mark): Ditto.
4272         (elmo-msgdb-important-mark): Ditto.
4273         (elmo-msgdb-set-mark): Rewrite.
4274         (elmo-msgdb-count-marks): Rewrite.
4275         (elmo-msgdb-mark-alist-set): Abolish.
4276         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4277         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4278
4279         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4280         (elmo-folder-close): Define.
4281         (elmo-folder-msgdb-create): Follow the API change.
4282         (elmo-folder-list-unreads): Rewrite.
4283         (elmo-folder-mark-as-important): Ditto.
4284         (elmo-folder-unmark-important): Ditto.
4285         (elmo-folder-mark-as-read): Ditto.
4286         (elmo-folder-unmark-read): Ditto.
4287         (elmo-folder-mark-as-answered): Define.
4288         (elmo-folder-unmark-answered): Ditto.
4289
4290         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4291         (elmo-folder-append-messages): Ditto.
4292
4293         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4294
4295         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4296         (elmo-folder-list-importants): Ditto.
4297
4298         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4299         (elmo-folder-append-messages): Ditto.
4300
4301         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4302         change.
4303         (elmo-folder-msgdb-create-plugged): Ditto.
4304         (elmo-folder-append-messages): Ditto.
4305         (elmo-folder-list-answereds-plugged): Define.
4306         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4307         (elmo-folder-unmark-answered-plugged): Define.
4308         (elmo-folder-mark-as-answered-plugged): Ditto.
4309         (elmo-folder-search-requires-msgdb-p): Ditto.
4310
4311         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4312         (elmo-folder-initialize): Set it.
4313         (elmo-folder-msgdb): Define.
4314         (elmo-folder-check): Call elmo-folder-synchronize.
4315         (elmo-folder-close): Define.
4316         (elmo-folder-commit): Ditto.
4317         (elmo-folder-msgdb-create): Rewrite.
4318         (elmo-folder-list-unreads): Ditto.
4319         (elmo-folder-list-importants): Ditto.
4320         (elmo-folder-mark-as-read): Ditto.
4321         (elmo-folder-unmark-read): Ditto.
4322         (elmo-folder-mark-as-important): Ditto.
4323         (elmo-folder-unmark-important): Ditto.
4324         (elmo-folder-mark-as-answered): Define.
4325         (elmo-folder-unmark-answered): Ditto.
4326
4327         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4328         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4329         (elmo-dop-queue-method-name-alist): Likewise.
4330         (elmo-folder-mark-as-answered-dop): New inline function.
4331         (elmo-folder-unmark-answered-dop): Ditto.
4332         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4333
4334         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4335         (elmo-folder-msgdb-create): Ditto.
4336         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4337         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4338         (elmo-archive-parse-mmdf): Ditto.
4339
4340         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4341         (elmo-folder-list-unreads-internal): Ditto.
4342
4343         * elmo.el (elmo-folder-msgdb): Define as generic function.
4344         (elmo-folder-list-messages): Added argument `in-msgdb'.
4345         (elmo-folder-list-unreads): Define as generic function.
4346         (elmo-folder-list-importants): Ditto.
4347         (elmo-folder-list-answereds): Ditto.
4348         (elmo-folder-list-messages-with-global-mark): New function.
4349         (elmo-folder-msgdb-create): Removed mark arguments.
4350         (elmo-folder-unmark-answered): New generic function.
4351         (elmo-folder-mark-as-answered): Ditto.
4352         (elmo-folder-append-messages): Removed argunment `unread-marks'
4353         (elmo-folder-list-unreads-internal): Abolish.
4354         (elmo-folder-list-importants-internal): Ditto.
4355         (elmo-folder-search-requires-msgdb-p): New generic function.
4356         (elmo-folder-search-requires-msgdb-p-internal): New function.
4357         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4358         elmo-msgdb-load.
4359         (elmo-folder-search-fast): Added key 'mark'.
4360         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4361         instead of unread-marks argument.
4362         (elmo-folder-move-messages): Removed argunment `unread-marks'
4363         (elmo-folder-unmark-important): Define.
4364         (elmo-folder-mark-as-important): Ditto.
4365         (elmo-folder-unmark-read): Ditto.
4366         (elmo-folder-mark-as-read): Ditto.
4367         (elmo-folder-unmark-answered): Ditto.
4368         (elmo-folder-mark-as-answered): Ditto.
4369         (elmo-folder-replace-marks): Abolish.
4370         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4371         duplicates.
4372         (elmo-folder-synchronize): Removed mark arguments;
4373         return crosspost only number.
4374
4375 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4376
4377         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4378         Remove redundunt connectivity check.
4379
4380 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4381
4382         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4383         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4384
4385 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4386
4387         * pldap.el (ldap-decode-string): Return string as-is if
4388         `ldap-coding-system' is nil.
4389         (ldap-encode-string): Ditto.
4390         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4391         (ldap-default-host): Fixed docstring.
4392
4393 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4394
4395         * elmo-util.el (elmo-warning): Define as a macro which uses
4396         `display-warning' if it is defined as a function.
4397
4398         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4399         (elmo-split-equal): Use it.
4400         (elmo-split-match): Ditto.
4401         (elmo-split-message-entity): New buffer-local variable.
4402         (elmo-split-subr): Set it.
4403
4404         * elmo-version.el (elmo-version): Up to 2.9.15.
4405
4406 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4407
4408         * elmo-imap4.el (elmo-network-initialize-session):
4409         Check capability after starttls.
4410
4411 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4412
4413         * elmo-util.el (elmo-list-delete): Added optional argument
4414         DELETE-FUNCTION.
4415
4416         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4417
4418         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4419
4420         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4421
4422         * elmo-imap4.el (elmo-folder-initialize): Don't use
4423         elmo-imap4-default-mailbox.
4424
4425 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4426
4427         * elmo-split.el (toplevel): Use `product-provide'.
4428         (elmo-split): Checkdoc.
4429
4430 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4431
4432         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4433         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4434         the function `elmo-imap4-debug-1'.
4435
4436 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4437
4438         * elmo-split.el (elmo-split): Moved to run hooks and to show
4439         message from elmo-split-subr.
4440         (elmo-split-subr): Follow the change above.
4441
4442         * elmo-split.el (elmo-split-subr): New function (renamed from
4443         elmo-split-subr).
4444         (elmo-split): Changed to call elmo-split-subr by element of
4445         elmo-split-folder.
4446         (elmo-split-folder): Changed customization type to choice.
4447
4448 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4449
4450         * elmo-split.el (elmo-split-and): Fixed condition.
4451
4452 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4453
4454         * elmo-split.el: New file.
4455         (elmo-split): Fixed logic.
4456         Display "Test:" instead of "Folder:" when reharsal.
4457
4458         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4459         explicitly.
4460
4461         * elmo-version.el (elmo-version): Up to 2.9.14.
4462
4463         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4464         wl-expand-newtext).
4465
4466 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4467
4468         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4469         message with no message-id field.
4470
4471 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4472
4473         * elmo-version.el (elmo-version): Up to 2.9.13.
4474
4475         * elmo-dop.el (elmo-folder-status-dop): Fix.
4476
4477 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4478
4479         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4480
4481         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4482         changing default value of default-mime-charset.
4483         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4484
4485         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4486
4487         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4488         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4489         instead of elmo-dop-queue-method-name-alist to check merging queue.
4490         (elmo-folder-delete-messages-dop): Delete from queue if negative
4491         message number.
4492         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4493         file is already removed.
4494
4495 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4496
4497         * elmo-vars.el: Bind colon keywords for old Emacsen.
4498
4499 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4500
4501         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4502         against non-exsisting charset.
4503
4504 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4505
4506         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4507         Use eword-decode-and-unfold-unstructured-field-body.
4508
4509         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4510         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4511         exists to decode raw subject string.
4512         (toplevel): Require 'mime.
4513
4514         * elmo-version.el (elmo-version): Up to 2.9.12.
4515
4516 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4517
4518         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4519         (elmo-msgdb-set-mark): Ditto.
4520
4521         * elmo-version.el (elmo-version): Up to 2.9.11.
4522
4523 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4524
4525         * elmo-util.el (elmo-delete-match-files): New function.
4526
4527         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4528         instead of elmo-delete-directory.
4529
4530         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4531         elmo-hash-minimun-size as 63.
4532
4533         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4534         elmo-diff-unread is nil.
4535
4536         * elmo-imap4.el (elmo-folder-open): Fix.
4537
4538         * elmo.el (elmo-message-mark): Rewrite.
4539         (elmo-message-field): Ditto.
4540         (elmo-message-set-mark): Ditto.
4541         (elmo-folder-replace-marks): New function.
4542         (elmo-generic-folder-append-msgdb): Removed third argument for
4543         elmo-msgdb-append.
4544         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4545         (elmo-msgdb-load): New implementation.
4546
4547         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4548
4549         * elmo-util.el (elmo-list-insert): New implementation.
4550
4551         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4552         argument for elmo-msgdb-append.
4553         
4554
4555         * elmo-msgdb.el (elmo-load-msgdb): New function.
4556         (elmo-make-msgdb): Ditto.
4557         (elmo-msgdb-get-index): New inline function.
4558         (elmo-msgdb-set-index): Ditto.
4559         (elmo-msgdb-get-entity-hashtb): Ditto.
4560         (elmo-msgdb-get-mark-hashtb): Ditto.
4561         (elmo-msgdb-get-mark): Ditto.
4562         (elmo-msgdb-set-mark): Ditto.
4563         (elmo-msgdb-count-marks): Ditto.
4564         (elmo-msgdb-get-number): Ditto.
4565         (elmo-msgdb-get-field): Ditto.
4566         (elmo-msgdb-seen-list): Ditto.
4567         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4568         (elmo-msgdb-delete-msgs): Follow the changes above.
4569         (elmo-msgdb-overview-get-entity): Ditto.
4570         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4571         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4572         and rewritten.
4573         (elmo-msgdb-make-index): Likewise.
4574         (elmo-msgdb-append): Removed third argument.
4575         (elmo-msgdb-clear): Clear index as nil.
4576         (elmo-folder-set-info-hashtb): Removed.
4577         (elmo-folder-set-info-max-by-numdb): Ditto.
4578         (elmo-folder-info-make-hashtb): Ditto.
4579
4580         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4581
4582         * elmo-map.el (elmo-folder-pack-number): Ditto.
4583
4584 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4585
4586         * elmo-version.el (elmo-version): Up to 2.9.10.
4587
4588         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4589
4590         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4591
4592 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4593
4594         * elmo-utils.el (elmo-make-directory): Add option.
4595         Default file mode is 700.
4596
4597 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4598
4599         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4600
4601 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4602
4603         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4604         mime-charset.
4605
4606         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4607         and "smaller".
4608
4609 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4610
4611         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4612         (elmo-shimbun-folder-entity-hash): New function.
4613         (elmo-shimbun-folder-shimbun-header): Ditto.
4614         (elmo-shimbun-entity-to-header): Ditto.
4615         (elmo-shimbun-msgdb-to-headers): Removed.
4616         (elmo-shimbun-folder-setup): Ditto.
4617         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4618         for hash key.
4619         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4620         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4621         Removed useless local bind.
4622         (elmo-folder-open-internal): Don't call
4623         `elmo-shimbun-folder-setup'.
4624         (elmo-folder-close-internal): Clear entity-hash slot.
4625         (elmo-folder-clear): Ditto.
4626         (elmo-shimbun-msgdb-create-entity): Use
4627         `elmo-shimbun-folder-shimbun-header'.
4628         (elmo-map-message-fetch): Ditto.
4629         (elmo-shimbun-update-overview): Use overview entity instead of
4630         shimbun header to lookup id by references.
4631         (elmo-map-folder-list-message-locations): Use not only headers but
4632         also overviews to list locations.
4633
4634 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4635
4636         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4637         msgdb path.
4638
4639         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4640
4641 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4642
4643         * elmo-util.el (elmo-read-search-condition-internal): Give default
4644         value for date.
4645
4646 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4647
4648         * elmo-util.el (elmo-condition-parse-search-value): Accept
4649         YYYY-MM-DD format to search.
4650         * elmo-date.el (elmo-date-get-datevec): Likewise.
4651
4652 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4653
4654         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4655         debugging code.
4656
4657 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4658
4659         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4660         from t.
4661
4662         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4663
4664         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4665         case from `elmo-folder-exists-p'.
4666         (elmo-folder-exists-p): Removed.
4667         (elmo-folder-creatable-p) Ditto.
4668
4669         * elmo-net.el (elmo-folder-create): Defined.
4670         (elmo-folder-create-unplugged): New function.
4671         (elmo-folder-exists-p): Changed default value to nil from t.
4672
4673         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4674         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4675
4676         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4677         `elmo-create-folder-dop' and append queue
4678         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4679         (elmo-folder-create-dop-delayed): New function.
4680
4681         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4682
4683         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4684
4685         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4686         (elmo-folder-writable-p) : Ditto.
4687
4688         * elmo-version.el (elmo-version): Up to 2.9.9.
4689
4690 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4691
4692         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4693         `elmo-message-use-cache-p' returns nil.
4694         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4695         (ignore cache file and refer the substance in local folders)
4696
4697 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4698
4699         * elmo-version.el (elmo-version): Up to 2.9.8.
4700
4701 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4702
4703         * elmo-version.el (elmo-version): Up to 2.9.7.
4704
4705         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4706
4707 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4708
4709         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4710
4711 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4712
4713         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4714         from --early.
4715         (elmo-map-folder-list-message-locations): Reverse location list.
4716
4717 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4718
4719         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4720
4721 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4722
4723         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4724         as a key.
4725         (elmo-nntp-folder-list-subfolders): Follow the change above.
4726
4727 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4728
4729         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4730         name if authentication type is specified.
4731
4732 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4735         variable.
4736         (elmo-default-nntp-stream-type): Ditto.
4737         (elmo-default-pop3-stream-type): Ditto.
4738
4739 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4740
4741         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4742
4743 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4744
4745         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4746         elmo-vars.el.
4747         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4748
4749         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4750         (elmo-maildir-folder-path): Ditto.
4751         (elmo-maildir-list): Ditto (abolished).
4752
4753 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4754
4755         * elmo-version.el (elmo-version): Up to 2.9.6.
4756
4757 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4758
4759         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4760         (elmo-maildir-folder-path): Ditto.
4761         (elmo-msgdb-directory): Ditto.
4762         (elmo-passwd-life-time): Ditto.
4763         (elmo-msgdb-extra-fields): Ditto.
4764         (elmo-enable-disconnected-operation): Ditto.
4765
4766 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4767
4768         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4769         other choices.
4770         (elmo-pop3-default-authenticate-type): Ditto.
4771
4772 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4773
4774         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4775         choices for custom.
4776         (elmo-pop3-default-authenticate-type): Ditto.
4777
4778 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4779
4780         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4781         mailbox to new-folder.
4782
4783 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4784
4785         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4786         less than new, set new as unread.
4787
4788         * elmo-util.el (elmo-string): Don't put text-property if nil.
4789
4790 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4791
4792         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4793         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4794
4795 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4796
4797         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4798         is nil on `completing-read'.
4799
4800 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4801
4802         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4803         for namespace part.
4804         (elmo-imap4-parse-namespace-subr): Ditto.
4805         (elmo-folder-list-subfolders): Append a delimiter when the specified
4806         folder path is a root with namespace and does not end with delimiter.
4807
4808 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4809
4810         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4811         was used.
4812
4813 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4814
4815         * elmo-util.el (elmo-save-buffer): The first argument of message
4816         is a format control string.
4817
4818 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4819
4820         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4821         `elmo-folder-diff').
4822         (elmo-diff-unread): Likewise.
4823
4824 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4825
4826         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4827         is t on `completing-read'.
4828
4829 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4830
4831         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4832         method of target folder with self mark-alist if MARK-ALIST is nil.
4833
4834 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4835
4836         * elmo-version.el (elmo-version): Up to 2.9.5.
4837
4838 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4839
4840         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4841         (elmo-dop-merge-funcs): Remove.
4842
4843 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4844
4845         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4846         Return t if PATH is directory, too.
4847         Use `dolist' instead of while loop.
4848
4849 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4850
4851         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4852         is deleted.
4853
4854 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4855
4856         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4857         return value to t.
4858         (elmo-folder-list-messages-unplugged): Return t if
4859         elmo-enable-disconnected-operation is nil.
4860
4861         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4862         `elmo-folder-list-messages-internal'.
4863
4864 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4865
4866         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4867         Change to looking-at `[23][0-9]+'.
4868         (elmo-network-initialize-session): Use 'error-msg'
4869         * elmo-net.el (elmo-network-open-session): Set unplugged
4870         if elmo-network-initialize-session returns 'elmo-open-err.
4871
4872 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4873
4874         * elmo-version.el (elmo-version): Up to 2.9.4.
4875
4876 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4877
4878         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4879         `elmo-folder-list-messages-internal'.
4880
4881 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4882
4883         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4884         (elmo-message-match-condition): New method.
4885         (elmo-folder-search-fast): New inline function.
4886         (elmo-msgdb-search): Removed.
4887
4888         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4889         target folder if it is unplugged.
4890         (elmo-folder-list-messages-internal): Return t if target folder is
4891         unplugged and itself is persistent; In this case, use list be
4892         searched already.
4893
4894         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4895         (elmo-msgdb-search-internal-primitive): Ditto.
4896         (elmo-msgdb-match-condition): New function.
4897         (elmo-msgdb-match-condition-primitive): Ditto.
4898
4899         * elmo-util.el (elmo-filter-condition-p): New macro.
4900
4901         * elmo-cache.el (elmo-folder-search): Removed.
4902
4903         * elmo-localdir.el (elmo-folder-search): Ditto.
4904
4905         * elmo-maildir.el (elmo-folder-search): Ditto.
4906
4907         * elmo-mark.el (elmo-folder-search): Ditto.
4908
4909         * elmo-nmz.el (elmo-folder-search): Ditto.
4910
4911         * elmo-sendlog.el (elmo-folder-search): Ditto.
4912
4913         * elmo-shimbun.el (elmo-folder-search): Ditto.
4914
4915         * elmo-imap4.el (elmo-folder-search): Call method of parent class
4916         if folder is unplugged.
4917
4918         * elmo-nntp.el (elmo-folder-search): Likewise.
4919         (elmo-nntp-search-internal): New function.
4920
4921         * elmo-version.el (elmo-version): Up to 2.9.3.
4922
4923 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4924
4925         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4926
4927 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
4928
4929         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4930
4931 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
4932
4933         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4934
4935 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
4936
4937         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4938         (elmo-map-folder-list-message-locations): Do drive letter conversion
4939         on Windows environment.
4940         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4941         (elmo-map-message-fetch): Ditto.
4942
4943 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
4944
4945         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4946         (elmo-network-initialize-session): Ditto.
4947
4948 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4949
4950         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4951
4952         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4953
4954         * elmo-util.el (elmo-progress-clear): Ditto.
4955
4956         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4957         `DD-Mon-YYYY' type date.
4958
4959 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4960
4961         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4962         `elmo-date-make-sortable-string' instead of
4963         `timezone-make-date-sortable'.
4964
4965         * elmo-date.el (elmo-date-make-sortable-string): Use
4966         `timezone-make-time-string'.
4967
4968 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
4969
4970         * elmo.el (elmo-folder-synchronize): Delete important messages too.
4971
4972         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4973         `since'; Fix timezone.
4974
4975         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4976
4977         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4978
4979 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4980
4981         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4982
4983 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4984
4985         * elmo.el (elmo-generic-folder-append-messages): Make
4986         fetch-strategy with `use-cache' as 'maybe. Check return value of
4987         `elmo-message-fetch'.
4988         (elmo-message-fetch): Return return value of
4989         `elmo-message-fetch-with-cache-process'.
4990         (elmo-message-fetch-with-cache-process): Return non-nil if
4991         fetching was succeed. Load cache when fetching was failed and
4992         fetch-strategy-use-cache is 'maybe.
4993
4994         * elmo-util.el (elmo-file-cache-load): New function.
4995
4996         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4997         defun.
4998
4999         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5000         non-nil if fetching was succeed.
5001
5002         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5003
5004         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5005
5006         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5007         (elmo-message-fetch-with-cache-process): Likwise.
5008
5009         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5010
5011         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5012
5013         * elmo-version.el (elmo-version): Up to 2.9.2.
5014
5015 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5016
5017         * elmo.el (elmo-folder-delete): Delete msgdb path.
5018
5019         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5020
5021         * elmo-maildir.el (elmo-folder-delete): Ditto.
5022
5023         * elmo-localdir.el (elmo-folder-delete): Ditto.
5024
5025         * elmo-imap4.el (elmo-folder-delete): Ditto.
5026
5027 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5028
5029         * elmo.el (luna-define-class): Added `biff' slot.
5030
5031         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5032         (elmo-pop3-debug-inhibit-logging): Abolished.
5033         (elmo-network-close-session): Eliminated needless let.
5034         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5035         (elmo-pop3-send-command): Added `no-log' argument.
5036         (elmo-pop3-process-filter): Use `with-current-buffer'.
5037         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5038         if login failure.
5039         (elmo-pop3-auth-apop): Likewise.
5040         (elmo-network-authenticate-session): Likewise.
5041
5042         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5043         if biff folder.
5044
5045         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5046         string to determine protocol.
5047         (elmo-network-session-name-prefix): Abolished.
5048         (elmo-network-session-cache-key): Follow the change above.
5049         (elmo-network-open-session): Ditto.
5050
5051         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5052         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5053
5054         * elmo-version.el (elmo-version): Up to 2.9.1.
5055
5056         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5057         unmatch condition checking.
5058
5059         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5060         condition.
5061
5062 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5063
5064         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5065
5066 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5067
5068         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5069         test for while loop to execute at least one SEARCH command.
5070
5071 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5072
5073         * elmo-version.el (elmo-version): Up to 2.9.0.
5074
5075 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5076
5077         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5078         (elmo-archive-folder-path): Define.
5079         (elmo-folder-initialize): Setup `dir-name' slot.
5080         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5081         Use `dir-name' as prefix of each subfolders.
5082         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5083
5084 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5085
5086         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5087         (elmo-pipe-folder-list-target-messages): New internal function.
5088         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5089         `killed-list'.
5090         (elmo-pipe-folder-copied-list-load): New function.
5091         (elmo-pipe-folder-copied-list-save): Ditto.
5092         (elmo-folder-open-internal): Follow the change above.
5093         (elmo-folder-status): Fixed for copy.
5094
5095 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5096
5097         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5098
5099 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5100
5101         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5102         elmo-copy-file instead of elmo-add-name-to-file.
5103
5104         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5105
5106         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5107         "file://..." index.
5108
5109         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5110         of accept-process-output as 1.
5111         (elmo-pop3-read-contents): Ditto.
5112         (elmo-pop3-read-body): Ditto.
5113
5114 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5115
5116         * elmo-version.el (product-version-as-string): Remove define.
5117
5118 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5119
5120         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5121         (elmo-imap4-copy-messages): Chop number set using
5122         `elmo-imap4-number-set-chop-length'.
5123         (elmo-imap4-set-flag): Ditto.
5124         (elmo-imap4-search-internal-primitive): Ditto.
5125
5126 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5127
5128         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5129         `elmo-folder-make-temp-dir'
5130
5131         * elmo-vars.el (elmo-cache-directory): New variable.
5132         (elmo-cache-dir): Abolished.
5133         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5134
5135         * elmo-version.el (elmo-version): Up to 2.7.7.
5136
5137 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5138
5139         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5140         defcustom; Set default value as t.
5141
5142 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5143
5144         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5145         (ldap-search-program-arguments): Changed default value.
5146         (ldap-search-basic): Accept exit status 4.
5147         (ldap/field-body): Parse options.
5148         (ldap/collect-field): Ditto.
5149         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5150
5151         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5152         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5153         (elmo-imap4-accept-ok): Ditto.
5154         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5155         'notify-bye, only BYE error is reported.
5156         (elmo-folder-exists-p-plugged): Set no-error argument of
5157         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5158
5159         * elmo.el (elmo-imap4-bye-error): Changed message.
5160
5161         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5162         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5163         queues (It causes infinite loop).
5164
5165 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5166
5167         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5168         (RECENT UNSEEN MESSAGES) extension.
5169
5170 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5171
5172         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5173         Check number of overview fields.
5174
5175 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5176
5177         * elmo.el (elmo-folder-confirm-appends): Changed message.
5178         (elmo-folder-confirm-appends): Ditto.
5179
5180         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5181         `with-temp-buffer'.
5182         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5183
5184 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5185
5186         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5187         of elmo-folder-update-threshold is nil, which can be set by
5188         wl-summary-update-confirm-threshold.
5189
5190 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5191
5192         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5193         (elmo-nmz-index-alias-alist): Ditto.
5194         (elmo-map-folder-list-message-locations): Follow the change above.
5195
5196 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5197
5198         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5199
5200         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5201
5202         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5203
5204         * elmo-util.el (elmo-read): Ditto.
5205         (elmo-display-error): Ditto.
5206
5207         * elmo-vars.el (elmo-date-match): Ditto.
5208
5209         * pldap.el (ldap-coding-system): Ditto.
5210
5211         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5212         `elmo-inhibit-number-mapping' as nil.
5213
5214 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5215
5216         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5217         space delimiter for list response.
5218
5219 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5220
5221         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5222
5223 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5224
5225         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5226         (elmo-map-message-fetch): Fix.
5227         * elmo-map.el (elmo-folder-status): Fix for killed.
5228
5229 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5230
5231         * elmo-sendlog.el: New file.
5232         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5233
5234 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5235
5236         * acap.el (acap-logging-out): New buffer local variable.
5237         (acap-close): Set it.
5238         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5239         an error.
5240
5241 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5242
5243         * acap.el (acap-response-bye-p): New function.
5244         (acap-response-bye-message): Ditto.
5245         (acap-wait-for-response): If bye response is received, cause an error.
5246         (acap-parse-response): Make bye response when 'Bye' is received.
5247
5248 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5249
5250         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5251
5252 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5253
5254         * elmo-util.el (elmo-copy-file): Added argument
5255         `ok-if-already-exists'.
5256         (elmo-copy-file): Fixed typo.
5257
5258 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5259
5260         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5261
5262 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5263
5264         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5265
5266 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5267
5268         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5269         to killed-list.
5270
5271 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5272
5273         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5274         (elmo-folder-initialize): Fix for `copy'.
5275         (elmo-pipe-drain): Ditto.
5276         (elmo-folder-open-internal): Ditto.
5277         (elmo-folder-newsgroups): Fix.
5278
5279 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5280
5281         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5282         for each message.
5283
5284         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5285         recent value is returned from imap folder.
5286
5287         * elmo.el (elmo-folder-newsgroups): New generic function.
5288
5289         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5290         (elmo-folder-initialize): Set it.
5291         (elmo-folder-expand-msgdb-path): Use it.
5292         (elmo-folder-newsgroups): Define.
5293
5294         * elmo-filter.el (elmo-folder-newsgroups): Define.
5295
5296         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5297
5298         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5299
5300         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5301
5302 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5303
5304         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5305         user option.
5306         (elmo-shimbun-header-extra-field): New inline function.
5307         (elmo-shimbun-header-set-extra-field): Ditto.
5308         (elmo-shimbun-folder-header-hash-setup): Ditto.
5309         (elmo-shimbun-update-overview): Ditto.
5310         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5311         (elmo-shimbun-folder-setup): Use
5312         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5313         (elmo-shimbun-get-headers): Ditto.
5314         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5315         Insert `X-Shimbun-Id:' header if extra field is set.
5316         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5317         field's value instead of `shimbun-header-id'.
5318
5319         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5320         inline function.
5321         (elmo-msgdb-overview-entity-set-date): Ditto.
5322         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5323
5324 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5325
5326         * mmimap.el (mmimap-entity-section): Changed body node number from
5327         "0" to "1".
5328
5329 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5330
5331         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5332         `elmo-folder-delete-messages'.
5333
5334         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5335         (elmo-folder-initialize): Changed to expand alias into index path.
5336
5337         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5338         `elmo-mime-insert-header-from-buffer' with 6th arg
5339         `sorted-fields'.
5340
5341 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5342
5343         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5344
5345         * elmo.el (elmo-diff-new): New inline function.
5346         (elmo-diff-unread): Ditto.
5347         (elmo-diff-all): Ditto.
5348
5349         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5350         value from responseb.
5351         (elmo-imap4-folder-diff-plugged): Ditto.
5352         (elmo-imap4-server-diff-async): Added recent argument.
5353         (elmo-server-diff-async): Ditto.
5354         (elmo-imap4-folder-diff-plugged): Ditto.
5355
5356         * elmo-version.el (elmo-version): Up to 2.7.6.
5357
5358 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5359
5360         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5361         in quoted-stirng.
5362
5363 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5364
5365         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5366
5367         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5368
5369         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5370
5371         * elmo-multi.el (elmo-folder-initialize): Ditto.
5372
5373         * elmo-util.el (elmo-parse-token): New function.
5374         (elmo-parse-prefixed-element): Ditto.
5375
5376 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5377
5378         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5379         delete process.
5380         (elmo-imap4-accept-ok): Ditto.
5381
5382 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5383
5384         * mmimap.el (mime-imap-entity-header-string): Don't check first
5385         element of node-id is `0' (Follow last change).
5386
5387 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5388
5389         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5390         assigned irregular node-id to nested multipart section.
5391         (initialize-instance): Followed above change.
5392
5393 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5394
5395         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5396         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5397         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5398         `elmo-shimbun-get-headers');
5399         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5400         visible article on summary exists in headers).
5401         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5402
5403 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5404
5405         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5406         definition.
5407
5408 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5409
5410         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5411
5412 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5413
5414         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5415         header separator into loop condition.
5416
5417 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5418
5419         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5420         Return duplicate folder if it has subfolder.
5421
5422 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5423
5424         * elmo.el (elmo-make-folder): Add folder name error check.
5425
5426         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5427         (elmo-nntp-encode-group-string): New inline function.
5428         (elmo-nntp-decode-group-string): Ditto.
5429         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5430         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5431         Use `not' instead of `null';
5432         Use elmo-nntp-decode-group-string.
5433
5434         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5435
5436         * elmo-version.el (elmo-version): Up to 2.7.5.
5437
5438 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5439
5440         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5441         Hide progress gauge if `elmo-folder-move-messages' exits
5442         nonlocally.
5443
5444 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5445
5446         * elmo-imap4.el (elmo-folder-initialize): Use
5447         `elmo-imap4-encode-folder-string' for folder name.
5448
5449 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5450
5451         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5452         `done'.
5453
5454 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5455
5456         * elmo-util.el (elmo-progress-counter-alist): New internal
5457         variable.
5458         (elmo-progress-counter-value): New macro.
5459         (elmo-progress-counter-all-value): Ditto.
5460         (elmo-progress-counter-format): Ditto.
5461         (elmo-progress-counter-set-value): Ditto.
5462         (elmo-progress-set): New function.
5463         (elmo-progress-clear): Ditto.
5464         (elmo-progress-notify): Ditto.
5465
5466         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5467         counter.
5468
5469         * elmo.el (elmo-generic-folder-append-messages): Call
5470         `elmo-progress-notify'.
5471         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5472
5473         * elmo-archive.el (elmo-folder-append-messages): Call
5474         `elmo-progress-notify'.
5475
5476         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5477
5478         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5479
5480         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5481
5482 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5483
5484         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5485         'Create'.
5486         (elmo-message-encache-dop): Added argument `read'.
5487
5488         * elmo-shimbun.el (elmo-message-encache): Ditto.
5489
5490         * elmo-net.el (elmo-message-encache): Ditto.
5491
5492         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5493         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5494         elmo-imap4-seen-messages.
5495         (elmo-folder-msgdb-create-plugged): Initialize
5496         elmo-imap4-seen-messages;
5497         Set seen mark on elmo-imap4-seen-messages.
5498
5499         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5500
5501         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5502         elmo-folder-append-buffer.
5503         (elmo-folder-encache): Added optional argument `read'.
5504         (elmo-message-encache): Ditto.
5505
5506         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5507
5508         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5509
5510         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5511         if append buffer content succeds.
5512
5513 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5514
5515         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5516         elmo-display-progress.
5517
5518         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5519         Set 4th argument of mime-display-message.
5520         (elmo-mime-display-as-is): Ditto.
5521
5522 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5523
5524         * elmo-nmz.el (toplevel): Require 'mime-edit.
5525         (elmo-nmz-content-type-alist): Abolished.
5526         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5527         content is not a message.
5528         (elmo-map-message-fetch): Changed behavior exept for message content;
5529         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5530         content-type, Add From: and Subject: field.
5531
5532 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5533
5534         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5535         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5536         not a message.
5537
5538 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5539
5540         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5541         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5542
5543         * elmo-archive.el (elmo-folder-writable-p): Defined.
5544
5545         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5546
5547         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5548
5549         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5550
5551         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5552
5553         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5554
5555         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5556
5557         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5558
5559         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5560
5561 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5562
5563         * elmo-util.el (elmo-address-quote-specials): New function;
5564         Renamed from `wl-address-quote-specials'.
5565
5566 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5567
5568         * elmo-version.el (elmo-version): Up to 2.7.4.
5569
5570 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5571
5572         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5573
5574 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5575
5576         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5577         both compile-time and run-time to avoid byte-compile warning.
5578
5579 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5580
5581         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5582
5583 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5584
5585         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5586         option.
5587         (elmo-mime-display-as-is-internal): Use it.
5588
5589         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5590         if `read-passwd' is not defined.
5591
5592 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5593
5594         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5595         by original number.
5596         (elmo-folder-status): Call `elmo-folder-open-internal';
5597         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5598         (elmo-folder-close-internal): Set location-alist as nil.
5599         (elmo-folder-clear): Define.
5600         (elmo-folder-check): Don't set location-alist as nil.
5601
5602         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5603
5604 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5605
5606         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5607         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5608
5609         * mmimap.el (mime-imap-entity::requested): New slot.
5610         (mime-imap-location-fetch-entity-p): New generic function.
5611         (mime-decode-parameters): Define using `defun-maybe'.
5612         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5613         content-type structure.
5614         (mime-entity-body): Return empty body if
5615         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5616
5617         * elmo.el (elmo-message-displaying): New variable.
5618
5619         * elmo-mime.el (elmo-mime-message-display): Bind
5620         elmo-message-displaying as t.
5621
5622         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5623
5624 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5625
5626         * acap.el (acap-open): erase buffer before starting network process.
5627         (acap-store): Rewrite.
5628
5629 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5630
5631         * elmo-imap4.el (elmo-imap4-default-mailbox,
5632         elmo-imap4-default-server
5633         elmo-imap4-default-authenticate-type,
5634         elmo-imap4-default-user,
5635         elmo-imap4-default-port,
5636         elmo-imap4-default-stream-type,
5637         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5638
5639         * elmo-pop3.el (elmo-pop3-default-user,
5640         elmo-pop3-default-server,
5641         elmo-pop3-default-authenticate-type,
5642         elmo-pop3-default-port,
5643         elmo-pop3-default-stream-type,
5644         elmo-pop3-stream-type-alist): Ditto.
5645
5646         * elmo-nntp.el (elmo-nntp-default-server,
5647         elmo-nntp-default-user,
5648         elmo-nntp-default-port,
5649         elmo-nntp-default-stream-type,
5650         elmo-nntp-stream-type-alist): Ditto.
5651
5652         * elmo-vars.el: Follow changes above.
5653         (elmo-setting): New custom group; added 'elmo-setting group to
5654         above variables.
5655
5656         * elmo-version.el (elmo-version): Up to 2.7.3.
5657
5658         * acap.el (acap-parse-response): Don't delete process when BYE
5659         response (It causes hang-up on slow network environment).
5660         (toplevel): Added comment.
5661
5662 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5663
5664         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5665
5666         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5667         parsing NIL.
5668         (acap-parse-return-metadata): Ditto.
5669
5670         * slp.el: New file.
5671         (toplevel): Fixed typo.
5672
5673         * acap.el: New file.
5674         (acap-network-stream-open): Show "Connecting..." message.
5675         (acap-parse-response): Fixed problem for BYE untagged response.
5676         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5677         (toplevel): Added tiny comments.
5678
5679 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5680
5681         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5682         space delimiter for uidl response.
5683
5684 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5685
5686         * elmo-vars.el (elmo-use-semi): Eliminated.
5687
5688         * elmo-util.el (elmo-string-assoc-all): New function.
5689
5690 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5691
5692         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5693         property 'mime-preview-situation for `mime-preview-quit'.
5694
5695 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5696
5697         * elmo.el (elmo-message-fetch-with-cache-process): Call
5698         elmo-message-fetch-internal instead of causing an error when fetch
5699         strategy is 'entire but only 'section cache is available.
5700
5701 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5702
5703         * elmo-version.el (elmo-version): Up to 2.7.2.
5704
5705         * elmo.el (elmo-generic-folder-append-messages): Make
5706         fetch-strategy with `use-cache'.
5707
5708         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5709         (elmo-dop-queue-method-name): New macro.
5710
5711 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5712
5713         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5714         unbalanced parenthesis.
5715
5716 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5717
5718         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5719
5720 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5721
5722         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5723         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5724
5725 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5726
5727         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5728         local variables.
5729
5730 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5731
5732         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5733         (elmo-message-use-cache-p): Define.
5734         (elmo-folder-msgdb-create): Treat cache.
5735
5736 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5737
5738         * elmo-nntp.el (elmo-network-initialize-session): Call
5739         `elmo-nntp-send-mode-reader'.
5740         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5741
5742 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5743
5744         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5745         alist.
5746         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5747         assoc.
5748
5749         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5750         for `elmo-plugged-p'.
5751         (elmo-open-network-stream): Fixed stream-type argument.
5752
5753 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5754
5755         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5756         unknown archive type is specified.
5757
5758 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5759
5760         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5761
5762         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5763         while loading msgdb.
5764
5765         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5766         (elmo-folder-open-internal): Rewrite.
5767
5768 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5769
5770         * elmo-mime.el (elmo-mime-display-as-is-internal):
5771         Adjust buffer-multibyte status.
5772
5773 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5774
5775         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5776         of elmo-condition-find-key.
5777
5778         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5779         (elmo-condition-in-msgdb-p): Ditto.
5780         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5781         argument.
5782
5783 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5784
5785         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5786
5787 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5788
5789         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5790         label for elmo-display-progress.
5791
5792 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5793
5794         * elmo.el (elmo-folder-clear): New method.
5795         (elmo-folder-clear): Define.
5796         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5797
5798         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5799         (elmo-folder-clear): Define.
5800
5801         * elmo-map.el (elmo-folder-clear): Define.
5802
5803         * elmo-version.el (elmo-version): Up to 2.7.1.
5804
5805 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5806
5807         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5808         updates.
5809
5810 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5811
5812         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5813         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5814
5815 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5816
5817         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5818
5819         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5820         and re-written.
5821
5822         * elmo-imap4.el (elmo-folder-initialize): Use
5823         elmo-get-network-stream-type.
5824
5825         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5826
5827         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5828
5829 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5830
5831         * elmo.el (elmo-message-encache): Set unread argument for
5832         elmo-message-fetch.
5833
5834         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5835
5836         * elmo.el (elmo-net-port-info): New method.
5837
5838         * elmo-shimbun.el (elmo-net-port-info): Define.
5839         (elmo-message-encache): Ditto.
5840
5841         * elmo-net.el (elmo-net-port-info): Define as method.
5842
5843         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5844         unplugged status when elmo-enable-disconnected-operation is t.
5845
5846         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5847         of spool folder before checking new number.
5848
5849 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5850
5851         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5852         (elmo-network-setup-session): Ditto.
5853         (elmo-message-fetch-plugged): Ditto.
5854         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5855         (elmo-network-initialize-session): Ditto.
5856         (elmo-pop3-read-response): Abolish 3rd argument.
5857         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5858         (elmo-pop3-read-contents): Ditto.
5859         (elmo-pop3-read-body): Ditto.
5860         (elmo-folder-status): Call elmo-folder-close.
5861         (elmo-pop3-lock): Abolish.
5862         (elmo-pop3-unlock): Ditto.
5863         (elmo-pop3-locked-p): Ditto.
5864         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5865
5866 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5867
5868         * elmo-version.el (elmo-version): Up to 2.7.0.
5869
5870         * elmo-pop3.el (elmo-pop3-debug): New variable.
5871         (elmo-pop3-debug-inhibit-logging): Ditto.
5872         (elmo-pop3-debug): New function.
5873         (elmo-pop3-send-command): Call elmo-pop3-debug.
5874         (elmo-pop3-read-response): Added keep-lock optional argument;
5875         Don't unlock if keep-lock is non-nil.
5876         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5877         (elmo-network-authenticate-session): Bind
5878         elmo-pop3-debug-inhibit-logging as t.
5879         (elmo-network-setup-session): Call elmo-pop3-read-response with
5880         keep-lock argument.
5881         (elmo-pop3-read-msg): Ditto.
5882         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5883         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5884         (elmo-network-initialize-session): Call elmo-pop3-lock.
5885         (elmo-folder-close-internal): Don't clear location-alist slot.
5886         (elmo-folder-check): Clear location-alist slot.
5887
5888 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5889
5890         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5891         (elmo-pop3-send-command): Call elmo-pop3-lock.
5892         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5893         (elmo-pop3-read-contents): Ditto.
5894         (elmo-pop3-lock): New function.
5895         (elmo-pop3-unlock): Ditto.
5896         (elmo-pop3-locked-p): Ditto.
5897         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5898         returns t.
5899
5900 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
5901
5902         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5903
5904         * elmo-util.el (elmo-file-field-primitive-condition-match):
5905         New inline function (Don't fetch file content if "first" or "last").
5906         (elmo-file-field-condition-match): Use
5907         elmo-file-field-primitive-condition-match.
5908
5909         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5910         "first".
5911
5912         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5913         (elmo-message-fetch-plugged): Fixed.
5914
5915         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5916
5917 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
5918
5919         * elmo.el (elmo-folder-move-messages): Bind
5920         elmo-inhibit-display-retrieval-progress as t while moving messages.
5921
5922         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5923         New variable.
5924         (elmo-inhibit-display-retrieval-progress): Ditto.
5925
5926         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5927         for retrieval progress;
5928         Don't display progress when total buffer size is smaller than
5929         elmo-display-retrieval-progress-threshold.
5930         (elmo-message-fetch-plugged): Don't display progress when
5931         elmo-inhibit-display-retrieval-progress is non-nil.
5932
5933         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5934         for retrieval progress;
5935         Don't display progress when literal size is smaller than
5936         elmo-display-retrieval-progress-threshold.
5937         (elmo-imap4-message-fetch): Don't display progress when
5938         elmo-inhibit-display-retrieval-progress is non-nil.
5939
5940 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
5941
5942         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5943         (elmo-imap4-find-next-line): Display progress whille literal fetching.
5944         (elmo-imap4-message-fetch): Likewise.
5945
5946         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5947         (elmo-shimbun-index-range-alist): Ditto.
5948         (elmo-shimbun-use-entire-index): Abolish.
5949         (shimbun-mua-use-entire-index): Ditto.
5950         (elmo-shimbun-folder): Added new slot `range'.
5951         (elmo-folder-initialize): Setup slot `range'.
5952
5953 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
5954
5955         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5956         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5957         (elmo-shimbun-get-headers): Use return value of
5958         `shimbun-article-expiration-days'.
5959         (elmo-folder-close-internal): Clean up last-check slot.
5960
5961         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5962         (elmo-pop3-total-size): New variable.
5963         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5964
5965         * elmo.el (elmo-folder-reserve-status-p): New method.
5966
5967         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5968         (elmo-shimbun-use-entire-index): New user option.
5969         (shimbun-elmo-mua): New class.
5970         (shimbun-mua-search-id): Define.
5971         (shimbun-mua-use-entire-index): Ditto.
5972         (elmo-shimbun-folder:last-check): New slot.
5973         (elmo-shimbun-headers-cache-header-list): Abolish.
5974         (elmo-shimbun-headers-cache-set-header-list): Ditto.
5975         (elmo-shimbun-headers-cache-header-hash): Ditto.
5976         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5977         (elmo-shimbun-headers-cache-last-check): Ditto.
5978         (elmo-shimbun-headers-cache-set-last-check): Ditto.
5979         (elmo-shimbun-headers-check-p): Rewrite.
5980         (elmo-shimbun-msgdb-to-headers): New function.
5981         (elmo-shimbun-get-headers): Rewrite.
5982         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5983         (elmo-folder-open-internal): Get headers only if
5984         `elmo-shimbun-headers-check-p' is non-nil.
5985         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5986         is non-nil.
5987         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5988         (elmo-quit): Removed.
5989
5990         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5991         function.
5992         (elmo-msgdb-overview-entity-set-extra): Ditto.
5993         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5994
5995         * elmo-map.el (elmo-folder-status): Don't call
5996         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5997         is non-nil.
5998
5999 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6000
6001         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6002         of `elmo-msgdb-search-internal-primitive' when condition's car is
6003         `and' or `or'.
6004
6005 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6006
6007         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6008
6009 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6010
6011         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6012         call `elmo-pipe-drain'.
6013
6014 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6015
6016         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6017         typo. (elmo-cache-folder -> elmo-mark-folder)
6018
6019 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6020
6021         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6022         `elmo-message-fetch'.
6023
6024 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6025
6026         * elmo-net.el (elmo-message-encache): Fixed typo.
6027         (elmo-message-fetch-unplugged): Changed call
6028         `elmo-message-fetch-internal' without argument `outbuf'.
6029
6030 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6031
6032         * elmo.el (elmo-message-encache): Define as generic function.
6033         (elmo-message-fetch-field): New generic function.
6034         (elmo-message-fetch-with-cache-process): Cause an error when
6035         fetch strategy is 'entire but only 'section cache is available.
6036         (toplevel): Fixed nmz folder definition.
6037
6038         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6039         (elmo-msgdb-resume-list-filename): Ditto.
6040         (elmo-queue-filename): Ditto.
6041         (elmo-enable-disconnected-operation): Changed default value to t.
6042
6043         * elmo-util.el (elmo-cache-path-section-p): New function.
6044         (elmo-file-cache-get): Use it.
6045         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6046         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6047         (elmo-dop-queue-save): Ditto.
6048
6049         * elmo-net.el (elmo-folder-status-unplugged): Call
6050         elmo-folder-status-dop.
6051         (elmo-folder-list-messages-unplugged): Implemented.
6052         (elmo-folder-delete-messages-unplugged): Define.
6053         (elmo-folder-msgdb-create): Define.
6054         (elmo-folder-msgdb-create-unplugged): Define.
6055         (elmo-folder-mark-as-read-unplugged): Ditto.
6056         (elmo-folder-unmark-read-unplugged): Ditto.
6057         (elmo-folder-mark-as-important-unplugged): Ditto.
6058         (elmo-folder-unmark-important-unplugged): Ditto.
6059         (elmo-message-encache): Ditto.
6060
6061         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6062         (elmo-dop-queue-save): Ditto.
6063
6064         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6065         `elmo-folder-msgdb-create'.
6066         (elmo-folder-append-buffer): Implemented unplugged operation.
6067         (elmo-folder-append-messages): Call parent method in unplugged status.
6068         (elmo-message-fetch-unplugged): Removed definition.
6069         (elmo-message-fetch-field): Implemented.
6070
6071         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6072         (elmo-dop-folder): Removed variable definition.
6073         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6074         (elmo-dop-queue-flush): Implemented.
6075         (elmo-dop-queue-merge): Removed definition (TODO).
6076         (elmo-dop-spool-folder): New function.
6077         (elmo-dop-spool-folder-append-buffer): Ditto.
6078         (elmo-dop-spool-folder-list-messages): Ditto.
6079         (elmo-dop-list-deleting-messages): Ditto.
6080         (elmo-folder-append-buffer-dop): Ditto.
6081         (elmo-folder-delete-messages-dop): Ditto.
6082         (elmo-message-encache-dop): New inline function.
6083         (elmo-create-folder-dop): Ditto.
6084         (elmo-folder-mark-as-read-dop): Ditto.
6085         (elmo-folder-unmark-read-dop): Ditto.
6086         (elmo-folder-mark-as-important-dop): Ditto.
6087         (elmo-folder-unmark-important-dop): Ditto.
6088         (elmo-folder-status-dop): Fixed.
6089         (elmo-folder-append-buffer-dop-delayed): New function.
6090         (elmo-folder-delete-messages-dop-delayed): Ditto.
6091         (elmo-dop-msgdb): Ditto.
6092
6093 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6094
6095         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6096
6097 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6098
6099         * elmo.el (elmo-folder-move-messages): Fixed problem when
6100         `dst-folder' is 'null.
6101
6102 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6103
6104         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6105         instead of current mark.
6106
6107         * elmo-multi.el (elmo-folder-list-importants-internal): No
6108         operation if importants is not list.
6109
6110         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6111         Return t if importants is not list.
6112
6113         * elmo-map.el (elmo-map-folder-list-importants): Define.
6114         (elmo-folder-list-importants-internal): Check return value of
6115         `elmo-map-folder-list-importants-internal'.
6116
6117         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6118
6119         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6120
6121         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6122
6123         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6124
6125 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6126
6127         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6128         (Patch is provided by <kita@coe.nttdata.co.jp>).
6129
6130 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6131
6132         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6133         mark folder.
6134
6135 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6136
6137         * elmo.el (elmo-message-fetch): Define.
6138         (elmo-message-fetch-with-cache-process): New generic method.
6139         (elmo-message-fetch-internal): New generic method.
6140         (elmo-folder-synchronize):
6141
6142         * elmo-archive.el (elmo-message-fetch-internal): Define.
6143         (elmo-message-fetch): Eliminated.
6144
6145         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6146         (elmo-message-fetch): Eliminated.
6147
6148         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6149         argument OUTBUF.
6150         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6151
6152         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6153         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6154
6155         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6156         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6157
6158         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6159
6160         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6161
6162         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6163
6164         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6165         (elmo-message-fetch-unplugged): New generic method.
6166         (elmo-message-fetch-internal): Remove cache process (Renamed from
6167         `elmo-message-fetch').
6168
6169         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6170         (elmo-message-fetch): Eliminated.
6171         (elmo-message-fetch-unplugged): Ditto.
6172
6173         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6174
6175 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6176
6177         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6178         of `to-be-deleted' from number-alist to number-list.
6179
6180 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6181
6182         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6183         (elmo-folder-mark-as-important): Ditto.
6184
6185 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6186
6187         * elmo.el (elmo-folder): Added process-duplicates slot.
6188
6189         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6190         (elmo-folder-unmark-read): Ditto.
6191         (elmo-folder-unmark-important): Ditto.
6192         (elmo-folder-mark-as-important): Ditto.
6193
6194         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6195         duplicated message processing.
6196
6197         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6198
6199 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6200
6201         * elmo-util.el (elmo-list-subdirectories-1): New function.
6202         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6203         (elmo-mapcar-list-of-list): New function.
6204
6205         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6206         `elmo-mapcar-list-of-list' instead of `mapcar'.
6207
6208         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6209
6210         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6211         `elmo-have-link-count'. Return the fully qualified folder name.
6212
6213 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6214
6215         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6216         (elmo-shimbun-headers-cache): New internal variable.
6217         (elmo-shimbun-headers-cache-header-list): New inline function.
6218         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6219         (elmo-shimbun-headers-cache-header-hash): Ditto.
6220         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6221         (elmo-shimbun-headers-cache-last-check): Ditto.
6222         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6223         (elmo-shimbun-lapse-seconds): Ditto.
6224         (elmo-shimbun-headers-cache-check-p): Ditto.
6225         (elmo-shimbun-get-headers): New function.
6226         (elmo-folder-open-internal): Call it.
6227         (elmo-quit): Define (Clear headers-cache).
6228
6229 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6230
6231         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6232
6233         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6234         (elmo-msgdb-flist-save): Ditto.
6235
6236         * elmo-shimbun.el (elmo-folder-list-subfolders):
6237         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6238         (elmo-folder-exists-p): Ditto.
6239
6240         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6241         argument for `shimbun-header-insert'.
6242
6243 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6244
6245         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6246         at first time.
6247
6248         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6249         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6250
6251 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6254         (elmo-folder-plugged-p): Define.
6255         (elmo-folder-set-plugged): Ditto.
6256         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6257         (elmo-folder-list-messages-internal): Return t if unplugged.
6258         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6259
6260         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6261         when elmo-folder-list-messages-internal method of children returns t.
6262
6263         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6264         pair is nil.
6265         (elmo-folder-open-internal): Don't update if unplugged status.
6266
6267 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6268
6269         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6270         new message.
6271
6272 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6273
6274         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6275
6276         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6277         saving.
6278
6279 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6280
6281         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6282
6283         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6284         (elmo-folder-open-internal): Set up headers slot.
6285         (elmo-folder-check): Call elmo-folder-close-internal and
6286         elmo-folder-open-internal.
6287         (elmo-folder-close-internal): Clean up headers slot.
6288
6289 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6290
6291         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6292         exactly folder list.
6293         (elmo-folder-append-messages): Fixed append archive with prefix.
6294
6295         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6296         make temp files with start-number.
6297
6298         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6299
6300 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6301
6302         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6303         argument `visible-only'.
6304         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6305         instead of `if'.
6306
6307         * elmo-pop3.el (elmo-folder-open-internal): Check
6308         `elmo-inhibit-number-mapping' is non-nil.
6309
6310         * elmo-pipe.el (elmo-folder-status): Fixed.
6311
6312 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6313
6314         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6315
6316         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6317         (elmo-folder-open-internal): Setup `header-hash' slot.
6318         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6319         information.
6320         (elmo-map-message-fetch): Ditto.
6321
6322 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6323
6324         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6325         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6326         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6327         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6328
6329         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6330
6331 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6332
6333         * sb-airs.el: Added footer.
6334
6335         * shimbun.el (shimbun-article): Define as luna-method.
6336
6337         * sb-tcup.el: New file.
6338
6339         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6340         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6341
6342 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6345         (shimbun-get-headers): Ditto.
6346
6347         * elmo.el: Moved obsolete variable definitions from
6348         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6349
6350         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6351         groups.
6352
6353         * shimbun.el: New file.
6354
6355         * elmo-shimbun.el: New file.
6356
6357         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6358         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6359         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6360         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6361
6362 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6363
6364         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6365         hierarchy is t.
6366
6367 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6368
6369         * elmo.el (elmo-folder-msgdb): Define as macro.
6370         (elmo-folder-open): Added argument `load-msgdb'.
6371         (elmo-generic-folder-open): Ditto.
6372         (elmo-folder-encache): New function.
6373
6374         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6375
6376         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6377
6378         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6379         Eliminated argument FOLDER and added argument MSGDB.
6380         (elmo-dop-queue-load): Moved from elmo-dop.el.
6381         (elmo-dop-queue-save): Ditto.
6382
6383         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6384
6385         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6386
6387         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6388         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6389         (elmo-filter-folder-list-importants-internal): Ditto.
6390
6391         * elmo-map.el (elmo-folder-pack-number): Ditto.
6392
6393         * elmo-mime.el (elmo-mime-message-display): Ditto.
6394
6395         * elmo.el (elmo-generic-folder-commit): Ditto.
6396         (elmo-folder-list-unreads): Ditto.
6397         (elmo-folder-list-importants): Ditto.
6398         (elmo-generic-folder-commit): Ditto.
6399         (elmo-message-set-mark): Ditto.
6400         (elmo-generic-folder-append-msgdb): Ditto.
6401         (elmo-folder-synchronize): Ditto.
6402         (elmo-folder-messages): Ditto.
6403         (elmo-init): Call elmo-dop-queue-load.
6404         (elmo-folder-list-messages): Ditto.
6405
6406         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6407         (elmo-nntp-folder-process-crosspost): Ditto.
6408         (elmo-folder-list-unreads-internal): Ditto.
6409
6410         * elmo-dop.el: Removed old functions.
6411
6412 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6413
6414         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6415         `folder' to `msgdb'.
6416
6417 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6418
6419         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6420         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6421
6422         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6423         case-fold-search.
6424
6425 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6426
6427         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6428         defined.
6429
6430         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6431         (mmimap-parse-parameters-from-list): Define as alias for
6432         `mime-decode-parameter-plist' if it is defined as function.
6433         (mmimap-make-mime-entity): Added argument `number'.
6434         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6435         as 0.
6436         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6437
6438         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6439
6440         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6441
6442         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6443
6444 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6445
6446         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6447
6448         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6449         when elmo-imap4-default-authenticate-type is nil.
6450         (elmo-folder-list-subfolders): Ditto
6451         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6452         (elmo-imap4-fetch-callback-1-subr): Renamed from
6453         `elmo-imap4-fetch-callback-1' and define as inline function.
6454         (elmo-imap4-fetch-callback-1):
6455         Renamed from `elmo-imap4-fetch-callback'.
6456         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6457
6458         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6459         msgdb path (To keep compatibility with main trunk).
6460
6461         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6462
6463         * elmo-util.el (elmo-make-file-cache): Moved position of
6464         some macros.
6465
6466         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6467         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6468         instead of `elmo-pop3-inhibit-uidl'.
6469         (elmo-folder-exists-p): Ditto.
6470         (elmo-pop3-folder-list-messages): Ditto.
6471
6472         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6473         instead of `elmo-pop3-inhibit-uidl'.
6474         (elmo-folder-status): Ditto.
6475
6476         * elmo-dop.el (elmo-dop-folder): New variable.
6477         (elmo-dop-lock-message): Eliminated.
6478         (elmo-dop-unlock-message): Ditto.
6479         (elmo-dop-lock-list-load): Ditto.
6480         (elmo-dop-lock-list-save): Ditto.
6481         (elmo-dop-delete-folder): Ditto.
6482         (elmo-dop-rename-folder): Ditto.
6483
6484         * elmo.el: Removed incomplete commentary.
6485
6486 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6487
6488         * elmo.el (toplevel): Require 'elmo-version first;
6489         for little `recursive-load-depth' settings.
6490         Fix "ends here" comment.
6491
6492 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6493
6494         * elmo-util.el (toplevel): Require 'poem;
6495         Some functions are moved from elmo-cache.el.
6496
6497         * elmo-net.el (toplevel): Require 'elmo-cache.
6498
6499         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6500
6501         * elmo.el (toplevel): Ditto.
6502
6503         * elmo-cache.el: Rewrite with luna;
6504         Some functions are moved to elmo-util.el.
6505
6506         * elmo-internal.el (elmo-internal-folder-list): New variable.
6507         (elmo-internal-folder-initialize): Rewrite.
6508         (elmo-folder-list-subfolders): Ditto.
6509
6510         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6511         (elmo-cache-collect-sub-directories): Ditto.
6512
6513 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6514
6515         * elmo-version.el (elmo-version): Up to 2.5.8.
6516
6517         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6518
6519         * elmo-util.el (elmo-list-insert): New function.
6520
6521 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6522
6523         * elmo.el (elmo-init): New function.
6524         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6525
6526         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6527         (Renamed from `elmo-localdir-header-chop-length').
6528
6529         * elmo-pop3.el (elmo-pop3-use-cache,
6530         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6531
6532         * elmo-nntp.el (elmo-message-fetch): Define.
6533         (elmo-message-fetch-unplugged): Ditto.
6534         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6535         (elmo-nntp-use-cache): Ditto.
6536         (elmo-nntp-max-number-precedes-list-active): Ditto.
6537
6538         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6539
6540         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6541         `elmo-msgdb-insert-file-header'.
6542         Use `elmo-msgdb-file-header-chop-length'.
6543
6544         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6545         `elmo-vars.el'.
6546
6547         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6548         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6549         `elmo-msgdb-insert-file-header'.
6550
6551         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6552         Use new variable;
6553         Define obsolete variables with `elmo-define-obsolete-variable',
6554
6555         * elmo-util.el (elmo-warning-buffer-name): New constant.
6556         (elmo-warning): New function.
6557         (elmo-obsolete-variable-alist): New variable.
6558         (elmo-obsolete-variable-show-warnings): New variable.
6559         (elmo-define-obsolete-variable): New function.
6560         (elmo-resque-obsolete-variable): Ditto.
6561         (elmo-resque-obsolete-variables): Ditto.
6562
6563 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6564
6565         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6566         Eliminated.
6567
6568         * elmo-pop3.el, elmo-nntp.el: Use custom.
6569
6570 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6571
6572         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6573         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6574
6575 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6576
6577         * Luna-fy Kenichi OKADA's following changes.
6578         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6579         `nohide'.
6580         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6581
6582 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6583
6584         * elmo-util.el (elmo-display-progress): Prefer
6585         `progress-feedback-with-label' to `lprogress-display'.
6586
6587 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6588
6589         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6590
6591 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6592
6593         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6594         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6595         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6596         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6597         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6598         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6599         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6600         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6601         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6602         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6603         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6604         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6605         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6606
6607 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6608
6609         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6610         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6611
6612 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6613
6614         * elmo.el (elmo-folder-process-crosspost): New generic method.
6615         (elmo-folder-writable-p): Ditto.
6616         (elmo-folder-message-appendable-p): Eliminated.
6617         (elmo-generic-folder-append-msgdb): Rewrite.
6618         (elmo-newsgroups-hashtb): New internal variable.
6619         (elmo-crosspost-message-set): Eliminated.
6620         (elmo-crosspost-message-delete): Ditto.
6621         (elmo-setup-subscribed-newsgroups): New function.
6622         (elmo-crosspost-message-alist-modified): New internal variable.
6623         (elmo-crosspost-message-alist-load): New function (Renamed from
6624         `wl-crosspost-alist-load').
6625         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6626         `wl-crosspost-alist-save').
6627
6628         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6629
6630         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6631         `unreads'.
6632         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6633         elmo-newsgroups-hashtb).
6634         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6635         `elmo-nntp-folder-update-crosspost-message-alist'.
6636         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6637         `elmo-nntp-groups-hashtb'.
6638         (elmo-nntp-make-groups-hashtb): Eliminated.
6639         (elmo-nntp-parse-newsgroups): New function (Renamed from
6640         `wl-parse-newsgroups').
6641         (elmo-folder-creatable-p, elmo-folder-writable-p,
6642         elmo-folder-close-internal, elmo-folder-mark-as-read,
6643         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6644         Define.
6645         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6646
6647         * elmo-net.el (elmo-message-fetch): Check buffer size.
6648
6649         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6650
6651         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6652
6653         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6654         before `close' command.
6655
6656         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6657         `mark-alist' (All other related portions are changed).
6658
6659 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6660
6661         * elmo-util.el (elmo-create-hash-size): Eliminated.
6662         (elmo-make-hash) Make a hash with `one less than a power of two'
6663         length.
6664
6665         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6666         (elmo-hash-maximum-size): Changed value.
6667
6668 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6669
6670         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6671         (elmo-mime-message-display-as-is): Ditto.
6672
6673 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6674
6675         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6676         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6677
6678 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6679
6680         * elmo-mark.el: New file.
6681
6682         * elmo-internal.el: Rewrite (Almost empty).
6683
6684 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6685
6686         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6687         (mime-imap-entity-header-string): Ditto.
6688         (mmimap-entity-section): Rewrite.
6689
6690 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6691
6692         * elmo-nmz.el: New file.
6693
6694         * elmo-pipe.el: Rewrite with luna.
6695
6696 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6697
6698         * elmo-archive.el: Rewrite with luna.
6699
6700         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6701         (elmo-folder-list-importants-internal): Ditto.
6702
6703 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6704
6705         * elmo-archive.el (elmo-archive-version): Abolish.
6706         (toplevel) Removed `boso' comment.
6707
6708 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6709
6710         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6711         elmo-msgdb-add-msgs-to-seen-list-subr;
6712         Changed argument seen-marks to unread-marks.
6713
6714         * elmo-nntp.el: Rewrite with luna.
6715
6716 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6717
6718         * elmo-filter.el: Rewrite with luna.
6719
6720 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6721
6722         * elmo-pop3.el: Rewrite with luna.
6723
6724 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-multi.el: Rewrite with luna.
6727
6728         * elmo-vars.el (elmo-use-killed-list): Abolish.
6729         All other related portions are changed.
6730         (elmo-filename-replace-string-alist): Renamed from
6731         elmo-msgid-replace-string-alist.
6732
6733 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6734
6735         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6736
6737         * elmo-map.el: New file.
6738         * elmo-maildir.el: Rewrite with luna.
6739
6740 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6741
6742         * elmo.el: Changed meaning of `elmo-folder-commit'.
6743         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6744
6745 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6746
6747         * elmo.el (elmo-folder-append-buffer): New function.
6748         (Renamed from `elmo-append-msg')
6749
6750 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6751
6752         * elmo-mime.el: New file.
6753
6754 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6755
6756         * elmo-cache.el: Rewrite.
6757
6758 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6759
6760         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6761
6762 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo-vars.el (elmo): New group.
6765         (elmo-strict-diff-folder-regexp): New variable.
6766
6767         * elmo-util.el (elmo-call-func): Abolish.
6768         (elmo-folder-get-type): Ditto.
6769         (elmo-*-get-spec): Ditto.
6770         (elmo-*-spec-*): Ditto.
6771         (elmo-imap4-identical-name-space-p): Ditto.
6772         (elmo-folder-identical-system-p): Ditto.
6773         (elmo-folder-direct-copy-alist): Ditto.
6774         (elmo-folder-direct-copy-p): Ditto.
6775
6776         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6777         (elmo-folder-initialize): Define.
6778         (elmo-folder-get-primitive-list): Ditto.
6779
6780         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6781         (elmo-folder-initialize): Define.
6782         Renamed `elmo-network-session-host-internal' to
6783         `elmo-network-session-server-internal'.
6784
6785         * elmo-multi.el (elmo-multi-folder): New luna class.
6786         (elmo-folder-initialize): Define.
6787         (elmo-folder-get-primitive-list): Ditto.
6788         (elmo-folder-contains-type): Ditto.
6789         (elmo-message-use-cache-p): Ditto.
6790
6791         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6792         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6793
6794         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6795         (elmo-folder-initialize): Define.
6796
6797         * elmo-filter.el (elmo-filter-folder): New luna class.
6798         (elmo-folder-initialize): Define.
6799         (elmo-folder-get-primitive-list): Ditto.
6800         (elmo-folder-contains-type): Ditto.
6801
6802 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6803
6804         * elmo-imap4.el: Rewrite with luna.
6805
6806         * mmimap.el: New file.
6807
6808         * mmelmo.el, mmelmo-imap4.el: Removed.
6809
6810         * elmo-net.el: Ditto.
6811
6812         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6813         (elmo-folder-initialize): Define.
6814
6815         * elmo-archive.el (elmo-archive-folder): New luna class.
6816         (elmo-folder-initialize): Define.
6817
6818         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6819         `elmo-folder-msgdb-path'.
6820         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6821         `elmo-make-folder'.
6822
6823 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6824
6825         * elmo.el: New file.
6826
6827         * elmo2.el: Renamed to elmo.el.
6828
6829 \f
6830 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6831
6832         * elmo-cache.el (elmo-cache-expire-by-size): Count
6833         a disk usage for a cache file entry in KB even when
6834         its kind is a directory.
6835
6836 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6837
6838         * elmo-version.el (elmo-version): Up to 2.5.7.
6839
6840 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6841
6842         * elmo-version.el (elmo-version): Up to 2.5.6.
6843
6844 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6845
6846         * elmo-version.el (elmo-version): Up to 2.5.5.
6847
6848 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6849
6850         * elmo-imap4.el (elmo-network-authenticate-session):
6851         Fixed a logic for response checking.
6852
6853 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6854
6855         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6856         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6857         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6858         `sasl-mechanisms'.
6859
6860         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6861         for `starttls-open-stream' and `starttls-negotiate'.
6862
6863         * elmo-nntp.el: Remove autoload settings for
6864         `starttls-open-stream' and `starttls-negotiate'.
6865
6866         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6867         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6868         `luna-define-class' with `eval-and-compile'.
6869
6870 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6871
6872         * elmo-util.el (elmo-read-search-condition-internal):
6873         Require an element of table for searching field.
6874
6875 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6876
6877         * elmo-version.el (elmo-version): Up to 2.5.4.
6878
6879 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6880
6881         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6882
6883 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6884
6885         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6886
6887 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6888
6889         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6890         before greeting.
6891
6892 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6893
6894         * elmo-imap4.el (elmo-imap4-delete-folder):
6895         Send "close" before "delete" (Use commented out line).
6896         (elmo-imap4-rename-folder): Ditto.
6897
6898         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6899         folder string itself.
6900         (elmo-dop-list-deleted): New function.
6901         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6902         killed.
6903
6904         * elmo-util.el (elmo-string-rassoc-all): New function.
6905
6906 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
6907
6908         * elmo-version.el (elmo-version): Up to 2.5.3.
6909
6910         * elmo-net.el (elmo-network-get-session): Changed logic for
6911         checking process status.
6912
6913         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6914         process is nil;
6915         Changed logic for checking process status.
6916
6917 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
6918
6919         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6920         before greeting.
6921         (elmo-network-setup-session): Set UIDL hash size according to
6922         the length of list response.
6923         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6924         according to the length of list response;
6925         Return the length of list response.
6926         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6927
6928 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
6929
6930         * elmo-imap4.el (toplevel): Require 'ssl.
6931         Add autoload 'starttls.
6932         * elmo-pop3.el (toplevel): Ditto.
6933         * elmo-nntp.el (toplevel): Ditto.
6934
6935 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6936
6937         * elmo-imap4.el (toplevel): defun at compile time.
6938         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6939         sasl-next-step, sasl-step-data, sasl-step-set-data.
6940         * elmo-pop3.el (toplevel): Ditto.
6941
6942 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6943
6944         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6945
6946 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6947
6948         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6949         if error.
6950         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6951         and `elmo-pop-auth-apop'.
6952
6953 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6954
6955         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6956
6957 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6958
6959         * elmo-pop3.el (elmo-network-authenticate-session): Split
6960         encoded response value.
6961
6962 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6963
6964         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6965         `elmo-pop3-force-login'.
6966         Redefine `sasl-mechanisms'.
6967         * elmo-vars.el (elmo-pop3-force-login): Ditto.
6968
6969 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6970
6971         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6972         Delete `elmo-imap4-authenticator-alist'.
6973         (elmo-imap4-auth-cram-md5): Delete.
6974         (elmo-imap4-auth-digest-md5): Delete.
6975
6976 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
6977
6978         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6979         (elmo-pop3-auth-scram-md5): Ditto.
6980         (elmo-pop3-auth-cram-md5): Ditto.
6981
6982 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
6983
6984         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6985         Delete `elmo-pop3-authenticator-alist'.
6986
6987 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
6988
6989         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6990         new SASL API.
6991         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6992
6993 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6994
6995         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6996
6997 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
6998
6999         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7000         Fixed problem when `elmo-pop3-use-uidl' is nil.
7001         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7002
7003 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7004
7005         * elmo-version.el (elmo-version): Up to 2.5.2.
7006
7007 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7008
7009         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7010         New function.
7011         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7012         (elmo-pop3-msgdb-create-as-numlist): Use it.
7013
7014         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7015         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7016
7017         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7018         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7019
7020 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7021
7022         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7023         when elmo-mark-as-read is called with second argument nil.
7024
7025 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7026
7027         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7028         Moved to elmo-util.el.
7029
7030         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7031         Moved from elmo-pipe.el
7032
7033         * elmo-archive.el (elmo-archive-call-process): Enclose with
7034         static-if.
7035
7036         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7037         "RFC822" (because RFC822.PEEK is obsolete).
7038         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7039
7040 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7041
7042         * elmo-archive.el (elmo-archive-call-process): Don't check for
7043         the exit status when Nemacs is running.
7044
7045 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7046
7047         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7048         'plain.
7049
7050         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7051         (elmo-pop3-get-spec): Set default of auth to 'user.
7052
7053         * elmo-imap4.el (elmo-imap4-session-check):
7054         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7055         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7056         (elmo-imap4-auth-login): New function; Revival.
7057         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7058         `elmo-imap4-auth-login'.
7059
7060 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7061
7062         * elmo2.el (toplevel): Move `product-provide' declare.
7063         * mmelmo.el (toplevel): Ditto.
7064
7065 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7066
7067         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7068
7069 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7070
7071         * elmo-util.el (elmo-folder-get-store-type): New function.
7072         (elmo-folder-direct-copy-p): Use it.
7073
7074 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7075
7076         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7077         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7078         and result of `elmo-imap4-use-flag-p'.
7079         (elmo-imap4-fetch-callback-1): Set mark according to
7080         the result of `elmo-imap4-use-flag-p'.
7081
7082 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7083
7084         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7085         (elmo-generic-list-folder-unread): Ditto.
7086         (elmo-folder-get-info): Ditto.
7087         (elmo-folder-set-info-max-by-numdb): Ditto.
7088         (elmo-folder-get-info-max): Ditto.
7089         (elmo-folder-get-info-length): Ditto.
7090         (elmo-folder-get-info-unread): Ditto.
7091         (elmo-folder-info-make-hashtb): Ditto.
7092
7093         * elmo2.el: Removed above functions.
7094
7095 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7096
7097         * elmo-imap4.el (toplevel): Require 'ssl.
7098         Add autoload 'starttls.
7099         * elmo-pop3.el (toplevel): Ditto.
7100         * elmo-nntp.el (toplevel): Ditto.
7101
7102 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7103
7104         * elmo-imap4.el (toplevel): defun at compile time.
7105         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7106         sasl-next-step, sasl-step-data, sasl-step-set-data.
7107         * elmo-pop3.el (toplevel): Ditto.
7108
7109 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7110
7111         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7112
7113 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7114
7115         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7116         if error.
7117         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7118         and `elmo-pop-auth-apop'.
7119
7120 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7121
7122         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7123
7124 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7125
7126         * elmo-pop3.el (elmo-network-authenticate-session): Split
7127         encoded response value.
7128
7129 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7130
7131         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7132         `elmo-pop3-force-login'.
7133         Redefine `sasl-mechanisms'.
7134         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7135
7136 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7137
7138         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7139         Delete `elmo-imap4-authenticator-alist'.
7140         (elmo-imap4-auth-cram-md5): Delete.
7141         (elmo-imap4-auth-digest-md5): Delete.
7142
7143 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7144
7145         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7146         (elmo-pop3-auth-scram-md5): Ditto.
7147         (elmo-pop3-auth-cram-md5): Ditto.
7148
7149 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7150
7151         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7152         Delete `elmo-pop3-authenticator-alist'.
7153
7154 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7155
7156         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7157         new SASL API.
7158         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7159
7160 \f
7161 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7162
7163         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7164
7165 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7166
7167         * elmo-nntp.el (elmo-nntp-get-folders-info):
7168         Fixed problem when '\' character is contained in user-id.
7169         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7170
7171 \f
7172 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7173
7174         * elmo-imap4.el (elmo-imap4-delete-folder):
7175         Send "close" before "delete" (Use commented out line).
7176         (elmo-imap4-rename-folder): Ditto.
7177
7178         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7179         folder string itself.
7180         (elmo-dop-list-deleted): New function.
7181         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7182         killed.
7183
7184         * elmo-util.el (elmo-string-rassoc-all): New function.
7185
7186         * elmo-version.el (elmo-version): Up to 2.5.1.
7187
7188 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7189
7190         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7191
7192         * elmo-internal.el (elmo-internal-search): Fix last change.
7193
7194 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7195
7196         * elmo-internal.el (elmo-internal-search): Rewrite.
7197         (Fixed problem which is pointed out by Akihiro MOTOKI
7198         <motoki@da.jp.nec.com>)
7199
7200         * elmo-version.el (elmo-version): Up to 2.5.0.
7201
7202 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7203
7204         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7205
7206 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7207
7208         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7209         non-nil, make hierarchy.
7210
7211 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7212
7213         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7214         `elmo-pop3-use-uidl' must be bound to nil.
7215         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7216
7217 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7218
7219         * elmo-util.el (elmo-copy-file): Don't cause an error after
7220         `add-name-to-file' failed.
7221
7222         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7223         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7224
7225 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7226
7227         * elmo-version.el (elmo-version): Up to 2.3.93.
7228
7229 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7230
7231         * elmo-util.el (elmo-flatten): New function.
7232
7233 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7234
7235         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7236         sync Author header.
7237         * elmo-cache.el (toplevel): Ditto.
7238         * elmo-database.el (toplevel): Ditto.
7239         * elmo-date.el (toplevel): Ditto.
7240         * elmo-dop.el (toplevel): Ditto.
7241         * elmo-filter.el (toplevel): Ditto.
7242         * elmo-imap4.el (toplevel): Ditto.
7243         * elmo-internal.el (toplevel): Ditto.
7244         * elmo-localdir.el (toplevel): Ditto.
7245         * elmo-localnews.el (toplevel): Ditto.
7246         * elmo-maildir.el (toplevel): Ditto.
7247         * elmo-msgdb.el (toplevel): Ditto.
7248         * elmo-multi.el (toplevel): Ditto.
7249         * elmo-net.el (toplevel): Ditto.
7250         * elmo-nntp.el (toplevel): Ditto.
7251         * elmo-pipe.el (toplevel): Ditto.
7252         * elmo-pop3.el (toplevel): Ditto.
7253         * elmo-util.el (toplevel): Ditto.
7254         * elmo-vars.el (toplevel): Ditto.
7255         * elmo2.el (toplevel): Ditto.
7256         * mmelmo-imap4.el (toplevel): Ditto.
7257         * mmelmo.el (toplevel): Ditto.
7258
7259         * elmo-version.el (elmo-version): Move to top.
7260
7261         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7262         * elmo-imap4.el (toplevel): Ditto.
7263         * elmo-localdir.el (toplevel): Ditto.
7264         * elmo-msgdb.el (toplevel): Ditto.
7265         * elmo-nntp.el (toplevel): Ditto.
7266         * elmo-pop3.el (toplevel): Ditto.
7267         * elmo-version.el (toplevel): Ditto.
7268
7269         * elmo-localnews.el (toplevel): Added Keyword header.
7270
7271 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7272
7273         * elmo-version.el (product-version-as-string): Defined using
7274         `defun-maybe'.
7275         (toplevel): Use it.
7276
7277         * elmo-localdir.el (toplevel): Updated copyright notice.
7278         * elmo-version.el (toplevel): Ditto.
7279         * elmo-msgdb.el (toplevel): Ditto.
7280         * elmo-imap4.el (toplevel): Ditto.
7281         * elmo-nntp.el (toplevel): Ditto.
7282         * elmo-pop3.el (toplevel): Ditto.
7283
7284 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7285
7286         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7287         messages.
7288
7289         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7290         parameter value (It sometimes contains raw kanji).
7291
7292 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7293
7294         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7295         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7296
7297 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7298
7299         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7300
7301 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7302
7303         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7304         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7305
7306 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7307
7308         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7309         value if selecting folder succceeded.
7310         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7311
7312 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7313
7314         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7315         representation.
7316
7317         * elmo-util.el (elmo-string-matched-member): New function.
7318
7319 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7320
7321         * elmo-util.el (elmo-unintern): New macro.
7322         (elmo-number-set-member): Fixed docstring.
7323
7324         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7325         tag token.
7326
7327 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7328
7329         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7330         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7331
7332 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7333
7334         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7335         `no-error'.
7336         Added docstring.
7337         Return non-nil if selecting folder succeeded.
7338         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7339
7340 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7341
7342         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7343         `file-name-completion' returns t.
7344         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7345         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7346         directory if it does not exist.
7347         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7348         for iteration.
7349
7350 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7351
7352         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7353         enclosure (It's harmful in unplugged status).
7354
7355         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7356
7357         * mmelmo-1.el: Removed.
7358
7359         * mmelmo-2.el: Ditto.
7360
7361         * mmelmo-imap4-1.el: Ditto.
7362
7363         * mmelmo-imap4-2.el: Ditto.
7364
7365         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7366
7367         * mmelmo.el: Merged mmelmo-2.el.
7368
7369         * elmo-version.el (elmo-version): Up to 2.3.92.
7370
7371 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7372
7373         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7374         elmo-update-number): Remove last period in "...done." message.
7375         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7376         Ditto.
7377         * elmo-cache.el (elmo-cache-expire-by-size,
7378         elmo-cache-get-sorted-cache-file-list,
7379         elmo-cache-msgdb-create-as-numlist): Ditto.
7380         * elmo-dop.el (elmo-dop-save-pending-messages,
7381         (elmo-dop-flush-pending-append-operations): Ditto.
7382         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7383         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7384         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7385         (elmo-localdir-pack-number): Ditto.
7386         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7387         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7388         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7389         mime-write-entity-content): Ditto.
7390         * pldap.el (ldap-search-basic): Ditto.
7391
7392 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7393
7394         * elmo-version.el (elmo-version): Up to 2.3.91.
7395
7396         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7397         Only when filter is 'last'.
7398
7399         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7400         (elmo-condition-parse-search-value): Use it.
7401         (elmo-read-search-condition-internal): Quote value only when
7402         it is not an atom.
7403
7404 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7405
7406         * elmo2.el (elmo-generic-folder-diff): Fix.
7407
7408 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7409
7410         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7411         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7412         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7413         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7414         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7415         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7416
7417 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7418
7419         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7420         extra-fields.
7421
7422 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7423
7424         * elmo-version.el (elmo-version): Up to 2.3.90.
7425
7426         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7427         (elmo-imap4-list-folder-important): Ditto.
7428
7429 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7430
7431         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7432
7433 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7434
7435         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7436
7437 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7438
7439         * elmo-nntp.el (elmo-network-initialize-session):
7440         Add starttls negotiation.
7441
7442 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7443
7444         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7445         response.
7446         (elmo-network-setup-session): Define.
7447         Call `elmo-nntp-send-mode-reader' when session opened.
7448
7449 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7450
7451         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7452
7453 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7454
7455         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7456         an invalid SPACE character ahead of `SEARCH' command.  Move
7457         a valid SPACE character following `SEARCH' from conditional
7458         `format' arguments to control-strings.
7459
7460 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7461
7462         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7463         was succeeded.
7464
7465         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7466
7467 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7468
7469         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7470         `w32-get-true-file-link-count' as t.
7471
7472         * elmo-imap4.el (elmo-imap4-read): Abolished.
7473         (Renamed to `elmo-read' and moved to elmo-util.el)
7474         All other related portions are changed.
7475
7476         * elmo-util.el (elmo-read): New function.
7477         (elmo-condition-parse-search-value): Use it.
7478
7479 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7480
7481         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7482
7483         * elmo-nntp.el (elmo-nntp-session): Define.
7484         (elmo-nntp-setting): Abolished.
7485         All other related portions are changed.
7486         (elmo-nntp-get-server-command): Changed argument.
7487         (elmo-nntp-set-server-command): Ditto.
7488         (elmo-nntp-xover-p): Ditto.
7489         (elmo-nntp-set-xover): Ditto.
7490         (elmo-nntp-listgroup-p): Ditto.
7491         (elmo-nntp-set-listgroup): Ditto.
7492         (elmo-nntp-list-active-p): Ditto.
7493         (elmo-nntp-set-list-active): Ditto.
7494         (elmo-nntp-xhdr-p): Ditto.
7495         (elmo-nntp-set-xhdr): Ditto.
7496         (elmo-nntp-flush-connection): Abolished.
7497         (elmo-nntp-get-connection): Abolished.
7498         (elmo-nntp-get-session): New function.
7499         (elmo-network-initialize-session): Defined.
7500         (elmo-network-authenticate-session): Ditto.
7501         (elmo-nntp-send-mode-reader): Changed argument.
7502         (elmo-nntp-send-command): Changed argument.
7503         All other related portions are changed.
7504         (elmo-nntp-read-response): Ditto.
7505         (elmo-nntp-read-raw-response): Ditto.
7506         (elmo-nntp-read-contents): Ditto.
7507         (elmo-nntp-read-body): Ditto.
7508         (elmo-nntp-goto-folder): Abolished.
7509         (elmo-nntp-select-group): New function.
7510         All other related portions are changed.
7511         (This function substitutes `elmo-nntp-goto-folder')
7512         (elmo-nntp-msgdb-create-by-header): Rewrite.
7513         (elmo-nntp-get-overview): Eliminated.
7514         (elmo-nntp-get-message): Ditto.
7515         (elmo-nntp-open-connection) Abolished.
7516         (elmo-nntp-read-msg): Rewrite.
7517         (elmo-nntp-post): Ditto.
7518         (elmo-nntp-send-data): Abolished.
7519         (elmo-nntp-send-buffer): New function.
7520         (elmo-nntp-send-data-line): Define as inline function.
7521         (elmo-nntp-get-folders-info-prepare): Use session as key.
7522         (elmo-nntp-groups-read-response): Changed argument.
7523         (elmo-nntp-retrieve-headers): Ditto.
7524         (elmo-nntp-msgdb-create-message): Ditto.
7525
7526         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7527         when searching by 'since' or 'before'.
7528
7529 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7530
7531         * elmo-version.el (toplevel): Use product-version-as-string for set
7532         verstion-string, if defined.
7533
7534 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7535
7536         * elmo-util.el: Doc fixes.
7537
7538 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7539
7540         * elmo-archive.el (toplevel): Use product-provide.
7541         * elmo-cache.el (toplevel): Ditto.
7542         * elmo-database.el (toplevel): Ditto.
7543         * elmo-date.el (toplevel): Ditto.
7544         * elmo-dop.el (toplevel): Ditto.
7545         * elmo-filter.el (toplevel): Ditto.
7546         * elmo-imap4.el (toplevel): Ditto.
7547         * elmo-internal.el (toplevel): Ditto.
7548         * elmo-localdir.el (toplevel): Ditto.
7549         * elmo-localnews.el (toplevel): Ditto.
7550         * elmo-maildir.el (toplevel): Ditto.
7551         * elmo-msgdb.el (toplevel): Ditto.
7552         * elmo-multi.el (toplevel): Ditto.
7553         * elmo-net.el (toplevel): Ditto.
7554         * elmo-nntp.el (toplevel): Ditto.
7555         * elmo-pipe.el (toplevel): Ditto.
7556         * elmo-pop3.el (toplevel): Ditto.
7557         * elmo-util.el (toplevel): Ditto.
7558         * elmo-vars.el (toplevel): Ditto.
7559         * elmo2.el (toplevel): Ditto.
7560         * mmelmo-1.el (toplevel): Ditto.
7561         * mmelmo-2.el (toplevel): Ditto.
7562         * mmelmo-imap4-1.el (toplevel): Ditto.
7563         * mmelmo-imap4-2.el (toplevel): Ditto.
7564         * mmelmo-imap4.el (toplevel): Ditto.
7565         * mmelmo.el (toplevel): Ditto.
7566
7567 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7568
7569         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7570         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7571
7572 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7573
7574         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7575         before splitting.
7576         (elmo-multi-split-number-alist): Ditto.
7577
7578 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7579
7580         * elmo-version.el: New file.  Use product.el.
7581         * elmo2.el: Add (require 'elmo-version).
7582         * elmo-vars.el (elmo-appname, elmo-version): Move to
7583         elmo-version.el
7584
7585 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7586
7587         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7588         `elmo-msgdb-expand-path'.
7589         (elmo-msgdb-load): Ditto.
7590         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7591         (elmo-generic-list-folder-unread): Rewrite.
7592         (elmo-generic-list-folder-important): Changed argument.
7593         (elmo-list-folder-unread): Ditto.
7594         (elmo-list-folder-important): Ditto.
7595         (elmo-folder-diff): Rewrite.
7596         (elmo-generic-folder-diff): New function.
7597         (elmo-multi-get-number-alist-list): Abolished
7598         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7599         (elmo-multi-folder-diff): Moved to elmo-multi.el
7600         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7601
7602         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7603         `elmo-msgdb-expand-path'.
7604         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7605         (elmo-pop3-read-msg): Ditto.
7606         (elmo-pop3-delete-msgs): Ditto.
7607         (elmo-pop3-folder-diff): New alias.
7608
7609         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7610         `elmo-msgdb-expand-path'.
7611         (elmo-pipe-list-folder-unread): Changed arguments.
7612         (elmo-pipe-list-folder-important): Ditto.
7613         (elmo-pipe-folder-diff): New alias.
7614
7615         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7616         `elmo-msgdb-expand-path'.
7617         (elmo-nntp-max-of-folder): Ditto.
7618         (elmo-nntp-msgdb-create): Ditto.
7619         (elmo-nntp-delete-msgs): Ditto.
7620         (elmo-nntp-folder-diff): New alias.
7621
7622         * elmo-multi.el (elmo-multi-folder-diff): New function.
7623         (elmo-multi-split-mark-alist): Ditto.
7624         (elmo-multi-split-number-alist): Ditto.
7625         (elmo-multi-mark-alist-list): Abolished (Renamed to
7626         elmo-multi-split-mark-alist).
7627         (elmo-multi-list-folder-unread): Rewrite.
7628         (elmo-multi-list-folder-important): Ditto.
7629         (elmo-multi-list-folder): Set `spec' as 1st argument for
7630         `elmo-msgdb-expand-path'.
7631         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7632         instead of `elmo-multi-get-number-alist-list'.
7633
7634         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7635         If 1st argument is not string, treat as spec.
7636         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7637         `elmo-msgdb-expand-path'.
7638         (elmo-msgdb-flist-load): Ditto.
7639         (elmo-msgdb-flist-save): Ditto.
7640         (elmo-msgdb-delete-path): Ditto.
7641         (elmo-msgdb-rename-path): Ditto.
7642
7643         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7644         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7645         (elmo-maildir-delete-mark-msgs): Ditto.
7646         (elmo-maildir-msgdb-create): Ditto.
7647         (elmo-maildir-read-msg): Ditto.
7648         (elmo-maildir-delete-msgs): Ditto.
7649         (elmo-maildir-list-folder-subr): Ditto.
7650         (elmo-maildir-search): Ditto.
7651         (elmo-maildir-get-msg-filename): Ditto.
7652         (elmo-maildir-pack-number): Ditto.
7653         (elmo-maildir-folder-diff): New alias.
7654
7655         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7656
7657         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7658         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7659         (elmo-localdir-folder-diff): New alias.
7660
7661         * elmo-internal.el (elmo-internal-list-folder-subr):
7662         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7663         (elmo-internal-list-folder-by-location): Ditto.
7664         (elmo-internal-msgdb-create): Ditto.
7665         (elmo-internal-delete-msgs): Ditto.
7666         (elmo-internal-read-msg): Ditto.
7667         (elmo-internal-folder-diff): New alias.
7668
7669         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7670         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7671         `elmo-msgdb-expand-path'.
7672         (elmo-imap4-list-folder-unread): Changed arguments.
7673         (elmo-imap4-list-folder-important): Ditto.
7674
7675         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7676         (elmo-filter-list-folder-important): Ditto.
7677         (elmo-filter-folder-diff): New function.
7678
7679         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7680
7681         * elmo-cache.el (elmo-cache-list-folder):
7682         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7683         (elmo-cache-copy-msgs): Ditto.
7684         (elmo-cache-folder-diff): New alias.
7685
7686         * elmo-archive.el (elmo-archive-list-folder-subr):
7687         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7688         (elmo-archive-get-archive-name): Ditto.
7689         (elmo-archive-create-file): Ditto.
7690         (elmo-archive-append-msg): Ditto.
7691         (elmo-archive-copy-msgs): Ditto.
7692         (elmo-archive-copy-msgs-froms): Ditto.
7693         (elmo-archive-get-msg-filename): Ditto.
7694         (elmo-archive-folder-diff): New alias.
7695
7696 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7697
7698         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7699         (elmo-pop3-stream-type-alist): New variable.
7700         (elmo-nntp-stream-type-alist): New variable.
7701
7702         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7703         (elmo-kill-buffer): Ditto.
7704         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7705         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7706         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7707         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7708         (elmo-imap4-get-spec): Take into account
7709         `elmo-imap4-stream-type-alist'.
7710
7711 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7712
7713         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7714         (elmo-nntp-list-folders-get-cache): Ditto.
7715
7716 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7717
7718         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7719         character before 'uid'.
7720
7721 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7722
7723         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7724
7725         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7726
7727         * elmo-util.el (elmo-number-set-member): New function.
7728         (elmo-number-set-append-list): Ditto.
7729         (elmo-number-set-append): Ditto.
7730
7731         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7732         Use `elmo-number-set-member'.
7733         (elmo-living-messages): Ditto.
7734         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7735         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7736
7737         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7738         (elmo-imap4-add-to-cont-list): Abolished.
7739         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7740         instead of elmo-imap4-add-to-cont-list.
7741
7742         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7743         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7744
7745         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7746
7747 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7748
7749         * elmo-util.el (elmo-condition-parse-search-value):
7750         Fixed date parsing.
7751
7752 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7753
7754         * elmo-util.el (elmo-condition-find-key-internal): New function.
7755         (elmo-condition-find-key): Ditto.
7756
7757         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7758         (elmo-msgdb-search-internal): Ditto.
7759         (elmo-msgdb-search): Ditto.
7760
7761 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7762
7763         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7764         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7765
7766         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7767         (elmo-nntp-search-primitive): Fixed problem when condition is
7768         'unmatch'.
7769
7770         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7771
7772         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7773         (elmo-nntp-xhdr-p): New macro.
7774         (elmo-nntp-set-xhdr): Ditto.
7775         (elmo-nntp-parse-xhdr-response): New function.
7776         (elmo-nntp-retrieve-field): Ditto.
7777         (elmo-nntp-search-primitive): Ditto.
7778         (elmo-nntp-search): Implemented.
7779
7780         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7781
7782         * elmo-archive.el (elmo-archive-search): Set all number list to
7783         `elmo-archive-field-condition-match'
7784
7785         * elmo-localdir.el (elmo-localdir-search): Likewise.
7786
7787         * elmo-maildir.el (elmo-maildir-search): Likewise.
7788
7789 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7790
7791         * elmo-msgdb.el (elmo-living-messages): New function.
7792         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7793         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7794         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7795         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7796         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7797         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7798         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7799         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7800         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7801         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7802         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7803
7804 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7805
7806         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7807
7808         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7809
7810         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7811
7812         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7813         arguments for `SEARCH' command.
7814         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7815         All other related portions are changed.
7816
7817         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7818
7819         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7820         (elmo-list-folder-unread): Rewrite.
7821         (elmo-list-folder-important): Ditto.
7822
7823         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7824         (elmo-condition-parse-error): New inline function.
7825         (elmo-read-search-condition): New function.
7826         (elmo-read-search-condition-internal): Ditto.
7827         (elmo-parse-search-condition): Rewrite.
7828         (elmo-condition-parse): New function.
7829         (elmo-condition-parse-or-expr): Ditto.
7830         (elmo-condition-parse-and-expr): Ditto.
7831         (elmo-condition-parse-primitive): Ditto.
7832         (elmo-condition-parse-search-value): Ditto.
7833         (elmo-buffer-field-primitive-condition-match): Ditto.
7834         (elmo-buffer-field-condition-match): Rewrite.
7835         (elmo-file-field-condition-match): Ditto.
7836
7837         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7838         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7839
7840         * elmo-internal.el (elmo-internal-search): Set `number' and
7841         `number-list' argument of `elmo-file-field-condition-match'.
7842
7843         * elmo-maildir.el (elmo-maildir-search): Ditto.
7844
7845         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7846         `msgdb' as argument instead of `mark-alist'.
7847         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7848         `overview'.
7849
7850         * elmo-multi.el: Likewise.
7851
7852         * elmo-pipe.el: Likewise.
7853
7854         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7855         (elmo-imap4-search-internal): Rewrite.
7856         (elmo-imap4-search): Ditto.
7857
7858         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7859         (elmo-filter-list-folder-unread): Ditto.
7860         (elmo-filter-list-folder-important): Ditto.
7861         (elmo-filter-search): Rewrite.
7862
7863         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7864         `number-list' argument of `elmo-file-field-condition-match'.
7865         (elmo-cache-search): Ditto.
7866
7867         * elmo-localdir.el: Likewise.
7868
7869         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7870         number-list and pass it to `elmo-buffer-field-condition-match'.
7871         (elmo-archive-field-condition-match): Pass `number-list' to
7872         `elmo-archive-field-condition-match'
7873
7874 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7875
7876         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7877         `listgroup'.
7878
7879         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7880         (elmo-folder-diff-async-callback-data): Ditto.
7881         (elmo-folder-diff-async): New function.
7882
7883         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7884         (elmo-network-session-cache-key): Use it as a prefix of the session
7885         name.
7886         (elmo-network-open-session): Ditto.
7887
7888         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7889         (elmo-imap4-status-callback-data): Ditto.
7890         (elmo-imap4-server-diff-async-callback): New variable.
7891         (elmo-imap4-server-diff-async-callback-data): Ditto.
7892         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7893         `elmo-imap4-status-callback-data'.
7894         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7895         `elmo-imap4-status-callback-data' as nil.
7896         (elmo-imap4-server-diff): Ditto.
7897         (elmo-imap4-server-diff-async-callback-1): New function.
7898         (elmo-imap4-server-diff-async): Ditto.
7899         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7900
7901 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
7902
7903         * elmo-util.el (elmo-list-delete): Doc fix.
7904         (elmo-delete-lists): Abolish.
7905         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7906         instead of `elmo-delete-lists'.
7907
7908 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
7909
7910         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7911         before `sort'.
7912
7913 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
7914
7915         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7916         `elmo-imap4-literal-subr'.
7917         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7918         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7919
7920 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7921
7922         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7923         (elmo-archive-list-folder): Fix.
7924         (elmo-archive-max-of-folder): Fix.
7925
7926 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
7927
7928         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7929          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7930         (elmo-localdir-append-msg): Ditto.
7931         (elmo-localdir-list-folder): Fix for `nonsort'.
7932         (elmo-localdir-list-folder-subr): Fix for `killed'.
7933         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7934         (elmo-maildir-list-folder-subr): Ditto.
7935         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7936         (elmo-archive-list-folder-subr): Ditto.
7937         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7938         (elmo-internal-list-folder-subr): Ditto.
7939
7940 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
7941
7942         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7943
7944 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
7945
7946         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7947
7948 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
7949
7950         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7951         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7952
7953         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7954         before greeting.
7955         (elmo-imap4-read-part): Use "body.peek" to fetch part.
7956         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7957
7958 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
7959
7960         * mmelmo-imap4-2.el (mime-entity-children): Defined.
7961
7962         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7963         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7964         before STORE command.
7965
7966 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
7967
7968         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7969
7970         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7971         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7972         of `response'.
7973         (elmo-imap4-list-folders): Removed unused local variable.
7974         (elmo-network-initialize-session): Ditto.
7975         (elmo-imap4-delete-msg-by-id): Ditto.
7976         (elmo-imap4-parse-fetch): Ditto.
7977         (elmo-imap4-copy-msgs): Ditto.
7978         Use `dst-spec' instead of `dst-folder'.
7979         (elmo-network-authenticate-session): Check authenticate type `plain'.
7980
7981 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
7982
7983         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7984         garbage checking.
7985         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7986         `elmo-imap4-response-value'.
7987         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7988
7989 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
7990
7991         * elmo-imap4.el (elmo-imap4-send-command):
7992         Cause elmo-imap4-bye-error when current response is BYE.
7993         (elmo-imap4-arrival-filter): Changed greeting response value.
7994
7995         * elmo2.el (elmo-imap4-bye-error): Define.
7996
7997         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7998         (elmo-imap4-server-diff): Ditto.
7999         (elmo-imap4-response-bye-p): New macro.
8000         (elmo-imap4-response-error-text): Get text from BYE response.
8001         (elmo-imap4-read-response): Return if BYE response.
8002         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8003         (elmo-imap4-folder-exists-p): Ditto.
8004         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8005         (elmo-imap4-parse-bye): New function.
8006         (elmo-imap4-parse-response): Remove needless let.
8007         Call `elmo-imap4-parse-bye'.
8008
8009 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8010
8011         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8012         the mailbox does not exist.
8013         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8014
8015 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8016
8017         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8018
8019 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8020
8021         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8022
8023         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8024         (elmo-network-initialize-session-buffer): Defined.
8025
8026         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8027         Abolished.
8028         (mmelmo-imap4-get-mime-entity): Rewrite.
8029
8030         * elmo2.el (elmo-error): Capitalize error message.
8031
8032         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8033         (elmo-network-session-buffer): New macro.
8034         (elmo-network-open-session): Use it.
8035
8036         * elmo-imap4.el: Rewrite.
8037
8038 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8039
8040         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8041
8042 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8043
8044         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8045         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8046         (elmo-imap4-create-msgdb-from-overview-string): Use
8047         `elmo-msgdb-create-overview-from-buffer'.
8048
8049 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8050
8051         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8052         (elmo-imap4-default-hierarchy-delimiter): New variable.
8053         (elmo-imap4-list-folders): Use it.
8054
8055 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8056
8057         * elmo-net.el (elmo-network-open-session): Add user and
8058         stream-type for process-buffer name.
8059
8060         * elmo-pop3.el (elmo-network-initialize-session): Call
8061         buffer-disable-undo.
8062
8063         * elmo-imap4.el (elmo-network-initialize-session):
8064         Set current-buffer as an argument for `buffer-disable-undo'.
8065
8066         * elmo-pop3.el (elmo-network-close-session): Don't use
8067         `process-live-p'.
8068
8069         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8070         Set default as 'user.
8071
8072         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8073
8074         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8075         and `elmo-imap4-flush-connection'.
8076
8077         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8078         (elmo-pop3-get-spec): Assume auth as symbol.
8079         (elmo-open-network-stream): Moved to `elmo-net'.
8080
8081         * elmo-pop3.el (toplevel): Require 'elmo-net.
8082         Define `sasl-cram-md5' to silence byte compilier.
8083         (elmo-pop3-connection-cache) Abolished.
8084         (elmo-pop3-authenticator-alist) New variable.
8085         (elmo-pop3-session): Define.
8086         (elmo-pop3-connection-get-process): Abolished.
8087         (elmo-pop3-connection-get-buffer): Ditto.
8088         (elmo-pop3-close-connection): Ditto.
8089         (elmo-pop3-flush-connection): Ditto.
8090         (elmo-pop3-get-connection): Ditto.
8091         (elmo-pop3-get-session): New function.
8092         (Replacement for `elmo-pop3-get-connection').
8093         All other related modules are changed.
8094         (elmo-network-close-session): Define.
8095         (elmo-pop3-send-command): Abolished argument `buffer'.
8096         All other related modules are changed.
8097         (elmo-pop3-read-response): Likewise.
8098         (elmo-pop3-open-connection): Abolished.
8099         (elmo-pop3-auth-user): New function.
8100         (elmo-pop3-auth-apop): Ditto.
8101         (elmo-pop3-auth-cram-md5): Ditto.
8102         (elmo-pop3-auth-scram-md5): Ditto.
8103         (elmo-pop3-auth-digest-md5): Ditto.
8104         (elmo-network-initialize-session): Define.
8105         (elmo-network-authenticate-session): Ditto.
8106         (elmo-network-setup-session): Ditto.
8107
8108         * elmo-imap4.el (toplevel): Require 'elmo-net.
8109         (elmo-imap4-session): Define.
8110         (elmo-imap4-connection-cache): Abolished.
8111         (elmo-imap4-password-key): Ditto.
8112         (elmo-imap4-flush-connection): Ditto.
8113         (elmo-imap4-get-connection): Ditto.
8114         All other related modules are changed.
8115         (elmo-imap4-get-session): New function
8116         (Replacement for `elmo-imap4-get-connection').
8117         (elmo-imap4-read-response): Abolished argument `buffer'.
8118         All other related modules are changed.
8119         (elmo-imap4-send-command): Likewise.
8120         (elmo-imap4-select-folder): Abolished.
8121         All other related modules are changed.
8122         (elmo-imap4-select-mailbox): New function.
8123         (Replacement for `elmo-imap4-select-folder').
8124         (elmo-imap4-auth-login): Simplify.
8125         (Assume current buffer as process buffer)
8126         (elmo-imap4-auth-cram-md5): Ditto.
8127         (elmo-imap4-auth-digest-md5): Ditto.
8128         (elmo-imap4-login): Ditto.
8129         (elmo-imap4-open-connection): Abolished.
8130         (elmo-imap4-open-connection-1): Abolished.
8131         (elmo-network-initialize-sessoin): Define.
8132         (elmo-network-authenticate-session): Ditto.
8133         (elmo-network-setup-session): Ditto.
8134
8135         * elmo-net.el: New module.
8136
8137 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8138
8139         * elmo-util.el (elmo-define-error): New function.
8140
8141         * elmo2.el (elmo-error): Define.
8142         (elmo-open-error): Define.
8143         (elmo-authenticate-error): Define.
8144
8145         * elmo-imap4.el (elmo-imap4-error): Abolish.
8146         (elmo-imap4-error-type): Abolish.
8147         (elmo-imap4-error-process): Abolish.
8148         (elmo-imap4-error-message): Abolish
8149         (elmo-imap4-list-folders): Don't quote lambda.
8150         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8151         (elmo-imap4-parse-namespace): Ditto.
8152         (elmo-imap4-open-connection): Rewrite.
8153         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8154         (elmo-imap4-get-connection): Abolish local variable `result'.
8155
8156 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8157
8158         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8159         wrong-type-argument error when auth is nil.
8160
8161 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8162
8163         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8164         (elmo-default-nntp-stream-type): Ditto.
8165         (elmo-default-pop3-stream-type): Ditto.
8166         (elmo-network-stream-type-alist): Ditto.
8167         (elmo-default-imap4-ssl): Abolished.
8168         (elmo-default-nntp-ssl): Ditto.
8169         (elmo-default-pop3-ssl): Ditto.
8170
8171         * elmo-util.el: (toplevel): Removed needless requires.
8172         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8173         (elmo-open-network-stream): Open network stream according to
8174         the value of `elmo-network-stream-type-alist'.
8175         (elmo-get-network-stream-type): New function.
8176         (elmo-network-stream-type-spec-string): New macro.
8177         (elmo-network-stream-type-symbol): Ditto.
8178         (elmo-network-stream-type-function): Ditto.
8179
8180         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8181         network-stream-type. All other related portions are changed.
8182         (elmo-pop3-open-connection): Ditto.
8183
8184         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8185         network-stream-type. All other related portions are changed.
8186
8187         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8188         network-stream-type.All other related portions are changed.
8189         (elmo-imap4-error): New macro.
8190         (elmo-imap4-error-type): Ditto.
8191         (elmo-imap4-error-process): Ditto.
8192         (elmo-imap4-error-message): Ditto.
8193         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8194         (elmo-imap4-auth-cram-md5): Ditto.
8195         (elmo-imap4-auth-digest-md5): Ditto.
8196         (elmo-imap4-login): Ditto.
8197         (elmo-imap4-open-connection): Remove password entry if authentication
8198         was in vain.
8199         (elmo-imap4-user-at-host): Abolished.
8200         (elmo-imap4-password-key): New buffer local variable.
8201         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8202         using protocol, port, auth and stream-type.
8203
8204         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8205
8206 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8207
8208         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8209
8210         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8211
8212         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8213         (elmo-imap4-authenticator-alist): New variable.
8214         (elmo-imap4-open-connection-1): Rename from
8215         elmo-imap4-open-connection.
8216         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8217         only wraps elmo-imap4-open-connection-1.
8218         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8219         user-at-host.
8220         (elmo-imap4-auth-login): New function.
8221         (elmo-imap4-auth-cram-md5): New function.
8222         (elmo-imap4-auth-digest-md5): New function.
8223         (elmo-imap4-login): New function.
8224
8225 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8226
8227         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8228         function `error'.
8229
8230 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8231
8232         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8233
8234 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8235
8236         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8237
8238 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8239
8240         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8241         for server responses, quote `*' regardless of where it appears.
8242
8243 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8244
8245         * elmo-maildir.el (elmo-maildir-commit): New alias.
8246
8247 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8248
8249         * elmo-util.el (elmo-display-progress):
8250                 Use `progress-feedback-with-label'.
8251
8252 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8253
8254         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8255         (elmo-imap4-non-atom-char-regex): Ditto.
8256         (elmo-imap4-non-text-char-regex): Ditto.
8257         (elmo-imap4-literal-threshold): Ditto.
8258         (elmo-imap4-atom-p): New function.
8259         (elmo-imap4-quotable-p): Ditto.
8260         (elmo-imap4-nil): Ditto.
8261         (elmo-imap4-atom): Ditto.
8262         (elmo-imap4-quoted): Ditto.
8263         (elmo-imap4-literal-subr): Ditto.
8264         (elmo-imap4-literal): Ditto.
8265         (elmo-imap4-buffer-literal): Ditto.
8266         (elmo-imap4-string-subr): Ditto.
8267         (elmo-imap4-string): Ditto.
8268         (elmo-imap4-buffer-string): Ditto.
8269         (elmo-imap4-astring-subr): Ditto.
8270         (elmo-imap4-astring): Ditto.
8271         (elmo-imap4-buffer-astring): Ditto.
8272         (elmo-imap4-nstring): Ditto.
8273         (elmo-imap4-buffer-nstring): Ditto.
8274         (elmo-imap4-mailbox): New alias.
8275         (elmo-imap4-field-body): Ditto.
8276         (elmo-imap4-userid): Ditto.
8277         (elmo-imap4-password): Ditto.
8278         (elmo-imap4-format-quoted): New function.
8279         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8280         arguments and handle "atom", "quoted" and "literal" string here.
8281         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8282         `elmo-imap4-send-command'.
8283         (elmo-imap4-folder-exists-p): Likewise.
8284         (elmo-imap4-create-folder): Likewise.
8285         (elmo-imap4-delete-folder): Likewise.
8286         (elmo-imap4-rename-folder): Likewise.
8287         (elmo-imap4-max-of-folder): Likewise.
8288         (elmo-imap4-check-validity): Likewise.
8289         (elmo-imap4-sync-validity): Likewise.
8290         (elmo-imap4-server-diff): Likewise.
8291         (elmo-imap4-select-folder): Likewise.
8292         (elmo-imap4-copy-msgs): Likewise.
8293         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8294         (elmo-imap4-mark-set-on-msgs): Likewise.
8295         (elmo-imap4-read-part): Likewise.
8296         (elmo-imap4-read-msg): Likewise.
8297         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8298         `elmo-imap4-password' for `elmo-imap4-send-command'.
8299         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8300         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8301         `elmo-imap4-buffer-literal'.
8302         (elmo-imap4-append-msg): Likewise.
8303
8304         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8305         `delete' for removing dead connection from the connection cache.
8306         Move deletion of the process buffer after that.
8307         (elmo-imap4-list): Change `defsubst' to `defun'.
8308         (elmo-imap4-commit): Make error message verbose.
8309         (elmo-imap4-search): Ditto.
8310         (elmo-imap4-list): Ditto.
8311         (elmo-imap4-select-folder): Ditto.
8312         (elmo-imap4-copy-msgs): Ditto.
8313         (elmo-imap4-delete-msg-by-id): Ditto.
8314         (elmo-imap4-append-msg-by-id): Ditto.
8315         (elmo-imap4-append-msg): Ditto.
8316
8317 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8318
8319         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8320         when dired is used on XEmacs.
8321
8322 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8323
8324         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8325         instead of `append'.
8326         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8327         `elmo-plugged-p' directly.
8328         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8329         of `elmo-plugged-p' directly.
8330
8331         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8332         Eliminate unused variable.  Use `memq' for checking a process status.
8333         Use `cons' instead of `append' for updating the connection cache.
8334         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8335         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8336
8337 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8338
8339         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8340         `elmo-imap4-read-point' exactly.
8341
8342         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8343         the local variable `folder' to `mailbox'.
8344         Rename the argument `fld' to `folder'.
8345
8346 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8347
8348         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8349         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8350
8351 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8352
8353         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8354         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8355         (elmo-pop3-uidl-number-hash): Ditto.
8356         (elmo-pop3-size-hash): Ditto.
8357         (elmo-pop3-uidl-done): Ditto.
8358         (elmo-pop3-list-done): Ditto.
8359         (elmo-pop3-connection-get-process): New defmacro.
8360         (elmo-pop3-connection-get-buffer): Ditto.
8361         (elmo-pop3-close-connection): Delete buffer and process.
8362         (elmo-pop3-flush-connection): Don't delete buffer and process.
8363         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8364         Setup UIDL and size hash.
8365         (elmo-pop3-send-command-no-erase): Deleted
8366         (elmo-pop3-send-command): Added optional argument `no-erase'.
8367         (elmo-pop3-parse-uidl-response): New function.
8368         (elmo-pop3-parse-list-response): Set size hash.
8369         (elmo-pop3-list-location): New function.
8370         (elmo-pop3-list-by-uidl-subr): Ditto.
8371         (elmo-pop3-list-by-list): Ditto.
8372         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8373         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8374         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8375         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8376         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8377         Use uidl.
8378         (elmo-pop3-uidl-to-number): New function.
8379         (elmo-pop3-number-to-uidl): Ditto.
8380         (elmo-pop3-number-to-size): Ditto.
8381         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8382         Set number by use of uidl.
8383         (elmo-pop3-msgdb-create-message): Likewise.
8384         Set size, loc-alist in msgdb.
8385         (elmo-pop3-read-msg): Set number by use of uidl.
8386         Added optional argument `msgdb'.
8387         (elmo-pop3-delete-msg): Ditto.
8388         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8389         (elmo-pop3-commit): Close connection.
8390
8391         * elmo-pipe.el (elmo-pipe-max-of-folder):
8392         Bind `elmo-pop3-use-uidl' as nil.
8393         (elmo-pipe-drain): Ditto.
8394         Call `elmo-commit'.
8395
8396         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8397         (elmo-msgdb-overview-entity-set-size): New defsubst.
8398
8399 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8400
8401         * elmo-vars.el (elmo-use-killed-list): New variable
8402         (Renamed from `elmo-nntp-use-killed-list').
8403         (elmo-nntp-use-killed-list): Eliminated.
8404
8405         * elmo-msgdb.el (elmo-msgdb-expand-path):
8406         Changed expanding msgdb path for elmo-multi.
8407
8408         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8409         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8410         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8411         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8412         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8413         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8414         (toplevel): Deleted time-stamp line.
8415
8416         * elmo2.el (elmo-clear-killed ): Defined as function
8417         (Abolished defining as a backend function).
8418         All other related modules are changed.
8419
8420 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8421
8422         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8423
8424 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8425
8426         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8427
8428 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8429
8430         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8431
8432 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8433
8434         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8435         asynchronous folder check.
8436
8437         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8438
8439         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8440         `elmo-nntp-use-killed-list'.
8441         (elmo-nntp-list-folder): Use killed list.
8442         (elmo-nntp-max-of-folder): Ditto.
8443         (elmo-nntp-msgdb-create): Set killed list.
8444
8445         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8446
8447         * elmo2.el (elmo-clear-killed): New backend function.
8448         All other related modules are changed.
8449
8450 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8451
8452         * elmo-util.el (elmo-imap4-spec-folder): Use
8453         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8454         All callers changed.
8455
8456 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8457
8458         * mmelmo-2.el (initialize-instance):
8459         Use `mime-buffer-entity-buffer-internal' instead of
8460         `mime-entity-buffer'.
8461
8462         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8463         (mime-entity-body): Implemented.
8464         (mime-goto-header-start-point): Deleted.
8465         (mime-goto-body-end-point): Ditto.
8466         (mime-entity-point-min): Ditto.
8467         (mime-entity-point-max): Ditto.
8468         (mime-entity-children): Ditto.
8469         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8470         instead of `mime-entity-buffer'.
8471         (mime-entity-header-buffer): Ditto.
8472         (mime-entity-body-buffer): Ditto.
8473         (mime-write-entity-content): Ditto.
8474
8475         * pldap.el (ldap-static-if): New macro.
8476         (toplevel): Use it instead of `static-if'.
8477
8478 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8479
8480         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8481         included in `attrs' argument.
8482
8483 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8484
8485         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8486
8487         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8488         (ldap-ldif-safe-init-char-regexp): Ditto.
8489         (ldap-ldif-safe-string-regexp): Ditto.
8490         (ldap/ldif-safe-string-p): New macro.
8491         (ldap/ldif-insert-field): Ditto.
8492         (ldap-modify): Use it.
8493         (ldap-add): Ditto.
8494         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8495         (ldap-decode-attribute): Decode only when `attr' is consp.
8496         (ldap-delete): Bind `ret'.
8497         (toplevel): Require 'cl at compile time.
8498         Removed (require 'poe) and (require 'std11).
8499         (pldap-version): Eliminated.
8500         (ldap-search-basic): Removed auth and dn binding.
8501         (ldap-ldif-field-name-regexp): New constant.
8502         (ldap-ldif-field-head-regexp): Ditto.
8503         (ldap-ldif-next-field-head-regexp): Ditto.
8504         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8505         (ldap/field-end): New function.
8506         (ldap/field-body): Use it.
8507         (ldap/collect-field): Ditto.
8508         (ldap-search-basic): Use `ldap/field-body'.
8509
8510 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8511
8512         * pldap.el (ldap-default-attribute-encoder): New user option.
8513         (ldap/field-body): Decode base64 string.
8514         (ldap/collect-field): Ditto.
8515         (ldap-encode-attribute): New function.
8516         (ldap-add-entries): Use it.
8517         (ldap-modify-entries): Ditto.
8518         (ldap-search-entries): Enclosed decoding function with
8519         `with-temp-buffer' and set as unibyte.
8520         (ldap-search-basic): Set process buffer as unibyte.
8521
8522         * elmo-util.el (elmo-folder-identical-system-p):
8523         Eliminated name space checking.
8524
8525         * pldap.el: New module.
8526         toplevel: Changed condition to detect built-in ldap feature.
8527         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8528         (ldap-add): Added error handling.
8529         (ldap-modify): Ditto.
8530         (ldap-delete): Ditto.
8531
8532 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8533
8534         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8535         Initialize local variables with `let'.  Inline a temporary
8536         variable for the progress percentage.  Sort `setq' to reduce
8537         function call in the while-loop.
8538
8539         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8540         into the conditional branch.
8541
8542 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8543
8544         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8545         Move a conditional out of the while-loop.
8546
8547 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8548
8549         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8550         elmo-msgdb-overview-get-entity-by-number.
8551         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8552         throw.
8553
8554 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8555
8556         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8557         the local variable for a packed number self descriptively.
8558
8559 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8560
8561         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8562         * elmo-localdir.el (elmo-localdir-pack-number): Use
8563         `elmo-msgdb-overview-get-entity' instead of
8564         `elmo-msgdb-overview-get-entity-by-number'.
8565         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8566         (elmo-msgdb-search-overview-entity): Removed.
8567         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8568         by message-id or number.
8569         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8570         instead of `elmo-msgdb-overview-get-entity-by-number'.
8571
8572 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8573
8574         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8575         non-nil, use hash table for overview.
8576         (elmo-hash-maximum-size): New variable.
8577         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8578         (elmo-msgdb-make-overview-hashtb): New function.
8579         (elmo-msgdb-clear-overview-hashtb): New function.
8580         (elmo-clear-hash-val): New macro.
8581         All other related modules are changed.
8582
8583 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8584
8585         * elmo2.el (elmo-move-msgs): If there's other message with
8586         same message-id, don't use cache.
8587
8588 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8589
8590         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8591         number is already packed.
8592
8593 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8594
8595         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8596
8597 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8598
8599         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8600         All other related modules are changed.
8601
8602 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8603
8604         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8605         of refiling failure on Maildir.
8606
8607 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8608
8609         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8610         decoded mime-charset with cache.
8611         (elmo-msgdb-overview-entity-get-from): Ditto.
8612         (elmo-msgdb-overview-entity-get-subject): Ditto.
8613         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8614
8615 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8616
8617         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8618         (elmo-remove-passwd): Fill password with 0 before erase.
8619         * elmo-vars.el (elmo-passwd-life-time): New variable.
8620
8621 \f
8622 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8623
8624         * elmo-cache.el (elmo-buffer-cache-add):
8625         Set message cache buffer as unibyte.
8626
8627 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8628
8629         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8630         become nil.
8631
8632 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8633
8634         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8635         when display is finished.
8636         (elmo-nntp-msgdb-create): Ditto.
8637         (elmo-nntp-groups-read-response): Ditto.
8638         (elmo-nntp-retrieve-headers): Ditto.
8639         (elmo-nntp-msgdb-create-message): Ditto.
8640         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8641         (elmo-pop3-msgdb-create-message): Ditto.
8642
8643 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8644
8645         * elmo-maildir.el (elmo-maildir-msgdb-create):
8646         Use `elmo-msgdb-sort-by-date'.
8647
8648 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8649
8650         * elmo2.el (elmo-read-msg-no-cache):
8651         Eliminated arguments after `outbuf'.
8652         Don't use cache even if it exists.
8653         (elmo-read-msg): Don't pass arguments after `outbuf' to
8654         `elmo-read-msg-no-cache'.
8655
8656 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8657
8658         * elmo-archive.el (elmo-archive-list-folders):
8659         Use `file-name-directory' if base folder does not exist.
8660
8661 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8662
8663         * elmo-archive.el (elmo-archive-list-folders): Don't use
8664         `file-name-directory'.
8665
8666 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8667
8668         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8669         If `force' is non-nil, try flushing all operation queues.
8670
8671 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8672
8673         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8674         as-binary-process.
8675
8676 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8677
8678         * elmo-util.el (elmo-display-progress): Fixed.
8679
8680 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8681
8682         * elmo-util.el (elmo-display-progress): New function.
8683         All other related modules are changed.