(elmo-folder-delete-messages): Define.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-search.el (elmo-folder-delete-messages): Define.
4
5 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6
7         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
8         customization type.
9         (elmo-mailing-list-count-spec-list): Ditto.
10
11         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
12         for `list-id'.
13
14 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
15
16         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
17         handling.
18
19 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
20
21         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
22         (elmo-mailing-list-count-spec-list): Ditto.
23
24         * elmo-util.el (elmo-map-until-success): New function.
25         (elmo-string-match-substring): Ditto.
26         (elmo-find-list-match-value): Ditto.
27
28         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
29         Removed.
30         (modb-entity-extract-ml-info-from-subject): Ditto.
31         (modb-entity-extract-ml-info-from-return-path): Ditto.
32         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
33         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
34         (modb-entity-extract-ml-info-from-mailman): Ditto.
35         (modb-entity-extract-mailing-list-info-functions): Ditto.
36         (modb-entity-extract-mailing-list-info): Rewrite with
37         `elmo-find-list-match-value'.
38
39 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
40
41         * elmo-net.el (elmo-network-session-retry-count): New user option.
42         (elmo-network-session-buffer-name): New internal function.
43         (elmo-network-session-buffer-create): Ditto.
44         (elmo-network-open-session): Retry open network session
45         `elmo-network-session-retry-count' times.
46
47 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
48
49         * elmo-util.el (elmo-list-filter): Rewritten.
50
51 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
52
53         * elmo-util.el (elmo-string-member): Allow symbol element in list.
54
55 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
56
57         * elmo-search.el (elmo-make-search-engine): Use prefix
58         `elmo-search-' for require symbol instead of `else-'.
59         (elmo-search-engine-extprog): New class.
60         (elmo-search-engine-do-search): Remove nil from argument
61         list. Added argument pattern to evaluate element as function.
62         (elmo-search-engine-local-file): Derived from
63         `elmo-search-engine-extprog'.
64         (elmo-search-engine-create-message-entity): Check existance of file.
65         (elmo-search-engine-fetch-message): Ditto.
66         (elmo-search-namazu-index): Follow the API change.
67         (elmo-search-grep-target): Ditto.
68
69 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
70
71         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
72         characters of working buffer.
73
74         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
75         Does not bind `default-mime-charset'.
76         (elmo-msgdb-create-message-entity-from-buffer): Removed
77         unnecessary local bind.
78
79         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
80         function.
81         (modb-entity-extract-mailing-list-info-functions): Added it.
82
83 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
84
85         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
86         when number and message-id are non-nil.
87
88         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
89
90         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
91         conditional steatment.
92         (elmo-pop3-auth-apop): Likewise.
93         (elmo-network-authenticate-session): Likewise.
94
95 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
96
97         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
98         symbol `fill-column'.
99         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
100         decode field value.
101
102         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
103         (elmo-decoded-field-body): Ditto.
104
105 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
106
107         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
108         `tokens' to `params'.
109
110 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
111
112         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
113         working buffer.
114
115 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
116
117         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
118         decide index.
119
120 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
121
122         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
123         Set default value as nil.
124         (toplevel): Register search engines by
125         `elmo-search-register-engine' if there are not defined.
126
127         * elmo.el (autoload): Added autoload setting for
128         `elmo-search-register-engine'.
129
130 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
131
132         * elmo.el (toplevel): `[' is redefined as the prefix of the search
133         folder instead of nmz folder.
134         (elmo-nmz-default-index-path): Added obsolete variable setting.
135         (elmo-nmz-index-alias-alist): Ditto.
136         (elmo-nmz-use-drive-letter): Ditto.
137
138         * elmo-search.el (elmo-search-register-engine): New function.
139
140         * elmo-nmz.el: Removed.
141
142         * elmo-version.el (elmo-version): Up to 2.15.2.
143
144 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
145
146         * elmo-search.el: New file.
147
148 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
149
150         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
151         condition `larger' and `smaller'.
152
153 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
154
155         * elmo-util.el (elmo-safe-filename): Rewrite to replace
156         `"' (double quote) into "_Q_".
157
158 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
159
160         * elmo-net.el (elmo-net-quote-chars): Abolish.
161         (elmo-net-format-quoted): Ditto.
162
163 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
164
165         * elmo.el (elmo-get-folder-function): New variable.
166         (elmo-get-folder): New function.
167         (elmo-folder-rename): Call `elmo-make-folder' with specified
168         mime-charset.
169
170         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
171         `elmo-make-folder'.
172         (elmo-split-subr): Ditto.
173
174         * elmo-multi.el (elmo-folder-initialize): Ditto.
175
176         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
177
178         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
179         (elmo-flag-get-folder): Ditto.
180
181         * elmo-filter.el (elmo-folder-initialize): Ditto.
182
183         * elmo-access.el (elmo-folder-initialize): Ditto.
184         (elmo-access-folder-update-children): Ditto.
185
186         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
187         (elmo-dop-queue-flush): Ditto.
188         (elmo-folder-append-buffer-dop-delayed): Ditto.
189         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
190         mime-charset.
191
192         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
193         instead of `elmo-make-folder'.
194         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
195         destination folder instead of send `elmo-folder-rename-internal'.
196
197         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
198         slot of subfolder instead of create it.
199
200 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-util.el (elmo-collect-separators): New function.
203         (elmo-collect-separators-internal): Ditto.
204         (elmo-collect-trail-separators): Ditto.
205         (elmo-parse-separated-tokens): Ditto.
206         (elmo-parse-separated-tokens-internal): Ditto.
207         (elmo-quote-syntactical-element): Ditto.
208
209         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
210         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
211
212         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
213         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
214         (elmo-nntp-folder-list-subfolders): Quote a user name.
215
216         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
217         (elmo-net-parse-network): Abolish.
218         (elmo-net-folder-set-parameters): New function.
219         (elmo-folder-initialize): Follow the above change.
220
221         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
222         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
223         (elmo-folder-list-subfolders): Use
224         `elmo-quote-syntactical-element' instead of
225         `elmo-net-format-quoted' to quote mailbox and user name.
226
227 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
228
229         * elmo-util.el (elmo-token-valid-p): New function.
230         (elmo-parse-token): Add optional argument `requirement'.
231         (elmo-parse-prefixed-element): Likewise.
232
233         * elmo-net.el (elmo-net-quote-chars): Renamed from
234         `elmo-net-quote-chars-regexp'.
235         (elmo-net-format-quoted): Add optional argument `extra-chars'.
236
237         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
238         by info document. Check token `uidl' is started an alphabet.
239
240         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
241         by info document. Check token `user' is started an alphabet.
242
243         * elmo-imap4.el (elmo-folder-initialize): Ditto.
244         (elmo-folder-list-subfolders): Quote user.
245
246 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
247
248         * elmo-util.el (elmo-quoted-specials-list): New constant.
249         (elmo-quoted-token): New function.
250
251         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
252         (elmo-net-format-quoted): New function.
253         (elmo-net-parse-network): Ditto.
254         (elmo-folder-initialize): Use it.
255
256         * elmo-nntp.el (elmo-folder-initialize): Use
257         `elmo-net-parse-network' to parse network specification instead of
258         `elmo-folder-initialize#elmo-net'.
259
260         * elmo-pop3.el (elmo-folder-initialize): Ditto.
261
262         * elmo-imap4.el (elmo-folder-initialize): Ditto.
263         (elmo-folder-list-subfolders): Quote folder name by
264         `elmo-net-format-quoted'.
265
266 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
267
268         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
269         (elmo-folder-search): Use it.
270
271 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
272
273         * modb-standard.el (modb-standard-loaded-message-id): Use
274         `elmo-msgdb-message-entity-field'.
275
276 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
277
278         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
279         without filename.
280
281 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
282
283         * elmo-util.el (elmo-set-auto-coding): New function.
284         (elmo-object-load): Use it.
285
286 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
289         (elmo-time<): Define as alias of `elmo-time-less-p'.
290         (elmo-time-to-datevec): New function.
291
292         * elmo-date.el (elmo-time-to-days): New function.
293
294 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
295
296         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
297         is not cons cell.
298
299 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
300
301         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
302         parenthesis.
303
304         * elmo-util.el (elmo-map-recursive): New function.
305
306         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
307         (modb-entity-encode-string-recursive): Ditto.
308
309 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
310
311         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
312         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
313         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
314         compare sequence number when last modified time is nil.
315
316 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
317
318         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
319
320         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
321
322 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
323
324         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
325         modification time of the file.
326
327 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
328
329         * elmo-util.el (elmo-condition-optimize): Discriminated against
330         preserved fields, extra fields and the other weight.
331
332 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
333
334         * modb-entity.el (initialize-instance): Define.
335         (modb-entity-handler-mime-charset): New internal function.
336         (modb-standard-entity-set-field): Use it.
337         (elmo-msgdb-message-entity-field): Ditto.
338         (elmo-msgdb-message-entity-field): Ditto.
339
340         * modb.el (elmo-msgdb-match-condition): Rewrite with
341         `elmo-condition-match'.
342         (elmo-msgdb-match-condition-primitive): New function.
343
344         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
345         arguments `flags' and `numbers'.
346         (elmo-msgdb-match-condition-primitive): Abolished (merged to
347         `elmo-msgdb-message-match-condition').
348         (modb-buffer-entity-handler): New class.
349
350         * elmo.el (elmo-folder-search): Optimize condition to use
351         `elmo-condition-optimize'.
352         (elmo-message-buffer-match-condition): New function.
353         (elmo-message-match-condition): Use
354         `elmo-message-buffer-match-condition' instead of
355         `elmo-buffer-field-condition-match'.
356
357         * elmo-util.el (elmo-condition-match): New function.
358         (elmo-condition-optimize): Ditto.
359         (elmo-buffer-field-primitive-condition-match): Abolish.
360         (elmo-buffer-field-condition-match): Ditto.
361
362         * elmo-archive.el (elmo-archive-field-condition-match): Use
363         `elmo-message-buffer-match-condition' instead of
364         `elmo-buffer-field-condition-match'.
365
366 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
367
368         * elmo-flag.el (elmo-global-flags-initialize): Check the
369         existence of the flag directory.
370
371 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
372
373         * elmo-access.el (elmo-folder-initialize): Call
374         `elmo-multi-connect-signals'.
375
376         * elmo-pipe.el (elmo-folder-close): Define.
377
378         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
379         children folders.
380
381         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
382         with target folder.
383
384         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
385         `number'.
386
387         * elmo-multi.el (elmo-message-entity): Don't use return value of
388         `elmo-message-entity-set-number'.
389
390 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
391
392         * modb.el (modb-generic): Added slot `mime-charset'.
393
394         * modb-standard.el (modb-standard): Added slot `overview-handler'.
395         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
396         and `modb-entity-handler-dump-parameters'.
397         (modb-standard-default-entity-handler): Abolish.
398         (elmo-msgdb-message-entity-handler): Save created handler by
399         instance slot.
400
401         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
402         (modb-entity-handler-list-parameters): New method.
403         (modb-entity-handler-equal-p): New function.
404         (modb-entity-handler-dump-parameters): Ditto.
405         (modb-entity-parse-address-string): Encode return value.
406         (modb-entity-make-address-string): Decode argument value.
407         (modb-entity-decode-string-recursive): New function.
408         (modb-entity-encode-string-recursive): Ditto.
409         (modb-standard-entity-normalizer): Set to encode field value.
410         (modb-standard-entity-specializer): Follow the above change.
411         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
412         mime-charset of handler.
413         (elmo-msgdb-message-entity-field): Ditto.
414         (elmo-msgdb-copy-message-entity): Fixed reference to internal
415         structure.
416         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
417
418         * elmo.el (elmo-folder): Added slot `mime-charset'.
419         (elmo-make-folder): Added argument `mime-charset'.
420         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
421         `mime-charest'.
422
423         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
424         (elmo-make-msgdb): Likewise.
425
426         * elmo-internal.el (elmo-internal-folder-initialize): Call
427         `luna-make-entity' with :mime-charset parameter.
428
429 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
430
431         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
432         encoded words in `from' and `subject' field.
433
434 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
435
436         * modb.el (elmo-msgdb-message-field): Add argument `type'.
437         (elmo-msgdb-match-condition): Get handler from entity instead of
438         msgdb.
439
440         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
441         (modb-standard-load-entity): Treat new file format.
442         (modb-standard-save-entity-1): Save as new file format.
443         (modb-standard-save-entity): Split messages into section here.
444         (elmo-msgdb-message-field): Follow the API change.
445         (modb-standard-default-entity-handler): New internal variable.
446         (elmo-msgdb-message-entity-handler): Define.
447
448         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
449         to `elmo-vars.el'.
450         (modb-entity-field-extractor-alist): New user option.
451         (elmo-msgdb-message-entity-field): Removed argument `decode' and
452         added argument `type'.
453         (elmo-msgdb-copy-message-entity): Add optional argument
454         `make-handler'.
455         (modb-set-field-converter): New function.
456         (modb-convert-field-value): Ditto.
457         (modb-entity-string-decoder): Ditto.
458         (modb-entity-string-encoder): Ditto.
459         (modb-entity-parse-date-string): Ditto.
460         (modb-entity-make-date-string): Ditto.
461         (modb-entity-mime-decoder): Ditto.
462         (modb-entity-mime-encoder): Ditto.
463         (modb-entity-address-list-decoder): Ditto.
464         (modb-entity-address-list-encoder): Ditto.
465         (modb-entity-parse-address-string): Ditto.
466         (modb-entity-make-address-string): Ditto.
467         (modb-entity-create-field-indices): Ditto.
468         (modb-legacy-entity-field-slots): New constant.
469         (modb-legacy-entity-field-indices): Ditto.
470         (modb-legacy-entity-normalizer): New variable.
471         (modb-legacy-entity-specializer): Ditto.
472         (modb-legacy-entity-field-index): New macro.
473         (modb-legacy-entity-set-field): New function.
474         (modb-legacy-make-message-entity): Rewrite.
475         (elmo-msgdb-create-message-entity-from-buffer): Use
476         `elmo-msgdb-get-references-from-buffer'. Use
477         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
478         Use `modb-legacy-entity-set-field' instead of
479         `elmo-msgdb-message-entity-set-field'.
480         (elmo-msgdb-message-entity-field): Rewrite.
481         (elmo-msgdb-message-entity-set-field): Ditto.
482         (elmo-msgdb-copy-message-entity): Make new entity by
483         `make-handler' if it specified.
484         (elmo-msgdb-message-match-condition): Define a method of
485         `modb-entity-handler' and follow the API change.
486         (modb-standard-entity-handler): New class.
487         (modb-entity-extract-ml-info-from-x-sequence): New function.
488         (modb-entity-extract-ml-info-from-subject): Ditto.
489         (modb-entity-extract-ml-info-from-return-path): Ditto.
490         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
491         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
492         (modb-entity-extract-mailing-list-info): Ditto.
493         (modb-entity-extract-mailing-list-info-functions): New variable.
494
495         * elmo.el (elmo-message-field): Add optional argument `type'.
496
497         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
498         from `modb-entity.el'.
499
500         * elmo-util.el (elmo-object-load): Decode by coding-system from
501         `set-auto-coding-function'.
502         (elmo-object-save): Use `detect-mime-charset-region' and add
503         coding cookie if encode.
504         (elmo-msgdb-get-references-from-buffer): New function.
505         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
506
507         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
508
509         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
510         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
511         instead of `shimbun-make-header' and follow the API change.
512         (elmo-shimbun-update-overview): Follow the API change.
513         (elmo-map-folder-list-message-locations): Ditto.
514
515         * elmo-pipe.el (elmo-message-field): Ditto.
516
517         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
518         Ditto.
519
520         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
521
522         * elmo-multi.el (elmo-message-field): Ditto.
523
524         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
525         (elmo-msgdb-sort-by-date): Ditto.
526         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
527         `elmo-message-entity-field'.
528         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
529         change.
530         (elmo-msgdb-overview-entity-get-from): Ditto.
531         (elmo-msgdb-overview-entity-get-subject): Ditto.
532         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
533         (elmo-msgdb-overview-entity-get-date): Ditto.
534         (elmo-msgdb-overview-entity-get-to): Ditto.
535         (elmo-msgdb-overview-entity-get-cc): Ditto.
536
537         * elmo-mime.el (elmo-message-mime-entity): Ditto.
538         (elmo-mime-collect-message/partial-pieces): Ditto.
539
540         * elmo-filter.el (elmo-message-field): Ditto.
541
542         * elmo-date.el (elmo-datevec-to-time): New function.
543         (elmo-time-parse-date-string): Ditto.
544         (elmo-time-make-date-string): Ditto.
545         (elmo-time<): Ditto.
546
547         * elmo-version.el (elmo-version): Up to 2.15.1.
548
549 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
550
551         * elmo-flag.el (elmo-global-flags-initialize): Don't include
552         member of elmo-local-flags.
553
554 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
555
556         * elmo-version.el (elmo-version): Up to 2.15.0.
557
558 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
559
560         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
561         `ignore-msgdb' is non-nil.
562
563 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
564
565         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
566         (elmo-condition-in-msgdb-p): Ditto.
567         (elmo-file-field-primitive-condition-match): Ditto.
568         (elmo-file-field-condition-match): Ditto.
569
570         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
571
572 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
575         subdirectories here.
576         (elmo-global-flags-initialize): New function.
577
578         * elmo.el (toplevel): Added autoload setting for
579         `elmo-global-flags-initialize'.
580
581 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
582
583         * elmo.el (message-number-changed): Define new signal.
584         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
585         message-number-changed signal.
586         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
587         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
588         Respect `elmo-pack-number-check-strict'.
589
590 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
591
592         * elmo-signal.el (elmo-connect-signal): Document.
593         (elmo-emit-signal): Ditto.
594         (elmo-emit-signal): It should pass source argument to filter and
595         handler, not slot-source.
596
597 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
598
599         * modb.el (elmo-msgdb-update-entity): New API and define generic
600         implement.
601
602         * modb-standard.el (elmo-msgdb-update-entity): Define.
603
604         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
605         API and define generic implement.
606
607         * elmo.el (update-overview): New singnal.
608
609         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
610         `elmo-msgdb-update-entity' and emit signal `update-overview'.
611         (elmo-message-entity-parent): Define.
612
613         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
614         `update-overview'.
615
616         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
617
618         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
619
620 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
621
622         * elmo.el (elmo-folder-synchronize): Sort the return value of
623         `elmo-list-diff'.
624
625         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
626         list.
627
628 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
629
630         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
631         `default-enable-multibyte-characters'.
632         (elmo-object-load): Use `with-temp-buffer' instead of
633         `elmo-set-work-buf'.
634         (elmo-object-save): Ditto.
635         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
636         `elmo-set-work-buf'.
637         (elmo-decoded-field-body): Ditto.
638
639         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
640
641         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
642         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
643
644         * elmo-version.el (elmo-version): Up to 2.13.3.
645
646 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
647
648         * elmo-util.el (elmo-list-diff): Fix the last change.
649         Reverse order of result lists.
650
651 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
652
653         * modb-standard.el (elmo-msgdb-set-flag): Use
654         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
655         (elmo-msgdb-unset-flag): Ditto.
656
657         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
658         `elmo-list-diff'.
659
660         * elmo-util.el (elmo-list-diff): Rewrite.
661         (elmo-list-diff-nonsortable): New function.
662
663 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
664
665         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
666         `elmo-multibypte-buffer-name'.  All referers are updated.
667
668 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
669
670         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
671         (elmo-mime-entity-fragment-p): New function.
672         (mime-elmo-buffer-entity): Added slot `reassembled'.
673         (elmo-message-mime-entity): Added 4th argument `reassemble'.
674         (elmo-message-mime-entity-internal): New function (renamed from
675         `elmo-message-mime-entity').
676         (elmo-mime-inherit-field-list-from-enclosed): New constant.
677         (elmo-mime-make-reassembled-mime-entity): New function.
678         (elmo-message-reassembled-mime-entity): Ditto.
679         (elmo-mime-collect-message/partial-pieces): Ditto.
680
681 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
682
683         * elmo.el (elmo-message-fetch-string): Disable multibyte.
684
685         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
686         (elmo-with-enable-multibyte): New macro.
687
688         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
689
690 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
691
692         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
693         argument `number'.
694         (elmo-filter-connect-signals): Follow the above change.
695
696 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
697
698         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
699
700         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
701         that only the first flag is used.
702
703 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
704
705         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
706         if available.
707
708 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
709
710         * elmo-signal.el: New file.
711
712         * elmo.el (toplevel): Require elmo-signal.
713         (flag-changing, flag-changed, cache-changed): New signal.
714         (elmo-folder): Remove slog `handlers'.
715         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
716         `elmo-folder-notify-event'.
717         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
718         (elmo-folder-unset-flag): Ditto.
719         (elmo-event-handler): Abolish.
720         (elmo-event-handler-flag-changed): Ditto.
721         (elmo-event-handler-cache-changed): Ditto.
722         (elmo-folder-add-handler): Ditto.
723         (elmo-folder-remove-handler): Ditto.
724         (elmo-folder-notify-event): Ditto.
725
726         * elmo-pipe.el (toplevel): Require elmo-signal.
727         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
728         (elmo-pipe-connect-signals): New function.
729         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
730         (elmo-folder-set-flag): Ditto.
731         (elmo-folder-unset-flag): Ditto.
732         (elmo-message-set-cached): Ditto.
733
734         * elmo-multi.el (toplevel): Require elmo-signal.
735         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
736         (elmo-multi-connect-signals): New function.
737         (elmo-multi-map-numbers): Ditto.
738         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
739         (elmo-message-fetch): Ditto.
740         (elmo-folder-set-flag): Ditto.
741         (elmo-folder-unset-flag): Ditto.
742
743         * elmo-filter.el (toplevel): Require elmo-signal.
744         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
745         (elmo-filter-connect-signals): New function.
746         (elmo-filter-add-flag-count): Ditto.
747         (elmo-message-fetch): Does not call
748         `elmo-filter-folder-countup-message-flags' and
749         `elmo-folder-notify-event'.
750         (elmo-message-set-cached): Ditto.
751         (elmo-folder-set-flag): Ditto.
752         (elmo-folder-unset-flag): Ditto.
753
754         * elmo-version.el (elmo-version): Up to 2.13.2.
755
756 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
757
758         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
759         `flags'.
760
761 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
762
763         * elmo-filter.el (elmo-message-set-cached): Call
764         `elmo-folder-notify-event' with event `cache-changed'.
765
766         * elmo-multi.el (elmo-message-set-cached): Ditto.
767
768         * elmo-pipe.el (elmo-message-set-cached): Ditto.
769
770 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
771
772         * elmo.el (elmo-folder-encache): Abolish.
773
774 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
775
776         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
777         (elmo-folder-next-message-number-dop): Return appropriate negative
778         integer.
779
780 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
781
782         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
783         clearing pending operations.
784         (elmo-folder-next-message-number-dop): Return appropriate negative
785         integer.
786
787 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
788
789         * elmo.el (toplevel): Added autoload setting for `md5'.
790         (elmo-msgdb-path-encode-threshold): New user option.
791         (elmo-folder-msgdb-path): Encode msgdb path if its length is
792         longer than `elmo-msgdb-path-encode-threshold'.
793
794         * elmo-flag.el (elmo-global-mark-migrate): Use
795         `elmo-folder-expand-msgdb-path' instead of
796         `elmo-folder-msgdb-path'.
797
798 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
799
800         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
801         element of the difference is nil.
802
803 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
804
805         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
806         to the check logic of file systems which are weak in colon character.
807
808 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
809
810         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
811
812 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
813
814         * elmo-maildir.el (elmo-maildir-move-file): New function.
815         (elmo-folder-append-buffer): Use it.
816         (elmo-folder-append-messages): Ditto.
817         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
818
819         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
820         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
821
822         * elmo-maildir.el (elmo-maildir-separator): New user option.
823         (elmo-maildir-adjust-separator): New macro.
824         (elmo-maildir-list-location): Use it.
825         (elmo-maildir-update-current): Ditto.
826         (elmo-maildir-set-mark): Ditto.
827         (elmo-maildir-delete-mark): Ditto.
828         (These changes are based on Hiroya Murata's patch [wl: 13437])
829
830 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
831
832         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
833
834 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
835
836         * elmo-flag.el (elmo-flag-valid-p): Simplify.
837         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
838         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
839
840 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
841
842         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
843         Use `with-temp-buffer'.
844
845 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
846
847         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
848
849         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
850         `wl-read-search-condition').
851         (elmo-read-search-condition-internal): Likewise.
852
853         * elmo-flag.el (elmo-flag-char-regexp): New constant.
854         (elmo-flag-valid-p): New function.
855         (elmo-folder-initialize): Check flag name is valid.
856
857 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
858
859         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
860         delimiter to obtain root mailbox itself.
861
862 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
863
864         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
865         type mismatch.
866
867 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
868
869         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
870         as t.
871
872 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
873
874         * elmo-shimbun.el (toplevel): Require cl at compile.
875
876         * elmo-nntp.el (toplevel): Ditto.
877
878         * elmo-nmz.el (toplevel): Ditto.
879
880         * elmo-multi.el (toplevel): Ditto.
881
882         * elmo-file.el (toplevel): Ditto.
883
884         * elmo-dop.el (toplevel): Ditto.
885
886         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
887
888 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
889
890         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
891         as nil.
892
893         * elmo.el (elmo-message-fetch): Return t even when the output buffer
894         size of elmo-message-fetch-internal is 0 byte.
895
896 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
897
898         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
899
900 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
901
902         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
903         always plugged.
904
905 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
906
907         * elmo-maildir.el (elmo-map-message-fetch): Call
908         `elmo-map-folder-set-flag'.
909
910         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
911         (elmo-message-fetch): Merge from
912         `elmo-message-fetch-with-cache-process'.
913
914         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
915         (elmo-message-fetch): Define.
916
917         * elmo-nntp.el (elmo-message-fetch): Renamed from
918         `elmo-message-fetch-with-cache-process'.
919
920         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
921         (elmo-message-fetch): Define.
922
923         * elmo-util.el (elmo-condition-parse-primitive): Downcase
924         search-key.
925
926         * elmo-shimbun.el (shimbun-mua-search-id): Use
927         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
928         (elmo-shimbun-folder-shimbun-header): Ditto.
929         (elmo-shimbun-get-headers): Ditto.
930         (elmo-shimbun-update-overview): Ditto.
931
932         * elmo-pipe.el (elmo-folder-detach-messages): Define.
933
934         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
935         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
936
937 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
938
939         * elmo.el (elmo-message-fetch): Unset unread flag on server when
940         message is cached.
941         (elmo-message-fetch-string): Fixed argument.
942
943 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
944
945         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
946         exchange order of arguments `section' and `unread'.
947         (elmo-message-encache): Follow the API change.
948         (elmo-message-match-condition): Ditto.
949         (elmo-generic-folder-append-messages): Ditto.
950         (elmo-message-fetch-string): New function.
951
952         * elmo-split.el (elmo-split-subr): Ditto.
953
954         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
955
956         * elmo-pipe.el (elmo-message-fetch): Ditto.
957
958         * elmo-multi.el (elmo-message-fetch): Ditto.
959
960         * elmo-mime.el (elmo-message-mime-entity): Ditto.
961
962         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
963
964         * elmo-filter.el (elmo-message-fetch): Ditto.
965
966         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
967
968         * elmo-imap4.el (mime-imap-location-section-body): Use
969         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
970         follow the API change.
971
972 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-access.el: New file.
975
976         * elmo-null.el: Ditto.
977
978         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
979
980 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
981
982         * elmo-net.el (elmo-network-session-idle-timeout): New option.
983         (elmo-network-session): New attribute `last-accessed'.
984         (elmo-network-get-session): Discard network cache if elapsed time
985         since last-accessed is larger than elmo-network-session-idle-timeout.
986
987 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
988
989         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
990         and added `number', `require-entireness'.
991         (elmo-find-fetch-strategy): Rewrite.
992         (elmo-message-fetch): Unset `unread' flag when argument unread is
993         non-nil.
994
995         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
996
997         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
998         (elmo-message-fetch): Notify event `flag-changed'.
999
1000         * elmo-pipe.el: Likewise.
1001
1002         * elmo-mime.el (elmo-mime-entity): New class.
1003         (elmo-mime-entity-display-p): New generic function.
1004         (elmo-mime-entity-display): Ditto.
1005         (elmo-mime-entity-display-as-is): Ditto.
1006         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1007         elmo-mime-entity.
1008         (elmo-make-mime-message-location): Removed.
1009         (elmo-mime-message-display): Ditto.
1010         (elmo-mime-display-as-is): Ditto.
1011         (elmo-message-mime-entity): New function.
1012
1013         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1014
1015         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1016         change.
1017         (elmo-message-fetch): Re-count flagged message number and notify
1018         event `flag-changed'.
1019
1020         * elmo-version.el (elmo-version): Up to 2.13.1.
1021
1022 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1023
1024         * elmo-filter.el (elmo-message-field): Define.
1025         (elmo-message-set-field): Ditto.
1026
1027 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1028
1029         * elmo.el (elmo-message-set-cached): Call
1030         `elmo-folder-notify-event' with cache-changed.
1031         (elmo-event-handler-cache-changed): New generic function.
1032
1033 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1034
1035         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1036         instead of elmo-add-name-to-file.
1037         (elmo-folder-append-messages): Ditto.
1038
1039 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1040
1041         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1042
1043 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1044
1045         * elmo-version.el (elmo-version): Up to 2.13.0.
1046
1047         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1048         `auto'.
1049
1050         * modb-standard.el (modb-standard-economize-entity-size): Changed
1051         default value to `t'.
1052
1053         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1054         `standard'.
1055
1056         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1057         after parsing greeting string.
1058
1059 2004-11-23  Daishi Kato <daishi@axlight.com>
1060
1061         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1062         New user option.
1063         (elmo-spam-spamoracle-call): Use it.
1064
1065 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1066
1067         * elmo.el (elmo-message-accessible-p): Message in dop spool
1068         is accessible.
1069
1070 2004-11-23  Daishi Kato <daishi@axlight.com>
1071
1072         * elsp-spamoracle.el: New file.
1073
1074 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1075
1076         * elmo.el (elmo-message-flags-for-append): New function.
1077         (elmo-generic-folder-append-messages): Use it.
1078
1079         * elmo-split.el (elmo-split-subr): Ditto.
1080
1081         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1082         `flags' and use elmo-folder-append-buffer instead of
1083         write-region-as-binary.
1084         (elmo-dop-filter-pending-messages): New function.
1085         (elmo-folder-append-buffer-dop): Call
1086         elmo-dop-spool-folder-append-buffer with `flag'.
1087         (elmo-folder-set-flag-dop): Filter messages by
1088         elmo-dop-filter-pending-messages.
1089         (elmo-folder-unset-flag-dop): Ditto.
1090         (elmo-folder-append-buffer-dop-delayed): Use
1091         elmo-message-flags-for-append to get flags of the message and
1092         simplify.
1093
1094 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1095
1096         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1097
1098 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1099
1100         * elmo.el (elmo-folder): Added handlers slot.
1101         (elmo-event-handler): New class.
1102         (elmo-event-handler-flag-changed): New API.
1103         (elmo-folder-add-handler): New function.
1104         (elmo-folder-remove-handler): Ditto.
1105         (elmo-folder-notify-event): Ditto.
1106         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1107         `flag-changed'.
1108         (elmo-folder-unset-flag): Ditto.
1109
1110         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1111         (elmo-folder-unset-flag): Ditto.
1112
1113         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1114         (elmo-folder-unset-flag): Ditto.
1115
1116         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1117         (elmo-folder-unset-flag): Ditto.
1118
1119         * elmo-version.el (elmo-version): Up to 2.11.33.
1120
1121 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1122
1123         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1124
1125 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1126
1127         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1128
1129         * elmo-flag.el (elmo-folder-unset-flag): Define.
1130         (elmo-global-flag-detach): Do process when the flag is not target
1131         flag.
1132
1133 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1134
1135         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1136         variable.
1137         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1138
1139 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1140
1141         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1142         function.
1143         (elmo-folder-delete-messages): Detach messages before delete
1144         messages from target folder.
1145         (elmo-folder-detach-messages): Set updated number-list to slot.
1146
1147 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1148
1149         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1150
1151 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1152
1153         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1154
1155 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1156
1157         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1158         internal use only).
1159         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1160         not modified.
1161         (elmo-folder-delete-messages): Define.
1162         (elmo-folder-move-messages): Don't call
1163         `elmo-folder-detach-messages'.
1164         (elmo-folder-synchronize): Rewrite.
1165         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1166
1167         * elmo-util.el (elmo-last): New function.
1168         (elmo-set-list): Ditto.
1169         (elmo-number-set-delete-list): Ditto.
1170         (elmo-number-set-delete): Ditto.
1171
1172         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1173
1174         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1175         `elmo-folder-delete-messages' and don't delete location map.
1176         (elmo-folder-detach-messages): Define.
1177
1178         * elmo-imap4.el (elmo-folder-delete): Use
1179         `elmo-folder-delete-messages-internal' instead of
1180         `elmo-folder-delete-messages'.
1181
1182         * elmo-filter.el (elmo-folder-delete-messages): Call
1183         `elmo-folder-detach-messages'.
1184         (elmo-folder-detach-messages): Don't call
1185         `elmo-folder-detach-messages' for target folder.
1186
1187         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1188         message deletion is succeeded.
1189
1190         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1191
1192         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1193         from `elmo-folder-delete-messages'.
1194
1195         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1196
1197         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1198
1199         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1200
1201         * elmo-version.el (elmo-version): Up to 2.11.32.
1202
1203 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1204
1205         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1206         (elmo-global-flag-list): Added obsolete variable setting.
1207
1208         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1209
1210         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1211         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1212         `elmo-mime-display-header-analysis' is nil.
1213
1214         * elmo-flag.el (elmo-global-flags): Renamed from
1215         `elmo-global-flag-list' (All other related portions are changed).
1216         (elmo-local-flags): New variable.
1217         (elmo-local-flag-p): New function.
1218         (elmo-global-flag-set-internal): Cause an error when flag is not
1219         global.
1220
1221 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1222
1223         * elmo-util.el (elmo-concat-path): Treat empty path.
1224
1225 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1226
1227         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1228         field-or-fields).
1229         (elmo-split-address-match): Ditto.
1230         (elmo-split-equal): Ditto.
1231         (elmo-split-match): Ditto.
1232
1233 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1234
1235         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1236         (elmo-generic-folder-append-messages): If src message exists but
1237         has no flag, pass (read) for the FLAG argument of
1238         `elmo-folder-append-buffer'. Otherwise, pass nil.
1239
1240         * elmo-split.el (elmo-split-subr): Likewise.
1241
1242         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1243
1244         * elmo-multi.el (elmo-message-flags): Ditto.
1245
1246         * elmo-filter.el (elmo-message-flags): Ditto.
1247
1248         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1249         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1250         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1251         
1252 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1253
1254         * elmo-split.el (elmo-split-rule): Update comment.
1255         (elmo-split-address-equal): Allow 2nd argument to be a list.
1256         (elmo-split-address-match): Ditto.
1257         (elmo-split-equal): Ditto.
1258         (elmo-split-match): Ditto.
1259
1260 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1261
1262         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1263         (elmo-folder-append-msgdb): Don't treat `read'.
1264         (elmo-message-flags): Don't return `read'.
1265
1266         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1267         (elmo-folder-unset-read-delayed): Ditto.
1268
1269         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1270
1271 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1272
1273         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1274         deletion.
1275
1276 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1277
1278         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1279         header.
1280
1281 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1282
1283         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1284         here.
1285         (elmo-msgdb-save): Bind inhibit-quit.
1286         (modb-standard-message-entity): Ditto.
1287
1288 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1289
1290         * elmo-database.el: No need to require elmo-msgdb.
1291
1292 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1293
1294         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1295         instead of `elmo-list-subdirectories'.
1296
1297 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1298
1299         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1300         group entry.
1301         (elmo-folder-exists-p): "[" is empty.
1302         (elmo-folder-list-subfolders): Define.
1303         (elmo-folder-have-subfolder-p): Ditto.
1304
1305 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1306
1307         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1308
1309 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1310
1311         * elmo-filter.el (elmo-folder-local-p): Define.
1312
1313 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1314
1315         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1316         when entity is garbaged.
1317         (modb-standard-save-entity-1): Don't modify the original entity.
1318
1319 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1320
1321         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1322
1323 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1324
1325         * elmo.el (elmo-strict-folder-diff): Use
1326         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1327
1328 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1329
1330         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1331         (elmo-msgdb-message-number): Ditto.
1332         (elmo-msgdb-message-field): Ditto.
1333
1334         * modb-standard.el (modb-standard-economize-entity-size): New user
1335         option.
1336         (modb-standard-loaded-message-id): New inline function.
1337         (modb-standard-load-entity): Use it.
1338         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1339         throw message-id string away.
1340         (elmo-msgdb-flag-available-p): Define.
1341         (elmo-msgdb-message-number): Ditto.
1342         (elmo-msgdb-message-field): Ditto.
1343
1344         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1345         (suppoted -> supported).
1346         (modb-legacy-supported-flag-p): Ditto.
1347         (elmo-msgdb-set-flag): Ditto.
1348         (elmo-msgdb-unset-flag): Ditto.
1349         (elmo-msgdb-flag-available-p): Define.
1350
1351         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1352         is `t', treat it as legacy entity.
1353         
1354         * elmo.el (elmo-message-flag-available-p): New generic function.
1355         (elmo-message-number): Ditto.
1356         (elmo-message-field): Use `elmo-msgdb-message-field'.
1357
1358         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1359
1360         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1361         (elmo-message-number): Ditto.
1362
1363         * elmo-multi.el (elmo-message-number): Define.
1364         (elmo-message-flag-available-p): Ditto.
1365
1366         * elmo-filter.el (elmo-message-flag-available-p): Define.
1367         (elmo-message-number): Ditto.
1368
1369         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1370         (elmo-folder-initialize): Load `max-number'.
1371         (elmo-folder-commit): Save it.
1372         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1373         (elmo-global-flag-set-internal): Set up max-number slot.
1374
1375 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1376
1377         * elmo-version.el (elmo-version): Up to 2.11.31.
1378
1379 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1380
1381         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1382         unibyte string of the current buffer for the argument of `md5'
1383         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1384
1385 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1386
1387         * modb-legacy.el (modb-legacy-flag-list): New constant.
1388         (modb-legacy-suppoted-flag-p): New internal function.
1389         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1390         (elmo-msgdb-unset-flag): Ditto.
1391
1392 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1393
1394         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1395
1396         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1397         from msgdb.
1398
1399 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1400
1401         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1402         (follow the API change).
1403
1404         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1405
1406 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1407
1408         * modb-standard.el (modb-standard-digest-flags): Abolish.
1409         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1410
1411         * elmo-vars.el (elmo-digest-flags): New variable.
1412         (elmo-preserved-flags): Moved from elmo-flag.el.
1413
1414         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1415         (elmo-imap4-flag-to-imap-criteria): Ditto.
1416         (elmo-imap4-folder-list-flagged): Use it.
1417
1418         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1419
1420         * elmo.el (elmo-folder-count-flags): Changed return value.
1421
1422         * elmo-flag.el (elmo-preserved-flags): New variable.
1423         (elmo-get-global-flags): Use it.
1424
1425         * modb-standard.el (modb-standard-digest-flags): New variable.
1426         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1427         Changed behavior of `any'.
1428
1429         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1430         which are defined the Internet draft
1431         (draft-melnikov-imap-keywords-03.txt).
1432         (elmo-imap4-flags-to-imap): New function.
1433         (elmo-folder-append-buffer): Use it.
1434
1435         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1436         in the docstring.
1437
1438         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1439         avoid the bug of Emacs 21.3.
1440
1441 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1442
1443         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1444         function find-coding-system does not exist.
1445
1446 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1447
1448         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1449         parsing.
1450
1451 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1452
1453         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1454         response codes.
1455
1456 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1457
1458         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1459         (elmo-network-close-session): Follow the changes in
1460         `elmo-pop3-read-response'.
1461         (elmo-pop3-auth-user): Ditto.
1462         (elmo-pop3-auth-apop): Ditto.
1463         (elmo-network-initialize-session): Ditto.
1464         (elmo-network-authenticate-session): Ditto.
1465         (elmo-network-setup-session): Ditto.
1466         (elmo-folder-status): Ditto.
1467         (elmo-message-fetch-plugged): Ditto.
1468         (elmo-pop3-delete-msg): Ditto.
1469
1470 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1471
1472         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1473         on failure.
1474
1475 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1476
1477         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1478         style.
1479         (elmo-bind-directory): Ditto.
1480
1481 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1482
1483         * elmo.el (elmo-folder-append-messages): Note on return value.
1484         * elmo-archive.el (elmo-folder-append-messages): Don't return
1485         message numbers which could not be appended.
1486
1487 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1488
1489         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1490
1491 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1492
1493         * elmo-version.el (elmo-version): Up to 2.11.30.
1494
1495 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1496
1497         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1498         `mask'.
1499
1500         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1501
1502         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1503         (elmo-multi-split-numbers): Add elmo-folder object into each
1504         element of return value at first.
1505         (elmo-folder-delete-messages): Follow the above change.
1506         (elmo-folder-detach-messages): Ditto.
1507
1508         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1509         number which is synchronized in target folder.
1510
1511 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1512
1513         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1514         Change default value to symbol `all'.
1515         (elmo-map-message-fetch): Change condition to update overview
1516         follow the above.
1517
1518 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1519
1520         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1521         behavior to update overview.
1522         (elmo-shimbun-update-overview-folder-list): Note it.
1523
1524 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1525
1526         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1527         recursive call.
1528
1529 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1530
1531         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1532         buffer-disable-undo, it is unnecessary.
1533         (elmo-spam-register-good-messages): Ditto.
1534
1535         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1536         Ditto.
1537
1538         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1539
1540 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1541
1542         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1543         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1544         elmo-set-buffer-multibyte.
1545         (elmo-object-load): Ditto.
1546         (elmo-save-buffer): Ditto.
1547         (elmo-delete-char): Ditto.
1548         (elmo-file-field-primitive-condition-match): Ditto.
1549         (elmo-mime-string): Ditto.
1550
1551         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1552         (elmo-archive-field-condition-match): Ditto.
1553
1554         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1555
1556         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1557
1558         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1559         (elmo-nntp-msgdb-create-message): Ditto.
1560
1561         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1562
1563         * elmo.el (elmo-message-match-condition): Ditto.
1564         (elmo-message-match-condition): Ditto.
1565
1566         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1567         Ditto.
1568
1569         * elmo-version.el (elmo-version): Up to 2.11.29.
1570
1571         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1572         (elsp-header): New backend.
1573
1574         * elmo-util.el (elmo-decoded-field-body): New function.
1575
1576 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1577
1578         * elmo-version.el (elmo-version): Up to 2.11.28.
1579
1580 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1581
1582         * elmo-filter.el: Rewrite.
1583
1584         * elmo-version.el (elmo-version): Up to 2.11.27.
1585
1586 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1587
1588         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1589         msgdb path for the localdir folder with absolute path.
1590
1591         * utf7.el: Synch up with latest gnus/utf7.el;
1592         Modified for latest Emacs.
1593
1594 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1595
1596         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1597         shimbun backend couldn't open.
1598
1599 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1600
1601         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1602         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1603         when a destination folder is a filter folder.
1604
1605 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1606
1607         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1608         (elmo-generic-folder-append-messages): Call elmo-message-flags
1609         with argument `msgid'.
1610
1611         * elmo-split.el (elmo-split-subr): Ditto.
1612
1613         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1614
1615         * elmo-multi.el (elmo-message-flags): Ditto.
1616
1617 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1618
1619         * elmo.el (elmo-folder): Add new slot `flag-table'.
1620         (elmo-folder-flag-table): New API.
1621         (elmo-folder-close-flag-table): Ditto.
1622         (elmo-folder-preserve-flags): New function.
1623         (elmo-generic-folder-append-messages): Use
1624         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1625         Flag of a non-registered message, it sets to nil.
1626         Does not set flag to flag-table.
1627
1628         * elmo-maildir.el (elmo-folder-append-buffer): Use
1629         `elmo-folder-preserve-flags'.
1630         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1631         `elmo-folder-close-flag-table'.
1632
1633         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1634         (elmo-archive-folder-append-buffer): Use
1635         `elmo-folder-preserve-flags'.
1636
1637         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1638
1639         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1640
1641         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1642         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1643         `elmo-folder-close-flag-table'.
1644
1645         * elmo-version.el (elmo-version): Up to 2.11.26.
1646
1647 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1648
1649         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1650
1651         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1652         md5's 4th and 5th argument (non-existent in flim one).
1653
1654 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1655
1656         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1657         message, It sets to nil.
1658
1659 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1660
1661         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1662         list is non-nil.
1663
1664 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1665
1666         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1667
1668         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1669
1670         * elmo-util.el (elmo-uniq-sorted-list): New function.
1671         (elmo-make-number-list): Ditto.
1672         (elmo-number-set-to-number-list): Use elmo-make-number-list
1673         and don't use nreverse.
1674
1675 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1676
1677         * elmo-version.el (elmo-version): Up to 2.11.25.
1678
1679 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1680
1681         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1682         field not exists in message, Use md5 message digest of header.
1683
1684 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1685
1686         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1687         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1688         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1689         * elmo-split.el (elmo-split-subr): Check return value of
1690         elmo-folder-append-buffer.
1691
1692         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1693         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1694
1695         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1696         message-id.
1697
1698 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1699
1700         * elmo-split.el (elmo-split-subr): Append message with flag.
1701
1702         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1703         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1704         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1705
1706 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1707
1708         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1709         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1710         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1711
1712 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1713
1714         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1715         with a function call of `process-buffer'.  All callers are updated.
1716         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1717         Remove redundant `set-buffer' in a while loop.
1718
1719 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1720
1721         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1722         calls.
1723
1724 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1725
1726         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1727         elsp-spamfilter-register-buffer-internal with current buffer.
1728         (elmo-spam-register-spam-buffer): Ditto.
1729         (elmo-spam-register-good-buffer): Ditto.
1730
1731 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1732
1733         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1734         if it is not contained in the response(A workaround for courier-imap).
1735
1736 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1737
1738         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1739         parenthesis.
1740
1741 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1742
1743         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1744         range.
1745
1746 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1747
1748         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1749         of nconc.
1750
1751         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1752         argument handler.
1753         (elmo-msgdb-message-match-condition): Follow the change above.
1754
1755 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1756
1757         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1758         folder name.
1759
1760 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1761
1762         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1763
1764 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1765
1766         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1767
1768 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1769
1770         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1771         not found.
1772
1773 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1774
1775         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1776         value.
1777         (elmo-file-command-argument): Undo last change for cygwin.
1778         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1779         Don't return nil.
1780         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1781
1782 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1783
1784         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1785         value returned from elmo-file-find is nil.
1786
1787 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1788
1789         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1790         to elmo-vars.el.
1791
1792         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1793         instead of insert-file-contents-as-binary.
1794         (elmo-message-set-field): New generic function.
1795
1796         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1797         behavior change on `split-string'.
1798
1799         * elmo-file.el (elmo-file-find): New function.
1800         (elmo-file-command): New user option.
1801         (elmo-file-command-argument): Ditto.
1802         (elmo-file-fetch-max-size): Ditto.
1803         (elmo-file-detect-format): New function.
1804         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1805         Use elmo-file-detect-format.
1806         (elmo-map-folder-list-message-locations): Don't treat directories.
1807
1808 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1809
1810         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1811         (elmo-passwd-alist-clear): Shred password before clear.
1812         (elmo-remove-passwd): Remove all mached pair.
1813
1814 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1815
1816         * elmo.el (elmo-folder-synchronize): Fix description of the return
1817         value.
1818
1819 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1820
1821         * elmo.el (elmo-message-fetch-bodystructure): New method.
1822         (elmo-message-fetch-bodystructure): Define default.
1823
1824         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1825         elmo-message-fetch-bodystructure.
1826         (elmo-message-fetch-bodystructure): Define.
1827
1828         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1829
1830 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1831
1832         * elmo-filter.el (elmo-message-folder): Define.
1833
1834 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1835
1836         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1837         elmo-delete-cr-buffer.
1838
1839         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1840
1841         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1842
1843         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1844
1845         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1846         type seems to be a text.
1847
1848 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1849
1850         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1851         (elmo-spam-register-good-buffer): Ditto.
1852         (elmo-spam-spamassassin-register-messages): Ditto.
1853
1854         * elmo-util.el (elmo-string-member-ignore-case): Define with
1855         static-cond.
1856
1857 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1858
1859         * elmo.el (elmo-folder-type): Undo last change.
1860
1861         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1862
1863         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1864         warnings.
1865
1866         * elmo-file.el: New file.
1867         
1868         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1869
1870         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1871         variable.
1872         (elmo-spam-spamassassin-register-messages): New inline function.
1873         (elmo-spam-register-spam-messages): Define.
1874         (elmo-spam-register-good-messages): Ditto.
1875
1876         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1877         Fixed typo.
1878
1879         * elmo.el (toplevel): Added autoload setting for
1880         `elmo-get-global-flags'.
1881         (elmo-message-has-global-flag-p): New function.
1882         (elmo-message-set-global-flags): Ditto.
1883         (elmo-folder-type): Improvement for name: format.
1884
1885         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1886         availability of keyword flags.
1887         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1888         (elmo-folder-list-flagged-plugged): Renamed from
1889         elmo-folder-list-flagged-unplugged.
1890         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1891         accept any flag as keyword flag.
1892         (elmo-folder-set-flag-plugged): Accept keyword flags.
1893         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1894
1895         * elmo-flag.el (elmo-get-global-flags): New function.
1896
1897         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1898         folders.
1899
1900         * elmo-version.el (elmo-version): Up to 2.11.24.
1901
1902 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1903
1904         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1905         elmo-multiple-field-body instead of std11-field-body to check all
1906         headers.
1907
1908 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1909
1910         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1911         or "size".
1912
1913 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1914
1915         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1916         unintern is unbound.
1917
1918 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1919
1920         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1921         Protect from infinite loop.
1922
1923 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1924
1925         * elsp-bogofilter.el
1926         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1927         (elmo-spam-bogofilter-register-messages): New internal function.
1928         (elmo-spam-register-spam-messages): Define.
1929         (elmo-spam-register-good-messages): Ditto.
1930
1931 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1932
1933         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1934         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1935         (elmo-spam-bogofilter-call): Fixed the last change.
1936         (elmo-spam-bogofilter-arguments): Ditto.
1937
1938         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1939         Follow the options change of latest bogofilter.
1940
1941         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1942         (elmo-spam-bogofilter-good-switch): Ditto.
1943         (elmo-spam-bogofilter-arguments-alist): New user option.
1944         (elmo-spam-bogofilter-debug): Ditto.
1945         (elmo-spam-bogofilter-call): Renamed from
1946         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1947         is non-nil, insert output in buffer for debug.
1948         (elmo-spam-bogofilter-arguments): New macro.
1949         (elmo-spam-buffer-spam-p): Use it.
1950         (elsp-bogofilter-register-buffer): Ditto.
1951
1952 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1953
1954         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1955         regexp.
1956
1957 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1958
1959         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1960         value as "ruby".
1961         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1962         (elmo-spam-bsfilter-program): Set default value as full path for
1963         `bsfilter'.
1964         (elmo-spam-bsfilter-debug): New user option.
1965         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1966         non-nil, insert output in buffer for debug. Fix treating of
1967         argument.
1968
1969 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1970
1971         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1972         `elmo-maildir-flag-specs' element instead of one.
1973         (elmo-map-folder-unset-flag): Ditto.
1974         (Reported by Ken Makimura <macky@astem.or.jp>)
1975
1976         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1977         (elmo-folder-unset-flag-plugged): Ditto.
1978
1979 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1980
1981         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1982         to `reads' slot only if `in-msgdb' is nil.
1983
1984 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1985
1986         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1987         and complement argument list.
1988
1989 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1990
1991         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1992         instead of elmo-folder-list-flagged.
1993
1994 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1995
1996         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1997
1998         * elsp-bsfilter.el: New file.
1999
2000         * elmo-pipe.el (elmo-folder-list-unreads,
2001         elmo-folder-list-answereds,
2002         elmo-folder-list-importants,
2003         elmo-folder-flag-as-important,
2004         elmo-folder-unflag-important,
2005         elmo-folder-flag-as-read,
2006         elmo-folder-unflag-read,
2007         elmo-folder-flag-as-answered,
2008         elmo-folder-unflag-answered): Remove.
2009         (elmo-folder-set-flag): Define.
2010         (elmo-folder-unset-flag): Ditto.
2011
2012         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2013         (elmo-folder-set-flag): Define.
2014         (elmo-folder-unset-flag): Ditto.
2015         (elmo-folder-list-unreads): Remove.
2016         (elmo-folder-list-flagged): Define.
2017
2018         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2019         (elmo-folder-list-unreads,
2020         elmo-folder-list-importants,
2021         elmo-folder-list-answereds,
2022         elmo-folder-list-unreads-plugged,
2023         elmo-folder-list-importants-plugged,
2024         elmo-folder-list-answereds-plugged): Remove.
2025         (elmo-folder-list-flagged-plugged): New method.
2026         (elmo-folder-unflag-important,
2027         elmo-folder-flag-as-important,
2028         elmo-folder-unflag-read,
2029         elmo-folder-flag-as-read,
2030         elmo-folder-unflag-answered,
2031         elmo-folder-flag-as-answered,
2032         elmo-folder-flag-as-read-unplugged,
2033         elmo-folder-unflag-read-unplugged,
2034         elmo-folder-flag-as-important-unplugged,
2035         elmo-folder-unflag-important-unplugged,
2036         elmo-folder-flag-as-answered-unplugged,
2037         elmo-folder-unflag-answered-unplugged): Remove.
2038         (elmo-folder-set-flag): Define.
2039         (elmo-folder-unset-flag): Ditto.
2040         (elmo-folder-set-flag-unplugged): Ditto.
2041         (elmo-folder-unset-flag-unplugged): Ditto.
2042
2043         * elmo-multi.el (elmo-folder-list-unreads,
2044         elmo-folder-list-answereds,
2045         elmo-folder-list-importants,
2046         elmo-folder-flag-as-important,
2047         elmo-folder-unflag-important,
2048         elmo-folder-flag-as-read,
2049         elmo-folder-unflag-read,
2050         elmo-folder-flag-as-answered,
2051         elmo-folder-unflag-answered): Remove.
2052         (elmo-folder-set-flag): Define.
2053         (elmo-folder-unset-flag): Ditto.
2054
2055         * elmo-map.el (elmo-map-folder-unflag-important,
2056         elmo-map-folder-flag-as-important,
2057         elmo-map-folder-unflag-read,
2058         elmo-map-folder-flag-as-read,
2059         elmo-map-folder-unflag-answered,
2060         elmo-map-folder-flag-as-answered): Remove.
2061         (elmo-map-folder-set-flag): New method.
2062         (elmo-map-folder-unset-flag): Ditto.
2063         (elmo-map-folder-list-unreads,
2064         elmo-map-folder-list-importants,
2065         elmo-map-folder-list-answereds): Remove.
2066         (elmo-folder-list-flagged-internal): Define.
2067         (elmo-map-folder-list-flagged): New method.
2068
2069         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2070         (elmo-map-folder-list-unreads,
2071         elmo-map-folder-list-importants,
2072         elmo-map-folder-list-flagged): Remove.
2073         (elmo-map-folder-list-flagged): Define.
2074         (elmo-map-folder-flag-as-important,
2075         elmo-map-folder-unflag-important,
2076         elmo-map-folder-flag-as-read,
2077         elmo-map-folder-unflag-read,
2078         elmo-map-folder-flag-as-answered,
2079         elmo-map-folder-unflag-answered): Remove.
2080         (elmo-maildir-set-mark-messages): New internal function.
2081         (elmo-map-folder-set-flag): Define.
2082         (elmo-map-folder-unset-flag): Ditto.
2083
2084         * elmo.el (toplevel): Added autoload setting for
2085         `elmo-folder-list-global-flag-messages'.
2086         (elmo-folder-list-unreads,
2087         elmo-folder-list-importants,
2088         elmo-folder-list-answereds): Remove.
2089         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2090         Return a list whitch merged with messages have global flag.
2091         (elmo-folder-list-flagged-internal): New method.
2092         (elmo-folder-unflag-important,
2093         elmo-folder-flag-as-important,
2094         elmo-folder-unflag-read,
2095         elmo-folder-flag-as-read,
2096         elmo-folder-unflag-answered,
2097         elmo-folder-flag-as-answered): Remove.
2098         (elmo-folder-set-flag): New method.
2099         (elmo-folder-unset-flag): Ditto.
2100         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2101         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2102
2103         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2104         (elmo-folder-list-unreads-plugged,
2105         elmo-folder-list-importants-plugged,
2106         elmo-folder-list-answereds-plugged,
2107         elmo-folder-list-flagged-unplugged,
2108         elmo-folder-unflag-important-plugged,
2109         elmo-folder-flag-as-important-plugged,
2110         elmo-folder-unflag-read-plugged,
2111         elmo-folder-flag-as-read-plugged,
2112         elmo-folder-unflag-answered-plugged,
2113         elmo-folder-flag-as-answered-plugged): Remove.
2114         (elmo-folder-set-flag-plugged,
2115         elmo-folder-unset-flag-plugged): Define.
2116
2117         * elmo-flag.el (elmo-folder-initialize): Register to
2118         `elmo-global-flag-list' if flag is not global.
2119         (elmo-folder-append-messages): Set flag to source messages.
2120
2121         * elmo-filter.el (elmo-filter-folder-list-unreads,
2122         elmo-folder-list-unreads,
2123         elmo-filter-folder-list-importants,
2124         elmo-folder-list-importants,
2125         elmo-folder-flag-as-read,
2126         elmo-folder-unflag-read,
2127         elmo-folder-flag-as-important,
2128         elmo-folder-unflag-important,
2129         elmo-folder-flag-as-answered,
2130         elmo-folder-unflag-answered): Remove.
2131         (elmo-folder-set-flag): Define.
2132         (elmo-folder-unset-flag): Ditto.
2133
2134         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2135         elmo-folder-unflag-read-dop,
2136         elmo-folder-flag-as-important-dop,
2137         elmo-folder-unflag-important-dop,
2138         elmo-folder-flag-as-answered-dop,
2139         elmo-folder-unflag-answered-dop): Remove.
2140         (elmo-folder-set-flag-dop,
2141         elmo-folder-unset-flag-dop,
2142         elmo-folder-set-important-delayed,
2143         elmo-folder-unset-important-delayed,
2144         elmo-folder-set-read-delayed,
2145         elmo-folder-unset-read-delayed,
2146         elmo-folder-set-answered-delayed,
2147         elmo-folder-unset-answered-delayed): New function.
2148         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2149         (elmo-dop-queue-method-name-alist): Ditto.
2150
2151         * elmo-version.el (elmo-version): Up to 2.11.23.
2152
2153 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2154
2155         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2156
2157         * elsp-sa.el: New file.
2158
2159 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2160
2161         * modb-standard.el (modb-standard-message-entity): New function.
2162         (elmo-msgdb-message-entity): Use it.
2163
2164 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2165
2166         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2167         behavior when one-level is nil.
2168
2169         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2170
2171         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2172
2173 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2174
2175         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2176         get max number.
2177         (elmo-generic-folder-diff): Ditto.
2178
2179         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2180         (elmo-folder-update-number): Ditto.
2181
2182         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2183         (elmo-folder-next-message-number-dop): Ditto.
2184
2185 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2186
2187         * elmo-filter.el (elmo-folder-msgdb-create): Use
2188         `elmo-message-entity' and `elmo-message-flags' instead of
2189         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2190
2191 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2192
2193         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2194         `if-exists'.
2195
2196 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2197
2198         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2199
2200         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2201
2202         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2203
2204 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2205
2206         * elmo-version.el (elmo-version): Up to 2.11.22.
2207
2208 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2209
2210         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2211
2212 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2213
2214         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2215         if the message dose not exist.
2216
2217 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2218
2219         * elmo-version.el (elmo-version): Up to 2.11.21.
2220
2221 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2222
2223         * modb-standard.el (toplevel): Don't require mime.
2224
2225 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2226
2227         * elsp-bogofilter.el (toplevel): Don't require path-util.
2228         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2229         (elmo-spam-bogofilter-header): Abolish.
2230         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2231         (elmo-spam-bogofilter-args): New user option.
2232         (elsp-bogofilter-call-bogofilter): New internal function.
2233         (elmo-spam-buffer-spam-p): Use it.
2234         (elsp-bogofilter-register-buffer): Renamed from
2235         `elmo-spam-bogofilter-register-buffer';
2236         Use `elsp-bogofilter-call-bogofilter'.
2237         (elmo-spam-register-spam-buffer): Follow the change above.
2238         (elmo-spam-register-good-buffer): Ditto.
2239
2240 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2241
2242         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2243         message-id is nil do nothing.
2244
2245 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2246
2247         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2248         Revival.
2249         (elmo-imap4-session): Removed use-flag slot.
2250         (elmo-imap4-session-select-mailbox): Undo last change.
2251         (elmo-folder-use-flag-p): Use
2252         elmo-imap4-disuse-server-flag-mailbox-regexp.
2253
2254 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2255
2256         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2257         (elmo-imap4-session-select-mailbox): Set it up.
2258         (elmo-folder-use-flag-p): Return value of use-flag slot.
2259
2260 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2261
2262         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2263         message-id is nil.
2264         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2265
2266         * modb-entity.el (elmo-message-entity-handler): Likewise.
2267
2268 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2269
2270         * elmo.el (toplevel): Remove setting of autoloding for
2271         elmo-global-flag-initialize.
2272         (elmo-init): Don't call elmo-global-flag-initialize.
2273         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2274
2275         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2276         (elmo-global-mark-migrate): Don't call it.
2277         (elmo-global-mark-upgrade): Ditto.
2278
2279 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2280
2281         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2282         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2283
2284         * elmo-vars.el (elmo-init-hook): New user option.
2285
2286         * elmo.el (elmo-init): Run the elmo-init-hook.
2287
2288         * elmo-flag.el (elmo-global-mark-migrate): New function.
2289
2290 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2291
2292         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2293         Undo last change (move to elmo-msgdb-unset-flag).
2294         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2295         flag is unset.
2296
2297 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2298
2299         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2300         read flag is set.
2301         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2302         (elmo-msgdb-unset-flag): Ditto.
2303
2304 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2305
2306         * elmo-split.el (elmo-split): Return split message count.
2307
2308 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2309
2310         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2311         is nil.
2312
2313 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2314
2315         * elmo.el (elmo-folder-unflag-important): Call
2316         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2317         a symbol `always'.
2318
2319         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2320         before unset flag.
2321         (elmo-global-flag-detach): Delete the message from flag folder, if
2322         `delete-if-none' is a symbol `always'.
2323
2324 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2325
2326         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2327         `elmo-spam-spamfilter-decode-buffer'.
2328         (elsp-spamfilter-register-buffer-internal): New internal function.
2329         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2330         (elmo-spam-register-spam-buffer): Ditto.
2331         (elmo-spam-register-good-buffer): Ditto.
2332
2333         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2334         change.
2335         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2336         (elmo-spam-register-spam-buffer): Follow the API change.
2337         (elmo-spam-register-good-buffer): Ditto.
2338
2339         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2340         (elmo-split-spam-p): Added argument plist; Call
2341         `elmo-spam-buffer-spam-p' with new argument register.
2342
2343         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2344         `register'.
2345         (elmo-spam-message-spam-p): Ditto.
2346         (elmo-spam-register-spam-buffer): Added optional argument
2347         `restore'.
2348         (elmo-spam-register-good-buffer): Ditto.
2349         (elmo-spam-register-spam-messages): Ditto.
2350         (elmo-spam-register-good-messages): Ditto.
2351
2352 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2355         register into good corpus.
2356         (elmo-spam-register-good-buffer): Fixed to register into bad
2357         corpus.
2358
2359 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2360
2361         * elmo-version.el (elmo-version): Up to 2.11.20.
2362
2363         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2364         change.
2365
2366         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2367         flag without depending on \Recent flag.
2368
2369 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2370
2371         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2372         (elmo-spam-modified-p): Defined.
2373         (elmo-spam-save-status): Set `modified' slot to nil.
2374         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2375         (elmo-spam-register-good-buffer): Ditto.
2376
2377         * elmo-spam.el (elmo-spam-modified-p): New API.
2378
2379 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2380
2381         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2382         duplicate definition.
2383
2384         * elmo-util.el (elmo-unfold-field-body): New function.
2385         (elmo-msgdb-get-message-id-from-buffer): Use it.
2386
2387         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2388         Fixed the last change; Use elmo-unfold-field-body.
2389
2390 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2391
2392         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2393         Unfold date value.
2394
2395 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2396
2397         * elmo-spam.el (elmo-spam-save-status): New API.
2398
2399         * elsp-spamfilter.el: New file.
2400
2401 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2402
2403         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2404
2405 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2406
2407         * elmo-split.el (elmo-split-spam-p): New function.
2408
2409         * elmo-spam.el: New file.
2410
2411         * elsp-bogofilter.el: Ditto.
2412
2413 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2414
2415         * elmo.el (elmo-folder-next-message-number): New API.
2416         (elmo-folder-next-message-number): Define.
2417         (elmo-message-field): Don't check folder length.
2418
2419         * elmo-net.el (elmo-folder-next-message-number): Define.
2420         (elmo-folder-next-message-number-unplugged): Define.
2421
2422         * elmo-map.el (elmo-folder-next-message-number): Define.
2423         (elmo-folder-delete-messages): Clear hash value.
2424
2425         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2426
2427         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2428         (elmo-folder-delete-messages-dop-delayed): Always return t.
2429
2430         * elmo-version.el (elmo-version): Up to 2.11.19.
2431
2432 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2433
2434         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2435         change.
2436
2437         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2438         identical cons cell into the mark-alist and the hash table.
2439
2440 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2441
2442         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2443         elmo-folder-list-messages with argument `visible-only' as t.
2444
2445         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2446         (elmo-folder-msgdb-create): Check the target folder.
2447
2448 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2449
2450         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2451         `permanentflag' instead of `flags'.
2452         (elmo-folder-open): Ditto.
2453         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2454         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2455         (elmo-folder-use-flag-p): Always return t.
2456         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2457         `permanentflags' does not exist.
2458         (elmo-folder-open): Ditto.
2459
2460 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2461
2462         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2463         is nil.
2464         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2465
2466         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2467         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2468         response.
2469         (elmo-folder-open): Ditto.
2470         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2471         slot of the session includes the flag.
2472         (elmo-imap4-session-flag-available-p): New function.
2473         (elmo-imap4-folder-list-flagged): Ditto.
2474         (elmo-folder-list-unreads-plugged): Use it.
2475         (elmo-folder-list-importants-plugged): Ditto.
2476         (elmo-folder-list-answereds-plugged): Ditto.
2477         (elmo-imap4-search-internal-primitive): Ditto.
2478         (elmo-imap4-folder-list-any-plugged,
2479         elmo-imap4-folder-list-digest-plugged): Abolish.
2480
2481         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2482         if numbers is nil.
2483
2484 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2485
2486         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2487
2488 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2489
2490         * elmo-util.el (elmo-get-hash-val): Simplify.
2491         (elmo-set-hash-val): Rewrite.
2492
2493 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2494
2495         * elmo.el (elmo-folder-list-messages): Append killed messages into
2496         result if `visible-only' is nil and `in-msgdb' is non-nil.
2497
2498         * elmo-util.el (elmo-uniq-list): Added optional argument
2499         `delete-function'.
2500
2501         * modb.el (elmo-msgdb-flag-count): New API.
2502
2503         * modb-standard.el (modb-standard): Added slot flag-count.
2504         (modb-standard-countup-flags): New function.
2505         (modb-standard-load-flag): Call it.
2506         (elmo-msgdb-append): Ditto.
2507         (elmo-msgdb-clear): Clear slot flag-count.
2508         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2509         (elmo-msgdb-unset-flag): Treat `all' flag and call
2510         modb-standard-countup-flags.
2511         (elmo-msgdb-flag-count): Define.
2512         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2513         (elmo-msgdb-delete-messages): Ditto.
2514
2515         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2516         (elmo-msgdb-flag-count): Define.
2517
2518         * elmo.el (elmo-folder-list-messages): Undo last change.
2519         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2520         (elmo-folder-kill-messages): Unset all flags to numbers.
2521
2522         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2523         elmo-folder-kill-messages.
2524
2525         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2526         (elmo-nntp-folder-delete-messages): Abolish.
2527
2528         * elmo-version.el (elmo-version): Up to 2.11.18.
2529
2530 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2531
2532         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2533         (elmo-folder-kill-messages-range): New function.
2534         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2535         instead of elmo-folder-kill-messages-before.
2536
2537 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2538
2539         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2540         elmo-imap4-current-msgdb to decide entity handler.
2541
2542 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2543
2544         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2545
2546         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2547         inline function.
2548         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2549         (elmo-msgdb-overview-entity-set-number,
2550         elmo-msgdb-overview-entity-get-references,
2551         elmo-msgdb-overview-entity-set-references,
2552         elmo-msgdb-overview-entity-get-from-no-decode,
2553         elmo-msgdb-overview-entity-get-from,
2554         elmo-msgdb-overview-entity-set-from,
2555         elmo-msgdb-overview-entity-get-subject,
2556         elmo-msgdb-overview-entity-get-subject-no-decode,
2557         elmo-msgdb-overview-entity-set-subject,
2558         elmo-msgdb-overview-entity-get-date,
2559         elmo-msgdb-overview-entity-set-date,
2560         elmo-msgdb-overview-entity-get-to,
2561         elmo-msgdb-overview-entity-get-cc,
2562         elmo-msgdb-overview-entity-get-size,
2563         elmo-msgdb-overview-entity-set-size,
2564         elmo-msgdb-overview-entity-get-extra,
2565         elmo-msgdb-overview-entity-set-extra,
2566         elmo-msgdb-overview-entity-get-extra-field,
2567         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2568         (elmo-msgdb-make-index): Use
2569         `elmo-msgdb-overview-entity-get-number-internal'.
2570         (elmo-msgdb-clear-index): Ditto.
2571         (elmo-msgdb-append-entity): Ditto;
2572         Use `elmo-msgdb-overview-entity-get-id-internal'.
2573
2574         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2575         elmo-msgdb-overview-entity-set-number,
2576         elmo-msgdb-overview-entity-get-references,
2577         elmo-msgdb-overview-entity-set-references,
2578         elmo-msgdb-overview-entity-get-from-no-decode,
2579         elmo-msgdb-overview-entity-get-from,
2580         elmo-msgdb-overview-entity-set-from,
2581         elmo-msgdb-overview-entity-get-subject,
2582         elmo-msgdb-overview-entity-get-subject-no-decode,
2583         elmo-msgdb-overview-entity-set-subject,
2584         elmo-msgdb-overview-entity-get-date,
2585         elmo-msgdb-overview-entity-set-date,
2586         elmo-msgdb-overview-entity-get-to,
2587         elmo-msgdb-overview-entity-get-cc,
2588         elmo-msgdb-overview-entity-get-size,
2589         elmo-msgdb-overview-entity-set-size,
2590         elmo-msgdb-overview-entity-get-extra,
2591         elmo-msgdb-overview-entity-set-extra,
2592         elmo-msgdb-overview-entity-get-extra-field,
2593         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2594         and rewrote for backward compatibility.
2595
2596 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2597
2598         * elmo.el (elmo-message-entity-number,
2599         elmo-message-entity-set-number,
2600         elmo-message-entity-field,
2601         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2602
2603         * elmo-msgdb.el (elmo-message-entity-number,
2604         elmo-message-entity-set-number,
2605         elmo-message-entity-field,
2606         elmo-message-entity-set-field): Moved from elmo.el.
2607
2608 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2609
2610         * elmo.el (toplevel): Changed definition orders.
2611
2612 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2613
2614         * modb.el (elmo-msgdb-search): New API .
2615         (elmo-msgdb-match-condition): Ditto.
2616
2617         * modb-standard.el (elmo-msgdb-search): Define.
2618
2619         * modb-legacy.el (elmo-msgdb-search): Ditto.
2620
2621         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2622         from elmo-msgdb-match-condition-internal.
2623
2624         * elmo.el (elmo-folder-search-fast): Abolish.
2625         (elmo-folder-search): Use elmo-msgdb-search and
2626         elmo-with-progress-display.
2627
2628         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2629         as msgdb API.
2630
2631         * elmo.el (elmo-folder): Remove slot message-modified and
2632         flag-modified.
2633         (elmo-folder-set-message-modified): Abolish.
2634         (elmo-generic-folder-commit): Follow the change above.
2635         (elmo-folder-synchronize): Ditto.
2636
2637         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2638
2639         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2640
2641         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2642
2643 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2644
2645         * modb-standard.el (modb-standard-make-message-entity,
2646         elmo-msgdb-make-message-entity,
2647         elmo-msgdb-create-message-entity-from-buffer,
2648         elmo-msgdb-message-entity-number,
2649         elmo-msgdb-message-entity-set-number,
2650         elmo-msgdb-message-entity-field,
2651         elmo-msgdb-message-entity-set-field,
2652         elmo-msgdb-copy-message-entity,
2653         elmo-msgdb-match-condition-internal): Remove.
2654
2655         * modb-entity.el: New file (again).
2656
2657         * modb.el (toplevel): Require modb-entity.
2658         (elmo-msgdb-message-entity-handler): New method.
2659
2660         * modb-standard.el (modb-standard-entity-id): Use
2661         elmo-message-entity-handler.
2662         (modb-standard-load-entity): Ditto.
2663         (elmo-msgdb-append-entity): Ditto.
2664         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2665
2666         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2667         elmo-msgdb-decoded-cache-hashtb,
2668         (modb-legacy-make-message-entity,
2669         elmo-msgdb-make-message-entity,
2670         elmo-msgdb-create-message-entity-from-buffer,
2671         elmo-msgdb-message-entity-number,
2672         elmo-msgdb-message-entity-set-number,
2673         elmo-msgdb-message-entity-field,
2674         elmo-msgdb-message-entity-set-field,
2675         elmo-msgdb-copy-message-entity,
2676         elmo-msgdb-match-condition-internal,
2677         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2678
2679         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2680         (elmo-message-entity-set-number): Ditto.
2681         (elmo-message-entity-field): Ditto.
2682         (elmo-message-entity-set-field): Ditto.
2683
2684         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2685
2686         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2687
2688         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2689
2690         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2691         (elmo-nntp-msgdb-create-message): Ditto.
2692
2693         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2694         (elmo-folder-msgdb-create): Add unread flag.
2695
2696         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2697
2698         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2699
2700         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2701
2702         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2703
2704         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2705         elmo-msgdb-messge-entity-handler.
2706         * elmo-version.el (elmo-version): Up to 2.11.17.
2707
2708 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2709
2710         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2711         change.
2712
2713 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2714
2715         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2716
2717         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2718         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2719         (elmo-msgdb-flag-table): Ditto.
2720         (elmo-msgdb-sort-by-date): Ditto.
2721
2722         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2723
2724         * modb-standard.el (toplevel): Require mime.
2725         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2726         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2727         elmo-msgdb-message-entity-number.
2728         (elmo-msgdb-append-entity): Ditto.
2729         (elmo-msgdb-create-message-entity-from-file): Remove.
2730         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2731         corresponds to the entity.
2732         (elmo-msgdb-message-entity-number): Do nothing currently.
2733         (elmo-msgdb-message-entity-field): Ditto.
2734         (elmo-msgdb-message-entity-set-field): Ditto.
2735         (elmo-msgdb-copy-message-entity): Ditto.
2736         (elmo-msgdb-match-condition-internal): Ditto.
2737
2738         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2739         elmo-util.el.
2740         (elmo-msgdb-create-message-entity-from-file): Remove.
2741
2742         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2743         modb-legacy.el.
2744         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2745
2746         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2747
2748 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2749
2750         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2751         (elmo-msgdb-message-entity-field): Ditto.
2752         (elmo-msgdb-message-entity-number): Ditto.
2753
2754 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2755
2756         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2757         Fixed how to set extra field into entity.
2758         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2759         symbol.
2760
2761         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2762         Fixed how to set extra field into entity.
2763         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2764         symbol.
2765
2766 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2767
2768         * modb.el (elmo-message-entity-db): New function.
2769         (elmo-msgdb-make-message-entity): New API.
2770         (elmo-msgdb-message-entity-number): Ditto.
2771         (elmo-msgdb-message-entity-set-number): Ditto.
2772         (elmo-msgdb-message-entity-field): Ditto.
2773         (elmo-msgdb-message-entity-set-field): Ditto.
2774         (elmo-msgdb-copy-message-entity): Ditto.
2775         (elmo-msgdb-create-message-entity-from-file): Ditto.
2776         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2777         (elmo-msgdb-match-condition-internal): Ditto.
2778
2779         * modb-standard.el (modb-legacy): Require modb-legacy.
2780         (modb-standard-make-message-entity): New inline function.
2781         (elmo-msgdb-make-message-entity): Define.
2782         (elmo-msgdb-create-message-entity-from-file): Ditto.
2783         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2784         (elmo-msgdb-message-entity-field): Ditto.
2785         (elmo-msgdb-message-entity-set-field): Ditto.
2786         (elmo-msgdb-copy-message-entity): Ditto.
2787         (elmo-msgdb-match-condition-internal): Ditto.
2788
2789         * modb-legacy.el: Don't require modb-entity.
2790         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2791         (elmo-msgdb-match-condition-primitive): Ditto.
2792         (elmo-msgdb-get-decoded-cache): Ditto.
2793         (elmo-msgdb-overview-entity-get-id): Ditto.
2794         (elmo-msgdb-overview-entity-get-number): Ditto.
2795         (elmo-msgdb-overview-entity-set-number): Ditto.
2796         (elmo-msgdb-overview-entity-get-references): Ditto.
2797         (elmo-msgdb-overview-entity-set-references): Ditto.
2798         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2799         (elmo-msgdb-overview-entity-get-from): Ditto.
2800         (elmo-msgdb-overview-entity-set-from): Ditto.
2801         (elmo-msgdb-overview-entity-get-subject): Ditto.
2802         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2803         (elmo-msgdb-overview-entity-set-subject): Ditto.
2804         (elmo-msgdb-overview-entity-get-date): Ditto.
2805         (elmo-msgdb-overview-entity-set-date): Ditto.
2806         (elmo-msgdb-overview-entity-get-to): Ditto.
2807         (elmo-msgdb-overview-entity-get-cc): Ditto.
2808         (elmo-msgdb-overview-entity-get-size): Ditto.
2809         (elmo-msgdb-overview-entity-set-size): Ditto.
2810         (elmo-msgdb-overview-entity-get-extra): Ditto.
2811         (elmo-msgdb-overview-entity-set-extra): Ditto.
2812         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2813         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2814         (elmo-msgdb-number-load): Ditto.
2815         (elmo-msgdb-overview-load): Ditto.
2816         (elmo-msgdb-mark-load): Ditto.
2817         (elmo-msgdb-number-save): Ditto.
2818         (elmo-msgdb-mark-save): Ditto.
2819         (elmo-msgdb-overview-save): Ditto.
2820         (modb-legacy-make-message-entity): New inline function.
2821         (elmo-msgdb-insert-file-header): Ditto.
2822         (elmo-msgdb-make-message-entity): Define.
2823         (elmo-msgdb-create-message-entity-from-file): Ditto.
2824         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2825         (elmo-msgdb-message-entity-number): Ditto.
2826         (elmo-msgdb-message-entity-set-number): Ditto.
2827         (elmo-msgdb-message-entity-field): Ditto.
2828         (elmo-msgdb-message-entity-set-field): Ditto.
2829         (elmo-msgdb-copy-message-entity): Ditto.
2830         (elmo-msgdb-match-condition-internal): Ditto.
2831
2832         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2833         (elmo-message-copy-entity): Rewrite.
2834         (elmo-message-entity-number): Ditto.
2835         (elmo-message-entity-set-number): Ditto.
2836         (elmo-message-entity-field): Use elmo-message-entity-db.
2837         (elmo-message-entity-set-field): Ditto.
2838         (elmo-message-field): Rewrite.
2839
2840         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2841         elmo-msgdb.el
2842         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2843
2844         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2845         elmo-message-entity-field.
2846         (elmo-shimbun-folder-shimbun-header): Ditto.
2847         (elmo-shimbun-entity-to-header): Ditto.
2848         (elmo-folder-msgdb-create): Ditto.
2849         (elmo-shimbun-msgdb-create-entity): Ditto;
2850         Use elmo-msgdb-create-message-entity-from-buffer.
2851         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2852         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2853
2854         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2855         elmo-msgdb-create-message-entity-from-file and 
2856         elmo-message-entity-field.
2857
2858         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2859         elmo-message-entity-number.
2860         (elmo-pop3-msgdb-create-message): Use
2861         elmo-msgdb-create-message-entity-from-buffer,
2862         elmo-message-entity-set-field, elmo-message-entity-number and
2863         elmo-message-entity-set-number.
2864
2865         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2866         the API change in elmo-msgdb-make-message-entity.
2867         (elmo-nntp-msgdb-create-message): Use
2868         elmo-msgdb-create-message-entity-from-buffer.
2869
2870         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2871         elmo-message-entity-field and
2872         elmo-msgdb-create-message-entity-from-file.
2873
2874         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2875         (elmo-msgdb-get-field): Abolish.
2876         (elmo-msgdb-get-number): Rewrite.
2877         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2878         (elmo-msgdb-flag-table): Ditto.
2879         (elmo-msgdb-get-last-message-id,
2880         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2881         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2882         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2883         (elmo-msgdb-create-overview-from-buffer,
2884         elmo-msgdb-overview-get-parent-entity): Abolish.
2885
2886         * elmo-mime.el (elmo-mime-display-as-is): Use
2887         elmo-message-entity-field.
2888
2889         * elmo-map.el (elmo-folder-pack-numbers): Use
2890         elmo-message-entity-set-number.
2891
2892         * elmo-maildir.el (elmo-folder-msgdb-create): 
2893         elmo-msgdb-create-message-entity-from-file instead of
2894         elmo-msgdb-create-overview-entity-from-file.
2895
2896         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2897         msgdb.
2898         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2899         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2900
2901         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2902         elmo-messge-entity-field and elmo-message-entity-number.
2903         (elmo-imap4-fetch-callback-1): Call
2904         elmo-msgdb-create-message-entity-from-buffer instead of
2905         elmo-msgdb-create-overview-from-buffer. 
2906         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2907         (elmo-find-fetch-strategy): Likewise.
2908
2909         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2910         elmo-localdir-msgdb-create-entity with argument msgdb.
2911
2912         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2913         and elmo-message-entity-set-number.
2914
2915         * elmo-cache.el (elmo-folder-msgdb-create): Use
2916         elmo-message-entity-field.
2917         (elmo-folder-msgdb-create): Call
2918         elmo-msgdb-create-message-entity-from-file instead of
2919         elmo-msgdb-create-overview-entity-from-file.
2920
2921         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2922         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2923         instead of elmo-msgdb-create-overview-from-buffer.
2924         (elmo-archive-msgdb-create-entity): Ditto.
2925         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2926         elmo-message-entity-field.
2927         (elmo-archive-parse-mmdf): Ditto.
2928
2929         * modb-entity.el: Removed.
2930
2931         * elmo-version.el (elmo-version): Up to 2.11.16.
2932
2933 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2934
2935         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2936         `is-local'.
2937         (elmo-folder-flag-as-answered): Ditto.
2938
2939 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2940
2941         * modb-standard.el: New file.
2942
2943         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2944         elmo-msgdb-convert-type is `sync'.
2945
2946         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2947         (elmo-msgdb-convert-type): New user option.
2948
2949         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2950         (elmo-load-msgdb): Auto detect saved type.
2951
2952         * elmo-version.el (elmo-version): Up to 2.11.15.
2953
2954 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2955
2956         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2957
2958         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2959         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2960         with argument `delete-if-none' when dst-folder is 'null.
2961
2962         * elmo-flag.el (elmo-folder-append-messages): Defined.
2963         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2964
2965 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2966
2967         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2968
2969 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2970
2971         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2972         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2973         (elmo-folder-commit): Ditto.
2974
2975 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2976
2977         * elmo-flag.el: New file.
2978
2979         * elmo-mark.el: Removed.
2980
2981         * modb-legacy.el (modb-legacy-new-mark,
2982         modb-legacy-unread-uncached-mark,
2983         modb-legacy-unread-cached-mark,
2984         modb-legacy-read-uncached-mark,
2985         modb-legacy-answered-cached-mark,
2986         modb-legacy-answered-uncached-mark,
2987         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2988         All other related portions are changed.
2989
2990         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2991         (elmo-folder-list-messages-with-global-mark): Abolish.
2992         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2993         (elmo-folder-flag-as-important): Ditto.
2994         (elmo-folder-unflag-read): Ditto.
2995         (elmo-folder-flag-as-read): Ditto.
2996         (elmo-folder-unflag-answered): Ditto.
2997         (elmo-folder-flag-as-answered): Ditto.
2998         (elmo-message-encache): Return the cache path.
2999         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3000         (elmo-message-set-flag): Transitional implementation.
3001         (elmo-message-unset-flag): Ditto.
3002         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3003         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3004         (elmo-init): Call elmo-global-flag-initialize.
3005         (toplevel): Added autoload settings for elmo-flag.
3006
3007         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3008
3009         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3010         (elmo-file-cache-delete): Don't treat global-mark.
3011
3012         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3013
3014         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3015
3016         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3017         `elmo-global-flags-set'.
3018
3019         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3020         `flag'.
3021         (elmo-folder-unflag-read): Ditto.
3022         (elmo-folder-unflag-important): Ditto.
3023         (elmo-folder-flag-as-important): Ditto.
3024         (elmo-folder-unflag-answered): Ditto.
3025         (elmo-folder-flag-as-answered): Ditto.
3026
3027         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3028         `elmo-global-flags-set'.
3029         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3030
3031         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3032
3033         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3034         `flag'.
3035         (elmo-folder-flag-as-important): Ditto.
3036         (elmo-folder-unflag-important): Ditto.
3037         (elmo-folder-flag-as-important): Ditto.
3038         (elmo-folder-unflag-read): Ditto.
3039         (elmo-folder-flag-as-read): Ditto.
3040         (elmo-folder-unflag-answered): Ditto.
3041         (elmo-folder-flag-as-answered): Ditto.
3042
3043         * elmo-multi.el (elmo-folder-list-importants): Don't call
3044         elmo-folder-list-messages-with-global-mark.
3045         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3046         (elmo-folder-unflag-important): Ditto.
3047         (elmo-folder-flag-as-read): Ditto.
3048         (elmo-folder-unflag-read): Ditto.
3049         (elmo-folder-flag-as-answered): Ditto.
3050         (elmo-folder-unflag-answered): Ditto.
3051
3052         * elmo-msgdb.el (elmo-msgdb-new-mark,
3053         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3054         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3055         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3056         (Moved to modb-legacy.el).
3057         (elmo-flag-table-get): Treat important flag too.
3058
3059         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3060         `mark' to `flag'.
3061         (elmo-map-folder-flag-as-important): Ditto.
3062         (elmo-map-folder-unflag-read): Ditto.
3063         (elmo-map-folder-flag-as-read): Ditto.
3064         (elmo-map-folder-unflag-answered): Ditto.
3065         (elmo-map-folder-flag-as-answered): Ditto.
3066         (elmo-folder-unflag-important): Ditto.
3067         (elmo-folder-flag-as-important): Ditto.
3068         (elmo-folder-unflag-read): Ditto.
3069         (elmo-folder-flag-as-read): Ditto.
3070         (elmo-folder-unflag-answered): Ditto.
3071         (elmo-folder-flag-as-answered): Ditto.
3072
3073         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3074         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3075         `flag'.
3076         (elmo-map-folder-unflag-important): Ditto.
3077         (elmo-map-folder-flag-as-read): Ditto.
3078         (elmo-map-folder-unflag-read): Ditto.
3079         (elmo-map-folder-flag-as-answered): Ditto.
3080         (elmo-map-folder-unflag-answered): Ditto.
3081
3082         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3083         `elmo-global-flags-set'.
3084         (elmo-global-flags-set): Added autoload setting.
3085
3086         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3087         `flag'.
3088
3089         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3090         `elmo-msgdb-global-mark-set'.
3091         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3092         Call `elmo-global-flags-set'.
3093         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3094         `flag'.
3095         (elmo-folder-flag-as-important-plugged): Ditto.
3096         (elmo-folder-unflag-read-plugged): Ditto.
3097         (elmo-folder-flag-as-read-plugged): Ditto.
3098         (elmo-folder-unflag-answered-plugged): Ditto.
3099         (elmo-folder-flag-as-answered-plugged): Ditto.
3100         (elmo-global-flags-set): Added autoload setting.
3101
3102         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3103         `flag'.
3104         (elmo-folder-unflag-read): Ditto.
3105         (elmo-folder-flag-as-important): Ditto.
3106         (elmo-folder-unflag-important): Ditto.
3107         (elmo-folder-flag-as-answered): Ditto.
3108         (elmo-folder-unflag-answered): Ditto.
3109
3110         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3111         change of `mark'->`flag'.
3112         (elmo-dop-queue-method-name-alist): Ditto.
3113         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3114         (elmo-folder-unflag-read-dop): Ditto.
3115         (elmo-folder-flag-as-important-dop): Ditto.
3116         (elmo-folder-unflag-important-dop): Ditto.
3117         (elmo-folder-flag-as-answered-dop): Ditto.
3118         (elmo-folder-unflag-answered-dop): Ditto.
3119
3120         * elmo-cache.el (elmo-folder-msgdb-create): Call
3121         `elmo-global-flags-set'.
3122
3123         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3124         Call `elmo-global-flags-set'.
3125         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3126         elmo-archive-parse-mmdf with argument `folder'.
3127         (elmo-archive-parse-mmdf): Added argument `folder';
3128         Call `elmo-global-flags-set'.
3129
3130         * elmo-version.el (elmo-version): Up to 2.11.14.
3131
3132 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3133
3134         * modb.el (elmo-msgdb-length): Define.
3135
3136         * elmo.el (elmo-make-folder): Fixed.
3137         (elmo-generic-folder-append-messages): Follow the API change.
3138
3139         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3140         API change.
3141
3142 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3143
3144         * modb.el: New file.
3145
3146         * modb-entity.el: Ditto.
3147
3148         * modb-legacy.el: Ditto.
3149
3150         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3151         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3152         of `elmo-msgdb-overview-get-entity'.
3153         (elmo-msgdb-get-field): Ditto.
3154         (elmo-msgdb-merge): Moved to `elmo.el'.
3155         (elmo-msgdb-length): Removed; redefine as modb method.
3156         (elmo-msgdb-change-mark): Abolish.
3157         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3158         (elmo-msgdb-match-condition): Don't use mark.
3159         (elmo-msgdb-overview-get-entity): Abolish.
3160         Split modb part into `modb*.el'.
3161
3162         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3163
3164         * elmo-shimbun.el (shimbun-mua-search-id): Use
3165         `elmo-msgdb-message-entity' instead of
3166         `elmo-msgdb-overview-get-entity'.
3167         (elmo-shimbun-folder-shimbun-header): Ditto.
3168         (elmo-shimbun-get-headers): Ditto.
3169         (elmo-shimbun-update-overview): Ditto.
3170
3171         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3172
3173         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3174
3175         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3176         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3177
3178         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3179         `elmo-msgdb-mark-to-flags'.
3180
3181         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3182         `elmo-msgdb-set-path'.
3183
3184         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3185  
3186         * elmo-version.el (elmo-version): Up to 2.11.13.
3187
3188         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3189
3190         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3191         of mark.
3192
3193 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3194
3195         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3196         mismatch.
3197
3198 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3199
3200         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3201         instead of `elmo-msgdb-get-cached'.
3202         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3203
3204         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3205         (elmo-msgdb-set-cached): Ditto.
3206         (elmo-msgdb-set-flag): Rewrite.
3207         (elmo-msgdb-unset-flag): Ditto.
3208
3209         * elmo-msgdb.el: Rewrite with luna.
3210
3211         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3212         (elmo-folder-msgdb): Follow the change above.
3213         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3214         (elmo-folder-unmark-important): Follow the API change.
3215         (elmo-folder-mark-as-important): Ditto.
3216         (elmo-folder-unmark-read): Ditto.
3217         (elmo-folder-mark-as-read): Ditto.
3218         (elmo-folder-unmark-answered): Ditto.
3219         (elmo-folder-mark-as-answered): Ditto.
3220         (elmo-folder-clear): Likewise.
3221
3222         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3223         instead of `elmo-msgdb-load' (renamed).
3224
3225         * elmo-version.el (elmo-version): Up to 2.11.12.
3226
3227 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3228
3229         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3230         change.
3231         (elmo-message-mark): Abolish.
3232         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3233         instead of `elmo-msgdb-change-mark'.
3234
3235         * elmo-pipe.el (elmo-message-mark): Abolish.
3236
3237         * elmo-multi.el (elmo-message-mark): Ditto.
3238
3239         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3240         (elmo-msgdb-unread-uncached-mark): Ditto.
3241         (elmo-msgdb-unread-cached-mark): Ditto.
3242         (elmo-msgdb-read-uncached-mark): Ditto.
3243         (elmo-msgdb-answered-cached-mark): Ditto.
3244         (elmo-msgdb-answered-uncached-mark): Ditto.
3245         (elmo-msgdb-important-mark): Ditto.
3246         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3247         `use-cache'.
3248         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3249         `flags'.
3250         (elmo-flag-table-load): Changed flag to list of flag.
3251         (elmo-flag-table-set): If flags is nil, set read flag.
3252         (elmo-flag-table-get): Return derived flags from global mark,
3253         cache status and saved flags.
3254         (elmo-msgdb-flag-table): Follow the change above.
3255         (elmo-msgdb-out-of-date-messages): New function.
3256
3257         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3258
3259         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3260
3261         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3262
3263         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3264         (elmo-nntp-msgdb-create-message): Ditto.
3265
3266         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3267
3268         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3269         independent.
3270         (elmo-folder-msgdb-create): Follow the API change.
3271
3272         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3273         (elmo-folder-append-messages): Ditto.
3274
3275         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3276         (elmo-folder-append-buffer): Ditto.
3277
3278         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3279
3280         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3281
3282         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3283         (elmo-archive-parse-mmdf): Ditto.
3284
3285         * elmo-version.el (elmo-version): Up to 2.11.11.
3286
3287 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3288
3289         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3290         `elmo-msgdb-mark'.
3291
3292         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3293
3294         * elmo-pipe.el (elmo-message-flags): Defined.
3295
3296         * elmo-multi.el (elmo-message-flags): Ditto.
3297
3298 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3299
3300         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3301         `elmo-msgdb-delete-msgs'.
3302
3303         * elmo.el (elmo-folder-count-flags): Don't use
3304         `elmo-msgdb-get-mark-alist'.
3305         (elmo-folder-detach-messages): Follow the API change.
3306
3307         * elmo.el (elmo-folder-list-messages): Append killed messages into
3308         result if `visible-only' is nil.
3309
3310         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3311         canceled messages.
3312         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3313         (elmo-folder-update-number): Likewise.
3314
3315         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3316         (elmo-pop3-sort-msgdb-by-original-number): Use
3317         `elmo-msgdb-sort-entities'.
3318
3319         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3320         (elmo-msgdb-sort-by-date): Use it.
3321         (elmo-msgdb-overview-sort-by-date): Abolish.
3322
3323         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3324
3325         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3326         (elmo-msgdb-flags): New function.
3327         (elmo-msgdb-merge): Use elmo-msgdb-append.
3328
3329         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3330         change.
3331
3332         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3333
3334         * elmo-dop.el (elmo-folder-status-dop): Use
3335         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3336
3337 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3338
3339         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3340
3341         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3342
3343         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3344
3345         * elmo-util.el (elmo-with-progress-display): New macro.
3346
3347         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3348
3349 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3350
3351         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3352         `elmo-folder-list-message-entities' instead of
3353         `elmo-msgdb-get-overview'.
3354         (elmo-map-folder-list-message-locations): Ditto.
3355
3356         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3357         methods instead of treat directly).
3358         (elmo-msgdb-clear): Ditto.
3359         (elmo-msgdb-delete-msgs): Ditto.
3360         (elmo-msgdb-sort-by-date): Ditto.
3361
3362         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3363         local variables.
3364         (elmo-nntp-folder-msgdb-create): Follow the API change.
3365
3366         * elmo-version.el (elmo-version): Up to 2.11.10.
3367
3368 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3369
3370         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3371         (elmo-msgdb-flags-to-mark): Ditto.
3372         (elmo-msgdb-append-entity): Ditto.
3373
3374         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3375         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3376         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3377         (elmo-archive-parse-mmdf): Ditto.
3378
3379         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3380
3381         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3382
3383         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3384
3385         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3386
3387         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3388
3389         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3390
3391         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3392
3393         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3394
3395         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3396         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3397         to empty msgdb.
3398
3399         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3400         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3401         instead of directly construction.
3402         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3403         instead of construct msgdb.
3404
3405         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3406         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3407         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3408         instead of construct msgdb.
3409
3410 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3411
3412         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3413         when field is from or subject.
3414
3415 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3416
3417         * elmo-multi.el (elmo-message-entity-parent): Define.
3418         (elmo-folder-search): Rewrite.
3419
3420 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3421
3422         * elmo-multi.el (elmo-message-cached-p): Define.
3423
3424         * elmo.el (elmo-message-cached-p): New method.
3425         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3426         (elmo-message-flags): New method.
3427         (elmo-message-flagged-p): New function.
3428
3429         * elmo-version.el (elmo-version): Up to 2.11.9.
3430
3431 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3432
3433         * elmo-version.el (elmo-version): Up to 2.11.8.
3434
3435         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3436
3437         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3438
3439 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3440
3441         * elmo.el (elmo-folder-detach-messages): Undo last change.
3442
3443 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3444
3445         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3446
3447         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3448         only when src folder type is pop3.
3449
3450 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3451
3452         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3453         elmo-msgdb-overview-entity-get-number instead of
3454         elmo-message-entity-number.
3455
3456 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3457
3458         * elmo-version.el (elmo-version): Up to 2.11.7.
3459
3460 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3461
3462         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3463         function.
3464
3465         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3466         (elmo-msgdb-merge): New function.
3467         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3468         (elmo-msgdb-make-index): Rewrite.
3469
3470         * elmo-version.el (elmo-version): Up to 2.11.6.
3471
3472         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3473         use it as a the path for loading message entities.
3474
3475         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3476
3477 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3478
3479         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3480         message-modified slot of itself if it does not require target msgdb.
3481
3482         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3483         if folder length is zero.
3484         (elmo-mime-display-as-is): Ditto.
3485
3486         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3487
3488         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3489
3490 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3491
3492         * elmo.el (elmo-folder-set-message-modified): New method.
3493         (elmo-generic-folder-commit): Use it.
3494         (elmo-folder-synchronize): Ditto.
3495
3496         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3497         (elmo-folder-commit): Remove duplicate definition.
3498
3499 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3500
3501         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3502
3503 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3504
3505         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3506         (elmo-strict-folder-diff): Ditto.
3507         (elmo-folder-set-info-max-by-numdb): Simplify.
3508
3509         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3510         elmo-msgdb-list-messages.
3511
3512         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3513         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3514
3515 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3516
3517         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3518         visible-only is non-nil.
3519         (elmo-folder-confirm-appends): Changed message.
3520         (elmo-folder-synchronize): Added argument disable-killed.
3521
3522         * elmo-multi.el (elmo-folder-synchronize): Added argument
3523         disable-killed.
3524
3525         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3526
3527         * elmo-version.el (elmo-version): Up to 2.11.5.
3528
3529         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3530         elmo-list-filter.
3531
3532         * elmo-util.el (elmo-list-filter): Simplify.
3533
3534         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3535         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3536         (elmo-generic-folder-diff): Abolish argument.
3537         (elmo-msgdb-load): Don't use number-alist.
3538
3539         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3540
3541         * elmo-pipe.el (elmo-folder-diff): Ditto.
3542
3543         * elmo-nmz.el (elmo-folder-diff): Ditto.
3544
3545         * elmo-net.el (elmo-folder-diff): Ditto.
3546
3547         * elmo-maildir.el (elmo-folder-diff): Ditto.
3548
3549         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3550
3551         * elmo-multi.el (elmo-folder-diff): Ditto
3552         (elmo-multi-folder-diff): Rewrite.
3553
3554 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3555
3556         * elmo-pipe.el (elmo-folder-msgdb): Define.
3557
3558 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3559
3560         * elmo.el (elmo-message-set-cached): Define as a method.
3561
3562         * elmo-pipe.el (elmo-message-set-cached): Define.
3563         (elmo-find-fetch-strategy): Ditto.
3564
3565         * elmo-multi.el (elmo-message-set-cached): Define.
3566         (elmo-find-fetch-strategy): Rewrite.
3567
3568         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3569
3570         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3571
3572 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3573
3574         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3575         instead of number-alist.
3576
3577         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3578         mark nor message-id when msgdb of source folder is not loaded.
3579
3580         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3581
3582         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3583
3584 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3585
3586         * elmo.el (elmo-folder-length): Don't require msgdb.
3587
3588 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3589
3590         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3591         (elmo-message-field): Ditto.
3592
3593         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3594         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3595         slot.
3596         (elmo-map-folder-list-answereds): Define.
3597         (elmo-maildir-list-location): Treat 'R' info.
3598         (elmo-folder-msgdb-create): Treat flag-table.
3599         (elmo-folder-append-messages): Save flag-table.
3600
3601 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3602
3603         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3604         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3605
3606 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3607
3608         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3609
3610         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3611         'read when mark is null.
3612
3613 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3614
3615         * elmo-version.el (elmo-version): Up to 2.11.4.
3616
3617 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3618
3619         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3620         (elmo-folder-mark-as-answered): Ditto.
3621
3622 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3623
3624         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3625         (elmo-pop3-get-session): Make msgdb directory after session.
3626         (elmo-folder-exists-p): Check exactly at the first time even when the
3627         elmo-pop3-exists-exactly is nil.
3628
3629         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3630         (elmo-folder-list-messages): Define instead of
3631         elmo-folder-list-messages-internal.
3632         (elmo-folder-check): Check destination folder.
3633         (elmo-folder-synchronize): Drain the pipe.
3634
3635         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3636         when msgdb is not loaded.
3637
3638         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3639
3640         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3641         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3642         messages.
3643
3644         * elmo.el (elmo-folder-kill-messages-before): New function.
3645         (elmo-folder-kill-messages): Ditto.
3646         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3647
3648         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3649         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3650         killed not by synchronize (e.g. scoring).
3651
3652 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3653
3654         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3655         treated.
3656         (elmo-folder-search): Follow the change above.
3657
3658         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3659         into the candidates of search field.
3660
3661 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3662
3663         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3664         (elmo-msgdb-unset-flag): Ditto.
3665
3666         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3667
3668 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3669
3670         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3671         (elmo-folder-commit): Define.
3672         (elmo-folder-synchronize): Ditto.
3673         (elmo-folder-list-flagged): Ditto.
3674         (elmo-folder-commit): Ditto.
3675         (elmo-folder-length): Ditto.
3676         (elmo-folder-count-flags): Ditto.
3677         (elmo-message-mark): Ditto.
3678         (elmo-message-field): Ditto.
3679         (elmo-message-entity): Ditto.
3680         (elmo-message-folder): Ditto.
3681
3682 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3683
3684         * elmo.el (elmo-message-field): Define as a method.
3685
3686         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3687         (elmo-message-field): Define.
3688
3689         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3690         (elmo-folder-list-importants): Ditto.
3691         (elmo-folder-list-answereds): Ditto.
3692
3693         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3694         qualifier.
3695         (elmo-folder-mark-as-read): Ditto.
3696         (elmo-folder-unmark-read): Ditto.
3697         (elmo-folder-mark-as-answered): Ditto.
3698         (elmo-folder-unmark-answered): Ditto.
3699         (elmo-folder-list-flagged): Define.
3700         (elmo-folder-commit): Ditto.
3701         (elmo-folder-length): Ditto.
3702         (elmo-folder-count-flags): Ditto.
3703
3704 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3705
3706         * elmo.el (elmo-folder-detach-messages): New method.
3707         (elmo-folder-move-messages): Use it.
3708         (elmo-folder-synchronize): Ditto.
3709
3710         * elmo-multi.el (elmo-folder-detach-messages): Define.
3711
3712         * elmo.el (elmo-message-copy-entity): New function.
3713         (elmo-message-entity-set-number): Ditto.
3714         (elmo-message-mark): Define as method.
3715
3716         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3717         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3718         (elmo-message-entity): Fixed last change.
3719         (elmo-message-mark): Define.
3720         (elmo-folder-msgdb-create): Abolish.
3721         (elmo-multi-folder-append-msgdb): Ditto.
3722         (elmo-multi-folder-diff): Fixed.
3723         (elmo-multi-split-number-alist): Removed.
3724         (elmo-multi-split-mark-alist): Removed.
3725         (elmo-folder-list-messages): Define.
3726         (elmo-folder-list-messages-internal): Removed.
3727
3728         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3729         local file messages.
3730         (elmo-folder-msgdb-create): Fixed read mark.
3731
3732 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3733
3734         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3735         if mark is nil.
3736
3737 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3738
3739         * elmo.el (elmo-folder-list-message-entities): Define as inline
3740         function.
3741         (elmo-folder-messages): Abolish.
3742
3743         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3744         folder.
3745         (elmo-folder-synchronize): Define.
3746         (elmo-message-entity): Define.
3747
3748 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3749
3750         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3751         elmo-imap4-session-select-mailbox.
3752
3753         * elmo.el (elmo-folder-move-messages): Don't display any message.
3754
3755         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3756         parsing.
3757         (elmo-imap4-session-check): Don't wait CHECK response.
3758         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3759
3760 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3761
3762         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3763
3764 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3765
3766         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3767         API.
3768         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3769
3770
3771         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3772         (elmo-folder-list-message-entities): Added argument in-msgdb and
3773         numbers.
3774         (elmo-folder-synchronize): Define as a method.
3775
3776         * elmo-nntp.el (elmo-folder-initialize): Don't use
3777         elmo-nntp-default-user if zero-length username is specified
3778         explicitly.
3779
3780 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3781
3782         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3783         server name in case with username.
3784         (XXX: this is ad-hoc fix against username includes "@", it
3785         should be solved fundamentally)
3786
3787 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3788
3789         * elmo-nntp.el (elmo-nntp-debug): New function.
3790         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3791         (elmo-network-authenticate-session): Hide auth-info from the log.
3792
3793         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3794         user name if it is equal to elmo-nntp-default-user.
3795
3796 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3797
3798         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3799         instead of shimbun-server-internal;
3800         Use shimbun-current-group instead of shimbun-current-group-internal.
3801         (elmo-folder-plugged-p): Use shimbun-server instead of
3802         shimbun-server-internal.
3803         (elmo-folder-set-plugged): Ditto.
3804         (elmo-net-port-info): Ditto.
3805         (elmo-folder-check): Ditto.
3806         (elmo-folder-expand-msgdb-path): Ditto.
3807         (elmo-folder-list-subfolders): Ditto.
3808
3809 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3810
3811         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3812         Convert field-name to lower case.
3813         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3814
3815 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3816
3817         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3818         `message' and `error' take format string.
3819
3820 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3821
3822         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3823
3824 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3825
3826         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3827         recursive call (can't byte compile on emacs 20.7).
3828
3829 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3830
3831         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3832         (elmo-folder-list-message-entities): New API.
3833         (elmo-message-entity): Ditto.
3834         (elmo-message-entity-parent): Ditto.
3835         (elmo-folder-do-each-message-entity): Ditto.
3836         (elmo-message-entity-number): Ditto.
3837         (elmo-message-entity-field): Ditto.
3838         (elmo-message-entity-set-field): Ditto.
3839         (elmo-folder-count-flags): Ditto.
3840         (elmo-folder-length): Ditto.
3841
3842         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3843         not.
3844
3845         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3846         (elmo-msgdb-count-marks): Abolish.
3847         (elmo-msgdb-make-entity): Ditto.
3848         (elmo-msgdb-do-each-entity): Ditto.
3849         (elmo-msgdb-message-entity): New inline function.
3850         (elmo-msgdb-message-entity-field): Ditto.
3851         (elmo-msgdb-message-entity-set-field): Ditto.
3852         (elmo-msgdb-make-message-entity): New function.
3853
3854 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3855
3856         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3857         to flag. (All other related portions are changed.)
3858         (elmo-folder-msgdb-create): Likewise.
3859         (elmo-generic-folder-append-messages): Use flag-table instead of
3860         seen-list.
3861         (elmo-folder-move-messages): Removed redundant process.
3862         (elmo-folder-synchronize): Likewise.
3863
3864         * elmo-msgdb.el (elmo-flag-table-get): New function.
3865         (elmo-flag-table-save): Fixed.
3866         (elmo-msgdb-length): New inline function.
3867         (elmo-msgdb-flag-table): New function.
3868         (elmo-msgdb-mark): Add optional argument new.
3869         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3870         (elmo-msgdb-seen-list): Ditto.
3871         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3872
3873
3874 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3875
3876         * elmo.el (elmo-message-set-mark): Abolish.
3877         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3878         (All related portions are changed.)
3879
3880         * elmo-msgdb.el (toplevel): Added comment.
3881         (elmo-load-msgdb): Added 4th element `path'.
3882         (elmo-msgdb-append): Follow the change above.
3883         (elmo-msgdb-clear): Ditto.
3884         (elmo-msgdb-delete-msgs): Ditto.
3885         (elmo-msgdb-get-path): New inline function.
3886         (elmo-msgdb-set-path): Ditto.
3887         (elmo-flag-table-filename): New variable.
3888         (elmo-flag-table-load): New function.
3889         (elmo-flag-table-set): Ditto.
3890         (elmo-flag-table-save): Ditto.
3891         (elmo-msgdb-get-field-value): Abolish.
3892         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3893
3894 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3895
3896         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3897         the folder has been deleted successfully.
3898         * elmo-imap4.el (elmo-folder-delete): Ditto.
3899         * elmo-archive.el (elmo-folder-delete): Ditto.
3900         * elmo-localdir.el (elmo-folder-delete): Ditto.
3901         * elmo-maildir.el (elmo-folder-delete): Ditto.
3902
3903 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3904
3905         * elmo-util.el (elmo-string-member-ignore-case): New function.
3906         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3907         (elmo-imap4-fetch-callback-1-subr): Likewise.
3908
3909 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3910
3911         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3912         the case of the name attribute "\Noselect".
3913
3914 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3915
3916         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3917
3918         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3919         flist, is not always a member of onum-alist.
3920
3921 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3922
3923         * elmo-version.el (elmo-version): Up to 2.11.3.
3924
3925 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3926
3927         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3928         copied from localdir's one.
3929
3930         * elmo-pipe.el (elmo-folder-rename): New method, rename
3931         destination folder with leaving source folder as it is.
3932
3933 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3934
3935         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3936         replace-regexp.
3937
3938 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3939
3940         * elmo-version.el (elmo-version): Up to 2.11.2.
3941
3942 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3943
3944         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3945         shimbun-open in case of "@".
3946         (elmo-folder-open-internal): Cope with shimbun = nil case.
3947         (elmo-folder-plugged-p): Ditto.
3948         (elmo-folder-list-subfolders): Make list for "@/" group.
3949
3950 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3951
3952         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3953         mailbox (e.g. for %~/something).
3954
3955 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3956
3957         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3958         Replace nested conditional with guard clauses.
3959
3960 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3961
3962         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3963         error [wl:11327].
3964
3965         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3966         print-depth.
3967
3968 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3969
3970         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3971         Replace nested conditional with guard clauses.
3972
3973 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3974
3975         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3976         (elmo-passwd-alist-save): Ditto.
3977         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3978
3979 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3980
3981         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3982         dir-name only if it is absolute path.
3983         (TODO: distinguish +/something and +something)
3984
3985 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3986
3987         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3988         path for "+~/something".
3989
3990 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3991
3992         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3993         as non-directory, cause error before rename-file.
3994         * elmo-archive.el (elmo-folder-rename-internal): Create directory
3995         apropriately, mimic localdir's one.
3996         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3997
3998 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
3999
4000         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4001
4002 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4003
4004         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4005
4006         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4007         
4008         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4009         is included in the global-mark or not.
4010
4011 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4012
4013         * utf7.el (toplevel): Avoid error when the function
4014         find-coding-system does not exist.
4015
4016 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4017
4018         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4019         cache even if the folder is plugged.
4020         (elmo-nntp-search-primitive): Do nothing when body search is
4021         invoked (although it is not used by the change above).
4022         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4023
4024 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4025
4026         * elmo-version.el (elmo-version): Up to 2.11.1.
4027
4028 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4029
4030         * elmo-archive.el: Specify charset.
4031
4032 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4033
4034         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4035         process buffer lives or not.
4036
4037         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4038         while flushing queues (It causes infinite loop).
4039
4040 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4041
4042         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4043
4044 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4045
4046         * utf7.el (toplevel): Check the ucs features dynamically.
4047         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4048
4049         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4050         folder is creatabe or not if it already exists.
4051
4052 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4053
4054         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4055
4056         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4057
4058         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4059         (elmo-imap4-read-response): Take care of garbage response.
4060
4061 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4062
4063         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4064         just return nil instead of error.
4065
4066 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4067
4068         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4069         search-key is "body".
4070
4071 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4072
4073         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4074         of elmo-string-matched-assoc to use match-data.
4075         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4076
4077 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4078
4079         * elmo-split.el (elmo-split->): New function.
4080         (elmo-split-<): Ditto.
4081
4082 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4083
4084         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4085         workaround for invalid message-id.
4086
4087 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4088
4089         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4090         return normal pop3 session or pop3 biff session.
4091
4092 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4093
4094         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4095         info part to the cur files when the new files already have it.
4096         (Adviced by Jared Rhine <jared@wordzoo.com>)
4097
4098 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4099
4100         * elmo-split.el (elmo-split-default-action): New variable.
4101         (elmo-split-subr): Use it if all other conditions are passed.
4102         Extend `fname' and rename it as `action'. (implemented
4103         Teranishi-san's idea in [wl:10800])
4104
4105 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4106
4107         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4108         * elmo-util.el: Ditto.
4109
4110 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4111
4112         * elmo.el (elmo-message-accessible-p): Renamed from
4113         elmo-message-cached-p and rewritten.
4114
4115 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4116
4117         * elmo.el (elmo-folder-list-flagged): New generic function.
4118         (elmo-folder-list-importants): New implementation.
4119         (elmo-folder-list-answereds): Ditto.
4120         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4121         Added 'digest'.
4122         (elmo-message-cached-p): New function.
4123         (elmo-message-set-flag): Ditto (no content).
4124         (elmo-message-unset-flag): Ditto.
4125         (elmo-folder-list-messages-mark-match): Abolish.
4126
4127         * elmo-util.el (elmo-regexp-opt): New function.
4128
4129         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4130         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4131         Added 'digest'.
4132         (elmo-msgdb-list-flagged): New function.
4133
4134         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4135         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4136         Added 'digest'.
4137
4138         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4139
4140 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4141
4142         * elmo-version.el (elmo-version): Up to 2.11.0.
4143
4144 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4145
4146         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4147         `elmo-file-cache-exists-p'; use proper mark that depends on
4148         `use-cache'.
4149         (elmo-msgdb-unset-flag): Ditto.
4150         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4151
4152         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4153         with 4th argument `use-cache'.
4154
4155 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4156
4157         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4158         (elmo-folder-mark-as-important): Ditto.
4159         (elmo-folder-unmark-read): Ditto.
4160         (elmo-folder-mark-as-read): Ditto.
4161         (elmo-folder-unmark-answered): Ditto.
4162         (elmo-folder-mark-as-answered): Ditto.
4163
4164         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4165         message status.
4166         (elmo-msgdb-mark): Likewise.
4167         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4168         (elmo-msgdb-unset-flag): Likewise.
4169
4170         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4171
4172 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4173
4174         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4175         `last:' filter.
4176
4177 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4178
4179         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4180         set spool-length to 0.
4181
4182 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4183
4184         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4185         (elmo-dop-queue-flush): Fixed last change.
4186
4187 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4188
4189         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4190         if require-msgdb slot is nil.
4191         (elmo-folder-list-importants): Likewise.
4192
4193 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4194
4195         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4196         mark is changed.
4197
4198         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4199         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4200         is changed.
4201
4202 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4203
4204         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4205
4206 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4207
4208         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4209
4210         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4211
4212 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4213
4214         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4215         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4216
4217 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4218
4219         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4220         the problem reported by Sean Rima [wl-en:180].
4221
4222 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4223
4224         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4225
4226         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4227
4228         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4229
4230         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4231
4232         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4233
4234         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4235
4236         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4237
4238 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4239
4240         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4241         status number.
4242
4243 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4244
4245         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4246         (elmo-folder-mark-as-read): Follow the API change.
4247         (elmo-message-set-cached): New function.
4248
4249         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4250
4251         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4252
4253         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4254         (elmo-folder-mark-as-important): Ditto.
4255         (elmo-folder-unmark-read): Ditto.
4256         (elmo-folder-mark-as-read): Ditto.
4257         (elmo-folder-unmark-answered): Ditto.
4258         (elmo-folder-mark-as-answered): Ditto.
4259
4260         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4261         (elmo-folder-unmark-important): Ditto.
4262         (elmo-folder-mark-as-read): Ditto.
4263         (elmo-folder-unmark-read): Ditto.
4264         (elmo-folder-mark-as-answered): Ditto.
4265         (elmo-folder-unmark-answered): Ditto.
4266
4267         * elmo-mark.el (toplevel): Removed some mark method definitions.
4268
4269         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4270         (elmo-map-folder-mark-as-answered): Ditto.
4271         (elmo-folder-unmark-important): Add :before qualifier.
4272         (elmo-folder-mark-as-important): Ditto.
4273         (elmo-folder-unmark-read): Ditto.
4274         (elmo-folder-mark-as-read): Ditto.
4275         (elmo-folder-unmark-answered): Define.
4276         (elmo-folder-mark-as-answered): Ditto.
4277
4278         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4279         (elmo-map-folder-unmark-answered): Ditto.
4280
4281         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4282
4283         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4284         (elmo-folder-mark-as-important): Ditto.
4285         (elmo-folder-unmark-read): Ditto.
4286         (elmo-folder-mark-as-read): Ditto.
4287         (elmo-folder-unmark-answered): Ditto.
4288         (elmo-folder-mark-as-answered): Ditto.
4289
4290         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4291         `mark'; evaluate mark condition.
4292         (elmo-msgdb-match-condition-internal): New function.
4293         (elmo-msgdb-match-condition): Call it; changed argument.
4294
4295         * elmo.el (elmo-folder-search): Follow the API change on
4296         `elmo-msgdb-match-condition'.
4297
4298 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4299
4300         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4301         original mark is non-nil.
4302
4303 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4304
4305         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4306         (elmo-map-folder-list-answereds): New method.
4307         (elmo-folder-list-unreads): Add :around qualifier.
4308         (elmo-folder-list-importants): Ditto.
4309         (elmo-folder-list-answereds): Ditto.
4310
4311 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4312
4313         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4314
4315         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4316         method if msgdb is not required.
4317         (elmo-filter-folder-list-importants): Don't treat global-mark.
4318
4319         * elmo.el (elmo-folder-list-importants): Ditto.
4320
4321         * elmo-net.el (elmo-folder-list-importants): Ditto.
4322
4323         * elmo-map.el (elmo-folder-list-importants): Ditto.
4324
4325         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4326
4327         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4328         (elmo-imap4-folder-list-any-plugged): New function.
4329         (elmo-imap4-search-internal-primitive): Use it.
4330
4331         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4332         only when require-msgdb slot is non-nil.
4333         (elmo-folder-close): Clear target folder's msgdb.
4334
4335 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4336
4337         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4338         (elmo-pop3-msgdb-create-by-header): Ditto.
4339         (elmo-pop3-msgdb-create-message): Ditto.
4340
4341         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4342
4343         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4344
4345         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4346
4347         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4348         (elmo-folder-msgdb-create): Ditto.
4349         (elmo-nntp-folder-msgdb-create): Ditto.
4350         (elmo-nntp-msgdb-create-by-header): Ditto.
4351         (elmo-nntp-msgdb-create-message): Ditto.
4352         (elmo-folder-list-unreads): Define.
4353
4354         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4355         (elmo-folder-append-messages): Ditto.
4356         (elmo-folder-list-unreads): Define.
4357         (elmo-folder-list-importants): Ditto.
4358         (elmo-folder-list-answereds): Ditto.
4359
4360         * elmo-net.el (elmo-folder-list-unreads): Define.
4361         (elmo-folder-list-importants): Ditto.
4362         (elmo-folder-list-answereds): Ditto.
4363         (elmo-folder-list-answereds-plugged): Ditto.
4364         (elmo-folder-msgdb-create): Follow the API change.
4365         (elmo-folder-msgdb-create-unplugged): Ditto.
4366         (elmo-folder-unmark-answered): Define.
4367         (elmo-folder-mark-as-answered-unplugged): Ditto.
4368         (elmo-folder-unmark-answered-unplugged): Ditto.
4369
4370         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4371         (elmo-msgdb-unread-uncached-mark): Ditto.
4372         (elmo-msgdb-unread-cached-mark): Ditto.
4373         (elmo-msgdb-read-uncached-mark): Ditto.
4374         (elmo-msgdb-answered-cached-mark): Ditto.
4375         (elmo-msgdb-answered-uncached-mark): Ditto.
4376         (elmo-msgdb-important-mark): Ditto.
4377         (elmo-msgdb-set-mark): Rewrite.
4378         (elmo-msgdb-count-marks): Rewrite.
4379         (elmo-msgdb-mark-alist-set): Abolish.
4380         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4381         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4382
4383         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4384         (elmo-folder-close): Define.
4385         (elmo-folder-msgdb-create): Follow the API change.
4386         (elmo-folder-list-unreads): Rewrite.
4387         (elmo-folder-mark-as-important): Ditto.
4388         (elmo-folder-unmark-important): Ditto.
4389         (elmo-folder-mark-as-read): Ditto.
4390         (elmo-folder-unmark-read): Ditto.
4391         (elmo-folder-mark-as-answered): Define.
4392         (elmo-folder-unmark-answered): Ditto.
4393
4394         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4395         (elmo-folder-append-messages): Ditto.
4396
4397         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4398
4399         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4400         (elmo-folder-list-importants): Ditto.
4401
4402         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4403         (elmo-folder-append-messages): Ditto.
4404
4405         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4406         change.
4407         (elmo-folder-msgdb-create-plugged): Ditto.
4408         (elmo-folder-append-messages): Ditto.
4409         (elmo-folder-list-answereds-plugged): Define.
4410         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4411         (elmo-folder-unmark-answered-plugged): Define.
4412         (elmo-folder-mark-as-answered-plugged): Ditto.
4413         (elmo-folder-search-requires-msgdb-p): Ditto.
4414
4415         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4416         (elmo-folder-initialize): Set it.
4417         (elmo-folder-msgdb): Define.
4418         (elmo-folder-check): Call elmo-folder-synchronize.
4419         (elmo-folder-close): Define.
4420         (elmo-folder-commit): Ditto.
4421         (elmo-folder-msgdb-create): Rewrite.
4422         (elmo-folder-list-unreads): Ditto.
4423         (elmo-folder-list-importants): Ditto.
4424         (elmo-folder-mark-as-read): Ditto.
4425         (elmo-folder-unmark-read): Ditto.
4426         (elmo-folder-mark-as-important): Ditto.
4427         (elmo-folder-unmark-important): Ditto.
4428         (elmo-folder-mark-as-answered): Define.
4429         (elmo-folder-unmark-answered): Ditto.
4430
4431         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4432         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4433         (elmo-dop-queue-method-name-alist): Likewise.
4434         (elmo-folder-mark-as-answered-dop): New inline function.
4435         (elmo-folder-unmark-answered-dop): Ditto.
4436         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4437
4438         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4439         (elmo-folder-msgdb-create): Ditto.
4440         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4441         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4442         (elmo-archive-parse-mmdf): Ditto.
4443
4444         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4445         (elmo-folder-list-unreads-internal): Ditto.
4446
4447         * elmo.el (elmo-folder-msgdb): Define as generic function.
4448         (elmo-folder-list-messages): Added argument `in-msgdb'.
4449         (elmo-folder-list-unreads): Define as generic function.
4450         (elmo-folder-list-importants): Ditto.
4451         (elmo-folder-list-answereds): Ditto.
4452         (elmo-folder-list-messages-with-global-mark): New function.
4453         (elmo-folder-msgdb-create): Removed mark arguments.
4454         (elmo-folder-unmark-answered): New generic function.
4455         (elmo-folder-mark-as-answered): Ditto.
4456         (elmo-folder-append-messages): Removed argunment `unread-marks'
4457         (elmo-folder-list-unreads-internal): Abolish.
4458         (elmo-folder-list-importants-internal): Ditto.
4459         (elmo-folder-search-requires-msgdb-p): New generic function.
4460         (elmo-folder-search-requires-msgdb-p-internal): New function.
4461         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4462         elmo-msgdb-load.
4463         (elmo-folder-search-fast): Added key 'mark'.
4464         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4465         instead of unread-marks argument.
4466         (elmo-folder-move-messages): Removed argunment `unread-marks'
4467         (elmo-folder-unmark-important): Define.
4468         (elmo-folder-mark-as-important): Ditto.
4469         (elmo-folder-unmark-read): Ditto.
4470         (elmo-folder-mark-as-read): Ditto.
4471         (elmo-folder-unmark-answered): Ditto.
4472         (elmo-folder-mark-as-answered): Ditto.
4473         (elmo-folder-replace-marks): Abolish.
4474         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4475         duplicates.
4476         (elmo-folder-synchronize): Removed mark arguments;
4477         return crosspost only number.
4478
4479 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4480
4481         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4482         Remove redundunt connectivity check.
4483
4484 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4485
4486         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4487         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4488
4489 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4490
4491         * pldap.el (ldap-decode-string): Return string as-is if
4492         `ldap-coding-system' is nil.
4493         (ldap-encode-string): Ditto.
4494         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4495         (ldap-default-host): Fixed docstring.
4496
4497 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4498
4499         * elmo-util.el (elmo-warning): Define as a macro which uses
4500         `display-warning' if it is defined as a function.
4501
4502         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4503         (elmo-split-equal): Use it.
4504         (elmo-split-match): Ditto.
4505         (elmo-split-message-entity): New buffer-local variable.
4506         (elmo-split-subr): Set it.
4507
4508         * elmo-version.el (elmo-version): Up to 2.9.15.
4509
4510 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4511
4512         * elmo-imap4.el (elmo-network-initialize-session):
4513         Check capability after starttls.
4514
4515 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4516
4517         * elmo-util.el (elmo-list-delete): Added optional argument
4518         DELETE-FUNCTION.
4519
4520         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4521
4522         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4523
4524         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4525
4526         * elmo-imap4.el (elmo-folder-initialize): Don't use
4527         elmo-imap4-default-mailbox.
4528
4529 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4530
4531         * elmo-split.el (toplevel): Use `product-provide'.
4532         (elmo-split): Checkdoc.
4533
4534 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4535
4536         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4537         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4538         the function `elmo-imap4-debug-1'.
4539
4540 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4541
4542         * elmo-split.el (elmo-split): Moved to run hooks and to show
4543         message from elmo-split-subr.
4544         (elmo-split-subr): Follow the change above.
4545
4546         * elmo-split.el (elmo-split-subr): New function (renamed from
4547         elmo-split-subr).
4548         (elmo-split): Changed to call elmo-split-subr by element of
4549         elmo-split-folder.
4550         (elmo-split-folder): Changed customization type to choice.
4551
4552 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4553
4554         * elmo-split.el (elmo-split-and): Fixed condition.
4555
4556 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4557
4558         * elmo-split.el: New file.
4559         (elmo-split): Fixed logic.
4560         Display "Test:" instead of "Folder:" when reharsal.
4561
4562         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4563         explicitly.
4564
4565         * elmo-version.el (elmo-version): Up to 2.9.14.
4566
4567         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4568         wl-expand-newtext).
4569
4570 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4571
4572         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4573         message with no message-id field.
4574
4575 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4576
4577         * elmo-version.el (elmo-version): Up to 2.9.13.
4578
4579         * elmo-dop.el (elmo-folder-status-dop): Fix.
4580
4581 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4582
4583         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4584
4585         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4586         changing default value of default-mime-charset.
4587         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4588
4589         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4590
4591         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4592         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4593         instead of elmo-dop-queue-method-name-alist to check merging queue.
4594         (elmo-folder-delete-messages-dop): Delete from queue if negative
4595         message number.
4596         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4597         file is already removed.
4598
4599 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4600
4601         * elmo-vars.el: Bind colon keywords for old Emacsen.
4602
4603 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4604
4605         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4606         against non-exsisting charset.
4607
4608 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4609
4610         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4611         Use eword-decode-and-unfold-unstructured-field-body.
4612
4613         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4614         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4615         exists to decode raw subject string.
4616         (toplevel): Require 'mime.
4617
4618         * elmo-version.el (elmo-version): Up to 2.9.12.
4619
4620 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4621
4622         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4623         (elmo-msgdb-set-mark): Ditto.
4624
4625         * elmo-version.el (elmo-version): Up to 2.9.11.
4626
4627 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4628
4629         * elmo-util.el (elmo-delete-match-files): New function.
4630
4631         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4632         instead of elmo-delete-directory.
4633
4634         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4635         elmo-hash-minimun-size as 63.
4636
4637         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4638         elmo-diff-unread is nil.
4639
4640         * elmo-imap4.el (elmo-folder-open): Fix.
4641
4642         * elmo.el (elmo-message-mark): Rewrite.
4643         (elmo-message-field): Ditto.
4644         (elmo-message-set-mark): Ditto.
4645         (elmo-folder-replace-marks): New function.
4646         (elmo-generic-folder-append-msgdb): Removed third argument for
4647         elmo-msgdb-append.
4648         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4649         (elmo-msgdb-load): New implementation.
4650
4651         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4652
4653         * elmo-util.el (elmo-list-insert): New implementation.
4654
4655         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4656         argument for elmo-msgdb-append.
4657         
4658
4659         * elmo-msgdb.el (elmo-load-msgdb): New function.
4660         (elmo-make-msgdb): Ditto.
4661         (elmo-msgdb-get-index): New inline function.
4662         (elmo-msgdb-set-index): Ditto.
4663         (elmo-msgdb-get-entity-hashtb): Ditto.
4664         (elmo-msgdb-get-mark-hashtb): Ditto.
4665         (elmo-msgdb-get-mark): Ditto.
4666         (elmo-msgdb-set-mark): Ditto.
4667         (elmo-msgdb-count-marks): Ditto.
4668         (elmo-msgdb-get-number): Ditto.
4669         (elmo-msgdb-get-field): Ditto.
4670         (elmo-msgdb-seen-list): Ditto.
4671         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4672         (elmo-msgdb-delete-msgs): Follow the changes above.
4673         (elmo-msgdb-overview-get-entity): Ditto.
4674         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4675         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4676         and rewritten.
4677         (elmo-msgdb-make-index): Likewise.
4678         (elmo-msgdb-append): Removed third argument.
4679         (elmo-msgdb-clear): Clear index as nil.
4680         (elmo-folder-set-info-hashtb): Removed.
4681         (elmo-folder-set-info-max-by-numdb): Ditto.
4682         (elmo-folder-info-make-hashtb): Ditto.
4683
4684         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4685
4686         * elmo-map.el (elmo-folder-pack-number): Ditto.
4687
4688 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4689
4690         * elmo-version.el (elmo-version): Up to 2.9.10.
4691
4692         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4693
4694         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4695
4696 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4697
4698         * elmo-utils.el (elmo-make-directory): Add option.
4699         Default file mode is 700.
4700
4701 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4702
4703         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4704
4705 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4706
4707         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4708         mime-charset.
4709
4710         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4711         and "smaller".
4712
4713 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4714
4715         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4716         (elmo-shimbun-folder-entity-hash): New function.
4717         (elmo-shimbun-folder-shimbun-header): Ditto.
4718         (elmo-shimbun-entity-to-header): Ditto.
4719         (elmo-shimbun-msgdb-to-headers): Removed.
4720         (elmo-shimbun-folder-setup): Ditto.
4721         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4722         for hash key.
4723         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4724         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4725         Removed useless local bind.
4726         (elmo-folder-open-internal): Don't call
4727         `elmo-shimbun-folder-setup'.
4728         (elmo-folder-close-internal): Clear entity-hash slot.
4729         (elmo-folder-clear): Ditto.
4730         (elmo-shimbun-msgdb-create-entity): Use
4731         `elmo-shimbun-folder-shimbun-header'.
4732         (elmo-map-message-fetch): Ditto.
4733         (elmo-shimbun-update-overview): Use overview entity instead of
4734         shimbun header to lookup id by references.
4735         (elmo-map-folder-list-message-locations): Use not only headers but
4736         also overviews to list locations.
4737
4738 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4739
4740         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4741         msgdb path.
4742
4743         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4744
4745 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4746
4747         * elmo-util.el (elmo-read-search-condition-internal): Give default
4748         value for date.
4749
4750 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4751
4752         * elmo-util.el (elmo-condition-parse-search-value): Accept
4753         YYYY-MM-DD format to search.
4754         * elmo-date.el (elmo-date-get-datevec): Likewise.
4755
4756 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4757
4758         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4759         debugging code.
4760
4761 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4762
4763         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4764         from t.
4765
4766         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4767
4768         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4769         case from `elmo-folder-exists-p'.
4770         (elmo-folder-exists-p): Removed.
4771         (elmo-folder-creatable-p) Ditto.
4772
4773         * elmo-net.el (elmo-folder-create): Defined.
4774         (elmo-folder-create-unplugged): New function.
4775         (elmo-folder-exists-p): Changed default value to nil from t.
4776
4777         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4778         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4779
4780         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4781         `elmo-create-folder-dop' and append queue
4782         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4783         (elmo-folder-create-dop-delayed): New function.
4784
4785         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4786
4787         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4788
4789         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4790         (elmo-folder-writable-p) : Ditto.
4791
4792         * elmo-version.el (elmo-version): Up to 2.9.9.
4793
4794 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4795
4796         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4797         `elmo-message-use-cache-p' returns nil.
4798         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4799         (ignore cache file and refer the substance in local folders)
4800
4801 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4802
4803         * elmo-version.el (elmo-version): Up to 2.9.8.
4804
4805 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4806
4807         * elmo-version.el (elmo-version): Up to 2.9.7.
4808
4809         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4810
4811 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4812
4813         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4814
4815 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4816
4817         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4818         from --early.
4819         (elmo-map-folder-list-message-locations): Reverse location list.
4820
4821 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4822
4823         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4824
4825 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4826
4827         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4828         as a key.
4829         (elmo-nntp-folder-list-subfolders): Follow the change above.
4830
4831 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4832
4833         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4834         name if authentication type is specified.
4835
4836 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4837
4838         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4839         variable.
4840         (elmo-default-nntp-stream-type): Ditto.
4841         (elmo-default-pop3-stream-type): Ditto.
4842
4843 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4844
4845         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4846
4847 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4848
4849         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4850         elmo-vars.el.
4851         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4852
4853         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4854         (elmo-maildir-folder-path): Ditto.
4855         (elmo-maildir-list): Ditto (abolished).
4856
4857 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4858
4859         * elmo-version.el (elmo-version): Up to 2.9.6.
4860
4861 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4862
4863         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4864         (elmo-maildir-folder-path): Ditto.
4865         (elmo-msgdb-directory): Ditto.
4866         (elmo-passwd-life-time): Ditto.
4867         (elmo-msgdb-extra-fields): Ditto.
4868         (elmo-enable-disconnected-operation): Ditto.
4869
4870 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4871
4872         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4873         other choices.
4874         (elmo-pop3-default-authenticate-type): Ditto.
4875
4876 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4877
4878         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4879         choices for custom.
4880         (elmo-pop3-default-authenticate-type): Ditto.
4881
4882 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4883
4884         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4885         mailbox to new-folder.
4886
4887 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4888
4889         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4890         less than new, set new as unread.
4891
4892         * elmo-util.el (elmo-string): Don't put text-property if nil.
4893
4894 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4895
4896         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4897         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4898
4899 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4900
4901         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4902         is nil on `completing-read'.
4903
4904 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4905
4906         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4907         for namespace part.
4908         (elmo-imap4-parse-namespace-subr): Ditto.
4909         (elmo-folder-list-subfolders): Append a delimiter when the specified
4910         folder path is a root with namespace and does not end with delimiter.
4911
4912 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4913
4914         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4915         was used.
4916
4917 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4918
4919         * elmo-util.el (elmo-save-buffer): The first argument of message
4920         is a format control string.
4921
4922 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4923
4924         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4925         `elmo-folder-diff').
4926         (elmo-diff-unread): Likewise.
4927
4928 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4929
4930         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4931         is t on `completing-read'.
4932
4933 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4934
4935         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4936         method of target folder with self mark-alist if MARK-ALIST is nil.
4937
4938 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4939
4940         * elmo-version.el (elmo-version): Up to 2.9.5.
4941
4942 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4943
4944         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4945         (elmo-dop-merge-funcs): Remove.
4946
4947 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4948
4949         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4950         Return t if PATH is directory, too.
4951         Use `dolist' instead of while loop.
4952
4953 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4954
4955         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4956         is deleted.
4957
4958 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4959
4960         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4961         return value to t.
4962         (elmo-folder-list-messages-unplugged): Return t if
4963         elmo-enable-disconnected-operation is nil.
4964
4965         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4966         `elmo-folder-list-messages-internal'.
4967
4968 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4969
4970         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4971         Change to looking-at `[23][0-9]+'.
4972         (elmo-network-initialize-session): Use 'error-msg'
4973         * elmo-net.el (elmo-network-open-session): Set unplugged
4974         if elmo-network-initialize-session returns 'elmo-open-err.
4975
4976 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4977
4978         * elmo-version.el (elmo-version): Up to 2.9.4.
4979
4980 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4981
4982         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4983         `elmo-folder-list-messages-internal'.
4984
4985 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4986
4987         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4988         (elmo-message-match-condition): New method.
4989         (elmo-folder-search-fast): New inline function.
4990         (elmo-msgdb-search): Removed.
4991
4992         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4993         target folder if it is unplugged.
4994         (elmo-folder-list-messages-internal): Return t if target folder is
4995         unplugged and itself is persistent; In this case, use list be
4996         searched already.
4997
4998         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4999         (elmo-msgdb-search-internal-primitive): Ditto.
5000         (elmo-msgdb-match-condition): New function.
5001         (elmo-msgdb-match-condition-primitive): Ditto.
5002
5003         * elmo-util.el (elmo-filter-condition-p): New macro.
5004
5005         * elmo-cache.el (elmo-folder-search): Removed.
5006
5007         * elmo-localdir.el (elmo-folder-search): Ditto.
5008
5009         * elmo-maildir.el (elmo-folder-search): Ditto.
5010
5011         * elmo-mark.el (elmo-folder-search): Ditto.
5012
5013         * elmo-nmz.el (elmo-folder-search): Ditto.
5014
5015         * elmo-sendlog.el (elmo-folder-search): Ditto.
5016
5017         * elmo-shimbun.el (elmo-folder-search): Ditto.
5018
5019         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5020         if folder is unplugged.
5021
5022         * elmo-nntp.el (elmo-folder-search): Likewise.
5023         (elmo-nntp-search-internal): New function.
5024
5025         * elmo-version.el (elmo-version): Up to 2.9.3.
5026
5027 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5028
5029         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5030
5031 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5032
5033         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5034
5035 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5036
5037         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5038
5039 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5040
5041         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5042         (elmo-map-folder-list-message-locations): Do drive letter conversion
5043         on Windows environment.
5044         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5045         (elmo-map-message-fetch): Ditto.
5046
5047 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5048
5049         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5050         (elmo-network-initialize-session): Ditto.
5051
5052 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5053
5054         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5055
5056         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5057
5058         * elmo-util.el (elmo-progress-clear): Ditto.
5059
5060         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5061         `DD-Mon-YYYY' type date.
5062
5063 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5064
5065         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5066         `elmo-date-make-sortable-string' instead of
5067         `timezone-make-date-sortable'.
5068
5069         * elmo-date.el (elmo-date-make-sortable-string): Use
5070         `timezone-make-time-string'.
5071
5072 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5073
5074         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5075
5076         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5077         `since'; Fix timezone.
5078
5079         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5080
5081         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5082
5083 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5084
5085         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5086
5087 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5088
5089         * elmo.el (elmo-generic-folder-append-messages): Make
5090         fetch-strategy with `use-cache' as 'maybe. Check return value of
5091         `elmo-message-fetch'.
5092         (elmo-message-fetch): Return return value of
5093         `elmo-message-fetch-with-cache-process'.
5094         (elmo-message-fetch-with-cache-process): Return non-nil if
5095         fetching was succeed. Load cache when fetching was failed and
5096         fetch-strategy-use-cache is 'maybe.
5097
5098         * elmo-util.el (elmo-file-cache-load): New function.
5099
5100         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5101         defun.
5102
5103         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5104         non-nil if fetching was succeed.
5105
5106         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5107
5108         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5109
5110         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5111         (elmo-message-fetch-with-cache-process): Likwise.
5112
5113         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5114
5115         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5116
5117         * elmo-version.el (elmo-version): Up to 2.9.2.
5118
5119 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5120
5121         * elmo.el (elmo-folder-delete): Delete msgdb path.
5122
5123         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5124
5125         * elmo-maildir.el (elmo-folder-delete): Ditto.
5126
5127         * elmo-localdir.el (elmo-folder-delete): Ditto.
5128
5129         * elmo-imap4.el (elmo-folder-delete): Ditto.
5130
5131 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5132
5133         * elmo.el (luna-define-class): Added `biff' slot.
5134
5135         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5136         (elmo-pop3-debug-inhibit-logging): Abolished.
5137         (elmo-network-close-session): Eliminated needless let.
5138         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5139         (elmo-pop3-send-command): Added `no-log' argument.
5140         (elmo-pop3-process-filter): Use `with-current-buffer'.
5141         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5142         if login failure.
5143         (elmo-pop3-auth-apop): Likewise.
5144         (elmo-network-authenticate-session): Likewise.
5145
5146         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5147         if biff folder.
5148
5149         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5150         string to determine protocol.
5151         (elmo-network-session-name-prefix): Abolished.
5152         (elmo-network-session-cache-key): Follow the change above.
5153         (elmo-network-open-session): Ditto.
5154
5155         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5156         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5157
5158         * elmo-version.el (elmo-version): Up to 2.9.1.
5159
5160         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5161         unmatch condition checking.
5162
5163         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5164         condition.
5165
5166 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5167
5168         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5169
5170 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5171
5172         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5173         test for while loop to execute at least one SEARCH command.
5174
5175 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5176
5177         * elmo-version.el (elmo-version): Up to 2.9.0.
5178
5179 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5180
5181         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5182         (elmo-archive-folder-path): Define.
5183         (elmo-folder-initialize): Setup `dir-name' slot.
5184         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5185         Use `dir-name' as prefix of each subfolders.
5186         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5187
5188 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5189
5190         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5191         (elmo-pipe-folder-list-target-messages): New internal function.
5192         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5193         `killed-list'.
5194         (elmo-pipe-folder-copied-list-load): New function.
5195         (elmo-pipe-folder-copied-list-save): Ditto.
5196         (elmo-folder-open-internal): Follow the change above.
5197         (elmo-folder-status): Fixed for copy.
5198
5199 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5200
5201         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5202
5203 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5206         elmo-copy-file instead of elmo-add-name-to-file.
5207
5208         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5209
5210         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5211         "file://..." index.
5212
5213         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5214         of accept-process-output as 1.
5215         (elmo-pop3-read-contents): Ditto.
5216         (elmo-pop3-read-body): Ditto.
5217
5218 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5219
5220         * elmo-version.el (product-version-as-string): Remove define.
5221
5222 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5223
5224         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5225         (elmo-imap4-copy-messages): Chop number set using
5226         `elmo-imap4-number-set-chop-length'.
5227         (elmo-imap4-set-flag): Ditto.
5228         (elmo-imap4-search-internal-primitive): Ditto.
5229
5230 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5231
5232         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5233         `elmo-folder-make-temp-dir'
5234
5235         * elmo-vars.el (elmo-cache-directory): New variable.
5236         (elmo-cache-dir): Abolished.
5237         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5238
5239         * elmo-version.el (elmo-version): Up to 2.7.7.
5240
5241 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5242
5243         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5244         defcustom; Set default value as t.
5245
5246 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5247
5248         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5249         (ldap-search-program-arguments): Changed default value.
5250         (ldap-search-basic): Accept exit status 4.
5251         (ldap/field-body): Parse options.
5252         (ldap/collect-field): Ditto.
5253         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5254
5255         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5256         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5257         (elmo-imap4-accept-ok): Ditto.
5258         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5259         'notify-bye, only BYE error is reported.
5260         (elmo-folder-exists-p-plugged): Set no-error argument of
5261         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5262
5263         * elmo.el (elmo-imap4-bye-error): Changed message.
5264
5265         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5266         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5267         queues (It causes infinite loop).
5268
5269 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5270
5271         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5272         (RECENT UNSEEN MESSAGES) extension.
5273
5274 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5275
5276         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5277         Check number of overview fields.
5278
5279 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5280
5281         * elmo.el (elmo-folder-confirm-appends): Changed message.
5282         (elmo-folder-confirm-appends): Ditto.
5283
5284         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5285         `with-temp-buffer'.
5286         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5287
5288 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5289
5290         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5291         of elmo-folder-update-threshold is nil, which can be set by
5292         wl-summary-update-confirm-threshold.
5293
5294 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5295
5296         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5297         (elmo-nmz-index-alias-alist): Ditto.
5298         (elmo-map-folder-list-message-locations): Follow the change above.
5299
5300 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5301
5302         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5303
5304         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5305
5306         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5307
5308         * elmo-util.el (elmo-read): Ditto.
5309         (elmo-display-error): Ditto.
5310
5311         * elmo-vars.el (elmo-date-match): Ditto.
5312
5313         * pldap.el (ldap-coding-system): Ditto.
5314
5315         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5316         `elmo-inhibit-number-mapping' as nil.
5317
5318 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5319
5320         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5321         space delimiter for list response.
5322
5323 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5324
5325         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5326
5327 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5328
5329         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5330         (elmo-map-message-fetch): Fix.
5331         * elmo-map.el (elmo-folder-status): Fix for killed.
5332
5333 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5334
5335         * elmo-sendlog.el: New file.
5336         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5337
5338 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5339
5340         * acap.el (acap-logging-out): New buffer local variable.
5341         (acap-close): Set it.
5342         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5343         an error.
5344
5345 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5346
5347         * acap.el (acap-response-bye-p): New function.
5348         (acap-response-bye-message): Ditto.
5349         (acap-wait-for-response): If bye response is received, cause an error.
5350         (acap-parse-response): Make bye response when 'Bye' is received.
5351
5352 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5353
5354         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5355
5356 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5357
5358         * elmo-util.el (elmo-copy-file): Added argument
5359         `ok-if-already-exists'.
5360         (elmo-copy-file): Fixed typo.
5361
5362 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5363
5364         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5365
5366 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5367
5368         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5369
5370 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5371
5372         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5373         to killed-list.
5374
5375 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5376
5377         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5378         (elmo-folder-initialize): Fix for `copy'.
5379         (elmo-pipe-drain): Ditto.
5380         (elmo-folder-open-internal): Ditto.
5381         (elmo-folder-newsgroups): Fix.
5382
5383 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5384
5385         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5386         for each message.
5387
5388         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5389         recent value is returned from imap folder.
5390
5391         * elmo.el (elmo-folder-newsgroups): New generic function.
5392
5393         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5394         (elmo-folder-initialize): Set it.
5395         (elmo-folder-expand-msgdb-path): Use it.
5396         (elmo-folder-newsgroups): Define.
5397
5398         * elmo-filter.el (elmo-folder-newsgroups): Define.
5399
5400         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5401
5402         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5403
5404         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5405
5406 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5407
5408         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5409         user option.
5410         (elmo-shimbun-header-extra-field): New inline function.
5411         (elmo-shimbun-header-set-extra-field): Ditto.
5412         (elmo-shimbun-folder-header-hash-setup): Ditto.
5413         (elmo-shimbun-update-overview): Ditto.
5414         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5415         (elmo-shimbun-folder-setup): Use
5416         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5417         (elmo-shimbun-get-headers): Ditto.
5418         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5419         Insert `X-Shimbun-Id:' header if extra field is set.
5420         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5421         field's value instead of `shimbun-header-id'.
5422
5423         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5424         inline function.
5425         (elmo-msgdb-overview-entity-set-date): Ditto.
5426         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5427
5428 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5429
5430         * mmimap.el (mmimap-entity-section): Changed body node number from
5431         "0" to "1".
5432
5433 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5434
5435         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5436         `elmo-folder-delete-messages'.
5437
5438         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5439         (elmo-folder-initialize): Changed to expand alias into index path.
5440
5441         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5442         `elmo-mime-insert-header-from-buffer' with 6th arg
5443         `sorted-fields'.
5444
5445 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5446
5447         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5448
5449         * elmo.el (elmo-diff-new): New inline function.
5450         (elmo-diff-unread): Ditto.
5451         (elmo-diff-all): Ditto.
5452
5453         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5454         value from responseb.
5455         (elmo-imap4-folder-diff-plugged): Ditto.
5456         (elmo-imap4-server-diff-async): Added recent argument.
5457         (elmo-server-diff-async): Ditto.
5458         (elmo-imap4-folder-diff-plugged): Ditto.
5459
5460         * elmo-version.el (elmo-version): Up to 2.7.6.
5461
5462 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5463
5464         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5465         in quoted-stirng.
5466
5467 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5468
5469         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5470
5471         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5472
5473         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5474
5475         * elmo-multi.el (elmo-folder-initialize): Ditto.
5476
5477         * elmo-util.el (elmo-parse-token): New function.
5478         (elmo-parse-prefixed-element): Ditto.
5479
5480 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5481
5482         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5483         delete process.
5484         (elmo-imap4-accept-ok): Ditto.
5485
5486 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5487
5488         * mmimap.el (mime-imap-entity-header-string): Don't check first
5489         element of node-id is `0' (Follow last change).
5490
5491 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5492
5493         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5494         assigned irregular node-id to nested multipart section.
5495         (initialize-instance): Followed above change.
5496
5497 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5498
5499         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5500         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5501         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5502         `elmo-shimbun-get-headers');
5503         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5504         visible article on summary exists in headers).
5505         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5506
5507 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5508
5509         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5510         definition.
5511
5512 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5513
5514         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5515
5516 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5517
5518         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5519         header separator into loop condition.
5520
5521 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5522
5523         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5524         Return duplicate folder if it has subfolder.
5525
5526 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5527
5528         * elmo.el (elmo-make-folder): Add folder name error check.
5529
5530         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5531         (elmo-nntp-encode-group-string): New inline function.
5532         (elmo-nntp-decode-group-string): Ditto.
5533         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5534         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5535         Use `not' instead of `null';
5536         Use elmo-nntp-decode-group-string.
5537
5538         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5539
5540         * elmo-version.el (elmo-version): Up to 2.7.5.
5541
5542 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5543
5544         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5545         Hide progress gauge if `elmo-folder-move-messages' exits
5546         nonlocally.
5547
5548 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5549
5550         * elmo-imap4.el (elmo-folder-initialize): Use
5551         `elmo-imap4-encode-folder-string' for folder name.
5552
5553 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5554
5555         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5556         `done'.
5557
5558 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5559
5560         * elmo-util.el (elmo-progress-counter-alist): New internal
5561         variable.
5562         (elmo-progress-counter-value): New macro.
5563         (elmo-progress-counter-all-value): Ditto.
5564         (elmo-progress-counter-format): Ditto.
5565         (elmo-progress-counter-set-value): Ditto.
5566         (elmo-progress-set): New function.
5567         (elmo-progress-clear): Ditto.
5568         (elmo-progress-notify): Ditto.
5569
5570         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5571         counter.
5572
5573         * elmo.el (elmo-generic-folder-append-messages): Call
5574         `elmo-progress-notify'.
5575         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5576
5577         * elmo-archive.el (elmo-folder-append-messages): Call
5578         `elmo-progress-notify'.
5579
5580         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5581
5582         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5583
5584         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5585
5586 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5587
5588         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5589         'Create'.
5590         (elmo-message-encache-dop): Added argument `read'.
5591
5592         * elmo-shimbun.el (elmo-message-encache): Ditto.
5593
5594         * elmo-net.el (elmo-message-encache): Ditto.
5595
5596         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5597         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5598         elmo-imap4-seen-messages.
5599         (elmo-folder-msgdb-create-plugged): Initialize
5600         elmo-imap4-seen-messages;
5601         Set seen mark on elmo-imap4-seen-messages.
5602
5603         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5604
5605         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5606         elmo-folder-append-buffer.
5607         (elmo-folder-encache): Added optional argument `read'.
5608         (elmo-message-encache): Ditto.
5609
5610         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5611
5612         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5613
5614         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5615         if append buffer content succeds.
5616
5617 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5618
5619         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5620         elmo-display-progress.
5621
5622         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5623         Set 4th argument of mime-display-message.
5624         (elmo-mime-display-as-is): Ditto.
5625
5626 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5627
5628         * elmo-nmz.el (toplevel): Require 'mime-edit.
5629         (elmo-nmz-content-type-alist): Abolished.
5630         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5631         content is not a message.
5632         (elmo-map-message-fetch): Changed behavior exept for message content;
5633         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5634         content-type, Add From: and Subject: field.
5635
5636 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5637
5638         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5639         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5640         not a message.
5641
5642 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5643
5644         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5645         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5646
5647         * elmo-archive.el (elmo-folder-writable-p): Defined.
5648
5649         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5650
5651         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5652
5653         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5654
5655         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5656
5657         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5658
5659         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5660
5661         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5662
5663         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5664
5665 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5666
5667         * elmo-util.el (elmo-address-quote-specials): New function;
5668         Renamed from `wl-address-quote-specials'.
5669
5670 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5671
5672         * elmo-version.el (elmo-version): Up to 2.7.4.
5673
5674 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5675
5676         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5677
5678 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5679
5680         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5681         both compile-time and run-time to avoid byte-compile warning.
5682
5683 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5684
5685         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5686
5687 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5688
5689         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5690         option.
5691         (elmo-mime-display-as-is-internal): Use it.
5692
5693         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5694         if `read-passwd' is not defined.
5695
5696 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5697
5698         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5699         by original number.
5700         (elmo-folder-status): Call `elmo-folder-open-internal';
5701         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5702         (elmo-folder-close-internal): Set location-alist as nil.
5703         (elmo-folder-clear): Define.
5704         (elmo-folder-check): Don't set location-alist as nil.
5705
5706         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5707
5708 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5709
5710         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5711         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5712
5713         * mmimap.el (mime-imap-entity::requested): New slot.
5714         (mime-imap-location-fetch-entity-p): New generic function.
5715         (mime-decode-parameters): Define using `defun-maybe'.
5716         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5717         content-type structure.
5718         (mime-entity-body): Return empty body if
5719         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5720
5721         * elmo.el (elmo-message-displaying): New variable.
5722
5723         * elmo-mime.el (elmo-mime-message-display): Bind
5724         elmo-message-displaying as t.
5725
5726         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5727
5728 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5729
5730         * acap.el (acap-open): erase buffer before starting network process.
5731         (acap-store): Rewrite.
5732
5733 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5734
5735         * elmo-imap4.el (elmo-imap4-default-mailbox,
5736         elmo-imap4-default-server
5737         elmo-imap4-default-authenticate-type,
5738         elmo-imap4-default-user,
5739         elmo-imap4-default-port,
5740         elmo-imap4-default-stream-type,
5741         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5742
5743         * elmo-pop3.el (elmo-pop3-default-user,
5744         elmo-pop3-default-server,
5745         elmo-pop3-default-authenticate-type,
5746         elmo-pop3-default-port,
5747         elmo-pop3-default-stream-type,
5748         elmo-pop3-stream-type-alist): Ditto.
5749
5750         * elmo-nntp.el (elmo-nntp-default-server,
5751         elmo-nntp-default-user,
5752         elmo-nntp-default-port,
5753         elmo-nntp-default-stream-type,
5754         elmo-nntp-stream-type-alist): Ditto.
5755
5756         * elmo-vars.el: Follow changes above.
5757         (elmo-setting): New custom group; added 'elmo-setting group to
5758         above variables.
5759
5760         * elmo-version.el (elmo-version): Up to 2.7.3.
5761
5762         * acap.el (acap-parse-response): Don't delete process when BYE
5763         response (It causes hang-up on slow network environment).
5764         (toplevel): Added comment.
5765
5766 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5767
5768         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5769
5770         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5771         parsing NIL.
5772         (acap-parse-return-metadata): Ditto.
5773
5774         * slp.el: New file.
5775         (toplevel): Fixed typo.
5776
5777         * acap.el: New file.
5778         (acap-network-stream-open): Show "Connecting..." message.
5779         (acap-parse-response): Fixed problem for BYE untagged response.
5780         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5781         (toplevel): Added tiny comments.
5782
5783 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5784
5785         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5786         space delimiter for uidl response.
5787
5788 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5789
5790         * elmo-vars.el (elmo-use-semi): Eliminated.
5791
5792         * elmo-util.el (elmo-string-assoc-all): New function.
5793
5794 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5795
5796         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5797         property 'mime-preview-situation for `mime-preview-quit'.
5798
5799 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5800
5801         * elmo.el (elmo-message-fetch-with-cache-process): Call
5802         elmo-message-fetch-internal instead of causing an error when fetch
5803         strategy is 'entire but only 'section cache is available.
5804
5805 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5806
5807         * elmo-version.el (elmo-version): Up to 2.7.2.
5808
5809         * elmo.el (elmo-generic-folder-append-messages): Make
5810         fetch-strategy with `use-cache'.
5811
5812         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5813         (elmo-dop-queue-method-name): New macro.
5814
5815 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5816
5817         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5818         unbalanced parenthesis.
5819
5820 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5821
5822         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5823
5824 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5825
5826         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5827         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5828
5829 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5830
5831         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5832         local variables.
5833
5834 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5835
5836         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5837         (elmo-message-use-cache-p): Define.
5838         (elmo-folder-msgdb-create): Treat cache.
5839
5840 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5841
5842         * elmo-nntp.el (elmo-network-initialize-session): Call
5843         `elmo-nntp-send-mode-reader'.
5844         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5845
5846 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5847
5848         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5849         alist.
5850         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5851         assoc.
5852
5853         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5854         for `elmo-plugged-p'.
5855         (elmo-open-network-stream): Fixed stream-type argument.
5856
5857 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5858
5859         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5860         unknown archive type is specified.
5861
5862 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5863
5864         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5865
5866         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5867         while loading msgdb.
5868
5869         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5870         (elmo-folder-open-internal): Rewrite.
5871
5872 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5873
5874         * elmo-mime.el (elmo-mime-display-as-is-internal):
5875         Adjust buffer-multibyte status.
5876
5877 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5878
5879         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5880         of elmo-condition-find-key.
5881
5882         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5883         (elmo-condition-in-msgdb-p): Ditto.
5884         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5885         argument.
5886
5887 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5888
5889         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5890
5891 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5892
5893         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5894         label for elmo-display-progress.
5895
5896 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5897
5898         * elmo.el (elmo-folder-clear): New method.
5899         (elmo-folder-clear): Define.
5900         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5901
5902         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5903         (elmo-folder-clear): Define.
5904
5905         * elmo-map.el (elmo-folder-clear): Define.
5906
5907         * elmo-version.el (elmo-version): Up to 2.7.1.
5908
5909 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5910
5911         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5912         updates.
5913
5914 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5915
5916         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5917         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5918
5919 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5920
5921         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5922
5923         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5924         and re-written.
5925
5926         * elmo-imap4.el (elmo-folder-initialize): Use
5927         elmo-get-network-stream-type.
5928
5929         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5930
5931         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5932
5933 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5934
5935         * elmo.el (elmo-message-encache): Set unread argument for
5936         elmo-message-fetch.
5937
5938         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5939
5940         * elmo.el (elmo-net-port-info): New method.
5941
5942         * elmo-shimbun.el (elmo-net-port-info): Define.
5943         (elmo-message-encache): Ditto.
5944
5945         * elmo-net.el (elmo-net-port-info): Define as method.
5946
5947         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5948         unplugged status when elmo-enable-disconnected-operation is t.
5949
5950         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5951         of spool folder before checking new number.
5952
5953 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5954
5955         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5956         (elmo-network-setup-session): Ditto.
5957         (elmo-message-fetch-plugged): Ditto.
5958         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5959         (elmo-network-initialize-session): Ditto.
5960         (elmo-pop3-read-response): Abolish 3rd argument.
5961         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5962         (elmo-pop3-read-contents): Ditto.
5963         (elmo-pop3-read-body): Ditto.
5964         (elmo-folder-status): Call elmo-folder-close.
5965         (elmo-pop3-lock): Abolish.
5966         (elmo-pop3-unlock): Ditto.
5967         (elmo-pop3-locked-p): Ditto.
5968         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5969
5970 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5971
5972         * elmo-version.el (elmo-version): Up to 2.7.0.
5973
5974         * elmo-pop3.el (elmo-pop3-debug): New variable.
5975         (elmo-pop3-debug-inhibit-logging): Ditto.
5976         (elmo-pop3-debug): New function.
5977         (elmo-pop3-send-command): Call elmo-pop3-debug.
5978         (elmo-pop3-read-response): Added keep-lock optional argument;
5979         Don't unlock if keep-lock is non-nil.
5980         (elmo-pop3-process-filter): Call elmo-pop3-debug.
5981         (elmo-network-authenticate-session): Bind
5982         elmo-pop3-debug-inhibit-logging as t.
5983         (elmo-network-setup-session): Call elmo-pop3-read-response with
5984         keep-lock argument.
5985         (elmo-pop3-read-msg): Ditto.
5986         (elmo-pop3-locked-p): Call elmo-pop3-debug.
5987         (elmo-pop3-read-body): Call elmo-pop3-unlock.
5988         (elmo-network-initialize-session): Call elmo-pop3-lock.
5989         (elmo-folder-close-internal): Don't clear location-alist slot.
5990         (elmo-folder-check): Clear location-alist slot.
5991
5992 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
5993
5994         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5995         (elmo-pop3-send-command): Call elmo-pop3-lock.
5996         (elmo-pop3-read-response): Call elmo-pop3-unlock.
5997         (elmo-pop3-read-contents): Ditto.
5998         (elmo-pop3-lock): New function.
5999         (elmo-pop3-unlock): Ditto.
6000         (elmo-pop3-locked-p): Ditto.
6001         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6002         returns t.
6003
6004 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6005
6006         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6007
6008         * elmo-util.el (elmo-file-field-primitive-condition-match):
6009         New inline function (Don't fetch file content if "first" or "last").
6010         (elmo-file-field-condition-match): Use
6011         elmo-file-field-primitive-condition-match.
6012
6013         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6014         "first".
6015
6016         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6017         (elmo-message-fetch-plugged): Fixed.
6018
6019         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6020
6021 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6022
6023         * elmo.el (elmo-folder-move-messages): Bind
6024         elmo-inhibit-display-retrieval-progress as t while moving messages.
6025
6026         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6027         New variable.
6028         (elmo-inhibit-display-retrieval-progress): Ditto.
6029
6030         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6031         for retrieval progress;
6032         Don't display progress when total buffer size is smaller than
6033         elmo-display-retrieval-progress-threshold.
6034         (elmo-message-fetch-plugged): Don't display progress when
6035         elmo-inhibit-display-retrieval-progress is non-nil.
6036
6037         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6038         for retrieval progress;
6039         Don't display progress when literal size is smaller than
6040         elmo-display-retrieval-progress-threshold.
6041         (elmo-imap4-message-fetch): Don't display progress when
6042         elmo-inhibit-display-retrieval-progress is non-nil.
6043
6044 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6045
6046         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6047         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6048         (elmo-imap4-message-fetch): Likewise.
6049
6050         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6051         (elmo-shimbun-index-range-alist): Ditto.
6052         (elmo-shimbun-use-entire-index): Abolish.
6053         (shimbun-mua-use-entire-index): Ditto.
6054         (elmo-shimbun-folder): Added new slot `range'.
6055         (elmo-folder-initialize): Setup slot `range'.
6056
6057 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6058
6059         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6060         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6061         (elmo-shimbun-get-headers): Use return value of
6062         `shimbun-article-expiration-days'.
6063         (elmo-folder-close-internal): Clean up last-check slot.
6064
6065         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6066         (elmo-pop3-total-size): New variable.
6067         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6068
6069         * elmo.el (elmo-folder-reserve-status-p): New method.
6070
6071         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6072         (elmo-shimbun-use-entire-index): New user option.
6073         (shimbun-elmo-mua): New class.
6074         (shimbun-mua-search-id): Define.
6075         (shimbun-mua-use-entire-index): Ditto.
6076         (elmo-shimbun-folder:last-check): New slot.
6077         (elmo-shimbun-headers-cache-header-list): Abolish.
6078         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6079         (elmo-shimbun-headers-cache-header-hash): Ditto.
6080         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6081         (elmo-shimbun-headers-cache-last-check): Ditto.
6082         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6083         (elmo-shimbun-headers-check-p): Rewrite.
6084         (elmo-shimbun-msgdb-to-headers): New function.
6085         (elmo-shimbun-get-headers): Rewrite.
6086         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6087         (elmo-folder-open-internal): Get headers only if
6088         `elmo-shimbun-headers-check-p' is non-nil.
6089         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6090         is non-nil.
6091         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6092         (elmo-quit): Removed.
6093
6094         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6095         function.
6096         (elmo-msgdb-overview-entity-set-extra): Ditto.
6097         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6098
6099         * elmo-map.el (elmo-folder-status): Don't call
6100         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6101         is non-nil.
6102
6103 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6104
6105         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6106         of `elmo-msgdb-search-internal-primitive' when condition's car is
6107         `and' or `or'.
6108
6109 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6110
6111         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6112
6113 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6114
6115         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6116         call `elmo-pipe-drain'.
6117
6118 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6119
6120         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6121         typo. (elmo-cache-folder -> elmo-mark-folder)
6122
6123 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6124
6125         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6126         `elmo-message-fetch'.
6127
6128 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6129
6130         * elmo-net.el (elmo-message-encache): Fixed typo.
6131         (elmo-message-fetch-unplugged): Changed call
6132         `elmo-message-fetch-internal' without argument `outbuf'.
6133
6134 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6135
6136         * elmo.el (elmo-message-encache): Define as generic function.
6137         (elmo-message-fetch-field): New generic function.
6138         (elmo-message-fetch-with-cache-process): Cause an error when
6139         fetch strategy is 'entire but only 'section cache is available.
6140         (toplevel): Fixed nmz folder definition.
6141
6142         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6143         (elmo-msgdb-resume-list-filename): Ditto.
6144         (elmo-queue-filename): Ditto.
6145         (elmo-enable-disconnected-operation): Changed default value to t.
6146
6147         * elmo-util.el (elmo-cache-path-section-p): New function.
6148         (elmo-file-cache-get): Use it.
6149         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6150         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6151         (elmo-dop-queue-save): Ditto.
6152
6153         * elmo-net.el (elmo-folder-status-unplugged): Call
6154         elmo-folder-status-dop.
6155         (elmo-folder-list-messages-unplugged): Implemented.
6156         (elmo-folder-delete-messages-unplugged): Define.
6157         (elmo-folder-msgdb-create): Define.
6158         (elmo-folder-msgdb-create-unplugged): Define.
6159         (elmo-folder-mark-as-read-unplugged): Ditto.
6160         (elmo-folder-unmark-read-unplugged): Ditto.
6161         (elmo-folder-mark-as-important-unplugged): Ditto.
6162         (elmo-folder-unmark-important-unplugged): Ditto.
6163         (elmo-message-encache): Ditto.
6164
6165         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6166         (elmo-dop-queue-save): Ditto.
6167
6168         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6169         `elmo-folder-msgdb-create'.
6170         (elmo-folder-append-buffer): Implemented unplugged operation.
6171         (elmo-folder-append-messages): Call parent method in unplugged status.
6172         (elmo-message-fetch-unplugged): Removed definition.
6173         (elmo-message-fetch-field): Implemented.
6174
6175         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6176         (elmo-dop-folder): Removed variable definition.
6177         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6178         (elmo-dop-queue-flush): Implemented.
6179         (elmo-dop-queue-merge): Removed definition (TODO).
6180         (elmo-dop-spool-folder): New function.
6181         (elmo-dop-spool-folder-append-buffer): Ditto.
6182         (elmo-dop-spool-folder-list-messages): Ditto.
6183         (elmo-dop-list-deleting-messages): Ditto.
6184         (elmo-folder-append-buffer-dop): Ditto.
6185         (elmo-folder-delete-messages-dop): Ditto.
6186         (elmo-message-encache-dop): New inline function.
6187         (elmo-create-folder-dop): Ditto.
6188         (elmo-folder-mark-as-read-dop): Ditto.
6189         (elmo-folder-unmark-read-dop): Ditto.
6190         (elmo-folder-mark-as-important-dop): Ditto.
6191         (elmo-folder-unmark-important-dop): Ditto.
6192         (elmo-folder-status-dop): Fixed.
6193         (elmo-folder-append-buffer-dop-delayed): New function.
6194         (elmo-folder-delete-messages-dop-delayed): Ditto.
6195         (elmo-dop-msgdb): Ditto.
6196
6197 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6198
6199         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6200
6201 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6202
6203         * elmo.el (elmo-folder-move-messages): Fixed problem when
6204         `dst-folder' is 'null.
6205
6206 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6207
6208         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6209         instead of current mark.
6210
6211         * elmo-multi.el (elmo-folder-list-importants-internal): No
6212         operation if importants is not list.
6213
6214         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6215         Return t if importants is not list.
6216
6217         * elmo-map.el (elmo-map-folder-list-importants): Define.
6218         (elmo-folder-list-importants-internal): Check return value of
6219         `elmo-map-folder-list-importants-internal'.
6220
6221         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6222
6223         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6224
6225         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6226
6227         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6228
6229 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6230
6231         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6232         (Patch is provided by <kita@coe.nttdata.co.jp>).
6233
6234 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6235
6236         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6237         mark folder.
6238
6239 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6240
6241         * elmo.el (elmo-message-fetch): Define.
6242         (elmo-message-fetch-with-cache-process): New generic method.
6243         (elmo-message-fetch-internal): New generic method.
6244         (elmo-folder-synchronize):
6245
6246         * elmo-archive.el (elmo-message-fetch-internal): Define.
6247         (elmo-message-fetch): Eliminated.
6248
6249         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6250         (elmo-message-fetch): Eliminated.
6251
6252         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6253         argument OUTBUF.
6254         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6255
6256         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6257         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6258
6259         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6260         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6261
6262         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6263
6264         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6265
6266         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6267
6268         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6269         (elmo-message-fetch-unplugged): New generic method.
6270         (elmo-message-fetch-internal): Remove cache process (Renamed from
6271         `elmo-message-fetch').
6272
6273         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6274         (elmo-message-fetch): Eliminated.
6275         (elmo-message-fetch-unplugged): Ditto.
6276
6277         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6278
6279 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6280
6281         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6282         of `to-be-deleted' from number-alist to number-list.
6283
6284 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6285
6286         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6287         (elmo-folder-mark-as-important): Ditto.
6288
6289 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6290
6291         * elmo.el (elmo-folder): Added process-duplicates slot.
6292
6293         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6294         (elmo-folder-unmark-read): Ditto.
6295         (elmo-folder-unmark-important): Ditto.
6296         (elmo-folder-mark-as-important): Ditto.
6297
6298         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6299         duplicated message processing.
6300
6301         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6302
6303 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6304
6305         * elmo-util.el (elmo-list-subdirectories-1): New function.
6306         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6307         (elmo-mapcar-list-of-list): New function.
6308
6309         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6310         `elmo-mapcar-list-of-list' instead of `mapcar'.
6311
6312         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6313
6314         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6315         `elmo-have-link-count'. Return the fully qualified folder name.
6316
6317 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6318
6319         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6320         (elmo-shimbun-headers-cache): New internal variable.
6321         (elmo-shimbun-headers-cache-header-list): New inline function.
6322         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6323         (elmo-shimbun-headers-cache-header-hash): Ditto.
6324         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6325         (elmo-shimbun-headers-cache-last-check): Ditto.
6326         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6327         (elmo-shimbun-lapse-seconds): Ditto.
6328         (elmo-shimbun-headers-cache-check-p): Ditto.
6329         (elmo-shimbun-get-headers): New function.
6330         (elmo-folder-open-internal): Call it.
6331         (elmo-quit): Define (Clear headers-cache).
6332
6333 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6334
6335         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6336
6337         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6338         (elmo-msgdb-flist-save): Ditto.
6339
6340         * elmo-shimbun.el (elmo-folder-list-subfolders):
6341         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6342         (elmo-folder-exists-p): Ditto.
6343
6344         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6345         argument for `shimbun-header-insert'.
6346
6347 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6348
6349         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6350         at first time.
6351
6352         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6353         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6354
6355 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6356
6357         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6358         (elmo-folder-plugged-p): Define.
6359         (elmo-folder-set-plugged): Ditto.
6360         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6361         (elmo-folder-list-messages-internal): Return t if unplugged.
6362         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6363
6364         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6365         when elmo-folder-list-messages-internal method of children returns t.
6366
6367         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6368         pair is nil.
6369         (elmo-folder-open-internal): Don't update if unplugged status.
6370
6371 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6372
6373         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6374         new message.
6375
6376 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6377
6378         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6379
6380         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6381         saving.
6382
6383 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6384
6385         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6386
6387         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6388         (elmo-folder-open-internal): Set up headers slot.
6389         (elmo-folder-check): Call elmo-folder-close-internal and
6390         elmo-folder-open-internal.
6391         (elmo-folder-close-internal): Clean up headers slot.
6392
6393 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6394
6395         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6396         exactly folder list.
6397         (elmo-folder-append-messages): Fixed append archive with prefix.
6398
6399         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6400         make temp files with start-number.
6401
6402         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6403
6404 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6405
6406         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6407         argument `visible-only'.
6408         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6409         instead of `if'.
6410
6411         * elmo-pop3.el (elmo-folder-open-internal): Check
6412         `elmo-inhibit-number-mapping' is non-nil.
6413
6414         * elmo-pipe.el (elmo-folder-status): Fixed.
6415
6416 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6417
6418         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6419
6420         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6421         (elmo-folder-open-internal): Setup `header-hash' slot.
6422         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6423         information.
6424         (elmo-map-message-fetch): Ditto.
6425
6426 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6427
6428         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6429         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6430         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6431         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6432
6433         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6434
6435 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6436
6437         * sb-airs.el: Added footer.
6438
6439         * shimbun.el (shimbun-article): Define as luna-method.
6440
6441         * sb-tcup.el: New file.
6442
6443         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6444         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6445
6446 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6447
6448         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6449         (shimbun-get-headers): Ditto.
6450
6451         * elmo.el: Moved obsolete variable definitions from
6452         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6453
6454         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6455         groups.
6456
6457         * shimbun.el: New file.
6458
6459         * elmo-shimbun.el: New file.
6460
6461         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6462         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6463         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6464         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6465
6466 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6467
6468         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6469         hierarchy is t.
6470
6471 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6472
6473         * elmo.el (elmo-folder-msgdb): Define as macro.
6474         (elmo-folder-open): Added argument `load-msgdb'.
6475         (elmo-generic-folder-open): Ditto.
6476         (elmo-folder-encache): New function.
6477
6478         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6479
6480         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6481
6482         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6483         Eliminated argument FOLDER and added argument MSGDB.
6484         (elmo-dop-queue-load): Moved from elmo-dop.el.
6485         (elmo-dop-queue-save): Ditto.
6486
6487         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6488
6489         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6490
6491         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6492         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6493         (elmo-filter-folder-list-importants-internal): Ditto.
6494
6495         * elmo-map.el (elmo-folder-pack-number): Ditto.
6496
6497         * elmo-mime.el (elmo-mime-message-display): Ditto.
6498
6499         * elmo.el (elmo-generic-folder-commit): Ditto.
6500         (elmo-folder-list-unreads): Ditto.
6501         (elmo-folder-list-importants): Ditto.
6502         (elmo-generic-folder-commit): Ditto.
6503         (elmo-message-set-mark): Ditto.
6504         (elmo-generic-folder-append-msgdb): Ditto.
6505         (elmo-folder-synchronize): Ditto.
6506         (elmo-folder-messages): Ditto.
6507         (elmo-init): Call elmo-dop-queue-load.
6508         (elmo-folder-list-messages): Ditto.
6509
6510         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6511         (elmo-nntp-folder-process-crosspost): Ditto.
6512         (elmo-folder-list-unreads-internal): Ditto.
6513
6514         * elmo-dop.el: Removed old functions.
6515
6516 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6517
6518         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6519         `folder' to `msgdb'.
6520
6521 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6522
6523         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6524         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6525
6526         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6527         case-fold-search.
6528
6529 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6530
6531         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6532         defined.
6533
6534         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6535         (mmimap-parse-parameters-from-list): Define as alias for
6536         `mime-decode-parameter-plist' if it is defined as function.
6537         (mmimap-make-mime-entity): Added argument `number'.
6538         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6539         as 0.
6540         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6541
6542         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6543
6544         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6545
6546         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6547
6548 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6549
6550         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6551
6552         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6553         when elmo-imap4-default-authenticate-type is nil.
6554         (elmo-folder-list-subfolders): Ditto
6555         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6556         (elmo-imap4-fetch-callback-1-subr): Renamed from
6557         `elmo-imap4-fetch-callback-1' and define as inline function.
6558         (elmo-imap4-fetch-callback-1):
6559         Renamed from `elmo-imap4-fetch-callback'.
6560         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6561
6562         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6563         msgdb path (To keep compatibility with main trunk).
6564
6565         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6566
6567         * elmo-util.el (elmo-make-file-cache): Moved position of
6568         some macros.
6569
6570         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6571         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6572         instead of `elmo-pop3-inhibit-uidl'.
6573         (elmo-folder-exists-p): Ditto.
6574         (elmo-pop3-folder-list-messages): Ditto.
6575
6576         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6577         instead of `elmo-pop3-inhibit-uidl'.
6578         (elmo-folder-status): Ditto.
6579
6580         * elmo-dop.el (elmo-dop-folder): New variable.
6581         (elmo-dop-lock-message): Eliminated.
6582         (elmo-dop-unlock-message): Ditto.
6583         (elmo-dop-lock-list-load): Ditto.
6584         (elmo-dop-lock-list-save): Ditto.
6585         (elmo-dop-delete-folder): Ditto.
6586         (elmo-dop-rename-folder): Ditto.
6587
6588         * elmo.el: Removed incomplete commentary.
6589
6590 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6591
6592         * elmo.el (toplevel): Require 'elmo-version first;
6593         for little `recursive-load-depth' settings.
6594         Fix "ends here" comment.
6595
6596 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6597
6598         * elmo-util.el (toplevel): Require 'poem;
6599         Some functions are moved from elmo-cache.el.
6600
6601         * elmo-net.el (toplevel): Require 'elmo-cache.
6602
6603         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6604
6605         * elmo.el (toplevel): Ditto.
6606
6607         * elmo-cache.el: Rewrite with luna;
6608         Some functions are moved to elmo-util.el.
6609
6610         * elmo-internal.el (elmo-internal-folder-list): New variable.
6611         (elmo-internal-folder-initialize): Rewrite.
6612         (elmo-folder-list-subfolders): Ditto.
6613
6614         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6615         (elmo-cache-collect-sub-directories): Ditto.
6616
6617 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6618
6619         * elmo-version.el (elmo-version): Up to 2.5.8.
6620
6621         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6622
6623         * elmo-util.el (elmo-list-insert): New function.
6624
6625 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6626
6627         * elmo.el (elmo-init): New function.
6628         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6629
6630         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6631         (Renamed from `elmo-localdir-header-chop-length').
6632
6633         * elmo-pop3.el (elmo-pop3-use-cache,
6634         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6635
6636         * elmo-nntp.el (elmo-message-fetch): Define.
6637         (elmo-message-fetch-unplugged): Ditto.
6638         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6639         (elmo-nntp-use-cache): Ditto.
6640         (elmo-nntp-max-number-precedes-list-active): Ditto.
6641
6642         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6643
6644         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6645         `elmo-msgdb-insert-file-header'.
6646         Use `elmo-msgdb-file-header-chop-length'.
6647
6648         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6649         `elmo-vars.el'.
6650
6651         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6652         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6653         `elmo-msgdb-insert-file-header'.
6654
6655         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6656         Use new variable;
6657         Define obsolete variables with `elmo-define-obsolete-variable',
6658
6659         * elmo-util.el (elmo-warning-buffer-name): New constant.
6660         (elmo-warning): New function.
6661         (elmo-obsolete-variable-alist): New variable.
6662         (elmo-obsolete-variable-show-warnings): New variable.
6663         (elmo-define-obsolete-variable): New function.
6664         (elmo-resque-obsolete-variable): Ditto.
6665         (elmo-resque-obsolete-variables): Ditto.
6666
6667 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6668
6669         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6670         Eliminated.
6671
6672         * elmo-pop3.el, elmo-nntp.el: Use custom.
6673
6674 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6675
6676         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6677         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6678
6679 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6680
6681         * Luna-fy Kenichi OKADA's following changes.
6682         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6683         `nohide'.
6684         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6685
6686 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6687
6688         * elmo-util.el (elmo-display-progress): Prefer
6689         `progress-feedback-with-label' to `lprogress-display'.
6690
6691 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6692
6693         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6694
6695 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6696
6697         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6698         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6699         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6700         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6701         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6702         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6703         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6704         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6705         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6706         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6707         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6708         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6709         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6710
6711 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6712
6713         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6714         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6715
6716 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6717
6718         * elmo.el (elmo-folder-process-crosspost): New generic method.
6719         (elmo-folder-writable-p): Ditto.
6720         (elmo-folder-message-appendable-p): Eliminated.
6721         (elmo-generic-folder-append-msgdb): Rewrite.
6722         (elmo-newsgroups-hashtb): New internal variable.
6723         (elmo-crosspost-message-set): Eliminated.
6724         (elmo-crosspost-message-delete): Ditto.
6725         (elmo-setup-subscribed-newsgroups): New function.
6726         (elmo-crosspost-message-alist-modified): New internal variable.
6727         (elmo-crosspost-message-alist-load): New function (Renamed from
6728         `wl-crosspost-alist-load').
6729         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6730         `wl-crosspost-alist-save').
6731
6732         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6733
6734         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6735         `unreads'.
6736         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6737         elmo-newsgroups-hashtb).
6738         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6739         `elmo-nntp-folder-update-crosspost-message-alist'.
6740         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6741         `elmo-nntp-groups-hashtb'.
6742         (elmo-nntp-make-groups-hashtb): Eliminated.
6743         (elmo-nntp-parse-newsgroups): New function (Renamed from
6744         `wl-parse-newsgroups').
6745         (elmo-folder-creatable-p, elmo-folder-writable-p,
6746         elmo-folder-close-internal, elmo-folder-mark-as-read,
6747         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6748         Define.
6749         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6750
6751         * elmo-net.el (elmo-message-fetch): Check buffer size.
6752
6753         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6754
6755         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6756
6757         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6758         before `close' command.
6759
6760         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6761         `mark-alist' (All other related portions are changed).
6762
6763 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6764
6765         * elmo-util.el (elmo-create-hash-size): Eliminated.
6766         (elmo-make-hash) Make a hash with `one less than a power of two'
6767         length.
6768
6769         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6770         (elmo-hash-maximum-size): Changed value.
6771
6772 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6773
6774         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6775         (elmo-mime-message-display-as-is): Ditto.
6776
6777 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6778
6779         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6780         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6781
6782 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-mark.el: New file.
6785
6786         * elmo-internal.el: Rewrite (Almost empty).
6787
6788 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6789
6790         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6791         (mime-imap-entity-header-string): Ditto.
6792         (mmimap-entity-section): Rewrite.
6793
6794 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6795
6796         * elmo-nmz.el: New file.
6797
6798         * elmo-pipe.el: Rewrite with luna.
6799
6800 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6801
6802         * elmo-archive.el: Rewrite with luna.
6803
6804         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6805         (elmo-folder-list-importants-internal): Ditto.
6806
6807 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6808
6809         * elmo-archive.el (elmo-archive-version): Abolish.
6810         (toplevel) Removed `boso' comment.
6811
6812 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6813
6814         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6815         elmo-msgdb-add-msgs-to-seen-list-subr;
6816         Changed argument seen-marks to unread-marks.
6817
6818         * elmo-nntp.el: Rewrite with luna.
6819
6820 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo-filter.el: Rewrite with luna.
6823
6824 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6825
6826         * elmo-pop3.el: Rewrite with luna.
6827
6828 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6829
6830         * elmo-multi.el: Rewrite with luna.
6831
6832         * elmo-vars.el (elmo-use-killed-list): Abolish.
6833         All other related portions are changed.
6834         (elmo-filename-replace-string-alist): Renamed from
6835         elmo-msgid-replace-string-alist.
6836
6837 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6838
6839         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6840
6841         * elmo-map.el: New file.
6842         * elmo-maildir.el: Rewrite with luna.
6843
6844 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6845
6846         * elmo.el: Changed meaning of `elmo-folder-commit'.
6847         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6848
6849 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6850
6851         * elmo.el (elmo-folder-append-buffer): New function.
6852         (Renamed from `elmo-append-msg')
6853
6854 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6855
6856         * elmo-mime.el: New file.
6857
6858 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6859
6860         * elmo-cache.el: Rewrite.
6861
6862 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6863
6864         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6865
6866 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6867
6868         * elmo-vars.el (elmo): New group.
6869         (elmo-strict-diff-folder-regexp): New variable.
6870
6871         * elmo-util.el (elmo-call-func): Abolish.
6872         (elmo-folder-get-type): Ditto.
6873         (elmo-*-get-spec): Ditto.
6874         (elmo-*-spec-*): Ditto.
6875         (elmo-imap4-identical-name-space-p): Ditto.
6876         (elmo-folder-identical-system-p): Ditto.
6877         (elmo-folder-direct-copy-alist): Ditto.
6878         (elmo-folder-direct-copy-p): Ditto.
6879
6880         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6881         (elmo-folder-initialize): Define.
6882         (elmo-folder-get-primitive-list): Ditto.
6883
6884         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6885         (elmo-folder-initialize): Define.
6886         Renamed `elmo-network-session-host-internal' to
6887         `elmo-network-session-server-internal'.
6888
6889         * elmo-multi.el (elmo-multi-folder): New luna class.
6890         (elmo-folder-initialize): Define.
6891         (elmo-folder-get-primitive-list): Ditto.
6892         (elmo-folder-contains-type): Ditto.
6893         (elmo-message-use-cache-p): Ditto.
6894
6895         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6896         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6897
6898         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6899         (elmo-folder-initialize): Define.
6900
6901         * elmo-filter.el (elmo-filter-folder): New luna class.
6902         (elmo-folder-initialize): Define.
6903         (elmo-folder-get-primitive-list): Ditto.
6904         (elmo-folder-contains-type): Ditto.
6905
6906 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6907
6908         * elmo-imap4.el: Rewrite with luna.
6909
6910         * mmimap.el: New file.
6911
6912         * mmelmo.el, mmelmo-imap4.el: Removed.
6913
6914         * elmo-net.el: Ditto.
6915
6916         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6917         (elmo-folder-initialize): Define.
6918
6919         * elmo-archive.el (elmo-archive-folder): New luna class.
6920         (elmo-folder-initialize): Define.
6921
6922         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6923         `elmo-folder-msgdb-path'.
6924         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6925         `elmo-make-folder'.
6926
6927 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6928
6929         * elmo.el: New file.
6930
6931         * elmo2.el: Renamed to elmo.el.
6932
6933 \f
6934 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6935
6936         * elmo-cache.el (elmo-cache-expire-by-size): Count
6937         a disk usage for a cache file entry in KB even when
6938         its kind is a directory.
6939
6940 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6941
6942         * elmo-version.el (elmo-version): Up to 2.5.7.
6943
6944 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6945
6946         * elmo-version.el (elmo-version): Up to 2.5.6.
6947
6948 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6949
6950         * elmo-version.el (elmo-version): Up to 2.5.5.
6951
6952 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6953
6954         * elmo-imap4.el (elmo-network-authenticate-session):
6955         Fixed a logic for response checking.
6956
6957 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6958
6959         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6960         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6961         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6962         `sasl-mechanisms'.
6963
6964         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6965         for `starttls-open-stream' and `starttls-negotiate'.
6966
6967         * elmo-nntp.el: Remove autoload settings for
6968         `starttls-open-stream' and `starttls-negotiate'.
6969
6970         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6971         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6972         `luna-define-class' with `eval-and-compile'.
6973
6974 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6975
6976         * elmo-util.el (elmo-read-search-condition-internal):
6977         Require an element of table for searching field.
6978
6979 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6980
6981         * elmo-version.el (elmo-version): Up to 2.5.4.
6982
6983 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
6984
6985         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6986
6987 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
6988
6989         * elmo-nntp.el (elmo-network-initialize-session): omitted.
6990
6991 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
6992
6993         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6994         before greeting.
6995
6996 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6997
6998         * elmo-imap4.el (elmo-imap4-delete-folder):
6999         Send "close" before "delete" (Use commented out line).
7000         (elmo-imap4-rename-folder): Ditto.
7001
7002         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7003         folder string itself.
7004         (elmo-dop-list-deleted): New function.
7005         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7006         killed.
7007
7008         * elmo-util.el (elmo-string-rassoc-all): New function.
7009
7010 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7011
7012         * elmo-version.el (elmo-version): Up to 2.5.3.
7013
7014         * elmo-net.el (elmo-network-get-session): Changed logic for
7015         checking process status.
7016
7017         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7018         process is nil;
7019         Changed logic for checking process status.
7020
7021 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7022
7023         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7024         before greeting.
7025         (elmo-network-setup-session): Set UIDL hash size according to
7026         the length of list response.
7027         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7028         according to the length of list response;
7029         Return the length of list response.
7030         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7031
7032 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7033
7034         * elmo-imap4.el (toplevel): Require 'ssl.
7035         Add autoload 'starttls.
7036         * elmo-pop3.el (toplevel): Ditto.
7037         * elmo-nntp.el (toplevel): Ditto.
7038
7039 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7040
7041         * elmo-imap4.el (toplevel): defun at compile time.
7042         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7043         sasl-next-step, sasl-step-data, sasl-step-set-data.
7044         * elmo-pop3.el (toplevel): Ditto.
7045
7046 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7047
7048         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7049
7050 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7051
7052         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7053         if error.
7054         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7055         and `elmo-pop-auth-apop'.
7056
7057 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7058
7059         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7060
7061 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7062
7063         * elmo-pop3.el (elmo-network-authenticate-session): Split
7064         encoded response value.
7065
7066 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7067
7068         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7069         `elmo-pop3-force-login'.
7070         Redefine `sasl-mechanisms'.
7071         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7072
7073 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7074
7075         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7076         Delete `elmo-imap4-authenticator-alist'.
7077         (elmo-imap4-auth-cram-md5): Delete.
7078         (elmo-imap4-auth-digest-md5): Delete.
7079
7080 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7081
7082         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7083         (elmo-pop3-auth-scram-md5): Ditto.
7084         (elmo-pop3-auth-cram-md5): Ditto.
7085
7086 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7087
7088         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7089         Delete `elmo-pop3-authenticator-alist'.
7090
7091 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7092
7093         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7094         new SASL API.
7095         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7096
7097 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7098
7099         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7100
7101 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7102
7103         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7104         Fixed problem when `elmo-pop3-use-uidl' is nil.
7105         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7106
7107 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7108
7109         * elmo-version.el (elmo-version): Up to 2.5.2.
7110
7111 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7112
7113         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7114         New function.
7115         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7116         (elmo-pop3-msgdb-create-as-numlist): Use it.
7117
7118         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7119         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7120
7121         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7122         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7123
7124 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7125
7126         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7127         when elmo-mark-as-read is called with second argument nil.
7128
7129 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7130
7131         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7132         Moved to elmo-util.el.
7133
7134         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7135         Moved from elmo-pipe.el
7136
7137         * elmo-archive.el (elmo-archive-call-process): Enclose with
7138         static-if.
7139
7140         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7141         "RFC822" (because RFC822.PEEK is obsolete).
7142         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7143
7144 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7145
7146         * elmo-archive.el (elmo-archive-call-process): Don't check for
7147         the exit status when Nemacs is running.
7148
7149 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7150
7151         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7152         'plain.
7153
7154         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7155         (elmo-pop3-get-spec): Set default of auth to 'user.
7156
7157         * elmo-imap4.el (elmo-imap4-session-check):
7158         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7159         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7160         (elmo-imap4-auth-login): New function; Revival.
7161         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7162         `elmo-imap4-auth-login'.
7163
7164 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7165
7166         * elmo2.el (toplevel): Move `product-provide' declare.
7167         * mmelmo.el (toplevel): Ditto.
7168
7169 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7170
7171         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7172
7173 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7174
7175         * elmo-util.el (elmo-folder-get-store-type): New function.
7176         (elmo-folder-direct-copy-p): Use it.
7177
7178 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7179
7180         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7181         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7182         and result of `elmo-imap4-use-flag-p'.
7183         (elmo-imap4-fetch-callback-1): Set mark according to
7184         the result of `elmo-imap4-use-flag-p'.
7185
7186 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7187
7188         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7189         (elmo-generic-list-folder-unread): Ditto.
7190         (elmo-folder-get-info): Ditto.
7191         (elmo-folder-set-info-max-by-numdb): Ditto.
7192         (elmo-folder-get-info-max): Ditto.
7193         (elmo-folder-get-info-length): Ditto.
7194         (elmo-folder-get-info-unread): Ditto.
7195         (elmo-folder-info-make-hashtb): Ditto.
7196
7197         * elmo2.el: Removed above functions.
7198
7199 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7200
7201         * elmo-imap4.el (toplevel): Require 'ssl.
7202         Add autoload 'starttls.
7203         * elmo-pop3.el (toplevel): Ditto.
7204         * elmo-nntp.el (toplevel): Ditto.
7205
7206 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7207
7208         * elmo-imap4.el (toplevel): defun at compile time.
7209         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7210         sasl-next-step, sasl-step-data, sasl-step-set-data.
7211         * elmo-pop3.el (toplevel): Ditto.
7212
7213 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7214
7215         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7216
7217 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7218
7219         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7220         if error.
7221         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7222         and `elmo-pop-auth-apop'.
7223
7224 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7225
7226         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7227
7228 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7229
7230         * elmo-pop3.el (elmo-network-authenticate-session): Split
7231         encoded response value.
7232
7233 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7234
7235         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7236         `elmo-pop3-force-login'.
7237         Redefine `sasl-mechanisms'.
7238         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7239
7240 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7241
7242         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7243         Delete `elmo-imap4-authenticator-alist'.
7244         (elmo-imap4-auth-cram-md5): Delete.
7245         (elmo-imap4-auth-digest-md5): Delete.
7246
7247 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7248
7249         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7250         (elmo-pop3-auth-scram-md5): Ditto.
7251         (elmo-pop3-auth-cram-md5): Ditto.
7252
7253 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7254
7255         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7256         Delete `elmo-pop3-authenticator-alist'.
7257
7258 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7259
7260         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7261         new SASL API.
7262         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7263
7264 \f
7265 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7266
7267         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7268
7269 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7270
7271         * elmo-nntp.el (elmo-nntp-get-folders-info):
7272         Fixed problem when '\' character is contained in user-id.
7273         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7274
7275 \f
7276 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7277
7278         * elmo-imap4.el (elmo-imap4-delete-folder):
7279         Send "close" before "delete" (Use commented out line).
7280         (elmo-imap4-rename-folder): Ditto.
7281
7282         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7283         folder string itself.
7284         (elmo-dop-list-deleted): New function.
7285         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7286         killed.
7287
7288         * elmo-util.el (elmo-string-rassoc-all): New function.
7289
7290         * elmo-version.el (elmo-version): Up to 2.5.1.
7291
7292 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7293
7294         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7295
7296         * elmo-internal.el (elmo-internal-search): Fix last change.
7297
7298 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7299
7300         * elmo-internal.el (elmo-internal-search): Rewrite.
7301         (Fixed problem which is pointed out by Akihiro MOTOKI
7302         <motoki@da.jp.nec.com>)
7303
7304         * elmo-version.el (elmo-version): Up to 2.5.0.
7305
7306 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7307
7308         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7309
7310 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7311
7312         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7313         non-nil, make hierarchy.
7314
7315 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7316
7317         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7318         `elmo-pop3-use-uidl' must be bound to nil.
7319         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7320
7321 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7322
7323         * elmo-util.el (elmo-copy-file): Don't cause an error after
7324         `add-name-to-file' failed.
7325
7326         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7327         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7328
7329 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7330
7331         * elmo-version.el (elmo-version): Up to 2.3.93.
7332
7333 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7334
7335         * elmo-util.el (elmo-flatten): New function.
7336
7337 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7338
7339         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7340         sync Author header.
7341         * elmo-cache.el (toplevel): Ditto.
7342         * elmo-database.el (toplevel): Ditto.
7343         * elmo-date.el (toplevel): Ditto.
7344         * elmo-dop.el (toplevel): Ditto.
7345         * elmo-filter.el (toplevel): Ditto.
7346         * elmo-imap4.el (toplevel): Ditto.
7347         * elmo-internal.el (toplevel): Ditto.
7348         * elmo-localdir.el (toplevel): Ditto.
7349         * elmo-localnews.el (toplevel): Ditto.
7350         * elmo-maildir.el (toplevel): Ditto.
7351         * elmo-msgdb.el (toplevel): Ditto.
7352         * elmo-multi.el (toplevel): Ditto.
7353         * elmo-net.el (toplevel): Ditto.
7354         * elmo-nntp.el (toplevel): Ditto.
7355         * elmo-pipe.el (toplevel): Ditto.
7356         * elmo-pop3.el (toplevel): Ditto.
7357         * elmo-util.el (toplevel): Ditto.
7358         * elmo-vars.el (toplevel): Ditto.
7359         * elmo2.el (toplevel): Ditto.
7360         * mmelmo-imap4.el (toplevel): Ditto.
7361         * mmelmo.el (toplevel): Ditto.
7362
7363         * elmo-version.el (elmo-version): Move to top.
7364
7365         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7366         * elmo-imap4.el (toplevel): Ditto.
7367         * elmo-localdir.el (toplevel): Ditto.
7368         * elmo-msgdb.el (toplevel): Ditto.
7369         * elmo-nntp.el (toplevel): Ditto.
7370         * elmo-pop3.el (toplevel): Ditto.
7371         * elmo-version.el (toplevel): Ditto.
7372
7373         * elmo-localnews.el (toplevel): Added Keyword header.
7374
7375 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7376
7377         * elmo-version.el (product-version-as-string): Defined using
7378         `defun-maybe'.
7379         (toplevel): Use it.
7380
7381         * elmo-localdir.el (toplevel): Updated copyright notice.
7382         * elmo-version.el (toplevel): Ditto.
7383         * elmo-msgdb.el (toplevel): Ditto.
7384         * elmo-imap4.el (toplevel): Ditto.
7385         * elmo-nntp.el (toplevel): Ditto.
7386         * elmo-pop3.el (toplevel): Ditto.
7387
7388 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7389
7390         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7391         messages.
7392
7393         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7394         parameter value (It sometimes contains raw kanji).
7395
7396 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7397
7398         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7399         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7400
7401 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7402
7403         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7404
7405 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7406
7407         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7408         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7409
7410 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7411
7412         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7413         value if selecting folder succceeded.
7414         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7415
7416 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7417
7418         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7419         representation.
7420
7421         * elmo-util.el (elmo-string-matched-member): New function.
7422
7423 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7424
7425         * elmo-util.el (elmo-unintern): New macro.
7426         (elmo-number-set-member): Fixed docstring.
7427
7428         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7429         tag token.
7430
7431 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7432
7433         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7434         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7435
7436 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7437
7438         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7439         `no-error'.
7440         Added docstring.
7441         Return non-nil if selecting folder succeeded.
7442         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7443
7444 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7445
7446         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7447         `file-name-completion' returns t.
7448         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7449         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7450         directory if it does not exist.
7451         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7452         for iteration.
7453
7454 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7455
7456         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7457         enclosure (It's harmful in unplugged status).
7458
7459         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7460
7461         * mmelmo-1.el: Removed.
7462
7463         * mmelmo-2.el: Ditto.
7464
7465         * mmelmo-imap4-1.el: Ditto.
7466
7467         * mmelmo-imap4-2.el: Ditto.
7468
7469         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7470
7471         * mmelmo.el: Merged mmelmo-2.el.
7472
7473         * elmo-version.el (elmo-version): Up to 2.3.92.
7474
7475 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7476
7477         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7478         elmo-update-number): Remove last period in "...done." message.
7479         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7480         Ditto.
7481         * elmo-cache.el (elmo-cache-expire-by-size,
7482         elmo-cache-get-sorted-cache-file-list,
7483         elmo-cache-msgdb-create-as-numlist): Ditto.
7484         * elmo-dop.el (elmo-dop-save-pending-messages,
7485         (elmo-dop-flush-pending-append-operations): Ditto.
7486         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7487         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7488         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7489         (elmo-localdir-pack-number): Ditto.
7490         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7491         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7492         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7493         mime-write-entity-content): Ditto.
7494         * pldap.el (ldap-search-basic): Ditto.
7495
7496 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7497
7498         * elmo-version.el (elmo-version): Up to 2.3.91.
7499
7500         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7501         Only when filter is 'last'.
7502
7503         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7504         (elmo-condition-parse-search-value): Use it.
7505         (elmo-read-search-condition-internal): Quote value only when
7506         it is not an atom.
7507
7508 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7509
7510         * elmo2.el (elmo-generic-folder-diff): Fix.
7511
7512 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7513
7514         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7515         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7516         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7517         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7518         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7519         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7520
7521 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7522
7523         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7524         extra-fields.
7525
7526 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7527
7528         * elmo-version.el (elmo-version): Up to 2.3.90.
7529
7530         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7531         (elmo-imap4-list-folder-important): Ditto.
7532
7533 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7534
7535         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7536
7537 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7538
7539         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7540
7541 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7542
7543         * elmo-nntp.el (elmo-network-initialize-session):
7544         Add starttls negotiation.
7545
7546 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7547
7548         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7549         response.
7550         (elmo-network-setup-session): Define.
7551         Call `elmo-nntp-send-mode-reader' when session opened.
7552
7553 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7554
7555         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7556
7557 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7558
7559         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7560         an invalid SPACE character ahead of `SEARCH' command.  Move
7561         a valid SPACE character following `SEARCH' from conditional
7562         `format' arguments to control-strings.
7563
7564 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7565
7566         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7567         was succeeded.
7568
7569         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7570
7571 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7572
7573         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7574         `w32-get-true-file-link-count' as t.
7575
7576         * elmo-imap4.el (elmo-imap4-read): Abolished.
7577         (Renamed to `elmo-read' and moved to elmo-util.el)
7578         All other related portions are changed.
7579
7580         * elmo-util.el (elmo-read): New function.
7581         (elmo-condition-parse-search-value): Use it.
7582
7583 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7584
7585         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7586
7587         * elmo-nntp.el (elmo-nntp-session): Define.
7588         (elmo-nntp-setting): Abolished.
7589         All other related portions are changed.
7590         (elmo-nntp-get-server-command): Changed argument.
7591         (elmo-nntp-set-server-command): Ditto.
7592         (elmo-nntp-xover-p): Ditto.
7593         (elmo-nntp-set-xover): Ditto.
7594         (elmo-nntp-listgroup-p): Ditto.
7595         (elmo-nntp-set-listgroup): Ditto.
7596         (elmo-nntp-list-active-p): Ditto.
7597         (elmo-nntp-set-list-active): Ditto.
7598         (elmo-nntp-xhdr-p): Ditto.
7599         (elmo-nntp-set-xhdr): Ditto.
7600         (elmo-nntp-flush-connection): Abolished.
7601         (elmo-nntp-get-connection): Abolished.
7602         (elmo-nntp-get-session): New function.
7603         (elmo-network-initialize-session): Defined.
7604         (elmo-network-authenticate-session): Ditto.
7605         (elmo-nntp-send-mode-reader): Changed argument.
7606         (elmo-nntp-send-command): Changed argument.
7607         All other related portions are changed.
7608         (elmo-nntp-read-response): Ditto.
7609         (elmo-nntp-read-raw-response): Ditto.
7610         (elmo-nntp-read-contents): Ditto.
7611         (elmo-nntp-read-body): Ditto.
7612         (elmo-nntp-goto-folder): Abolished.
7613         (elmo-nntp-select-group): New function.
7614         All other related portions are changed.
7615         (This function substitutes `elmo-nntp-goto-folder')
7616         (elmo-nntp-msgdb-create-by-header): Rewrite.
7617         (elmo-nntp-get-overview): Eliminated.
7618         (elmo-nntp-get-message): Ditto.
7619         (elmo-nntp-open-connection) Abolished.
7620         (elmo-nntp-read-msg): Rewrite.
7621         (elmo-nntp-post): Ditto.
7622         (elmo-nntp-send-data): Abolished.
7623         (elmo-nntp-send-buffer): New function.
7624         (elmo-nntp-send-data-line): Define as inline function.
7625         (elmo-nntp-get-folders-info-prepare): Use session as key.
7626         (elmo-nntp-groups-read-response): Changed argument.
7627         (elmo-nntp-retrieve-headers): Ditto.
7628         (elmo-nntp-msgdb-create-message): Ditto.
7629
7630         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7631         when searching by 'since' or 'before'.
7632
7633 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7634
7635         * elmo-version.el (toplevel): Use product-version-as-string for set
7636         verstion-string, if defined.
7637
7638 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7639
7640         * elmo-util.el: Doc fixes.
7641
7642 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7643
7644         * elmo-archive.el (toplevel): Use product-provide.
7645         * elmo-cache.el (toplevel): Ditto.
7646         * elmo-database.el (toplevel): Ditto.
7647         * elmo-date.el (toplevel): Ditto.
7648         * elmo-dop.el (toplevel): Ditto.
7649         * elmo-filter.el (toplevel): Ditto.
7650         * elmo-imap4.el (toplevel): Ditto.
7651         * elmo-internal.el (toplevel): Ditto.
7652         * elmo-localdir.el (toplevel): Ditto.
7653         * elmo-localnews.el (toplevel): Ditto.
7654         * elmo-maildir.el (toplevel): Ditto.
7655         * elmo-msgdb.el (toplevel): Ditto.
7656         * elmo-multi.el (toplevel): Ditto.
7657         * elmo-net.el (toplevel): Ditto.
7658         * elmo-nntp.el (toplevel): Ditto.
7659         * elmo-pipe.el (toplevel): Ditto.
7660         * elmo-pop3.el (toplevel): Ditto.
7661         * elmo-util.el (toplevel): Ditto.
7662         * elmo-vars.el (toplevel): Ditto.
7663         * elmo2.el (toplevel): Ditto.
7664         * mmelmo-1.el (toplevel): Ditto.
7665         * mmelmo-2.el (toplevel): Ditto.
7666         * mmelmo-imap4-1.el (toplevel): Ditto.
7667         * mmelmo-imap4-2.el (toplevel): Ditto.
7668         * mmelmo-imap4.el (toplevel): Ditto.
7669         * mmelmo.el (toplevel): Ditto.
7670
7671 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7672
7673         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7674         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7675
7676 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7677
7678         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7679         before splitting.
7680         (elmo-multi-split-number-alist): Ditto.
7681
7682 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7683
7684         * elmo-version.el: New file.  Use product.el.
7685         * elmo2.el: Add (require 'elmo-version).
7686         * elmo-vars.el (elmo-appname, elmo-version): Move to
7687         elmo-version.el
7688
7689 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7690
7691         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7692         `elmo-msgdb-expand-path'.
7693         (elmo-msgdb-load): Ditto.
7694         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7695         (elmo-generic-list-folder-unread): Rewrite.
7696         (elmo-generic-list-folder-important): Changed argument.
7697         (elmo-list-folder-unread): Ditto.
7698         (elmo-list-folder-important): Ditto.
7699         (elmo-folder-diff): Rewrite.
7700         (elmo-generic-folder-diff): New function.
7701         (elmo-multi-get-number-alist-list): Abolished
7702         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7703         (elmo-multi-folder-diff): Moved to elmo-multi.el
7704         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7705
7706         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7707         `elmo-msgdb-expand-path'.
7708         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7709         (elmo-pop3-read-msg): Ditto.
7710         (elmo-pop3-delete-msgs): Ditto.
7711         (elmo-pop3-folder-diff): New alias.
7712
7713         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7714         `elmo-msgdb-expand-path'.
7715         (elmo-pipe-list-folder-unread): Changed arguments.
7716         (elmo-pipe-list-folder-important): Ditto.
7717         (elmo-pipe-folder-diff): New alias.
7718
7719         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7720         `elmo-msgdb-expand-path'.
7721         (elmo-nntp-max-of-folder): Ditto.
7722         (elmo-nntp-msgdb-create): Ditto.
7723         (elmo-nntp-delete-msgs): Ditto.
7724         (elmo-nntp-folder-diff): New alias.
7725
7726         * elmo-multi.el (elmo-multi-folder-diff): New function.
7727         (elmo-multi-split-mark-alist): Ditto.
7728         (elmo-multi-split-number-alist): Ditto.
7729         (elmo-multi-mark-alist-list): Abolished (Renamed to
7730         elmo-multi-split-mark-alist).
7731         (elmo-multi-list-folder-unread): Rewrite.
7732         (elmo-multi-list-folder-important): Ditto.
7733         (elmo-multi-list-folder): Set `spec' as 1st argument for
7734         `elmo-msgdb-expand-path'.
7735         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7736         instead of `elmo-multi-get-number-alist-list'.
7737
7738         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7739         If 1st argument is not string, treat as spec.
7740         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7741         `elmo-msgdb-expand-path'.
7742         (elmo-msgdb-flist-load): Ditto.
7743         (elmo-msgdb-flist-save): Ditto.
7744         (elmo-msgdb-delete-path): Ditto.
7745         (elmo-msgdb-rename-path): Ditto.
7746
7747         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7748         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7749         (elmo-maildir-delete-mark-msgs): Ditto.
7750         (elmo-maildir-msgdb-create): Ditto.
7751         (elmo-maildir-read-msg): Ditto.
7752         (elmo-maildir-delete-msgs): Ditto.
7753         (elmo-maildir-list-folder-subr): Ditto.
7754         (elmo-maildir-search): Ditto.
7755         (elmo-maildir-get-msg-filename): Ditto.
7756         (elmo-maildir-pack-number): Ditto.
7757         (elmo-maildir-folder-diff): New alias.
7758
7759         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7760
7761         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7762         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7763         (elmo-localdir-folder-diff): New alias.
7764
7765         * elmo-internal.el (elmo-internal-list-folder-subr):
7766         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7767         (elmo-internal-list-folder-by-location): Ditto.
7768         (elmo-internal-msgdb-create): Ditto.
7769         (elmo-internal-delete-msgs): Ditto.
7770         (elmo-internal-read-msg): Ditto.
7771         (elmo-internal-folder-diff): New alias.
7772
7773         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7774         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7775         `elmo-msgdb-expand-path'.
7776         (elmo-imap4-list-folder-unread): Changed arguments.
7777         (elmo-imap4-list-folder-important): Ditto.
7778
7779         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7780         (elmo-filter-list-folder-important): Ditto.
7781         (elmo-filter-folder-diff): New function.
7782
7783         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7784
7785         * elmo-cache.el (elmo-cache-list-folder):
7786         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7787         (elmo-cache-copy-msgs): Ditto.
7788         (elmo-cache-folder-diff): New alias.
7789
7790         * elmo-archive.el (elmo-archive-list-folder-subr):
7791         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7792         (elmo-archive-get-archive-name): Ditto.
7793         (elmo-archive-create-file): Ditto.
7794         (elmo-archive-append-msg): Ditto.
7795         (elmo-archive-copy-msgs): Ditto.
7796         (elmo-archive-copy-msgs-froms): Ditto.
7797         (elmo-archive-get-msg-filename): Ditto.
7798         (elmo-archive-folder-diff): New alias.
7799
7800 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7801
7802         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7803         (elmo-pop3-stream-type-alist): New variable.
7804         (elmo-nntp-stream-type-alist): New variable.
7805
7806         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7807         (elmo-kill-buffer): Ditto.
7808         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7809         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7810         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7811         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7812         (elmo-imap4-get-spec): Take into account
7813         `elmo-imap4-stream-type-alist'.
7814
7815 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7816
7817         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7818         (elmo-nntp-list-folders-get-cache): Ditto.
7819
7820 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7821
7822         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7823         character before 'uid'.
7824
7825 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7826
7827         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7828
7829         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7830
7831         * elmo-util.el (elmo-number-set-member): New function.
7832         (elmo-number-set-append-list): Ditto.
7833         (elmo-number-set-append): Ditto.
7834
7835         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7836         Use `elmo-number-set-member'.
7837         (elmo-living-messages): Ditto.
7838         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7839         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7840
7841         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7842         (elmo-imap4-add-to-cont-list): Abolished.
7843         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7844         instead of elmo-imap4-add-to-cont-list.
7845
7846         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7847         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7848
7849         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7850
7851 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7852
7853         * elmo-util.el (elmo-condition-parse-search-value):
7854         Fixed date parsing.
7855
7856 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7857
7858         * elmo-util.el (elmo-condition-find-key-internal): New function.
7859         (elmo-condition-find-key): Ditto.
7860
7861         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7862         (elmo-msgdb-search-internal): Ditto.
7863         (elmo-msgdb-search): Ditto.
7864
7865 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7866
7867         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7868         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7869
7870         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7871         (elmo-nntp-search-primitive): Fixed problem when condition is
7872         'unmatch'.
7873
7874         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7875
7876         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7877         (elmo-nntp-xhdr-p): New macro.
7878         (elmo-nntp-set-xhdr): Ditto.
7879         (elmo-nntp-parse-xhdr-response): New function.
7880         (elmo-nntp-retrieve-field): Ditto.
7881         (elmo-nntp-search-primitive): Ditto.
7882         (elmo-nntp-search): Implemented.
7883
7884         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7885
7886         * elmo-archive.el (elmo-archive-search): Set all number list to
7887         `elmo-archive-field-condition-match'
7888
7889         * elmo-localdir.el (elmo-localdir-search): Likewise.
7890
7891         * elmo-maildir.el (elmo-maildir-search): Likewise.
7892
7893 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7894
7895         * elmo-msgdb.el (elmo-living-messages): New function.
7896         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7897         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7898         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7899         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7900         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7901         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7902         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7903         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7904         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7905         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7906         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7907
7908 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7909
7910         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7911
7912         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7913
7914         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7915
7916         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7917         arguments for `SEARCH' command.
7918         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7919         All other related portions are changed.
7920
7921         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7922
7923         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7924         (elmo-list-folder-unread): Rewrite.
7925         (elmo-list-folder-important): Ditto.
7926
7927         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7928         (elmo-condition-parse-error): New inline function.
7929         (elmo-read-search-condition): New function.
7930         (elmo-read-search-condition-internal): Ditto.
7931         (elmo-parse-search-condition): Rewrite.
7932         (elmo-condition-parse): New function.
7933         (elmo-condition-parse-or-expr): Ditto.
7934         (elmo-condition-parse-and-expr): Ditto.
7935         (elmo-condition-parse-primitive): Ditto.
7936         (elmo-condition-parse-search-value): Ditto.
7937         (elmo-buffer-field-primitive-condition-match): Ditto.
7938         (elmo-buffer-field-condition-match): Rewrite.
7939         (elmo-file-field-condition-match): Ditto.
7940
7941         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7942         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7943
7944         * elmo-internal.el (elmo-internal-search): Set `number' and
7945         `number-list' argument of `elmo-file-field-condition-match'.
7946
7947         * elmo-maildir.el (elmo-maildir-search): Ditto.
7948
7949         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7950         `msgdb' as argument instead of `mark-alist'.
7951         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7952         `overview'.
7953
7954         * elmo-multi.el: Likewise.
7955
7956         * elmo-pipe.el: Likewise.
7957
7958         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7959         (elmo-imap4-search-internal): Rewrite.
7960         (elmo-imap4-search): Ditto.
7961
7962         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7963         (elmo-filter-list-folder-unread): Ditto.
7964         (elmo-filter-list-folder-important): Ditto.
7965         (elmo-filter-search): Rewrite.
7966
7967         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7968         `number-list' argument of `elmo-file-field-condition-match'.
7969         (elmo-cache-search): Ditto.
7970
7971         * elmo-localdir.el: Likewise.
7972
7973         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7974         number-list and pass it to `elmo-buffer-field-condition-match'.
7975         (elmo-archive-field-condition-match): Pass `number-list' to
7976         `elmo-archive-field-condition-match'
7977
7978 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
7979
7980         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7981         `listgroup'.
7982
7983         * elmo2.el (elmo-folder-diff-async-callback): New variable.
7984         (elmo-folder-diff-async-callback-data): Ditto.
7985         (elmo-folder-diff-async): New function.
7986
7987         * elmo-net.el (elmo-network-session-name-prefix): New variable.
7988         (elmo-network-session-cache-key): Use it as a prefix of the session
7989         name.
7990         (elmo-network-open-session): Ditto.
7991
7992         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7993         (elmo-imap4-status-callback-data): Ditto.
7994         (elmo-imap4-server-diff-async-callback): New variable.
7995         (elmo-imap4-server-diff-async-callback-data): Ditto.
7996         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7997         `elmo-imap4-status-callback-data'.
7998         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7999         `elmo-imap4-status-callback-data' as nil.
8000         (elmo-imap4-server-diff): Ditto.
8001         (elmo-imap4-server-diff-async-callback-1): New function.
8002         (elmo-imap4-server-diff-async): Ditto.
8003         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8004
8005 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8006
8007         * elmo-util.el (elmo-list-delete): Doc fix.
8008         (elmo-delete-lists): Abolish.
8009         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8010         instead of `elmo-delete-lists'.
8011
8012 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8013
8014         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8015         before `sort'.
8016
8017 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8018
8019         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8020         `elmo-imap4-literal-subr'.
8021         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8022         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8023
8024 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8025
8026         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8027         (elmo-archive-list-folder): Fix.
8028         (elmo-archive-max-of-folder): Fix.
8029
8030 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8031
8032         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8033          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8034         (elmo-localdir-append-msg): Ditto.
8035         (elmo-localdir-list-folder): Fix for `nonsort'.
8036         (elmo-localdir-list-folder-subr): Fix for `killed'.
8037         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8038         (elmo-maildir-list-folder-subr): Ditto.
8039         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8040         (elmo-archive-list-folder-subr): Ditto.
8041         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8042         (elmo-internal-list-folder-subr): Ditto.
8043
8044 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8045
8046         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8047
8048 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8049
8050         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8051
8052 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8053
8054         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8055         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8056
8057         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8058         before greeting.
8059         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8060         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8061
8062 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8063
8064         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8065
8066         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8067         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8068         before STORE command.
8069
8070 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8071
8072         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8073
8074         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8075         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8076         of `response'.
8077         (elmo-imap4-list-folders): Removed unused local variable.
8078         (elmo-network-initialize-session): Ditto.
8079         (elmo-imap4-delete-msg-by-id): Ditto.
8080         (elmo-imap4-parse-fetch): Ditto.
8081         (elmo-imap4-copy-msgs): Ditto.
8082         Use `dst-spec' instead of `dst-folder'.
8083         (elmo-network-authenticate-session): Check authenticate type `plain'.
8084
8085 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8086
8087         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8088         garbage checking.
8089         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8090         `elmo-imap4-response-value'.
8091         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8092
8093 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8094
8095         * elmo-imap4.el (elmo-imap4-send-command):
8096         Cause elmo-imap4-bye-error when current response is BYE.
8097         (elmo-imap4-arrival-filter): Changed greeting response value.
8098
8099         * elmo2.el (elmo-imap4-bye-error): Define.
8100
8101         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8102         (elmo-imap4-server-diff): Ditto.
8103         (elmo-imap4-response-bye-p): New macro.
8104         (elmo-imap4-response-error-text): Get text from BYE response.
8105         (elmo-imap4-read-response): Return if BYE response.
8106         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8107         (elmo-imap4-folder-exists-p): Ditto.
8108         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8109         (elmo-imap4-parse-bye): New function.
8110         (elmo-imap4-parse-response): Remove needless let.
8111         Call `elmo-imap4-parse-bye'.
8112
8113 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8114
8115         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8116         the mailbox does not exist.
8117         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8118
8119 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8120
8121         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8122
8123 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8124
8125         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8126
8127         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8128         (elmo-network-initialize-session-buffer): Defined.
8129
8130         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8131         Abolished.
8132         (mmelmo-imap4-get-mime-entity): Rewrite.
8133
8134         * elmo2.el (elmo-error): Capitalize error message.
8135
8136         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8137         (elmo-network-session-buffer): New macro.
8138         (elmo-network-open-session): Use it.
8139
8140         * elmo-imap4.el: Rewrite.
8141
8142 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8143
8144         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8145
8146 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8147
8148         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8149         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8150         (elmo-imap4-create-msgdb-from-overview-string): Use
8151         `elmo-msgdb-create-overview-from-buffer'.
8152
8153 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8154
8155         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8156         (elmo-imap4-default-hierarchy-delimiter): New variable.
8157         (elmo-imap4-list-folders): Use it.
8158
8159 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8160
8161         * elmo-net.el (elmo-network-open-session): Add user and
8162         stream-type for process-buffer name.
8163
8164         * elmo-pop3.el (elmo-network-initialize-session): Call
8165         buffer-disable-undo.
8166
8167         * elmo-imap4.el (elmo-network-initialize-session):
8168         Set current-buffer as an argument for `buffer-disable-undo'.
8169
8170         * elmo-pop3.el (elmo-network-close-session): Don't use
8171         `process-live-p'.
8172
8173         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8174         Set default as 'user.
8175
8176         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8177
8178         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8179         and `elmo-imap4-flush-connection'.
8180
8181         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8182         (elmo-pop3-get-spec): Assume auth as symbol.
8183         (elmo-open-network-stream): Moved to `elmo-net'.
8184
8185         * elmo-pop3.el (toplevel): Require 'elmo-net.
8186         Define `sasl-cram-md5' to silence byte compilier.
8187         (elmo-pop3-connection-cache) Abolished.
8188         (elmo-pop3-authenticator-alist) New variable.
8189         (elmo-pop3-session): Define.
8190         (elmo-pop3-connection-get-process): Abolished.
8191         (elmo-pop3-connection-get-buffer): Ditto.
8192         (elmo-pop3-close-connection): Ditto.
8193         (elmo-pop3-flush-connection): Ditto.
8194         (elmo-pop3-get-connection): Ditto.
8195         (elmo-pop3-get-session): New function.
8196         (Replacement for `elmo-pop3-get-connection').
8197         All other related modules are changed.
8198         (elmo-network-close-session): Define.
8199         (elmo-pop3-send-command): Abolished argument `buffer'.
8200         All other related modules are changed.
8201         (elmo-pop3-read-response): Likewise.
8202         (elmo-pop3-open-connection): Abolished.
8203         (elmo-pop3-auth-user): New function.
8204         (elmo-pop3-auth-apop): Ditto.
8205         (elmo-pop3-auth-cram-md5): Ditto.
8206         (elmo-pop3-auth-scram-md5): Ditto.
8207         (elmo-pop3-auth-digest-md5): Ditto.
8208         (elmo-network-initialize-session): Define.
8209         (elmo-network-authenticate-session): Ditto.
8210         (elmo-network-setup-session): Ditto.
8211
8212         * elmo-imap4.el (toplevel): Require 'elmo-net.
8213         (elmo-imap4-session): Define.
8214         (elmo-imap4-connection-cache): Abolished.
8215         (elmo-imap4-password-key): Ditto.
8216         (elmo-imap4-flush-connection): Ditto.
8217         (elmo-imap4-get-connection): Ditto.
8218         All other related modules are changed.
8219         (elmo-imap4-get-session): New function
8220         (Replacement for `elmo-imap4-get-connection').
8221         (elmo-imap4-read-response): Abolished argument `buffer'.
8222         All other related modules are changed.
8223         (elmo-imap4-send-command): Likewise.
8224         (elmo-imap4-select-folder): Abolished.
8225         All other related modules are changed.
8226         (elmo-imap4-select-mailbox): New function.
8227         (Replacement for `elmo-imap4-select-folder').
8228         (elmo-imap4-auth-login): Simplify.
8229         (Assume current buffer as process buffer)
8230         (elmo-imap4-auth-cram-md5): Ditto.
8231         (elmo-imap4-auth-digest-md5): Ditto.
8232         (elmo-imap4-login): Ditto.
8233         (elmo-imap4-open-connection): Abolished.
8234         (elmo-imap4-open-connection-1): Abolished.
8235         (elmo-network-initialize-sessoin): Define.
8236         (elmo-network-authenticate-session): Ditto.
8237         (elmo-network-setup-session): Ditto.
8238
8239         * elmo-net.el: New module.
8240
8241 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8242
8243         * elmo-util.el (elmo-define-error): New function.
8244
8245         * elmo2.el (elmo-error): Define.
8246         (elmo-open-error): Define.
8247         (elmo-authenticate-error): Define.
8248
8249         * elmo-imap4.el (elmo-imap4-error): Abolish.
8250         (elmo-imap4-error-type): Abolish.
8251         (elmo-imap4-error-process): Abolish.
8252         (elmo-imap4-error-message): Abolish
8253         (elmo-imap4-list-folders): Don't quote lambda.
8254         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8255         (elmo-imap4-parse-namespace): Ditto.
8256         (elmo-imap4-open-connection): Rewrite.
8257         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8258         (elmo-imap4-get-connection): Abolish local variable `result'.
8259
8260 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8261
8262         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8263         wrong-type-argument error when auth is nil.
8264
8265 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8266
8267         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8268         (elmo-default-nntp-stream-type): Ditto.
8269         (elmo-default-pop3-stream-type): Ditto.
8270         (elmo-network-stream-type-alist): Ditto.
8271         (elmo-default-imap4-ssl): Abolished.
8272         (elmo-default-nntp-ssl): Ditto.
8273         (elmo-default-pop3-ssl): Ditto.
8274
8275         * elmo-util.el: (toplevel): Removed needless requires.
8276         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8277         (elmo-open-network-stream): Open network stream according to
8278         the value of `elmo-network-stream-type-alist'.
8279         (elmo-get-network-stream-type): New function.
8280         (elmo-network-stream-type-spec-string): New macro.
8281         (elmo-network-stream-type-symbol): Ditto.
8282         (elmo-network-stream-type-function): Ditto.
8283
8284         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8285         network-stream-type. All other related portions are changed.
8286         (elmo-pop3-open-connection): Ditto.
8287
8288         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8289         network-stream-type. All other related portions are changed.
8290
8291         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8292         network-stream-type.All other related portions are changed.
8293         (elmo-imap4-error): New macro.
8294         (elmo-imap4-error-type): Ditto.
8295         (elmo-imap4-error-process): Ditto.
8296         (elmo-imap4-error-message): Ditto.
8297         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8298         (elmo-imap4-auth-cram-md5): Ditto.
8299         (elmo-imap4-auth-digest-md5): Ditto.
8300         (elmo-imap4-login): Ditto.
8301         (elmo-imap4-open-connection): Remove password entry if authentication
8302         was in vain.
8303         (elmo-imap4-user-at-host): Abolished.
8304         (elmo-imap4-password-key): New buffer local variable.
8305         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8306         using protocol, port, auth and stream-type.
8307
8308         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8309
8310 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8311
8312         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8313
8314         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8315
8316         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8317         (elmo-imap4-authenticator-alist): New variable.
8318         (elmo-imap4-open-connection-1): Rename from
8319         elmo-imap4-open-connection.
8320         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8321         only wraps elmo-imap4-open-connection-1.
8322         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8323         user-at-host.
8324         (elmo-imap4-auth-login): New function.
8325         (elmo-imap4-auth-cram-md5): New function.
8326         (elmo-imap4-auth-digest-md5): New function.
8327         (elmo-imap4-login): New function.
8328
8329 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8330
8331         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8332         function `error'.
8333
8334 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8335
8336         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8337
8338 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8339
8340         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8341
8342 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8343
8344         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8345         for server responses, quote `*' regardless of where it appears.
8346
8347 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8348
8349         * elmo-maildir.el (elmo-maildir-commit): New alias.
8350
8351 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8352
8353         * elmo-util.el (elmo-display-progress):
8354                 Use `progress-feedback-with-label'.
8355
8356 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8357
8358         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8359         (elmo-imap4-non-atom-char-regex): Ditto.
8360         (elmo-imap4-non-text-char-regex): Ditto.
8361         (elmo-imap4-literal-threshold): Ditto.
8362         (elmo-imap4-atom-p): New function.
8363         (elmo-imap4-quotable-p): Ditto.
8364         (elmo-imap4-nil): Ditto.
8365         (elmo-imap4-atom): Ditto.
8366         (elmo-imap4-quoted): Ditto.
8367         (elmo-imap4-literal-subr): Ditto.
8368         (elmo-imap4-literal): Ditto.
8369         (elmo-imap4-buffer-literal): Ditto.
8370         (elmo-imap4-string-subr): Ditto.
8371         (elmo-imap4-string): Ditto.
8372         (elmo-imap4-buffer-string): Ditto.
8373         (elmo-imap4-astring-subr): Ditto.
8374         (elmo-imap4-astring): Ditto.
8375         (elmo-imap4-buffer-astring): Ditto.
8376         (elmo-imap4-nstring): Ditto.
8377         (elmo-imap4-buffer-nstring): Ditto.
8378         (elmo-imap4-mailbox): New alias.
8379         (elmo-imap4-field-body): Ditto.
8380         (elmo-imap4-userid): Ditto.
8381         (elmo-imap4-password): Ditto.
8382         (elmo-imap4-format-quoted): New function.
8383         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8384         arguments and handle "atom", "quoted" and "literal" string here.
8385         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8386         `elmo-imap4-send-command'.
8387         (elmo-imap4-folder-exists-p): Likewise.
8388         (elmo-imap4-create-folder): Likewise.
8389         (elmo-imap4-delete-folder): Likewise.
8390         (elmo-imap4-rename-folder): Likewise.
8391         (elmo-imap4-max-of-folder): Likewise.
8392         (elmo-imap4-check-validity): Likewise.
8393         (elmo-imap4-sync-validity): Likewise.
8394         (elmo-imap4-server-diff): Likewise.
8395         (elmo-imap4-select-folder): Likewise.
8396         (elmo-imap4-copy-msgs): Likewise.
8397         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8398         (elmo-imap4-mark-set-on-msgs): Likewise.
8399         (elmo-imap4-read-part): Likewise.
8400         (elmo-imap4-read-msg): Likewise.
8401         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8402         `elmo-imap4-password' for `elmo-imap4-send-command'.
8403         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8404         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8405         `elmo-imap4-buffer-literal'.
8406         (elmo-imap4-append-msg): Likewise.
8407
8408         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8409         `delete' for removing dead connection from the connection cache.
8410         Move deletion of the process buffer after that.
8411         (elmo-imap4-list): Change `defsubst' to `defun'.
8412         (elmo-imap4-commit): Make error message verbose.
8413         (elmo-imap4-search): Ditto.
8414         (elmo-imap4-list): Ditto.
8415         (elmo-imap4-select-folder): Ditto.
8416         (elmo-imap4-copy-msgs): Ditto.
8417         (elmo-imap4-delete-msg-by-id): Ditto.
8418         (elmo-imap4-append-msg-by-id): Ditto.
8419         (elmo-imap4-append-msg): Ditto.
8420
8421 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8422
8423         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8424         when dired is used on XEmacs.
8425
8426 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8427
8428         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8429         instead of `append'.
8430         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8431         `elmo-plugged-p' directly.
8432         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8433         of `elmo-plugged-p' directly.
8434
8435         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8436         Eliminate unused variable.  Use `memq' for checking a process status.
8437         Use `cons' instead of `append' for updating the connection cache.
8438         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8439         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8440
8441 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8442
8443         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8444         `elmo-imap4-read-point' exactly.
8445
8446         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8447         the local variable `folder' to `mailbox'.
8448         Rename the argument `fld' to `folder'.
8449
8450 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8451
8452         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8453         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8454
8455 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8456
8457         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8458         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8459         (elmo-pop3-uidl-number-hash): Ditto.
8460         (elmo-pop3-size-hash): Ditto.
8461         (elmo-pop3-uidl-done): Ditto.
8462         (elmo-pop3-list-done): Ditto.
8463         (elmo-pop3-connection-get-process): New defmacro.
8464         (elmo-pop3-connection-get-buffer): Ditto.
8465         (elmo-pop3-close-connection): Delete buffer and process.
8466         (elmo-pop3-flush-connection): Don't delete buffer and process.
8467         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8468         Setup UIDL and size hash.
8469         (elmo-pop3-send-command-no-erase): Deleted
8470         (elmo-pop3-send-command): Added optional argument `no-erase'.
8471         (elmo-pop3-parse-uidl-response): New function.
8472         (elmo-pop3-parse-list-response): Set size hash.
8473         (elmo-pop3-list-location): New function.
8474         (elmo-pop3-list-by-uidl-subr): Ditto.
8475         (elmo-pop3-list-by-list): Ditto.
8476         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8477         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8478         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8479         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8480         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8481         Use uidl.
8482         (elmo-pop3-uidl-to-number): New function.
8483         (elmo-pop3-number-to-uidl): Ditto.
8484         (elmo-pop3-number-to-size): Ditto.
8485         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8486         Set number by use of uidl.
8487         (elmo-pop3-msgdb-create-message): Likewise.
8488         Set size, loc-alist in msgdb.
8489         (elmo-pop3-read-msg): Set number by use of uidl.
8490         Added optional argument `msgdb'.
8491         (elmo-pop3-delete-msg): Ditto.
8492         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8493         (elmo-pop3-commit): Close connection.
8494
8495         * elmo-pipe.el (elmo-pipe-max-of-folder):
8496         Bind `elmo-pop3-use-uidl' as nil.
8497         (elmo-pipe-drain): Ditto.
8498         Call `elmo-commit'.
8499
8500         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8501         (elmo-msgdb-overview-entity-set-size): New defsubst.
8502
8503 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8504
8505         * elmo-vars.el (elmo-use-killed-list): New variable
8506         (Renamed from `elmo-nntp-use-killed-list').
8507         (elmo-nntp-use-killed-list): Eliminated.
8508
8509         * elmo-msgdb.el (elmo-msgdb-expand-path):
8510         Changed expanding msgdb path for elmo-multi.
8511
8512         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8513         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8514         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8515         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8516         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8517         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8518         (toplevel): Deleted time-stamp line.
8519
8520         * elmo2.el (elmo-clear-killed ): Defined as function
8521         (Abolished defining as a backend function).
8522         All other related modules are changed.
8523
8524 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8525
8526         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8527
8528 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8529
8530         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8531
8532 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8533
8534         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8535
8536 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8537
8538         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8539         asynchronous folder check.
8540
8541         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8542
8543         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8544         `elmo-nntp-use-killed-list'.
8545         (elmo-nntp-list-folder): Use killed list.
8546         (elmo-nntp-max-of-folder): Ditto.
8547         (elmo-nntp-msgdb-create): Set killed list.
8548
8549         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8550
8551         * elmo2.el (elmo-clear-killed): New backend function.
8552         All other related modules are changed.
8553
8554 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8555
8556         * elmo-util.el (elmo-imap4-spec-folder): Use
8557         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8558         All callers changed.
8559
8560 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8561
8562         * mmelmo-2.el (initialize-instance):
8563         Use `mime-buffer-entity-buffer-internal' instead of
8564         `mime-entity-buffer'.
8565
8566         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8567         (mime-entity-body): Implemented.
8568         (mime-goto-header-start-point): Deleted.
8569         (mime-goto-body-end-point): Ditto.
8570         (mime-entity-point-min): Ditto.
8571         (mime-entity-point-max): Ditto.
8572         (mime-entity-children): Ditto.
8573         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8574         instead of `mime-entity-buffer'.
8575         (mime-entity-header-buffer): Ditto.
8576         (mime-entity-body-buffer): Ditto.
8577         (mime-write-entity-content): Ditto.
8578
8579         * pldap.el (ldap-static-if): New macro.
8580         (toplevel): Use it instead of `static-if'.
8581
8582 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8583
8584         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8585         included in `attrs' argument.
8586
8587 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8588
8589         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8590
8591         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8592         (ldap-ldif-safe-init-char-regexp): Ditto.
8593         (ldap-ldif-safe-string-regexp): Ditto.
8594         (ldap/ldif-safe-string-p): New macro.
8595         (ldap/ldif-insert-field): Ditto.
8596         (ldap-modify): Use it.
8597         (ldap-add): Ditto.
8598         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8599         (ldap-decode-attribute): Decode only when `attr' is consp.
8600         (ldap-delete): Bind `ret'.
8601         (toplevel): Require 'cl at compile time.
8602         Removed (require 'poe) and (require 'std11).
8603         (pldap-version): Eliminated.
8604         (ldap-search-basic): Removed auth and dn binding.
8605         (ldap-ldif-field-name-regexp): New constant.
8606         (ldap-ldif-field-head-regexp): Ditto.
8607         (ldap-ldif-next-field-head-regexp): Ditto.
8608         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8609         (ldap/field-end): New function.
8610         (ldap/field-body): Use it.
8611         (ldap/collect-field): Ditto.
8612         (ldap-search-basic): Use `ldap/field-body'.
8613
8614 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8615
8616         * pldap.el (ldap-default-attribute-encoder): New user option.
8617         (ldap/field-body): Decode base64 string.
8618         (ldap/collect-field): Ditto.
8619         (ldap-encode-attribute): New function.
8620         (ldap-add-entries): Use it.
8621         (ldap-modify-entries): Ditto.
8622         (ldap-search-entries): Enclosed decoding function with
8623         `with-temp-buffer' and set as unibyte.
8624         (ldap-search-basic): Set process buffer as unibyte.
8625
8626         * elmo-util.el (elmo-folder-identical-system-p):
8627         Eliminated name space checking.
8628
8629         * pldap.el: New module.
8630         toplevel: Changed condition to detect built-in ldap feature.
8631         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8632         (ldap-add): Added error handling.
8633         (ldap-modify): Ditto.
8634         (ldap-delete): Ditto.
8635
8636 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8637
8638         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8639         Initialize local variables with `let'.  Inline a temporary
8640         variable for the progress percentage.  Sort `setq' to reduce
8641         function call in the while-loop.
8642
8643         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8644         into the conditional branch.
8645
8646 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8647
8648         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8649         Move a conditional out of the while-loop.
8650
8651 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8652
8653         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8654         elmo-msgdb-overview-get-entity-by-number.
8655         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8656         throw.
8657
8658 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8659
8660         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8661         the local variable for a packed number self descriptively.
8662
8663 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8664
8665         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8666         * elmo-localdir.el (elmo-localdir-pack-number): Use
8667         `elmo-msgdb-overview-get-entity' instead of
8668         `elmo-msgdb-overview-get-entity-by-number'.
8669         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8670         (elmo-msgdb-search-overview-entity): Removed.
8671         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8672         by message-id or number.
8673         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8674         instead of `elmo-msgdb-overview-get-entity-by-number'.
8675
8676 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8677
8678         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8679         non-nil, use hash table for overview.
8680         (elmo-hash-maximum-size): New variable.
8681         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8682         (elmo-msgdb-make-overview-hashtb): New function.
8683         (elmo-msgdb-clear-overview-hashtb): New function.
8684         (elmo-clear-hash-val): New macro.
8685         All other related modules are changed.
8686
8687 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8688
8689         * elmo2.el (elmo-move-msgs): If there's other message with
8690         same message-id, don't use cache.
8691
8692 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8693
8694         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8695         number is already packed.
8696
8697 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8698
8699         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8700
8701 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8702
8703         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8704         All other related modules are changed.
8705
8706 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8707
8708         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8709         of refiling failure on Maildir.
8710
8711 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8712
8713         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8714         decoded mime-charset with cache.
8715         (elmo-msgdb-overview-entity-get-from): Ditto.
8716         (elmo-msgdb-overview-entity-get-subject): Ditto.
8717         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8718
8719 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8720
8721         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8722         (elmo-remove-passwd): Fill password with 0 before erase.
8723         * elmo-vars.el (elmo-passwd-life-time): New variable.
8724
8725 \f
8726 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8727
8728         * elmo-cache.el (elmo-buffer-cache-add):
8729         Set message cache buffer as unibyte.
8730
8731 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8732
8733         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8734         become nil.
8735
8736 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8737
8738         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8739         when display is finished.
8740         (elmo-nntp-msgdb-create): Ditto.
8741         (elmo-nntp-groups-read-response): Ditto.
8742         (elmo-nntp-retrieve-headers): Ditto.
8743         (elmo-nntp-msgdb-create-message): Ditto.
8744         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8745         (elmo-pop3-msgdb-create-message): Ditto.
8746
8747 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8748
8749         * elmo-maildir.el (elmo-maildir-msgdb-create):
8750         Use `elmo-msgdb-sort-by-date'.
8751
8752 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8753
8754         * elmo2.el (elmo-read-msg-no-cache):
8755         Eliminated arguments after `outbuf'.
8756         Don't use cache even if it exists.
8757         (elmo-read-msg): Don't pass arguments after `outbuf' to
8758         `elmo-read-msg-no-cache'.
8759
8760 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8761
8762         * elmo-archive.el (elmo-archive-list-folders):
8763         Use `file-name-directory' if base folder does not exist.
8764
8765 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8766
8767         * elmo-archive.el (elmo-archive-list-folders): Don't use
8768         `file-name-directory'.
8769
8770 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8771
8772         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8773         If `force' is non-nil, try flushing all operation queues.
8774
8775 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8776
8777         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8778         as-binary-process.
8779
8780 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8781
8782         * elmo-util.el (elmo-display-progress): Fixed.
8783
8784 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8785
8786         * elmo-util.el (elmo-display-progress): New function.
8787         All other related modules are changed.