* elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
4         start-number correctly.
5         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
6         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
7
8 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9
10         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
11         (elmo-folder-initialize): Use it.
12         (elmo-global-flag-replace-referrer): New function.
13
14         * elmo.el (toplevel): Added autoload setting for
15         `elmo-global-flag-replace-referrer'.
16         (elmo-folder-rename): Rewrite the last change use
17         `elmo-global-flag-replace-referrer'.
18
19         * elmo-pipe.el (elmo-folder-rename): Call
20         `elmo-global-flag-replace-referrer'.
21
22 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
23
24         * elmo.el (elmo-folder-rename): Set meta data for global flags
25         follow the rename.
26
27 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
28
29         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
30         as 'not-loaded.
31         (elmo-folder-close): Ditto.
32         (elmo-filter-folder-number-list-loaded-p): New function.
33         (elmo-filter-folder-number-list): Check whether loaded or not.
34         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
35         of `elmo-filter-folder-number-list-internal'.
36         (elmo-folder-delete-messages): Ditto.
37         (elmo-folder-length): Check whether number-list is loaded or not.
38
39 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
40
41         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
42         field `real field' into each element of list.
43         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
44         (elmo-msgdb-message-entity-field): Ditto.
45         (modb-entity-ml-info-real-fields): New function.
46
47         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
48
49         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
50         `elmo-msgdb-extra-fields'.
51
52 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
53
54         * elmo-util.el (elmo-passwd-alist-load): Move point to min
55         position before read.
56
57 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
58
59         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
60         (elmo-global-flags-initialize): Ditto.
61
62 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
63
64         * elmo-archive.el (toplevel): Don't require emu, std11
65         and elmo-localdir.
66
67         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
68         definition.
69
70 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
71
72         * elmo.el (elmo-folder-confirm-appends): Display folder name.
73
74 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
75
76         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
77         literals.
78
79 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
80
81         * elmo-maildir.el (elmo-maildir-list-location): Reduce
82         `elmo-get-last-modification-time' call.
83
84 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
85
86         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
87         expression.
88         (elmo-maildir-set-mark): Ditto.
89         (elmo-maildir-delete-mark): Ditto.
90
91 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
92
93         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
94         optional argument `separators'.
95
96 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
97
98         * elmo.el (cache-changed): Abolish.
99         (status-changed): New signal.
100         (elmo-message-killed-p): New generic function and define for
101         elmo-folder.
102         (elmo-folder-recover-messages): Ditto.
103         (elmo-message-set-cached): Emit signal `status-changed' instead of
104         `cache-changed'.
105         (elmo-message-status): New macro.
106         (elmo-message-status-folder): Ditto.
107         (elmo-message-status-number): Ditto.
108         (elmo-message-status-set-flags): Ditto.
109         (elmo-message-status-set-killed): Ditto.
110         (elmo-message-status-flags): New function.
111         (elmo-message-status-cached-p): Ditto.
112         (elmo-message-status-killed-p): Ditto.
113
114         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
115         `status-changed' instead of `cache-changed'.
116         (elmo-folder-recover-messages): Define.
117         (elmo-message-killed-p): Ditto.
118
119         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
120         `status-changed' instead of `cache-changed'.
121
122         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
123         (elmo-message-killed-p): Define.
124         (elmo-folder-recover-messages): Ditto.
125
126         * elmo-version.el (elmo-version): Up to 2.15.3.
127
128 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
129
130         * elmo-signal.el (elmo-signal-bindings): Use cons to append
131         element into list.
132         (elmo-define-signal-handler): Add docstring.
133         (elmo-define-signal-filter): Ditto.
134
135         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
136
137 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
138
139         * elmo-util.el (elmo-flatten): Don't use recursive call.
140
141         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
142         assignment.
143         (elmo-folder-message-make-temp-files): Use `number-to-string'
144         instead of `int-to-string'.
145
146 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
147
148         * elmo-search.el (elmo-folder-delete-messages): Define.
149
150 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
151
152         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
153         customization type.
154         (elmo-mailing-list-count-spec-list): Ditto.
155
156         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
157         for `list-id'.
158
159 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
160
161         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
162         handling.
163
164 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
165
166         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
167         (elmo-mailing-list-count-spec-list): Ditto.
168
169         * elmo-util.el (elmo-map-until-success): New function.
170         (elmo-string-match-substring): Ditto.
171         (elmo-find-list-match-value): Ditto.
172
173         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
174         Removed.
175         (modb-entity-extract-ml-info-from-subject): Ditto.
176         (modb-entity-extract-ml-info-from-return-path): Ditto.
177         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
178         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
179         (modb-entity-extract-ml-info-from-mailman): Ditto.
180         (modb-entity-extract-mailing-list-info-functions): Ditto.
181         (modb-entity-extract-mailing-list-info): Rewrite with
182         `elmo-find-list-match-value'.
183
184 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
185
186         * elmo-net.el (elmo-network-session-retry-count): New user option.
187         (elmo-network-session-buffer-name): New internal function.
188         (elmo-network-session-buffer-create): Ditto.
189         (elmo-network-open-session): Retry open network session
190         `elmo-network-session-retry-count' times.
191
192 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
193
194         * elmo-util.el (elmo-list-filter): Rewritten.
195
196 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
197
198         * elmo-util.el (elmo-string-member): Allow symbol element in list.
199
200 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-search.el (elmo-make-search-engine): Use prefix
203         `elmo-search-' for require symbol instead of `else-'.
204         (elmo-search-engine-extprog): New class.
205         (elmo-search-engine-do-search): Remove nil from argument
206         list. Added argument pattern to evaluate element as function.
207         (elmo-search-engine-local-file): Derived from
208         `elmo-search-engine-extprog'.
209         (elmo-search-engine-create-message-entity): Check existance of file.
210         (elmo-search-engine-fetch-message): Ditto.
211         (elmo-search-namazu-index): Follow the API change.
212         (elmo-search-grep-target): Ditto.
213
214 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
215
216         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
217         characters of working buffer.
218
219         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
220         Does not bind `default-mime-charset'.
221         (elmo-msgdb-create-message-entity-from-buffer): Removed
222         unnecessary local bind.
223
224         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
225         function.
226         (modb-entity-extract-mailing-list-info-functions): Added it.
227
228 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
229
230         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
231         when number and message-id are non-nil.
232
233         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
234
235         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
236         conditional steatment.
237         (elmo-pop3-auth-apop): Likewise.
238         (elmo-network-authenticate-session): Likewise.
239
240 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
241
242         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
243         symbol `fill-column'.
244         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
245         decode field value.
246
247         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
248         (elmo-decoded-field-body): Ditto.
249
250 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
251
252         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
253         `tokens' to `params'.
254
255 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
256
257         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
258         working buffer.
259
260 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
261
262         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
263         decide index.
264
265 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
266
267         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
268         Set default value as nil.
269         (toplevel): Register search engines by
270         `elmo-search-register-engine' if there are not defined.
271
272         * elmo.el (autoload): Added autoload setting for
273         `elmo-search-register-engine'.
274
275 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
276
277         * elmo.el (toplevel): `[' is redefined as the prefix of the search
278         folder instead of nmz folder.
279         (elmo-nmz-default-index-path): Added obsolete variable setting.
280         (elmo-nmz-index-alias-alist): Ditto.
281         (elmo-nmz-use-drive-letter): Ditto.
282
283         * elmo-search.el (elmo-search-register-engine): New function.
284
285         * elmo-nmz.el: Removed.
286
287         * elmo-version.el (elmo-version): Up to 2.15.2.
288
289 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
290
291         * elmo-search.el: New file.
292
293 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
294
295         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
296         condition `larger' and `smaller'.
297
298 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
299
300         * elmo-util.el (elmo-safe-filename): Rewrite to replace
301         `"' (double quote) into "_Q_".
302
303 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
304
305         * elmo-net.el (elmo-net-quote-chars): Abolish.
306         (elmo-net-format-quoted): Ditto.
307
308 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
309
310         * elmo.el (elmo-get-folder-function): New variable.
311         (elmo-get-folder): New function.
312         (elmo-folder-rename): Call `elmo-make-folder' with specified
313         mime-charset.
314
315         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
316         `elmo-make-folder'.
317         (elmo-split-subr): Ditto.
318
319         * elmo-multi.el (elmo-folder-initialize): Ditto.
320
321         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
322
323         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
324         (elmo-flag-get-folder): Ditto.
325
326         * elmo-filter.el (elmo-folder-initialize): Ditto.
327
328         * elmo-access.el (elmo-folder-initialize): Ditto.
329         (elmo-access-folder-update-children): Ditto.
330
331         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
332         (elmo-dop-queue-flush): Ditto.
333         (elmo-folder-append-buffer-dop-delayed): Ditto.
334         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
335         mime-charset.
336
337         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
338         instead of `elmo-make-folder'.
339         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
340         destination folder instead of send `elmo-folder-rename-internal'.
341
342         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
343         slot of subfolder instead of create it.
344
345 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
346
347         * elmo-util.el (elmo-collect-separators): New function.
348         (elmo-collect-separators-internal): Ditto.
349         (elmo-collect-trail-separators): Ditto.
350         (elmo-parse-separated-tokens): Ditto.
351         (elmo-parse-separated-tokens-internal): Ditto.
352         (elmo-quote-syntactical-element): Ditto.
353
354         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
355         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
356
357         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
358         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
359         (elmo-nntp-folder-list-subfolders): Quote a user name.
360
361         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
362         (elmo-net-parse-network): Abolish.
363         (elmo-net-folder-set-parameters): New function.
364         (elmo-folder-initialize): Follow the above change.
365
366         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
367         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
368         (elmo-folder-list-subfolders): Use
369         `elmo-quote-syntactical-element' instead of
370         `elmo-net-format-quoted' to quote mailbox and user name.
371
372 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
373
374         * elmo-util.el (elmo-token-valid-p): New function.
375         (elmo-parse-token): Add optional argument `requirement'.
376         (elmo-parse-prefixed-element): Likewise.
377
378         * elmo-net.el (elmo-net-quote-chars): Renamed from
379         `elmo-net-quote-chars-regexp'.
380         (elmo-net-format-quoted): Add optional argument `extra-chars'.
381
382         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
383         by info document. Check token `uidl' is started an alphabet.
384
385         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
386         by info document. Check token `user' is started an alphabet.
387
388         * elmo-imap4.el (elmo-folder-initialize): Ditto.
389         (elmo-folder-list-subfolders): Quote user.
390
391 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
392
393         * elmo-util.el (elmo-quoted-specials-list): New constant.
394         (elmo-quoted-token): New function.
395
396         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
397         (elmo-net-format-quoted): New function.
398         (elmo-net-parse-network): Ditto.
399         (elmo-folder-initialize): Use it.
400
401         * elmo-nntp.el (elmo-folder-initialize): Use
402         `elmo-net-parse-network' to parse network specification instead of
403         `elmo-folder-initialize#elmo-net'.
404
405         * elmo-pop3.el (elmo-folder-initialize): Ditto.
406
407         * elmo-imap4.el (elmo-folder-initialize): Ditto.
408         (elmo-folder-list-subfolders): Quote folder name by
409         `elmo-net-format-quoted'.
410
411 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
412
413         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
414         (elmo-folder-search): Use it.
415
416 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
417
418         * modb-standard.el (modb-standard-loaded-message-id): Use
419         `elmo-msgdb-message-entity-field'.
420
421 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
422
423         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
424         without filename.
425
426 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
427
428         * elmo-util.el (elmo-set-auto-coding): New function.
429         (elmo-object-load): Use it.
430
431 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
432
433         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
434         (elmo-time<): Define as alias of `elmo-time-less-p'.
435         (elmo-time-to-datevec): New function.
436
437         * elmo-date.el (elmo-time-to-days): New function.
438
439 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
440
441         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
442         is not cons cell.
443
444 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
445
446         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
447         parenthesis.
448
449         * elmo-util.el (elmo-map-recursive): New function.
450
451         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
452         (modb-entity-encode-string-recursive): Ditto.
453
454 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
455
456         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
457         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
458         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
459         compare sequence number when last modified time is nil.
460
461 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
462
463         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
464
465         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
466
467 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
468
469         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
470         modification time of the file.
471
472 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
473
474         * elmo-util.el (elmo-condition-optimize): Discriminated against
475         preserved fields, extra fields and the other weight.
476
477 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
478
479         * modb-entity.el (initialize-instance): Define.
480         (modb-entity-handler-mime-charset): New internal function.
481         (modb-standard-entity-set-field): Use it.
482         (elmo-msgdb-message-entity-field): Ditto.
483         (elmo-msgdb-message-entity-field): Ditto.
484
485         * modb.el (elmo-msgdb-match-condition): Rewrite with
486         `elmo-condition-match'.
487         (elmo-msgdb-match-condition-primitive): New function.
488
489         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
490         arguments `flags' and `numbers'.
491         (elmo-msgdb-match-condition-primitive): Abolished (merged to
492         `elmo-msgdb-message-match-condition').
493         (modb-buffer-entity-handler): New class.
494
495         * elmo.el (elmo-folder-search): Optimize condition to use
496         `elmo-condition-optimize'.
497         (elmo-message-buffer-match-condition): New function.
498         (elmo-message-match-condition): Use
499         `elmo-message-buffer-match-condition' instead of
500         `elmo-buffer-field-condition-match'.
501
502         * elmo-util.el (elmo-condition-match): New function.
503         (elmo-condition-optimize): Ditto.
504         (elmo-buffer-field-primitive-condition-match): Abolish.
505         (elmo-buffer-field-condition-match): Ditto.
506
507         * elmo-archive.el (elmo-archive-field-condition-match): Use
508         `elmo-message-buffer-match-condition' instead of
509         `elmo-buffer-field-condition-match'.
510
511 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
512
513         * elmo-flag.el (elmo-global-flags-initialize): Check the
514         existence of the flag directory.
515
516 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
517
518         * elmo-access.el (elmo-folder-initialize): Call
519         `elmo-multi-connect-signals'.
520
521         * elmo-pipe.el (elmo-folder-close): Define.
522
523         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
524         children folders.
525
526         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
527         with target folder.
528
529         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
530         `number'.
531
532         * elmo-multi.el (elmo-message-entity): Don't use return value of
533         `elmo-message-entity-set-number'.
534
535 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
536
537         * modb.el (modb-generic): Added slot `mime-charset'.
538
539         * modb-standard.el (modb-standard): Added slot `overview-handler'.
540         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
541         and `modb-entity-handler-dump-parameters'.
542         (modb-standard-default-entity-handler): Abolish.
543         (elmo-msgdb-message-entity-handler): Save created handler by
544         instance slot.
545
546         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
547         (modb-entity-handler-list-parameters): New method.
548         (modb-entity-handler-equal-p): New function.
549         (modb-entity-handler-dump-parameters): Ditto.
550         (modb-entity-parse-address-string): Encode return value.
551         (modb-entity-make-address-string): Decode argument value.
552         (modb-entity-decode-string-recursive): New function.
553         (modb-entity-encode-string-recursive): Ditto.
554         (modb-standard-entity-normalizer): Set to encode field value.
555         (modb-standard-entity-specializer): Follow the above change.
556         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
557         mime-charset of handler.
558         (elmo-msgdb-message-entity-field): Ditto.
559         (elmo-msgdb-copy-message-entity): Fixed reference to internal
560         structure.
561         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
562
563         * elmo.el (elmo-folder): Added slot `mime-charset'.
564         (elmo-make-folder): Added argument `mime-charset'.
565         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
566         `mime-charest'.
567
568         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
569         (elmo-make-msgdb): Likewise.
570
571         * elmo-internal.el (elmo-internal-folder-initialize): Call
572         `luna-make-entity' with :mime-charset parameter.
573
574 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
575
576         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
577         encoded words in `from' and `subject' field.
578
579 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
580
581         * modb.el (elmo-msgdb-message-field): Add argument `type'.
582         (elmo-msgdb-match-condition): Get handler from entity instead of
583         msgdb.
584
585         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
586         (modb-standard-load-entity): Treat new file format.
587         (modb-standard-save-entity-1): Save as new file format.
588         (modb-standard-save-entity): Split messages into section here.
589         (elmo-msgdb-message-field): Follow the API change.
590         (modb-standard-default-entity-handler): New internal variable.
591         (elmo-msgdb-message-entity-handler): Define.
592
593         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
594         to `elmo-vars.el'.
595         (modb-entity-field-extractor-alist): New user option.
596         (elmo-msgdb-message-entity-field): Removed argument `decode' and
597         added argument `type'.
598         (elmo-msgdb-copy-message-entity): Add optional argument
599         `make-handler'.
600         (modb-set-field-converter): New function.
601         (modb-convert-field-value): Ditto.
602         (modb-entity-string-decoder): Ditto.
603         (modb-entity-string-encoder): Ditto.
604         (modb-entity-parse-date-string): Ditto.
605         (modb-entity-make-date-string): Ditto.
606         (modb-entity-mime-decoder): Ditto.
607         (modb-entity-mime-encoder): Ditto.
608         (modb-entity-address-list-decoder): Ditto.
609         (modb-entity-address-list-encoder): Ditto.
610         (modb-entity-parse-address-string): Ditto.
611         (modb-entity-make-address-string): Ditto.
612         (modb-entity-create-field-indices): Ditto.
613         (modb-legacy-entity-field-slots): New constant.
614         (modb-legacy-entity-field-indices): Ditto.
615         (modb-legacy-entity-normalizer): New variable.
616         (modb-legacy-entity-specializer): Ditto.
617         (modb-legacy-entity-field-index): New macro.
618         (modb-legacy-entity-set-field): New function.
619         (modb-legacy-make-message-entity): Rewrite.
620         (elmo-msgdb-create-message-entity-from-buffer): Use
621         `elmo-msgdb-get-references-from-buffer'. Use
622         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
623         Use `modb-legacy-entity-set-field' instead of
624         `elmo-msgdb-message-entity-set-field'.
625         (elmo-msgdb-message-entity-field): Rewrite.
626         (elmo-msgdb-message-entity-set-field): Ditto.
627         (elmo-msgdb-copy-message-entity): Make new entity by
628         `make-handler' if it specified.
629         (elmo-msgdb-message-match-condition): Define a method of
630         `modb-entity-handler' and follow the API change.
631         (modb-standard-entity-handler): New class.
632         (modb-entity-extract-ml-info-from-x-sequence): New function.
633         (modb-entity-extract-ml-info-from-subject): Ditto.
634         (modb-entity-extract-ml-info-from-return-path): Ditto.
635         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
636         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
637         (modb-entity-extract-mailing-list-info): Ditto.
638         (modb-entity-extract-mailing-list-info-functions): New variable.
639
640         * elmo.el (elmo-message-field): Add optional argument `type'.
641
642         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
643         from `modb-entity.el'.
644
645         * elmo-util.el (elmo-object-load): Decode by coding-system from
646         `set-auto-coding-function'.
647         (elmo-object-save): Use `detect-mime-charset-region' and add
648         coding cookie if encode.
649         (elmo-msgdb-get-references-from-buffer): New function.
650         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
651
652         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
653
654         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
655         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
656         instead of `shimbun-make-header' and follow the API change.
657         (elmo-shimbun-update-overview): Follow the API change.
658         (elmo-map-folder-list-message-locations): Ditto.
659
660         * elmo-pipe.el (elmo-message-field): Ditto.
661
662         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
663         Ditto.
664
665         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
666
667         * elmo-multi.el (elmo-message-field): Ditto.
668
669         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
670         (elmo-msgdb-sort-by-date): Ditto.
671         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
672         `elmo-message-entity-field'.
673         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
674         change.
675         (elmo-msgdb-overview-entity-get-from): Ditto.
676         (elmo-msgdb-overview-entity-get-subject): Ditto.
677         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
678         (elmo-msgdb-overview-entity-get-date): Ditto.
679         (elmo-msgdb-overview-entity-get-to): Ditto.
680         (elmo-msgdb-overview-entity-get-cc): Ditto.
681
682         * elmo-mime.el (elmo-message-mime-entity): Ditto.
683         (elmo-mime-collect-message/partial-pieces): Ditto.
684
685         * elmo-filter.el (elmo-message-field): Ditto.
686
687         * elmo-date.el (elmo-datevec-to-time): New function.
688         (elmo-time-parse-date-string): Ditto.
689         (elmo-time-make-date-string): Ditto.
690         (elmo-time<): Ditto.
691
692         * elmo-version.el (elmo-version): Up to 2.15.1.
693
694 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
695
696         * elmo-flag.el (elmo-global-flags-initialize): Don't include
697         member of elmo-local-flags.
698
699 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
700
701         * elmo-version.el (elmo-version): Up to 2.15.0.
702
703 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
704
705         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
706         `ignore-msgdb' is non-nil.
707
708 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
709
710         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
711         (elmo-condition-in-msgdb-p): Ditto.
712         (elmo-file-field-primitive-condition-match): Ditto.
713         (elmo-file-field-condition-match): Ditto.
714
715         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
716
717 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
718
719         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
720         subdirectories here.
721         (elmo-global-flags-initialize): New function.
722
723         * elmo.el (toplevel): Added autoload setting for
724         `elmo-global-flags-initialize'.
725
726 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
727
728         * elmo.el (message-number-changed): Define new signal.
729         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
730         message-number-changed signal.
731         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
732         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
733         Respect `elmo-pack-number-check-strict'.
734
735 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
736
737         * elmo-signal.el (elmo-connect-signal): Document.
738         (elmo-emit-signal): Ditto.
739         (elmo-emit-signal): It should pass source argument to filter and
740         handler, not slot-source.
741
742 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
743
744         * modb.el (elmo-msgdb-update-entity): New API and define generic
745         implement.
746
747         * modb-standard.el (elmo-msgdb-update-entity): Define.
748
749         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
750         API and define generic implement.
751
752         * elmo.el (update-overview): New singnal.
753
754         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
755         `elmo-msgdb-update-entity' and emit signal `update-overview'.
756         (elmo-message-entity-parent): Define.
757
758         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
759         `update-overview'.
760
761         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
762
763         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
764
765 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
766
767         * elmo.el (elmo-folder-synchronize): Sort the return value of
768         `elmo-list-diff'.
769
770         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
771         list.
772
773 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
774
775         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
776         `default-enable-multibyte-characters'.
777         (elmo-object-load): Use `with-temp-buffer' instead of
778         `elmo-set-work-buf'.
779         (elmo-object-save): Ditto.
780         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
781         `elmo-set-work-buf'.
782         (elmo-decoded-field-body): Ditto.
783
784         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
785
786         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
787         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
788
789         * elmo-version.el (elmo-version): Up to 2.13.3.
790
791 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
792
793         * elmo-util.el (elmo-list-diff): Fix the last change.
794         Reverse order of result lists.
795
796 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
797
798         * modb-standard.el (elmo-msgdb-set-flag): Use
799         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
800         (elmo-msgdb-unset-flag): Ditto.
801
802         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
803         `elmo-list-diff'.
804
805         * elmo-util.el (elmo-list-diff): Rewrite.
806         (elmo-list-diff-nonsortable): New function.
807
808 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
809
810         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
811         `elmo-multibypte-buffer-name'.  All referers are updated.
812
813 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
814
815         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
816         (elmo-mime-entity-fragment-p): New function.
817         (mime-elmo-buffer-entity): Added slot `reassembled'.
818         (elmo-message-mime-entity): Added 4th argument `reassemble'.
819         (elmo-message-mime-entity-internal): New function (renamed from
820         `elmo-message-mime-entity').
821         (elmo-mime-inherit-field-list-from-enclosed): New constant.
822         (elmo-mime-make-reassembled-mime-entity): New function.
823         (elmo-message-reassembled-mime-entity): Ditto.
824         (elmo-mime-collect-message/partial-pieces): Ditto.
825
826 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo.el (elmo-message-fetch-string): Disable multibyte.
829
830         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
831         (elmo-with-enable-multibyte): New macro.
832
833         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
834
835 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
836
837         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
838         argument `number'.
839         (elmo-filter-connect-signals): Follow the above change.
840
841 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
842
843         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
844
845         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
846         that only the first flag is used.
847
848 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
849
850         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
851         if available.
852
853 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
854
855         * elmo-signal.el: New file.
856
857         * elmo.el (toplevel): Require elmo-signal.
858         (flag-changing, flag-changed, cache-changed): New signal.
859         (elmo-folder): Remove slog `handlers'.
860         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
861         `elmo-folder-notify-event'.
862         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
863         (elmo-folder-unset-flag): Ditto.
864         (elmo-event-handler): Abolish.
865         (elmo-event-handler-flag-changed): Ditto.
866         (elmo-event-handler-cache-changed): Ditto.
867         (elmo-folder-add-handler): Ditto.
868         (elmo-folder-remove-handler): Ditto.
869         (elmo-folder-notify-event): Ditto.
870
871         * elmo-pipe.el (toplevel): Require elmo-signal.
872         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
873         (elmo-pipe-connect-signals): New function.
874         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
875         (elmo-folder-set-flag): Ditto.
876         (elmo-folder-unset-flag): Ditto.
877         (elmo-message-set-cached): Ditto.
878
879         * elmo-multi.el (toplevel): Require elmo-signal.
880         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
881         (elmo-multi-connect-signals): New function.
882         (elmo-multi-map-numbers): Ditto.
883         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
884         (elmo-message-fetch): Ditto.
885         (elmo-folder-set-flag): Ditto.
886         (elmo-folder-unset-flag): Ditto.
887
888         * elmo-filter.el (toplevel): Require elmo-signal.
889         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
890         (elmo-filter-connect-signals): New function.
891         (elmo-filter-add-flag-count): Ditto.
892         (elmo-message-fetch): Does not call
893         `elmo-filter-folder-countup-message-flags' and
894         `elmo-folder-notify-event'.
895         (elmo-message-set-cached): Ditto.
896         (elmo-folder-set-flag): Ditto.
897         (elmo-folder-unset-flag): Ditto.
898
899         * elmo-version.el (elmo-version): Up to 2.13.2.
900
901 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
902
903         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
904         `flags'.
905
906 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
907
908         * elmo-filter.el (elmo-message-set-cached): Call
909         `elmo-folder-notify-event' with event `cache-changed'.
910
911         * elmo-multi.el (elmo-message-set-cached): Ditto.
912
913         * elmo-pipe.el (elmo-message-set-cached): Ditto.
914
915 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
916
917         * elmo.el (elmo-folder-encache): Abolish.
918
919 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
920
921         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
922         (elmo-folder-next-message-number-dop): Return appropriate negative
923         integer.
924
925 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
926
927         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
928         clearing pending operations.
929         (elmo-folder-next-message-number-dop): Return appropriate negative
930         integer.
931
932 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
933
934         * elmo.el (toplevel): Added autoload setting for `md5'.
935         (elmo-msgdb-path-encode-threshold): New user option.
936         (elmo-folder-msgdb-path): Encode msgdb path if its length is
937         longer than `elmo-msgdb-path-encode-threshold'.
938
939         * elmo-flag.el (elmo-global-mark-migrate): Use
940         `elmo-folder-expand-msgdb-path' instead of
941         `elmo-folder-msgdb-path'.
942
943 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
944
945         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
946         element of the difference is nil.
947
948 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
949
950         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
951         to the check logic of file systems which are weak in colon character.
952
953 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
954
955         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
956
957 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
958
959         * elmo-maildir.el (elmo-maildir-move-file): New function.
960         (elmo-folder-append-buffer): Use it.
961         (elmo-folder-append-messages): Ditto.
962         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
963
964         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
965         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
966
967         * elmo-maildir.el (elmo-maildir-separator): New user option.
968         (elmo-maildir-adjust-separator): New macro.
969         (elmo-maildir-list-location): Use it.
970         (elmo-maildir-update-current): Ditto.
971         (elmo-maildir-set-mark): Ditto.
972         (elmo-maildir-delete-mark): Ditto.
973         (These changes are based on Hiroya Murata's patch [wl: 13437])
974
975 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
978
979 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
980
981         * elmo-flag.el (elmo-flag-valid-p): Simplify.
982         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
983         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
984
985 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
986
987         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
988         Use `with-temp-buffer'.
989
990 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
991
992         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
993
994         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
995         `wl-read-search-condition').
996         (elmo-read-search-condition-internal): Likewise.
997
998         * elmo-flag.el (elmo-flag-char-regexp): New constant.
999         (elmo-flag-valid-p): New function.
1000         (elmo-folder-initialize): Check flag name is valid.
1001
1002 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1003
1004         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1005         delimiter to obtain root mailbox itself.
1006
1007 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1008
1009         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1010         type mismatch.
1011
1012 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1013
1014         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1015         as t.
1016
1017 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1018
1019         * elmo-shimbun.el (toplevel): Require cl at compile.
1020
1021         * elmo-nntp.el (toplevel): Ditto.
1022
1023         * elmo-nmz.el (toplevel): Ditto.
1024
1025         * elmo-multi.el (toplevel): Ditto.
1026
1027         * elmo-file.el (toplevel): Ditto.
1028
1029         * elmo-dop.el (toplevel): Ditto.
1030
1031         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1032
1033 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1034
1035         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1036         as nil.
1037
1038         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1039         size of elmo-message-fetch-internal is 0 byte.
1040
1041 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1042
1043         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1044
1045 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1046
1047         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1048         always plugged.
1049
1050 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1051
1052         * elmo-maildir.el (elmo-map-message-fetch): Call
1053         `elmo-map-folder-set-flag'.
1054
1055         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1056         (elmo-message-fetch): Merge from
1057         `elmo-message-fetch-with-cache-process'.
1058
1059         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1060         (elmo-message-fetch): Define.
1061
1062         * elmo-nntp.el (elmo-message-fetch): Renamed from
1063         `elmo-message-fetch-with-cache-process'.
1064
1065         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1066         (elmo-message-fetch): Define.
1067
1068         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1069         search-key.
1070
1071         * elmo-shimbun.el (shimbun-mua-search-id): Use
1072         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1073         (elmo-shimbun-folder-shimbun-header): Ditto.
1074         (elmo-shimbun-get-headers): Ditto.
1075         (elmo-shimbun-update-overview): Ditto.
1076
1077         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1078
1079         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1080         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1081
1082 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1083
1084         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1085         message is cached.
1086         (elmo-message-fetch-string): Fixed argument.
1087
1088 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1089
1090         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1091         exchange order of arguments `section' and `unread'.
1092         (elmo-message-encache): Follow the API change.
1093         (elmo-message-match-condition): Ditto.
1094         (elmo-generic-folder-append-messages): Ditto.
1095         (elmo-message-fetch-string): New function.
1096
1097         * elmo-split.el (elmo-split-subr): Ditto.
1098
1099         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1100
1101         * elmo-pipe.el (elmo-message-fetch): Ditto.
1102
1103         * elmo-multi.el (elmo-message-fetch): Ditto.
1104
1105         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1106
1107         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1108
1109         * elmo-filter.el (elmo-message-fetch): Ditto.
1110
1111         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1112
1113         * elmo-imap4.el (mime-imap-location-section-body): Use
1114         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1115         follow the API change.
1116
1117 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1118
1119         * elmo-access.el: New file.
1120
1121         * elmo-null.el: Ditto.
1122
1123         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1124
1125 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1126
1127         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1128         (elmo-network-session): New attribute `last-accessed'.
1129         (elmo-network-get-session): Discard network cache if elapsed time
1130         since last-accessed is larger than elmo-network-session-idle-timeout.
1131
1132 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1133
1134         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1135         and added `number', `require-entireness'.
1136         (elmo-find-fetch-strategy): Rewrite.
1137         (elmo-message-fetch): Unset `unread' flag when argument unread is
1138         non-nil.
1139
1140         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1141
1142         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1143         (elmo-message-fetch): Notify event `flag-changed'.
1144
1145         * elmo-pipe.el: Likewise.
1146
1147         * elmo-mime.el (elmo-mime-entity): New class.
1148         (elmo-mime-entity-display-p): New generic function.
1149         (elmo-mime-entity-display): Ditto.
1150         (elmo-mime-entity-display-as-is): Ditto.
1151         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1152         elmo-mime-entity.
1153         (elmo-make-mime-message-location): Removed.
1154         (elmo-mime-message-display): Ditto.
1155         (elmo-mime-display-as-is): Ditto.
1156         (elmo-message-mime-entity): New function.
1157
1158         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1159
1160         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1161         change.
1162         (elmo-message-fetch): Re-count flagged message number and notify
1163         event `flag-changed'.
1164
1165         * elmo-version.el (elmo-version): Up to 2.13.1.
1166
1167 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1168
1169         * elmo-filter.el (elmo-message-field): Define.
1170         (elmo-message-set-field): Ditto.
1171
1172 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1173
1174         * elmo.el (elmo-message-set-cached): Call
1175         `elmo-folder-notify-event' with cache-changed.
1176         (elmo-event-handler-cache-changed): New generic function.
1177
1178 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1179
1180         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1181         instead of elmo-add-name-to-file.
1182         (elmo-folder-append-messages): Ditto.
1183
1184 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1185
1186         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1187
1188 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1189
1190         * elmo-version.el (elmo-version): Up to 2.13.0.
1191
1192         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1193         `auto'.
1194
1195         * modb-standard.el (modb-standard-economize-entity-size): Changed
1196         default value to `t'.
1197
1198         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1199         `standard'.
1200
1201         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1202         after parsing greeting string.
1203
1204 2004-11-23  Daishi Kato <daishi@axlight.com>
1205
1206         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1207         New user option.
1208         (elmo-spam-spamoracle-call): Use it.
1209
1210 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1211
1212         * elmo.el (elmo-message-accessible-p): Message in dop spool
1213         is accessible.
1214
1215 2004-11-23  Daishi Kato <daishi@axlight.com>
1216
1217         * elsp-spamoracle.el: New file.
1218
1219 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1220
1221         * elmo.el (elmo-message-flags-for-append): New function.
1222         (elmo-generic-folder-append-messages): Use it.
1223
1224         * elmo-split.el (elmo-split-subr): Ditto.
1225
1226         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1227         `flags' and use elmo-folder-append-buffer instead of
1228         write-region-as-binary.
1229         (elmo-dop-filter-pending-messages): New function.
1230         (elmo-folder-append-buffer-dop): Call
1231         elmo-dop-spool-folder-append-buffer with `flag'.
1232         (elmo-folder-set-flag-dop): Filter messages by
1233         elmo-dop-filter-pending-messages.
1234         (elmo-folder-unset-flag-dop): Ditto.
1235         (elmo-folder-append-buffer-dop-delayed): Use
1236         elmo-message-flags-for-append to get flags of the message and
1237         simplify.
1238
1239 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1240
1241         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1242
1243 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1244
1245         * elmo.el (elmo-folder): Added handlers slot.
1246         (elmo-event-handler): New class.
1247         (elmo-event-handler-flag-changed): New API.
1248         (elmo-folder-add-handler): New function.
1249         (elmo-folder-remove-handler): Ditto.
1250         (elmo-folder-notify-event): Ditto.
1251         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1252         `flag-changed'.
1253         (elmo-folder-unset-flag): Ditto.
1254
1255         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1256         (elmo-folder-unset-flag): Ditto.
1257
1258         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1259         (elmo-folder-unset-flag): Ditto.
1260
1261         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1262         (elmo-folder-unset-flag): Ditto.
1263
1264         * elmo-version.el (elmo-version): Up to 2.11.33.
1265
1266 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1267
1268         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1269
1270 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1271
1272         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1273
1274         * elmo-flag.el (elmo-folder-unset-flag): Define.
1275         (elmo-global-flag-detach): Do process when the flag is not target
1276         flag.
1277
1278 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1279
1280         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1281         variable.
1282         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1283
1284 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1285
1286         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1287         function.
1288         (elmo-folder-delete-messages): Detach messages before delete
1289         messages from target folder.
1290         (elmo-folder-detach-messages): Set updated number-list to slot.
1291
1292 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1293
1294         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1295
1296 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1297
1298         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1299
1300 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1301
1302         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1303         internal use only).
1304         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1305         not modified.
1306         (elmo-folder-delete-messages): Define.
1307         (elmo-folder-move-messages): Don't call
1308         `elmo-folder-detach-messages'.
1309         (elmo-folder-synchronize): Rewrite.
1310         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1311
1312         * elmo-util.el (elmo-last): New function.
1313         (elmo-set-list): Ditto.
1314         (elmo-number-set-delete-list): Ditto.
1315         (elmo-number-set-delete): Ditto.
1316
1317         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1318
1319         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1320         `elmo-folder-delete-messages' and don't delete location map.
1321         (elmo-folder-detach-messages): Define.
1322
1323         * elmo-imap4.el (elmo-folder-delete): Use
1324         `elmo-folder-delete-messages-internal' instead of
1325         `elmo-folder-delete-messages'.
1326
1327         * elmo-filter.el (elmo-folder-delete-messages): Call
1328         `elmo-folder-detach-messages'.
1329         (elmo-folder-detach-messages): Don't call
1330         `elmo-folder-detach-messages' for target folder.
1331
1332         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1333         message deletion is succeeded.
1334
1335         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1336
1337         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1338         from `elmo-folder-delete-messages'.
1339
1340         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1341
1342         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1343
1344         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1345
1346         * elmo-version.el (elmo-version): Up to 2.11.32.
1347
1348 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1349
1350         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1351         (elmo-global-flag-list): Added obsolete variable setting.
1352
1353         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1354
1355         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1356         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1357         `elmo-mime-display-header-analysis' is nil.
1358
1359         * elmo-flag.el (elmo-global-flags): Renamed from
1360         `elmo-global-flag-list' (All other related portions are changed).
1361         (elmo-local-flags): New variable.
1362         (elmo-local-flag-p): New function.
1363         (elmo-global-flag-set-internal): Cause an error when flag is not
1364         global.
1365
1366 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1367
1368         * elmo-util.el (elmo-concat-path): Treat empty path.
1369
1370 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1371
1372         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1373         field-or-fields).
1374         (elmo-split-address-match): Ditto.
1375         (elmo-split-equal): Ditto.
1376         (elmo-split-match): Ditto.
1377
1378 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1379
1380         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1381         (elmo-generic-folder-append-messages): If src message exists but
1382         has no flag, pass (read) for the FLAG argument of
1383         `elmo-folder-append-buffer'. Otherwise, pass nil.
1384
1385         * elmo-split.el (elmo-split-subr): Likewise.
1386
1387         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1388
1389         * elmo-multi.el (elmo-message-flags): Ditto.
1390
1391         * elmo-filter.el (elmo-message-flags): Ditto.
1392
1393         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1394         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1395         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1396         
1397 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1398
1399         * elmo-split.el (elmo-split-rule): Update comment.
1400         (elmo-split-address-equal): Allow 2nd argument to be a list.
1401         (elmo-split-address-match): Ditto.
1402         (elmo-split-equal): Ditto.
1403         (elmo-split-match): Ditto.
1404
1405 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1406
1407         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1408         (elmo-folder-append-msgdb): Don't treat `read'.
1409         (elmo-message-flags): Don't return `read'.
1410
1411         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1412         (elmo-folder-unset-read-delayed): Ditto.
1413
1414         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1415
1416 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1417
1418         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1419         deletion.
1420
1421 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1422
1423         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1424         header.
1425
1426 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1427
1428         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1429         here.
1430         (elmo-msgdb-save): Bind inhibit-quit.
1431         (modb-standard-message-entity): Ditto.
1432
1433 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1434
1435         * elmo-database.el: No need to require elmo-msgdb.
1436
1437 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1438
1439         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1440         instead of `elmo-list-subdirectories'.
1441
1442 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1443
1444         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1445         group entry.
1446         (elmo-folder-exists-p): "[" is empty.
1447         (elmo-folder-list-subfolders): Define.
1448         (elmo-folder-have-subfolder-p): Ditto.
1449
1450 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1451
1452         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1453
1454 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1455
1456         * elmo-filter.el (elmo-folder-local-p): Define.
1457
1458 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1459
1460         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1461         when entity is garbaged.
1462         (modb-standard-save-entity-1): Don't modify the original entity.
1463
1464 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1465
1466         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1467
1468 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1469
1470         * elmo.el (elmo-strict-folder-diff): Use
1471         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1472
1473 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1474
1475         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1476         (elmo-msgdb-message-number): Ditto.
1477         (elmo-msgdb-message-field): Ditto.
1478
1479         * modb-standard.el (modb-standard-economize-entity-size): New user
1480         option.
1481         (modb-standard-loaded-message-id): New inline function.
1482         (modb-standard-load-entity): Use it.
1483         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1484         throw message-id string away.
1485         (elmo-msgdb-flag-available-p): Define.
1486         (elmo-msgdb-message-number): Ditto.
1487         (elmo-msgdb-message-field): Ditto.
1488
1489         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1490         (suppoted -> supported).
1491         (modb-legacy-supported-flag-p): Ditto.
1492         (elmo-msgdb-set-flag): Ditto.
1493         (elmo-msgdb-unset-flag): Ditto.
1494         (elmo-msgdb-flag-available-p): Define.
1495
1496         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1497         is `t', treat it as legacy entity.
1498         
1499         * elmo.el (elmo-message-flag-available-p): New generic function.
1500         (elmo-message-number): Ditto.
1501         (elmo-message-field): Use `elmo-msgdb-message-field'.
1502
1503         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1504
1505         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1506         (elmo-message-number): Ditto.
1507
1508         * elmo-multi.el (elmo-message-number): Define.
1509         (elmo-message-flag-available-p): Ditto.
1510
1511         * elmo-filter.el (elmo-message-flag-available-p): Define.
1512         (elmo-message-number): Ditto.
1513
1514         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1515         (elmo-folder-initialize): Load `max-number'.
1516         (elmo-folder-commit): Save it.
1517         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1518         (elmo-global-flag-set-internal): Set up max-number slot.
1519
1520 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1521
1522         * elmo-version.el (elmo-version): Up to 2.11.31.
1523
1524 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1525
1526         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1527         unibyte string of the current buffer for the argument of `md5'
1528         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1529
1530 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1531
1532         * modb-legacy.el (modb-legacy-flag-list): New constant.
1533         (modb-legacy-suppoted-flag-p): New internal function.
1534         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1535         (elmo-msgdb-unset-flag): Ditto.
1536
1537 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1538
1539         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1540
1541         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1542         from msgdb.
1543
1544 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1545
1546         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1547         (follow the API change).
1548
1549         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1550
1551 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1552
1553         * modb-standard.el (modb-standard-digest-flags): Abolish.
1554         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1555
1556         * elmo-vars.el (elmo-digest-flags): New variable.
1557         (elmo-preserved-flags): Moved from elmo-flag.el.
1558
1559         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1560         (elmo-imap4-flag-to-imap-criteria): Ditto.
1561         (elmo-imap4-folder-list-flagged): Use it.
1562
1563         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1564
1565         * elmo.el (elmo-folder-count-flags): Changed return value.
1566
1567         * elmo-flag.el (elmo-preserved-flags): New variable.
1568         (elmo-get-global-flags): Use it.
1569
1570         * modb-standard.el (modb-standard-digest-flags): New variable.
1571         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1572         Changed behavior of `any'.
1573
1574         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1575         which are defined the Internet draft
1576         (draft-melnikov-imap-keywords-03.txt).
1577         (elmo-imap4-flags-to-imap): New function.
1578         (elmo-folder-append-buffer): Use it.
1579
1580         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1581         in the docstring.
1582
1583         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1584         avoid the bug of Emacs 21.3.
1585
1586 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1587
1588         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1589         function find-coding-system does not exist.
1590
1591 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1592
1593         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1594         parsing.
1595
1596 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1597
1598         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1599         response codes.
1600
1601 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1602
1603         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1604         (elmo-network-close-session): Follow the changes in
1605         `elmo-pop3-read-response'.
1606         (elmo-pop3-auth-user): Ditto.
1607         (elmo-pop3-auth-apop): Ditto.
1608         (elmo-network-initialize-session): Ditto.
1609         (elmo-network-authenticate-session): Ditto.
1610         (elmo-network-setup-session): Ditto.
1611         (elmo-folder-status): Ditto.
1612         (elmo-message-fetch-plugged): Ditto.
1613         (elmo-pop3-delete-msg): Ditto.
1614
1615 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1616
1617         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1618         on failure.
1619
1620 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1621
1622         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1623         style.
1624         (elmo-bind-directory): Ditto.
1625
1626 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1627
1628         * elmo.el (elmo-folder-append-messages): Note on return value.
1629         * elmo-archive.el (elmo-folder-append-messages): Don't return
1630         message numbers which could not be appended.
1631
1632 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1633
1634         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1635
1636 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1637
1638         * elmo-version.el (elmo-version): Up to 2.11.30.
1639
1640 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1641
1642         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1643         `mask'.
1644
1645         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1646
1647         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1648         (elmo-multi-split-numbers): Add elmo-folder object into each
1649         element of return value at first.
1650         (elmo-folder-delete-messages): Follow the above change.
1651         (elmo-folder-detach-messages): Ditto.
1652
1653         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1654         number which is synchronized in target folder.
1655
1656 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1657
1658         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1659         Change default value to symbol `all'.
1660         (elmo-map-message-fetch): Change condition to update overview
1661         follow the above.
1662
1663 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1664
1665         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1666         behavior to update overview.
1667         (elmo-shimbun-update-overview-folder-list): Note it.
1668
1669 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1670
1671         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1672         recursive call.
1673
1674 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1675
1676         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1677         buffer-disable-undo, it is unnecessary.
1678         (elmo-spam-register-good-messages): Ditto.
1679
1680         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1681         Ditto.
1682
1683         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1684
1685 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1686
1687         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1688         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1689         elmo-set-buffer-multibyte.
1690         (elmo-object-load): Ditto.
1691         (elmo-save-buffer): Ditto.
1692         (elmo-delete-char): Ditto.
1693         (elmo-file-field-primitive-condition-match): Ditto.
1694         (elmo-mime-string): Ditto.
1695
1696         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1697         (elmo-archive-field-condition-match): Ditto.
1698
1699         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1700
1701         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1702
1703         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1704         (elmo-nntp-msgdb-create-message): Ditto.
1705
1706         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1707
1708         * elmo.el (elmo-message-match-condition): Ditto.
1709         (elmo-message-match-condition): Ditto.
1710
1711         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1712         Ditto.
1713
1714         * elmo-version.el (elmo-version): Up to 2.11.29.
1715
1716         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1717         (elsp-header): New backend.
1718
1719         * elmo-util.el (elmo-decoded-field-body): New function.
1720
1721 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1722
1723         * elmo-version.el (elmo-version): Up to 2.11.28.
1724
1725 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1726
1727         * elmo-filter.el: Rewrite.
1728
1729         * elmo-version.el (elmo-version): Up to 2.11.27.
1730
1731 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1732
1733         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1734         msgdb path for the localdir folder with absolute path.
1735
1736         * utf7.el: Synch up with latest gnus/utf7.el;
1737         Modified for latest Emacs.
1738
1739 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1740
1741         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1742         shimbun backend couldn't open.
1743
1744 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1745
1746         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1747         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1748         when a destination folder is a filter folder.
1749
1750 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1751
1752         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1753         (elmo-generic-folder-append-messages): Call elmo-message-flags
1754         with argument `msgid'.
1755
1756         * elmo-split.el (elmo-split-subr): Ditto.
1757
1758         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1759
1760         * elmo-multi.el (elmo-message-flags): Ditto.
1761
1762 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1763
1764         * elmo.el (elmo-folder): Add new slot `flag-table'.
1765         (elmo-folder-flag-table): New API.
1766         (elmo-folder-close-flag-table): Ditto.
1767         (elmo-folder-preserve-flags): New function.
1768         (elmo-generic-folder-append-messages): Use
1769         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1770         Flag of a non-registered message, it sets to nil.
1771         Does not set flag to flag-table.
1772
1773         * elmo-maildir.el (elmo-folder-append-buffer): Use
1774         `elmo-folder-preserve-flags'.
1775         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1776         `elmo-folder-close-flag-table'.
1777
1778         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1779         (elmo-archive-folder-append-buffer): Use
1780         `elmo-folder-preserve-flags'.
1781
1782         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1783
1784         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1785
1786         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1787         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1788         `elmo-folder-close-flag-table'.
1789
1790         * elmo-version.el (elmo-version): Up to 2.11.26.
1791
1792 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1793
1794         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1795
1796         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1797         md5's 4th and 5th argument (non-existent in flim one).
1798
1799 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1800
1801         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1802         message, It sets to nil.
1803
1804 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1805
1806         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1807         list is non-nil.
1808
1809 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1810
1811         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1812
1813         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1814
1815         * elmo-util.el (elmo-uniq-sorted-list): New function.
1816         (elmo-make-number-list): Ditto.
1817         (elmo-number-set-to-number-list): Use elmo-make-number-list
1818         and don't use nreverse.
1819
1820 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1821
1822         * elmo-version.el (elmo-version): Up to 2.11.25.
1823
1824 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1825
1826         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1827         field not exists in message, Use md5 message digest of header.
1828
1829 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1830
1831         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1832         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1833         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1834         * elmo-split.el (elmo-split-subr): Check return value of
1835         elmo-folder-append-buffer.
1836
1837         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1838         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1839
1840         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1841         message-id.
1842
1843 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1844
1845         * elmo-split.el (elmo-split-subr): Append message with flag.
1846
1847         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1848         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1849         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1850
1851 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1852
1853         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1854         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1855         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1856
1857 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1858
1859         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1860         with a function call of `process-buffer'.  All callers are updated.
1861         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1862         Remove redundant `set-buffer' in a while loop.
1863
1864 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1865
1866         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1867         calls.
1868
1869 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1870
1871         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1872         elsp-spamfilter-register-buffer-internal with current buffer.
1873         (elmo-spam-register-spam-buffer): Ditto.
1874         (elmo-spam-register-good-buffer): Ditto.
1875
1876 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1877
1878         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1879         if it is not contained in the response(A workaround for courier-imap).
1880
1881 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1882
1883         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1884         parenthesis.
1885
1886 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1887
1888         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1889         range.
1890
1891 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1892
1893         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1894         of nconc.
1895
1896         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1897         argument handler.
1898         (elmo-msgdb-message-match-condition): Follow the change above.
1899
1900 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1901
1902         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1903         folder name.
1904
1905 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1906
1907         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1908
1909 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1910
1911         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1912
1913 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1914
1915         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1916         not found.
1917
1918 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1919
1920         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1921         value.
1922         (elmo-file-command-argument): Undo last change for cygwin.
1923         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1924         Don't return nil.
1925         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1926
1927 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1928
1929         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1930         value returned from elmo-file-find is nil.
1931
1932 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1933
1934         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1935         to elmo-vars.el.
1936
1937         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1938         instead of insert-file-contents-as-binary.
1939         (elmo-message-set-field): New generic function.
1940
1941         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1942         behavior change on `split-string'.
1943
1944         * elmo-file.el (elmo-file-find): New function.
1945         (elmo-file-command): New user option.
1946         (elmo-file-command-argument): Ditto.
1947         (elmo-file-fetch-max-size): Ditto.
1948         (elmo-file-detect-format): New function.
1949         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1950         Use elmo-file-detect-format.
1951         (elmo-map-folder-list-message-locations): Don't treat directories.
1952
1953 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1954
1955         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1956         (elmo-passwd-alist-clear): Shred password before clear.
1957         (elmo-remove-passwd): Remove all mached pair.
1958
1959 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1960
1961         * elmo.el (elmo-folder-synchronize): Fix description of the return
1962         value.
1963
1964 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1965
1966         * elmo.el (elmo-message-fetch-bodystructure): New method.
1967         (elmo-message-fetch-bodystructure): Define default.
1968
1969         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1970         elmo-message-fetch-bodystructure.
1971         (elmo-message-fetch-bodystructure): Define.
1972
1973         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1974
1975 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1976
1977         * elmo-filter.el (elmo-message-folder): Define.
1978
1979 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1980
1981         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1982         elmo-delete-cr-buffer.
1983
1984         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1985
1986         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1987
1988         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1989
1990         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1991         type seems to be a text.
1992
1993 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1994
1995         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1996         (elmo-spam-register-good-buffer): Ditto.
1997         (elmo-spam-spamassassin-register-messages): Ditto.
1998
1999         * elmo-util.el (elmo-string-member-ignore-case): Define with
2000         static-cond.
2001
2002 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2003
2004         * elmo.el (elmo-folder-type): Undo last change.
2005
2006         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2007
2008         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2009         warnings.
2010
2011         * elmo-file.el: New file.
2012         
2013         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2014
2015         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2016         variable.
2017         (elmo-spam-spamassassin-register-messages): New inline function.
2018         (elmo-spam-register-spam-messages): Define.
2019         (elmo-spam-register-good-messages): Ditto.
2020
2021         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2022         Fixed typo.
2023
2024         * elmo.el (toplevel): Added autoload setting for
2025         `elmo-get-global-flags'.
2026         (elmo-message-has-global-flag-p): New function.
2027         (elmo-message-set-global-flags): Ditto.
2028         (elmo-folder-type): Improvement for name: format.
2029
2030         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2031         availability of keyword flags.
2032         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2033         (elmo-folder-list-flagged-plugged): Renamed from
2034         elmo-folder-list-flagged-unplugged.
2035         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2036         accept any flag as keyword flag.
2037         (elmo-folder-set-flag-plugged): Accept keyword flags.
2038         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2039
2040         * elmo-flag.el (elmo-get-global-flags): New function.
2041
2042         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2043         folders.
2044
2045         * elmo-version.el (elmo-version): Up to 2.11.24.
2046
2047 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2048
2049         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2050         elmo-multiple-field-body instead of std11-field-body to check all
2051         headers.
2052
2053 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2054
2055         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2056         or "size".
2057
2058 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2059
2060         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2061         unintern is unbound.
2062
2063 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2064
2065         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2066         Protect from infinite loop.
2067
2068 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2069
2070         * elsp-bogofilter.el
2071         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2072         (elmo-spam-bogofilter-register-messages): New internal function.
2073         (elmo-spam-register-spam-messages): Define.
2074         (elmo-spam-register-good-messages): Ditto.
2075
2076 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2077
2078         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2079         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2080         (elmo-spam-bogofilter-call): Fixed the last change.
2081         (elmo-spam-bogofilter-arguments): Ditto.
2082
2083         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2084         Follow the options change of latest bogofilter.
2085
2086         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2087         (elmo-spam-bogofilter-good-switch): Ditto.
2088         (elmo-spam-bogofilter-arguments-alist): New user option.
2089         (elmo-spam-bogofilter-debug): Ditto.
2090         (elmo-spam-bogofilter-call): Renamed from
2091         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2092         is non-nil, insert output in buffer for debug.
2093         (elmo-spam-bogofilter-arguments): New macro.
2094         (elmo-spam-buffer-spam-p): Use it.
2095         (elsp-bogofilter-register-buffer): Ditto.
2096
2097 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2098
2099         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2100         regexp.
2101
2102 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2103
2104         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2105         value as "ruby".
2106         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2107         (elmo-spam-bsfilter-program): Set default value as full path for
2108         `bsfilter'.
2109         (elmo-spam-bsfilter-debug): New user option.
2110         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2111         non-nil, insert output in buffer for debug. Fix treating of
2112         argument.
2113
2114 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2115
2116         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2117         `elmo-maildir-flag-specs' element instead of one.
2118         (elmo-map-folder-unset-flag): Ditto.
2119         (Reported by Ken Makimura <macky@astem.or.jp>)
2120
2121         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2122         (elmo-folder-unset-flag-plugged): Ditto.
2123
2124 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2125
2126         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2127         to `reads' slot only if `in-msgdb' is nil.
2128
2129 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2130
2131         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2132         and complement argument list.
2133
2134 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2135
2136         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2137         instead of elmo-folder-list-flagged.
2138
2139 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2140
2141         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2142
2143         * elsp-bsfilter.el: New file.
2144
2145         * elmo-pipe.el (elmo-folder-list-unreads,
2146         elmo-folder-list-answereds,
2147         elmo-folder-list-importants,
2148         elmo-folder-flag-as-important,
2149         elmo-folder-unflag-important,
2150         elmo-folder-flag-as-read,
2151         elmo-folder-unflag-read,
2152         elmo-folder-flag-as-answered,
2153         elmo-folder-unflag-answered): Remove.
2154         (elmo-folder-set-flag): Define.
2155         (elmo-folder-unset-flag): Ditto.
2156
2157         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2158         (elmo-folder-set-flag): Define.
2159         (elmo-folder-unset-flag): Ditto.
2160         (elmo-folder-list-unreads): Remove.
2161         (elmo-folder-list-flagged): Define.
2162
2163         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2164         (elmo-folder-list-unreads,
2165         elmo-folder-list-importants,
2166         elmo-folder-list-answereds,
2167         elmo-folder-list-unreads-plugged,
2168         elmo-folder-list-importants-plugged,
2169         elmo-folder-list-answereds-plugged): Remove.
2170         (elmo-folder-list-flagged-plugged): New method.
2171         (elmo-folder-unflag-important,
2172         elmo-folder-flag-as-important,
2173         elmo-folder-unflag-read,
2174         elmo-folder-flag-as-read,
2175         elmo-folder-unflag-answered,
2176         elmo-folder-flag-as-answered,
2177         elmo-folder-flag-as-read-unplugged,
2178         elmo-folder-unflag-read-unplugged,
2179         elmo-folder-flag-as-important-unplugged,
2180         elmo-folder-unflag-important-unplugged,
2181         elmo-folder-flag-as-answered-unplugged,
2182         elmo-folder-unflag-answered-unplugged): Remove.
2183         (elmo-folder-set-flag): Define.
2184         (elmo-folder-unset-flag): Ditto.
2185         (elmo-folder-set-flag-unplugged): Ditto.
2186         (elmo-folder-unset-flag-unplugged): Ditto.
2187
2188         * elmo-multi.el (elmo-folder-list-unreads,
2189         elmo-folder-list-answereds,
2190         elmo-folder-list-importants,
2191         elmo-folder-flag-as-important,
2192         elmo-folder-unflag-important,
2193         elmo-folder-flag-as-read,
2194         elmo-folder-unflag-read,
2195         elmo-folder-flag-as-answered,
2196         elmo-folder-unflag-answered): Remove.
2197         (elmo-folder-set-flag): Define.
2198         (elmo-folder-unset-flag): Ditto.
2199
2200         * elmo-map.el (elmo-map-folder-unflag-important,
2201         elmo-map-folder-flag-as-important,
2202         elmo-map-folder-unflag-read,
2203         elmo-map-folder-flag-as-read,
2204         elmo-map-folder-unflag-answered,
2205         elmo-map-folder-flag-as-answered): Remove.
2206         (elmo-map-folder-set-flag): New method.
2207         (elmo-map-folder-unset-flag): Ditto.
2208         (elmo-map-folder-list-unreads,
2209         elmo-map-folder-list-importants,
2210         elmo-map-folder-list-answereds): Remove.
2211         (elmo-folder-list-flagged-internal): Define.
2212         (elmo-map-folder-list-flagged): New method.
2213
2214         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2215         (elmo-map-folder-list-unreads,
2216         elmo-map-folder-list-importants,
2217         elmo-map-folder-list-flagged): Remove.
2218         (elmo-map-folder-list-flagged): Define.
2219         (elmo-map-folder-flag-as-important,
2220         elmo-map-folder-unflag-important,
2221         elmo-map-folder-flag-as-read,
2222         elmo-map-folder-unflag-read,
2223         elmo-map-folder-flag-as-answered,
2224         elmo-map-folder-unflag-answered): Remove.
2225         (elmo-maildir-set-mark-messages): New internal function.
2226         (elmo-map-folder-set-flag): Define.
2227         (elmo-map-folder-unset-flag): Ditto.
2228
2229         * elmo.el (toplevel): Added autoload setting for
2230         `elmo-folder-list-global-flag-messages'.
2231         (elmo-folder-list-unreads,
2232         elmo-folder-list-importants,
2233         elmo-folder-list-answereds): Remove.
2234         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2235         Return a list whitch merged with messages have global flag.
2236         (elmo-folder-list-flagged-internal): New method.
2237         (elmo-folder-unflag-important,
2238         elmo-folder-flag-as-important,
2239         elmo-folder-unflag-read,
2240         elmo-folder-flag-as-read,
2241         elmo-folder-unflag-answered,
2242         elmo-folder-flag-as-answered): Remove.
2243         (elmo-folder-set-flag): New method.
2244         (elmo-folder-unset-flag): Ditto.
2245         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2246         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2247
2248         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2249         (elmo-folder-list-unreads-plugged,
2250         elmo-folder-list-importants-plugged,
2251         elmo-folder-list-answereds-plugged,
2252         elmo-folder-list-flagged-unplugged,
2253         elmo-folder-unflag-important-plugged,
2254         elmo-folder-flag-as-important-plugged,
2255         elmo-folder-unflag-read-plugged,
2256         elmo-folder-flag-as-read-plugged,
2257         elmo-folder-unflag-answered-plugged,
2258         elmo-folder-flag-as-answered-plugged): Remove.
2259         (elmo-folder-set-flag-plugged,
2260         elmo-folder-unset-flag-plugged): Define.
2261
2262         * elmo-flag.el (elmo-folder-initialize): Register to
2263         `elmo-global-flag-list' if flag is not global.
2264         (elmo-folder-append-messages): Set flag to source messages.
2265
2266         * elmo-filter.el (elmo-filter-folder-list-unreads,
2267         elmo-folder-list-unreads,
2268         elmo-filter-folder-list-importants,
2269         elmo-folder-list-importants,
2270         elmo-folder-flag-as-read,
2271         elmo-folder-unflag-read,
2272         elmo-folder-flag-as-important,
2273         elmo-folder-unflag-important,
2274         elmo-folder-flag-as-answered,
2275         elmo-folder-unflag-answered): Remove.
2276         (elmo-folder-set-flag): Define.
2277         (elmo-folder-unset-flag): Ditto.
2278
2279         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2280         elmo-folder-unflag-read-dop,
2281         elmo-folder-flag-as-important-dop,
2282         elmo-folder-unflag-important-dop,
2283         elmo-folder-flag-as-answered-dop,
2284         elmo-folder-unflag-answered-dop): Remove.
2285         (elmo-folder-set-flag-dop,
2286         elmo-folder-unset-flag-dop,
2287         elmo-folder-set-important-delayed,
2288         elmo-folder-unset-important-delayed,
2289         elmo-folder-set-read-delayed,
2290         elmo-folder-unset-read-delayed,
2291         elmo-folder-set-answered-delayed,
2292         elmo-folder-unset-answered-delayed): New function.
2293         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2294         (elmo-dop-queue-method-name-alist): Ditto.
2295
2296         * elmo-version.el (elmo-version): Up to 2.11.23.
2297
2298 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2299
2300         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2301
2302         * elsp-sa.el: New file.
2303
2304 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2305
2306         * modb-standard.el (modb-standard-message-entity): New function.
2307         (elmo-msgdb-message-entity): Use it.
2308
2309 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2310
2311         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2312         behavior when one-level is nil.
2313
2314         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2315
2316         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2317
2318 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2319
2320         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2321         get max number.
2322         (elmo-generic-folder-diff): Ditto.
2323
2324         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2325         (elmo-folder-update-number): Ditto.
2326
2327         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2328         (elmo-folder-next-message-number-dop): Ditto.
2329
2330 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2331
2332         * elmo-filter.el (elmo-folder-msgdb-create): Use
2333         `elmo-message-entity' and `elmo-message-flags' instead of
2334         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2335
2336 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2337
2338         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2339         `if-exists'.
2340
2341 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2342
2343         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2344
2345         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2346
2347         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2348
2349 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2350
2351         * elmo-version.el (elmo-version): Up to 2.11.22.
2352
2353 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2354
2355         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2356
2357 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2360         if the message dose not exist.
2361
2362 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2363
2364         * elmo-version.el (elmo-version): Up to 2.11.21.
2365
2366 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2367
2368         * modb-standard.el (toplevel): Don't require mime.
2369
2370 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2371
2372         * elsp-bogofilter.el (toplevel): Don't require path-util.
2373         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2374         (elmo-spam-bogofilter-header): Abolish.
2375         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2376         (elmo-spam-bogofilter-args): New user option.
2377         (elsp-bogofilter-call-bogofilter): New internal function.
2378         (elmo-spam-buffer-spam-p): Use it.
2379         (elsp-bogofilter-register-buffer): Renamed from
2380         `elmo-spam-bogofilter-register-buffer';
2381         Use `elsp-bogofilter-call-bogofilter'.
2382         (elmo-spam-register-spam-buffer): Follow the change above.
2383         (elmo-spam-register-good-buffer): Ditto.
2384
2385 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2386
2387         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2388         message-id is nil do nothing.
2389
2390 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2391
2392         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2393         Revival.
2394         (elmo-imap4-session): Removed use-flag slot.
2395         (elmo-imap4-session-select-mailbox): Undo last change.
2396         (elmo-folder-use-flag-p): Use
2397         elmo-imap4-disuse-server-flag-mailbox-regexp.
2398
2399 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2400
2401         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2402         (elmo-imap4-session-select-mailbox): Set it up.
2403         (elmo-folder-use-flag-p): Return value of use-flag slot.
2404
2405 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2406
2407         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2408         message-id is nil.
2409         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2410
2411         * modb-entity.el (elmo-message-entity-handler): Likewise.
2412
2413 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2414
2415         * elmo.el (toplevel): Remove setting of autoloding for
2416         elmo-global-flag-initialize.
2417         (elmo-init): Don't call elmo-global-flag-initialize.
2418         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2419
2420         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2421         (elmo-global-mark-migrate): Don't call it.
2422         (elmo-global-mark-upgrade): Ditto.
2423
2424 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2425
2426         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2427         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2428
2429         * elmo-vars.el (elmo-init-hook): New user option.
2430
2431         * elmo.el (elmo-init): Run the elmo-init-hook.
2432
2433         * elmo-flag.el (elmo-global-mark-migrate): New function.
2434
2435 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2436
2437         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2438         Undo last change (move to elmo-msgdb-unset-flag).
2439         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2440         flag is unset.
2441
2442 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2443
2444         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2445         read flag is set.
2446         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2447         (elmo-msgdb-unset-flag): Ditto.
2448
2449 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2450
2451         * elmo-split.el (elmo-split): Return split message count.
2452
2453 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2454
2455         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2456         is nil.
2457
2458 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2459
2460         * elmo.el (elmo-folder-unflag-important): Call
2461         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2462         a symbol `always'.
2463
2464         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2465         before unset flag.
2466         (elmo-global-flag-detach): Delete the message from flag folder, if
2467         `delete-if-none' is a symbol `always'.
2468
2469 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2470
2471         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2472         `elmo-spam-spamfilter-decode-buffer'.
2473         (elsp-spamfilter-register-buffer-internal): New internal function.
2474         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2475         (elmo-spam-register-spam-buffer): Ditto.
2476         (elmo-spam-register-good-buffer): Ditto.
2477
2478         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2479         change.
2480         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2481         (elmo-spam-register-spam-buffer): Follow the API change.
2482         (elmo-spam-register-good-buffer): Ditto.
2483
2484         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2485         (elmo-split-spam-p): Added argument plist; Call
2486         `elmo-spam-buffer-spam-p' with new argument register.
2487
2488         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2489         `register'.
2490         (elmo-spam-message-spam-p): Ditto.
2491         (elmo-spam-register-spam-buffer): Added optional argument
2492         `restore'.
2493         (elmo-spam-register-good-buffer): Ditto.
2494         (elmo-spam-register-spam-messages): Ditto.
2495         (elmo-spam-register-good-messages): Ditto.
2496
2497 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2498
2499         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2500         register into good corpus.
2501         (elmo-spam-register-good-buffer): Fixed to register into bad
2502         corpus.
2503
2504 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2505
2506         * elmo-version.el (elmo-version): Up to 2.11.20.
2507
2508         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2509         change.
2510
2511         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2512         flag without depending on \Recent flag.
2513
2514 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2515
2516         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2517         (elmo-spam-modified-p): Defined.
2518         (elmo-spam-save-status): Set `modified' slot to nil.
2519         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2520         (elmo-spam-register-good-buffer): Ditto.
2521
2522         * elmo-spam.el (elmo-spam-modified-p): New API.
2523
2524 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2525
2526         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2527         duplicate definition.
2528
2529         * elmo-util.el (elmo-unfold-field-body): New function.
2530         (elmo-msgdb-get-message-id-from-buffer): Use it.
2531
2532         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2533         Fixed the last change; Use elmo-unfold-field-body.
2534
2535 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2536
2537         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2538         Unfold date value.
2539
2540 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2541
2542         * elmo-spam.el (elmo-spam-save-status): New API.
2543
2544         * elsp-spamfilter.el: New file.
2545
2546 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2547
2548         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2549
2550 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2551
2552         * elmo-split.el (elmo-split-spam-p): New function.
2553
2554         * elmo-spam.el: New file.
2555
2556         * elsp-bogofilter.el: Ditto.
2557
2558 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2559
2560         * elmo.el (elmo-folder-next-message-number): New API.
2561         (elmo-folder-next-message-number): Define.
2562         (elmo-message-field): Don't check folder length.
2563
2564         * elmo-net.el (elmo-folder-next-message-number): Define.
2565         (elmo-folder-next-message-number-unplugged): Define.
2566
2567         * elmo-map.el (elmo-folder-next-message-number): Define.
2568         (elmo-folder-delete-messages): Clear hash value.
2569
2570         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2571
2572         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2573         (elmo-folder-delete-messages-dop-delayed): Always return t.
2574
2575         * elmo-version.el (elmo-version): Up to 2.11.19.
2576
2577 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2578
2579         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2580         change.
2581
2582         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2583         identical cons cell into the mark-alist and the hash table.
2584
2585 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2586
2587         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2588         elmo-folder-list-messages with argument `visible-only' as t.
2589
2590         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2591         (elmo-folder-msgdb-create): Check the target folder.
2592
2593 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2594
2595         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2596         `permanentflag' instead of `flags'.
2597         (elmo-folder-open): Ditto.
2598         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2599         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2600         (elmo-folder-use-flag-p): Always return t.
2601         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2602         `permanentflags' does not exist.
2603         (elmo-folder-open): Ditto.
2604
2605 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2606
2607         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2608         is nil.
2609         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2610
2611         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2612         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2613         response.
2614         (elmo-folder-open): Ditto.
2615         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2616         slot of the session includes the flag.
2617         (elmo-imap4-session-flag-available-p): New function.
2618         (elmo-imap4-folder-list-flagged): Ditto.
2619         (elmo-folder-list-unreads-plugged): Use it.
2620         (elmo-folder-list-importants-plugged): Ditto.
2621         (elmo-folder-list-answereds-plugged): Ditto.
2622         (elmo-imap4-search-internal-primitive): Ditto.
2623         (elmo-imap4-folder-list-any-plugged,
2624         elmo-imap4-folder-list-digest-plugged): Abolish.
2625
2626         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2627         if numbers is nil.
2628
2629 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2630
2631         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2632
2633 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2634
2635         * elmo-util.el (elmo-get-hash-val): Simplify.
2636         (elmo-set-hash-val): Rewrite.
2637
2638 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2639
2640         * elmo.el (elmo-folder-list-messages): Append killed messages into
2641         result if `visible-only' is nil and `in-msgdb' is non-nil.
2642
2643         * elmo-util.el (elmo-uniq-list): Added optional argument
2644         `delete-function'.
2645
2646         * modb.el (elmo-msgdb-flag-count): New API.
2647
2648         * modb-standard.el (modb-standard): Added slot flag-count.
2649         (modb-standard-countup-flags): New function.
2650         (modb-standard-load-flag): Call it.
2651         (elmo-msgdb-append): Ditto.
2652         (elmo-msgdb-clear): Clear slot flag-count.
2653         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2654         (elmo-msgdb-unset-flag): Treat `all' flag and call
2655         modb-standard-countup-flags.
2656         (elmo-msgdb-flag-count): Define.
2657         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2658         (elmo-msgdb-delete-messages): Ditto.
2659
2660         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2661         (elmo-msgdb-flag-count): Define.
2662
2663         * elmo.el (elmo-folder-list-messages): Undo last change.
2664         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2665         (elmo-folder-kill-messages): Unset all flags to numbers.
2666
2667         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2668         elmo-folder-kill-messages.
2669
2670         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2671         (elmo-nntp-folder-delete-messages): Abolish.
2672
2673         * elmo-version.el (elmo-version): Up to 2.11.18.
2674
2675 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2676
2677         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2678         (elmo-folder-kill-messages-range): New function.
2679         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2680         instead of elmo-folder-kill-messages-before.
2681
2682 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2683
2684         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2685         elmo-imap4-current-msgdb to decide entity handler.
2686
2687 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2688
2689         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2690
2691         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2692         inline function.
2693         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2694         (elmo-msgdb-overview-entity-set-number,
2695         elmo-msgdb-overview-entity-get-references,
2696         elmo-msgdb-overview-entity-set-references,
2697         elmo-msgdb-overview-entity-get-from-no-decode,
2698         elmo-msgdb-overview-entity-get-from,
2699         elmo-msgdb-overview-entity-set-from,
2700         elmo-msgdb-overview-entity-get-subject,
2701         elmo-msgdb-overview-entity-get-subject-no-decode,
2702         elmo-msgdb-overview-entity-set-subject,
2703         elmo-msgdb-overview-entity-get-date,
2704         elmo-msgdb-overview-entity-set-date,
2705         elmo-msgdb-overview-entity-get-to,
2706         elmo-msgdb-overview-entity-get-cc,
2707         elmo-msgdb-overview-entity-get-size,
2708         elmo-msgdb-overview-entity-set-size,
2709         elmo-msgdb-overview-entity-get-extra,
2710         elmo-msgdb-overview-entity-set-extra,
2711         elmo-msgdb-overview-entity-get-extra-field,
2712         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2713         (elmo-msgdb-make-index): Use
2714         `elmo-msgdb-overview-entity-get-number-internal'.
2715         (elmo-msgdb-clear-index): Ditto.
2716         (elmo-msgdb-append-entity): Ditto;
2717         Use `elmo-msgdb-overview-entity-get-id-internal'.
2718
2719         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2720         elmo-msgdb-overview-entity-set-number,
2721         elmo-msgdb-overview-entity-get-references,
2722         elmo-msgdb-overview-entity-set-references,
2723         elmo-msgdb-overview-entity-get-from-no-decode,
2724         elmo-msgdb-overview-entity-get-from,
2725         elmo-msgdb-overview-entity-set-from,
2726         elmo-msgdb-overview-entity-get-subject,
2727         elmo-msgdb-overview-entity-get-subject-no-decode,
2728         elmo-msgdb-overview-entity-set-subject,
2729         elmo-msgdb-overview-entity-get-date,
2730         elmo-msgdb-overview-entity-set-date,
2731         elmo-msgdb-overview-entity-get-to,
2732         elmo-msgdb-overview-entity-get-cc,
2733         elmo-msgdb-overview-entity-get-size,
2734         elmo-msgdb-overview-entity-set-size,
2735         elmo-msgdb-overview-entity-get-extra,
2736         elmo-msgdb-overview-entity-set-extra,
2737         elmo-msgdb-overview-entity-get-extra-field,
2738         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2739         and rewrote for backward compatibility.
2740
2741 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2742
2743         * elmo.el (elmo-message-entity-number,
2744         elmo-message-entity-set-number,
2745         elmo-message-entity-field,
2746         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2747
2748         * elmo-msgdb.el (elmo-message-entity-number,
2749         elmo-message-entity-set-number,
2750         elmo-message-entity-field,
2751         elmo-message-entity-set-field): Moved from elmo.el.
2752
2753 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2754
2755         * elmo.el (toplevel): Changed definition orders.
2756
2757 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2758
2759         * modb.el (elmo-msgdb-search): New API .
2760         (elmo-msgdb-match-condition): Ditto.
2761
2762         * modb-standard.el (elmo-msgdb-search): Define.
2763
2764         * modb-legacy.el (elmo-msgdb-search): Ditto.
2765
2766         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2767         from elmo-msgdb-match-condition-internal.
2768
2769         * elmo.el (elmo-folder-search-fast): Abolish.
2770         (elmo-folder-search): Use elmo-msgdb-search and
2771         elmo-with-progress-display.
2772
2773         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2774         as msgdb API.
2775
2776         * elmo.el (elmo-folder): Remove slot message-modified and
2777         flag-modified.
2778         (elmo-folder-set-message-modified): Abolish.
2779         (elmo-generic-folder-commit): Follow the change above.
2780         (elmo-folder-synchronize): Ditto.
2781
2782         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2783
2784         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2785
2786         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2787
2788 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2789
2790         * modb-standard.el (modb-standard-make-message-entity,
2791         elmo-msgdb-make-message-entity,
2792         elmo-msgdb-create-message-entity-from-buffer,
2793         elmo-msgdb-message-entity-number,
2794         elmo-msgdb-message-entity-set-number,
2795         elmo-msgdb-message-entity-field,
2796         elmo-msgdb-message-entity-set-field,
2797         elmo-msgdb-copy-message-entity,
2798         elmo-msgdb-match-condition-internal): Remove.
2799
2800         * modb-entity.el: New file (again).
2801
2802         * modb.el (toplevel): Require modb-entity.
2803         (elmo-msgdb-message-entity-handler): New method.
2804
2805         * modb-standard.el (modb-standard-entity-id): Use
2806         elmo-message-entity-handler.
2807         (modb-standard-load-entity): Ditto.
2808         (elmo-msgdb-append-entity): Ditto.
2809         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2810
2811         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2812         elmo-msgdb-decoded-cache-hashtb,
2813         (modb-legacy-make-message-entity,
2814         elmo-msgdb-make-message-entity,
2815         elmo-msgdb-create-message-entity-from-buffer,
2816         elmo-msgdb-message-entity-number,
2817         elmo-msgdb-message-entity-set-number,
2818         elmo-msgdb-message-entity-field,
2819         elmo-msgdb-message-entity-set-field,
2820         elmo-msgdb-copy-message-entity,
2821         elmo-msgdb-match-condition-internal,
2822         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2823
2824         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2825         (elmo-message-entity-set-number): Ditto.
2826         (elmo-message-entity-field): Ditto.
2827         (elmo-message-entity-set-field): Ditto.
2828
2829         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2830
2831         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2832
2833         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2834
2835         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2836         (elmo-nntp-msgdb-create-message): Ditto.
2837
2838         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2839         (elmo-folder-msgdb-create): Add unread flag.
2840
2841         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2842
2843         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2844
2845         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2846
2847         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2848
2849         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2850         elmo-msgdb-messge-entity-handler.
2851         * elmo-version.el (elmo-version): Up to 2.11.17.
2852
2853 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2854
2855         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2856         change.
2857
2858 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2859
2860         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2861
2862         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2863         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2864         (elmo-msgdb-flag-table): Ditto.
2865         (elmo-msgdb-sort-by-date): Ditto.
2866
2867         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2868
2869         * modb-standard.el (toplevel): Require mime.
2870         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2871         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2872         elmo-msgdb-message-entity-number.
2873         (elmo-msgdb-append-entity): Ditto.
2874         (elmo-msgdb-create-message-entity-from-file): Remove.
2875         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2876         corresponds to the entity.
2877         (elmo-msgdb-message-entity-number): Do nothing currently.
2878         (elmo-msgdb-message-entity-field): Ditto.
2879         (elmo-msgdb-message-entity-set-field): Ditto.
2880         (elmo-msgdb-copy-message-entity): Ditto.
2881         (elmo-msgdb-match-condition-internal): Ditto.
2882
2883         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2884         elmo-util.el.
2885         (elmo-msgdb-create-message-entity-from-file): Remove.
2886
2887         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2888         modb-legacy.el.
2889         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2890
2891         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2892
2893 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2894
2895         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2896         (elmo-msgdb-message-entity-field): Ditto.
2897         (elmo-msgdb-message-entity-number): Ditto.
2898
2899 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2900
2901         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2902         Fixed how to set extra field into entity.
2903         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2904         symbol.
2905
2906         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2907         Fixed how to set extra field into entity.
2908         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2909         symbol.
2910
2911 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2912
2913         * modb.el (elmo-message-entity-db): New function.
2914         (elmo-msgdb-make-message-entity): New API.
2915         (elmo-msgdb-message-entity-number): Ditto.
2916         (elmo-msgdb-message-entity-set-number): Ditto.
2917         (elmo-msgdb-message-entity-field): Ditto.
2918         (elmo-msgdb-message-entity-set-field): Ditto.
2919         (elmo-msgdb-copy-message-entity): Ditto.
2920         (elmo-msgdb-create-message-entity-from-file): Ditto.
2921         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2922         (elmo-msgdb-match-condition-internal): Ditto.
2923
2924         * modb-standard.el (modb-legacy): Require modb-legacy.
2925         (modb-standard-make-message-entity): New inline function.
2926         (elmo-msgdb-make-message-entity): Define.
2927         (elmo-msgdb-create-message-entity-from-file): Ditto.
2928         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2929         (elmo-msgdb-message-entity-field): Ditto.
2930         (elmo-msgdb-message-entity-set-field): Ditto.
2931         (elmo-msgdb-copy-message-entity): Ditto.
2932         (elmo-msgdb-match-condition-internal): Ditto.
2933
2934         * modb-legacy.el: Don't require modb-entity.
2935         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2936         (elmo-msgdb-match-condition-primitive): Ditto.
2937         (elmo-msgdb-get-decoded-cache): Ditto.
2938         (elmo-msgdb-overview-entity-get-id): Ditto.
2939         (elmo-msgdb-overview-entity-get-number): Ditto.
2940         (elmo-msgdb-overview-entity-set-number): Ditto.
2941         (elmo-msgdb-overview-entity-get-references): Ditto.
2942         (elmo-msgdb-overview-entity-set-references): Ditto.
2943         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2944         (elmo-msgdb-overview-entity-get-from): Ditto.
2945         (elmo-msgdb-overview-entity-set-from): Ditto.
2946         (elmo-msgdb-overview-entity-get-subject): Ditto.
2947         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2948         (elmo-msgdb-overview-entity-set-subject): Ditto.
2949         (elmo-msgdb-overview-entity-get-date): Ditto.
2950         (elmo-msgdb-overview-entity-set-date): Ditto.
2951         (elmo-msgdb-overview-entity-get-to): Ditto.
2952         (elmo-msgdb-overview-entity-get-cc): Ditto.
2953         (elmo-msgdb-overview-entity-get-size): Ditto.
2954         (elmo-msgdb-overview-entity-set-size): Ditto.
2955         (elmo-msgdb-overview-entity-get-extra): Ditto.
2956         (elmo-msgdb-overview-entity-set-extra): Ditto.
2957         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2958         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2959         (elmo-msgdb-number-load): Ditto.
2960         (elmo-msgdb-overview-load): Ditto.
2961         (elmo-msgdb-mark-load): Ditto.
2962         (elmo-msgdb-number-save): Ditto.
2963         (elmo-msgdb-mark-save): Ditto.
2964         (elmo-msgdb-overview-save): Ditto.
2965         (modb-legacy-make-message-entity): New inline function.
2966         (elmo-msgdb-insert-file-header): Ditto.
2967         (elmo-msgdb-make-message-entity): Define.
2968         (elmo-msgdb-create-message-entity-from-file): Ditto.
2969         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2970         (elmo-msgdb-message-entity-number): Ditto.
2971         (elmo-msgdb-message-entity-set-number): Ditto.
2972         (elmo-msgdb-message-entity-field): Ditto.
2973         (elmo-msgdb-message-entity-set-field): Ditto.
2974         (elmo-msgdb-copy-message-entity): Ditto.
2975         (elmo-msgdb-match-condition-internal): Ditto.
2976
2977         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2978         (elmo-message-copy-entity): Rewrite.
2979         (elmo-message-entity-number): Ditto.
2980         (elmo-message-entity-set-number): Ditto.
2981         (elmo-message-entity-field): Use elmo-message-entity-db.
2982         (elmo-message-entity-set-field): Ditto.
2983         (elmo-message-field): Rewrite.
2984
2985         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2986         elmo-msgdb.el
2987         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2988
2989         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2990         elmo-message-entity-field.
2991         (elmo-shimbun-folder-shimbun-header): Ditto.
2992         (elmo-shimbun-entity-to-header): Ditto.
2993         (elmo-folder-msgdb-create): Ditto.
2994         (elmo-shimbun-msgdb-create-entity): Ditto;
2995         Use elmo-msgdb-create-message-entity-from-buffer.
2996         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2997         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2998
2999         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3000         elmo-msgdb-create-message-entity-from-file and 
3001         elmo-message-entity-field.
3002
3003         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3004         elmo-message-entity-number.
3005         (elmo-pop3-msgdb-create-message): Use
3006         elmo-msgdb-create-message-entity-from-buffer,
3007         elmo-message-entity-set-field, elmo-message-entity-number and
3008         elmo-message-entity-set-number.
3009
3010         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3011         the API change in elmo-msgdb-make-message-entity.
3012         (elmo-nntp-msgdb-create-message): Use
3013         elmo-msgdb-create-message-entity-from-buffer.
3014
3015         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3016         elmo-message-entity-field and
3017         elmo-msgdb-create-message-entity-from-file.
3018
3019         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3020         (elmo-msgdb-get-field): Abolish.
3021         (elmo-msgdb-get-number): Rewrite.
3022         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3023         (elmo-msgdb-flag-table): Ditto.
3024         (elmo-msgdb-get-last-message-id,
3025         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3026         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3027         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3028         (elmo-msgdb-create-overview-from-buffer,
3029         elmo-msgdb-overview-get-parent-entity): Abolish.
3030
3031         * elmo-mime.el (elmo-mime-display-as-is): Use
3032         elmo-message-entity-field.
3033
3034         * elmo-map.el (elmo-folder-pack-numbers): Use
3035         elmo-message-entity-set-number.
3036
3037         * elmo-maildir.el (elmo-folder-msgdb-create): 
3038         elmo-msgdb-create-message-entity-from-file instead of
3039         elmo-msgdb-create-overview-entity-from-file.
3040
3041         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3042         msgdb.
3043         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3044         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3045
3046         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3047         elmo-messge-entity-field and elmo-message-entity-number.
3048         (elmo-imap4-fetch-callback-1): Call
3049         elmo-msgdb-create-message-entity-from-buffer instead of
3050         elmo-msgdb-create-overview-from-buffer. 
3051         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3052         (elmo-find-fetch-strategy): Likewise.
3053
3054         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3055         elmo-localdir-msgdb-create-entity with argument msgdb.
3056
3057         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3058         and elmo-message-entity-set-number.
3059
3060         * elmo-cache.el (elmo-folder-msgdb-create): Use
3061         elmo-message-entity-field.
3062         (elmo-folder-msgdb-create): Call
3063         elmo-msgdb-create-message-entity-from-file instead of
3064         elmo-msgdb-create-overview-entity-from-file.
3065
3066         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3067         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3068         instead of elmo-msgdb-create-overview-from-buffer.
3069         (elmo-archive-msgdb-create-entity): Ditto.
3070         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3071         elmo-message-entity-field.
3072         (elmo-archive-parse-mmdf): Ditto.
3073
3074         * modb-entity.el: Removed.
3075
3076         * elmo-version.el (elmo-version): Up to 2.11.16.
3077
3078 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3079
3080         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3081         `is-local'.
3082         (elmo-folder-flag-as-answered): Ditto.
3083
3084 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3085
3086         * modb-standard.el: New file.
3087
3088         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3089         elmo-msgdb-convert-type is `sync'.
3090
3091         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3092         (elmo-msgdb-convert-type): New user option.
3093
3094         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3095         (elmo-load-msgdb): Auto detect saved type.
3096
3097         * elmo-version.el (elmo-version): Up to 2.11.15.
3098
3099 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3100
3101         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3102
3103         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3104         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3105         with argument `delete-if-none' when dst-folder is 'null.
3106
3107         * elmo-flag.el (elmo-folder-append-messages): Defined.
3108         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3109
3110 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3111
3112         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3113
3114 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3115
3116         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3117         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3118         (elmo-folder-commit): Ditto.
3119
3120 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3121
3122         * elmo-flag.el: New file.
3123
3124         * elmo-mark.el: Removed.
3125
3126         * modb-legacy.el (modb-legacy-new-mark,
3127         modb-legacy-unread-uncached-mark,
3128         modb-legacy-unread-cached-mark,
3129         modb-legacy-read-uncached-mark,
3130         modb-legacy-answered-cached-mark,
3131         modb-legacy-answered-uncached-mark,
3132         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3133         All other related portions are changed.
3134
3135         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3136         (elmo-folder-list-messages-with-global-mark): Abolish.
3137         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3138         (elmo-folder-flag-as-important): Ditto.
3139         (elmo-folder-unflag-read): Ditto.
3140         (elmo-folder-flag-as-read): Ditto.
3141         (elmo-folder-unflag-answered): Ditto.
3142         (elmo-folder-flag-as-answered): Ditto.
3143         (elmo-message-encache): Return the cache path.
3144         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3145         (elmo-message-set-flag): Transitional implementation.
3146         (elmo-message-unset-flag): Ditto.
3147         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3148         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3149         (elmo-init): Call elmo-global-flag-initialize.
3150         (toplevel): Added autoload settings for elmo-flag.
3151
3152         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3153
3154         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3155         (elmo-file-cache-delete): Don't treat global-mark.
3156
3157         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3158
3159         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3160
3161         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3162         `elmo-global-flags-set'.
3163
3164         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3165         `flag'.
3166         (elmo-folder-unflag-read): Ditto.
3167         (elmo-folder-unflag-important): Ditto.
3168         (elmo-folder-flag-as-important): Ditto.
3169         (elmo-folder-unflag-answered): Ditto.
3170         (elmo-folder-flag-as-answered): Ditto.
3171
3172         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3173         `elmo-global-flags-set'.
3174         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3175
3176         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3177
3178         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3179         `flag'.
3180         (elmo-folder-flag-as-important): Ditto.
3181         (elmo-folder-unflag-important): Ditto.
3182         (elmo-folder-flag-as-important): Ditto.
3183         (elmo-folder-unflag-read): Ditto.
3184         (elmo-folder-flag-as-read): Ditto.
3185         (elmo-folder-unflag-answered): Ditto.
3186         (elmo-folder-flag-as-answered): Ditto.
3187
3188         * elmo-multi.el (elmo-folder-list-importants): Don't call
3189         elmo-folder-list-messages-with-global-mark.
3190         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3191         (elmo-folder-unflag-important): Ditto.
3192         (elmo-folder-flag-as-read): Ditto.
3193         (elmo-folder-unflag-read): Ditto.
3194         (elmo-folder-flag-as-answered): Ditto.
3195         (elmo-folder-unflag-answered): Ditto.
3196
3197         * elmo-msgdb.el (elmo-msgdb-new-mark,
3198         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3199         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3200         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3201         (Moved to modb-legacy.el).
3202         (elmo-flag-table-get): Treat important flag too.
3203
3204         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3205         `mark' to `flag'.
3206         (elmo-map-folder-flag-as-important): Ditto.
3207         (elmo-map-folder-unflag-read): Ditto.
3208         (elmo-map-folder-flag-as-read): Ditto.
3209         (elmo-map-folder-unflag-answered): Ditto.
3210         (elmo-map-folder-flag-as-answered): Ditto.
3211         (elmo-folder-unflag-important): Ditto.
3212         (elmo-folder-flag-as-important): Ditto.
3213         (elmo-folder-unflag-read): Ditto.
3214         (elmo-folder-flag-as-read): Ditto.
3215         (elmo-folder-unflag-answered): Ditto.
3216         (elmo-folder-flag-as-answered): Ditto.
3217
3218         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3219         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3220         `flag'.
3221         (elmo-map-folder-unflag-important): Ditto.
3222         (elmo-map-folder-flag-as-read): Ditto.
3223         (elmo-map-folder-unflag-read): Ditto.
3224         (elmo-map-folder-flag-as-answered): Ditto.
3225         (elmo-map-folder-unflag-answered): Ditto.
3226
3227         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3228         `elmo-global-flags-set'.
3229         (elmo-global-flags-set): Added autoload setting.
3230
3231         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3232         `flag'.
3233
3234         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3235         `elmo-msgdb-global-mark-set'.
3236         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3237         Call `elmo-global-flags-set'.
3238         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3239         `flag'.
3240         (elmo-folder-flag-as-important-plugged): Ditto.
3241         (elmo-folder-unflag-read-plugged): Ditto.
3242         (elmo-folder-flag-as-read-plugged): Ditto.
3243         (elmo-folder-unflag-answered-plugged): Ditto.
3244         (elmo-folder-flag-as-answered-plugged): Ditto.
3245         (elmo-global-flags-set): Added autoload setting.
3246
3247         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3248         `flag'.
3249         (elmo-folder-unflag-read): Ditto.
3250         (elmo-folder-flag-as-important): Ditto.
3251         (elmo-folder-unflag-important): Ditto.
3252         (elmo-folder-flag-as-answered): Ditto.
3253         (elmo-folder-unflag-answered): Ditto.
3254
3255         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3256         change of `mark'->`flag'.
3257         (elmo-dop-queue-method-name-alist): Ditto.
3258         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3259         (elmo-folder-unflag-read-dop): Ditto.
3260         (elmo-folder-flag-as-important-dop): Ditto.
3261         (elmo-folder-unflag-important-dop): Ditto.
3262         (elmo-folder-flag-as-answered-dop): Ditto.
3263         (elmo-folder-unflag-answered-dop): Ditto.
3264
3265         * elmo-cache.el (elmo-folder-msgdb-create): Call
3266         `elmo-global-flags-set'.
3267
3268         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3269         Call `elmo-global-flags-set'.
3270         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3271         elmo-archive-parse-mmdf with argument `folder'.
3272         (elmo-archive-parse-mmdf): Added argument `folder';
3273         Call `elmo-global-flags-set'.
3274
3275         * elmo-version.el (elmo-version): Up to 2.11.14.
3276
3277 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3278
3279         * modb.el (elmo-msgdb-length): Define.
3280
3281         * elmo.el (elmo-make-folder): Fixed.
3282         (elmo-generic-folder-append-messages): Follow the API change.
3283
3284         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3285         API change.
3286
3287 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3288
3289         * modb.el: New file.
3290
3291         * modb-entity.el: Ditto.
3292
3293         * modb-legacy.el: Ditto.
3294
3295         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3296         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3297         of `elmo-msgdb-overview-get-entity'.
3298         (elmo-msgdb-get-field): Ditto.
3299         (elmo-msgdb-merge): Moved to `elmo.el'.
3300         (elmo-msgdb-length): Removed; redefine as modb method.
3301         (elmo-msgdb-change-mark): Abolish.
3302         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3303         (elmo-msgdb-match-condition): Don't use mark.
3304         (elmo-msgdb-overview-get-entity): Abolish.
3305         Split modb part into `modb*.el'.
3306
3307         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3308
3309         * elmo-shimbun.el (shimbun-mua-search-id): Use
3310         `elmo-msgdb-message-entity' instead of
3311         `elmo-msgdb-overview-get-entity'.
3312         (elmo-shimbun-folder-shimbun-header): Ditto.
3313         (elmo-shimbun-get-headers): Ditto.
3314         (elmo-shimbun-update-overview): Ditto.
3315
3316         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3317
3318         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3319
3320         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3321         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3322
3323         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3324         `elmo-msgdb-mark-to-flags'.
3325
3326         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3327         `elmo-msgdb-set-path'.
3328
3329         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3330  
3331         * elmo-version.el (elmo-version): Up to 2.11.13.
3332
3333         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3334
3335         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3336         of mark.
3337
3338 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3339
3340         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3341         mismatch.
3342
3343 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3344
3345         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3346         instead of `elmo-msgdb-get-cached'.
3347         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3348
3349         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3350         (elmo-msgdb-set-cached): Ditto.
3351         (elmo-msgdb-set-flag): Rewrite.
3352         (elmo-msgdb-unset-flag): Ditto.
3353
3354         * elmo-msgdb.el: Rewrite with luna.
3355
3356         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3357         (elmo-folder-msgdb): Follow the change above.
3358         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3359         (elmo-folder-unmark-important): Follow the API change.
3360         (elmo-folder-mark-as-important): Ditto.
3361         (elmo-folder-unmark-read): Ditto.
3362         (elmo-folder-mark-as-read): Ditto.
3363         (elmo-folder-unmark-answered): Ditto.
3364         (elmo-folder-mark-as-answered): Ditto.
3365         (elmo-folder-clear): Likewise.
3366
3367         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3368         instead of `elmo-msgdb-load' (renamed).
3369
3370         * elmo-version.el (elmo-version): Up to 2.11.12.
3371
3372 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3373
3374         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3375         change.
3376         (elmo-message-mark): Abolish.
3377         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3378         instead of `elmo-msgdb-change-mark'.
3379
3380         * elmo-pipe.el (elmo-message-mark): Abolish.
3381
3382         * elmo-multi.el (elmo-message-mark): Ditto.
3383
3384         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3385         (elmo-msgdb-unread-uncached-mark): Ditto.
3386         (elmo-msgdb-unread-cached-mark): Ditto.
3387         (elmo-msgdb-read-uncached-mark): Ditto.
3388         (elmo-msgdb-answered-cached-mark): Ditto.
3389         (elmo-msgdb-answered-uncached-mark): Ditto.
3390         (elmo-msgdb-important-mark): Ditto.
3391         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3392         `use-cache'.
3393         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3394         `flags'.
3395         (elmo-flag-table-load): Changed flag to list of flag.
3396         (elmo-flag-table-set): If flags is nil, set read flag.
3397         (elmo-flag-table-get): Return derived flags from global mark,
3398         cache status and saved flags.
3399         (elmo-msgdb-flag-table): Follow the change above.
3400         (elmo-msgdb-out-of-date-messages): New function.
3401
3402         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3403
3404         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3405
3406         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3407
3408         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3409         (elmo-nntp-msgdb-create-message): Ditto.
3410
3411         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3412
3413         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3414         independent.
3415         (elmo-folder-msgdb-create): Follow the API change.
3416
3417         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3418         (elmo-folder-append-messages): Ditto.
3419
3420         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3421         (elmo-folder-append-buffer): Ditto.
3422
3423         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3424
3425         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3426
3427         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3428         (elmo-archive-parse-mmdf): Ditto.
3429
3430         * elmo-version.el (elmo-version): Up to 2.11.11.
3431
3432 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3433
3434         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3435         `elmo-msgdb-mark'.
3436
3437         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3438
3439         * elmo-pipe.el (elmo-message-flags): Defined.
3440
3441         * elmo-multi.el (elmo-message-flags): Ditto.
3442
3443 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3444
3445         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3446         `elmo-msgdb-delete-msgs'.
3447
3448         * elmo.el (elmo-folder-count-flags): Don't use
3449         `elmo-msgdb-get-mark-alist'.
3450         (elmo-folder-detach-messages): Follow the API change.
3451
3452         * elmo.el (elmo-folder-list-messages): Append killed messages into
3453         result if `visible-only' is nil.
3454
3455         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3456         canceled messages.
3457         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3458         (elmo-folder-update-number): Likewise.
3459
3460         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3461         (elmo-pop3-sort-msgdb-by-original-number): Use
3462         `elmo-msgdb-sort-entities'.
3463
3464         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3465         (elmo-msgdb-sort-by-date): Use it.
3466         (elmo-msgdb-overview-sort-by-date): Abolish.
3467
3468         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3469
3470         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3471         (elmo-msgdb-flags): New function.
3472         (elmo-msgdb-merge): Use elmo-msgdb-append.
3473
3474         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3475         change.
3476
3477         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3478
3479         * elmo-dop.el (elmo-folder-status-dop): Use
3480         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3481
3482 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3483
3484         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3485
3486         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3487
3488         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3489
3490         * elmo-util.el (elmo-with-progress-display): New macro.
3491
3492         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3493
3494 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3495
3496         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3497         `elmo-folder-list-message-entities' instead of
3498         `elmo-msgdb-get-overview'.
3499         (elmo-map-folder-list-message-locations): Ditto.
3500
3501         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3502         methods instead of treat directly).
3503         (elmo-msgdb-clear): Ditto.
3504         (elmo-msgdb-delete-msgs): Ditto.
3505         (elmo-msgdb-sort-by-date): Ditto.
3506
3507         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3508         local variables.
3509         (elmo-nntp-folder-msgdb-create): Follow the API change.
3510
3511         * elmo-version.el (elmo-version): Up to 2.11.10.
3512
3513 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3514
3515         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3516         (elmo-msgdb-flags-to-mark): Ditto.
3517         (elmo-msgdb-append-entity): Ditto.
3518
3519         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3520         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3521         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3522         (elmo-archive-parse-mmdf): Ditto.
3523
3524         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3525
3526         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3527
3528         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3529
3530         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3531
3532         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3533
3534         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3535
3536         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3537
3538         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3539
3540         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3541         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3542         to empty msgdb.
3543
3544         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3545         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3546         instead of directly construction.
3547         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3548         instead of construct msgdb.
3549
3550         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3551         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3552         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3553         instead of construct msgdb.
3554
3555 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3556
3557         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3558         when field is from or subject.
3559
3560 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3561
3562         * elmo-multi.el (elmo-message-entity-parent): Define.
3563         (elmo-folder-search): Rewrite.
3564
3565 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3566
3567         * elmo-multi.el (elmo-message-cached-p): Define.
3568
3569         * elmo.el (elmo-message-cached-p): New method.
3570         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3571         (elmo-message-flags): New method.
3572         (elmo-message-flagged-p): New function.
3573
3574         * elmo-version.el (elmo-version): Up to 2.11.9.
3575
3576 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3577
3578         * elmo-version.el (elmo-version): Up to 2.11.8.
3579
3580         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3581
3582         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3583
3584 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3585
3586         * elmo.el (elmo-folder-detach-messages): Undo last change.
3587
3588 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3589
3590         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3591
3592         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3593         only when src folder type is pop3.
3594
3595 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3596
3597         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3598         elmo-msgdb-overview-entity-get-number instead of
3599         elmo-message-entity-number.
3600
3601 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3602
3603         * elmo-version.el (elmo-version): Up to 2.11.7.
3604
3605 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3606
3607         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3608         function.
3609
3610         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3611         (elmo-msgdb-merge): New function.
3612         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3613         (elmo-msgdb-make-index): Rewrite.
3614
3615         * elmo-version.el (elmo-version): Up to 2.11.6.
3616
3617         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3618         use it as a the path for loading message entities.
3619
3620         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3621
3622 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3623
3624         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3625         message-modified slot of itself if it does not require target msgdb.
3626
3627         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3628         if folder length is zero.
3629         (elmo-mime-display-as-is): Ditto.
3630
3631         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3632
3633         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3634
3635 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3636
3637         * elmo.el (elmo-folder-set-message-modified): New method.
3638         (elmo-generic-folder-commit): Use it.
3639         (elmo-folder-synchronize): Ditto.
3640
3641         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3642         (elmo-folder-commit): Remove duplicate definition.
3643
3644 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3645
3646         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3647
3648 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3649
3650         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3651         (elmo-strict-folder-diff): Ditto.
3652         (elmo-folder-set-info-max-by-numdb): Simplify.
3653
3654         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3655         elmo-msgdb-list-messages.
3656
3657         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3658         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3659
3660 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3661
3662         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3663         visible-only is non-nil.
3664         (elmo-folder-confirm-appends): Changed message.
3665         (elmo-folder-synchronize): Added argument disable-killed.
3666
3667         * elmo-multi.el (elmo-folder-synchronize): Added argument
3668         disable-killed.
3669
3670         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3671
3672         * elmo-version.el (elmo-version): Up to 2.11.5.
3673
3674         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3675         elmo-list-filter.
3676
3677         * elmo-util.el (elmo-list-filter): Simplify.
3678
3679         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3680         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3681         (elmo-generic-folder-diff): Abolish argument.
3682         (elmo-msgdb-load): Don't use number-alist.
3683
3684         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3685
3686         * elmo-pipe.el (elmo-folder-diff): Ditto.
3687
3688         * elmo-nmz.el (elmo-folder-diff): Ditto.
3689
3690         * elmo-net.el (elmo-folder-diff): Ditto.
3691
3692         * elmo-maildir.el (elmo-folder-diff): Ditto.
3693
3694         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3695
3696         * elmo-multi.el (elmo-folder-diff): Ditto
3697         (elmo-multi-folder-diff): Rewrite.
3698
3699 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3700
3701         * elmo-pipe.el (elmo-folder-msgdb): Define.
3702
3703 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3704
3705         * elmo.el (elmo-message-set-cached): Define as a method.
3706
3707         * elmo-pipe.el (elmo-message-set-cached): Define.
3708         (elmo-find-fetch-strategy): Ditto.
3709
3710         * elmo-multi.el (elmo-message-set-cached): Define.
3711         (elmo-find-fetch-strategy): Rewrite.
3712
3713         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3714
3715         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3716
3717 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3718
3719         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3720         instead of number-alist.
3721
3722         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3723         mark nor message-id when msgdb of source folder is not loaded.
3724
3725         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3726
3727         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3728
3729 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3730
3731         * elmo.el (elmo-folder-length): Don't require msgdb.
3732
3733 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3734
3735         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3736         (elmo-message-field): Ditto.
3737
3738         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3739         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3740         slot.
3741         (elmo-map-folder-list-answereds): Define.
3742         (elmo-maildir-list-location): Treat 'R' info.
3743         (elmo-folder-msgdb-create): Treat flag-table.
3744         (elmo-folder-append-messages): Save flag-table.
3745
3746 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3747
3748         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3749         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3750
3751 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3752
3753         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3754
3755         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3756         'read when mark is null.
3757
3758 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3759
3760         * elmo-version.el (elmo-version): Up to 2.11.4.
3761
3762 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3763
3764         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3765         (elmo-folder-mark-as-answered): Ditto.
3766
3767 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3768
3769         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3770         (elmo-pop3-get-session): Make msgdb directory after session.
3771         (elmo-folder-exists-p): Check exactly at the first time even when the
3772         elmo-pop3-exists-exactly is nil.
3773
3774         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3775         (elmo-folder-list-messages): Define instead of
3776         elmo-folder-list-messages-internal.
3777         (elmo-folder-check): Check destination folder.
3778         (elmo-folder-synchronize): Drain the pipe.
3779
3780         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3781         when msgdb is not loaded.
3782
3783         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3784
3785         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3786         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3787         messages.
3788
3789         * elmo.el (elmo-folder-kill-messages-before): New function.
3790         (elmo-folder-kill-messages): Ditto.
3791         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3792
3793         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3794         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3795         killed not by synchronize (e.g. scoring).
3796
3797 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3798
3799         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3800         treated.
3801         (elmo-folder-search): Follow the change above.
3802
3803         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3804         into the candidates of search field.
3805
3806 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3807
3808         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3809         (elmo-msgdb-unset-flag): Ditto.
3810
3811         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3812
3813 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3814
3815         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3816         (elmo-folder-commit): Define.
3817         (elmo-folder-synchronize): Ditto.
3818         (elmo-folder-list-flagged): Ditto.
3819         (elmo-folder-commit): Ditto.
3820         (elmo-folder-length): Ditto.
3821         (elmo-folder-count-flags): Ditto.
3822         (elmo-message-mark): Ditto.
3823         (elmo-message-field): Ditto.
3824         (elmo-message-entity): Ditto.
3825         (elmo-message-folder): Ditto.
3826
3827 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3828
3829         * elmo.el (elmo-message-field): Define as a method.
3830
3831         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3832         (elmo-message-field): Define.
3833
3834         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3835         (elmo-folder-list-importants): Ditto.
3836         (elmo-folder-list-answereds): Ditto.
3837
3838         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3839         qualifier.
3840         (elmo-folder-mark-as-read): Ditto.
3841         (elmo-folder-unmark-read): Ditto.
3842         (elmo-folder-mark-as-answered): Ditto.
3843         (elmo-folder-unmark-answered): Ditto.
3844         (elmo-folder-list-flagged): Define.
3845         (elmo-folder-commit): Ditto.
3846         (elmo-folder-length): Ditto.
3847         (elmo-folder-count-flags): Ditto.
3848
3849 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3850
3851         * elmo.el (elmo-folder-detach-messages): New method.
3852         (elmo-folder-move-messages): Use it.
3853         (elmo-folder-synchronize): Ditto.
3854
3855         * elmo-multi.el (elmo-folder-detach-messages): Define.
3856
3857         * elmo.el (elmo-message-copy-entity): New function.
3858         (elmo-message-entity-set-number): Ditto.
3859         (elmo-message-mark): Define as method.
3860
3861         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3862         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3863         (elmo-message-entity): Fixed last change.
3864         (elmo-message-mark): Define.
3865         (elmo-folder-msgdb-create): Abolish.
3866         (elmo-multi-folder-append-msgdb): Ditto.
3867         (elmo-multi-folder-diff): Fixed.
3868         (elmo-multi-split-number-alist): Removed.
3869         (elmo-multi-split-mark-alist): Removed.
3870         (elmo-folder-list-messages): Define.
3871         (elmo-folder-list-messages-internal): Removed.
3872
3873         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3874         local file messages.
3875         (elmo-folder-msgdb-create): Fixed read mark.
3876
3877 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3878
3879         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3880         if mark is nil.
3881
3882 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3883
3884         * elmo.el (elmo-folder-list-message-entities): Define as inline
3885         function.
3886         (elmo-folder-messages): Abolish.
3887
3888         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3889         folder.
3890         (elmo-folder-synchronize): Define.
3891         (elmo-message-entity): Define.
3892
3893 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3894
3895         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3896         elmo-imap4-session-select-mailbox.
3897
3898         * elmo.el (elmo-folder-move-messages): Don't display any message.
3899
3900         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3901         parsing.
3902         (elmo-imap4-session-check): Don't wait CHECK response.
3903         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3904
3905 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3906
3907         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3908
3909 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3910
3911         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3912         API.
3913         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3914
3915
3916         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3917         (elmo-folder-list-message-entities): Added argument in-msgdb and
3918         numbers.
3919         (elmo-folder-synchronize): Define as a method.
3920
3921         * elmo-nntp.el (elmo-folder-initialize): Don't use
3922         elmo-nntp-default-user if zero-length username is specified
3923         explicitly.
3924
3925 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3926
3927         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3928         server name in case with username.
3929         (XXX: this is ad-hoc fix against username includes "@", it
3930         should be solved fundamentally)
3931
3932 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3933
3934         * elmo-nntp.el (elmo-nntp-debug): New function.
3935         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3936         (elmo-network-authenticate-session): Hide auth-info from the log.
3937
3938         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3939         user name if it is equal to elmo-nntp-default-user.
3940
3941 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3942
3943         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3944         instead of shimbun-server-internal;
3945         Use shimbun-current-group instead of shimbun-current-group-internal.
3946         (elmo-folder-plugged-p): Use shimbun-server instead of
3947         shimbun-server-internal.
3948         (elmo-folder-set-plugged): Ditto.
3949         (elmo-net-port-info): Ditto.
3950         (elmo-folder-check): Ditto.
3951         (elmo-folder-expand-msgdb-path): Ditto.
3952         (elmo-folder-list-subfolders): Ditto.
3953
3954 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3955
3956         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3957         Convert field-name to lower case.
3958         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3959
3960 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3961
3962         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3963         `message' and `error' take format string.
3964
3965 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3966
3967         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3968
3969 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3970
3971         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3972         recursive call (can't byte compile on emacs 20.7).
3973
3974 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3975
3976         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3977         (elmo-folder-list-message-entities): New API.
3978         (elmo-message-entity): Ditto.
3979         (elmo-message-entity-parent): Ditto.
3980         (elmo-folder-do-each-message-entity): Ditto.
3981         (elmo-message-entity-number): Ditto.
3982         (elmo-message-entity-field): Ditto.
3983         (elmo-message-entity-set-field): Ditto.
3984         (elmo-folder-count-flags): Ditto.
3985         (elmo-folder-length): Ditto.
3986
3987         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3988         not.
3989
3990         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3991         (elmo-msgdb-count-marks): Abolish.
3992         (elmo-msgdb-make-entity): Ditto.
3993         (elmo-msgdb-do-each-entity): Ditto.
3994         (elmo-msgdb-message-entity): New inline function.
3995         (elmo-msgdb-message-entity-field): Ditto.
3996         (elmo-msgdb-message-entity-set-field): Ditto.
3997         (elmo-msgdb-make-message-entity): New function.
3998
3999 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4000
4001         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4002         to flag. (All other related portions are changed.)
4003         (elmo-folder-msgdb-create): Likewise.
4004         (elmo-generic-folder-append-messages): Use flag-table instead of
4005         seen-list.
4006         (elmo-folder-move-messages): Removed redundant process.
4007         (elmo-folder-synchronize): Likewise.
4008
4009         * elmo-msgdb.el (elmo-flag-table-get): New function.
4010         (elmo-flag-table-save): Fixed.
4011         (elmo-msgdb-length): New inline function.
4012         (elmo-msgdb-flag-table): New function.
4013         (elmo-msgdb-mark): Add optional argument new.
4014         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4015         (elmo-msgdb-seen-list): Ditto.
4016         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4017
4018
4019 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4020
4021         * elmo.el (elmo-message-set-mark): Abolish.
4022         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4023         (All related portions are changed.)
4024
4025         * elmo-msgdb.el (toplevel): Added comment.
4026         (elmo-load-msgdb): Added 4th element `path'.
4027         (elmo-msgdb-append): Follow the change above.
4028         (elmo-msgdb-clear): Ditto.
4029         (elmo-msgdb-delete-msgs): Ditto.
4030         (elmo-msgdb-get-path): New inline function.
4031         (elmo-msgdb-set-path): Ditto.
4032         (elmo-flag-table-filename): New variable.
4033         (elmo-flag-table-load): New function.
4034         (elmo-flag-table-set): Ditto.
4035         (elmo-flag-table-save): Ditto.
4036         (elmo-msgdb-get-field-value): Abolish.
4037         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4038
4039 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4040
4041         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4042         the folder has been deleted successfully.
4043         * elmo-imap4.el (elmo-folder-delete): Ditto.
4044         * elmo-archive.el (elmo-folder-delete): Ditto.
4045         * elmo-localdir.el (elmo-folder-delete): Ditto.
4046         * elmo-maildir.el (elmo-folder-delete): Ditto.
4047
4048 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4049
4050         * elmo-util.el (elmo-string-member-ignore-case): New function.
4051         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4052         (elmo-imap4-fetch-callback-1-subr): Likewise.
4053
4054 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4055
4056         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4057         the case of the name attribute "\Noselect".
4058
4059 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4060
4061         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4062
4063         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4064         flist, is not always a member of onum-alist.
4065
4066 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4067
4068         * elmo-version.el (elmo-version): Up to 2.11.3.
4069
4070 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4071
4072         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4073         copied from localdir's one.
4074
4075         * elmo-pipe.el (elmo-folder-rename): New method, rename
4076         destination folder with leaving source folder as it is.
4077
4078 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4079
4080         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4081         replace-regexp.
4082
4083 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4084
4085         * elmo-version.el (elmo-version): Up to 2.11.2.
4086
4087 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4088
4089         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4090         shimbun-open in case of "@".
4091         (elmo-folder-open-internal): Cope with shimbun = nil case.
4092         (elmo-folder-plugged-p): Ditto.
4093         (elmo-folder-list-subfolders): Make list for "@/" group.
4094
4095 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4096
4097         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4098         mailbox (e.g. for %~/something).
4099
4100 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4101
4102         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4103         Replace nested conditional with guard clauses.
4104
4105 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4106
4107         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4108         error [wl:11327].
4109
4110         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4111         print-depth.
4112
4113 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4114
4115         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4116         Replace nested conditional with guard clauses.
4117
4118 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4119
4120         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4121         (elmo-passwd-alist-save): Ditto.
4122         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4123
4124 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4125
4126         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4127         dir-name only if it is absolute path.
4128         (TODO: distinguish +/something and +something)
4129
4130 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4131
4132         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4133         path for "+~/something".
4134
4135 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4136
4137         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4138         as non-directory, cause error before rename-file.
4139         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4140         apropriately, mimic localdir's one.
4141         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4142
4143 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4144
4145         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4146
4147 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4148
4149         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4150
4151         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4152         
4153         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4154         is included in the global-mark or not.
4155
4156 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4157
4158         * utf7.el (toplevel): Avoid error when the function
4159         find-coding-system does not exist.
4160
4161 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4162
4163         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4164         cache even if the folder is plugged.
4165         (elmo-nntp-search-primitive): Do nothing when body search is
4166         invoked (although it is not used by the change above).
4167         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4168
4169 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4170
4171         * elmo-version.el (elmo-version): Up to 2.11.1.
4172
4173 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4174
4175         * elmo-archive.el: Specify charset.
4176
4177 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4178
4179         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4180         process buffer lives or not.
4181
4182         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4183         while flushing queues (It causes infinite loop).
4184
4185 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4186
4187         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4188
4189 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4190
4191         * utf7.el (toplevel): Check the ucs features dynamically.
4192         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4193
4194         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4195         folder is creatabe or not if it already exists.
4196
4197 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4198
4199         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4200
4201         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4202
4203         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4204         (elmo-imap4-read-response): Take care of garbage response.
4205
4206 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4207
4208         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4209         just return nil instead of error.
4210
4211 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4212
4213         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4214         search-key is "body".
4215
4216 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4217
4218         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4219         of elmo-string-matched-assoc to use match-data.
4220         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4221
4222 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4223
4224         * elmo-split.el (elmo-split->): New function.
4225         (elmo-split-<): Ditto.
4226
4227 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4228
4229         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4230         workaround for invalid message-id.
4231
4232 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4233
4234         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4235         return normal pop3 session or pop3 biff session.
4236
4237 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4238
4239         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4240         info part to the cur files when the new files already have it.
4241         (Adviced by Jared Rhine <jared@wordzoo.com>)
4242
4243 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4244
4245         * elmo-split.el (elmo-split-default-action): New variable.
4246         (elmo-split-subr): Use it if all other conditions are passed.
4247         Extend `fname' and rename it as `action'. (implemented
4248         Teranishi-san's idea in [wl:10800])
4249
4250 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4251
4252         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4253         * elmo-util.el: Ditto.
4254
4255 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4256
4257         * elmo.el (elmo-message-accessible-p): Renamed from
4258         elmo-message-cached-p and rewritten.
4259
4260 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4261
4262         * elmo.el (elmo-folder-list-flagged): New generic function.
4263         (elmo-folder-list-importants): New implementation.
4264         (elmo-folder-list-answereds): Ditto.
4265         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4266         Added 'digest'.
4267         (elmo-message-cached-p): New function.
4268         (elmo-message-set-flag): Ditto (no content).
4269         (elmo-message-unset-flag): Ditto.
4270         (elmo-folder-list-messages-mark-match): Abolish.
4271
4272         * elmo-util.el (elmo-regexp-opt): New function.
4273
4274         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4275         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4276         Added 'digest'.
4277         (elmo-msgdb-list-flagged): New function.
4278
4279         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4280         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4281         Added 'digest'.
4282
4283         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4284
4285 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4286
4287         * elmo-version.el (elmo-version): Up to 2.11.0.
4288
4289 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4290
4291         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4292         `elmo-file-cache-exists-p'; use proper mark that depends on
4293         `use-cache'.
4294         (elmo-msgdb-unset-flag): Ditto.
4295         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4296
4297         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4298         with 4th argument `use-cache'.
4299
4300 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4301
4302         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4303         (elmo-folder-mark-as-important): Ditto.
4304         (elmo-folder-unmark-read): Ditto.
4305         (elmo-folder-mark-as-read): Ditto.
4306         (elmo-folder-unmark-answered): Ditto.
4307         (elmo-folder-mark-as-answered): Ditto.
4308
4309         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4310         message status.
4311         (elmo-msgdb-mark): Likewise.
4312         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4313         (elmo-msgdb-unset-flag): Likewise.
4314
4315         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4316
4317 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4318
4319         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4320         `last:' filter.
4321
4322 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4323
4324         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4325         set spool-length to 0.
4326
4327 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4328
4329         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4330         (elmo-dop-queue-flush): Fixed last change.
4331
4332 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4333
4334         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4335         if require-msgdb slot is nil.
4336         (elmo-folder-list-importants): Likewise.
4337
4338 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4339
4340         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4341         mark is changed.
4342
4343         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4344         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4345         is changed.
4346
4347 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4348
4349         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4350
4351 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4352
4353         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4354
4355         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4356
4357 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4358
4359         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4360         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4361
4362 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4363
4364         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4365         the problem reported by Sean Rima [wl-en:180].
4366
4367 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4368
4369         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4370
4371         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4372
4373         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4374
4375         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4376
4377         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4378
4379         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4380
4381         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4382
4383 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4384
4385         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4386         status number.
4387
4388 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4389
4390         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4391         (elmo-folder-mark-as-read): Follow the API change.
4392         (elmo-message-set-cached): New function.
4393
4394         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4395
4396         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4397
4398         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4399         (elmo-folder-mark-as-important): Ditto.
4400         (elmo-folder-unmark-read): Ditto.
4401         (elmo-folder-mark-as-read): Ditto.
4402         (elmo-folder-unmark-answered): Ditto.
4403         (elmo-folder-mark-as-answered): Ditto.
4404
4405         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4406         (elmo-folder-unmark-important): Ditto.
4407         (elmo-folder-mark-as-read): Ditto.
4408         (elmo-folder-unmark-read): Ditto.
4409         (elmo-folder-mark-as-answered): Ditto.
4410         (elmo-folder-unmark-answered): Ditto.
4411
4412         * elmo-mark.el (toplevel): Removed some mark method definitions.
4413
4414         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4415         (elmo-map-folder-mark-as-answered): Ditto.
4416         (elmo-folder-unmark-important): Add :before qualifier.
4417         (elmo-folder-mark-as-important): Ditto.
4418         (elmo-folder-unmark-read): Ditto.
4419         (elmo-folder-mark-as-read): Ditto.
4420         (elmo-folder-unmark-answered): Define.
4421         (elmo-folder-mark-as-answered): Ditto.
4422
4423         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4424         (elmo-map-folder-unmark-answered): Ditto.
4425
4426         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4427
4428         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4429         (elmo-folder-mark-as-important): Ditto.
4430         (elmo-folder-unmark-read): Ditto.
4431         (elmo-folder-mark-as-read): Ditto.
4432         (elmo-folder-unmark-answered): Ditto.
4433         (elmo-folder-mark-as-answered): Ditto.
4434
4435         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4436         `mark'; evaluate mark condition.
4437         (elmo-msgdb-match-condition-internal): New function.
4438         (elmo-msgdb-match-condition): Call it; changed argument.
4439
4440         * elmo.el (elmo-folder-search): Follow the API change on
4441         `elmo-msgdb-match-condition'.
4442
4443 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4444
4445         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4446         original mark is non-nil.
4447
4448 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4449
4450         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4451         (elmo-map-folder-list-answereds): New method.
4452         (elmo-folder-list-unreads): Add :around qualifier.
4453         (elmo-folder-list-importants): Ditto.
4454         (elmo-folder-list-answereds): Ditto.
4455
4456 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4457
4458         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4459
4460         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4461         method if msgdb is not required.
4462         (elmo-filter-folder-list-importants): Don't treat global-mark.
4463
4464         * elmo.el (elmo-folder-list-importants): Ditto.
4465
4466         * elmo-net.el (elmo-folder-list-importants): Ditto.
4467
4468         * elmo-map.el (elmo-folder-list-importants): Ditto.
4469
4470         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4471
4472         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4473         (elmo-imap4-folder-list-any-plugged): New function.
4474         (elmo-imap4-search-internal-primitive): Use it.
4475
4476         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4477         only when require-msgdb slot is non-nil.
4478         (elmo-folder-close): Clear target folder's msgdb.
4479
4480 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4481
4482         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4483         (elmo-pop3-msgdb-create-by-header): Ditto.
4484         (elmo-pop3-msgdb-create-message): Ditto.
4485
4486         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4487
4488         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4489
4490         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4491
4492         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4493         (elmo-folder-msgdb-create): Ditto.
4494         (elmo-nntp-folder-msgdb-create): Ditto.
4495         (elmo-nntp-msgdb-create-by-header): Ditto.
4496         (elmo-nntp-msgdb-create-message): Ditto.
4497         (elmo-folder-list-unreads): Define.
4498
4499         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4500         (elmo-folder-append-messages): Ditto.
4501         (elmo-folder-list-unreads): Define.
4502         (elmo-folder-list-importants): Ditto.
4503         (elmo-folder-list-answereds): Ditto.
4504
4505         * elmo-net.el (elmo-folder-list-unreads): Define.
4506         (elmo-folder-list-importants): Ditto.
4507         (elmo-folder-list-answereds): Ditto.
4508         (elmo-folder-list-answereds-plugged): Ditto.
4509         (elmo-folder-msgdb-create): Follow the API change.
4510         (elmo-folder-msgdb-create-unplugged): Ditto.
4511         (elmo-folder-unmark-answered): Define.
4512         (elmo-folder-mark-as-answered-unplugged): Ditto.
4513         (elmo-folder-unmark-answered-unplugged): Ditto.
4514
4515         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4516         (elmo-msgdb-unread-uncached-mark): Ditto.
4517         (elmo-msgdb-unread-cached-mark): Ditto.
4518         (elmo-msgdb-read-uncached-mark): Ditto.
4519         (elmo-msgdb-answered-cached-mark): Ditto.
4520         (elmo-msgdb-answered-uncached-mark): Ditto.
4521         (elmo-msgdb-important-mark): Ditto.
4522         (elmo-msgdb-set-mark): Rewrite.
4523         (elmo-msgdb-count-marks): Rewrite.
4524         (elmo-msgdb-mark-alist-set): Abolish.
4525         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4526         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4527
4528         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4529         (elmo-folder-close): Define.
4530         (elmo-folder-msgdb-create): Follow the API change.
4531         (elmo-folder-list-unreads): Rewrite.
4532         (elmo-folder-mark-as-important): Ditto.
4533         (elmo-folder-unmark-important): Ditto.
4534         (elmo-folder-mark-as-read): Ditto.
4535         (elmo-folder-unmark-read): Ditto.
4536         (elmo-folder-mark-as-answered): Define.
4537         (elmo-folder-unmark-answered): Ditto.
4538
4539         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4540         (elmo-folder-append-messages): Ditto.
4541
4542         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4543
4544         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4545         (elmo-folder-list-importants): Ditto.
4546
4547         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4548         (elmo-folder-append-messages): Ditto.
4549
4550         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4551         change.
4552         (elmo-folder-msgdb-create-plugged): Ditto.
4553         (elmo-folder-append-messages): Ditto.
4554         (elmo-folder-list-answereds-plugged): Define.
4555         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4556         (elmo-folder-unmark-answered-plugged): Define.
4557         (elmo-folder-mark-as-answered-plugged): Ditto.
4558         (elmo-folder-search-requires-msgdb-p): Ditto.
4559
4560         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4561         (elmo-folder-initialize): Set it.
4562         (elmo-folder-msgdb): Define.
4563         (elmo-folder-check): Call elmo-folder-synchronize.
4564         (elmo-folder-close): Define.
4565         (elmo-folder-commit): Ditto.
4566         (elmo-folder-msgdb-create): Rewrite.
4567         (elmo-folder-list-unreads): Ditto.
4568         (elmo-folder-list-importants): Ditto.
4569         (elmo-folder-mark-as-read): Ditto.
4570         (elmo-folder-unmark-read): Ditto.
4571         (elmo-folder-mark-as-important): Ditto.
4572         (elmo-folder-unmark-important): Ditto.
4573         (elmo-folder-mark-as-answered): Define.
4574         (elmo-folder-unmark-answered): Ditto.
4575
4576         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4577         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4578         (elmo-dop-queue-method-name-alist): Likewise.
4579         (elmo-folder-mark-as-answered-dop): New inline function.
4580         (elmo-folder-unmark-answered-dop): Ditto.
4581         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4582
4583         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4584         (elmo-folder-msgdb-create): Ditto.
4585         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4586         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4587         (elmo-archive-parse-mmdf): Ditto.
4588
4589         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4590         (elmo-folder-list-unreads-internal): Ditto.
4591
4592         * elmo.el (elmo-folder-msgdb): Define as generic function.
4593         (elmo-folder-list-messages): Added argument `in-msgdb'.
4594         (elmo-folder-list-unreads): Define as generic function.
4595         (elmo-folder-list-importants): Ditto.
4596         (elmo-folder-list-answereds): Ditto.
4597         (elmo-folder-list-messages-with-global-mark): New function.
4598         (elmo-folder-msgdb-create): Removed mark arguments.
4599         (elmo-folder-unmark-answered): New generic function.
4600         (elmo-folder-mark-as-answered): Ditto.
4601         (elmo-folder-append-messages): Removed argunment `unread-marks'
4602         (elmo-folder-list-unreads-internal): Abolish.
4603         (elmo-folder-list-importants-internal): Ditto.
4604         (elmo-folder-search-requires-msgdb-p): New generic function.
4605         (elmo-folder-search-requires-msgdb-p-internal): New function.
4606         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4607         elmo-msgdb-load.
4608         (elmo-folder-search-fast): Added key 'mark'.
4609         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4610         instead of unread-marks argument.
4611         (elmo-folder-move-messages): Removed argunment `unread-marks'
4612         (elmo-folder-unmark-important): Define.
4613         (elmo-folder-mark-as-important): Ditto.
4614         (elmo-folder-unmark-read): Ditto.
4615         (elmo-folder-mark-as-read): Ditto.
4616         (elmo-folder-unmark-answered): Ditto.
4617         (elmo-folder-mark-as-answered): Ditto.
4618         (elmo-folder-replace-marks): Abolish.
4619         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4620         duplicates.
4621         (elmo-folder-synchronize): Removed mark arguments;
4622         return crosspost only number.
4623
4624 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4625
4626         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4627         Remove redundunt connectivity check.
4628
4629 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4630
4631         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4632         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4633
4634 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4635
4636         * pldap.el (ldap-decode-string): Return string as-is if
4637         `ldap-coding-system' is nil.
4638         (ldap-encode-string): Ditto.
4639         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4640         (ldap-default-host): Fixed docstring.
4641
4642 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4643
4644         * elmo-util.el (elmo-warning): Define as a macro which uses
4645         `display-warning' if it is defined as a function.
4646
4647         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4648         (elmo-split-equal): Use it.
4649         (elmo-split-match): Ditto.
4650         (elmo-split-message-entity): New buffer-local variable.
4651         (elmo-split-subr): Set it.
4652
4653         * elmo-version.el (elmo-version): Up to 2.9.15.
4654
4655 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4656
4657         * elmo-imap4.el (elmo-network-initialize-session):
4658         Check capability after starttls.
4659
4660 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4661
4662         * elmo-util.el (elmo-list-delete): Added optional argument
4663         DELETE-FUNCTION.
4664
4665         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4666
4667         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4668
4669         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4670
4671         * elmo-imap4.el (elmo-folder-initialize): Don't use
4672         elmo-imap4-default-mailbox.
4673
4674 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4675
4676         * elmo-split.el (toplevel): Use `product-provide'.
4677         (elmo-split): Checkdoc.
4678
4679 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4680
4681         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4682         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4683         the function `elmo-imap4-debug-1'.
4684
4685 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4686
4687         * elmo-split.el (elmo-split): Moved to run hooks and to show
4688         message from elmo-split-subr.
4689         (elmo-split-subr): Follow the change above.
4690
4691         * elmo-split.el (elmo-split-subr): New function (renamed from
4692         elmo-split-subr).
4693         (elmo-split): Changed to call elmo-split-subr by element of
4694         elmo-split-folder.
4695         (elmo-split-folder): Changed customization type to choice.
4696
4697 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4698
4699         * elmo-split.el (elmo-split-and): Fixed condition.
4700
4701 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4702
4703         * elmo-split.el: New file.
4704         (elmo-split): Fixed logic.
4705         Display "Test:" instead of "Folder:" when reharsal.
4706
4707         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4708         explicitly.
4709
4710         * elmo-version.el (elmo-version): Up to 2.9.14.
4711
4712         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4713         wl-expand-newtext).
4714
4715 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4716
4717         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4718         message with no message-id field.
4719
4720 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4721
4722         * elmo-version.el (elmo-version): Up to 2.9.13.
4723
4724         * elmo-dop.el (elmo-folder-status-dop): Fix.
4725
4726 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4727
4728         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4729
4730         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4731         changing default value of default-mime-charset.
4732         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4733
4734         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4735
4736         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4737         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4738         instead of elmo-dop-queue-method-name-alist to check merging queue.
4739         (elmo-folder-delete-messages-dop): Delete from queue if negative
4740         message number.
4741         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4742         file is already removed.
4743
4744 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4745
4746         * elmo-vars.el: Bind colon keywords for old Emacsen.
4747
4748 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4749
4750         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4751         against non-exsisting charset.
4752
4753 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4754
4755         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4756         Use eword-decode-and-unfold-unstructured-field-body.
4757
4758         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4759         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4760         exists to decode raw subject string.
4761         (toplevel): Require 'mime.
4762
4763         * elmo-version.el (elmo-version): Up to 2.9.12.
4764
4765 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4766
4767         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4768         (elmo-msgdb-set-mark): Ditto.
4769
4770         * elmo-version.el (elmo-version): Up to 2.9.11.
4771
4772 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4773
4774         * elmo-util.el (elmo-delete-match-files): New function.
4775
4776         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4777         instead of elmo-delete-directory.
4778
4779         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4780         elmo-hash-minimun-size as 63.
4781
4782         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4783         elmo-diff-unread is nil.
4784
4785         * elmo-imap4.el (elmo-folder-open): Fix.
4786
4787         * elmo.el (elmo-message-mark): Rewrite.
4788         (elmo-message-field): Ditto.
4789         (elmo-message-set-mark): Ditto.
4790         (elmo-folder-replace-marks): New function.
4791         (elmo-generic-folder-append-msgdb): Removed third argument for
4792         elmo-msgdb-append.
4793         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4794         (elmo-msgdb-load): New implementation.
4795
4796         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4797
4798         * elmo-util.el (elmo-list-insert): New implementation.
4799
4800         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4801         argument for elmo-msgdb-append.
4802         
4803
4804         * elmo-msgdb.el (elmo-load-msgdb): New function.
4805         (elmo-make-msgdb): Ditto.
4806         (elmo-msgdb-get-index): New inline function.
4807         (elmo-msgdb-set-index): Ditto.
4808         (elmo-msgdb-get-entity-hashtb): Ditto.
4809         (elmo-msgdb-get-mark-hashtb): Ditto.
4810         (elmo-msgdb-get-mark): Ditto.
4811         (elmo-msgdb-set-mark): Ditto.
4812         (elmo-msgdb-count-marks): Ditto.
4813         (elmo-msgdb-get-number): Ditto.
4814         (elmo-msgdb-get-field): Ditto.
4815         (elmo-msgdb-seen-list): Ditto.
4816         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4817         (elmo-msgdb-delete-msgs): Follow the changes above.
4818         (elmo-msgdb-overview-get-entity): Ditto.
4819         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4820         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4821         and rewritten.
4822         (elmo-msgdb-make-index): Likewise.
4823         (elmo-msgdb-append): Removed third argument.
4824         (elmo-msgdb-clear): Clear index as nil.
4825         (elmo-folder-set-info-hashtb): Removed.
4826         (elmo-folder-set-info-max-by-numdb): Ditto.
4827         (elmo-folder-info-make-hashtb): Ditto.
4828
4829         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4830
4831         * elmo-map.el (elmo-folder-pack-number): Ditto.
4832
4833 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4834
4835         * elmo-version.el (elmo-version): Up to 2.9.10.
4836
4837         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4838
4839         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4840
4841 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4842
4843         * elmo-utils.el (elmo-make-directory): Add option.
4844         Default file mode is 700.
4845
4846 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4847
4848         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4849
4850 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4851
4852         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4853         mime-charset.
4854
4855         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4856         and "smaller".
4857
4858 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4859
4860         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4861         (elmo-shimbun-folder-entity-hash): New function.
4862         (elmo-shimbun-folder-shimbun-header): Ditto.
4863         (elmo-shimbun-entity-to-header): Ditto.
4864         (elmo-shimbun-msgdb-to-headers): Removed.
4865         (elmo-shimbun-folder-setup): Ditto.
4866         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4867         for hash key.
4868         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4869         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4870         Removed useless local bind.
4871         (elmo-folder-open-internal): Don't call
4872         `elmo-shimbun-folder-setup'.
4873         (elmo-folder-close-internal): Clear entity-hash slot.
4874         (elmo-folder-clear): Ditto.
4875         (elmo-shimbun-msgdb-create-entity): Use
4876         `elmo-shimbun-folder-shimbun-header'.
4877         (elmo-map-message-fetch): Ditto.
4878         (elmo-shimbun-update-overview): Use overview entity instead of
4879         shimbun header to lookup id by references.
4880         (elmo-map-folder-list-message-locations): Use not only headers but
4881         also overviews to list locations.
4882
4883 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4884
4885         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4886         msgdb path.
4887
4888         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4889
4890 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4891
4892         * elmo-util.el (elmo-read-search-condition-internal): Give default
4893         value for date.
4894
4895 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4896
4897         * elmo-util.el (elmo-condition-parse-search-value): Accept
4898         YYYY-MM-DD format to search.
4899         * elmo-date.el (elmo-date-get-datevec): Likewise.
4900
4901 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4902
4903         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4904         debugging code.
4905
4906 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4907
4908         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4909         from t.
4910
4911         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4912
4913         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4914         case from `elmo-folder-exists-p'.
4915         (elmo-folder-exists-p): Removed.
4916         (elmo-folder-creatable-p) Ditto.
4917
4918         * elmo-net.el (elmo-folder-create): Defined.
4919         (elmo-folder-create-unplugged): New function.
4920         (elmo-folder-exists-p): Changed default value to nil from t.
4921
4922         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4923         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4924
4925         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4926         `elmo-create-folder-dop' and append queue
4927         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4928         (elmo-folder-create-dop-delayed): New function.
4929
4930         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4931
4932         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4933
4934         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4935         (elmo-folder-writable-p) : Ditto.
4936
4937         * elmo-version.el (elmo-version): Up to 2.9.9.
4938
4939 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4940
4941         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4942         `elmo-message-use-cache-p' returns nil.
4943         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4944         (ignore cache file and refer the substance in local folders)
4945
4946 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4947
4948         * elmo-version.el (elmo-version): Up to 2.9.8.
4949
4950 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4951
4952         * elmo-version.el (elmo-version): Up to 2.9.7.
4953
4954         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4955
4956 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4957
4958         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4959
4960 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4961
4962         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4963         from --early.
4964         (elmo-map-folder-list-message-locations): Reverse location list.
4965
4966 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4967
4968         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4969
4970 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4971
4972         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4973         as a key.
4974         (elmo-nntp-folder-list-subfolders): Follow the change above.
4975
4976 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4977
4978         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4979         name if authentication type is specified.
4980
4981 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4982
4983         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4984         variable.
4985         (elmo-default-nntp-stream-type): Ditto.
4986         (elmo-default-pop3-stream-type): Ditto.
4987
4988 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4989
4990         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4991
4992 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4993
4994         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4995         elmo-vars.el.
4996         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4997
4998         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4999         (elmo-maildir-folder-path): Ditto.
5000         (elmo-maildir-list): Ditto (abolished).
5001
5002 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5003
5004         * elmo-version.el (elmo-version): Up to 2.9.6.
5005
5006 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5007
5008         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5009         (elmo-maildir-folder-path): Ditto.
5010         (elmo-msgdb-directory): Ditto.
5011         (elmo-passwd-life-time): Ditto.
5012         (elmo-msgdb-extra-fields): Ditto.
5013         (elmo-enable-disconnected-operation): Ditto.
5014
5015 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5016
5017         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5018         other choices.
5019         (elmo-pop3-default-authenticate-type): Ditto.
5020
5021 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5022
5023         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5024         choices for custom.
5025         (elmo-pop3-default-authenticate-type): Ditto.
5026
5027 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5028
5029         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5030         mailbox to new-folder.
5031
5032 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5033
5034         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5035         less than new, set new as unread.
5036
5037         * elmo-util.el (elmo-string): Don't put text-property if nil.
5038
5039 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5040
5041         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5042         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5043
5044 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5045
5046         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5047         is nil on `completing-read'.
5048
5049 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5050
5051         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5052         for namespace part.
5053         (elmo-imap4-parse-namespace-subr): Ditto.
5054         (elmo-folder-list-subfolders): Append a delimiter when the specified
5055         folder path is a root with namespace and does not end with delimiter.
5056
5057 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5058
5059         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5060         was used.
5061
5062 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5063
5064         * elmo-util.el (elmo-save-buffer): The first argument of message
5065         is a format control string.
5066
5067 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5068
5069         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5070         `elmo-folder-diff').
5071         (elmo-diff-unread): Likewise.
5072
5073 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5074
5075         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5076         is t on `completing-read'.
5077
5078 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5079
5080         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5081         method of target folder with self mark-alist if MARK-ALIST is nil.
5082
5083 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5084
5085         * elmo-version.el (elmo-version): Up to 2.9.5.
5086
5087 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5088
5089         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5090         (elmo-dop-merge-funcs): Remove.
5091
5092 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5093
5094         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5095         Return t if PATH is directory, too.
5096         Use `dolist' instead of while loop.
5097
5098 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5099
5100         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5101         is deleted.
5102
5103 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5104
5105         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5106         return value to t.
5107         (elmo-folder-list-messages-unplugged): Return t if
5108         elmo-enable-disconnected-operation is nil.
5109
5110         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5111         `elmo-folder-list-messages-internal'.
5112
5113 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5114
5115         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5116         Change to looking-at `[23][0-9]+'.
5117         (elmo-network-initialize-session): Use 'error-msg'
5118         * elmo-net.el (elmo-network-open-session): Set unplugged
5119         if elmo-network-initialize-session returns 'elmo-open-err.
5120
5121 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5122
5123         * elmo-version.el (elmo-version): Up to 2.9.4.
5124
5125 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5126
5127         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5128         `elmo-folder-list-messages-internal'.
5129
5130 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5131
5132         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5133         (elmo-message-match-condition): New method.
5134         (elmo-folder-search-fast): New inline function.
5135         (elmo-msgdb-search): Removed.
5136
5137         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5138         target folder if it is unplugged.
5139         (elmo-folder-list-messages-internal): Return t if target folder is
5140         unplugged and itself is persistent; In this case, use list be
5141         searched already.
5142
5143         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5144         (elmo-msgdb-search-internal-primitive): Ditto.
5145         (elmo-msgdb-match-condition): New function.
5146         (elmo-msgdb-match-condition-primitive): Ditto.
5147
5148         * elmo-util.el (elmo-filter-condition-p): New macro.
5149
5150         * elmo-cache.el (elmo-folder-search): Removed.
5151
5152         * elmo-localdir.el (elmo-folder-search): Ditto.
5153
5154         * elmo-maildir.el (elmo-folder-search): Ditto.
5155
5156         * elmo-mark.el (elmo-folder-search): Ditto.
5157
5158         * elmo-nmz.el (elmo-folder-search): Ditto.
5159
5160         * elmo-sendlog.el (elmo-folder-search): Ditto.
5161
5162         * elmo-shimbun.el (elmo-folder-search): Ditto.
5163
5164         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5165         if folder is unplugged.
5166
5167         * elmo-nntp.el (elmo-folder-search): Likewise.
5168         (elmo-nntp-search-internal): New function.
5169
5170         * elmo-version.el (elmo-version): Up to 2.9.3.
5171
5172 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5173
5174         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5175
5176 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5177
5178         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5179
5180 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5181
5182         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5183
5184 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5185
5186         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5187         (elmo-map-folder-list-message-locations): Do drive letter conversion
5188         on Windows environment.
5189         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5190         (elmo-map-message-fetch): Ditto.
5191
5192 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5193
5194         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5195         (elmo-network-initialize-session): Ditto.
5196
5197 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5198
5199         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5200
5201         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5202
5203         * elmo-util.el (elmo-progress-clear): Ditto.
5204
5205         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5206         `DD-Mon-YYYY' type date.
5207
5208 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5209
5210         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5211         `elmo-date-make-sortable-string' instead of
5212         `timezone-make-date-sortable'.
5213
5214         * elmo-date.el (elmo-date-make-sortable-string): Use
5215         `timezone-make-time-string'.
5216
5217 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5218
5219         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5220
5221         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5222         `since'; Fix timezone.
5223
5224         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5225
5226         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5227
5228 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5229
5230         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5231
5232 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5233
5234         * elmo.el (elmo-generic-folder-append-messages): Make
5235         fetch-strategy with `use-cache' as 'maybe. Check return value of
5236         `elmo-message-fetch'.
5237         (elmo-message-fetch): Return return value of
5238         `elmo-message-fetch-with-cache-process'.
5239         (elmo-message-fetch-with-cache-process): Return non-nil if
5240         fetching was succeed. Load cache when fetching was failed and
5241         fetch-strategy-use-cache is 'maybe.
5242
5243         * elmo-util.el (elmo-file-cache-load): New function.
5244
5245         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5246         defun.
5247
5248         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5249         non-nil if fetching was succeed.
5250
5251         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5252
5253         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5254
5255         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5256         (elmo-message-fetch-with-cache-process): Likwise.
5257
5258         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5259
5260         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5261
5262         * elmo-version.el (elmo-version): Up to 2.9.2.
5263
5264 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5265
5266         * elmo.el (elmo-folder-delete): Delete msgdb path.
5267
5268         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5269
5270         * elmo-maildir.el (elmo-folder-delete): Ditto.
5271
5272         * elmo-localdir.el (elmo-folder-delete): Ditto.
5273
5274         * elmo-imap4.el (elmo-folder-delete): Ditto.
5275
5276 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5277
5278         * elmo.el (luna-define-class): Added `biff' slot.
5279
5280         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5281         (elmo-pop3-debug-inhibit-logging): Abolished.
5282         (elmo-network-close-session): Eliminated needless let.
5283         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5284         (elmo-pop3-send-command): Added `no-log' argument.
5285         (elmo-pop3-process-filter): Use `with-current-buffer'.
5286         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5287         if login failure.
5288         (elmo-pop3-auth-apop): Likewise.
5289         (elmo-network-authenticate-session): Likewise.
5290
5291         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5292         if biff folder.
5293
5294         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5295         string to determine protocol.
5296         (elmo-network-session-name-prefix): Abolished.
5297         (elmo-network-session-cache-key): Follow the change above.
5298         (elmo-network-open-session): Ditto.
5299
5300         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5301         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5302
5303         * elmo-version.el (elmo-version): Up to 2.9.1.
5304
5305         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5306         unmatch condition checking.
5307
5308         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5309         condition.
5310
5311 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5312
5313         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5314
5315 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5316
5317         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5318         test for while loop to execute at least one SEARCH command.
5319
5320 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5321
5322         * elmo-version.el (elmo-version): Up to 2.9.0.
5323
5324 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5325
5326         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5327         (elmo-archive-folder-path): Define.
5328         (elmo-folder-initialize): Setup `dir-name' slot.
5329         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5330         Use `dir-name' as prefix of each subfolders.
5331         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5332
5333 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5334
5335         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5336         (elmo-pipe-folder-list-target-messages): New internal function.
5337         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5338         `killed-list'.
5339         (elmo-pipe-folder-copied-list-load): New function.
5340         (elmo-pipe-folder-copied-list-save): Ditto.
5341         (elmo-folder-open-internal): Follow the change above.
5342         (elmo-folder-status): Fixed for copy.
5343
5344 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5345
5346         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5347
5348 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5349
5350         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5351         elmo-copy-file instead of elmo-add-name-to-file.
5352
5353         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5354
5355         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5356         "file://..." index.
5357
5358         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5359         of accept-process-output as 1.
5360         (elmo-pop3-read-contents): Ditto.
5361         (elmo-pop3-read-body): Ditto.
5362
5363 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5364
5365         * elmo-version.el (product-version-as-string): Remove define.
5366
5367 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5368
5369         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5370         (elmo-imap4-copy-messages): Chop number set using
5371         `elmo-imap4-number-set-chop-length'.
5372         (elmo-imap4-set-flag): Ditto.
5373         (elmo-imap4-search-internal-primitive): Ditto.
5374
5375 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5376
5377         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5378         `elmo-folder-make-temp-dir'
5379
5380         * elmo-vars.el (elmo-cache-directory): New variable.
5381         (elmo-cache-dir): Abolished.
5382         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5383
5384         * elmo-version.el (elmo-version): Up to 2.7.7.
5385
5386 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5387
5388         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5389         defcustom; Set default value as t.
5390
5391 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5392
5393         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5394         (ldap-search-program-arguments): Changed default value.
5395         (ldap-search-basic): Accept exit status 4.
5396         (ldap/field-body): Parse options.
5397         (ldap/collect-field): Ditto.
5398         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5399
5400         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5401         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5402         (elmo-imap4-accept-ok): Ditto.
5403         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5404         'notify-bye, only BYE error is reported.
5405         (elmo-folder-exists-p-plugged): Set no-error argument of
5406         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5407
5408         * elmo.el (elmo-imap4-bye-error): Changed message.
5409
5410         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5411         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5412         queues (It causes infinite loop).
5413
5414 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5415
5416         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5417         (RECENT UNSEEN MESSAGES) extension.
5418
5419 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5420
5421         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5422         Check number of overview fields.
5423
5424 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5425
5426         * elmo.el (elmo-folder-confirm-appends): Changed message.
5427         (elmo-folder-confirm-appends): Ditto.
5428
5429         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5430         `with-temp-buffer'.
5431         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5432
5433 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5434
5435         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5436         of elmo-folder-update-threshold is nil, which can be set by
5437         wl-summary-update-confirm-threshold.
5438
5439 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5440
5441         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5442         (elmo-nmz-index-alias-alist): Ditto.
5443         (elmo-map-folder-list-message-locations): Follow the change above.
5444
5445 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5446
5447         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5448
5449         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5450
5451         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5452
5453         * elmo-util.el (elmo-read): Ditto.
5454         (elmo-display-error): Ditto.
5455
5456         * elmo-vars.el (elmo-date-match): Ditto.
5457
5458         * pldap.el (ldap-coding-system): Ditto.
5459
5460         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5461         `elmo-inhibit-number-mapping' as nil.
5462
5463 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5464
5465         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5466         space delimiter for list response.
5467
5468 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5469
5470         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5471
5472 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5473
5474         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5475         (elmo-map-message-fetch): Fix.
5476         * elmo-map.el (elmo-folder-status): Fix for killed.
5477
5478 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5479
5480         * elmo-sendlog.el: New file.
5481         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5482
5483 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5484
5485         * acap.el (acap-logging-out): New buffer local variable.
5486         (acap-close): Set it.
5487         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5488         an error.
5489
5490 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5491
5492         * acap.el (acap-response-bye-p): New function.
5493         (acap-response-bye-message): Ditto.
5494         (acap-wait-for-response): If bye response is received, cause an error.
5495         (acap-parse-response): Make bye response when 'Bye' is received.
5496
5497 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5498
5499         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5500
5501 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5502
5503         * elmo-util.el (elmo-copy-file): Added argument
5504         `ok-if-already-exists'.
5505         (elmo-copy-file): Fixed typo.
5506
5507 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5508
5509         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5510
5511 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5512
5513         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5514
5515 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5516
5517         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5518         to killed-list.
5519
5520 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5521
5522         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5523         (elmo-folder-initialize): Fix for `copy'.
5524         (elmo-pipe-drain): Ditto.
5525         (elmo-folder-open-internal): Ditto.
5526         (elmo-folder-newsgroups): Fix.
5527
5528 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5529
5530         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5531         for each message.
5532
5533         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5534         recent value is returned from imap folder.
5535
5536         * elmo.el (elmo-folder-newsgroups): New generic function.
5537
5538         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5539         (elmo-folder-initialize): Set it.
5540         (elmo-folder-expand-msgdb-path): Use it.
5541         (elmo-folder-newsgroups): Define.
5542
5543         * elmo-filter.el (elmo-folder-newsgroups): Define.
5544
5545         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5546
5547         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5548
5549         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5550
5551 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5552
5553         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5554         user option.
5555         (elmo-shimbun-header-extra-field): New inline function.
5556         (elmo-shimbun-header-set-extra-field): Ditto.
5557         (elmo-shimbun-folder-header-hash-setup): Ditto.
5558         (elmo-shimbun-update-overview): Ditto.
5559         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5560         (elmo-shimbun-folder-setup): Use
5561         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5562         (elmo-shimbun-get-headers): Ditto.
5563         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5564         Insert `X-Shimbun-Id:' header if extra field is set.
5565         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5566         field's value instead of `shimbun-header-id'.
5567
5568         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5569         inline function.
5570         (elmo-msgdb-overview-entity-set-date): Ditto.
5571         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5572
5573 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5574
5575         * mmimap.el (mmimap-entity-section): Changed body node number from
5576         "0" to "1".
5577
5578 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5579
5580         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5581         `elmo-folder-delete-messages'.
5582
5583         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5584         (elmo-folder-initialize): Changed to expand alias into index path.
5585
5586         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5587         `elmo-mime-insert-header-from-buffer' with 6th arg
5588         `sorted-fields'.
5589
5590 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5591
5592         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5593
5594         * elmo.el (elmo-diff-new): New inline function.
5595         (elmo-diff-unread): Ditto.
5596         (elmo-diff-all): Ditto.
5597
5598         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5599         value from responseb.
5600         (elmo-imap4-folder-diff-plugged): Ditto.
5601         (elmo-imap4-server-diff-async): Added recent argument.
5602         (elmo-server-diff-async): Ditto.
5603         (elmo-imap4-folder-diff-plugged): Ditto.
5604
5605         * elmo-version.el (elmo-version): Up to 2.7.6.
5606
5607 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5608
5609         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5610         in quoted-stirng.
5611
5612 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5613
5614         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5615
5616         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5617
5618         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5619
5620         * elmo-multi.el (elmo-folder-initialize): Ditto.
5621
5622         * elmo-util.el (elmo-parse-token): New function.
5623         (elmo-parse-prefixed-element): Ditto.
5624
5625 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5626
5627         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5628         delete process.
5629         (elmo-imap4-accept-ok): Ditto.
5630
5631 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5632
5633         * mmimap.el (mime-imap-entity-header-string): Don't check first
5634         element of node-id is `0' (Follow last change).
5635
5636 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5637
5638         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5639         assigned irregular node-id to nested multipart section.
5640         (initialize-instance): Followed above change.
5641
5642 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5643
5644         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5645         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5646         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5647         `elmo-shimbun-get-headers');
5648         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5649         visible article on summary exists in headers).
5650         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5651
5652 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5653
5654         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5655         definition.
5656
5657 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5658
5659         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5660
5661 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5662
5663         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5664         header separator into loop condition.
5665
5666 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5667
5668         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5669         Return duplicate folder if it has subfolder.
5670
5671 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5672
5673         * elmo.el (elmo-make-folder): Add folder name error check.
5674
5675         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5676         (elmo-nntp-encode-group-string): New inline function.
5677         (elmo-nntp-decode-group-string): Ditto.
5678         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5679         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5680         Use `not' instead of `null';
5681         Use elmo-nntp-decode-group-string.
5682
5683         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5684
5685         * elmo-version.el (elmo-version): Up to 2.7.5.
5686
5687 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5688
5689         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5690         Hide progress gauge if `elmo-folder-move-messages' exits
5691         nonlocally.
5692
5693 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5694
5695         * elmo-imap4.el (elmo-folder-initialize): Use
5696         `elmo-imap4-encode-folder-string' for folder name.
5697
5698 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5699
5700         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5701         `done'.
5702
5703 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5704
5705         * elmo-util.el (elmo-progress-counter-alist): New internal
5706         variable.
5707         (elmo-progress-counter-value): New macro.
5708         (elmo-progress-counter-all-value): Ditto.
5709         (elmo-progress-counter-format): Ditto.
5710         (elmo-progress-counter-set-value): Ditto.
5711         (elmo-progress-set): New function.
5712         (elmo-progress-clear): Ditto.
5713         (elmo-progress-notify): Ditto.
5714
5715         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5716         counter.
5717
5718         * elmo.el (elmo-generic-folder-append-messages): Call
5719         `elmo-progress-notify'.
5720         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5721
5722         * elmo-archive.el (elmo-folder-append-messages): Call
5723         `elmo-progress-notify'.
5724
5725         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5726
5727         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5728
5729         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5730
5731 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5732
5733         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5734         'Create'.
5735         (elmo-message-encache-dop): Added argument `read'.
5736
5737         * elmo-shimbun.el (elmo-message-encache): Ditto.
5738
5739         * elmo-net.el (elmo-message-encache): Ditto.
5740
5741         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5742         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5743         elmo-imap4-seen-messages.
5744         (elmo-folder-msgdb-create-plugged): Initialize
5745         elmo-imap4-seen-messages;
5746         Set seen mark on elmo-imap4-seen-messages.
5747
5748         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5749
5750         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5751         elmo-folder-append-buffer.
5752         (elmo-folder-encache): Added optional argument `read'.
5753         (elmo-message-encache): Ditto.
5754
5755         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5756
5757         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5758
5759         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5760         if append buffer content succeds.
5761
5762 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5763
5764         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5765         elmo-display-progress.
5766
5767         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5768         Set 4th argument of mime-display-message.
5769         (elmo-mime-display-as-is): Ditto.
5770
5771 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5772
5773         * elmo-nmz.el (toplevel): Require 'mime-edit.
5774         (elmo-nmz-content-type-alist): Abolished.
5775         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5776         content is not a message.
5777         (elmo-map-message-fetch): Changed behavior exept for message content;
5778         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5779         content-type, Add From: and Subject: field.
5780
5781 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5782
5783         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5784         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5785         not a message.
5786
5787 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5788
5789         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5790         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5791
5792         * elmo-archive.el (elmo-folder-writable-p): Defined.
5793
5794         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5795
5796         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5797
5798         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5799
5800         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5801
5802         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5803
5804         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5805
5806         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5807
5808         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5809
5810 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5811
5812         * elmo-util.el (elmo-address-quote-specials): New function;
5813         Renamed from `wl-address-quote-specials'.
5814
5815 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5816
5817         * elmo-version.el (elmo-version): Up to 2.7.4.
5818
5819 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5820
5821         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5822
5823 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5824
5825         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5826         both compile-time and run-time to avoid byte-compile warning.
5827
5828 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5829
5830         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5831
5832 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5833
5834         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5835         option.
5836         (elmo-mime-display-as-is-internal): Use it.
5837
5838         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5839         if `read-passwd' is not defined.
5840
5841 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5842
5843         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5844         by original number.
5845         (elmo-folder-status): Call `elmo-folder-open-internal';
5846         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5847         (elmo-folder-close-internal): Set location-alist as nil.
5848         (elmo-folder-clear): Define.
5849         (elmo-folder-check): Don't set location-alist as nil.
5850
5851         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5852
5853 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5854
5855         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5856         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5857
5858         * mmimap.el (mime-imap-entity::requested): New slot.
5859         (mime-imap-location-fetch-entity-p): New generic function.
5860         (mime-decode-parameters): Define using `defun-maybe'.
5861         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5862         content-type structure.
5863         (mime-entity-body): Return empty body if
5864         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5865
5866         * elmo.el (elmo-message-displaying): New variable.
5867
5868         * elmo-mime.el (elmo-mime-message-display): Bind
5869         elmo-message-displaying as t.
5870
5871         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5872
5873 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5874
5875         * acap.el (acap-open): erase buffer before starting network process.
5876         (acap-store): Rewrite.
5877
5878 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5879
5880         * elmo-imap4.el (elmo-imap4-default-mailbox,
5881         elmo-imap4-default-server
5882         elmo-imap4-default-authenticate-type,
5883         elmo-imap4-default-user,
5884         elmo-imap4-default-port,
5885         elmo-imap4-default-stream-type,
5886         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5887
5888         * elmo-pop3.el (elmo-pop3-default-user,
5889         elmo-pop3-default-server,
5890         elmo-pop3-default-authenticate-type,
5891         elmo-pop3-default-port,
5892         elmo-pop3-default-stream-type,
5893         elmo-pop3-stream-type-alist): Ditto.
5894
5895         * elmo-nntp.el (elmo-nntp-default-server,
5896         elmo-nntp-default-user,
5897         elmo-nntp-default-port,
5898         elmo-nntp-default-stream-type,
5899         elmo-nntp-stream-type-alist): Ditto.
5900
5901         * elmo-vars.el: Follow changes above.
5902         (elmo-setting): New custom group; added 'elmo-setting group to
5903         above variables.
5904
5905         * elmo-version.el (elmo-version): Up to 2.7.3.
5906
5907         * acap.el (acap-parse-response): Don't delete process when BYE
5908         response (It causes hang-up on slow network environment).
5909         (toplevel): Added comment.
5910
5911 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5912
5913         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5914
5915         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5916         parsing NIL.
5917         (acap-parse-return-metadata): Ditto.
5918
5919         * slp.el: New file.
5920         (toplevel): Fixed typo.
5921
5922         * acap.el: New file.
5923         (acap-network-stream-open): Show "Connecting..." message.
5924         (acap-parse-response): Fixed problem for BYE untagged response.
5925         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5926         (toplevel): Added tiny comments.
5927
5928 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5929
5930         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5931         space delimiter for uidl response.
5932
5933 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5934
5935         * elmo-vars.el (elmo-use-semi): Eliminated.
5936
5937         * elmo-util.el (elmo-string-assoc-all): New function.
5938
5939 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5940
5941         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5942         property 'mime-preview-situation for `mime-preview-quit'.
5943
5944 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5945
5946         * elmo.el (elmo-message-fetch-with-cache-process): Call
5947         elmo-message-fetch-internal instead of causing an error when fetch
5948         strategy is 'entire but only 'section cache is available.
5949
5950 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5951
5952         * elmo-version.el (elmo-version): Up to 2.7.2.
5953
5954         * elmo.el (elmo-generic-folder-append-messages): Make
5955         fetch-strategy with `use-cache'.
5956
5957         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5958         (elmo-dop-queue-method-name): New macro.
5959
5960 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5961
5962         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5963         unbalanced parenthesis.
5964
5965 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5966
5967         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5968
5969 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5970
5971         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5972         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5973
5974 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5975
5976         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5977         local variables.
5978
5979 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5980
5981         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5982         (elmo-message-use-cache-p): Define.
5983         (elmo-folder-msgdb-create): Treat cache.
5984
5985 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5986
5987         * elmo-nntp.el (elmo-network-initialize-session): Call
5988         `elmo-nntp-send-mode-reader'.
5989         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5990
5991 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5992
5993         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5994         alist.
5995         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5996         assoc.
5997
5998         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5999         for `elmo-plugged-p'.
6000         (elmo-open-network-stream): Fixed stream-type argument.
6001
6002 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6003
6004         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6005         unknown archive type is specified.
6006
6007 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6008
6009         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6010
6011         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6012         while loading msgdb.
6013
6014         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6015         (elmo-folder-open-internal): Rewrite.
6016
6017 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6018
6019         * elmo-mime.el (elmo-mime-display-as-is-internal):
6020         Adjust buffer-multibyte status.
6021
6022 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6023
6024         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6025         of elmo-condition-find-key.
6026
6027         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6028         (elmo-condition-in-msgdb-p): Ditto.
6029         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6030         argument.
6031
6032 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6033
6034         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6035
6036 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6037
6038         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6039         label for elmo-display-progress.
6040
6041 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6042
6043         * elmo.el (elmo-folder-clear): New method.
6044         (elmo-folder-clear): Define.
6045         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6046
6047         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6048         (elmo-folder-clear): Define.
6049
6050         * elmo-map.el (elmo-folder-clear): Define.
6051
6052         * elmo-version.el (elmo-version): Up to 2.7.1.
6053
6054 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6055
6056         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6057         updates.
6058
6059 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6060
6061         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6062         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6063
6064 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6065
6066         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6067
6068         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6069         and re-written.
6070
6071         * elmo-imap4.el (elmo-folder-initialize): Use
6072         elmo-get-network-stream-type.
6073
6074         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6075
6076         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6077
6078 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6079
6080         * elmo.el (elmo-message-encache): Set unread argument for
6081         elmo-message-fetch.
6082
6083         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6084
6085         * elmo.el (elmo-net-port-info): New method.
6086
6087         * elmo-shimbun.el (elmo-net-port-info): Define.
6088         (elmo-message-encache): Ditto.
6089
6090         * elmo-net.el (elmo-net-port-info): Define as method.
6091
6092         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6093         unplugged status when elmo-enable-disconnected-operation is t.
6094
6095         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6096         of spool folder before checking new number.
6097
6098 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6099
6100         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6101         (elmo-network-setup-session): Ditto.
6102         (elmo-message-fetch-plugged): Ditto.
6103         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6104         (elmo-network-initialize-session): Ditto.
6105         (elmo-pop3-read-response): Abolish 3rd argument.
6106         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6107         (elmo-pop3-read-contents): Ditto.
6108         (elmo-pop3-read-body): Ditto.
6109         (elmo-folder-status): Call elmo-folder-close.
6110         (elmo-pop3-lock): Abolish.
6111         (elmo-pop3-unlock): Ditto.
6112         (elmo-pop3-locked-p): Ditto.
6113         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6114
6115 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6116
6117         * elmo-version.el (elmo-version): Up to 2.7.0.
6118
6119         * elmo-pop3.el (elmo-pop3-debug): New variable.
6120         (elmo-pop3-debug-inhibit-logging): Ditto.
6121         (elmo-pop3-debug): New function.
6122         (elmo-pop3-send-command): Call elmo-pop3-debug.
6123         (elmo-pop3-read-response): Added keep-lock optional argument;
6124         Don't unlock if keep-lock is non-nil.
6125         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6126         (elmo-network-authenticate-session): Bind
6127         elmo-pop3-debug-inhibit-logging as t.
6128         (elmo-network-setup-session): Call elmo-pop3-read-response with
6129         keep-lock argument.
6130         (elmo-pop3-read-msg): Ditto.
6131         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6132         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6133         (elmo-network-initialize-session): Call elmo-pop3-lock.
6134         (elmo-folder-close-internal): Don't clear location-alist slot.
6135         (elmo-folder-check): Clear location-alist slot.
6136
6137 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6138
6139         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6140         (elmo-pop3-send-command): Call elmo-pop3-lock.
6141         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6142         (elmo-pop3-read-contents): Ditto.
6143         (elmo-pop3-lock): New function.
6144         (elmo-pop3-unlock): Ditto.
6145         (elmo-pop3-locked-p): Ditto.
6146         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6147         returns t.
6148
6149 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6150
6151         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6152
6153         * elmo-util.el (elmo-file-field-primitive-condition-match):
6154         New inline function (Don't fetch file content if "first" or "last").
6155         (elmo-file-field-condition-match): Use
6156         elmo-file-field-primitive-condition-match.
6157
6158         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6159         "first".
6160
6161         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6162         (elmo-message-fetch-plugged): Fixed.
6163
6164         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6165
6166 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6167
6168         * elmo.el (elmo-folder-move-messages): Bind
6169         elmo-inhibit-display-retrieval-progress as t while moving messages.
6170
6171         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6172         New variable.
6173         (elmo-inhibit-display-retrieval-progress): Ditto.
6174
6175         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6176         for retrieval progress;
6177         Don't display progress when total buffer size is smaller than
6178         elmo-display-retrieval-progress-threshold.
6179         (elmo-message-fetch-plugged): Don't display progress when
6180         elmo-inhibit-display-retrieval-progress is non-nil.
6181
6182         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6183         for retrieval progress;
6184         Don't display progress when literal size is smaller than
6185         elmo-display-retrieval-progress-threshold.
6186         (elmo-imap4-message-fetch): Don't display progress when
6187         elmo-inhibit-display-retrieval-progress is non-nil.
6188
6189 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6190
6191         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6192         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6193         (elmo-imap4-message-fetch): Likewise.
6194
6195         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6196         (elmo-shimbun-index-range-alist): Ditto.
6197         (elmo-shimbun-use-entire-index): Abolish.
6198         (shimbun-mua-use-entire-index): Ditto.
6199         (elmo-shimbun-folder): Added new slot `range'.
6200         (elmo-folder-initialize): Setup slot `range'.
6201
6202 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6203
6204         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6205         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6206         (elmo-shimbun-get-headers): Use return value of
6207         `shimbun-article-expiration-days'.
6208         (elmo-folder-close-internal): Clean up last-check slot.
6209
6210         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6211         (elmo-pop3-total-size): New variable.
6212         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6213
6214         * elmo.el (elmo-folder-reserve-status-p): New method.
6215
6216         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6217         (elmo-shimbun-use-entire-index): New user option.
6218         (shimbun-elmo-mua): New class.
6219         (shimbun-mua-search-id): Define.
6220         (shimbun-mua-use-entire-index): Ditto.
6221         (elmo-shimbun-folder:last-check): New slot.
6222         (elmo-shimbun-headers-cache-header-list): Abolish.
6223         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6224         (elmo-shimbun-headers-cache-header-hash): Ditto.
6225         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6226         (elmo-shimbun-headers-cache-last-check): Ditto.
6227         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6228         (elmo-shimbun-headers-check-p): Rewrite.
6229         (elmo-shimbun-msgdb-to-headers): New function.
6230         (elmo-shimbun-get-headers): Rewrite.
6231         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6232         (elmo-folder-open-internal): Get headers only if
6233         `elmo-shimbun-headers-check-p' is non-nil.
6234         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6235         is non-nil.
6236         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6237         (elmo-quit): Removed.
6238
6239         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6240         function.
6241         (elmo-msgdb-overview-entity-set-extra): Ditto.
6242         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6243
6244         * elmo-map.el (elmo-folder-status): Don't call
6245         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6246         is non-nil.
6247
6248 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6249
6250         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6251         of `elmo-msgdb-search-internal-primitive' when condition's car is
6252         `and' or `or'.
6253
6254 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6255
6256         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6257
6258 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6259
6260         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6261         call `elmo-pipe-drain'.
6262
6263 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6264
6265         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6266         typo. (elmo-cache-folder -> elmo-mark-folder)
6267
6268 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6269
6270         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6271         `elmo-message-fetch'.
6272
6273 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6274
6275         * elmo-net.el (elmo-message-encache): Fixed typo.
6276         (elmo-message-fetch-unplugged): Changed call
6277         `elmo-message-fetch-internal' without argument `outbuf'.
6278
6279 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6280
6281         * elmo.el (elmo-message-encache): Define as generic function.
6282         (elmo-message-fetch-field): New generic function.
6283         (elmo-message-fetch-with-cache-process): Cause an error when
6284         fetch strategy is 'entire but only 'section cache is available.
6285         (toplevel): Fixed nmz folder definition.
6286
6287         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6288         (elmo-msgdb-resume-list-filename): Ditto.
6289         (elmo-queue-filename): Ditto.
6290         (elmo-enable-disconnected-operation): Changed default value to t.
6291
6292         * elmo-util.el (elmo-cache-path-section-p): New function.
6293         (elmo-file-cache-get): Use it.
6294         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6295         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6296         (elmo-dop-queue-save): Ditto.
6297
6298         * elmo-net.el (elmo-folder-status-unplugged): Call
6299         elmo-folder-status-dop.
6300         (elmo-folder-list-messages-unplugged): Implemented.
6301         (elmo-folder-delete-messages-unplugged): Define.
6302         (elmo-folder-msgdb-create): Define.
6303         (elmo-folder-msgdb-create-unplugged): Define.
6304         (elmo-folder-mark-as-read-unplugged): Ditto.
6305         (elmo-folder-unmark-read-unplugged): Ditto.
6306         (elmo-folder-mark-as-important-unplugged): Ditto.
6307         (elmo-folder-unmark-important-unplugged): Ditto.
6308         (elmo-message-encache): Ditto.
6309
6310         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6311         (elmo-dop-queue-save): Ditto.
6312
6313         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6314         `elmo-folder-msgdb-create'.
6315         (elmo-folder-append-buffer): Implemented unplugged operation.
6316         (elmo-folder-append-messages): Call parent method in unplugged status.
6317         (elmo-message-fetch-unplugged): Removed definition.
6318         (elmo-message-fetch-field): Implemented.
6319
6320         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6321         (elmo-dop-folder): Removed variable definition.
6322         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6323         (elmo-dop-queue-flush): Implemented.
6324         (elmo-dop-queue-merge): Removed definition (TODO).
6325         (elmo-dop-spool-folder): New function.
6326         (elmo-dop-spool-folder-append-buffer): Ditto.
6327         (elmo-dop-spool-folder-list-messages): Ditto.
6328         (elmo-dop-list-deleting-messages): Ditto.
6329         (elmo-folder-append-buffer-dop): Ditto.
6330         (elmo-folder-delete-messages-dop): Ditto.
6331         (elmo-message-encache-dop): New inline function.
6332         (elmo-create-folder-dop): Ditto.
6333         (elmo-folder-mark-as-read-dop): Ditto.
6334         (elmo-folder-unmark-read-dop): Ditto.
6335         (elmo-folder-mark-as-important-dop): Ditto.
6336         (elmo-folder-unmark-important-dop): Ditto.
6337         (elmo-folder-status-dop): Fixed.
6338         (elmo-folder-append-buffer-dop-delayed): New function.
6339         (elmo-folder-delete-messages-dop-delayed): Ditto.
6340         (elmo-dop-msgdb): Ditto.
6341
6342 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6343
6344         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6345
6346 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6347
6348         * elmo.el (elmo-folder-move-messages): Fixed problem when
6349         `dst-folder' is 'null.
6350
6351 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6352
6353         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6354         instead of current mark.
6355
6356         * elmo-multi.el (elmo-folder-list-importants-internal): No
6357         operation if importants is not list.
6358
6359         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6360         Return t if importants is not list.
6361
6362         * elmo-map.el (elmo-map-folder-list-importants): Define.
6363         (elmo-folder-list-importants-internal): Check return value of
6364         `elmo-map-folder-list-importants-internal'.
6365
6366         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6367
6368         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6369
6370         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6371
6372         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6373
6374 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6375
6376         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6377         (Patch is provided by <kita@coe.nttdata.co.jp>).
6378
6379 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6380
6381         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6382         mark folder.
6383
6384 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6385
6386         * elmo.el (elmo-message-fetch): Define.
6387         (elmo-message-fetch-with-cache-process): New generic method.
6388         (elmo-message-fetch-internal): New generic method.
6389         (elmo-folder-synchronize):
6390
6391         * elmo-archive.el (elmo-message-fetch-internal): Define.
6392         (elmo-message-fetch): Eliminated.
6393
6394         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6395         (elmo-message-fetch): Eliminated.
6396
6397         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6398         argument OUTBUF.
6399         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6400
6401         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6402         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6403
6404         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6405         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6406
6407         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6408
6409         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6410
6411         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6412
6413         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6414         (elmo-message-fetch-unplugged): New generic method.
6415         (elmo-message-fetch-internal): Remove cache process (Renamed from
6416         `elmo-message-fetch').
6417
6418         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6419         (elmo-message-fetch): Eliminated.
6420         (elmo-message-fetch-unplugged): Ditto.
6421
6422         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6423
6424 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6425
6426         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6427         of `to-be-deleted' from number-alist to number-list.
6428
6429 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6430
6431         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6432         (elmo-folder-mark-as-important): Ditto.
6433
6434 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6435
6436         * elmo.el (elmo-folder): Added process-duplicates slot.
6437
6438         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6439         (elmo-folder-unmark-read): Ditto.
6440         (elmo-folder-unmark-important): Ditto.
6441         (elmo-folder-mark-as-important): Ditto.
6442
6443         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6444         duplicated message processing.
6445
6446         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6447
6448 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6449
6450         * elmo-util.el (elmo-list-subdirectories-1): New function.
6451         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6452         (elmo-mapcar-list-of-list): New function.
6453
6454         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6455         `elmo-mapcar-list-of-list' instead of `mapcar'.
6456
6457         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6458
6459         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6460         `elmo-have-link-count'. Return the fully qualified folder name.
6461
6462 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6463
6464         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6465         (elmo-shimbun-headers-cache): New internal variable.
6466         (elmo-shimbun-headers-cache-header-list): New inline function.
6467         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6468         (elmo-shimbun-headers-cache-header-hash): Ditto.
6469         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6470         (elmo-shimbun-headers-cache-last-check): Ditto.
6471         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6472         (elmo-shimbun-lapse-seconds): Ditto.
6473         (elmo-shimbun-headers-cache-check-p): Ditto.
6474         (elmo-shimbun-get-headers): New function.
6475         (elmo-folder-open-internal): Call it.
6476         (elmo-quit): Define (Clear headers-cache).
6477
6478 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6479
6480         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6481
6482         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6483         (elmo-msgdb-flist-save): Ditto.
6484
6485         * elmo-shimbun.el (elmo-folder-list-subfolders):
6486         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6487         (elmo-folder-exists-p): Ditto.
6488
6489         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6490         argument for `shimbun-header-insert'.
6491
6492 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6493
6494         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6495         at first time.
6496
6497         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6498         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6499
6500 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6501
6502         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6503         (elmo-folder-plugged-p): Define.
6504         (elmo-folder-set-plugged): Ditto.
6505         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6506         (elmo-folder-list-messages-internal): Return t if unplugged.
6507         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6508
6509         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6510         when elmo-folder-list-messages-internal method of children returns t.
6511
6512         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6513         pair is nil.
6514         (elmo-folder-open-internal): Don't update if unplugged status.
6515
6516 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6517
6518         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6519         new message.
6520
6521 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6522
6523         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6524
6525         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6526         saving.
6527
6528 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6529
6530         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6531
6532         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6533         (elmo-folder-open-internal): Set up headers slot.
6534         (elmo-folder-check): Call elmo-folder-close-internal and
6535         elmo-folder-open-internal.
6536         (elmo-folder-close-internal): Clean up headers slot.
6537
6538 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6539
6540         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6541         exactly folder list.
6542         (elmo-folder-append-messages): Fixed append archive with prefix.
6543
6544         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6545         make temp files with start-number.
6546
6547         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6548
6549 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6550
6551         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6552         argument `visible-only'.
6553         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6554         instead of `if'.
6555
6556         * elmo-pop3.el (elmo-folder-open-internal): Check
6557         `elmo-inhibit-number-mapping' is non-nil.
6558
6559         * elmo-pipe.el (elmo-folder-status): Fixed.
6560
6561 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6562
6563         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6564
6565         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6566         (elmo-folder-open-internal): Setup `header-hash' slot.
6567         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6568         information.
6569         (elmo-map-message-fetch): Ditto.
6570
6571 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6572
6573         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6574         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6575         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6576         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6577
6578         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6579
6580 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6581
6582         * sb-airs.el: Added footer.
6583
6584         * shimbun.el (shimbun-article): Define as luna-method.
6585
6586         * sb-tcup.el: New file.
6587
6588         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6589         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6590
6591 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6592
6593         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6594         (shimbun-get-headers): Ditto.
6595
6596         * elmo.el: Moved obsolete variable definitions from
6597         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6598
6599         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6600         groups.
6601
6602         * shimbun.el: New file.
6603
6604         * elmo-shimbun.el: New file.
6605
6606         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6607         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6608         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6609         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6610
6611 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6612
6613         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6614         hierarchy is t.
6615
6616 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6617
6618         * elmo.el (elmo-folder-msgdb): Define as macro.
6619         (elmo-folder-open): Added argument `load-msgdb'.
6620         (elmo-generic-folder-open): Ditto.
6621         (elmo-folder-encache): New function.
6622
6623         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6624
6625         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6626
6627         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6628         Eliminated argument FOLDER and added argument MSGDB.
6629         (elmo-dop-queue-load): Moved from elmo-dop.el.
6630         (elmo-dop-queue-save): Ditto.
6631
6632         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6633
6634         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6635
6636         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6637         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6638         (elmo-filter-folder-list-importants-internal): Ditto.
6639
6640         * elmo-map.el (elmo-folder-pack-number): Ditto.
6641
6642         * elmo-mime.el (elmo-mime-message-display): Ditto.
6643
6644         * elmo.el (elmo-generic-folder-commit): Ditto.
6645         (elmo-folder-list-unreads): Ditto.
6646         (elmo-folder-list-importants): Ditto.
6647         (elmo-generic-folder-commit): Ditto.
6648         (elmo-message-set-mark): Ditto.
6649         (elmo-generic-folder-append-msgdb): Ditto.
6650         (elmo-folder-synchronize): Ditto.
6651         (elmo-folder-messages): Ditto.
6652         (elmo-init): Call elmo-dop-queue-load.
6653         (elmo-folder-list-messages): Ditto.
6654
6655         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6656         (elmo-nntp-folder-process-crosspost): Ditto.
6657         (elmo-folder-list-unreads-internal): Ditto.
6658
6659         * elmo-dop.el: Removed old functions.
6660
6661 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6662
6663         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6664         `folder' to `msgdb'.
6665
6666 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6667
6668         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6669         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6670
6671         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6672         case-fold-search.
6673
6674 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6675
6676         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6677         defined.
6678
6679         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6680         (mmimap-parse-parameters-from-list): Define as alias for
6681         `mime-decode-parameter-plist' if it is defined as function.
6682         (mmimap-make-mime-entity): Added argument `number'.
6683         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6684         as 0.
6685         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6686
6687         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6688
6689         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6690
6691         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6692
6693 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6694
6695         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6696
6697         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6698         when elmo-imap4-default-authenticate-type is nil.
6699         (elmo-folder-list-subfolders): Ditto
6700         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6701         (elmo-imap4-fetch-callback-1-subr): Renamed from
6702         `elmo-imap4-fetch-callback-1' and define as inline function.
6703         (elmo-imap4-fetch-callback-1):
6704         Renamed from `elmo-imap4-fetch-callback'.
6705         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6706
6707         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6708         msgdb path (To keep compatibility with main trunk).
6709
6710         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6711
6712         * elmo-util.el (elmo-make-file-cache): Moved position of
6713         some macros.
6714
6715         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6716         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6717         instead of `elmo-pop3-inhibit-uidl'.
6718         (elmo-folder-exists-p): Ditto.
6719         (elmo-pop3-folder-list-messages): Ditto.
6720
6721         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6722         instead of `elmo-pop3-inhibit-uidl'.
6723         (elmo-folder-status): Ditto.
6724
6725         * elmo-dop.el (elmo-dop-folder): New variable.
6726         (elmo-dop-lock-message): Eliminated.
6727         (elmo-dop-unlock-message): Ditto.
6728         (elmo-dop-lock-list-load): Ditto.
6729         (elmo-dop-lock-list-save): Ditto.
6730         (elmo-dop-delete-folder): Ditto.
6731         (elmo-dop-rename-folder): Ditto.
6732
6733         * elmo.el: Removed incomplete commentary.
6734
6735 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6736
6737         * elmo.el (toplevel): Require 'elmo-version first;
6738         for little `recursive-load-depth' settings.
6739         Fix "ends here" comment.
6740
6741 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6742
6743         * elmo-util.el (toplevel): Require 'poem;
6744         Some functions are moved from elmo-cache.el.
6745
6746         * elmo-net.el (toplevel): Require 'elmo-cache.
6747
6748         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6749
6750         * elmo.el (toplevel): Ditto.
6751
6752         * elmo-cache.el: Rewrite with luna;
6753         Some functions are moved to elmo-util.el.
6754
6755         * elmo-internal.el (elmo-internal-folder-list): New variable.
6756         (elmo-internal-folder-initialize): Rewrite.
6757         (elmo-folder-list-subfolders): Ditto.
6758
6759         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6760         (elmo-cache-collect-sub-directories): Ditto.
6761
6762 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo-version.el (elmo-version): Up to 2.5.8.
6765
6766         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6767
6768         * elmo-util.el (elmo-list-insert): New function.
6769
6770 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6771
6772         * elmo.el (elmo-init): New function.
6773         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6774
6775         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6776         (Renamed from `elmo-localdir-header-chop-length').
6777
6778         * elmo-pop3.el (elmo-pop3-use-cache,
6779         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6780
6781         * elmo-nntp.el (elmo-message-fetch): Define.
6782         (elmo-message-fetch-unplugged): Ditto.
6783         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6784         (elmo-nntp-use-cache): Ditto.
6785         (elmo-nntp-max-number-precedes-list-active): Ditto.
6786
6787         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6788
6789         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6790         `elmo-msgdb-insert-file-header'.
6791         Use `elmo-msgdb-file-header-chop-length'.
6792
6793         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6794         `elmo-vars.el'.
6795
6796         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6797         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6798         `elmo-msgdb-insert-file-header'.
6799
6800         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6801         Use new variable;
6802         Define obsolete variables with `elmo-define-obsolete-variable',
6803
6804         * elmo-util.el (elmo-warning-buffer-name): New constant.
6805         (elmo-warning): New function.
6806         (elmo-obsolete-variable-alist): New variable.
6807         (elmo-obsolete-variable-show-warnings): New variable.
6808         (elmo-define-obsolete-variable): New function.
6809         (elmo-resque-obsolete-variable): Ditto.
6810         (elmo-resque-obsolete-variables): Ditto.
6811
6812 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6813
6814         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6815         Eliminated.
6816
6817         * elmo-pop3.el, elmo-nntp.el: Use custom.
6818
6819 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6820
6821         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6822         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6823
6824 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6825
6826         * Luna-fy Kenichi OKADA's following changes.
6827         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6828         `nohide'.
6829         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6830
6831 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6832
6833         * elmo-util.el (elmo-display-progress): Prefer
6834         `progress-feedback-with-label' to `lprogress-display'.
6835
6836 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6837
6838         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6839
6840 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6841
6842         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6843         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6844         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6845         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6846         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6847         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6848         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6849         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6850         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6851         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6852         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6853         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6854         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6855
6856 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6857
6858         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6859         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6860
6861 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6862
6863         * elmo.el (elmo-folder-process-crosspost): New generic method.
6864         (elmo-folder-writable-p): Ditto.
6865         (elmo-folder-message-appendable-p): Eliminated.
6866         (elmo-generic-folder-append-msgdb): Rewrite.
6867         (elmo-newsgroups-hashtb): New internal variable.
6868         (elmo-crosspost-message-set): Eliminated.
6869         (elmo-crosspost-message-delete): Ditto.
6870         (elmo-setup-subscribed-newsgroups): New function.
6871         (elmo-crosspost-message-alist-modified): New internal variable.
6872         (elmo-crosspost-message-alist-load): New function (Renamed from
6873         `wl-crosspost-alist-load').
6874         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6875         `wl-crosspost-alist-save').
6876
6877         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6878
6879         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6880         `unreads'.
6881         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6882         elmo-newsgroups-hashtb).
6883         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6884         `elmo-nntp-folder-update-crosspost-message-alist'.
6885         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6886         `elmo-nntp-groups-hashtb'.
6887         (elmo-nntp-make-groups-hashtb): Eliminated.
6888         (elmo-nntp-parse-newsgroups): New function (Renamed from
6889         `wl-parse-newsgroups').
6890         (elmo-folder-creatable-p, elmo-folder-writable-p,
6891         elmo-folder-close-internal, elmo-folder-mark-as-read,
6892         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6893         Define.
6894         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6895
6896         * elmo-net.el (elmo-message-fetch): Check buffer size.
6897
6898         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6899
6900         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6901
6902         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6903         before `close' command.
6904
6905         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6906         `mark-alist' (All other related portions are changed).
6907
6908 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6909
6910         * elmo-util.el (elmo-create-hash-size): Eliminated.
6911         (elmo-make-hash) Make a hash with `one less than a power of two'
6912         length.
6913
6914         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6915         (elmo-hash-maximum-size): Changed value.
6916
6917 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6918
6919         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6920         (elmo-mime-message-display-as-is): Ditto.
6921
6922 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6923
6924         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6925         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6926
6927 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6928
6929         * elmo-mark.el: New file.
6930
6931         * elmo-internal.el: Rewrite (Almost empty).
6932
6933 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6934
6935         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6936         (mime-imap-entity-header-string): Ditto.
6937         (mmimap-entity-section): Rewrite.
6938
6939 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6940
6941         * elmo-nmz.el: New file.
6942
6943         * elmo-pipe.el: Rewrite with luna.
6944
6945 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6946
6947         * elmo-archive.el: Rewrite with luna.
6948
6949         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6950         (elmo-folder-list-importants-internal): Ditto.
6951
6952 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6953
6954         * elmo-archive.el (elmo-archive-version): Abolish.
6955         (toplevel) Removed `boso' comment.
6956
6957 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6958
6959         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6960         elmo-msgdb-add-msgs-to-seen-list-subr;
6961         Changed argument seen-marks to unread-marks.
6962
6963         * elmo-nntp.el: Rewrite with luna.
6964
6965 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6966
6967         * elmo-filter.el: Rewrite with luna.
6968
6969 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6970
6971         * elmo-pop3.el: Rewrite with luna.
6972
6973 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6974
6975         * elmo-multi.el: Rewrite with luna.
6976
6977         * elmo-vars.el (elmo-use-killed-list): Abolish.
6978         All other related portions are changed.
6979         (elmo-filename-replace-string-alist): Renamed from
6980         elmo-msgid-replace-string-alist.
6981
6982 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6983
6984         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6985
6986         * elmo-map.el: New file.
6987         * elmo-maildir.el: Rewrite with luna.
6988
6989 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6990
6991         * elmo.el: Changed meaning of `elmo-folder-commit'.
6992         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6993
6994 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6995
6996         * elmo.el (elmo-folder-append-buffer): New function.
6997         (Renamed from `elmo-append-msg')
6998
6999 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7000
7001         * elmo-mime.el: New file.
7002
7003 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7004
7005         * elmo-cache.el: Rewrite.
7006
7007 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7008
7009         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7010
7011 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7012
7013         * elmo-vars.el (elmo): New group.
7014         (elmo-strict-diff-folder-regexp): New variable.
7015
7016         * elmo-util.el (elmo-call-func): Abolish.
7017         (elmo-folder-get-type): Ditto.
7018         (elmo-*-get-spec): Ditto.
7019         (elmo-*-spec-*): Ditto.
7020         (elmo-imap4-identical-name-space-p): Ditto.
7021         (elmo-folder-identical-system-p): Ditto.
7022         (elmo-folder-direct-copy-alist): Ditto.
7023         (elmo-folder-direct-copy-p): Ditto.
7024
7025         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7026         (elmo-folder-initialize): Define.
7027         (elmo-folder-get-primitive-list): Ditto.
7028
7029         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7030         (elmo-folder-initialize): Define.
7031         Renamed `elmo-network-session-host-internal' to
7032         `elmo-network-session-server-internal'.
7033
7034         * elmo-multi.el (elmo-multi-folder): New luna class.
7035         (elmo-folder-initialize): Define.
7036         (elmo-folder-get-primitive-list): Ditto.
7037         (elmo-folder-contains-type): Ditto.
7038         (elmo-message-use-cache-p): Ditto.
7039
7040         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7041         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7042
7043         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7044         (elmo-folder-initialize): Define.
7045
7046         * elmo-filter.el (elmo-filter-folder): New luna class.
7047         (elmo-folder-initialize): Define.
7048         (elmo-folder-get-primitive-list): Ditto.
7049         (elmo-folder-contains-type): Ditto.
7050
7051 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7052
7053         * elmo-imap4.el: Rewrite with luna.
7054
7055         * mmimap.el: New file.
7056
7057         * mmelmo.el, mmelmo-imap4.el: Removed.
7058
7059         * elmo-net.el: Ditto.
7060
7061         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7062         (elmo-folder-initialize): Define.
7063
7064         * elmo-archive.el (elmo-archive-folder): New luna class.
7065         (elmo-folder-initialize): Define.
7066
7067         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7068         `elmo-folder-msgdb-path'.
7069         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7070         `elmo-make-folder'.
7071
7072 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7073
7074         * elmo.el: New file.
7075
7076         * elmo2.el: Renamed to elmo.el.
7077
7078 \f
7079 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7080
7081         * elmo-cache.el (elmo-cache-expire-by-size): Count
7082         a disk usage for a cache file entry in KB even when
7083         its kind is a directory.
7084
7085 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7086
7087         * elmo-version.el (elmo-version): Up to 2.5.7.
7088
7089 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7090
7091         * elmo-version.el (elmo-version): Up to 2.5.6.
7092
7093 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7094
7095         * elmo-version.el (elmo-version): Up to 2.5.5.
7096
7097 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7098
7099         * elmo-imap4.el (elmo-network-authenticate-session):
7100         Fixed a logic for response checking.
7101
7102 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7103
7104         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7105         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7106         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7107         `sasl-mechanisms'.
7108
7109         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7110         for `starttls-open-stream' and `starttls-negotiate'.
7111
7112         * elmo-nntp.el: Remove autoload settings for
7113         `starttls-open-stream' and `starttls-negotiate'.
7114
7115         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7116         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7117         `luna-define-class' with `eval-and-compile'.
7118
7119 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7120
7121         * elmo-util.el (elmo-read-search-condition-internal):
7122         Require an element of table for searching field.
7123
7124 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7125
7126         * elmo-version.el (elmo-version): Up to 2.5.4.
7127
7128 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7129
7130         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7131
7132 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7133
7134         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7135
7136 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7137
7138         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7139         before greeting.
7140
7141 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7142
7143         * elmo-imap4.el (elmo-imap4-delete-folder):
7144         Send "close" before "delete" (Use commented out line).
7145         (elmo-imap4-rename-folder): Ditto.
7146
7147         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7148         folder string itself.
7149         (elmo-dop-list-deleted): New function.
7150         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7151         killed.
7152
7153         * elmo-util.el (elmo-string-rassoc-all): New function.
7154
7155 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7156
7157         * elmo-version.el (elmo-version): Up to 2.5.3.
7158
7159         * elmo-net.el (elmo-network-get-session): Changed logic for
7160         checking process status.
7161
7162         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7163         process is nil;
7164         Changed logic for checking process status.
7165
7166 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7167
7168         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7169         before greeting.
7170         (elmo-network-setup-session): Set UIDL hash size according to
7171         the length of list response.
7172         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7173         according to the length of list response;
7174         Return the length of list response.
7175         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7176
7177 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7178
7179         * elmo-imap4.el (toplevel): Require 'ssl.
7180         Add autoload 'starttls.
7181         * elmo-pop3.el (toplevel): Ditto.
7182         * elmo-nntp.el (toplevel): Ditto.
7183
7184 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7185
7186         * elmo-imap4.el (toplevel): defun at compile time.
7187         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7188         sasl-next-step, sasl-step-data, sasl-step-set-data.
7189         * elmo-pop3.el (toplevel): Ditto.
7190
7191 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7192
7193         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7194
7195 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7196
7197         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7198         if error.
7199         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7200         and `elmo-pop-auth-apop'.
7201
7202 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7203
7204         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7205
7206 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7207
7208         * elmo-pop3.el (elmo-network-authenticate-session): Split
7209         encoded response value.
7210
7211 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7212
7213         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7214         `elmo-pop3-force-login'.
7215         Redefine `sasl-mechanisms'.
7216         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7217
7218 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7219
7220         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7221         Delete `elmo-imap4-authenticator-alist'.
7222         (elmo-imap4-auth-cram-md5): Delete.
7223         (elmo-imap4-auth-digest-md5): Delete.
7224
7225 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7226
7227         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7228         (elmo-pop3-auth-scram-md5): Ditto.
7229         (elmo-pop3-auth-cram-md5): Ditto.
7230
7231 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7232
7233         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7234         Delete `elmo-pop3-authenticator-alist'.
7235
7236 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7237
7238         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7239         new SASL API.
7240         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7241
7242 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7243
7244         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7245
7246 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7247
7248         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7249         Fixed problem when `elmo-pop3-use-uidl' is nil.
7250         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7251
7252 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7253
7254         * elmo-version.el (elmo-version): Up to 2.5.2.
7255
7256 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7257
7258         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7259         New function.
7260         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7261         (elmo-pop3-msgdb-create-as-numlist): Use it.
7262
7263         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7264         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7265
7266         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7267         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7268
7269 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7270
7271         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7272         when elmo-mark-as-read is called with second argument nil.
7273
7274 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7275
7276         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7277         Moved to elmo-util.el.
7278
7279         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7280         Moved from elmo-pipe.el
7281
7282         * elmo-archive.el (elmo-archive-call-process): Enclose with
7283         static-if.
7284
7285         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7286         "RFC822" (because RFC822.PEEK is obsolete).
7287         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7288
7289 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7290
7291         * elmo-archive.el (elmo-archive-call-process): Don't check for
7292         the exit status when Nemacs is running.
7293
7294 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7295
7296         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7297         'plain.
7298
7299         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7300         (elmo-pop3-get-spec): Set default of auth to 'user.
7301
7302         * elmo-imap4.el (elmo-imap4-session-check):
7303         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7304         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7305         (elmo-imap4-auth-login): New function; Revival.
7306         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7307         `elmo-imap4-auth-login'.
7308
7309 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7310
7311         * elmo2.el (toplevel): Move `product-provide' declare.
7312         * mmelmo.el (toplevel): Ditto.
7313
7314 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7315
7316         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7317
7318 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7319
7320         * elmo-util.el (elmo-folder-get-store-type): New function.
7321         (elmo-folder-direct-copy-p): Use it.
7322
7323 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7324
7325         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7326         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7327         and result of `elmo-imap4-use-flag-p'.
7328         (elmo-imap4-fetch-callback-1): Set mark according to
7329         the result of `elmo-imap4-use-flag-p'.
7330
7331 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7332
7333         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7334         (elmo-generic-list-folder-unread): Ditto.
7335         (elmo-folder-get-info): Ditto.
7336         (elmo-folder-set-info-max-by-numdb): Ditto.
7337         (elmo-folder-get-info-max): Ditto.
7338         (elmo-folder-get-info-length): Ditto.
7339         (elmo-folder-get-info-unread): Ditto.
7340         (elmo-folder-info-make-hashtb): Ditto.
7341
7342         * elmo2.el: Removed above functions.
7343
7344 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7345
7346         * elmo-imap4.el (toplevel): Require 'ssl.
7347         Add autoload 'starttls.
7348         * elmo-pop3.el (toplevel): Ditto.
7349         * elmo-nntp.el (toplevel): Ditto.
7350
7351 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7352
7353         * elmo-imap4.el (toplevel): defun at compile time.
7354         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7355         sasl-next-step, sasl-step-data, sasl-step-set-data.
7356         * elmo-pop3.el (toplevel): Ditto.
7357
7358 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7359
7360         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7361
7362 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7363
7364         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7365         if error.
7366         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7367         and `elmo-pop-auth-apop'.
7368
7369 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7370
7371         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7372
7373 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7374
7375         * elmo-pop3.el (elmo-network-authenticate-session): Split
7376         encoded response value.
7377
7378 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7379
7380         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7381         `elmo-pop3-force-login'.
7382         Redefine `sasl-mechanisms'.
7383         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7384
7385 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7386
7387         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7388         Delete `elmo-imap4-authenticator-alist'.
7389         (elmo-imap4-auth-cram-md5): Delete.
7390         (elmo-imap4-auth-digest-md5): Delete.
7391
7392 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7393
7394         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7395         (elmo-pop3-auth-scram-md5): Ditto.
7396         (elmo-pop3-auth-cram-md5): Ditto.
7397
7398 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7399
7400         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7401         Delete `elmo-pop3-authenticator-alist'.
7402
7403 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7404
7405         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7406         new SASL API.
7407         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7408
7409 \f
7410 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7411
7412         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7413
7414 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7415
7416         * elmo-nntp.el (elmo-nntp-get-folders-info):
7417         Fixed problem when '\' character is contained in user-id.
7418         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7419
7420 \f
7421 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7422
7423         * elmo-imap4.el (elmo-imap4-delete-folder):
7424         Send "close" before "delete" (Use commented out line).
7425         (elmo-imap4-rename-folder): Ditto.
7426
7427         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7428         folder string itself.
7429         (elmo-dop-list-deleted): New function.
7430         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7431         killed.
7432
7433         * elmo-util.el (elmo-string-rassoc-all): New function.
7434
7435         * elmo-version.el (elmo-version): Up to 2.5.1.
7436
7437 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7438
7439         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7440
7441         * elmo-internal.el (elmo-internal-search): Fix last change.
7442
7443 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7444
7445         * elmo-internal.el (elmo-internal-search): Rewrite.
7446         (Fixed problem which is pointed out by Akihiro MOTOKI
7447         <motoki@da.jp.nec.com>)
7448
7449         * elmo-version.el (elmo-version): Up to 2.5.0.
7450
7451 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7454
7455 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7456
7457         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7458         non-nil, make hierarchy.
7459
7460 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7461
7462         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7463         `elmo-pop3-use-uidl' must be bound to nil.
7464         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7465
7466 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7467
7468         * elmo-util.el (elmo-copy-file): Don't cause an error after
7469         `add-name-to-file' failed.
7470
7471         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7472         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7473
7474 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7475
7476         * elmo-version.el (elmo-version): Up to 2.3.93.
7477
7478 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7479
7480         * elmo-util.el (elmo-flatten): New function.
7481
7482 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7483
7484         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7485         sync Author header.
7486         * elmo-cache.el (toplevel): Ditto.
7487         * elmo-database.el (toplevel): Ditto.
7488         * elmo-date.el (toplevel): Ditto.
7489         * elmo-dop.el (toplevel): Ditto.
7490         * elmo-filter.el (toplevel): Ditto.
7491         * elmo-imap4.el (toplevel): Ditto.
7492         * elmo-internal.el (toplevel): Ditto.
7493         * elmo-localdir.el (toplevel): Ditto.
7494         * elmo-localnews.el (toplevel): Ditto.
7495         * elmo-maildir.el (toplevel): Ditto.
7496         * elmo-msgdb.el (toplevel): Ditto.
7497         * elmo-multi.el (toplevel): Ditto.
7498         * elmo-net.el (toplevel): Ditto.
7499         * elmo-nntp.el (toplevel): Ditto.
7500         * elmo-pipe.el (toplevel): Ditto.
7501         * elmo-pop3.el (toplevel): Ditto.
7502         * elmo-util.el (toplevel): Ditto.
7503         * elmo-vars.el (toplevel): Ditto.
7504         * elmo2.el (toplevel): Ditto.
7505         * mmelmo-imap4.el (toplevel): Ditto.
7506         * mmelmo.el (toplevel): Ditto.
7507
7508         * elmo-version.el (elmo-version): Move to top.
7509
7510         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7511         * elmo-imap4.el (toplevel): Ditto.
7512         * elmo-localdir.el (toplevel): Ditto.
7513         * elmo-msgdb.el (toplevel): Ditto.
7514         * elmo-nntp.el (toplevel): Ditto.
7515         * elmo-pop3.el (toplevel): Ditto.
7516         * elmo-version.el (toplevel): Ditto.
7517
7518         * elmo-localnews.el (toplevel): Added Keyword header.
7519
7520 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7521
7522         * elmo-version.el (product-version-as-string): Defined using
7523         `defun-maybe'.
7524         (toplevel): Use it.
7525
7526         * elmo-localdir.el (toplevel): Updated copyright notice.
7527         * elmo-version.el (toplevel): Ditto.
7528         * elmo-msgdb.el (toplevel): Ditto.
7529         * elmo-imap4.el (toplevel): Ditto.
7530         * elmo-nntp.el (toplevel): Ditto.
7531         * elmo-pop3.el (toplevel): Ditto.
7532
7533 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7534
7535         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7536         messages.
7537
7538         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7539         parameter value (It sometimes contains raw kanji).
7540
7541 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7542
7543         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7544         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7545
7546 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7547
7548         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7549
7550 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7551
7552         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7553         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7554
7555 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7556
7557         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7558         value if selecting folder succceeded.
7559         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7560
7561 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7562
7563         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7564         representation.
7565
7566         * elmo-util.el (elmo-string-matched-member): New function.
7567
7568 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7569
7570         * elmo-util.el (elmo-unintern): New macro.
7571         (elmo-number-set-member): Fixed docstring.
7572
7573         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7574         tag token.
7575
7576 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7577
7578         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7579         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7580
7581 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7582
7583         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7584         `no-error'.
7585         Added docstring.
7586         Return non-nil if selecting folder succeeded.
7587         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7588
7589 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7590
7591         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7592         `file-name-completion' returns t.
7593         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7594         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7595         directory if it does not exist.
7596         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7597         for iteration.
7598
7599 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7600
7601         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7602         enclosure (It's harmful in unplugged status).
7603
7604         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7605
7606         * mmelmo-1.el: Removed.
7607
7608         * mmelmo-2.el: Ditto.
7609
7610         * mmelmo-imap4-1.el: Ditto.
7611
7612         * mmelmo-imap4-2.el: Ditto.
7613
7614         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7615
7616         * mmelmo.el: Merged mmelmo-2.el.
7617
7618         * elmo-version.el (elmo-version): Up to 2.3.92.
7619
7620 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7621
7622         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7623         elmo-update-number): Remove last period in "...done." message.
7624         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7625         Ditto.
7626         * elmo-cache.el (elmo-cache-expire-by-size,
7627         elmo-cache-get-sorted-cache-file-list,
7628         elmo-cache-msgdb-create-as-numlist): Ditto.
7629         * elmo-dop.el (elmo-dop-save-pending-messages,
7630         (elmo-dop-flush-pending-append-operations): Ditto.
7631         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7632         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7633         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7634         (elmo-localdir-pack-number): Ditto.
7635         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7636         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7637         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7638         mime-write-entity-content): Ditto.
7639         * pldap.el (ldap-search-basic): Ditto.
7640
7641 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7642
7643         * elmo-version.el (elmo-version): Up to 2.3.91.
7644
7645         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7646         Only when filter is 'last'.
7647
7648         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7649         (elmo-condition-parse-search-value): Use it.
7650         (elmo-read-search-condition-internal): Quote value only when
7651         it is not an atom.
7652
7653 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7654
7655         * elmo2.el (elmo-generic-folder-diff): Fix.
7656
7657 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7658
7659         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7660         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7661         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7662         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7663         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7664         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7665
7666 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7667
7668         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7669         extra-fields.
7670
7671 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7672
7673         * elmo-version.el (elmo-version): Up to 2.3.90.
7674
7675         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7676         (elmo-imap4-list-folder-important): Ditto.
7677
7678 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7679
7680         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7681
7682 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7683
7684         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7685
7686 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7687
7688         * elmo-nntp.el (elmo-network-initialize-session):
7689         Add starttls negotiation.
7690
7691 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7692
7693         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7694         response.
7695         (elmo-network-setup-session): Define.
7696         Call `elmo-nntp-send-mode-reader' when session opened.
7697
7698 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7699
7700         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7701
7702 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7703
7704         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7705         an invalid SPACE character ahead of `SEARCH' command.  Move
7706         a valid SPACE character following `SEARCH' from conditional
7707         `format' arguments to control-strings.
7708
7709 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7710
7711         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7712         was succeeded.
7713
7714         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7715
7716 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7717
7718         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7719         `w32-get-true-file-link-count' as t.
7720
7721         * elmo-imap4.el (elmo-imap4-read): Abolished.
7722         (Renamed to `elmo-read' and moved to elmo-util.el)
7723         All other related portions are changed.
7724
7725         * elmo-util.el (elmo-read): New function.
7726         (elmo-condition-parse-search-value): Use it.
7727
7728 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7729
7730         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7731
7732         * elmo-nntp.el (elmo-nntp-session): Define.
7733         (elmo-nntp-setting): Abolished.
7734         All other related portions are changed.
7735         (elmo-nntp-get-server-command): Changed argument.
7736         (elmo-nntp-set-server-command): Ditto.
7737         (elmo-nntp-xover-p): Ditto.
7738         (elmo-nntp-set-xover): Ditto.
7739         (elmo-nntp-listgroup-p): Ditto.
7740         (elmo-nntp-set-listgroup): Ditto.
7741         (elmo-nntp-list-active-p): Ditto.
7742         (elmo-nntp-set-list-active): Ditto.
7743         (elmo-nntp-xhdr-p): Ditto.
7744         (elmo-nntp-set-xhdr): Ditto.
7745         (elmo-nntp-flush-connection): Abolished.
7746         (elmo-nntp-get-connection): Abolished.
7747         (elmo-nntp-get-session): New function.
7748         (elmo-network-initialize-session): Defined.
7749         (elmo-network-authenticate-session): Ditto.
7750         (elmo-nntp-send-mode-reader): Changed argument.
7751         (elmo-nntp-send-command): Changed argument.
7752         All other related portions are changed.
7753         (elmo-nntp-read-response): Ditto.
7754         (elmo-nntp-read-raw-response): Ditto.
7755         (elmo-nntp-read-contents): Ditto.
7756         (elmo-nntp-read-body): Ditto.
7757         (elmo-nntp-goto-folder): Abolished.
7758         (elmo-nntp-select-group): New function.
7759         All other related portions are changed.
7760         (This function substitutes `elmo-nntp-goto-folder')
7761         (elmo-nntp-msgdb-create-by-header): Rewrite.
7762         (elmo-nntp-get-overview): Eliminated.
7763         (elmo-nntp-get-message): Ditto.
7764         (elmo-nntp-open-connection) Abolished.
7765         (elmo-nntp-read-msg): Rewrite.
7766         (elmo-nntp-post): Ditto.
7767         (elmo-nntp-send-data): Abolished.
7768         (elmo-nntp-send-buffer): New function.
7769         (elmo-nntp-send-data-line): Define as inline function.
7770         (elmo-nntp-get-folders-info-prepare): Use session as key.
7771         (elmo-nntp-groups-read-response): Changed argument.
7772         (elmo-nntp-retrieve-headers): Ditto.
7773         (elmo-nntp-msgdb-create-message): Ditto.
7774
7775         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7776         when searching by 'since' or 'before'.
7777
7778 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7779
7780         * elmo-version.el (toplevel): Use product-version-as-string for set
7781         verstion-string, if defined.
7782
7783 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7784
7785         * elmo-util.el: Doc fixes.
7786
7787 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7788
7789         * elmo-archive.el (toplevel): Use product-provide.
7790         * elmo-cache.el (toplevel): Ditto.
7791         * elmo-database.el (toplevel): Ditto.
7792         * elmo-date.el (toplevel): Ditto.
7793         * elmo-dop.el (toplevel): Ditto.
7794         * elmo-filter.el (toplevel): Ditto.
7795         * elmo-imap4.el (toplevel): Ditto.
7796         * elmo-internal.el (toplevel): Ditto.
7797         * elmo-localdir.el (toplevel): Ditto.
7798         * elmo-localnews.el (toplevel): Ditto.
7799         * elmo-maildir.el (toplevel): Ditto.
7800         * elmo-msgdb.el (toplevel): Ditto.
7801         * elmo-multi.el (toplevel): Ditto.
7802         * elmo-net.el (toplevel): Ditto.
7803         * elmo-nntp.el (toplevel): Ditto.
7804         * elmo-pipe.el (toplevel): Ditto.
7805         * elmo-pop3.el (toplevel): Ditto.
7806         * elmo-util.el (toplevel): Ditto.
7807         * elmo-vars.el (toplevel): Ditto.
7808         * elmo2.el (toplevel): Ditto.
7809         * mmelmo-1.el (toplevel): Ditto.
7810         * mmelmo-2.el (toplevel): Ditto.
7811         * mmelmo-imap4-1.el (toplevel): Ditto.
7812         * mmelmo-imap4-2.el (toplevel): Ditto.
7813         * mmelmo-imap4.el (toplevel): Ditto.
7814         * mmelmo.el (toplevel): Ditto.
7815
7816 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7817
7818         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7819         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7820
7821 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7822
7823         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7824         before splitting.
7825         (elmo-multi-split-number-alist): Ditto.
7826
7827 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7828
7829         * elmo-version.el: New file.  Use product.el.
7830         * elmo2.el: Add (require 'elmo-version).
7831         * elmo-vars.el (elmo-appname, elmo-version): Move to
7832         elmo-version.el
7833
7834 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7835
7836         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7837         `elmo-msgdb-expand-path'.
7838         (elmo-msgdb-load): Ditto.
7839         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7840         (elmo-generic-list-folder-unread): Rewrite.
7841         (elmo-generic-list-folder-important): Changed argument.
7842         (elmo-list-folder-unread): Ditto.
7843         (elmo-list-folder-important): Ditto.
7844         (elmo-folder-diff): Rewrite.
7845         (elmo-generic-folder-diff): New function.
7846         (elmo-multi-get-number-alist-list): Abolished
7847         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7848         (elmo-multi-folder-diff): Moved to elmo-multi.el
7849         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7850
7851         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7852         `elmo-msgdb-expand-path'.
7853         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7854         (elmo-pop3-read-msg): Ditto.
7855         (elmo-pop3-delete-msgs): Ditto.
7856         (elmo-pop3-folder-diff): New alias.
7857
7858         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7859         `elmo-msgdb-expand-path'.
7860         (elmo-pipe-list-folder-unread): Changed arguments.
7861         (elmo-pipe-list-folder-important): Ditto.
7862         (elmo-pipe-folder-diff): New alias.
7863
7864         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7865         `elmo-msgdb-expand-path'.
7866         (elmo-nntp-max-of-folder): Ditto.
7867         (elmo-nntp-msgdb-create): Ditto.
7868         (elmo-nntp-delete-msgs): Ditto.
7869         (elmo-nntp-folder-diff): New alias.
7870
7871         * elmo-multi.el (elmo-multi-folder-diff): New function.
7872         (elmo-multi-split-mark-alist): Ditto.
7873         (elmo-multi-split-number-alist): Ditto.
7874         (elmo-multi-mark-alist-list): Abolished (Renamed to
7875         elmo-multi-split-mark-alist).
7876         (elmo-multi-list-folder-unread): Rewrite.
7877         (elmo-multi-list-folder-important): Ditto.
7878         (elmo-multi-list-folder): Set `spec' as 1st argument for
7879         `elmo-msgdb-expand-path'.
7880         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7881         instead of `elmo-multi-get-number-alist-list'.
7882
7883         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7884         If 1st argument is not string, treat as spec.
7885         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7886         `elmo-msgdb-expand-path'.
7887         (elmo-msgdb-flist-load): Ditto.
7888         (elmo-msgdb-flist-save): Ditto.
7889         (elmo-msgdb-delete-path): Ditto.
7890         (elmo-msgdb-rename-path): Ditto.
7891
7892         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7893         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7894         (elmo-maildir-delete-mark-msgs): Ditto.
7895         (elmo-maildir-msgdb-create): Ditto.
7896         (elmo-maildir-read-msg): Ditto.
7897         (elmo-maildir-delete-msgs): Ditto.
7898         (elmo-maildir-list-folder-subr): Ditto.
7899         (elmo-maildir-search): Ditto.
7900         (elmo-maildir-get-msg-filename): Ditto.
7901         (elmo-maildir-pack-number): Ditto.
7902         (elmo-maildir-folder-diff): New alias.
7903
7904         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7905
7906         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7907         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7908         (elmo-localdir-folder-diff): New alias.
7909
7910         * elmo-internal.el (elmo-internal-list-folder-subr):
7911         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7912         (elmo-internal-list-folder-by-location): Ditto.
7913         (elmo-internal-msgdb-create): Ditto.
7914         (elmo-internal-delete-msgs): Ditto.
7915         (elmo-internal-read-msg): Ditto.
7916         (elmo-internal-folder-diff): New alias.
7917
7918         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7919         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7920         `elmo-msgdb-expand-path'.
7921         (elmo-imap4-list-folder-unread): Changed arguments.
7922         (elmo-imap4-list-folder-important): Ditto.
7923
7924         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7925         (elmo-filter-list-folder-important): Ditto.
7926         (elmo-filter-folder-diff): New function.
7927
7928         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7929
7930         * elmo-cache.el (elmo-cache-list-folder):
7931         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7932         (elmo-cache-copy-msgs): Ditto.
7933         (elmo-cache-folder-diff): New alias.
7934
7935         * elmo-archive.el (elmo-archive-list-folder-subr):
7936         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7937         (elmo-archive-get-archive-name): Ditto.
7938         (elmo-archive-create-file): Ditto.
7939         (elmo-archive-append-msg): Ditto.
7940         (elmo-archive-copy-msgs): Ditto.
7941         (elmo-archive-copy-msgs-froms): Ditto.
7942         (elmo-archive-get-msg-filename): Ditto.
7943         (elmo-archive-folder-diff): New alias.
7944
7945 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7946
7947         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7948         (elmo-pop3-stream-type-alist): New variable.
7949         (elmo-nntp-stream-type-alist): New variable.
7950
7951         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7952         (elmo-kill-buffer): Ditto.
7953         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7954         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7955         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7956         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7957         (elmo-imap4-get-spec): Take into account
7958         `elmo-imap4-stream-type-alist'.
7959
7960 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7961
7962         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7963         (elmo-nntp-list-folders-get-cache): Ditto.
7964
7965 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7966
7967         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7968         character before 'uid'.
7969
7970 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7971
7972         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7973
7974         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7975
7976         * elmo-util.el (elmo-number-set-member): New function.
7977         (elmo-number-set-append-list): Ditto.
7978         (elmo-number-set-append): Ditto.
7979
7980         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7981         Use `elmo-number-set-member'.
7982         (elmo-living-messages): Ditto.
7983         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7984         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7985
7986         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7987         (elmo-imap4-add-to-cont-list): Abolished.
7988         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7989         instead of elmo-imap4-add-to-cont-list.
7990
7991         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7992         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7993
7994         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7995
7996 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7997
7998         * elmo-util.el (elmo-condition-parse-search-value):
7999         Fixed date parsing.
8000
8001 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8002
8003         * elmo-util.el (elmo-condition-find-key-internal): New function.
8004         (elmo-condition-find-key): Ditto.
8005
8006         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8007         (elmo-msgdb-search-internal): Ditto.
8008         (elmo-msgdb-search): Ditto.
8009
8010 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8011
8012         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8013         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8014
8015         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8016         (elmo-nntp-search-primitive): Fixed problem when condition is
8017         'unmatch'.
8018
8019         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8020
8021         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8022         (elmo-nntp-xhdr-p): New macro.
8023         (elmo-nntp-set-xhdr): Ditto.
8024         (elmo-nntp-parse-xhdr-response): New function.
8025         (elmo-nntp-retrieve-field): Ditto.
8026         (elmo-nntp-search-primitive): Ditto.
8027         (elmo-nntp-search): Implemented.
8028
8029         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8030
8031         * elmo-archive.el (elmo-archive-search): Set all number list to
8032         `elmo-archive-field-condition-match'
8033
8034         * elmo-localdir.el (elmo-localdir-search): Likewise.
8035
8036         * elmo-maildir.el (elmo-maildir-search): Likewise.
8037
8038 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8039
8040         * elmo-msgdb.el (elmo-living-messages): New function.
8041         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8042         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8043         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8044         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8045         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8046         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8047         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8048         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8049         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8050         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8051         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8052
8053 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8054
8055         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8056
8057         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8058
8059         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8060
8061         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8062         arguments for `SEARCH' command.
8063         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8064         All other related portions are changed.
8065
8066         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8067
8068         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8069         (elmo-list-folder-unread): Rewrite.
8070         (elmo-list-folder-important): Ditto.
8071
8072         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8073         (elmo-condition-parse-error): New inline function.
8074         (elmo-read-search-condition): New function.
8075         (elmo-read-search-condition-internal): Ditto.
8076         (elmo-parse-search-condition): Rewrite.
8077         (elmo-condition-parse): New function.
8078         (elmo-condition-parse-or-expr): Ditto.
8079         (elmo-condition-parse-and-expr): Ditto.
8080         (elmo-condition-parse-primitive): Ditto.
8081         (elmo-condition-parse-search-value): Ditto.
8082         (elmo-buffer-field-primitive-condition-match): Ditto.
8083         (elmo-buffer-field-condition-match): Rewrite.
8084         (elmo-file-field-condition-match): Ditto.
8085
8086         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8087         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8088
8089         * elmo-internal.el (elmo-internal-search): Set `number' and
8090         `number-list' argument of `elmo-file-field-condition-match'.
8091
8092         * elmo-maildir.el (elmo-maildir-search): Ditto.
8093
8094         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8095         `msgdb' as argument instead of `mark-alist'.
8096         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8097         `overview'.
8098
8099         * elmo-multi.el: Likewise.
8100
8101         * elmo-pipe.el: Likewise.
8102
8103         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8104         (elmo-imap4-search-internal): Rewrite.
8105         (elmo-imap4-search): Ditto.
8106
8107         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8108         (elmo-filter-list-folder-unread): Ditto.
8109         (elmo-filter-list-folder-important): Ditto.
8110         (elmo-filter-search): Rewrite.
8111
8112         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8113         `number-list' argument of `elmo-file-field-condition-match'.
8114         (elmo-cache-search): Ditto.
8115
8116         * elmo-localdir.el: Likewise.
8117
8118         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8119         number-list and pass it to `elmo-buffer-field-condition-match'.
8120         (elmo-archive-field-condition-match): Pass `number-list' to
8121         `elmo-archive-field-condition-match'
8122
8123 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8124
8125         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8126         `listgroup'.
8127
8128         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8129         (elmo-folder-diff-async-callback-data): Ditto.
8130         (elmo-folder-diff-async): New function.
8131
8132         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8133         (elmo-network-session-cache-key): Use it as a prefix of the session
8134         name.
8135         (elmo-network-open-session): Ditto.
8136
8137         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8138         (elmo-imap4-status-callback-data): Ditto.
8139         (elmo-imap4-server-diff-async-callback): New variable.
8140         (elmo-imap4-server-diff-async-callback-data): Ditto.
8141         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8142         `elmo-imap4-status-callback-data'.
8143         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8144         `elmo-imap4-status-callback-data' as nil.
8145         (elmo-imap4-server-diff): Ditto.
8146         (elmo-imap4-server-diff-async-callback-1): New function.
8147         (elmo-imap4-server-diff-async): Ditto.
8148         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8149
8150 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8151
8152         * elmo-util.el (elmo-list-delete): Doc fix.
8153         (elmo-delete-lists): Abolish.
8154         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8155         instead of `elmo-delete-lists'.
8156
8157 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8158
8159         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8160         before `sort'.
8161
8162 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8163
8164         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8165         `elmo-imap4-literal-subr'.
8166         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8167         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8168
8169 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8170
8171         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8172         (elmo-archive-list-folder): Fix.
8173         (elmo-archive-max-of-folder): Fix.
8174
8175 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8176
8177         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8178          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8179         (elmo-localdir-append-msg): Ditto.
8180         (elmo-localdir-list-folder): Fix for `nonsort'.
8181         (elmo-localdir-list-folder-subr): Fix for `killed'.
8182         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8183         (elmo-maildir-list-folder-subr): Ditto.
8184         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8185         (elmo-archive-list-folder-subr): Ditto.
8186         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8187         (elmo-internal-list-folder-subr): Ditto.
8188
8189 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8190
8191         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8192
8193 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8194
8195         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8196
8197 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8198
8199         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8200         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8201
8202         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8203         before greeting.
8204         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8205         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8206
8207 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8208
8209         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8210
8211         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8212         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8213         before STORE command.
8214
8215 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8216
8217         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8218
8219         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8220         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8221         of `response'.
8222         (elmo-imap4-list-folders): Removed unused local variable.
8223         (elmo-network-initialize-session): Ditto.
8224         (elmo-imap4-delete-msg-by-id): Ditto.
8225         (elmo-imap4-parse-fetch): Ditto.
8226         (elmo-imap4-copy-msgs): Ditto.
8227         Use `dst-spec' instead of `dst-folder'.
8228         (elmo-network-authenticate-session): Check authenticate type `plain'.
8229
8230 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8231
8232         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8233         garbage checking.
8234         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8235         `elmo-imap4-response-value'.
8236         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8237
8238 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8239
8240         * elmo-imap4.el (elmo-imap4-send-command):
8241         Cause elmo-imap4-bye-error when current response is BYE.
8242         (elmo-imap4-arrival-filter): Changed greeting response value.
8243
8244         * elmo2.el (elmo-imap4-bye-error): Define.
8245
8246         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8247         (elmo-imap4-server-diff): Ditto.
8248         (elmo-imap4-response-bye-p): New macro.
8249         (elmo-imap4-response-error-text): Get text from BYE response.
8250         (elmo-imap4-read-response): Return if BYE response.
8251         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8252         (elmo-imap4-folder-exists-p): Ditto.
8253         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8254         (elmo-imap4-parse-bye): New function.
8255         (elmo-imap4-parse-response): Remove needless let.
8256         Call `elmo-imap4-parse-bye'.
8257
8258 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8259
8260         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8261         the mailbox does not exist.
8262         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8263
8264 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8265
8266         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8267
8268 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8269
8270         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8271
8272         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8273         (elmo-network-initialize-session-buffer): Defined.
8274
8275         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8276         Abolished.
8277         (mmelmo-imap4-get-mime-entity): Rewrite.
8278
8279         * elmo2.el (elmo-error): Capitalize error message.
8280
8281         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8282         (elmo-network-session-buffer): New macro.
8283         (elmo-network-open-session): Use it.
8284
8285         * elmo-imap4.el: Rewrite.
8286
8287 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8288
8289         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8290
8291 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8292
8293         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8294         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8295         (elmo-imap4-create-msgdb-from-overview-string): Use
8296         `elmo-msgdb-create-overview-from-buffer'.
8297
8298 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8299
8300         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8301         (elmo-imap4-default-hierarchy-delimiter): New variable.
8302         (elmo-imap4-list-folders): Use it.
8303
8304 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8305
8306         * elmo-net.el (elmo-network-open-session): Add user and
8307         stream-type for process-buffer name.
8308
8309         * elmo-pop3.el (elmo-network-initialize-session): Call
8310         buffer-disable-undo.
8311
8312         * elmo-imap4.el (elmo-network-initialize-session):
8313         Set current-buffer as an argument for `buffer-disable-undo'.
8314
8315         * elmo-pop3.el (elmo-network-close-session): Don't use
8316         `process-live-p'.
8317
8318         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8319         Set default as 'user.
8320
8321         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8322
8323         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8324         and `elmo-imap4-flush-connection'.
8325
8326         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8327         (elmo-pop3-get-spec): Assume auth as symbol.
8328         (elmo-open-network-stream): Moved to `elmo-net'.
8329
8330         * elmo-pop3.el (toplevel): Require 'elmo-net.
8331         Define `sasl-cram-md5' to silence byte compilier.
8332         (elmo-pop3-connection-cache) Abolished.
8333         (elmo-pop3-authenticator-alist) New variable.
8334         (elmo-pop3-session): Define.
8335         (elmo-pop3-connection-get-process): Abolished.
8336         (elmo-pop3-connection-get-buffer): Ditto.
8337         (elmo-pop3-close-connection): Ditto.
8338         (elmo-pop3-flush-connection): Ditto.
8339         (elmo-pop3-get-connection): Ditto.
8340         (elmo-pop3-get-session): New function.
8341         (Replacement for `elmo-pop3-get-connection').
8342         All other related modules are changed.
8343         (elmo-network-close-session): Define.
8344         (elmo-pop3-send-command): Abolished argument `buffer'.
8345         All other related modules are changed.
8346         (elmo-pop3-read-response): Likewise.
8347         (elmo-pop3-open-connection): Abolished.
8348         (elmo-pop3-auth-user): New function.
8349         (elmo-pop3-auth-apop): Ditto.
8350         (elmo-pop3-auth-cram-md5): Ditto.
8351         (elmo-pop3-auth-scram-md5): Ditto.
8352         (elmo-pop3-auth-digest-md5): Ditto.
8353         (elmo-network-initialize-session): Define.
8354         (elmo-network-authenticate-session): Ditto.
8355         (elmo-network-setup-session): Ditto.
8356
8357         * elmo-imap4.el (toplevel): Require 'elmo-net.
8358         (elmo-imap4-session): Define.
8359         (elmo-imap4-connection-cache): Abolished.
8360         (elmo-imap4-password-key): Ditto.
8361         (elmo-imap4-flush-connection): Ditto.
8362         (elmo-imap4-get-connection): Ditto.
8363         All other related modules are changed.
8364         (elmo-imap4-get-session): New function
8365         (Replacement for `elmo-imap4-get-connection').
8366         (elmo-imap4-read-response): Abolished argument `buffer'.
8367         All other related modules are changed.
8368         (elmo-imap4-send-command): Likewise.
8369         (elmo-imap4-select-folder): Abolished.
8370         All other related modules are changed.
8371         (elmo-imap4-select-mailbox): New function.
8372         (Replacement for `elmo-imap4-select-folder').
8373         (elmo-imap4-auth-login): Simplify.
8374         (Assume current buffer as process buffer)
8375         (elmo-imap4-auth-cram-md5): Ditto.
8376         (elmo-imap4-auth-digest-md5): Ditto.
8377         (elmo-imap4-login): Ditto.
8378         (elmo-imap4-open-connection): Abolished.
8379         (elmo-imap4-open-connection-1): Abolished.
8380         (elmo-network-initialize-sessoin): Define.
8381         (elmo-network-authenticate-session): Ditto.
8382         (elmo-network-setup-session): Ditto.
8383
8384         * elmo-net.el: New module.
8385
8386 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8387
8388         * elmo-util.el (elmo-define-error): New function.
8389
8390         * elmo2.el (elmo-error): Define.
8391         (elmo-open-error): Define.
8392         (elmo-authenticate-error): Define.
8393
8394         * elmo-imap4.el (elmo-imap4-error): Abolish.
8395         (elmo-imap4-error-type): Abolish.
8396         (elmo-imap4-error-process): Abolish.
8397         (elmo-imap4-error-message): Abolish
8398         (elmo-imap4-list-folders): Don't quote lambda.
8399         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8400         (elmo-imap4-parse-namespace): Ditto.
8401         (elmo-imap4-open-connection): Rewrite.
8402         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8403         (elmo-imap4-get-connection): Abolish local variable `result'.
8404
8405 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8406
8407         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8408         wrong-type-argument error when auth is nil.
8409
8410 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8411
8412         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8413         (elmo-default-nntp-stream-type): Ditto.
8414         (elmo-default-pop3-stream-type): Ditto.
8415         (elmo-network-stream-type-alist): Ditto.
8416         (elmo-default-imap4-ssl): Abolished.
8417         (elmo-default-nntp-ssl): Ditto.
8418         (elmo-default-pop3-ssl): Ditto.
8419
8420         * elmo-util.el: (toplevel): Removed needless requires.
8421         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8422         (elmo-open-network-stream): Open network stream according to
8423         the value of `elmo-network-stream-type-alist'.
8424         (elmo-get-network-stream-type): New function.
8425         (elmo-network-stream-type-spec-string): New macro.
8426         (elmo-network-stream-type-symbol): Ditto.
8427         (elmo-network-stream-type-function): Ditto.
8428
8429         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8430         network-stream-type. All other related portions are changed.
8431         (elmo-pop3-open-connection): Ditto.
8432
8433         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8434         network-stream-type. All other related portions are changed.
8435
8436         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8437         network-stream-type.All other related portions are changed.
8438         (elmo-imap4-error): New macro.
8439         (elmo-imap4-error-type): Ditto.
8440         (elmo-imap4-error-process): Ditto.
8441         (elmo-imap4-error-message): Ditto.
8442         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8443         (elmo-imap4-auth-cram-md5): Ditto.
8444         (elmo-imap4-auth-digest-md5): Ditto.
8445         (elmo-imap4-login): Ditto.
8446         (elmo-imap4-open-connection): Remove password entry if authentication
8447         was in vain.
8448         (elmo-imap4-user-at-host): Abolished.
8449         (elmo-imap4-password-key): New buffer local variable.
8450         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8451         using protocol, port, auth and stream-type.
8452
8453         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8454
8455 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8456
8457         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8458
8459         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8460
8461         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8462         (elmo-imap4-authenticator-alist): New variable.
8463         (elmo-imap4-open-connection-1): Rename from
8464         elmo-imap4-open-connection.
8465         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8466         only wraps elmo-imap4-open-connection-1.
8467         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8468         user-at-host.
8469         (elmo-imap4-auth-login): New function.
8470         (elmo-imap4-auth-cram-md5): New function.
8471         (elmo-imap4-auth-digest-md5): New function.
8472         (elmo-imap4-login): New function.
8473
8474 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8475
8476         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8477         function `error'.
8478
8479 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8480
8481         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8482
8483 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8484
8485         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8486
8487 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8488
8489         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8490         for server responses, quote `*' regardless of where it appears.
8491
8492 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8493
8494         * elmo-maildir.el (elmo-maildir-commit): New alias.
8495
8496 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8497
8498         * elmo-util.el (elmo-display-progress):
8499                 Use `progress-feedback-with-label'.
8500
8501 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8502
8503         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8504         (elmo-imap4-non-atom-char-regex): Ditto.
8505         (elmo-imap4-non-text-char-regex): Ditto.
8506         (elmo-imap4-literal-threshold): Ditto.
8507         (elmo-imap4-atom-p): New function.
8508         (elmo-imap4-quotable-p): Ditto.
8509         (elmo-imap4-nil): Ditto.
8510         (elmo-imap4-atom): Ditto.
8511         (elmo-imap4-quoted): Ditto.
8512         (elmo-imap4-literal-subr): Ditto.
8513         (elmo-imap4-literal): Ditto.
8514         (elmo-imap4-buffer-literal): Ditto.
8515         (elmo-imap4-string-subr): Ditto.
8516         (elmo-imap4-string): Ditto.
8517         (elmo-imap4-buffer-string): Ditto.
8518         (elmo-imap4-astring-subr): Ditto.
8519         (elmo-imap4-astring): Ditto.
8520         (elmo-imap4-buffer-astring): Ditto.
8521         (elmo-imap4-nstring): Ditto.
8522         (elmo-imap4-buffer-nstring): Ditto.
8523         (elmo-imap4-mailbox): New alias.
8524         (elmo-imap4-field-body): Ditto.
8525         (elmo-imap4-userid): Ditto.
8526         (elmo-imap4-password): Ditto.
8527         (elmo-imap4-format-quoted): New function.
8528         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8529         arguments and handle "atom", "quoted" and "literal" string here.
8530         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8531         `elmo-imap4-send-command'.
8532         (elmo-imap4-folder-exists-p): Likewise.
8533         (elmo-imap4-create-folder): Likewise.
8534         (elmo-imap4-delete-folder): Likewise.
8535         (elmo-imap4-rename-folder): Likewise.
8536         (elmo-imap4-max-of-folder): Likewise.
8537         (elmo-imap4-check-validity): Likewise.
8538         (elmo-imap4-sync-validity): Likewise.
8539         (elmo-imap4-server-diff): Likewise.
8540         (elmo-imap4-select-folder): Likewise.
8541         (elmo-imap4-copy-msgs): Likewise.
8542         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8543         (elmo-imap4-mark-set-on-msgs): Likewise.
8544         (elmo-imap4-read-part): Likewise.
8545         (elmo-imap4-read-msg): Likewise.
8546         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8547         `elmo-imap4-password' for `elmo-imap4-send-command'.
8548         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8549         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8550         `elmo-imap4-buffer-literal'.
8551         (elmo-imap4-append-msg): Likewise.
8552
8553         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8554         `delete' for removing dead connection from the connection cache.
8555         Move deletion of the process buffer after that.
8556         (elmo-imap4-list): Change `defsubst' to `defun'.
8557         (elmo-imap4-commit): Make error message verbose.
8558         (elmo-imap4-search): Ditto.
8559         (elmo-imap4-list): Ditto.
8560         (elmo-imap4-select-folder): Ditto.
8561         (elmo-imap4-copy-msgs): Ditto.
8562         (elmo-imap4-delete-msg-by-id): Ditto.
8563         (elmo-imap4-append-msg-by-id): Ditto.
8564         (elmo-imap4-append-msg): Ditto.
8565
8566 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8567
8568         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8569         when dired is used on XEmacs.
8570
8571 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8572
8573         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8574         instead of `append'.
8575         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8576         `elmo-plugged-p' directly.
8577         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8578         of `elmo-plugged-p' directly.
8579
8580         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8581         Eliminate unused variable.  Use `memq' for checking a process status.
8582         Use `cons' instead of `append' for updating the connection cache.
8583         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8584         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8585
8586 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8587
8588         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8589         `elmo-imap4-read-point' exactly.
8590
8591         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8592         the local variable `folder' to `mailbox'.
8593         Rename the argument `fld' to `folder'.
8594
8595 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8596
8597         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8598         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8599
8600 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8601
8602         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8603         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8604         (elmo-pop3-uidl-number-hash): Ditto.
8605         (elmo-pop3-size-hash): Ditto.
8606         (elmo-pop3-uidl-done): Ditto.
8607         (elmo-pop3-list-done): Ditto.
8608         (elmo-pop3-connection-get-process): New defmacro.
8609         (elmo-pop3-connection-get-buffer): Ditto.
8610         (elmo-pop3-close-connection): Delete buffer and process.
8611         (elmo-pop3-flush-connection): Don't delete buffer and process.
8612         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8613         Setup UIDL and size hash.
8614         (elmo-pop3-send-command-no-erase): Deleted
8615         (elmo-pop3-send-command): Added optional argument `no-erase'.
8616         (elmo-pop3-parse-uidl-response): New function.
8617         (elmo-pop3-parse-list-response): Set size hash.
8618         (elmo-pop3-list-location): New function.
8619         (elmo-pop3-list-by-uidl-subr): Ditto.
8620         (elmo-pop3-list-by-list): Ditto.
8621         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8622         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8623         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8624         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8625         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8626         Use uidl.
8627         (elmo-pop3-uidl-to-number): New function.
8628         (elmo-pop3-number-to-uidl): Ditto.
8629         (elmo-pop3-number-to-size): Ditto.
8630         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8631         Set number by use of uidl.
8632         (elmo-pop3-msgdb-create-message): Likewise.
8633         Set size, loc-alist in msgdb.
8634         (elmo-pop3-read-msg): Set number by use of uidl.
8635         Added optional argument `msgdb'.
8636         (elmo-pop3-delete-msg): Ditto.
8637         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8638         (elmo-pop3-commit): Close connection.
8639
8640         * elmo-pipe.el (elmo-pipe-max-of-folder):
8641         Bind `elmo-pop3-use-uidl' as nil.
8642         (elmo-pipe-drain): Ditto.
8643         Call `elmo-commit'.
8644
8645         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8646         (elmo-msgdb-overview-entity-set-size): New defsubst.
8647
8648 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8649
8650         * elmo-vars.el (elmo-use-killed-list): New variable
8651         (Renamed from `elmo-nntp-use-killed-list').
8652         (elmo-nntp-use-killed-list): Eliminated.
8653
8654         * elmo-msgdb.el (elmo-msgdb-expand-path):
8655         Changed expanding msgdb path for elmo-multi.
8656
8657         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8658         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8659         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8660         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8661         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8662         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8663         (toplevel): Deleted time-stamp line.
8664
8665         * elmo2.el (elmo-clear-killed ): Defined as function
8666         (Abolished defining as a backend function).
8667         All other related modules are changed.
8668
8669 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8670
8671         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8672
8673 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8674
8675         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8676
8677 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8678
8679         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8680
8681 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8682
8683         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8684         asynchronous folder check.
8685
8686         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8687
8688         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8689         `elmo-nntp-use-killed-list'.
8690         (elmo-nntp-list-folder): Use killed list.
8691         (elmo-nntp-max-of-folder): Ditto.
8692         (elmo-nntp-msgdb-create): Set killed list.
8693
8694         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8695
8696         * elmo2.el (elmo-clear-killed): New backend function.
8697         All other related modules are changed.
8698
8699 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8700
8701         * elmo-util.el (elmo-imap4-spec-folder): Use
8702         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8703         All callers changed.
8704
8705 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8706
8707         * mmelmo-2.el (initialize-instance):
8708         Use `mime-buffer-entity-buffer-internal' instead of
8709         `mime-entity-buffer'.
8710
8711         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8712         (mime-entity-body): Implemented.
8713         (mime-goto-header-start-point): Deleted.
8714         (mime-goto-body-end-point): Ditto.
8715         (mime-entity-point-min): Ditto.
8716         (mime-entity-point-max): Ditto.
8717         (mime-entity-children): Ditto.
8718         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8719         instead of `mime-entity-buffer'.
8720         (mime-entity-header-buffer): Ditto.
8721         (mime-entity-body-buffer): Ditto.
8722         (mime-write-entity-content): Ditto.
8723
8724         * pldap.el (ldap-static-if): New macro.
8725         (toplevel): Use it instead of `static-if'.
8726
8727 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8728
8729         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8730         included in `attrs' argument.
8731
8732 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8733
8734         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8735
8736         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8737         (ldap-ldif-safe-init-char-regexp): Ditto.
8738         (ldap-ldif-safe-string-regexp): Ditto.
8739         (ldap/ldif-safe-string-p): New macro.
8740         (ldap/ldif-insert-field): Ditto.
8741         (ldap-modify): Use it.
8742         (ldap-add): Ditto.
8743         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8744         (ldap-decode-attribute): Decode only when `attr' is consp.
8745         (ldap-delete): Bind `ret'.
8746         (toplevel): Require 'cl at compile time.
8747         Removed (require 'poe) and (require 'std11).
8748         (pldap-version): Eliminated.
8749         (ldap-search-basic): Removed auth and dn binding.
8750         (ldap-ldif-field-name-regexp): New constant.
8751         (ldap-ldif-field-head-regexp): Ditto.
8752         (ldap-ldif-next-field-head-regexp): Ditto.
8753         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8754         (ldap/field-end): New function.
8755         (ldap/field-body): Use it.
8756         (ldap/collect-field): Ditto.
8757         (ldap-search-basic): Use `ldap/field-body'.
8758
8759 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8760
8761         * pldap.el (ldap-default-attribute-encoder): New user option.
8762         (ldap/field-body): Decode base64 string.
8763         (ldap/collect-field): Ditto.
8764         (ldap-encode-attribute): New function.
8765         (ldap-add-entries): Use it.
8766         (ldap-modify-entries): Ditto.
8767         (ldap-search-entries): Enclosed decoding function with
8768         `with-temp-buffer' and set as unibyte.
8769         (ldap-search-basic): Set process buffer as unibyte.
8770
8771         * elmo-util.el (elmo-folder-identical-system-p):
8772         Eliminated name space checking.
8773
8774         * pldap.el: New module.
8775         toplevel: Changed condition to detect built-in ldap feature.
8776         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8777         (ldap-add): Added error handling.
8778         (ldap-modify): Ditto.
8779         (ldap-delete): Ditto.
8780
8781 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8782
8783         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8784         Initialize local variables with `let'.  Inline a temporary
8785         variable for the progress percentage.  Sort `setq' to reduce
8786         function call in the while-loop.
8787
8788         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8789         into the conditional branch.
8790
8791 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8792
8793         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8794         Move a conditional out of the while-loop.
8795
8796 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8797
8798         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8799         elmo-msgdb-overview-get-entity-by-number.
8800         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8801         throw.
8802
8803 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8804
8805         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8806         the local variable for a packed number self descriptively.
8807
8808 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8809
8810         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8811         * elmo-localdir.el (elmo-localdir-pack-number): Use
8812         `elmo-msgdb-overview-get-entity' instead of
8813         `elmo-msgdb-overview-get-entity-by-number'.
8814         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8815         (elmo-msgdb-search-overview-entity): Removed.
8816         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8817         by message-id or number.
8818         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8819         instead of `elmo-msgdb-overview-get-entity-by-number'.
8820
8821 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8822
8823         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8824         non-nil, use hash table for overview.
8825         (elmo-hash-maximum-size): New variable.
8826         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8827         (elmo-msgdb-make-overview-hashtb): New function.
8828         (elmo-msgdb-clear-overview-hashtb): New function.
8829         (elmo-clear-hash-val): New macro.
8830         All other related modules are changed.
8831
8832 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8833
8834         * elmo2.el (elmo-move-msgs): If there's other message with
8835         same message-id, don't use cache.
8836
8837 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8838
8839         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8840         number is already packed.
8841
8842 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8843
8844         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8845
8846 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8847
8848         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8849         All other related modules are changed.
8850
8851 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8852
8853         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8854         of refiling failure on Maildir.
8855
8856 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8857
8858         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8859         decoded mime-charset with cache.
8860         (elmo-msgdb-overview-entity-get-from): Ditto.
8861         (elmo-msgdb-overview-entity-get-subject): Ditto.
8862         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8863
8864 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8865
8866         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8867         (elmo-remove-passwd): Fill password with 0 before erase.
8868         * elmo-vars.el (elmo-passwd-life-time): New variable.
8869
8870 \f
8871 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8872
8873         * elmo-cache.el (elmo-buffer-cache-add):
8874         Set message cache buffer as unibyte.
8875
8876 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8877
8878         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8879         become nil.
8880
8881 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8882
8883         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8884         when display is finished.
8885         (elmo-nntp-msgdb-create): Ditto.
8886         (elmo-nntp-groups-read-response): Ditto.
8887         (elmo-nntp-retrieve-headers): Ditto.
8888         (elmo-nntp-msgdb-create-message): Ditto.
8889         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8890         (elmo-pop3-msgdb-create-message): Ditto.
8891
8892 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8893
8894         * elmo-maildir.el (elmo-maildir-msgdb-create):
8895         Use `elmo-msgdb-sort-by-date'.
8896
8897 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8898
8899         * elmo2.el (elmo-read-msg-no-cache):
8900         Eliminated arguments after `outbuf'.
8901         Don't use cache even if it exists.
8902         (elmo-read-msg): Don't pass arguments after `outbuf' to
8903         `elmo-read-msg-no-cache'.
8904
8905 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8906
8907         * elmo-archive.el (elmo-archive-list-folders):
8908         Use `file-name-directory' if base folder does not exist.
8909
8910 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8911
8912         * elmo-archive.el (elmo-archive-list-folders): Don't use
8913         `file-name-directory'.
8914
8915 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8916
8917         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8918         If `force' is non-nil, try flushing all operation queues.
8919
8920 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8921
8922         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8923         as-binary-process.
8924
8925 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8926
8927         * elmo-util.el (elmo-display-progress): Fixed.
8928
8929 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8930
8931         * elmo-util.el (elmo-display-progress): New function.
8932         All other related modules are changed.