ea1aa77e3314cb42574045944424d9fb74f75f47
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
4         `elmo-spam-process-messages-as-mbox'.
5
6         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
7
8 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9
10         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
11         argument BUFFER of `call-process'.
12
13 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
14
15         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
16         args.
17         (elsp-bsfilter-list-spam-files): Ditto.
18
19 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
20
21         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
22         (elmo-spam-bsfilter-max-messages-per-process): New use option.
23         (elmo-spam-bsfilter-debug): Fix a group.
24         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
25         `--homedir'.
26         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
27         (elsp-bsfilter-list-spam-files): New function.
28         (elmo-spam-list-spam-messages): Define.
29         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
30         (elmo-spam-bsfilter-register-messages): New function.
31         (elmo-spam-register-spam-messages): Define.
32         (elmo-spam-register-good-messages): Ditto.
33
34         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
35
36         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
37         `nconc' and `consp'.
38
39 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
40
41         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
42         hash table to test whether a location is exists.
43
44 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
45
46         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
47         even if some error occurred.
48
49         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
50         meaningless unwind-protect.
51
52         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
53         start-number correctly.
54         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
55         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
56
57 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
58
59         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
60         (elmo-folder-initialize): Use it.
61         (elmo-global-flag-replace-referrer): New function.
62
63         * elmo.el (toplevel): Added autoload setting for
64         `elmo-global-flag-replace-referrer'.
65         (elmo-folder-rename): Rewrite the last change use
66         `elmo-global-flag-replace-referrer'.
67
68         * elmo-pipe.el (elmo-folder-rename): Call
69         `elmo-global-flag-replace-referrer'.
70
71 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
72
73         * elmo.el (elmo-folder-rename): Set meta data for global flags
74         follow the rename.
75
76 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
77
78         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
79         as 'not-loaded.
80         (elmo-folder-close): Ditto.
81         (elmo-filter-folder-number-list-loaded-p): New function.
82         (elmo-filter-folder-number-list): Check whether loaded or not.
83         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
84         of `elmo-filter-folder-number-list-internal'.
85         (elmo-folder-delete-messages): Ditto.
86         (elmo-folder-length): Check whether number-list is loaded or not.
87
88 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
89
90         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
91         field `real field' into each element of list.
92         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
93         (elmo-msgdb-message-entity-field): Ditto.
94         (modb-entity-ml-info-real-fields): New function.
95
96         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
97
98         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
99         `elmo-msgdb-extra-fields'.
100
101 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
102
103         * elmo-util.el (elmo-passwd-alist-load): Move point to min
104         position before read.
105
106 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
107
108         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
109         (elmo-global-flags-initialize): Ditto.
110
111 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
112
113         * elmo-archive.el (toplevel): Don't require emu, std11
114         and elmo-localdir.
115
116         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
117         definition.
118
119 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
120
121         * elmo.el (elmo-folder-confirm-appends): Display folder name.
122
123 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
124
125         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
126         literals.
127
128 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
129
130         * elmo-maildir.el (elmo-maildir-list-location): Reduce
131         `elmo-get-last-modification-time' call.
132
133 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
134
135         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
136         expression.
137         (elmo-maildir-set-mark): Ditto.
138         (elmo-maildir-delete-mark): Ditto.
139
140 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
141
142         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
143         optional argument `separators'.
144
145 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
146
147         * elmo.el (cache-changed): Abolish.
148         (status-changed): New signal.
149         (elmo-message-killed-p): New generic function and define for
150         elmo-folder.
151         (elmo-folder-recover-messages): Ditto.
152         (elmo-message-set-cached): Emit signal `status-changed' instead of
153         `cache-changed'.
154         (elmo-message-status): New macro.
155         (elmo-message-status-folder): Ditto.
156         (elmo-message-status-number): Ditto.
157         (elmo-message-status-set-flags): Ditto.
158         (elmo-message-status-set-killed): Ditto.
159         (elmo-message-status-flags): New function.
160         (elmo-message-status-cached-p): Ditto.
161         (elmo-message-status-killed-p): Ditto.
162
163         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
164         `status-changed' instead of `cache-changed'.
165         (elmo-folder-recover-messages): Define.
166         (elmo-message-killed-p): Ditto.
167
168         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
169         `status-changed' instead of `cache-changed'.
170
171         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
172         (elmo-message-killed-p): Define.
173         (elmo-folder-recover-messages): Ditto.
174
175         * elmo-version.el (elmo-version): Up to 2.15.3.
176
177 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
178
179         * elmo-signal.el (elmo-signal-bindings): Use cons to append
180         element into list.
181         (elmo-define-signal-handler): Add docstring.
182         (elmo-define-signal-filter): Ditto.
183
184         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
185
186 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
187
188         * elmo-util.el (elmo-flatten): Don't use recursive call.
189
190         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
191         assignment.
192         (elmo-folder-message-make-temp-files): Use `number-to-string'
193         instead of `int-to-string'.
194
195 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
196
197         * elmo-search.el (elmo-folder-delete-messages): Define.
198
199 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
200
201         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
202         customization type.
203         (elmo-mailing-list-count-spec-list): Ditto.
204
205         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
206         for `list-id'.
207
208 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
209
210         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
211         handling.
212
213 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
214
215         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
216         (elmo-mailing-list-count-spec-list): Ditto.
217
218         * elmo-util.el (elmo-map-until-success): New function.
219         (elmo-string-match-substring): Ditto.
220         (elmo-find-list-match-value): Ditto.
221
222         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
223         Removed.
224         (modb-entity-extract-ml-info-from-subject): Ditto.
225         (modb-entity-extract-ml-info-from-return-path): Ditto.
226         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
227         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
228         (modb-entity-extract-ml-info-from-mailman): Ditto.
229         (modb-entity-extract-mailing-list-info-functions): Ditto.
230         (modb-entity-extract-mailing-list-info): Rewrite with
231         `elmo-find-list-match-value'.
232
233 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
234
235         * elmo-net.el (elmo-network-session-retry-count): New user option.
236         (elmo-network-session-buffer-name): New internal function.
237         (elmo-network-session-buffer-create): Ditto.
238         (elmo-network-open-session): Retry open network session
239         `elmo-network-session-retry-count' times.
240
241 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
242
243         * elmo-util.el (elmo-list-filter): Rewritten.
244
245 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
246
247         * elmo-util.el (elmo-string-member): Allow symbol element in list.
248
249 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
250
251         * elmo-search.el (elmo-make-search-engine): Use prefix
252         `elmo-search-' for require symbol instead of `else-'.
253         (elmo-search-engine-extprog): New class.
254         (elmo-search-engine-do-search): Remove nil from argument
255         list. Added argument pattern to evaluate element as function.
256         (elmo-search-engine-local-file): Derived from
257         `elmo-search-engine-extprog'.
258         (elmo-search-engine-create-message-entity): Check existance of file.
259         (elmo-search-engine-fetch-message): Ditto.
260         (elmo-search-namazu-index): Follow the API change.
261         (elmo-search-grep-target): Ditto.
262
263 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
264
265         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
266         characters of working buffer.
267
268         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
269         Does not bind `default-mime-charset'.
270         (elmo-msgdb-create-message-entity-from-buffer): Removed
271         unnecessary local bind.
272
273         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
274         function.
275         (modb-entity-extract-mailing-list-info-functions): Added it.
276
277 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
278
279         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
280         when number and message-id are non-nil.
281
282         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
283
284         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
285         conditional steatment.
286         (elmo-pop3-auth-apop): Likewise.
287         (elmo-network-authenticate-session): Likewise.
288
289 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
290
291         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
292         symbol `fill-column'.
293         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
294         decode field value.
295
296         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
297         (elmo-decoded-field-body): Ditto.
298
299 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
300
301         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
302         `tokens' to `params'.
303
304 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
305
306         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
307         working buffer.
308
309 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
310
311         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
312         decide index.
313
314 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
315
316         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
317         Set default value as nil.
318         (toplevel): Register search engines by
319         `elmo-search-register-engine' if there are not defined.
320
321         * elmo.el (autoload): Added autoload setting for
322         `elmo-search-register-engine'.
323
324 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
325
326         * elmo.el (toplevel): `[' is redefined as the prefix of the search
327         folder instead of nmz folder.
328         (elmo-nmz-default-index-path): Added obsolete variable setting.
329         (elmo-nmz-index-alias-alist): Ditto.
330         (elmo-nmz-use-drive-letter): Ditto.
331
332         * elmo-search.el (elmo-search-register-engine): New function.
333
334         * elmo-nmz.el: Removed.
335
336         * elmo-version.el (elmo-version): Up to 2.15.2.
337
338 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
339
340         * elmo-search.el: New file.
341
342 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
343
344         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
345         condition `larger' and `smaller'.
346
347 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
348
349         * elmo-util.el (elmo-safe-filename): Rewrite to replace
350         `"' (double quote) into "_Q_".
351
352 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
353
354         * elmo-net.el (elmo-net-quote-chars): Abolish.
355         (elmo-net-format-quoted): Ditto.
356
357 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
358
359         * elmo.el (elmo-get-folder-function): New variable.
360         (elmo-get-folder): New function.
361         (elmo-folder-rename): Call `elmo-make-folder' with specified
362         mime-charset.
363
364         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
365         `elmo-make-folder'.
366         (elmo-split-subr): Ditto.
367
368         * elmo-multi.el (elmo-folder-initialize): Ditto.
369
370         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
371
372         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
373         (elmo-flag-get-folder): Ditto.
374
375         * elmo-filter.el (elmo-folder-initialize): Ditto.
376
377         * elmo-access.el (elmo-folder-initialize): Ditto.
378         (elmo-access-folder-update-children): Ditto.
379
380         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
381         (elmo-dop-queue-flush): Ditto.
382         (elmo-folder-append-buffer-dop-delayed): Ditto.
383         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
384         mime-charset.
385
386         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
387         instead of `elmo-make-folder'.
388         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
389         destination folder instead of send `elmo-folder-rename-internal'.
390
391         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
392         slot of subfolder instead of create it.
393
394 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
395
396         * elmo-util.el (elmo-collect-separators): New function.
397         (elmo-collect-separators-internal): Ditto.
398         (elmo-collect-trail-separators): Ditto.
399         (elmo-parse-separated-tokens): Ditto.
400         (elmo-parse-separated-tokens-internal): Ditto.
401         (elmo-quote-syntactical-element): Ditto.
402
403         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
404         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
405
406         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
407         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
408         (elmo-nntp-folder-list-subfolders): Quote a user name.
409
410         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
411         (elmo-net-parse-network): Abolish.
412         (elmo-net-folder-set-parameters): New function.
413         (elmo-folder-initialize): Follow the above change.
414
415         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
416         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
417         (elmo-folder-list-subfolders): Use
418         `elmo-quote-syntactical-element' instead of
419         `elmo-net-format-quoted' to quote mailbox and user name.
420
421 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
422
423         * elmo-util.el (elmo-token-valid-p): New function.
424         (elmo-parse-token): Add optional argument `requirement'.
425         (elmo-parse-prefixed-element): Likewise.
426
427         * elmo-net.el (elmo-net-quote-chars): Renamed from
428         `elmo-net-quote-chars-regexp'.
429         (elmo-net-format-quoted): Add optional argument `extra-chars'.
430
431         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
432         by info document. Check token `uidl' is started an alphabet.
433
434         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
435         by info document. Check token `user' is started an alphabet.
436
437         * elmo-imap4.el (elmo-folder-initialize): Ditto.
438         (elmo-folder-list-subfolders): Quote user.
439
440 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
441
442         * elmo-util.el (elmo-quoted-specials-list): New constant.
443         (elmo-quoted-token): New function.
444
445         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
446         (elmo-net-format-quoted): New function.
447         (elmo-net-parse-network): Ditto.
448         (elmo-folder-initialize): Use it.
449
450         * elmo-nntp.el (elmo-folder-initialize): Use
451         `elmo-net-parse-network' to parse network specification instead of
452         `elmo-folder-initialize#elmo-net'.
453
454         * elmo-pop3.el (elmo-folder-initialize): Ditto.
455
456         * elmo-imap4.el (elmo-folder-initialize): Ditto.
457         (elmo-folder-list-subfolders): Quote folder name by
458         `elmo-net-format-quoted'.
459
460 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
463         (elmo-folder-search): Use it.
464
465 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
466
467         * modb-standard.el (modb-standard-loaded-message-id): Use
468         `elmo-msgdb-message-entity-field'.
469
470 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
473         without filename.
474
475 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
476
477         * elmo-util.el (elmo-set-auto-coding): New function.
478         (elmo-object-load): Use it.
479
480 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
481
482         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
483         (elmo-time<): Define as alias of `elmo-time-less-p'.
484         (elmo-time-to-datevec): New function.
485
486         * elmo-date.el (elmo-time-to-days): New function.
487
488 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
491         is not cons cell.
492
493 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
496         parenthesis.
497
498         * elmo-util.el (elmo-map-recursive): New function.
499
500         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
501         (modb-entity-encode-string-recursive): Ditto.
502
503 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
504
505         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
506         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
507         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
508         compare sequence number when last modified time is nil.
509
510 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
511
512         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
513
514         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
515
516 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
517
518         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
519         modification time of the file.
520
521 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
522
523         * elmo-util.el (elmo-condition-optimize): Discriminated against
524         preserved fields, extra fields and the other weight.
525
526 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
527
528         * modb-entity.el (initialize-instance): Define.
529         (modb-entity-handler-mime-charset): New internal function.
530         (modb-standard-entity-set-field): Use it.
531         (elmo-msgdb-message-entity-field): Ditto.
532         (elmo-msgdb-message-entity-field): Ditto.
533
534         * modb.el (elmo-msgdb-match-condition): Rewrite with
535         `elmo-condition-match'.
536         (elmo-msgdb-match-condition-primitive): New function.
537
538         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
539         arguments `flags' and `numbers'.
540         (elmo-msgdb-match-condition-primitive): Abolished (merged to
541         `elmo-msgdb-message-match-condition').
542         (modb-buffer-entity-handler): New class.
543
544         * elmo.el (elmo-folder-search): Optimize condition to use
545         `elmo-condition-optimize'.
546         (elmo-message-buffer-match-condition): New function.
547         (elmo-message-match-condition): Use
548         `elmo-message-buffer-match-condition' instead of
549         `elmo-buffer-field-condition-match'.
550
551         * elmo-util.el (elmo-condition-match): New function.
552         (elmo-condition-optimize): Ditto.
553         (elmo-buffer-field-primitive-condition-match): Abolish.
554         (elmo-buffer-field-condition-match): Ditto.
555
556         * elmo-archive.el (elmo-archive-field-condition-match): Use
557         `elmo-message-buffer-match-condition' instead of
558         `elmo-buffer-field-condition-match'.
559
560 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
561
562         * elmo-flag.el (elmo-global-flags-initialize): Check the
563         existence of the flag directory.
564
565 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
566
567         * elmo-access.el (elmo-folder-initialize): Call
568         `elmo-multi-connect-signals'.
569
570         * elmo-pipe.el (elmo-folder-close): Define.
571
572         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
573         children folders.
574
575         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
576         with target folder.
577
578         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
579         `number'.
580
581         * elmo-multi.el (elmo-message-entity): Don't use return value of
582         `elmo-message-entity-set-number'.
583
584 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
585
586         * modb.el (modb-generic): Added slot `mime-charset'.
587
588         * modb-standard.el (modb-standard): Added slot `overview-handler'.
589         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
590         and `modb-entity-handler-dump-parameters'.
591         (modb-standard-default-entity-handler): Abolish.
592         (elmo-msgdb-message-entity-handler): Save created handler by
593         instance slot.
594
595         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
596         (modb-entity-handler-list-parameters): New method.
597         (modb-entity-handler-equal-p): New function.
598         (modb-entity-handler-dump-parameters): Ditto.
599         (modb-entity-parse-address-string): Encode return value.
600         (modb-entity-make-address-string): Decode argument value.
601         (modb-entity-decode-string-recursive): New function.
602         (modb-entity-encode-string-recursive): Ditto.
603         (modb-standard-entity-normalizer): Set to encode field value.
604         (modb-standard-entity-specializer): Follow the above change.
605         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
606         mime-charset of handler.
607         (elmo-msgdb-message-entity-field): Ditto.
608         (elmo-msgdb-copy-message-entity): Fixed reference to internal
609         structure.
610         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
611
612         * elmo.el (elmo-folder): Added slot `mime-charset'.
613         (elmo-make-folder): Added argument `mime-charset'.
614         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
615         `mime-charest'.
616
617         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
618         (elmo-make-msgdb): Likewise.
619
620         * elmo-internal.el (elmo-internal-folder-initialize): Call
621         `luna-make-entity' with :mime-charset parameter.
622
623 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
624
625         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
626         encoded words in `from' and `subject' field.
627
628 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
629
630         * modb.el (elmo-msgdb-message-field): Add argument `type'.
631         (elmo-msgdb-match-condition): Get handler from entity instead of
632         msgdb.
633
634         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
635         (modb-standard-load-entity): Treat new file format.
636         (modb-standard-save-entity-1): Save as new file format.
637         (modb-standard-save-entity): Split messages into section here.
638         (elmo-msgdb-message-field): Follow the API change.
639         (modb-standard-default-entity-handler): New internal variable.
640         (elmo-msgdb-message-entity-handler): Define.
641
642         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
643         to `elmo-vars.el'.
644         (modb-entity-field-extractor-alist): New user option.
645         (elmo-msgdb-message-entity-field): Removed argument `decode' and
646         added argument `type'.
647         (elmo-msgdb-copy-message-entity): Add optional argument
648         `make-handler'.
649         (modb-set-field-converter): New function.
650         (modb-convert-field-value): Ditto.
651         (modb-entity-string-decoder): Ditto.
652         (modb-entity-string-encoder): Ditto.
653         (modb-entity-parse-date-string): Ditto.
654         (modb-entity-make-date-string): Ditto.
655         (modb-entity-mime-decoder): Ditto.
656         (modb-entity-mime-encoder): Ditto.
657         (modb-entity-address-list-decoder): Ditto.
658         (modb-entity-address-list-encoder): Ditto.
659         (modb-entity-parse-address-string): Ditto.
660         (modb-entity-make-address-string): Ditto.
661         (modb-entity-create-field-indices): Ditto.
662         (modb-legacy-entity-field-slots): New constant.
663         (modb-legacy-entity-field-indices): Ditto.
664         (modb-legacy-entity-normalizer): New variable.
665         (modb-legacy-entity-specializer): Ditto.
666         (modb-legacy-entity-field-index): New macro.
667         (modb-legacy-entity-set-field): New function.
668         (modb-legacy-make-message-entity): Rewrite.
669         (elmo-msgdb-create-message-entity-from-buffer): Use
670         `elmo-msgdb-get-references-from-buffer'. Use
671         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
672         Use `modb-legacy-entity-set-field' instead of
673         `elmo-msgdb-message-entity-set-field'.
674         (elmo-msgdb-message-entity-field): Rewrite.
675         (elmo-msgdb-message-entity-set-field): Ditto.
676         (elmo-msgdb-copy-message-entity): Make new entity by
677         `make-handler' if it specified.
678         (elmo-msgdb-message-match-condition): Define a method of
679         `modb-entity-handler' and follow the API change.
680         (modb-standard-entity-handler): New class.
681         (modb-entity-extract-ml-info-from-x-sequence): New function.
682         (modb-entity-extract-ml-info-from-subject): Ditto.
683         (modb-entity-extract-ml-info-from-return-path): Ditto.
684         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
685         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
686         (modb-entity-extract-mailing-list-info): Ditto.
687         (modb-entity-extract-mailing-list-info-functions): New variable.
688
689         * elmo.el (elmo-message-field): Add optional argument `type'.
690
691         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
692         from `modb-entity.el'.
693
694         * elmo-util.el (elmo-object-load): Decode by coding-system from
695         `set-auto-coding-function'.
696         (elmo-object-save): Use `detect-mime-charset-region' and add
697         coding cookie if encode.
698         (elmo-msgdb-get-references-from-buffer): New function.
699         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
700
701         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
702
703         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
704         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
705         instead of `shimbun-make-header' and follow the API change.
706         (elmo-shimbun-update-overview): Follow the API change.
707         (elmo-map-folder-list-message-locations): Ditto.
708
709         * elmo-pipe.el (elmo-message-field): Ditto.
710
711         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
712         Ditto.
713
714         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
715
716         * elmo-multi.el (elmo-message-field): Ditto.
717
718         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
719         (elmo-msgdb-sort-by-date): Ditto.
720         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
721         `elmo-message-entity-field'.
722         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
723         change.
724         (elmo-msgdb-overview-entity-get-from): Ditto.
725         (elmo-msgdb-overview-entity-get-subject): Ditto.
726         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
727         (elmo-msgdb-overview-entity-get-date): Ditto.
728         (elmo-msgdb-overview-entity-get-to): Ditto.
729         (elmo-msgdb-overview-entity-get-cc): Ditto.
730
731         * elmo-mime.el (elmo-message-mime-entity): Ditto.
732         (elmo-mime-collect-message/partial-pieces): Ditto.
733
734         * elmo-filter.el (elmo-message-field): Ditto.
735
736         * elmo-date.el (elmo-datevec-to-time): New function.
737         (elmo-time-parse-date-string): Ditto.
738         (elmo-time-make-date-string): Ditto.
739         (elmo-time<): Ditto.
740
741         * elmo-version.el (elmo-version): Up to 2.15.1.
742
743 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
744
745         * elmo-flag.el (elmo-global-flags-initialize): Don't include
746         member of elmo-local-flags.
747
748 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
749
750         * elmo-version.el (elmo-version): Up to 2.15.0.
751
752 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
755         `ignore-msgdb' is non-nil.
756
757 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
758
759         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
760         (elmo-condition-in-msgdb-p): Ditto.
761         (elmo-file-field-primitive-condition-match): Ditto.
762         (elmo-file-field-condition-match): Ditto.
763
764         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
765
766 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
767
768         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
769         subdirectories here.
770         (elmo-global-flags-initialize): New function.
771
772         * elmo.el (toplevel): Added autoload setting for
773         `elmo-global-flags-initialize'.
774
775 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
776
777         * elmo.el (message-number-changed): Define new signal.
778         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
779         message-number-changed signal.
780         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
781         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
782         Respect `elmo-pack-number-check-strict'.
783
784 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
785
786         * elmo-signal.el (elmo-connect-signal): Document.
787         (elmo-emit-signal): Ditto.
788         (elmo-emit-signal): It should pass source argument to filter and
789         handler, not slot-source.
790
791 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
792
793         * modb.el (elmo-msgdb-update-entity): New API and define generic
794         implement.
795
796         * modb-standard.el (elmo-msgdb-update-entity): Define.
797
798         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
799         API and define generic implement.
800
801         * elmo.el (update-overview): New singnal.
802
803         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
804         `elmo-msgdb-update-entity' and emit signal `update-overview'.
805         (elmo-message-entity-parent): Define.
806
807         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
808         `update-overview'.
809
810         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
811
812         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
813
814 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
815
816         * elmo.el (elmo-folder-synchronize): Sort the return value of
817         `elmo-list-diff'.
818
819         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
820         list.
821
822 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
823
824         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
825         `default-enable-multibyte-characters'.
826         (elmo-object-load): Use `with-temp-buffer' instead of
827         `elmo-set-work-buf'.
828         (elmo-object-save): Ditto.
829         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
830         `elmo-set-work-buf'.
831         (elmo-decoded-field-body): Ditto.
832
833         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
834
835         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
836         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
837
838         * elmo-version.el (elmo-version): Up to 2.13.3.
839
840 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
841
842         * elmo-util.el (elmo-list-diff): Fix the last change.
843         Reverse order of result lists.
844
845 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
846
847         * modb-standard.el (elmo-msgdb-set-flag): Use
848         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
849         (elmo-msgdb-unset-flag): Ditto.
850
851         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
852         `elmo-list-diff'.
853
854         * elmo-util.el (elmo-list-diff): Rewrite.
855         (elmo-list-diff-nonsortable): New function.
856
857 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
858
859         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
860         `elmo-multibypte-buffer-name'.  All referers are updated.
861
862 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
863
864         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
865         (elmo-mime-entity-fragment-p): New function.
866         (mime-elmo-buffer-entity): Added slot `reassembled'.
867         (elmo-message-mime-entity): Added 4th argument `reassemble'.
868         (elmo-message-mime-entity-internal): New function (renamed from
869         `elmo-message-mime-entity').
870         (elmo-mime-inherit-field-list-from-enclosed): New constant.
871         (elmo-mime-make-reassembled-mime-entity): New function.
872         (elmo-message-reassembled-mime-entity): Ditto.
873         (elmo-mime-collect-message/partial-pieces): Ditto.
874
875 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
876
877         * elmo.el (elmo-message-fetch-string): Disable multibyte.
878
879         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
880         (elmo-with-enable-multibyte): New macro.
881
882         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
883
884 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
885
886         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
887         argument `number'.
888         (elmo-filter-connect-signals): Follow the above change.
889
890 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
891
892         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
893
894         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
895         that only the first flag is used.
896
897 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
898
899         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
900         if available.
901
902 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
903
904         * elmo-signal.el: New file.
905
906         * elmo.el (toplevel): Require elmo-signal.
907         (flag-changing, flag-changed, cache-changed): New signal.
908         (elmo-folder): Remove slog `handlers'.
909         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
910         `elmo-folder-notify-event'.
911         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
912         (elmo-folder-unset-flag): Ditto.
913         (elmo-event-handler): Abolish.
914         (elmo-event-handler-flag-changed): Ditto.
915         (elmo-event-handler-cache-changed): Ditto.
916         (elmo-folder-add-handler): Ditto.
917         (elmo-folder-remove-handler): Ditto.
918         (elmo-folder-notify-event): Ditto.
919
920         * elmo-pipe.el (toplevel): Require elmo-signal.
921         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
922         (elmo-pipe-connect-signals): New function.
923         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
924         (elmo-folder-set-flag): Ditto.
925         (elmo-folder-unset-flag): Ditto.
926         (elmo-message-set-cached): Ditto.
927
928         * elmo-multi.el (toplevel): Require elmo-signal.
929         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
930         (elmo-multi-connect-signals): New function.
931         (elmo-multi-map-numbers): Ditto.
932         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
933         (elmo-message-fetch): Ditto.
934         (elmo-folder-set-flag): Ditto.
935         (elmo-folder-unset-flag): Ditto.
936
937         * elmo-filter.el (toplevel): Require elmo-signal.
938         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
939         (elmo-filter-connect-signals): New function.
940         (elmo-filter-add-flag-count): Ditto.
941         (elmo-message-fetch): Does not call
942         `elmo-filter-folder-countup-message-flags' and
943         `elmo-folder-notify-event'.
944         (elmo-message-set-cached): Ditto.
945         (elmo-folder-set-flag): Ditto.
946         (elmo-folder-unset-flag): Ditto.
947
948         * elmo-version.el (elmo-version): Up to 2.13.2.
949
950 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
951
952         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
953         `flags'.
954
955 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
956
957         * elmo-filter.el (elmo-message-set-cached): Call
958         `elmo-folder-notify-event' with event `cache-changed'.
959
960         * elmo-multi.el (elmo-message-set-cached): Ditto.
961
962         * elmo-pipe.el (elmo-message-set-cached): Ditto.
963
964 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
965
966         * elmo.el (elmo-folder-encache): Abolish.
967
968 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
969
970         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
971         (elmo-folder-next-message-number-dop): Return appropriate negative
972         integer.
973
974 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
975
976         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
977         clearing pending operations.
978         (elmo-folder-next-message-number-dop): Return appropriate negative
979         integer.
980
981 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
982
983         * elmo.el (toplevel): Added autoload setting for `md5'.
984         (elmo-msgdb-path-encode-threshold): New user option.
985         (elmo-folder-msgdb-path): Encode msgdb path if its length is
986         longer than `elmo-msgdb-path-encode-threshold'.
987
988         * elmo-flag.el (elmo-global-mark-migrate): Use
989         `elmo-folder-expand-msgdb-path' instead of
990         `elmo-folder-msgdb-path'.
991
992 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
993
994         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
995         element of the difference is nil.
996
997 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
998
999         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1000         to the check logic of file systems which are weak in colon character.
1001
1002 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1003
1004         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1005
1006 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1007
1008         * elmo-maildir.el (elmo-maildir-move-file): New function.
1009         (elmo-folder-append-buffer): Use it.
1010         (elmo-folder-append-messages): Ditto.
1011         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1012
1013         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1014         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1015
1016         * elmo-maildir.el (elmo-maildir-separator): New user option.
1017         (elmo-maildir-adjust-separator): New macro.
1018         (elmo-maildir-list-location): Use it.
1019         (elmo-maildir-update-current): Ditto.
1020         (elmo-maildir-set-mark): Ditto.
1021         (elmo-maildir-delete-mark): Ditto.
1022         (These changes are based on Hiroya Murata's patch [wl: 13437])
1023
1024 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1025
1026         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1027
1028 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1031         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1032         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1033
1034 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1035
1036         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1037         Use `with-temp-buffer'.
1038
1039 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1040
1041         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1042
1043         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1044         `wl-read-search-condition').
1045         (elmo-read-search-condition-internal): Likewise.
1046
1047         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1048         (elmo-flag-valid-p): New function.
1049         (elmo-folder-initialize): Check flag name is valid.
1050
1051 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1052
1053         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1054         delimiter to obtain root mailbox itself.
1055
1056 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1057
1058         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1059         type mismatch.
1060
1061 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1062
1063         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1064         as t.
1065
1066 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1067
1068         * elmo-shimbun.el (toplevel): Require cl at compile.
1069
1070         * elmo-nntp.el (toplevel): Ditto.
1071
1072         * elmo-nmz.el (toplevel): Ditto.
1073
1074         * elmo-multi.el (toplevel): Ditto.
1075
1076         * elmo-file.el (toplevel): Ditto.
1077
1078         * elmo-dop.el (toplevel): Ditto.
1079
1080         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1081
1082 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1083
1084         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1085         as nil.
1086
1087         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1088         size of elmo-message-fetch-internal is 0 byte.
1089
1090 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1091
1092         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1093
1094 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1095
1096         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1097         always plugged.
1098
1099 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1100
1101         * elmo-maildir.el (elmo-map-message-fetch): Call
1102         `elmo-map-folder-set-flag'.
1103
1104         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1105         (elmo-message-fetch): Merge from
1106         `elmo-message-fetch-with-cache-process'.
1107
1108         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1109         (elmo-message-fetch): Define.
1110
1111         * elmo-nntp.el (elmo-message-fetch): Renamed from
1112         `elmo-message-fetch-with-cache-process'.
1113
1114         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1115         (elmo-message-fetch): Define.
1116
1117         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1118         search-key.
1119
1120         * elmo-shimbun.el (shimbun-mua-search-id): Use
1121         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1122         (elmo-shimbun-folder-shimbun-header): Ditto.
1123         (elmo-shimbun-get-headers): Ditto.
1124         (elmo-shimbun-update-overview): Ditto.
1125
1126         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1127
1128         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1129         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1130
1131 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1132
1133         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1134         message is cached.
1135         (elmo-message-fetch-string): Fixed argument.
1136
1137 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1138
1139         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1140         exchange order of arguments `section' and `unread'.
1141         (elmo-message-encache): Follow the API change.
1142         (elmo-message-match-condition): Ditto.
1143         (elmo-generic-folder-append-messages): Ditto.
1144         (elmo-message-fetch-string): New function.
1145
1146         * elmo-split.el (elmo-split-subr): Ditto.
1147
1148         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1149
1150         * elmo-pipe.el (elmo-message-fetch): Ditto.
1151
1152         * elmo-multi.el (elmo-message-fetch): Ditto.
1153
1154         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1155
1156         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1157
1158         * elmo-filter.el (elmo-message-fetch): Ditto.
1159
1160         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1161
1162         * elmo-imap4.el (mime-imap-location-section-body): Use
1163         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1164         follow the API change.
1165
1166 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1167
1168         * elmo-access.el: New file.
1169
1170         * elmo-null.el: Ditto.
1171
1172         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1173
1174 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1175
1176         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1177         (elmo-network-session): New attribute `last-accessed'.
1178         (elmo-network-get-session): Discard network cache if elapsed time
1179         since last-accessed is larger than elmo-network-session-idle-timeout.
1180
1181 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1182
1183         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1184         and added `number', `require-entireness'.
1185         (elmo-find-fetch-strategy): Rewrite.
1186         (elmo-message-fetch): Unset `unread' flag when argument unread is
1187         non-nil.
1188
1189         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1190
1191         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1192         (elmo-message-fetch): Notify event `flag-changed'.
1193
1194         * elmo-pipe.el: Likewise.
1195
1196         * elmo-mime.el (elmo-mime-entity): New class.
1197         (elmo-mime-entity-display-p): New generic function.
1198         (elmo-mime-entity-display): Ditto.
1199         (elmo-mime-entity-display-as-is): Ditto.
1200         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1201         elmo-mime-entity.
1202         (elmo-make-mime-message-location): Removed.
1203         (elmo-mime-message-display): Ditto.
1204         (elmo-mime-display-as-is): Ditto.
1205         (elmo-message-mime-entity): New function.
1206
1207         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1208
1209         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1210         change.
1211         (elmo-message-fetch): Re-count flagged message number and notify
1212         event `flag-changed'.
1213
1214         * elmo-version.el (elmo-version): Up to 2.13.1.
1215
1216 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1217
1218         * elmo-filter.el (elmo-message-field): Define.
1219         (elmo-message-set-field): Ditto.
1220
1221 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1222
1223         * elmo.el (elmo-message-set-cached): Call
1224         `elmo-folder-notify-event' with cache-changed.
1225         (elmo-event-handler-cache-changed): New generic function.
1226
1227 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1228
1229         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1230         instead of elmo-add-name-to-file.
1231         (elmo-folder-append-messages): Ditto.
1232
1233 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1234
1235         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1236
1237 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1238
1239         * elmo-version.el (elmo-version): Up to 2.13.0.
1240
1241         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1242         `auto'.
1243
1244         * modb-standard.el (modb-standard-economize-entity-size): Changed
1245         default value to `t'.
1246
1247         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1248         `standard'.
1249
1250         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1251         after parsing greeting string.
1252
1253 2004-11-23  Daishi Kato <daishi@axlight.com>
1254
1255         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1256         New user option.
1257         (elmo-spam-spamoracle-call): Use it.
1258
1259 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1260
1261         * elmo.el (elmo-message-accessible-p): Message in dop spool
1262         is accessible.
1263
1264 2004-11-23  Daishi Kato <daishi@axlight.com>
1265
1266         * elsp-spamoracle.el: New file.
1267
1268 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1269
1270         * elmo.el (elmo-message-flags-for-append): New function.
1271         (elmo-generic-folder-append-messages): Use it.
1272
1273         * elmo-split.el (elmo-split-subr): Ditto.
1274
1275         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1276         `flags' and use elmo-folder-append-buffer instead of
1277         write-region-as-binary.
1278         (elmo-dop-filter-pending-messages): New function.
1279         (elmo-folder-append-buffer-dop): Call
1280         elmo-dop-spool-folder-append-buffer with `flag'.
1281         (elmo-folder-set-flag-dop): Filter messages by
1282         elmo-dop-filter-pending-messages.
1283         (elmo-folder-unset-flag-dop): Ditto.
1284         (elmo-folder-append-buffer-dop-delayed): Use
1285         elmo-message-flags-for-append to get flags of the message and
1286         simplify.
1287
1288 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1289
1290         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1291
1292 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1293
1294         * elmo.el (elmo-folder): Added handlers slot.
1295         (elmo-event-handler): New class.
1296         (elmo-event-handler-flag-changed): New API.
1297         (elmo-folder-add-handler): New function.
1298         (elmo-folder-remove-handler): Ditto.
1299         (elmo-folder-notify-event): Ditto.
1300         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1301         `flag-changed'.
1302         (elmo-folder-unset-flag): Ditto.
1303
1304         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1305         (elmo-folder-unset-flag): Ditto.
1306
1307         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1308         (elmo-folder-unset-flag): Ditto.
1309
1310         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1311         (elmo-folder-unset-flag): Ditto.
1312
1313         * elmo-version.el (elmo-version): Up to 2.11.33.
1314
1315 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1316
1317         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1318
1319 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1320
1321         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1322
1323         * elmo-flag.el (elmo-folder-unset-flag): Define.
1324         (elmo-global-flag-detach): Do process when the flag is not target
1325         flag.
1326
1327 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1328
1329         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1330         variable.
1331         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1332
1333 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1334
1335         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1336         function.
1337         (elmo-folder-delete-messages): Detach messages before delete
1338         messages from target folder.
1339         (elmo-folder-detach-messages): Set updated number-list to slot.
1340
1341 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1342
1343         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1344
1345 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1346
1347         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1348
1349 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1350
1351         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1352         internal use only).
1353         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1354         not modified.
1355         (elmo-folder-delete-messages): Define.
1356         (elmo-folder-move-messages): Don't call
1357         `elmo-folder-detach-messages'.
1358         (elmo-folder-synchronize): Rewrite.
1359         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1360
1361         * elmo-util.el (elmo-last): New function.
1362         (elmo-set-list): Ditto.
1363         (elmo-number-set-delete-list): Ditto.
1364         (elmo-number-set-delete): Ditto.
1365
1366         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1367
1368         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1369         `elmo-folder-delete-messages' and don't delete location map.
1370         (elmo-folder-detach-messages): Define.
1371
1372         * elmo-imap4.el (elmo-folder-delete): Use
1373         `elmo-folder-delete-messages-internal' instead of
1374         `elmo-folder-delete-messages'.
1375
1376         * elmo-filter.el (elmo-folder-delete-messages): Call
1377         `elmo-folder-detach-messages'.
1378         (elmo-folder-detach-messages): Don't call
1379         `elmo-folder-detach-messages' for target folder.
1380
1381         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1382         message deletion is succeeded.
1383
1384         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1385
1386         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1387         from `elmo-folder-delete-messages'.
1388
1389         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1390
1391         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1392
1393         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1394
1395         * elmo-version.el (elmo-version): Up to 2.11.32.
1396
1397 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1398
1399         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1400         (elmo-global-flag-list): Added obsolete variable setting.
1401
1402         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1403
1404         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1405         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1406         `elmo-mime-display-header-analysis' is nil.
1407
1408         * elmo-flag.el (elmo-global-flags): Renamed from
1409         `elmo-global-flag-list' (All other related portions are changed).
1410         (elmo-local-flags): New variable.
1411         (elmo-local-flag-p): New function.
1412         (elmo-global-flag-set-internal): Cause an error when flag is not
1413         global.
1414
1415 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1416
1417         * elmo-util.el (elmo-concat-path): Treat empty path.
1418
1419 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1420
1421         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1422         field-or-fields).
1423         (elmo-split-address-match): Ditto.
1424         (elmo-split-equal): Ditto.
1425         (elmo-split-match): Ditto.
1426
1427 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1428
1429         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1430         (elmo-generic-folder-append-messages): If src message exists but
1431         has no flag, pass (read) for the FLAG argument of
1432         `elmo-folder-append-buffer'. Otherwise, pass nil.
1433
1434         * elmo-split.el (elmo-split-subr): Likewise.
1435
1436         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1437
1438         * elmo-multi.el (elmo-message-flags): Ditto.
1439
1440         * elmo-filter.el (elmo-message-flags): Ditto.
1441
1442         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1443         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1444         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1445         
1446 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1447
1448         * elmo-split.el (elmo-split-rule): Update comment.
1449         (elmo-split-address-equal): Allow 2nd argument to be a list.
1450         (elmo-split-address-match): Ditto.
1451         (elmo-split-equal): Ditto.
1452         (elmo-split-match): Ditto.
1453
1454 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1455
1456         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1457         (elmo-folder-append-msgdb): Don't treat `read'.
1458         (elmo-message-flags): Don't return `read'.
1459
1460         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1461         (elmo-folder-unset-read-delayed): Ditto.
1462
1463         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1464
1465 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1466
1467         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1468         deletion.
1469
1470 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1471
1472         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1473         header.
1474
1475 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1476
1477         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1478         here.
1479         (elmo-msgdb-save): Bind inhibit-quit.
1480         (modb-standard-message-entity): Ditto.
1481
1482 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1483
1484         * elmo-database.el: No need to require elmo-msgdb.
1485
1486 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1487
1488         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1489         instead of `elmo-list-subdirectories'.
1490
1491 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1492
1493         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1494         group entry.
1495         (elmo-folder-exists-p): "[" is empty.
1496         (elmo-folder-list-subfolders): Define.
1497         (elmo-folder-have-subfolder-p): Ditto.
1498
1499 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1500
1501         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1502
1503 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1504
1505         * elmo-filter.el (elmo-folder-local-p): Define.
1506
1507 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1508
1509         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1510         when entity is garbaged.
1511         (modb-standard-save-entity-1): Don't modify the original entity.
1512
1513 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1514
1515         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1516
1517 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1518
1519         * elmo.el (elmo-strict-folder-diff): Use
1520         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1521
1522 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1523
1524         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1525         (elmo-msgdb-message-number): Ditto.
1526         (elmo-msgdb-message-field): Ditto.
1527
1528         * modb-standard.el (modb-standard-economize-entity-size): New user
1529         option.
1530         (modb-standard-loaded-message-id): New inline function.
1531         (modb-standard-load-entity): Use it.
1532         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1533         throw message-id string away.
1534         (elmo-msgdb-flag-available-p): Define.
1535         (elmo-msgdb-message-number): Ditto.
1536         (elmo-msgdb-message-field): Ditto.
1537
1538         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1539         (suppoted -> supported).
1540         (modb-legacy-supported-flag-p): Ditto.
1541         (elmo-msgdb-set-flag): Ditto.
1542         (elmo-msgdb-unset-flag): Ditto.
1543         (elmo-msgdb-flag-available-p): Define.
1544
1545         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1546         is `t', treat it as legacy entity.
1547         
1548         * elmo.el (elmo-message-flag-available-p): New generic function.
1549         (elmo-message-number): Ditto.
1550         (elmo-message-field): Use `elmo-msgdb-message-field'.
1551
1552         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1553
1554         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1555         (elmo-message-number): Ditto.
1556
1557         * elmo-multi.el (elmo-message-number): Define.
1558         (elmo-message-flag-available-p): Ditto.
1559
1560         * elmo-filter.el (elmo-message-flag-available-p): Define.
1561         (elmo-message-number): Ditto.
1562
1563         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1564         (elmo-folder-initialize): Load `max-number'.
1565         (elmo-folder-commit): Save it.
1566         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1567         (elmo-global-flag-set-internal): Set up max-number slot.
1568
1569 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1570
1571         * elmo-version.el (elmo-version): Up to 2.11.31.
1572
1573 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1574
1575         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1576         unibyte string of the current buffer for the argument of `md5'
1577         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1578
1579 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1580
1581         * modb-legacy.el (modb-legacy-flag-list): New constant.
1582         (modb-legacy-suppoted-flag-p): New internal function.
1583         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1584         (elmo-msgdb-unset-flag): Ditto.
1585
1586 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1587
1588         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1589
1590         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1591         from msgdb.
1592
1593 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1594
1595         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1596         (follow the API change).
1597
1598         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1599
1600 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1601
1602         * modb-standard.el (modb-standard-digest-flags): Abolish.
1603         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1604
1605         * elmo-vars.el (elmo-digest-flags): New variable.
1606         (elmo-preserved-flags): Moved from elmo-flag.el.
1607
1608         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1609         (elmo-imap4-flag-to-imap-criteria): Ditto.
1610         (elmo-imap4-folder-list-flagged): Use it.
1611
1612         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1613
1614         * elmo.el (elmo-folder-count-flags): Changed return value.
1615
1616         * elmo-flag.el (elmo-preserved-flags): New variable.
1617         (elmo-get-global-flags): Use it.
1618
1619         * modb-standard.el (modb-standard-digest-flags): New variable.
1620         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1621         Changed behavior of `any'.
1622
1623         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1624         which are defined the Internet draft
1625         (draft-melnikov-imap-keywords-03.txt).
1626         (elmo-imap4-flags-to-imap): New function.
1627         (elmo-folder-append-buffer): Use it.
1628
1629         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1630         in the docstring.
1631
1632         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1633         avoid the bug of Emacs 21.3.
1634
1635 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1636
1637         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1638         function find-coding-system does not exist.
1639
1640 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1641
1642         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1643         parsing.
1644
1645 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1646
1647         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1648         response codes.
1649
1650 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1651
1652         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1653         (elmo-network-close-session): Follow the changes in
1654         `elmo-pop3-read-response'.
1655         (elmo-pop3-auth-user): Ditto.
1656         (elmo-pop3-auth-apop): Ditto.
1657         (elmo-network-initialize-session): Ditto.
1658         (elmo-network-authenticate-session): Ditto.
1659         (elmo-network-setup-session): Ditto.
1660         (elmo-folder-status): Ditto.
1661         (elmo-message-fetch-plugged): Ditto.
1662         (elmo-pop3-delete-msg): Ditto.
1663
1664 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1665
1666         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1667         on failure.
1668
1669 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1670
1671         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1672         style.
1673         (elmo-bind-directory): Ditto.
1674
1675 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1676
1677         * elmo.el (elmo-folder-append-messages): Note on return value.
1678         * elmo-archive.el (elmo-folder-append-messages): Don't return
1679         message numbers which could not be appended.
1680
1681 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1682
1683         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1684
1685 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1686
1687         * elmo-version.el (elmo-version): Up to 2.11.30.
1688
1689 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1690
1691         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1692         `mask'.
1693
1694         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1695
1696         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1697         (elmo-multi-split-numbers): Add elmo-folder object into each
1698         element of return value at first.
1699         (elmo-folder-delete-messages): Follow the above change.
1700         (elmo-folder-detach-messages): Ditto.
1701
1702         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1703         number which is synchronized in target folder.
1704
1705 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1706
1707         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1708         Change default value to symbol `all'.
1709         (elmo-map-message-fetch): Change condition to update overview
1710         follow the above.
1711
1712 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1713
1714         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1715         behavior to update overview.
1716         (elmo-shimbun-update-overview-folder-list): Note it.
1717
1718 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1719
1720         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1721         recursive call.
1722
1723 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1724
1725         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1726         buffer-disable-undo, it is unnecessary.
1727         (elmo-spam-register-good-messages): Ditto.
1728
1729         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1730         Ditto.
1731
1732         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1733
1734 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1735
1736         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1737         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1738         elmo-set-buffer-multibyte.
1739         (elmo-object-load): Ditto.
1740         (elmo-save-buffer): Ditto.
1741         (elmo-delete-char): Ditto.
1742         (elmo-file-field-primitive-condition-match): Ditto.
1743         (elmo-mime-string): Ditto.
1744
1745         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1746         (elmo-archive-field-condition-match): Ditto.
1747
1748         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1749
1750         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1751
1752         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1753         (elmo-nntp-msgdb-create-message): Ditto.
1754
1755         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1756
1757         * elmo.el (elmo-message-match-condition): Ditto.
1758         (elmo-message-match-condition): Ditto.
1759
1760         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1761         Ditto.
1762
1763         * elmo-version.el (elmo-version): Up to 2.11.29.
1764
1765         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1766         (elsp-header): New backend.
1767
1768         * elmo-util.el (elmo-decoded-field-body): New function.
1769
1770 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1771
1772         * elmo-version.el (elmo-version): Up to 2.11.28.
1773
1774 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1775
1776         * elmo-filter.el: Rewrite.
1777
1778         * elmo-version.el (elmo-version): Up to 2.11.27.
1779
1780 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1781
1782         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1783         msgdb path for the localdir folder with absolute path.
1784
1785         * utf7.el: Synch up with latest gnus/utf7.el;
1786         Modified for latest Emacs.
1787
1788 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1789
1790         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1791         shimbun backend couldn't open.
1792
1793 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1794
1795         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1796         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1797         when a destination folder is a filter folder.
1798
1799 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1800
1801         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1802         (elmo-generic-folder-append-messages): Call elmo-message-flags
1803         with argument `msgid'.
1804
1805         * elmo-split.el (elmo-split-subr): Ditto.
1806
1807         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1808
1809         * elmo-multi.el (elmo-message-flags): Ditto.
1810
1811 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1812
1813         * elmo.el (elmo-folder): Add new slot `flag-table'.
1814         (elmo-folder-flag-table): New API.
1815         (elmo-folder-close-flag-table): Ditto.
1816         (elmo-folder-preserve-flags): New function.
1817         (elmo-generic-folder-append-messages): Use
1818         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1819         Flag of a non-registered message, it sets to nil.
1820         Does not set flag to flag-table.
1821
1822         * elmo-maildir.el (elmo-folder-append-buffer): Use
1823         `elmo-folder-preserve-flags'.
1824         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1825         `elmo-folder-close-flag-table'.
1826
1827         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1828         (elmo-archive-folder-append-buffer): Use
1829         `elmo-folder-preserve-flags'.
1830
1831         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1832
1833         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1834
1835         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1836         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1837         `elmo-folder-close-flag-table'.
1838
1839         * elmo-version.el (elmo-version): Up to 2.11.26.
1840
1841 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1842
1843         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1844
1845         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1846         md5's 4th and 5th argument (non-existent in flim one).
1847
1848 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1849
1850         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1851         message, It sets to nil.
1852
1853 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1854
1855         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1856         list is non-nil.
1857
1858 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1859
1860         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1861
1862         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1863
1864         * elmo-util.el (elmo-uniq-sorted-list): New function.
1865         (elmo-make-number-list): Ditto.
1866         (elmo-number-set-to-number-list): Use elmo-make-number-list
1867         and don't use nreverse.
1868
1869 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1870
1871         * elmo-version.el (elmo-version): Up to 2.11.25.
1872
1873 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1874
1875         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1876         field not exists in message, Use md5 message digest of header.
1877
1878 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1879
1880         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1881         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1882         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1883         * elmo-split.el (elmo-split-subr): Check return value of
1884         elmo-folder-append-buffer.
1885
1886         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1887         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1888
1889         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1890         message-id.
1891
1892 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1893
1894         * elmo-split.el (elmo-split-subr): Append message with flag.
1895
1896         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1897         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1898         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1899
1900 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1901
1902         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1903         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1904         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1905
1906 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1907
1908         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1909         with a function call of `process-buffer'.  All callers are updated.
1910         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1911         Remove redundant `set-buffer' in a while loop.
1912
1913 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1914
1915         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1916         calls.
1917
1918 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1919
1920         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1921         elsp-spamfilter-register-buffer-internal with current buffer.
1922         (elmo-spam-register-spam-buffer): Ditto.
1923         (elmo-spam-register-good-buffer): Ditto.
1924
1925 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1926
1927         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1928         if it is not contained in the response(A workaround for courier-imap).
1929
1930 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1931
1932         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1933         parenthesis.
1934
1935 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1936
1937         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1938         range.
1939
1940 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1941
1942         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1943         of nconc.
1944
1945         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1946         argument handler.
1947         (elmo-msgdb-message-match-condition): Follow the change above.
1948
1949 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1950
1951         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1952         folder name.
1953
1954 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1955
1956         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1957
1958 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1959
1960         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1961
1962 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1963
1964         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1965         not found.
1966
1967 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1968
1969         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1970         value.
1971         (elmo-file-command-argument): Undo last change for cygwin.
1972         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1973         Don't return nil.
1974         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1975
1976 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1977
1978         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1979         value returned from elmo-file-find is nil.
1980
1981 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1982
1983         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1984         to elmo-vars.el.
1985
1986         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1987         instead of insert-file-contents-as-binary.
1988         (elmo-message-set-field): New generic function.
1989
1990         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1991         behavior change on `split-string'.
1992
1993         * elmo-file.el (elmo-file-find): New function.
1994         (elmo-file-command): New user option.
1995         (elmo-file-command-argument): Ditto.
1996         (elmo-file-fetch-max-size): Ditto.
1997         (elmo-file-detect-format): New function.
1998         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1999         Use elmo-file-detect-format.
2000         (elmo-map-folder-list-message-locations): Don't treat directories.
2001
2002 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2003
2004         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2005         (elmo-passwd-alist-clear): Shred password before clear.
2006         (elmo-remove-passwd): Remove all mached pair.
2007
2008 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2009
2010         * elmo.el (elmo-folder-synchronize): Fix description of the return
2011         value.
2012
2013 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2014
2015         * elmo.el (elmo-message-fetch-bodystructure): New method.
2016         (elmo-message-fetch-bodystructure): Define default.
2017
2018         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2019         elmo-message-fetch-bodystructure.
2020         (elmo-message-fetch-bodystructure): Define.
2021
2022         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2023
2024 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2025
2026         * elmo-filter.el (elmo-message-folder): Define.
2027
2028 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2029
2030         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2031         elmo-delete-cr-buffer.
2032
2033         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2034
2035         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2036
2037         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2038
2039         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2040         type seems to be a text.
2041
2042 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2043
2044         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2045         (elmo-spam-register-good-buffer): Ditto.
2046         (elmo-spam-spamassassin-register-messages): Ditto.
2047
2048         * elmo-util.el (elmo-string-member-ignore-case): Define with
2049         static-cond.
2050
2051 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2052
2053         * elmo.el (elmo-folder-type): Undo last change.
2054
2055         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2056
2057         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2058         warnings.
2059
2060         * elmo-file.el: New file.
2061         
2062         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2063
2064         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2065         variable.
2066         (elmo-spam-spamassassin-register-messages): New inline function.
2067         (elmo-spam-register-spam-messages): Define.
2068         (elmo-spam-register-good-messages): Ditto.
2069
2070         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2071         Fixed typo.
2072
2073         * elmo.el (toplevel): Added autoload setting for
2074         `elmo-get-global-flags'.
2075         (elmo-message-has-global-flag-p): New function.
2076         (elmo-message-set-global-flags): Ditto.
2077         (elmo-folder-type): Improvement for name: format.
2078
2079         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2080         availability of keyword flags.
2081         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2082         (elmo-folder-list-flagged-plugged): Renamed from
2083         elmo-folder-list-flagged-unplugged.
2084         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2085         accept any flag as keyword flag.
2086         (elmo-folder-set-flag-plugged): Accept keyword flags.
2087         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2088
2089         * elmo-flag.el (elmo-get-global-flags): New function.
2090
2091         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2092         folders.
2093
2094         * elmo-version.el (elmo-version): Up to 2.11.24.
2095
2096 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2097
2098         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2099         elmo-multiple-field-body instead of std11-field-body to check all
2100         headers.
2101
2102 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2103
2104         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2105         or "size".
2106
2107 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2108
2109         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2110         unintern is unbound.
2111
2112 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2113
2114         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2115         Protect from infinite loop.
2116
2117 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2118
2119         * elsp-bogofilter.el
2120         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2121         (elmo-spam-bogofilter-register-messages): New internal function.
2122         (elmo-spam-register-spam-messages): Define.
2123         (elmo-spam-register-good-messages): Ditto.
2124
2125 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2126
2127         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2128         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2129         (elmo-spam-bogofilter-call): Fixed the last change.
2130         (elmo-spam-bogofilter-arguments): Ditto.
2131
2132         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2133         Follow the options change of latest bogofilter.
2134
2135         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2136         (elmo-spam-bogofilter-good-switch): Ditto.
2137         (elmo-spam-bogofilter-arguments-alist): New user option.
2138         (elmo-spam-bogofilter-debug): Ditto.
2139         (elmo-spam-bogofilter-call): Renamed from
2140         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2141         is non-nil, insert output in buffer for debug.
2142         (elmo-spam-bogofilter-arguments): New macro.
2143         (elmo-spam-buffer-spam-p): Use it.
2144         (elsp-bogofilter-register-buffer): Ditto.
2145
2146 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2147
2148         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2149         regexp.
2150
2151 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2152
2153         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2154         value as "ruby".
2155         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2156         (elmo-spam-bsfilter-program): Set default value as full path for
2157         `bsfilter'.
2158         (elmo-spam-bsfilter-debug): New user option.
2159         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2160         non-nil, insert output in buffer for debug. Fix treating of
2161         argument.
2162
2163 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2164
2165         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2166         `elmo-maildir-flag-specs' element instead of one.
2167         (elmo-map-folder-unset-flag): Ditto.
2168         (Reported by Ken Makimura <macky@astem.or.jp>)
2169
2170         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2171         (elmo-folder-unset-flag-plugged): Ditto.
2172
2173 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2174
2175         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2176         to `reads' slot only if `in-msgdb' is nil.
2177
2178 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2179
2180         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2181         and complement argument list.
2182
2183 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2184
2185         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2186         instead of elmo-folder-list-flagged.
2187
2188 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2189
2190         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2191
2192         * elsp-bsfilter.el: New file.
2193
2194         * elmo-pipe.el (elmo-folder-list-unreads,
2195         elmo-folder-list-answereds,
2196         elmo-folder-list-importants,
2197         elmo-folder-flag-as-important,
2198         elmo-folder-unflag-important,
2199         elmo-folder-flag-as-read,
2200         elmo-folder-unflag-read,
2201         elmo-folder-flag-as-answered,
2202         elmo-folder-unflag-answered): Remove.
2203         (elmo-folder-set-flag): Define.
2204         (elmo-folder-unset-flag): Ditto.
2205
2206         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2207         (elmo-folder-set-flag): Define.
2208         (elmo-folder-unset-flag): Ditto.
2209         (elmo-folder-list-unreads): Remove.
2210         (elmo-folder-list-flagged): Define.
2211
2212         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2213         (elmo-folder-list-unreads,
2214         elmo-folder-list-importants,
2215         elmo-folder-list-answereds,
2216         elmo-folder-list-unreads-plugged,
2217         elmo-folder-list-importants-plugged,
2218         elmo-folder-list-answereds-plugged): Remove.
2219         (elmo-folder-list-flagged-plugged): New method.
2220         (elmo-folder-unflag-important,
2221         elmo-folder-flag-as-important,
2222         elmo-folder-unflag-read,
2223         elmo-folder-flag-as-read,
2224         elmo-folder-unflag-answered,
2225         elmo-folder-flag-as-answered,
2226         elmo-folder-flag-as-read-unplugged,
2227         elmo-folder-unflag-read-unplugged,
2228         elmo-folder-flag-as-important-unplugged,
2229         elmo-folder-unflag-important-unplugged,
2230         elmo-folder-flag-as-answered-unplugged,
2231         elmo-folder-unflag-answered-unplugged): Remove.
2232         (elmo-folder-set-flag): Define.
2233         (elmo-folder-unset-flag): Ditto.
2234         (elmo-folder-set-flag-unplugged): Ditto.
2235         (elmo-folder-unset-flag-unplugged): Ditto.
2236
2237         * elmo-multi.el (elmo-folder-list-unreads,
2238         elmo-folder-list-answereds,
2239         elmo-folder-list-importants,
2240         elmo-folder-flag-as-important,
2241         elmo-folder-unflag-important,
2242         elmo-folder-flag-as-read,
2243         elmo-folder-unflag-read,
2244         elmo-folder-flag-as-answered,
2245         elmo-folder-unflag-answered): Remove.
2246         (elmo-folder-set-flag): Define.
2247         (elmo-folder-unset-flag): Ditto.
2248
2249         * elmo-map.el (elmo-map-folder-unflag-important,
2250         elmo-map-folder-flag-as-important,
2251         elmo-map-folder-unflag-read,
2252         elmo-map-folder-flag-as-read,
2253         elmo-map-folder-unflag-answered,
2254         elmo-map-folder-flag-as-answered): Remove.
2255         (elmo-map-folder-set-flag): New method.
2256         (elmo-map-folder-unset-flag): Ditto.
2257         (elmo-map-folder-list-unreads,
2258         elmo-map-folder-list-importants,
2259         elmo-map-folder-list-answereds): Remove.
2260         (elmo-folder-list-flagged-internal): Define.
2261         (elmo-map-folder-list-flagged): New method.
2262
2263         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2264         (elmo-map-folder-list-unreads,
2265         elmo-map-folder-list-importants,
2266         elmo-map-folder-list-flagged): Remove.
2267         (elmo-map-folder-list-flagged): Define.
2268         (elmo-map-folder-flag-as-important,
2269         elmo-map-folder-unflag-important,
2270         elmo-map-folder-flag-as-read,
2271         elmo-map-folder-unflag-read,
2272         elmo-map-folder-flag-as-answered,
2273         elmo-map-folder-unflag-answered): Remove.
2274         (elmo-maildir-set-mark-messages): New internal function.
2275         (elmo-map-folder-set-flag): Define.
2276         (elmo-map-folder-unset-flag): Ditto.
2277
2278         * elmo.el (toplevel): Added autoload setting for
2279         `elmo-folder-list-global-flag-messages'.
2280         (elmo-folder-list-unreads,
2281         elmo-folder-list-importants,
2282         elmo-folder-list-answereds): Remove.
2283         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2284         Return a list whitch merged with messages have global flag.
2285         (elmo-folder-list-flagged-internal): New method.
2286         (elmo-folder-unflag-important,
2287         elmo-folder-flag-as-important,
2288         elmo-folder-unflag-read,
2289         elmo-folder-flag-as-read,
2290         elmo-folder-unflag-answered,
2291         elmo-folder-flag-as-answered): Remove.
2292         (elmo-folder-set-flag): New method.
2293         (elmo-folder-unset-flag): Ditto.
2294         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2295         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2296
2297         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2298         (elmo-folder-list-unreads-plugged,
2299         elmo-folder-list-importants-plugged,
2300         elmo-folder-list-answereds-plugged,
2301         elmo-folder-list-flagged-unplugged,
2302         elmo-folder-unflag-important-plugged,
2303         elmo-folder-flag-as-important-plugged,
2304         elmo-folder-unflag-read-plugged,
2305         elmo-folder-flag-as-read-plugged,
2306         elmo-folder-unflag-answered-plugged,
2307         elmo-folder-flag-as-answered-plugged): Remove.
2308         (elmo-folder-set-flag-plugged,
2309         elmo-folder-unset-flag-plugged): Define.
2310
2311         * elmo-flag.el (elmo-folder-initialize): Register to
2312         `elmo-global-flag-list' if flag is not global.
2313         (elmo-folder-append-messages): Set flag to source messages.
2314
2315         * elmo-filter.el (elmo-filter-folder-list-unreads,
2316         elmo-folder-list-unreads,
2317         elmo-filter-folder-list-importants,
2318         elmo-folder-list-importants,
2319         elmo-folder-flag-as-read,
2320         elmo-folder-unflag-read,
2321         elmo-folder-flag-as-important,
2322         elmo-folder-unflag-important,
2323         elmo-folder-flag-as-answered,
2324         elmo-folder-unflag-answered): Remove.
2325         (elmo-folder-set-flag): Define.
2326         (elmo-folder-unset-flag): Ditto.
2327
2328         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2329         elmo-folder-unflag-read-dop,
2330         elmo-folder-flag-as-important-dop,
2331         elmo-folder-unflag-important-dop,
2332         elmo-folder-flag-as-answered-dop,
2333         elmo-folder-unflag-answered-dop): Remove.
2334         (elmo-folder-set-flag-dop,
2335         elmo-folder-unset-flag-dop,
2336         elmo-folder-set-important-delayed,
2337         elmo-folder-unset-important-delayed,
2338         elmo-folder-set-read-delayed,
2339         elmo-folder-unset-read-delayed,
2340         elmo-folder-set-answered-delayed,
2341         elmo-folder-unset-answered-delayed): New function.
2342         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2343         (elmo-dop-queue-method-name-alist): Ditto.
2344
2345         * elmo-version.el (elmo-version): Up to 2.11.23.
2346
2347 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2348
2349         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2350
2351         * elsp-sa.el: New file.
2352
2353 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2354
2355         * modb-standard.el (modb-standard-message-entity): New function.
2356         (elmo-msgdb-message-entity): Use it.
2357
2358 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2359
2360         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2361         behavior when one-level is nil.
2362
2363         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2364
2365         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2366
2367 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2368
2369         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2370         get max number.
2371         (elmo-generic-folder-diff): Ditto.
2372
2373         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2374         (elmo-folder-update-number): Ditto.
2375
2376         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2377         (elmo-folder-next-message-number-dop): Ditto.
2378
2379 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2380
2381         * elmo-filter.el (elmo-folder-msgdb-create): Use
2382         `elmo-message-entity' and `elmo-message-flags' instead of
2383         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2384
2385 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2386
2387         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2388         `if-exists'.
2389
2390 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2391
2392         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2393
2394         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2395
2396         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2397
2398 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2399
2400         * elmo-version.el (elmo-version): Up to 2.11.22.
2401
2402 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2403
2404         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2405
2406 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2407
2408         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2409         if the message dose not exist.
2410
2411 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2412
2413         * elmo-version.el (elmo-version): Up to 2.11.21.
2414
2415 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2416
2417         * modb-standard.el (toplevel): Don't require mime.
2418
2419 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2420
2421         * elsp-bogofilter.el (toplevel): Don't require path-util.
2422         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2423         (elmo-spam-bogofilter-header): Abolish.
2424         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2425         (elmo-spam-bogofilter-args): New user option.
2426         (elsp-bogofilter-call-bogofilter): New internal function.
2427         (elmo-spam-buffer-spam-p): Use it.
2428         (elsp-bogofilter-register-buffer): Renamed from
2429         `elmo-spam-bogofilter-register-buffer';
2430         Use `elsp-bogofilter-call-bogofilter'.
2431         (elmo-spam-register-spam-buffer): Follow the change above.
2432         (elmo-spam-register-good-buffer): Ditto.
2433
2434 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2435
2436         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2437         message-id is nil do nothing.
2438
2439 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2440
2441         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2442         Revival.
2443         (elmo-imap4-session): Removed use-flag slot.
2444         (elmo-imap4-session-select-mailbox): Undo last change.
2445         (elmo-folder-use-flag-p): Use
2446         elmo-imap4-disuse-server-flag-mailbox-regexp.
2447
2448 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2449
2450         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2451         (elmo-imap4-session-select-mailbox): Set it up.
2452         (elmo-folder-use-flag-p): Return value of use-flag slot.
2453
2454 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2455
2456         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2457         message-id is nil.
2458         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2459
2460         * modb-entity.el (elmo-message-entity-handler): Likewise.
2461
2462 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2463
2464         * elmo.el (toplevel): Remove setting of autoloding for
2465         elmo-global-flag-initialize.
2466         (elmo-init): Don't call elmo-global-flag-initialize.
2467         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2468
2469         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2470         (elmo-global-mark-migrate): Don't call it.
2471         (elmo-global-mark-upgrade): Ditto.
2472
2473 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2474
2475         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2476         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2477
2478         * elmo-vars.el (elmo-init-hook): New user option.
2479
2480         * elmo.el (elmo-init): Run the elmo-init-hook.
2481
2482         * elmo-flag.el (elmo-global-mark-migrate): New function.
2483
2484 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2485
2486         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2487         Undo last change (move to elmo-msgdb-unset-flag).
2488         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2489         flag is unset.
2490
2491 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2492
2493         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2494         read flag is set.
2495         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2496         (elmo-msgdb-unset-flag): Ditto.
2497
2498 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2499
2500         * elmo-split.el (elmo-split): Return split message count.
2501
2502 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2503
2504         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2505         is nil.
2506
2507 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2508
2509         * elmo.el (elmo-folder-unflag-important): Call
2510         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2511         a symbol `always'.
2512
2513         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2514         before unset flag.
2515         (elmo-global-flag-detach): Delete the message from flag folder, if
2516         `delete-if-none' is a symbol `always'.
2517
2518 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2519
2520         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2521         `elmo-spam-spamfilter-decode-buffer'.
2522         (elsp-spamfilter-register-buffer-internal): New internal function.
2523         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2524         (elmo-spam-register-spam-buffer): Ditto.
2525         (elmo-spam-register-good-buffer): Ditto.
2526
2527         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2528         change.
2529         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2530         (elmo-spam-register-spam-buffer): Follow the API change.
2531         (elmo-spam-register-good-buffer): Ditto.
2532
2533         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2534         (elmo-split-spam-p): Added argument plist; Call
2535         `elmo-spam-buffer-spam-p' with new argument register.
2536
2537         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2538         `register'.
2539         (elmo-spam-message-spam-p): Ditto.
2540         (elmo-spam-register-spam-buffer): Added optional argument
2541         `restore'.
2542         (elmo-spam-register-good-buffer): Ditto.
2543         (elmo-spam-register-spam-messages): Ditto.
2544         (elmo-spam-register-good-messages): Ditto.
2545
2546 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2547
2548         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2549         register into good corpus.
2550         (elmo-spam-register-good-buffer): Fixed to register into bad
2551         corpus.
2552
2553 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2554
2555         * elmo-version.el (elmo-version): Up to 2.11.20.
2556
2557         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2558         change.
2559
2560         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2561         flag without depending on \Recent flag.
2562
2563 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2564
2565         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2566         (elmo-spam-modified-p): Defined.
2567         (elmo-spam-save-status): Set `modified' slot to nil.
2568         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2569         (elmo-spam-register-good-buffer): Ditto.
2570
2571         * elmo-spam.el (elmo-spam-modified-p): New API.
2572
2573 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2574
2575         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2576         duplicate definition.
2577
2578         * elmo-util.el (elmo-unfold-field-body): New function.
2579         (elmo-msgdb-get-message-id-from-buffer): Use it.
2580
2581         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2582         Fixed the last change; Use elmo-unfold-field-body.
2583
2584 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2585
2586         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2587         Unfold date value.
2588
2589 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2590
2591         * elmo-spam.el (elmo-spam-save-status): New API.
2592
2593         * elsp-spamfilter.el: New file.
2594
2595 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2596
2597         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2598
2599 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2600
2601         * elmo-split.el (elmo-split-spam-p): New function.
2602
2603         * elmo-spam.el: New file.
2604
2605         * elsp-bogofilter.el: Ditto.
2606
2607 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2608
2609         * elmo.el (elmo-folder-next-message-number): New API.
2610         (elmo-folder-next-message-number): Define.
2611         (elmo-message-field): Don't check folder length.
2612
2613         * elmo-net.el (elmo-folder-next-message-number): Define.
2614         (elmo-folder-next-message-number-unplugged): Define.
2615
2616         * elmo-map.el (elmo-folder-next-message-number): Define.
2617         (elmo-folder-delete-messages): Clear hash value.
2618
2619         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2620
2621         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2622         (elmo-folder-delete-messages-dop-delayed): Always return t.
2623
2624         * elmo-version.el (elmo-version): Up to 2.11.19.
2625
2626 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2627
2628         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2629         change.
2630
2631         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2632         identical cons cell into the mark-alist and the hash table.
2633
2634 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2635
2636         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2637         elmo-folder-list-messages with argument `visible-only' as t.
2638
2639         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2640         (elmo-folder-msgdb-create): Check the target folder.
2641
2642 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2643
2644         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2645         `permanentflag' instead of `flags'.
2646         (elmo-folder-open): Ditto.
2647         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2648         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2649         (elmo-folder-use-flag-p): Always return t.
2650         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2651         `permanentflags' does not exist.
2652         (elmo-folder-open): Ditto.
2653
2654 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2655
2656         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2657         is nil.
2658         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2659
2660         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2661         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2662         response.
2663         (elmo-folder-open): Ditto.
2664         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2665         slot of the session includes the flag.
2666         (elmo-imap4-session-flag-available-p): New function.
2667         (elmo-imap4-folder-list-flagged): Ditto.
2668         (elmo-folder-list-unreads-plugged): Use it.
2669         (elmo-folder-list-importants-plugged): Ditto.
2670         (elmo-folder-list-answereds-plugged): Ditto.
2671         (elmo-imap4-search-internal-primitive): Ditto.
2672         (elmo-imap4-folder-list-any-plugged,
2673         elmo-imap4-folder-list-digest-plugged): Abolish.
2674
2675         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2676         if numbers is nil.
2677
2678 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2679
2680         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2681
2682 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2683
2684         * elmo-util.el (elmo-get-hash-val): Simplify.
2685         (elmo-set-hash-val): Rewrite.
2686
2687 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2688
2689         * elmo.el (elmo-folder-list-messages): Append killed messages into
2690         result if `visible-only' is nil and `in-msgdb' is non-nil.
2691
2692         * elmo-util.el (elmo-uniq-list): Added optional argument
2693         `delete-function'.
2694
2695         * modb.el (elmo-msgdb-flag-count): New API.
2696
2697         * modb-standard.el (modb-standard): Added slot flag-count.
2698         (modb-standard-countup-flags): New function.
2699         (modb-standard-load-flag): Call it.
2700         (elmo-msgdb-append): Ditto.
2701         (elmo-msgdb-clear): Clear slot flag-count.
2702         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2703         (elmo-msgdb-unset-flag): Treat `all' flag and call
2704         modb-standard-countup-flags.
2705         (elmo-msgdb-flag-count): Define.
2706         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2707         (elmo-msgdb-delete-messages): Ditto.
2708
2709         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2710         (elmo-msgdb-flag-count): Define.
2711
2712         * elmo.el (elmo-folder-list-messages): Undo last change.
2713         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2714         (elmo-folder-kill-messages): Unset all flags to numbers.
2715
2716         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2717         elmo-folder-kill-messages.
2718
2719         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2720         (elmo-nntp-folder-delete-messages): Abolish.
2721
2722         * elmo-version.el (elmo-version): Up to 2.11.18.
2723
2724 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2725
2726         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2727         (elmo-folder-kill-messages-range): New function.
2728         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2729         instead of elmo-folder-kill-messages-before.
2730
2731 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2732
2733         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2734         elmo-imap4-current-msgdb to decide entity handler.
2735
2736 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2737
2738         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2739
2740         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2741         inline function.
2742         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2743         (elmo-msgdb-overview-entity-set-number,
2744         elmo-msgdb-overview-entity-get-references,
2745         elmo-msgdb-overview-entity-set-references,
2746         elmo-msgdb-overview-entity-get-from-no-decode,
2747         elmo-msgdb-overview-entity-get-from,
2748         elmo-msgdb-overview-entity-set-from,
2749         elmo-msgdb-overview-entity-get-subject,
2750         elmo-msgdb-overview-entity-get-subject-no-decode,
2751         elmo-msgdb-overview-entity-set-subject,
2752         elmo-msgdb-overview-entity-get-date,
2753         elmo-msgdb-overview-entity-set-date,
2754         elmo-msgdb-overview-entity-get-to,
2755         elmo-msgdb-overview-entity-get-cc,
2756         elmo-msgdb-overview-entity-get-size,
2757         elmo-msgdb-overview-entity-set-size,
2758         elmo-msgdb-overview-entity-get-extra,
2759         elmo-msgdb-overview-entity-set-extra,
2760         elmo-msgdb-overview-entity-get-extra-field,
2761         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2762         (elmo-msgdb-make-index): Use
2763         `elmo-msgdb-overview-entity-get-number-internal'.
2764         (elmo-msgdb-clear-index): Ditto.
2765         (elmo-msgdb-append-entity): Ditto;
2766         Use `elmo-msgdb-overview-entity-get-id-internal'.
2767
2768         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2769         elmo-msgdb-overview-entity-set-number,
2770         elmo-msgdb-overview-entity-get-references,
2771         elmo-msgdb-overview-entity-set-references,
2772         elmo-msgdb-overview-entity-get-from-no-decode,
2773         elmo-msgdb-overview-entity-get-from,
2774         elmo-msgdb-overview-entity-set-from,
2775         elmo-msgdb-overview-entity-get-subject,
2776         elmo-msgdb-overview-entity-get-subject-no-decode,
2777         elmo-msgdb-overview-entity-set-subject,
2778         elmo-msgdb-overview-entity-get-date,
2779         elmo-msgdb-overview-entity-set-date,
2780         elmo-msgdb-overview-entity-get-to,
2781         elmo-msgdb-overview-entity-get-cc,
2782         elmo-msgdb-overview-entity-get-size,
2783         elmo-msgdb-overview-entity-set-size,
2784         elmo-msgdb-overview-entity-get-extra,
2785         elmo-msgdb-overview-entity-set-extra,
2786         elmo-msgdb-overview-entity-get-extra-field,
2787         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2788         and rewrote for backward compatibility.
2789
2790 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2791
2792         * elmo.el (elmo-message-entity-number,
2793         elmo-message-entity-set-number,
2794         elmo-message-entity-field,
2795         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2796
2797         * elmo-msgdb.el (elmo-message-entity-number,
2798         elmo-message-entity-set-number,
2799         elmo-message-entity-field,
2800         elmo-message-entity-set-field): Moved from elmo.el.
2801
2802 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2803
2804         * elmo.el (toplevel): Changed definition orders.
2805
2806 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2807
2808         * modb.el (elmo-msgdb-search): New API .
2809         (elmo-msgdb-match-condition): Ditto.
2810
2811         * modb-standard.el (elmo-msgdb-search): Define.
2812
2813         * modb-legacy.el (elmo-msgdb-search): Ditto.
2814
2815         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2816         from elmo-msgdb-match-condition-internal.
2817
2818         * elmo.el (elmo-folder-search-fast): Abolish.
2819         (elmo-folder-search): Use elmo-msgdb-search and
2820         elmo-with-progress-display.
2821
2822         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2823         as msgdb API.
2824
2825         * elmo.el (elmo-folder): Remove slot message-modified and
2826         flag-modified.
2827         (elmo-folder-set-message-modified): Abolish.
2828         (elmo-generic-folder-commit): Follow the change above.
2829         (elmo-folder-synchronize): Ditto.
2830
2831         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2832
2833         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2834
2835         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2836
2837 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2838
2839         * modb-standard.el (modb-standard-make-message-entity,
2840         elmo-msgdb-make-message-entity,
2841         elmo-msgdb-create-message-entity-from-buffer,
2842         elmo-msgdb-message-entity-number,
2843         elmo-msgdb-message-entity-set-number,
2844         elmo-msgdb-message-entity-field,
2845         elmo-msgdb-message-entity-set-field,
2846         elmo-msgdb-copy-message-entity,
2847         elmo-msgdb-match-condition-internal): Remove.
2848
2849         * modb-entity.el: New file (again).
2850
2851         * modb.el (toplevel): Require modb-entity.
2852         (elmo-msgdb-message-entity-handler): New method.
2853
2854         * modb-standard.el (modb-standard-entity-id): Use
2855         elmo-message-entity-handler.
2856         (modb-standard-load-entity): Ditto.
2857         (elmo-msgdb-append-entity): Ditto.
2858         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2859
2860         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2861         elmo-msgdb-decoded-cache-hashtb,
2862         (modb-legacy-make-message-entity,
2863         elmo-msgdb-make-message-entity,
2864         elmo-msgdb-create-message-entity-from-buffer,
2865         elmo-msgdb-message-entity-number,
2866         elmo-msgdb-message-entity-set-number,
2867         elmo-msgdb-message-entity-field,
2868         elmo-msgdb-message-entity-set-field,
2869         elmo-msgdb-copy-message-entity,
2870         elmo-msgdb-match-condition-internal,
2871         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2872
2873         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2874         (elmo-message-entity-set-number): Ditto.
2875         (elmo-message-entity-field): Ditto.
2876         (elmo-message-entity-set-field): Ditto.
2877
2878         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2879
2880         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2881
2882         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2883
2884         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2885         (elmo-nntp-msgdb-create-message): Ditto.
2886
2887         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2888         (elmo-folder-msgdb-create): Add unread flag.
2889
2890         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2891
2892         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2893
2894         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2895
2896         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2897
2898         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2899         elmo-msgdb-messge-entity-handler.
2900         * elmo-version.el (elmo-version): Up to 2.11.17.
2901
2902 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2903
2904         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2905         change.
2906
2907 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2908
2909         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2910
2911         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2912         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2913         (elmo-msgdb-flag-table): Ditto.
2914         (elmo-msgdb-sort-by-date): Ditto.
2915
2916         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2917
2918         * modb-standard.el (toplevel): Require mime.
2919         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2920         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2921         elmo-msgdb-message-entity-number.
2922         (elmo-msgdb-append-entity): Ditto.
2923         (elmo-msgdb-create-message-entity-from-file): Remove.
2924         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2925         corresponds to the entity.
2926         (elmo-msgdb-message-entity-number): Do nothing currently.
2927         (elmo-msgdb-message-entity-field): Ditto.
2928         (elmo-msgdb-message-entity-set-field): Ditto.
2929         (elmo-msgdb-copy-message-entity): Ditto.
2930         (elmo-msgdb-match-condition-internal): Ditto.
2931
2932         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2933         elmo-util.el.
2934         (elmo-msgdb-create-message-entity-from-file): Remove.
2935
2936         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2937         modb-legacy.el.
2938         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2939
2940         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2941
2942 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2943
2944         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2945         (elmo-msgdb-message-entity-field): Ditto.
2946         (elmo-msgdb-message-entity-number): Ditto.
2947
2948 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2949
2950         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2951         Fixed how to set extra field into entity.
2952         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2953         symbol.
2954
2955         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2956         Fixed how to set extra field into entity.
2957         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2958         symbol.
2959
2960 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2961
2962         * modb.el (elmo-message-entity-db): New function.
2963         (elmo-msgdb-make-message-entity): New API.
2964         (elmo-msgdb-message-entity-number): Ditto.
2965         (elmo-msgdb-message-entity-set-number): Ditto.
2966         (elmo-msgdb-message-entity-field): Ditto.
2967         (elmo-msgdb-message-entity-set-field): Ditto.
2968         (elmo-msgdb-copy-message-entity): Ditto.
2969         (elmo-msgdb-create-message-entity-from-file): Ditto.
2970         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2971         (elmo-msgdb-match-condition-internal): Ditto.
2972
2973         * modb-standard.el (modb-legacy): Require modb-legacy.
2974         (modb-standard-make-message-entity): New inline function.
2975         (elmo-msgdb-make-message-entity): Define.
2976         (elmo-msgdb-create-message-entity-from-file): Ditto.
2977         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2978         (elmo-msgdb-message-entity-field): Ditto.
2979         (elmo-msgdb-message-entity-set-field): Ditto.
2980         (elmo-msgdb-copy-message-entity): Ditto.
2981         (elmo-msgdb-match-condition-internal): Ditto.
2982
2983         * modb-legacy.el: Don't require modb-entity.
2984         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2985         (elmo-msgdb-match-condition-primitive): Ditto.
2986         (elmo-msgdb-get-decoded-cache): Ditto.
2987         (elmo-msgdb-overview-entity-get-id): Ditto.
2988         (elmo-msgdb-overview-entity-get-number): Ditto.
2989         (elmo-msgdb-overview-entity-set-number): Ditto.
2990         (elmo-msgdb-overview-entity-get-references): Ditto.
2991         (elmo-msgdb-overview-entity-set-references): Ditto.
2992         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2993         (elmo-msgdb-overview-entity-get-from): Ditto.
2994         (elmo-msgdb-overview-entity-set-from): Ditto.
2995         (elmo-msgdb-overview-entity-get-subject): Ditto.
2996         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2997         (elmo-msgdb-overview-entity-set-subject): Ditto.
2998         (elmo-msgdb-overview-entity-get-date): Ditto.
2999         (elmo-msgdb-overview-entity-set-date): Ditto.
3000         (elmo-msgdb-overview-entity-get-to): Ditto.
3001         (elmo-msgdb-overview-entity-get-cc): Ditto.
3002         (elmo-msgdb-overview-entity-get-size): Ditto.
3003         (elmo-msgdb-overview-entity-set-size): Ditto.
3004         (elmo-msgdb-overview-entity-get-extra): Ditto.
3005         (elmo-msgdb-overview-entity-set-extra): Ditto.
3006         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3007         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3008         (elmo-msgdb-number-load): Ditto.
3009         (elmo-msgdb-overview-load): Ditto.
3010         (elmo-msgdb-mark-load): Ditto.
3011         (elmo-msgdb-number-save): Ditto.
3012         (elmo-msgdb-mark-save): Ditto.
3013         (elmo-msgdb-overview-save): Ditto.
3014         (modb-legacy-make-message-entity): New inline function.
3015         (elmo-msgdb-insert-file-header): Ditto.
3016         (elmo-msgdb-make-message-entity): Define.
3017         (elmo-msgdb-create-message-entity-from-file): Ditto.
3018         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3019         (elmo-msgdb-message-entity-number): Ditto.
3020         (elmo-msgdb-message-entity-set-number): Ditto.
3021         (elmo-msgdb-message-entity-field): Ditto.
3022         (elmo-msgdb-message-entity-set-field): Ditto.
3023         (elmo-msgdb-copy-message-entity): Ditto.
3024         (elmo-msgdb-match-condition-internal): Ditto.
3025
3026         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3027         (elmo-message-copy-entity): Rewrite.
3028         (elmo-message-entity-number): Ditto.
3029         (elmo-message-entity-set-number): Ditto.
3030         (elmo-message-entity-field): Use elmo-message-entity-db.
3031         (elmo-message-entity-set-field): Ditto.
3032         (elmo-message-field): Rewrite.
3033
3034         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3035         elmo-msgdb.el
3036         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3037
3038         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3039         elmo-message-entity-field.
3040         (elmo-shimbun-folder-shimbun-header): Ditto.
3041         (elmo-shimbun-entity-to-header): Ditto.
3042         (elmo-folder-msgdb-create): Ditto.
3043         (elmo-shimbun-msgdb-create-entity): Ditto;
3044         Use elmo-msgdb-create-message-entity-from-buffer.
3045         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3046         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3047
3048         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3049         elmo-msgdb-create-message-entity-from-file and 
3050         elmo-message-entity-field.
3051
3052         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3053         elmo-message-entity-number.
3054         (elmo-pop3-msgdb-create-message): Use
3055         elmo-msgdb-create-message-entity-from-buffer,
3056         elmo-message-entity-set-field, elmo-message-entity-number and
3057         elmo-message-entity-set-number.
3058
3059         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3060         the API change in elmo-msgdb-make-message-entity.
3061         (elmo-nntp-msgdb-create-message): Use
3062         elmo-msgdb-create-message-entity-from-buffer.
3063
3064         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3065         elmo-message-entity-field and
3066         elmo-msgdb-create-message-entity-from-file.
3067
3068         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3069         (elmo-msgdb-get-field): Abolish.
3070         (elmo-msgdb-get-number): Rewrite.
3071         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3072         (elmo-msgdb-flag-table): Ditto.
3073         (elmo-msgdb-get-last-message-id,
3074         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3075         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3076         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3077         (elmo-msgdb-create-overview-from-buffer,
3078         elmo-msgdb-overview-get-parent-entity): Abolish.
3079
3080         * elmo-mime.el (elmo-mime-display-as-is): Use
3081         elmo-message-entity-field.
3082
3083         * elmo-map.el (elmo-folder-pack-numbers): Use
3084         elmo-message-entity-set-number.
3085
3086         * elmo-maildir.el (elmo-folder-msgdb-create): 
3087         elmo-msgdb-create-message-entity-from-file instead of
3088         elmo-msgdb-create-overview-entity-from-file.
3089
3090         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3091         msgdb.
3092         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3093         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3094
3095         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3096         elmo-messge-entity-field and elmo-message-entity-number.
3097         (elmo-imap4-fetch-callback-1): Call
3098         elmo-msgdb-create-message-entity-from-buffer instead of
3099         elmo-msgdb-create-overview-from-buffer. 
3100         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3101         (elmo-find-fetch-strategy): Likewise.
3102
3103         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3104         elmo-localdir-msgdb-create-entity with argument msgdb.
3105
3106         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3107         and elmo-message-entity-set-number.
3108
3109         * elmo-cache.el (elmo-folder-msgdb-create): Use
3110         elmo-message-entity-field.
3111         (elmo-folder-msgdb-create): Call
3112         elmo-msgdb-create-message-entity-from-file instead of
3113         elmo-msgdb-create-overview-entity-from-file.
3114
3115         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3116         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3117         instead of elmo-msgdb-create-overview-from-buffer.
3118         (elmo-archive-msgdb-create-entity): Ditto.
3119         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3120         elmo-message-entity-field.
3121         (elmo-archive-parse-mmdf): Ditto.
3122
3123         * modb-entity.el: Removed.
3124
3125         * elmo-version.el (elmo-version): Up to 2.11.16.
3126
3127 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3128
3129         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3130         `is-local'.
3131         (elmo-folder-flag-as-answered): Ditto.
3132
3133 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3134
3135         * modb-standard.el: New file.
3136
3137         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3138         elmo-msgdb-convert-type is `sync'.
3139
3140         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3141         (elmo-msgdb-convert-type): New user option.
3142
3143         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3144         (elmo-load-msgdb): Auto detect saved type.
3145
3146         * elmo-version.el (elmo-version): Up to 2.11.15.
3147
3148 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3149
3150         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3151
3152         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3153         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3154         with argument `delete-if-none' when dst-folder is 'null.
3155
3156         * elmo-flag.el (elmo-folder-append-messages): Defined.
3157         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3158
3159 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3160
3161         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3162
3163 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3164
3165         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3166         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3167         (elmo-folder-commit): Ditto.
3168
3169 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3170
3171         * elmo-flag.el: New file.
3172
3173         * elmo-mark.el: Removed.
3174
3175         * modb-legacy.el (modb-legacy-new-mark,
3176         modb-legacy-unread-uncached-mark,
3177         modb-legacy-unread-cached-mark,
3178         modb-legacy-read-uncached-mark,
3179         modb-legacy-answered-cached-mark,
3180         modb-legacy-answered-uncached-mark,
3181         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3182         All other related portions are changed.
3183
3184         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3185         (elmo-folder-list-messages-with-global-mark): Abolish.
3186         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3187         (elmo-folder-flag-as-important): Ditto.
3188         (elmo-folder-unflag-read): Ditto.
3189         (elmo-folder-flag-as-read): Ditto.
3190         (elmo-folder-unflag-answered): Ditto.
3191         (elmo-folder-flag-as-answered): Ditto.
3192         (elmo-message-encache): Return the cache path.
3193         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3194         (elmo-message-set-flag): Transitional implementation.
3195         (elmo-message-unset-flag): Ditto.
3196         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3197         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3198         (elmo-init): Call elmo-global-flag-initialize.
3199         (toplevel): Added autoload settings for elmo-flag.
3200
3201         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3202
3203         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3204         (elmo-file-cache-delete): Don't treat global-mark.
3205
3206         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3207
3208         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3209
3210         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3211         `elmo-global-flags-set'.
3212
3213         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3214         `flag'.
3215         (elmo-folder-unflag-read): Ditto.
3216         (elmo-folder-unflag-important): Ditto.
3217         (elmo-folder-flag-as-important): Ditto.
3218         (elmo-folder-unflag-answered): Ditto.
3219         (elmo-folder-flag-as-answered): Ditto.
3220
3221         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3222         `elmo-global-flags-set'.
3223         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3224
3225         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3226
3227         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3228         `flag'.
3229         (elmo-folder-flag-as-important): Ditto.
3230         (elmo-folder-unflag-important): Ditto.
3231         (elmo-folder-flag-as-important): Ditto.
3232         (elmo-folder-unflag-read): Ditto.
3233         (elmo-folder-flag-as-read): Ditto.
3234         (elmo-folder-unflag-answered): Ditto.
3235         (elmo-folder-flag-as-answered): Ditto.
3236
3237         * elmo-multi.el (elmo-folder-list-importants): Don't call
3238         elmo-folder-list-messages-with-global-mark.
3239         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3240         (elmo-folder-unflag-important): Ditto.
3241         (elmo-folder-flag-as-read): Ditto.
3242         (elmo-folder-unflag-read): Ditto.
3243         (elmo-folder-flag-as-answered): Ditto.
3244         (elmo-folder-unflag-answered): Ditto.
3245
3246         * elmo-msgdb.el (elmo-msgdb-new-mark,
3247         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3248         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3249         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3250         (Moved to modb-legacy.el).
3251         (elmo-flag-table-get): Treat important flag too.
3252
3253         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3254         `mark' to `flag'.
3255         (elmo-map-folder-flag-as-important): Ditto.
3256         (elmo-map-folder-unflag-read): Ditto.
3257         (elmo-map-folder-flag-as-read): Ditto.
3258         (elmo-map-folder-unflag-answered): Ditto.
3259         (elmo-map-folder-flag-as-answered): Ditto.
3260         (elmo-folder-unflag-important): Ditto.
3261         (elmo-folder-flag-as-important): Ditto.
3262         (elmo-folder-unflag-read): Ditto.
3263         (elmo-folder-flag-as-read): Ditto.
3264         (elmo-folder-unflag-answered): Ditto.
3265         (elmo-folder-flag-as-answered): Ditto.
3266
3267         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3268         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3269         `flag'.
3270         (elmo-map-folder-unflag-important): Ditto.
3271         (elmo-map-folder-flag-as-read): Ditto.
3272         (elmo-map-folder-unflag-read): Ditto.
3273         (elmo-map-folder-flag-as-answered): Ditto.
3274         (elmo-map-folder-unflag-answered): Ditto.
3275
3276         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3277         `elmo-global-flags-set'.
3278         (elmo-global-flags-set): Added autoload setting.
3279
3280         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3281         `flag'.
3282
3283         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3284         `elmo-msgdb-global-mark-set'.
3285         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3286         Call `elmo-global-flags-set'.
3287         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3288         `flag'.
3289         (elmo-folder-flag-as-important-plugged): Ditto.
3290         (elmo-folder-unflag-read-plugged): Ditto.
3291         (elmo-folder-flag-as-read-plugged): Ditto.
3292         (elmo-folder-unflag-answered-plugged): Ditto.
3293         (elmo-folder-flag-as-answered-plugged): Ditto.
3294         (elmo-global-flags-set): Added autoload setting.
3295
3296         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3297         `flag'.
3298         (elmo-folder-unflag-read): Ditto.
3299         (elmo-folder-flag-as-important): Ditto.
3300         (elmo-folder-unflag-important): Ditto.
3301         (elmo-folder-flag-as-answered): Ditto.
3302         (elmo-folder-unflag-answered): Ditto.
3303
3304         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3305         change of `mark'->`flag'.
3306         (elmo-dop-queue-method-name-alist): Ditto.
3307         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3308         (elmo-folder-unflag-read-dop): Ditto.
3309         (elmo-folder-flag-as-important-dop): Ditto.
3310         (elmo-folder-unflag-important-dop): Ditto.
3311         (elmo-folder-flag-as-answered-dop): Ditto.
3312         (elmo-folder-unflag-answered-dop): Ditto.
3313
3314         * elmo-cache.el (elmo-folder-msgdb-create): Call
3315         `elmo-global-flags-set'.
3316
3317         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3318         Call `elmo-global-flags-set'.
3319         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3320         elmo-archive-parse-mmdf with argument `folder'.
3321         (elmo-archive-parse-mmdf): Added argument `folder';
3322         Call `elmo-global-flags-set'.
3323
3324         * elmo-version.el (elmo-version): Up to 2.11.14.
3325
3326 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3327
3328         * modb.el (elmo-msgdb-length): Define.
3329
3330         * elmo.el (elmo-make-folder): Fixed.
3331         (elmo-generic-folder-append-messages): Follow the API change.
3332
3333         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3334         API change.
3335
3336 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3337
3338         * modb.el: New file.
3339
3340         * modb-entity.el: Ditto.
3341
3342         * modb-legacy.el: Ditto.
3343
3344         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3345         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3346         of `elmo-msgdb-overview-get-entity'.
3347         (elmo-msgdb-get-field): Ditto.
3348         (elmo-msgdb-merge): Moved to `elmo.el'.
3349         (elmo-msgdb-length): Removed; redefine as modb method.
3350         (elmo-msgdb-change-mark): Abolish.
3351         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3352         (elmo-msgdb-match-condition): Don't use mark.
3353         (elmo-msgdb-overview-get-entity): Abolish.
3354         Split modb part into `modb*.el'.
3355
3356         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3357
3358         * elmo-shimbun.el (shimbun-mua-search-id): Use
3359         `elmo-msgdb-message-entity' instead of
3360         `elmo-msgdb-overview-get-entity'.
3361         (elmo-shimbun-folder-shimbun-header): Ditto.
3362         (elmo-shimbun-get-headers): Ditto.
3363         (elmo-shimbun-update-overview): Ditto.
3364
3365         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3366
3367         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3368
3369         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3370         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3371
3372         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3373         `elmo-msgdb-mark-to-flags'.
3374
3375         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3376         `elmo-msgdb-set-path'.
3377
3378         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3379  
3380         * elmo-version.el (elmo-version): Up to 2.11.13.
3381
3382         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3383
3384         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3385         of mark.
3386
3387 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3388
3389         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3390         mismatch.
3391
3392 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3393
3394         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3395         instead of `elmo-msgdb-get-cached'.
3396         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3397
3398         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3399         (elmo-msgdb-set-cached): Ditto.
3400         (elmo-msgdb-set-flag): Rewrite.
3401         (elmo-msgdb-unset-flag): Ditto.
3402
3403         * elmo-msgdb.el: Rewrite with luna.
3404
3405         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3406         (elmo-folder-msgdb): Follow the change above.
3407         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3408         (elmo-folder-unmark-important): Follow the API change.
3409         (elmo-folder-mark-as-important): Ditto.
3410         (elmo-folder-unmark-read): Ditto.
3411         (elmo-folder-mark-as-read): Ditto.
3412         (elmo-folder-unmark-answered): Ditto.
3413         (elmo-folder-mark-as-answered): Ditto.
3414         (elmo-folder-clear): Likewise.
3415
3416         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3417         instead of `elmo-msgdb-load' (renamed).
3418
3419         * elmo-version.el (elmo-version): Up to 2.11.12.
3420
3421 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3422
3423         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3424         change.
3425         (elmo-message-mark): Abolish.
3426         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3427         instead of `elmo-msgdb-change-mark'.
3428
3429         * elmo-pipe.el (elmo-message-mark): Abolish.
3430
3431         * elmo-multi.el (elmo-message-mark): Ditto.
3432
3433         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3434         (elmo-msgdb-unread-uncached-mark): Ditto.
3435         (elmo-msgdb-unread-cached-mark): Ditto.
3436         (elmo-msgdb-read-uncached-mark): Ditto.
3437         (elmo-msgdb-answered-cached-mark): Ditto.
3438         (elmo-msgdb-answered-uncached-mark): Ditto.
3439         (elmo-msgdb-important-mark): Ditto.
3440         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3441         `use-cache'.
3442         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3443         `flags'.
3444         (elmo-flag-table-load): Changed flag to list of flag.
3445         (elmo-flag-table-set): If flags is nil, set read flag.
3446         (elmo-flag-table-get): Return derived flags from global mark,
3447         cache status and saved flags.
3448         (elmo-msgdb-flag-table): Follow the change above.
3449         (elmo-msgdb-out-of-date-messages): New function.
3450
3451         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3452
3453         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3454
3455         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3456
3457         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3458         (elmo-nntp-msgdb-create-message): Ditto.
3459
3460         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3461
3462         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3463         independent.
3464         (elmo-folder-msgdb-create): Follow the API change.
3465
3466         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3467         (elmo-folder-append-messages): Ditto.
3468
3469         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3470         (elmo-folder-append-buffer): Ditto.
3471
3472         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3473
3474         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3475
3476         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3477         (elmo-archive-parse-mmdf): Ditto.
3478
3479         * elmo-version.el (elmo-version): Up to 2.11.11.
3480
3481 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3482
3483         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3484         `elmo-msgdb-mark'.
3485
3486         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3487
3488         * elmo-pipe.el (elmo-message-flags): Defined.
3489
3490         * elmo-multi.el (elmo-message-flags): Ditto.
3491
3492 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3493
3494         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3495         `elmo-msgdb-delete-msgs'.
3496
3497         * elmo.el (elmo-folder-count-flags): Don't use
3498         `elmo-msgdb-get-mark-alist'.
3499         (elmo-folder-detach-messages): Follow the API change.
3500
3501         * elmo.el (elmo-folder-list-messages): Append killed messages into
3502         result if `visible-only' is nil.
3503
3504         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3505         canceled messages.
3506         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3507         (elmo-folder-update-number): Likewise.
3508
3509         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3510         (elmo-pop3-sort-msgdb-by-original-number): Use
3511         `elmo-msgdb-sort-entities'.
3512
3513         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3514         (elmo-msgdb-sort-by-date): Use it.
3515         (elmo-msgdb-overview-sort-by-date): Abolish.
3516
3517         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3518
3519         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3520         (elmo-msgdb-flags): New function.
3521         (elmo-msgdb-merge): Use elmo-msgdb-append.
3522
3523         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3524         change.
3525
3526         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3527
3528         * elmo-dop.el (elmo-folder-status-dop): Use
3529         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3530
3531 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3532
3533         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3534
3535         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3536
3537         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3538
3539         * elmo-util.el (elmo-with-progress-display): New macro.
3540
3541         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3542
3543 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3544
3545         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3546         `elmo-folder-list-message-entities' instead of
3547         `elmo-msgdb-get-overview'.
3548         (elmo-map-folder-list-message-locations): Ditto.
3549
3550         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3551         methods instead of treat directly).
3552         (elmo-msgdb-clear): Ditto.
3553         (elmo-msgdb-delete-msgs): Ditto.
3554         (elmo-msgdb-sort-by-date): Ditto.
3555
3556         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3557         local variables.
3558         (elmo-nntp-folder-msgdb-create): Follow the API change.
3559
3560         * elmo-version.el (elmo-version): Up to 2.11.10.
3561
3562 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3563
3564         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3565         (elmo-msgdb-flags-to-mark): Ditto.
3566         (elmo-msgdb-append-entity): Ditto.
3567
3568         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3569         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3570         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3571         (elmo-archive-parse-mmdf): Ditto.
3572
3573         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3574
3575         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3576
3577         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3578
3579         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3580
3581         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3582
3583         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3584
3585         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3586
3587         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3588
3589         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3590         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3591         to empty msgdb.
3592
3593         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3594         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3595         instead of directly construction.
3596         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3597         instead of construct msgdb.
3598
3599         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3600         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3601         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3602         instead of construct msgdb.
3603
3604 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3605
3606         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3607         when field is from or subject.
3608
3609 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3610
3611         * elmo-multi.el (elmo-message-entity-parent): Define.
3612         (elmo-folder-search): Rewrite.
3613
3614 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3615
3616         * elmo-multi.el (elmo-message-cached-p): Define.
3617
3618         * elmo.el (elmo-message-cached-p): New method.
3619         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3620         (elmo-message-flags): New method.
3621         (elmo-message-flagged-p): New function.
3622
3623         * elmo-version.el (elmo-version): Up to 2.11.9.
3624
3625 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3626
3627         * elmo-version.el (elmo-version): Up to 2.11.8.
3628
3629         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3630
3631         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3632
3633 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3634
3635         * elmo.el (elmo-folder-detach-messages): Undo last change.
3636
3637 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3638
3639         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3640
3641         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3642         only when src folder type is pop3.
3643
3644 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3645
3646         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3647         elmo-msgdb-overview-entity-get-number instead of
3648         elmo-message-entity-number.
3649
3650 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3651
3652         * elmo-version.el (elmo-version): Up to 2.11.7.
3653
3654 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3655
3656         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3657         function.
3658
3659         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3660         (elmo-msgdb-merge): New function.
3661         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3662         (elmo-msgdb-make-index): Rewrite.
3663
3664         * elmo-version.el (elmo-version): Up to 2.11.6.
3665
3666         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3667         use it as a the path for loading message entities.
3668
3669         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3670
3671 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3672
3673         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3674         message-modified slot of itself if it does not require target msgdb.
3675
3676         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3677         if folder length is zero.
3678         (elmo-mime-display-as-is): Ditto.
3679
3680         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3681
3682         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3683
3684 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3685
3686         * elmo.el (elmo-folder-set-message-modified): New method.
3687         (elmo-generic-folder-commit): Use it.
3688         (elmo-folder-synchronize): Ditto.
3689
3690         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3691         (elmo-folder-commit): Remove duplicate definition.
3692
3693 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3694
3695         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3696
3697 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3698
3699         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3700         (elmo-strict-folder-diff): Ditto.
3701         (elmo-folder-set-info-max-by-numdb): Simplify.
3702
3703         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3704         elmo-msgdb-list-messages.
3705
3706         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3707         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3708
3709 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3710
3711         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3712         visible-only is non-nil.
3713         (elmo-folder-confirm-appends): Changed message.
3714         (elmo-folder-synchronize): Added argument disable-killed.
3715
3716         * elmo-multi.el (elmo-folder-synchronize): Added argument
3717         disable-killed.
3718
3719         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3720
3721         * elmo-version.el (elmo-version): Up to 2.11.5.
3722
3723         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3724         elmo-list-filter.
3725
3726         * elmo-util.el (elmo-list-filter): Simplify.
3727
3728         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3729         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3730         (elmo-generic-folder-diff): Abolish argument.
3731         (elmo-msgdb-load): Don't use number-alist.
3732
3733         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3734
3735         * elmo-pipe.el (elmo-folder-diff): Ditto.
3736
3737         * elmo-nmz.el (elmo-folder-diff): Ditto.
3738
3739         * elmo-net.el (elmo-folder-diff): Ditto.
3740
3741         * elmo-maildir.el (elmo-folder-diff): Ditto.
3742
3743         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3744
3745         * elmo-multi.el (elmo-folder-diff): Ditto
3746         (elmo-multi-folder-diff): Rewrite.
3747
3748 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3749
3750         * elmo-pipe.el (elmo-folder-msgdb): Define.
3751
3752 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3753
3754         * elmo.el (elmo-message-set-cached): Define as a method.
3755
3756         * elmo-pipe.el (elmo-message-set-cached): Define.
3757         (elmo-find-fetch-strategy): Ditto.
3758
3759         * elmo-multi.el (elmo-message-set-cached): Define.
3760         (elmo-find-fetch-strategy): Rewrite.
3761
3762         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3763
3764         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3765
3766 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3767
3768         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3769         instead of number-alist.
3770
3771         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3772         mark nor message-id when msgdb of source folder is not loaded.
3773
3774         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3775
3776         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3777
3778 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3779
3780         * elmo.el (elmo-folder-length): Don't require msgdb.
3781
3782 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3783
3784         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3785         (elmo-message-field): Ditto.
3786
3787         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3788         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3789         slot.
3790         (elmo-map-folder-list-answereds): Define.
3791         (elmo-maildir-list-location): Treat 'R' info.
3792         (elmo-folder-msgdb-create): Treat flag-table.
3793         (elmo-folder-append-messages): Save flag-table.
3794
3795 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3796
3797         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3798         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3799
3800 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3801
3802         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3803
3804         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3805         'read when mark is null.
3806
3807 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3808
3809         * elmo-version.el (elmo-version): Up to 2.11.4.
3810
3811 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3812
3813         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3814         (elmo-folder-mark-as-answered): Ditto.
3815
3816 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3817
3818         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3819         (elmo-pop3-get-session): Make msgdb directory after session.
3820         (elmo-folder-exists-p): Check exactly at the first time even when the
3821         elmo-pop3-exists-exactly is nil.
3822
3823         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3824         (elmo-folder-list-messages): Define instead of
3825         elmo-folder-list-messages-internal.
3826         (elmo-folder-check): Check destination folder.
3827         (elmo-folder-synchronize): Drain the pipe.
3828
3829         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3830         when msgdb is not loaded.
3831
3832         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3833
3834         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3835         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3836         messages.
3837
3838         * elmo.el (elmo-folder-kill-messages-before): New function.
3839         (elmo-folder-kill-messages): Ditto.
3840         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3841
3842         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3843         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3844         killed not by synchronize (e.g. scoring).
3845
3846 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3847
3848         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3849         treated.
3850         (elmo-folder-search): Follow the change above.
3851
3852         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3853         into the candidates of search field.
3854
3855 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3856
3857         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3858         (elmo-msgdb-unset-flag): Ditto.
3859
3860         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3861
3862 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3863
3864         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3865         (elmo-folder-commit): Define.
3866         (elmo-folder-synchronize): Ditto.
3867         (elmo-folder-list-flagged): Ditto.
3868         (elmo-folder-commit): Ditto.
3869         (elmo-folder-length): Ditto.
3870         (elmo-folder-count-flags): Ditto.
3871         (elmo-message-mark): Ditto.
3872         (elmo-message-field): Ditto.
3873         (elmo-message-entity): Ditto.
3874         (elmo-message-folder): Ditto.
3875
3876 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3877
3878         * elmo.el (elmo-message-field): Define as a method.
3879
3880         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3881         (elmo-message-field): Define.
3882
3883         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3884         (elmo-folder-list-importants): Ditto.
3885         (elmo-folder-list-answereds): Ditto.
3886
3887         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3888         qualifier.
3889         (elmo-folder-mark-as-read): Ditto.
3890         (elmo-folder-unmark-read): Ditto.
3891         (elmo-folder-mark-as-answered): Ditto.
3892         (elmo-folder-unmark-answered): Ditto.
3893         (elmo-folder-list-flagged): Define.
3894         (elmo-folder-commit): Ditto.
3895         (elmo-folder-length): Ditto.
3896         (elmo-folder-count-flags): Ditto.
3897
3898 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3899
3900         * elmo.el (elmo-folder-detach-messages): New method.
3901         (elmo-folder-move-messages): Use it.
3902         (elmo-folder-synchronize): Ditto.
3903
3904         * elmo-multi.el (elmo-folder-detach-messages): Define.
3905
3906         * elmo.el (elmo-message-copy-entity): New function.
3907         (elmo-message-entity-set-number): Ditto.
3908         (elmo-message-mark): Define as method.
3909
3910         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3911         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3912         (elmo-message-entity): Fixed last change.
3913         (elmo-message-mark): Define.
3914         (elmo-folder-msgdb-create): Abolish.
3915         (elmo-multi-folder-append-msgdb): Ditto.
3916         (elmo-multi-folder-diff): Fixed.
3917         (elmo-multi-split-number-alist): Removed.
3918         (elmo-multi-split-mark-alist): Removed.
3919         (elmo-folder-list-messages): Define.
3920         (elmo-folder-list-messages-internal): Removed.
3921
3922         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3923         local file messages.
3924         (elmo-folder-msgdb-create): Fixed read mark.
3925
3926 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3927
3928         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3929         if mark is nil.
3930
3931 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3932
3933         * elmo.el (elmo-folder-list-message-entities): Define as inline
3934         function.
3935         (elmo-folder-messages): Abolish.
3936
3937         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3938         folder.
3939         (elmo-folder-synchronize): Define.
3940         (elmo-message-entity): Define.
3941
3942 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3943
3944         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3945         elmo-imap4-session-select-mailbox.
3946
3947         * elmo.el (elmo-folder-move-messages): Don't display any message.
3948
3949         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3950         parsing.
3951         (elmo-imap4-session-check): Don't wait CHECK response.
3952         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3953
3954 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3955
3956         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3957
3958 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3959
3960         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3961         API.
3962         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3963
3964
3965         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3966         (elmo-folder-list-message-entities): Added argument in-msgdb and
3967         numbers.
3968         (elmo-folder-synchronize): Define as a method.
3969
3970         * elmo-nntp.el (elmo-folder-initialize): Don't use
3971         elmo-nntp-default-user if zero-length username is specified
3972         explicitly.
3973
3974 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3975
3976         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3977         server name in case with username.
3978         (XXX: this is ad-hoc fix against username includes "@", it
3979         should be solved fundamentally)
3980
3981 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3982
3983         * elmo-nntp.el (elmo-nntp-debug): New function.
3984         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3985         (elmo-network-authenticate-session): Hide auth-info from the log.
3986
3987         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3988         user name if it is equal to elmo-nntp-default-user.
3989
3990 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3991
3992         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3993         instead of shimbun-server-internal;
3994         Use shimbun-current-group instead of shimbun-current-group-internal.
3995         (elmo-folder-plugged-p): Use shimbun-server instead of
3996         shimbun-server-internal.
3997         (elmo-folder-set-plugged): Ditto.
3998         (elmo-net-port-info): Ditto.
3999         (elmo-folder-check): Ditto.
4000         (elmo-folder-expand-msgdb-path): Ditto.
4001         (elmo-folder-list-subfolders): Ditto.
4002
4003 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4004
4005         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4006         Convert field-name to lower case.
4007         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4008
4009 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4010
4011         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4012         `message' and `error' take format string.
4013
4014 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4015
4016         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4017
4018 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4019
4020         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4021         recursive call (can't byte compile on emacs 20.7).
4022
4023 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4024
4025         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4026         (elmo-folder-list-message-entities): New API.
4027         (elmo-message-entity): Ditto.
4028         (elmo-message-entity-parent): Ditto.
4029         (elmo-folder-do-each-message-entity): Ditto.
4030         (elmo-message-entity-number): Ditto.
4031         (elmo-message-entity-field): Ditto.
4032         (elmo-message-entity-set-field): Ditto.
4033         (elmo-folder-count-flags): Ditto.
4034         (elmo-folder-length): Ditto.
4035
4036         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4037         not.
4038
4039         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4040         (elmo-msgdb-count-marks): Abolish.
4041         (elmo-msgdb-make-entity): Ditto.
4042         (elmo-msgdb-do-each-entity): Ditto.
4043         (elmo-msgdb-message-entity): New inline function.
4044         (elmo-msgdb-message-entity-field): Ditto.
4045         (elmo-msgdb-message-entity-set-field): Ditto.
4046         (elmo-msgdb-make-message-entity): New function.
4047
4048 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4049
4050         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4051         to flag. (All other related portions are changed.)
4052         (elmo-folder-msgdb-create): Likewise.
4053         (elmo-generic-folder-append-messages): Use flag-table instead of
4054         seen-list.
4055         (elmo-folder-move-messages): Removed redundant process.
4056         (elmo-folder-synchronize): Likewise.
4057
4058         * elmo-msgdb.el (elmo-flag-table-get): New function.
4059         (elmo-flag-table-save): Fixed.
4060         (elmo-msgdb-length): New inline function.
4061         (elmo-msgdb-flag-table): New function.
4062         (elmo-msgdb-mark): Add optional argument new.
4063         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4064         (elmo-msgdb-seen-list): Ditto.
4065         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4066
4067
4068 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4069
4070         * elmo.el (elmo-message-set-mark): Abolish.
4071         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4072         (All related portions are changed.)
4073
4074         * elmo-msgdb.el (toplevel): Added comment.
4075         (elmo-load-msgdb): Added 4th element `path'.
4076         (elmo-msgdb-append): Follow the change above.
4077         (elmo-msgdb-clear): Ditto.
4078         (elmo-msgdb-delete-msgs): Ditto.
4079         (elmo-msgdb-get-path): New inline function.
4080         (elmo-msgdb-set-path): Ditto.
4081         (elmo-flag-table-filename): New variable.
4082         (elmo-flag-table-load): New function.
4083         (elmo-flag-table-set): Ditto.
4084         (elmo-flag-table-save): Ditto.
4085         (elmo-msgdb-get-field-value): Abolish.
4086         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4087
4088 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4089
4090         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4091         the folder has been deleted successfully.
4092         * elmo-imap4.el (elmo-folder-delete): Ditto.
4093         * elmo-archive.el (elmo-folder-delete): Ditto.
4094         * elmo-localdir.el (elmo-folder-delete): Ditto.
4095         * elmo-maildir.el (elmo-folder-delete): Ditto.
4096
4097 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4098
4099         * elmo-util.el (elmo-string-member-ignore-case): New function.
4100         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4101         (elmo-imap4-fetch-callback-1-subr): Likewise.
4102
4103 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4104
4105         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4106         the case of the name attribute "\Noselect".
4107
4108 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4109
4110         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4111
4112         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4113         flist, is not always a member of onum-alist.
4114
4115 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4116
4117         * elmo-version.el (elmo-version): Up to 2.11.3.
4118
4119 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4120
4121         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4122         copied from localdir's one.
4123
4124         * elmo-pipe.el (elmo-folder-rename): New method, rename
4125         destination folder with leaving source folder as it is.
4126
4127 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4128
4129         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4130         replace-regexp.
4131
4132 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4133
4134         * elmo-version.el (elmo-version): Up to 2.11.2.
4135
4136 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4137
4138         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4139         shimbun-open in case of "@".
4140         (elmo-folder-open-internal): Cope with shimbun = nil case.
4141         (elmo-folder-plugged-p): Ditto.
4142         (elmo-folder-list-subfolders): Make list for "@/" group.
4143
4144 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4145
4146         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4147         mailbox (e.g. for %~/something).
4148
4149 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4150
4151         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4152         Replace nested conditional with guard clauses.
4153
4154 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4155
4156         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4157         error [wl:11327].
4158
4159         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4160         print-depth.
4161
4162 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4163
4164         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4165         Replace nested conditional with guard clauses.
4166
4167 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4168
4169         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4170         (elmo-passwd-alist-save): Ditto.
4171         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4172
4173 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4174
4175         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4176         dir-name only if it is absolute path.
4177         (TODO: distinguish +/something and +something)
4178
4179 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4180
4181         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4182         path for "+~/something".
4183
4184 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4185
4186         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4187         as non-directory, cause error before rename-file.
4188         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4189         apropriately, mimic localdir's one.
4190         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4191
4192 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4193
4194         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4195
4196 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4197
4198         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4199
4200         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4201         
4202         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4203         is included in the global-mark or not.
4204
4205 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4206
4207         * utf7.el (toplevel): Avoid error when the function
4208         find-coding-system does not exist.
4209
4210 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4211
4212         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4213         cache even if the folder is plugged.
4214         (elmo-nntp-search-primitive): Do nothing when body search is
4215         invoked (although it is not used by the change above).
4216         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4217
4218 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4219
4220         * elmo-version.el (elmo-version): Up to 2.11.1.
4221
4222 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4223
4224         * elmo-archive.el: Specify charset.
4225
4226 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4227
4228         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4229         process buffer lives or not.
4230
4231         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4232         while flushing queues (It causes infinite loop).
4233
4234 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4235
4236         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4237
4238 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4239
4240         * utf7.el (toplevel): Check the ucs features dynamically.
4241         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4242
4243         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4244         folder is creatabe or not if it already exists.
4245
4246 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4247
4248         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4249
4250         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4251
4252         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4253         (elmo-imap4-read-response): Take care of garbage response.
4254
4255 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4256
4257         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4258         just return nil instead of error.
4259
4260 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4261
4262         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4263         search-key is "body".
4264
4265 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4266
4267         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4268         of elmo-string-matched-assoc to use match-data.
4269         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4270
4271 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4272
4273         * elmo-split.el (elmo-split->): New function.
4274         (elmo-split-<): Ditto.
4275
4276 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4277
4278         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4279         workaround for invalid message-id.
4280
4281 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4282
4283         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4284         return normal pop3 session or pop3 biff session.
4285
4286 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4287
4288         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4289         info part to the cur files when the new files already have it.
4290         (Adviced by Jared Rhine <jared@wordzoo.com>)
4291
4292 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4293
4294         * elmo-split.el (elmo-split-default-action): New variable.
4295         (elmo-split-subr): Use it if all other conditions are passed.
4296         Extend `fname' and rename it as `action'. (implemented
4297         Teranishi-san's idea in [wl:10800])
4298
4299 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4300
4301         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4302         * elmo-util.el: Ditto.
4303
4304 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4305
4306         * elmo.el (elmo-message-accessible-p): Renamed from
4307         elmo-message-cached-p and rewritten.
4308
4309 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4310
4311         * elmo.el (elmo-folder-list-flagged): New generic function.
4312         (elmo-folder-list-importants): New implementation.
4313         (elmo-folder-list-answereds): Ditto.
4314         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4315         Added 'digest'.
4316         (elmo-message-cached-p): New function.
4317         (elmo-message-set-flag): Ditto (no content).
4318         (elmo-message-unset-flag): Ditto.
4319         (elmo-folder-list-messages-mark-match): Abolish.
4320
4321         * elmo-util.el (elmo-regexp-opt): New function.
4322
4323         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4324         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4325         Added 'digest'.
4326         (elmo-msgdb-list-flagged): New function.
4327
4328         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4329         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4330         Added 'digest'.
4331
4332         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4333
4334 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4335
4336         * elmo-version.el (elmo-version): Up to 2.11.0.
4337
4338 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4339
4340         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4341         `elmo-file-cache-exists-p'; use proper mark that depends on
4342         `use-cache'.
4343         (elmo-msgdb-unset-flag): Ditto.
4344         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4345
4346         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4347         with 4th argument `use-cache'.
4348
4349 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4350
4351         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4352         (elmo-folder-mark-as-important): Ditto.
4353         (elmo-folder-unmark-read): Ditto.
4354         (elmo-folder-mark-as-read): Ditto.
4355         (elmo-folder-unmark-answered): Ditto.
4356         (elmo-folder-mark-as-answered): Ditto.
4357
4358         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4359         message status.
4360         (elmo-msgdb-mark): Likewise.
4361         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4362         (elmo-msgdb-unset-flag): Likewise.
4363
4364         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4365
4366 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4367
4368         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4369         `last:' filter.
4370
4371 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4372
4373         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4374         set spool-length to 0.
4375
4376 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4377
4378         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4379         (elmo-dop-queue-flush): Fixed last change.
4380
4381 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4382
4383         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4384         if require-msgdb slot is nil.
4385         (elmo-folder-list-importants): Likewise.
4386
4387 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4388
4389         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4390         mark is changed.
4391
4392         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4393         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4394         is changed.
4395
4396 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4397
4398         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4399
4400 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4401
4402         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4403
4404         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4405
4406 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4407
4408         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4409         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4410
4411 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4412
4413         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4414         the problem reported by Sean Rima [wl-en:180].
4415
4416 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4417
4418         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4419
4420         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4421
4422         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4423
4424         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4425
4426         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4427
4428         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4429
4430         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4431
4432 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4433
4434         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4435         status number.
4436
4437 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4438
4439         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4440         (elmo-folder-mark-as-read): Follow the API change.
4441         (elmo-message-set-cached): New function.
4442
4443         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4444
4445         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4446
4447         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4448         (elmo-folder-mark-as-important): Ditto.
4449         (elmo-folder-unmark-read): Ditto.
4450         (elmo-folder-mark-as-read): Ditto.
4451         (elmo-folder-unmark-answered): Ditto.
4452         (elmo-folder-mark-as-answered): Ditto.
4453
4454         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4455         (elmo-folder-unmark-important): Ditto.
4456         (elmo-folder-mark-as-read): Ditto.
4457         (elmo-folder-unmark-read): Ditto.
4458         (elmo-folder-mark-as-answered): Ditto.
4459         (elmo-folder-unmark-answered): Ditto.
4460
4461         * elmo-mark.el (toplevel): Removed some mark method definitions.
4462
4463         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4464         (elmo-map-folder-mark-as-answered): Ditto.
4465         (elmo-folder-unmark-important): Add :before qualifier.
4466         (elmo-folder-mark-as-important): Ditto.
4467         (elmo-folder-unmark-read): Ditto.
4468         (elmo-folder-mark-as-read): Ditto.
4469         (elmo-folder-unmark-answered): Define.
4470         (elmo-folder-mark-as-answered): Ditto.
4471
4472         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4473         (elmo-map-folder-unmark-answered): Ditto.
4474
4475         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4476
4477         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4478         (elmo-folder-mark-as-important): Ditto.
4479         (elmo-folder-unmark-read): Ditto.
4480         (elmo-folder-mark-as-read): Ditto.
4481         (elmo-folder-unmark-answered): Ditto.
4482         (elmo-folder-mark-as-answered): Ditto.
4483
4484         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4485         `mark'; evaluate mark condition.
4486         (elmo-msgdb-match-condition-internal): New function.
4487         (elmo-msgdb-match-condition): Call it; changed argument.
4488
4489         * elmo.el (elmo-folder-search): Follow the API change on
4490         `elmo-msgdb-match-condition'.
4491
4492 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4493
4494         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4495         original mark is non-nil.
4496
4497 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4498
4499         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4500         (elmo-map-folder-list-answereds): New method.
4501         (elmo-folder-list-unreads): Add :around qualifier.
4502         (elmo-folder-list-importants): Ditto.
4503         (elmo-folder-list-answereds): Ditto.
4504
4505 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4506
4507         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4508
4509         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4510         method if msgdb is not required.
4511         (elmo-filter-folder-list-importants): Don't treat global-mark.
4512
4513         * elmo.el (elmo-folder-list-importants): Ditto.
4514
4515         * elmo-net.el (elmo-folder-list-importants): Ditto.
4516
4517         * elmo-map.el (elmo-folder-list-importants): Ditto.
4518
4519         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4520
4521         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4522         (elmo-imap4-folder-list-any-plugged): New function.
4523         (elmo-imap4-search-internal-primitive): Use it.
4524
4525         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4526         only when require-msgdb slot is non-nil.
4527         (elmo-folder-close): Clear target folder's msgdb.
4528
4529 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4530
4531         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4532         (elmo-pop3-msgdb-create-by-header): Ditto.
4533         (elmo-pop3-msgdb-create-message): Ditto.
4534
4535         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4536
4537         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4538
4539         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4540
4541         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4542         (elmo-folder-msgdb-create): Ditto.
4543         (elmo-nntp-folder-msgdb-create): Ditto.
4544         (elmo-nntp-msgdb-create-by-header): Ditto.
4545         (elmo-nntp-msgdb-create-message): Ditto.
4546         (elmo-folder-list-unreads): Define.
4547
4548         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4549         (elmo-folder-append-messages): Ditto.
4550         (elmo-folder-list-unreads): Define.
4551         (elmo-folder-list-importants): Ditto.
4552         (elmo-folder-list-answereds): Ditto.
4553
4554         * elmo-net.el (elmo-folder-list-unreads): Define.
4555         (elmo-folder-list-importants): Ditto.
4556         (elmo-folder-list-answereds): Ditto.
4557         (elmo-folder-list-answereds-plugged): Ditto.
4558         (elmo-folder-msgdb-create): Follow the API change.
4559         (elmo-folder-msgdb-create-unplugged): Ditto.
4560         (elmo-folder-unmark-answered): Define.
4561         (elmo-folder-mark-as-answered-unplugged): Ditto.
4562         (elmo-folder-unmark-answered-unplugged): Ditto.
4563
4564         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4565         (elmo-msgdb-unread-uncached-mark): Ditto.
4566         (elmo-msgdb-unread-cached-mark): Ditto.
4567         (elmo-msgdb-read-uncached-mark): Ditto.
4568         (elmo-msgdb-answered-cached-mark): Ditto.
4569         (elmo-msgdb-answered-uncached-mark): Ditto.
4570         (elmo-msgdb-important-mark): Ditto.
4571         (elmo-msgdb-set-mark): Rewrite.
4572         (elmo-msgdb-count-marks): Rewrite.
4573         (elmo-msgdb-mark-alist-set): Abolish.
4574         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4575         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4576
4577         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4578         (elmo-folder-close): Define.
4579         (elmo-folder-msgdb-create): Follow the API change.
4580         (elmo-folder-list-unreads): Rewrite.
4581         (elmo-folder-mark-as-important): Ditto.
4582         (elmo-folder-unmark-important): Ditto.
4583         (elmo-folder-mark-as-read): Ditto.
4584         (elmo-folder-unmark-read): Ditto.
4585         (elmo-folder-mark-as-answered): Define.
4586         (elmo-folder-unmark-answered): Ditto.
4587
4588         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4589         (elmo-folder-append-messages): Ditto.
4590
4591         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4592
4593         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4594         (elmo-folder-list-importants): Ditto.
4595
4596         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4597         (elmo-folder-append-messages): Ditto.
4598
4599         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4600         change.
4601         (elmo-folder-msgdb-create-plugged): Ditto.
4602         (elmo-folder-append-messages): Ditto.
4603         (elmo-folder-list-answereds-plugged): Define.
4604         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4605         (elmo-folder-unmark-answered-plugged): Define.
4606         (elmo-folder-mark-as-answered-plugged): Ditto.
4607         (elmo-folder-search-requires-msgdb-p): Ditto.
4608
4609         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4610         (elmo-folder-initialize): Set it.
4611         (elmo-folder-msgdb): Define.
4612         (elmo-folder-check): Call elmo-folder-synchronize.
4613         (elmo-folder-close): Define.
4614         (elmo-folder-commit): Ditto.
4615         (elmo-folder-msgdb-create): Rewrite.
4616         (elmo-folder-list-unreads): Ditto.
4617         (elmo-folder-list-importants): Ditto.
4618         (elmo-folder-mark-as-read): Ditto.
4619         (elmo-folder-unmark-read): Ditto.
4620         (elmo-folder-mark-as-important): Ditto.
4621         (elmo-folder-unmark-important): Ditto.
4622         (elmo-folder-mark-as-answered): Define.
4623         (elmo-folder-unmark-answered): Ditto.
4624
4625         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4626         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4627         (elmo-dop-queue-method-name-alist): Likewise.
4628         (elmo-folder-mark-as-answered-dop): New inline function.
4629         (elmo-folder-unmark-answered-dop): Ditto.
4630         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4631
4632         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4633         (elmo-folder-msgdb-create): Ditto.
4634         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4635         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4636         (elmo-archive-parse-mmdf): Ditto.
4637
4638         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4639         (elmo-folder-list-unreads-internal): Ditto.
4640
4641         * elmo.el (elmo-folder-msgdb): Define as generic function.
4642         (elmo-folder-list-messages): Added argument `in-msgdb'.
4643         (elmo-folder-list-unreads): Define as generic function.
4644         (elmo-folder-list-importants): Ditto.
4645         (elmo-folder-list-answereds): Ditto.
4646         (elmo-folder-list-messages-with-global-mark): New function.
4647         (elmo-folder-msgdb-create): Removed mark arguments.
4648         (elmo-folder-unmark-answered): New generic function.
4649         (elmo-folder-mark-as-answered): Ditto.
4650         (elmo-folder-append-messages): Removed argunment `unread-marks'
4651         (elmo-folder-list-unreads-internal): Abolish.
4652         (elmo-folder-list-importants-internal): Ditto.
4653         (elmo-folder-search-requires-msgdb-p): New generic function.
4654         (elmo-folder-search-requires-msgdb-p-internal): New function.
4655         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4656         elmo-msgdb-load.
4657         (elmo-folder-search-fast): Added key 'mark'.
4658         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4659         instead of unread-marks argument.
4660         (elmo-folder-move-messages): Removed argunment `unread-marks'
4661         (elmo-folder-unmark-important): Define.
4662         (elmo-folder-mark-as-important): Ditto.
4663         (elmo-folder-unmark-read): Ditto.
4664         (elmo-folder-mark-as-read): Ditto.
4665         (elmo-folder-unmark-answered): Ditto.
4666         (elmo-folder-mark-as-answered): Ditto.
4667         (elmo-folder-replace-marks): Abolish.
4668         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4669         duplicates.
4670         (elmo-folder-synchronize): Removed mark arguments;
4671         return crosspost only number.
4672
4673 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4674
4675         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4676         Remove redundunt connectivity check.
4677
4678 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4679
4680         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4681         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4682
4683 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4684
4685         * pldap.el (ldap-decode-string): Return string as-is if
4686         `ldap-coding-system' is nil.
4687         (ldap-encode-string): Ditto.
4688         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4689         (ldap-default-host): Fixed docstring.
4690
4691 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4692
4693         * elmo-util.el (elmo-warning): Define as a macro which uses
4694         `display-warning' if it is defined as a function.
4695
4696         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4697         (elmo-split-equal): Use it.
4698         (elmo-split-match): Ditto.
4699         (elmo-split-message-entity): New buffer-local variable.
4700         (elmo-split-subr): Set it.
4701
4702         * elmo-version.el (elmo-version): Up to 2.9.15.
4703
4704 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4705
4706         * elmo-imap4.el (elmo-network-initialize-session):
4707         Check capability after starttls.
4708
4709 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4710
4711         * elmo-util.el (elmo-list-delete): Added optional argument
4712         DELETE-FUNCTION.
4713
4714         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4715
4716         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4717
4718         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4719
4720         * elmo-imap4.el (elmo-folder-initialize): Don't use
4721         elmo-imap4-default-mailbox.
4722
4723 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4724
4725         * elmo-split.el (toplevel): Use `product-provide'.
4726         (elmo-split): Checkdoc.
4727
4728 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4729
4730         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4731         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4732         the function `elmo-imap4-debug-1'.
4733
4734 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4735
4736         * elmo-split.el (elmo-split): Moved to run hooks and to show
4737         message from elmo-split-subr.
4738         (elmo-split-subr): Follow the change above.
4739
4740         * elmo-split.el (elmo-split-subr): New function (renamed from
4741         elmo-split-subr).
4742         (elmo-split): Changed to call elmo-split-subr by element of
4743         elmo-split-folder.
4744         (elmo-split-folder): Changed customization type to choice.
4745
4746 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4747
4748         * elmo-split.el (elmo-split-and): Fixed condition.
4749
4750 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4751
4752         * elmo-split.el: New file.
4753         (elmo-split): Fixed logic.
4754         Display "Test:" instead of "Folder:" when reharsal.
4755
4756         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4757         explicitly.
4758
4759         * elmo-version.el (elmo-version): Up to 2.9.14.
4760
4761         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4762         wl-expand-newtext).
4763
4764 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4765
4766         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4767         message with no message-id field.
4768
4769 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4770
4771         * elmo-version.el (elmo-version): Up to 2.9.13.
4772
4773         * elmo-dop.el (elmo-folder-status-dop): Fix.
4774
4775 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4776
4777         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4778
4779         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4780         changing default value of default-mime-charset.
4781         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4782
4783         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4784
4785         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4786         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4787         instead of elmo-dop-queue-method-name-alist to check merging queue.
4788         (elmo-folder-delete-messages-dop): Delete from queue if negative
4789         message number.
4790         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4791         file is already removed.
4792
4793 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4794
4795         * elmo-vars.el: Bind colon keywords for old Emacsen.
4796
4797 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4798
4799         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4800         against non-exsisting charset.
4801
4802 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4803
4804         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4805         Use eword-decode-and-unfold-unstructured-field-body.
4806
4807         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4808         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4809         exists to decode raw subject string.
4810         (toplevel): Require 'mime.
4811
4812         * elmo-version.el (elmo-version): Up to 2.9.12.
4813
4814 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4815
4816         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4817         (elmo-msgdb-set-mark): Ditto.
4818
4819         * elmo-version.el (elmo-version): Up to 2.9.11.
4820
4821 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4822
4823         * elmo-util.el (elmo-delete-match-files): New function.
4824
4825         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4826         instead of elmo-delete-directory.
4827
4828         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4829         elmo-hash-minimun-size as 63.
4830
4831         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4832         elmo-diff-unread is nil.
4833
4834         * elmo-imap4.el (elmo-folder-open): Fix.
4835
4836         * elmo.el (elmo-message-mark): Rewrite.
4837         (elmo-message-field): Ditto.
4838         (elmo-message-set-mark): Ditto.
4839         (elmo-folder-replace-marks): New function.
4840         (elmo-generic-folder-append-msgdb): Removed third argument for
4841         elmo-msgdb-append.
4842         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4843         (elmo-msgdb-load): New implementation.
4844
4845         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4846
4847         * elmo-util.el (elmo-list-insert): New implementation.
4848
4849         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4850         argument for elmo-msgdb-append.
4851         
4852
4853         * elmo-msgdb.el (elmo-load-msgdb): New function.
4854         (elmo-make-msgdb): Ditto.
4855         (elmo-msgdb-get-index): New inline function.
4856         (elmo-msgdb-set-index): Ditto.
4857         (elmo-msgdb-get-entity-hashtb): Ditto.
4858         (elmo-msgdb-get-mark-hashtb): Ditto.
4859         (elmo-msgdb-get-mark): Ditto.
4860         (elmo-msgdb-set-mark): Ditto.
4861         (elmo-msgdb-count-marks): Ditto.
4862         (elmo-msgdb-get-number): Ditto.
4863         (elmo-msgdb-get-field): Ditto.
4864         (elmo-msgdb-seen-list): Ditto.
4865         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4866         (elmo-msgdb-delete-msgs): Follow the changes above.
4867         (elmo-msgdb-overview-get-entity): Ditto.
4868         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4869         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4870         and rewritten.
4871         (elmo-msgdb-make-index): Likewise.
4872         (elmo-msgdb-append): Removed third argument.
4873         (elmo-msgdb-clear): Clear index as nil.
4874         (elmo-folder-set-info-hashtb): Removed.
4875         (elmo-folder-set-info-max-by-numdb): Ditto.
4876         (elmo-folder-info-make-hashtb): Ditto.
4877
4878         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4879
4880         * elmo-map.el (elmo-folder-pack-number): Ditto.
4881
4882 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4883
4884         * elmo-version.el (elmo-version): Up to 2.9.10.
4885
4886         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4887
4888         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4889
4890 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4891
4892         * elmo-utils.el (elmo-make-directory): Add option.
4893         Default file mode is 700.
4894
4895 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4896
4897         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4898
4899 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4900
4901         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4902         mime-charset.
4903
4904         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4905         and "smaller".
4906
4907 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4908
4909         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4910         (elmo-shimbun-folder-entity-hash): New function.
4911         (elmo-shimbun-folder-shimbun-header): Ditto.
4912         (elmo-shimbun-entity-to-header): Ditto.
4913         (elmo-shimbun-msgdb-to-headers): Removed.
4914         (elmo-shimbun-folder-setup): Ditto.
4915         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4916         for hash key.
4917         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4918         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4919         Removed useless local bind.
4920         (elmo-folder-open-internal): Don't call
4921         `elmo-shimbun-folder-setup'.
4922         (elmo-folder-close-internal): Clear entity-hash slot.
4923         (elmo-folder-clear): Ditto.
4924         (elmo-shimbun-msgdb-create-entity): Use
4925         `elmo-shimbun-folder-shimbun-header'.
4926         (elmo-map-message-fetch): Ditto.
4927         (elmo-shimbun-update-overview): Use overview entity instead of
4928         shimbun header to lookup id by references.
4929         (elmo-map-folder-list-message-locations): Use not only headers but
4930         also overviews to list locations.
4931
4932 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4933
4934         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4935         msgdb path.
4936
4937         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4938
4939 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4940
4941         * elmo-util.el (elmo-read-search-condition-internal): Give default
4942         value for date.
4943
4944 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4945
4946         * elmo-util.el (elmo-condition-parse-search-value): Accept
4947         YYYY-MM-DD format to search.
4948         * elmo-date.el (elmo-date-get-datevec): Likewise.
4949
4950 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4951
4952         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4953         debugging code.
4954
4955 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4956
4957         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4958         from t.
4959
4960         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4961
4962         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4963         case from `elmo-folder-exists-p'.
4964         (elmo-folder-exists-p): Removed.
4965         (elmo-folder-creatable-p) Ditto.
4966
4967         * elmo-net.el (elmo-folder-create): Defined.
4968         (elmo-folder-create-unplugged): New function.
4969         (elmo-folder-exists-p): Changed default value to nil from t.
4970
4971         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4972         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4973
4974         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4975         `elmo-create-folder-dop' and append queue
4976         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4977         (elmo-folder-create-dop-delayed): New function.
4978
4979         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4980
4981         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4982
4983         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4984         (elmo-folder-writable-p) : Ditto.
4985
4986         * elmo-version.el (elmo-version): Up to 2.9.9.
4987
4988 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4989
4990         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4991         `elmo-message-use-cache-p' returns nil.
4992         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4993         (ignore cache file and refer the substance in local folders)
4994
4995 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4996
4997         * elmo-version.el (elmo-version): Up to 2.9.8.
4998
4999 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5000
5001         * elmo-version.el (elmo-version): Up to 2.9.7.
5002
5003         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5004
5005 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5006
5007         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5008
5009 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5010
5011         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5012         from --early.
5013         (elmo-map-folder-list-message-locations): Reverse location list.
5014
5015 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5016
5017         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5018
5019 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5020
5021         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5022         as a key.
5023         (elmo-nntp-folder-list-subfolders): Follow the change above.
5024
5025 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5026
5027         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5028         name if authentication type is specified.
5029
5030 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5031
5032         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5033         variable.
5034         (elmo-default-nntp-stream-type): Ditto.
5035         (elmo-default-pop3-stream-type): Ditto.
5036
5037 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5038
5039         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5040
5041 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5042
5043         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5044         elmo-vars.el.
5045         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5046
5047         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5048         (elmo-maildir-folder-path): Ditto.
5049         (elmo-maildir-list): Ditto (abolished).
5050
5051 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5052
5053         * elmo-version.el (elmo-version): Up to 2.9.6.
5054
5055 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5056
5057         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5058         (elmo-maildir-folder-path): Ditto.
5059         (elmo-msgdb-directory): Ditto.
5060         (elmo-passwd-life-time): Ditto.
5061         (elmo-msgdb-extra-fields): Ditto.
5062         (elmo-enable-disconnected-operation): Ditto.
5063
5064 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5065
5066         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5067         other choices.
5068         (elmo-pop3-default-authenticate-type): Ditto.
5069
5070 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5071
5072         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5073         choices for custom.
5074         (elmo-pop3-default-authenticate-type): Ditto.
5075
5076 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5077
5078         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5079         mailbox to new-folder.
5080
5081 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5082
5083         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5084         less than new, set new as unread.
5085
5086         * elmo-util.el (elmo-string): Don't put text-property if nil.
5087
5088 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5089
5090         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5091         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5092
5093 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5094
5095         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5096         is nil on `completing-read'.
5097
5098 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5099
5100         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5101         for namespace part.
5102         (elmo-imap4-parse-namespace-subr): Ditto.
5103         (elmo-folder-list-subfolders): Append a delimiter when the specified
5104         folder path is a root with namespace and does not end with delimiter.
5105
5106 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5107
5108         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5109         was used.
5110
5111 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5112
5113         * elmo-util.el (elmo-save-buffer): The first argument of message
5114         is a format control string.
5115
5116 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5117
5118         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5119         `elmo-folder-diff').
5120         (elmo-diff-unread): Likewise.
5121
5122 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5123
5124         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5125         is t on `completing-read'.
5126
5127 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5128
5129         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5130         method of target folder with self mark-alist if MARK-ALIST is nil.
5131
5132 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5133
5134         * elmo-version.el (elmo-version): Up to 2.9.5.
5135
5136 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5137
5138         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5139         (elmo-dop-merge-funcs): Remove.
5140
5141 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5142
5143         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5144         Return t if PATH is directory, too.
5145         Use `dolist' instead of while loop.
5146
5147 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5148
5149         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5150         is deleted.
5151
5152 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5153
5154         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5155         return value to t.
5156         (elmo-folder-list-messages-unplugged): Return t if
5157         elmo-enable-disconnected-operation is nil.
5158
5159         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5160         `elmo-folder-list-messages-internal'.
5161
5162 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5163
5164         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5165         Change to looking-at `[23][0-9]+'.
5166         (elmo-network-initialize-session): Use 'error-msg'
5167         * elmo-net.el (elmo-network-open-session): Set unplugged
5168         if elmo-network-initialize-session returns 'elmo-open-err.
5169
5170 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5171
5172         * elmo-version.el (elmo-version): Up to 2.9.4.
5173
5174 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5175
5176         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5177         `elmo-folder-list-messages-internal'.
5178
5179 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5180
5181         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5182         (elmo-message-match-condition): New method.
5183         (elmo-folder-search-fast): New inline function.
5184         (elmo-msgdb-search): Removed.
5185
5186         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5187         target folder if it is unplugged.
5188         (elmo-folder-list-messages-internal): Return t if target folder is
5189         unplugged and itself is persistent; In this case, use list be
5190         searched already.
5191
5192         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5193         (elmo-msgdb-search-internal-primitive): Ditto.
5194         (elmo-msgdb-match-condition): New function.
5195         (elmo-msgdb-match-condition-primitive): Ditto.
5196
5197         * elmo-util.el (elmo-filter-condition-p): New macro.
5198
5199         * elmo-cache.el (elmo-folder-search): Removed.
5200
5201         * elmo-localdir.el (elmo-folder-search): Ditto.
5202
5203         * elmo-maildir.el (elmo-folder-search): Ditto.
5204
5205         * elmo-mark.el (elmo-folder-search): Ditto.
5206
5207         * elmo-nmz.el (elmo-folder-search): Ditto.
5208
5209         * elmo-sendlog.el (elmo-folder-search): Ditto.
5210
5211         * elmo-shimbun.el (elmo-folder-search): Ditto.
5212
5213         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5214         if folder is unplugged.
5215
5216         * elmo-nntp.el (elmo-folder-search): Likewise.
5217         (elmo-nntp-search-internal): New function.
5218
5219         * elmo-version.el (elmo-version): Up to 2.9.3.
5220
5221 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5222
5223         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5224
5225 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5226
5227         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5228
5229 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5230
5231         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5232
5233 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5234
5235         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5236         (elmo-map-folder-list-message-locations): Do drive letter conversion
5237         on Windows environment.
5238         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5239         (elmo-map-message-fetch): Ditto.
5240
5241 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5242
5243         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5244         (elmo-network-initialize-session): Ditto.
5245
5246 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5247
5248         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5249
5250         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5251
5252         * elmo-util.el (elmo-progress-clear): Ditto.
5253
5254         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5255         `DD-Mon-YYYY' type date.
5256
5257 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5258
5259         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5260         `elmo-date-make-sortable-string' instead of
5261         `timezone-make-date-sortable'.
5262
5263         * elmo-date.el (elmo-date-make-sortable-string): Use
5264         `timezone-make-time-string'.
5265
5266 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5267
5268         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5269
5270         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5271         `since'; Fix timezone.
5272
5273         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5274
5275         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5276
5277 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5278
5279         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5280
5281 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5282
5283         * elmo.el (elmo-generic-folder-append-messages): Make
5284         fetch-strategy with `use-cache' as 'maybe. Check return value of
5285         `elmo-message-fetch'.
5286         (elmo-message-fetch): Return return value of
5287         `elmo-message-fetch-with-cache-process'.
5288         (elmo-message-fetch-with-cache-process): Return non-nil if
5289         fetching was succeed. Load cache when fetching was failed and
5290         fetch-strategy-use-cache is 'maybe.
5291
5292         * elmo-util.el (elmo-file-cache-load): New function.
5293
5294         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5295         defun.
5296
5297         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5298         non-nil if fetching was succeed.
5299
5300         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5301
5302         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5303
5304         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5305         (elmo-message-fetch-with-cache-process): Likwise.
5306
5307         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5308
5309         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5310
5311         * elmo-version.el (elmo-version): Up to 2.9.2.
5312
5313 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5314
5315         * elmo.el (elmo-folder-delete): Delete msgdb path.
5316
5317         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5318
5319         * elmo-maildir.el (elmo-folder-delete): Ditto.
5320
5321         * elmo-localdir.el (elmo-folder-delete): Ditto.
5322
5323         * elmo-imap4.el (elmo-folder-delete): Ditto.
5324
5325 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5326
5327         * elmo.el (luna-define-class): Added `biff' slot.
5328
5329         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5330         (elmo-pop3-debug-inhibit-logging): Abolished.
5331         (elmo-network-close-session): Eliminated needless let.
5332         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5333         (elmo-pop3-send-command): Added `no-log' argument.
5334         (elmo-pop3-process-filter): Use `with-current-buffer'.
5335         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5336         if login failure.
5337         (elmo-pop3-auth-apop): Likewise.
5338         (elmo-network-authenticate-session): Likewise.
5339
5340         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5341         if biff folder.
5342
5343         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5344         string to determine protocol.
5345         (elmo-network-session-name-prefix): Abolished.
5346         (elmo-network-session-cache-key): Follow the change above.
5347         (elmo-network-open-session): Ditto.
5348
5349         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5350         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5351
5352         * elmo-version.el (elmo-version): Up to 2.9.1.
5353
5354         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5355         unmatch condition checking.
5356
5357         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5358         condition.
5359
5360 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5361
5362         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5363
5364 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5365
5366         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5367         test for while loop to execute at least one SEARCH command.
5368
5369 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5370
5371         * elmo-version.el (elmo-version): Up to 2.9.0.
5372
5373 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5374
5375         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5376         (elmo-archive-folder-path): Define.
5377         (elmo-folder-initialize): Setup `dir-name' slot.
5378         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5379         Use `dir-name' as prefix of each subfolders.
5380         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5381
5382 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5383
5384         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5385         (elmo-pipe-folder-list-target-messages): New internal function.
5386         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5387         `killed-list'.
5388         (elmo-pipe-folder-copied-list-load): New function.
5389         (elmo-pipe-folder-copied-list-save): Ditto.
5390         (elmo-folder-open-internal): Follow the change above.
5391         (elmo-folder-status): Fixed for copy.
5392
5393 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5394
5395         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5396
5397 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5398
5399         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5400         elmo-copy-file instead of elmo-add-name-to-file.
5401
5402         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5403
5404         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5405         "file://..." index.
5406
5407         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5408         of accept-process-output as 1.
5409         (elmo-pop3-read-contents): Ditto.
5410         (elmo-pop3-read-body): Ditto.
5411
5412 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5413
5414         * elmo-version.el (product-version-as-string): Remove define.
5415
5416 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5417
5418         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5419         (elmo-imap4-copy-messages): Chop number set using
5420         `elmo-imap4-number-set-chop-length'.
5421         (elmo-imap4-set-flag): Ditto.
5422         (elmo-imap4-search-internal-primitive): Ditto.
5423
5424 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5425
5426         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5427         `elmo-folder-make-temp-dir'
5428
5429         * elmo-vars.el (elmo-cache-directory): New variable.
5430         (elmo-cache-dir): Abolished.
5431         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5432
5433         * elmo-version.el (elmo-version): Up to 2.7.7.
5434
5435 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5436
5437         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5438         defcustom; Set default value as t.
5439
5440 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5441
5442         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5443         (ldap-search-program-arguments): Changed default value.
5444         (ldap-search-basic): Accept exit status 4.
5445         (ldap/field-body): Parse options.
5446         (ldap/collect-field): Ditto.
5447         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5448
5449         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5450         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5451         (elmo-imap4-accept-ok): Ditto.
5452         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5453         'notify-bye, only BYE error is reported.
5454         (elmo-folder-exists-p-plugged): Set no-error argument of
5455         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5456
5457         * elmo.el (elmo-imap4-bye-error): Changed message.
5458
5459         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5460         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5461         queues (It causes infinite loop).
5462
5463 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5464
5465         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5466         (RECENT UNSEEN MESSAGES) extension.
5467
5468 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5469
5470         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5471         Check number of overview fields.
5472
5473 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5474
5475         * elmo.el (elmo-folder-confirm-appends): Changed message.
5476         (elmo-folder-confirm-appends): Ditto.
5477
5478         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5479         `with-temp-buffer'.
5480         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5481
5482 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5483
5484         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5485         of elmo-folder-update-threshold is nil, which can be set by
5486         wl-summary-update-confirm-threshold.
5487
5488 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5489
5490         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5491         (elmo-nmz-index-alias-alist): Ditto.
5492         (elmo-map-folder-list-message-locations): Follow the change above.
5493
5494 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5495
5496         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5497
5498         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5499
5500         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5501
5502         * elmo-util.el (elmo-read): Ditto.
5503         (elmo-display-error): Ditto.
5504
5505         * elmo-vars.el (elmo-date-match): Ditto.
5506
5507         * pldap.el (ldap-coding-system): Ditto.
5508
5509         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5510         `elmo-inhibit-number-mapping' as nil.
5511
5512 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5513
5514         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5515         space delimiter for list response.
5516
5517 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5518
5519         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5520
5521 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5522
5523         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5524         (elmo-map-message-fetch): Fix.
5525         * elmo-map.el (elmo-folder-status): Fix for killed.
5526
5527 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5528
5529         * elmo-sendlog.el: New file.
5530         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5531
5532 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5533
5534         * acap.el (acap-logging-out): New buffer local variable.
5535         (acap-close): Set it.
5536         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5537         an error.
5538
5539 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5540
5541         * acap.el (acap-response-bye-p): New function.
5542         (acap-response-bye-message): Ditto.
5543         (acap-wait-for-response): If bye response is received, cause an error.
5544         (acap-parse-response): Make bye response when 'Bye' is received.
5545
5546 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5547
5548         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5549
5550 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5551
5552         * elmo-util.el (elmo-copy-file): Added argument
5553         `ok-if-already-exists'.
5554         (elmo-copy-file): Fixed typo.
5555
5556 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5557
5558         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5559
5560 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5561
5562         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5563
5564 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5565
5566         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5567         to killed-list.
5568
5569 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5570
5571         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5572         (elmo-folder-initialize): Fix for `copy'.
5573         (elmo-pipe-drain): Ditto.
5574         (elmo-folder-open-internal): Ditto.
5575         (elmo-folder-newsgroups): Fix.
5576
5577 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5578
5579         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5580         for each message.
5581
5582         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5583         recent value is returned from imap folder.
5584
5585         * elmo.el (elmo-folder-newsgroups): New generic function.
5586
5587         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5588         (elmo-folder-initialize): Set it.
5589         (elmo-folder-expand-msgdb-path): Use it.
5590         (elmo-folder-newsgroups): Define.
5591
5592         * elmo-filter.el (elmo-folder-newsgroups): Define.
5593
5594         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5595
5596         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5597
5598         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5599
5600 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5601
5602         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5603         user option.
5604         (elmo-shimbun-header-extra-field): New inline function.
5605         (elmo-shimbun-header-set-extra-field): Ditto.
5606         (elmo-shimbun-folder-header-hash-setup): Ditto.
5607         (elmo-shimbun-update-overview): Ditto.
5608         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5609         (elmo-shimbun-folder-setup): Use
5610         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5611         (elmo-shimbun-get-headers): Ditto.
5612         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5613         Insert `X-Shimbun-Id:' header if extra field is set.
5614         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5615         field's value instead of `shimbun-header-id'.
5616
5617         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5618         inline function.
5619         (elmo-msgdb-overview-entity-set-date): Ditto.
5620         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5621
5622 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5623
5624         * mmimap.el (mmimap-entity-section): Changed body node number from
5625         "0" to "1".
5626
5627 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5628
5629         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5630         `elmo-folder-delete-messages'.
5631
5632         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5633         (elmo-folder-initialize): Changed to expand alias into index path.
5634
5635         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5636         `elmo-mime-insert-header-from-buffer' with 6th arg
5637         `sorted-fields'.
5638
5639 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5640
5641         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5642
5643         * elmo.el (elmo-diff-new): New inline function.
5644         (elmo-diff-unread): Ditto.
5645         (elmo-diff-all): Ditto.
5646
5647         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5648         value from responseb.
5649         (elmo-imap4-folder-diff-plugged): Ditto.
5650         (elmo-imap4-server-diff-async): Added recent argument.
5651         (elmo-server-diff-async): Ditto.
5652         (elmo-imap4-folder-diff-plugged): Ditto.
5653
5654         * elmo-version.el (elmo-version): Up to 2.7.6.
5655
5656 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5657
5658         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5659         in quoted-stirng.
5660
5661 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5662
5663         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5664
5665         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5666
5667         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5668
5669         * elmo-multi.el (elmo-folder-initialize): Ditto.
5670
5671         * elmo-util.el (elmo-parse-token): New function.
5672         (elmo-parse-prefixed-element): Ditto.
5673
5674 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5675
5676         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5677         delete process.
5678         (elmo-imap4-accept-ok): Ditto.
5679
5680 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5681
5682         * mmimap.el (mime-imap-entity-header-string): Don't check first
5683         element of node-id is `0' (Follow last change).
5684
5685 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5686
5687         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5688         assigned irregular node-id to nested multipart section.
5689         (initialize-instance): Followed above change.
5690
5691 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5692
5693         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5694         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5695         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5696         `elmo-shimbun-get-headers');
5697         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5698         visible article on summary exists in headers).
5699         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5700
5701 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5702
5703         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5704         definition.
5705
5706 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5707
5708         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5709
5710 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5711
5712         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5713         header separator into loop condition.
5714
5715 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5716
5717         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5718         Return duplicate folder if it has subfolder.
5719
5720 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5721
5722         * elmo.el (elmo-make-folder): Add folder name error check.
5723
5724         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5725         (elmo-nntp-encode-group-string): New inline function.
5726         (elmo-nntp-decode-group-string): Ditto.
5727         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5728         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5729         Use `not' instead of `null';
5730         Use elmo-nntp-decode-group-string.
5731
5732         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5733
5734         * elmo-version.el (elmo-version): Up to 2.7.5.
5735
5736 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5737
5738         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5739         Hide progress gauge if `elmo-folder-move-messages' exits
5740         nonlocally.
5741
5742 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5743
5744         * elmo-imap4.el (elmo-folder-initialize): Use
5745         `elmo-imap4-encode-folder-string' for folder name.
5746
5747 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5748
5749         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5750         `done'.
5751
5752 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5753
5754         * elmo-util.el (elmo-progress-counter-alist): New internal
5755         variable.
5756         (elmo-progress-counter-value): New macro.
5757         (elmo-progress-counter-all-value): Ditto.
5758         (elmo-progress-counter-format): Ditto.
5759         (elmo-progress-counter-set-value): Ditto.
5760         (elmo-progress-set): New function.
5761         (elmo-progress-clear): Ditto.
5762         (elmo-progress-notify): Ditto.
5763
5764         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5765         counter.
5766
5767         * elmo.el (elmo-generic-folder-append-messages): Call
5768         `elmo-progress-notify'.
5769         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5770
5771         * elmo-archive.el (elmo-folder-append-messages): Call
5772         `elmo-progress-notify'.
5773
5774         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5775
5776         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5777
5778         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5779
5780 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5781
5782         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5783         'Create'.
5784         (elmo-message-encache-dop): Added argument `read'.
5785
5786         * elmo-shimbun.el (elmo-message-encache): Ditto.
5787
5788         * elmo-net.el (elmo-message-encache): Ditto.
5789
5790         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5791         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5792         elmo-imap4-seen-messages.
5793         (elmo-folder-msgdb-create-plugged): Initialize
5794         elmo-imap4-seen-messages;
5795         Set seen mark on elmo-imap4-seen-messages.
5796
5797         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5798
5799         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5800         elmo-folder-append-buffer.
5801         (elmo-folder-encache): Added optional argument `read'.
5802         (elmo-message-encache): Ditto.
5803
5804         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5805
5806         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5807
5808         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5809         if append buffer content succeds.
5810
5811 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5814         elmo-display-progress.
5815
5816         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5817         Set 4th argument of mime-display-message.
5818         (elmo-mime-display-as-is): Ditto.
5819
5820 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5821
5822         * elmo-nmz.el (toplevel): Require 'mime-edit.
5823         (elmo-nmz-content-type-alist): Abolished.
5824         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5825         content is not a message.
5826         (elmo-map-message-fetch): Changed behavior exept for message content;
5827         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5828         content-type, Add From: and Subject: field.
5829
5830 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5831
5832         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5833         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5834         not a message.
5835
5836 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5837
5838         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5839         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5840
5841         * elmo-archive.el (elmo-folder-writable-p): Defined.
5842
5843         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5844
5845         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5846
5847         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5848
5849         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5850
5851         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5852
5853         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5854
5855         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5856
5857         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5858
5859 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5860
5861         * elmo-util.el (elmo-address-quote-specials): New function;
5862         Renamed from `wl-address-quote-specials'.
5863
5864 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5865
5866         * elmo-version.el (elmo-version): Up to 2.7.4.
5867
5868 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5869
5870         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5871
5872 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5873
5874         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5875         both compile-time and run-time to avoid byte-compile warning.
5876
5877 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5878
5879         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5880
5881 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5882
5883         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5884         option.
5885         (elmo-mime-display-as-is-internal): Use it.
5886
5887         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5888         if `read-passwd' is not defined.
5889
5890 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5891
5892         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5893         by original number.
5894         (elmo-folder-status): Call `elmo-folder-open-internal';
5895         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5896         (elmo-folder-close-internal): Set location-alist as nil.
5897         (elmo-folder-clear): Define.
5898         (elmo-folder-check): Don't set location-alist as nil.
5899
5900         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5901
5902 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5903
5904         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5905         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5906
5907         * mmimap.el (mime-imap-entity::requested): New slot.
5908         (mime-imap-location-fetch-entity-p): New generic function.
5909         (mime-decode-parameters): Define using `defun-maybe'.
5910         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5911         content-type structure.
5912         (mime-entity-body): Return empty body if
5913         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5914
5915         * elmo.el (elmo-message-displaying): New variable.
5916
5917         * elmo-mime.el (elmo-mime-message-display): Bind
5918         elmo-message-displaying as t.
5919
5920         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5921
5922 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5923
5924         * acap.el (acap-open): erase buffer before starting network process.
5925         (acap-store): Rewrite.
5926
5927 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5928
5929         * elmo-imap4.el (elmo-imap4-default-mailbox,
5930         elmo-imap4-default-server
5931         elmo-imap4-default-authenticate-type,
5932         elmo-imap4-default-user,
5933         elmo-imap4-default-port,
5934         elmo-imap4-default-stream-type,
5935         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5936
5937         * elmo-pop3.el (elmo-pop3-default-user,
5938         elmo-pop3-default-server,
5939         elmo-pop3-default-authenticate-type,
5940         elmo-pop3-default-port,
5941         elmo-pop3-default-stream-type,
5942         elmo-pop3-stream-type-alist): Ditto.
5943
5944         * elmo-nntp.el (elmo-nntp-default-server,
5945         elmo-nntp-default-user,
5946         elmo-nntp-default-port,
5947         elmo-nntp-default-stream-type,
5948         elmo-nntp-stream-type-alist): Ditto.
5949
5950         * elmo-vars.el: Follow changes above.
5951         (elmo-setting): New custom group; added 'elmo-setting group to
5952         above variables.
5953
5954         * elmo-version.el (elmo-version): Up to 2.7.3.
5955
5956         * acap.el (acap-parse-response): Don't delete process when BYE
5957         response (It causes hang-up on slow network environment).
5958         (toplevel): Added comment.
5959
5960 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5961
5962         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5963
5964         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5965         parsing NIL.
5966         (acap-parse-return-metadata): Ditto.
5967
5968         * slp.el: New file.
5969         (toplevel): Fixed typo.
5970
5971         * acap.el: New file.
5972         (acap-network-stream-open): Show "Connecting..." message.
5973         (acap-parse-response): Fixed problem for BYE untagged response.
5974         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5975         (toplevel): Added tiny comments.
5976
5977 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5978
5979         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5980         space delimiter for uidl response.
5981
5982 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5983
5984         * elmo-vars.el (elmo-use-semi): Eliminated.
5985
5986         * elmo-util.el (elmo-string-assoc-all): New function.
5987
5988 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5989
5990         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5991         property 'mime-preview-situation for `mime-preview-quit'.
5992
5993 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5994
5995         * elmo.el (elmo-message-fetch-with-cache-process): Call
5996         elmo-message-fetch-internal instead of causing an error when fetch
5997         strategy is 'entire but only 'section cache is available.
5998
5999 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6000
6001         * elmo-version.el (elmo-version): Up to 2.7.2.
6002
6003         * elmo.el (elmo-generic-folder-append-messages): Make
6004         fetch-strategy with `use-cache'.
6005
6006         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6007         (elmo-dop-queue-method-name): New macro.
6008
6009 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6010
6011         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6012         unbalanced parenthesis.
6013
6014 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6015
6016         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6017
6018 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6019
6020         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6021         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6022
6023 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6024
6025         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6026         local variables.
6027
6028 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6029
6030         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6031         (elmo-message-use-cache-p): Define.
6032         (elmo-folder-msgdb-create): Treat cache.
6033
6034 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6035
6036         * elmo-nntp.el (elmo-network-initialize-session): Call
6037         `elmo-nntp-send-mode-reader'.
6038         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6039
6040 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6041
6042         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6043         alist.
6044         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6045         assoc.
6046
6047         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6048         for `elmo-plugged-p'.
6049         (elmo-open-network-stream): Fixed stream-type argument.
6050
6051 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6052
6053         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6054         unknown archive type is specified.
6055
6056 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6057
6058         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6059
6060         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6061         while loading msgdb.
6062
6063         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6064         (elmo-folder-open-internal): Rewrite.
6065
6066 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6067
6068         * elmo-mime.el (elmo-mime-display-as-is-internal):
6069         Adjust buffer-multibyte status.
6070
6071 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6072
6073         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6074         of elmo-condition-find-key.
6075
6076         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6077         (elmo-condition-in-msgdb-p): Ditto.
6078         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6079         argument.
6080
6081 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6082
6083         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6084
6085 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6086
6087         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6088         label for elmo-display-progress.
6089
6090 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6091
6092         * elmo.el (elmo-folder-clear): New method.
6093         (elmo-folder-clear): Define.
6094         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6095
6096         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6097         (elmo-folder-clear): Define.
6098
6099         * elmo-map.el (elmo-folder-clear): Define.
6100
6101         * elmo-version.el (elmo-version): Up to 2.7.1.
6102
6103 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6104
6105         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6106         updates.
6107
6108 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6109
6110         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6111         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6112
6113 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6114
6115         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6116
6117         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6118         and re-written.
6119
6120         * elmo-imap4.el (elmo-folder-initialize): Use
6121         elmo-get-network-stream-type.
6122
6123         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6124
6125         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6126
6127 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6128
6129         * elmo.el (elmo-message-encache): Set unread argument for
6130         elmo-message-fetch.
6131
6132         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6133
6134         * elmo.el (elmo-net-port-info): New method.
6135
6136         * elmo-shimbun.el (elmo-net-port-info): Define.
6137         (elmo-message-encache): Ditto.
6138
6139         * elmo-net.el (elmo-net-port-info): Define as method.
6140
6141         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6142         unplugged status when elmo-enable-disconnected-operation is t.
6143
6144         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6145         of spool folder before checking new number.
6146
6147 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6148
6149         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6150         (elmo-network-setup-session): Ditto.
6151         (elmo-message-fetch-plugged): Ditto.
6152         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6153         (elmo-network-initialize-session): Ditto.
6154         (elmo-pop3-read-response): Abolish 3rd argument.
6155         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6156         (elmo-pop3-read-contents): Ditto.
6157         (elmo-pop3-read-body): Ditto.
6158         (elmo-folder-status): Call elmo-folder-close.
6159         (elmo-pop3-lock): Abolish.
6160         (elmo-pop3-unlock): Ditto.
6161         (elmo-pop3-locked-p): Ditto.
6162         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6163
6164 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6165
6166         * elmo-version.el (elmo-version): Up to 2.7.0.
6167
6168         * elmo-pop3.el (elmo-pop3-debug): New variable.
6169         (elmo-pop3-debug-inhibit-logging): Ditto.
6170         (elmo-pop3-debug): New function.
6171         (elmo-pop3-send-command): Call elmo-pop3-debug.
6172         (elmo-pop3-read-response): Added keep-lock optional argument;
6173         Don't unlock if keep-lock is non-nil.
6174         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6175         (elmo-network-authenticate-session): Bind
6176         elmo-pop3-debug-inhibit-logging as t.
6177         (elmo-network-setup-session): Call elmo-pop3-read-response with
6178         keep-lock argument.
6179         (elmo-pop3-read-msg): Ditto.
6180         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6181         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6182         (elmo-network-initialize-session): Call elmo-pop3-lock.
6183         (elmo-folder-close-internal): Don't clear location-alist slot.
6184         (elmo-folder-check): Clear location-alist slot.
6185
6186 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6187
6188         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6189         (elmo-pop3-send-command): Call elmo-pop3-lock.
6190         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6191         (elmo-pop3-read-contents): Ditto.
6192         (elmo-pop3-lock): New function.
6193         (elmo-pop3-unlock): Ditto.
6194         (elmo-pop3-locked-p): Ditto.
6195         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6196         returns t.
6197
6198 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6199
6200         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6201
6202         * elmo-util.el (elmo-file-field-primitive-condition-match):
6203         New inline function (Don't fetch file content if "first" or "last").
6204         (elmo-file-field-condition-match): Use
6205         elmo-file-field-primitive-condition-match.
6206
6207         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6208         "first".
6209
6210         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6211         (elmo-message-fetch-plugged): Fixed.
6212
6213         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6214
6215 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6216
6217         * elmo.el (elmo-folder-move-messages): Bind
6218         elmo-inhibit-display-retrieval-progress as t while moving messages.
6219
6220         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6221         New variable.
6222         (elmo-inhibit-display-retrieval-progress): Ditto.
6223
6224         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6225         for retrieval progress;
6226         Don't display progress when total buffer size is smaller than
6227         elmo-display-retrieval-progress-threshold.
6228         (elmo-message-fetch-plugged): Don't display progress when
6229         elmo-inhibit-display-retrieval-progress is non-nil.
6230
6231         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6232         for retrieval progress;
6233         Don't display progress when literal size is smaller than
6234         elmo-display-retrieval-progress-threshold.
6235         (elmo-imap4-message-fetch): Don't display progress when
6236         elmo-inhibit-display-retrieval-progress is non-nil.
6237
6238 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6239
6240         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6241         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6242         (elmo-imap4-message-fetch): Likewise.
6243
6244         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6245         (elmo-shimbun-index-range-alist): Ditto.
6246         (elmo-shimbun-use-entire-index): Abolish.
6247         (shimbun-mua-use-entire-index): Ditto.
6248         (elmo-shimbun-folder): Added new slot `range'.
6249         (elmo-folder-initialize): Setup slot `range'.
6250
6251 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6254         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6255         (elmo-shimbun-get-headers): Use return value of
6256         `shimbun-article-expiration-days'.
6257         (elmo-folder-close-internal): Clean up last-check slot.
6258
6259         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6260         (elmo-pop3-total-size): New variable.
6261         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6262
6263         * elmo.el (elmo-folder-reserve-status-p): New method.
6264
6265         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6266         (elmo-shimbun-use-entire-index): New user option.
6267         (shimbun-elmo-mua): New class.
6268         (shimbun-mua-search-id): Define.
6269         (shimbun-mua-use-entire-index): Ditto.
6270         (elmo-shimbun-folder:last-check): New slot.
6271         (elmo-shimbun-headers-cache-header-list): Abolish.
6272         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6273         (elmo-shimbun-headers-cache-header-hash): Ditto.
6274         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6275         (elmo-shimbun-headers-cache-last-check): Ditto.
6276         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6277         (elmo-shimbun-headers-check-p): Rewrite.
6278         (elmo-shimbun-msgdb-to-headers): New function.
6279         (elmo-shimbun-get-headers): Rewrite.
6280         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6281         (elmo-folder-open-internal): Get headers only if
6282         `elmo-shimbun-headers-check-p' is non-nil.
6283         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6284         is non-nil.
6285         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6286         (elmo-quit): Removed.
6287
6288         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6289         function.
6290         (elmo-msgdb-overview-entity-set-extra): Ditto.
6291         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6292
6293         * elmo-map.el (elmo-folder-status): Don't call
6294         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6295         is non-nil.
6296
6297 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6298
6299         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6300         of `elmo-msgdb-search-internal-primitive' when condition's car is
6301         `and' or `or'.
6302
6303 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6304
6305         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6306
6307 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6308
6309         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6310         call `elmo-pipe-drain'.
6311
6312 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6313
6314         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6315         typo. (elmo-cache-folder -> elmo-mark-folder)
6316
6317 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6318
6319         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6320         `elmo-message-fetch'.
6321
6322 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6323
6324         * elmo-net.el (elmo-message-encache): Fixed typo.
6325         (elmo-message-fetch-unplugged): Changed call
6326         `elmo-message-fetch-internal' without argument `outbuf'.
6327
6328 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6329
6330         * elmo.el (elmo-message-encache): Define as generic function.
6331         (elmo-message-fetch-field): New generic function.
6332         (elmo-message-fetch-with-cache-process): Cause an error when
6333         fetch strategy is 'entire but only 'section cache is available.
6334         (toplevel): Fixed nmz folder definition.
6335
6336         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6337         (elmo-msgdb-resume-list-filename): Ditto.
6338         (elmo-queue-filename): Ditto.
6339         (elmo-enable-disconnected-operation): Changed default value to t.
6340
6341         * elmo-util.el (elmo-cache-path-section-p): New function.
6342         (elmo-file-cache-get): Use it.
6343         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6344         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6345         (elmo-dop-queue-save): Ditto.
6346
6347         * elmo-net.el (elmo-folder-status-unplugged): Call
6348         elmo-folder-status-dop.
6349         (elmo-folder-list-messages-unplugged): Implemented.
6350         (elmo-folder-delete-messages-unplugged): Define.
6351         (elmo-folder-msgdb-create): Define.
6352         (elmo-folder-msgdb-create-unplugged): Define.
6353         (elmo-folder-mark-as-read-unplugged): Ditto.
6354         (elmo-folder-unmark-read-unplugged): Ditto.
6355         (elmo-folder-mark-as-important-unplugged): Ditto.
6356         (elmo-folder-unmark-important-unplugged): Ditto.
6357         (elmo-message-encache): Ditto.
6358
6359         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6360         (elmo-dop-queue-save): Ditto.
6361
6362         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6363         `elmo-folder-msgdb-create'.
6364         (elmo-folder-append-buffer): Implemented unplugged operation.
6365         (elmo-folder-append-messages): Call parent method in unplugged status.
6366         (elmo-message-fetch-unplugged): Removed definition.
6367         (elmo-message-fetch-field): Implemented.
6368
6369         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6370         (elmo-dop-folder): Removed variable definition.
6371         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6372         (elmo-dop-queue-flush): Implemented.
6373         (elmo-dop-queue-merge): Removed definition (TODO).
6374         (elmo-dop-spool-folder): New function.
6375         (elmo-dop-spool-folder-append-buffer): Ditto.
6376         (elmo-dop-spool-folder-list-messages): Ditto.
6377         (elmo-dop-list-deleting-messages): Ditto.
6378         (elmo-folder-append-buffer-dop): Ditto.
6379         (elmo-folder-delete-messages-dop): Ditto.
6380         (elmo-message-encache-dop): New inline function.
6381         (elmo-create-folder-dop): Ditto.
6382         (elmo-folder-mark-as-read-dop): Ditto.
6383         (elmo-folder-unmark-read-dop): Ditto.
6384         (elmo-folder-mark-as-important-dop): Ditto.
6385         (elmo-folder-unmark-important-dop): Ditto.
6386         (elmo-folder-status-dop): Fixed.
6387         (elmo-folder-append-buffer-dop-delayed): New function.
6388         (elmo-folder-delete-messages-dop-delayed): Ditto.
6389         (elmo-dop-msgdb): Ditto.
6390
6391 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6392
6393         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6394
6395 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6396
6397         * elmo.el (elmo-folder-move-messages): Fixed problem when
6398         `dst-folder' is 'null.
6399
6400 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6401
6402         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6403         instead of current mark.
6404
6405         * elmo-multi.el (elmo-folder-list-importants-internal): No
6406         operation if importants is not list.
6407
6408         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6409         Return t if importants is not list.
6410
6411         * elmo-map.el (elmo-map-folder-list-importants): Define.
6412         (elmo-folder-list-importants-internal): Check return value of
6413         `elmo-map-folder-list-importants-internal'.
6414
6415         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6416
6417         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6418
6419         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6420
6421         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6422
6423 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6424
6425         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6426         (Patch is provided by <kita@coe.nttdata.co.jp>).
6427
6428 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6429
6430         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6431         mark folder.
6432
6433 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6434
6435         * elmo.el (elmo-message-fetch): Define.
6436         (elmo-message-fetch-with-cache-process): New generic method.
6437         (elmo-message-fetch-internal): New generic method.
6438         (elmo-folder-synchronize):
6439
6440         * elmo-archive.el (elmo-message-fetch-internal): Define.
6441         (elmo-message-fetch): Eliminated.
6442
6443         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6444         (elmo-message-fetch): Eliminated.
6445
6446         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6447         argument OUTBUF.
6448         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6449
6450         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6451         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6452
6453         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6454         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6455
6456         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6457
6458         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6459
6460         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6461
6462         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6463         (elmo-message-fetch-unplugged): New generic method.
6464         (elmo-message-fetch-internal): Remove cache process (Renamed from
6465         `elmo-message-fetch').
6466
6467         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6468         (elmo-message-fetch): Eliminated.
6469         (elmo-message-fetch-unplugged): Ditto.
6470
6471         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6472
6473 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6474
6475         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6476         of `to-be-deleted' from number-alist to number-list.
6477
6478 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6479
6480         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6481         (elmo-folder-mark-as-important): Ditto.
6482
6483 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6484
6485         * elmo.el (elmo-folder): Added process-duplicates slot.
6486
6487         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6488         (elmo-folder-unmark-read): Ditto.
6489         (elmo-folder-unmark-important): Ditto.
6490         (elmo-folder-mark-as-important): Ditto.
6491
6492         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6493         duplicated message processing.
6494
6495         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6496
6497 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6498
6499         * elmo-util.el (elmo-list-subdirectories-1): New function.
6500         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6501         (elmo-mapcar-list-of-list): New function.
6502
6503         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6504         `elmo-mapcar-list-of-list' instead of `mapcar'.
6505
6506         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6507
6508         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6509         `elmo-have-link-count'. Return the fully qualified folder name.
6510
6511 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6512
6513         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6514         (elmo-shimbun-headers-cache): New internal variable.
6515         (elmo-shimbun-headers-cache-header-list): New inline function.
6516         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6517         (elmo-shimbun-headers-cache-header-hash): Ditto.
6518         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6519         (elmo-shimbun-headers-cache-last-check): Ditto.
6520         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6521         (elmo-shimbun-lapse-seconds): Ditto.
6522         (elmo-shimbun-headers-cache-check-p): Ditto.
6523         (elmo-shimbun-get-headers): New function.
6524         (elmo-folder-open-internal): Call it.
6525         (elmo-quit): Define (Clear headers-cache).
6526
6527 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6528
6529         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6530
6531         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6532         (elmo-msgdb-flist-save): Ditto.
6533
6534         * elmo-shimbun.el (elmo-folder-list-subfolders):
6535         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6536         (elmo-folder-exists-p): Ditto.
6537
6538         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6539         argument for `shimbun-header-insert'.
6540
6541 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6542
6543         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6544         at first time.
6545
6546         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6547         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6548
6549 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6550
6551         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6552         (elmo-folder-plugged-p): Define.
6553         (elmo-folder-set-plugged): Ditto.
6554         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6555         (elmo-folder-list-messages-internal): Return t if unplugged.
6556         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6557
6558         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6559         when elmo-folder-list-messages-internal method of children returns t.
6560
6561         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6562         pair is nil.
6563         (elmo-folder-open-internal): Don't update if unplugged status.
6564
6565 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6566
6567         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6568         new message.
6569
6570 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6571
6572         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6573
6574         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6575         saving.
6576
6577 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6578
6579         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6580
6581         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6582         (elmo-folder-open-internal): Set up headers slot.
6583         (elmo-folder-check): Call elmo-folder-close-internal and
6584         elmo-folder-open-internal.
6585         (elmo-folder-close-internal): Clean up headers slot.
6586
6587 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6588
6589         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6590         exactly folder list.
6591         (elmo-folder-append-messages): Fixed append archive with prefix.
6592
6593         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6594         make temp files with start-number.
6595
6596         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6597
6598 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6599
6600         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6601         argument `visible-only'.
6602         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6603         instead of `if'.
6604
6605         * elmo-pop3.el (elmo-folder-open-internal): Check
6606         `elmo-inhibit-number-mapping' is non-nil.
6607
6608         * elmo-pipe.el (elmo-folder-status): Fixed.
6609
6610 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6611
6612         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6613
6614         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6615         (elmo-folder-open-internal): Setup `header-hash' slot.
6616         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6617         information.
6618         (elmo-map-message-fetch): Ditto.
6619
6620 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6621
6622         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6623         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6624         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6625         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6626
6627         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6628
6629 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6630
6631         * sb-airs.el: Added footer.
6632
6633         * shimbun.el (shimbun-article): Define as luna-method.
6634
6635         * sb-tcup.el: New file.
6636
6637         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6638         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6639
6640 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6641
6642         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6643         (shimbun-get-headers): Ditto.
6644
6645         * elmo.el: Moved obsolete variable definitions from
6646         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6647
6648         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6649         groups.
6650
6651         * shimbun.el: New file.
6652
6653         * elmo-shimbun.el: New file.
6654
6655         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6656         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6657         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6658         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6659
6660 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6661
6662         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6663         hierarchy is t.
6664
6665 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6666
6667         * elmo.el (elmo-folder-msgdb): Define as macro.
6668         (elmo-folder-open): Added argument `load-msgdb'.
6669         (elmo-generic-folder-open): Ditto.
6670         (elmo-folder-encache): New function.
6671
6672         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6673
6674         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6675
6676         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6677         Eliminated argument FOLDER and added argument MSGDB.
6678         (elmo-dop-queue-load): Moved from elmo-dop.el.
6679         (elmo-dop-queue-save): Ditto.
6680
6681         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6682
6683         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6684
6685         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6686         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6687         (elmo-filter-folder-list-importants-internal): Ditto.
6688
6689         * elmo-map.el (elmo-folder-pack-number): Ditto.
6690
6691         * elmo-mime.el (elmo-mime-message-display): Ditto.
6692
6693         * elmo.el (elmo-generic-folder-commit): Ditto.
6694         (elmo-folder-list-unreads): Ditto.
6695         (elmo-folder-list-importants): Ditto.
6696         (elmo-generic-folder-commit): Ditto.
6697         (elmo-message-set-mark): Ditto.
6698         (elmo-generic-folder-append-msgdb): Ditto.
6699         (elmo-folder-synchronize): Ditto.
6700         (elmo-folder-messages): Ditto.
6701         (elmo-init): Call elmo-dop-queue-load.
6702         (elmo-folder-list-messages): Ditto.
6703
6704         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6705         (elmo-nntp-folder-process-crosspost): Ditto.
6706         (elmo-folder-list-unreads-internal): Ditto.
6707
6708         * elmo-dop.el: Removed old functions.
6709
6710 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6711
6712         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6713         `folder' to `msgdb'.
6714
6715 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6716
6717         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6718         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6719
6720         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6721         case-fold-search.
6722
6723 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6724
6725         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6726         defined.
6727
6728         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6729         (mmimap-parse-parameters-from-list): Define as alias for
6730         `mime-decode-parameter-plist' if it is defined as function.
6731         (mmimap-make-mime-entity): Added argument `number'.
6732         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6733         as 0.
6734         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6735
6736         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6737
6738         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6739
6740         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6741
6742 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6743
6744         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6745
6746         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6747         when elmo-imap4-default-authenticate-type is nil.
6748         (elmo-folder-list-subfolders): Ditto
6749         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6750         (elmo-imap4-fetch-callback-1-subr): Renamed from
6751         `elmo-imap4-fetch-callback-1' and define as inline function.
6752         (elmo-imap4-fetch-callback-1):
6753         Renamed from `elmo-imap4-fetch-callback'.
6754         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6755
6756         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6757         msgdb path (To keep compatibility with main trunk).
6758
6759         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6760
6761         * elmo-util.el (elmo-make-file-cache): Moved position of
6762         some macros.
6763
6764         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6765         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6766         instead of `elmo-pop3-inhibit-uidl'.
6767         (elmo-folder-exists-p): Ditto.
6768         (elmo-pop3-folder-list-messages): Ditto.
6769
6770         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6771         instead of `elmo-pop3-inhibit-uidl'.
6772         (elmo-folder-status): Ditto.
6773
6774         * elmo-dop.el (elmo-dop-folder): New variable.
6775         (elmo-dop-lock-message): Eliminated.
6776         (elmo-dop-unlock-message): Ditto.
6777         (elmo-dop-lock-list-load): Ditto.
6778         (elmo-dop-lock-list-save): Ditto.
6779         (elmo-dop-delete-folder): Ditto.
6780         (elmo-dop-rename-folder): Ditto.
6781
6782         * elmo.el: Removed incomplete commentary.
6783
6784 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6785
6786         * elmo.el (toplevel): Require 'elmo-version first;
6787         for little `recursive-load-depth' settings.
6788         Fix "ends here" comment.
6789
6790 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6791
6792         * elmo-util.el (toplevel): Require 'poem;
6793         Some functions are moved from elmo-cache.el.
6794
6795         * elmo-net.el (toplevel): Require 'elmo-cache.
6796
6797         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6798
6799         * elmo.el (toplevel): Ditto.
6800
6801         * elmo-cache.el: Rewrite with luna;
6802         Some functions are moved to elmo-util.el.
6803
6804         * elmo-internal.el (elmo-internal-folder-list): New variable.
6805         (elmo-internal-folder-initialize): Rewrite.
6806         (elmo-folder-list-subfolders): Ditto.
6807
6808         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6809         (elmo-cache-collect-sub-directories): Ditto.
6810
6811 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6812
6813         * elmo-version.el (elmo-version): Up to 2.5.8.
6814
6815         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6816
6817         * elmo-util.el (elmo-list-insert): New function.
6818
6819 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6820
6821         * elmo.el (elmo-init): New function.
6822         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6823
6824         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6825         (Renamed from `elmo-localdir-header-chop-length').
6826
6827         * elmo-pop3.el (elmo-pop3-use-cache,
6828         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6829
6830         * elmo-nntp.el (elmo-message-fetch): Define.
6831         (elmo-message-fetch-unplugged): Ditto.
6832         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6833         (elmo-nntp-use-cache): Ditto.
6834         (elmo-nntp-max-number-precedes-list-active): Ditto.
6835
6836         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6837
6838         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6839         `elmo-msgdb-insert-file-header'.
6840         Use `elmo-msgdb-file-header-chop-length'.
6841
6842         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6843         `elmo-vars.el'.
6844
6845         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6846         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6847         `elmo-msgdb-insert-file-header'.
6848
6849         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6850         Use new variable;
6851         Define obsolete variables with `elmo-define-obsolete-variable',
6852
6853         * elmo-util.el (elmo-warning-buffer-name): New constant.
6854         (elmo-warning): New function.
6855         (elmo-obsolete-variable-alist): New variable.
6856         (elmo-obsolete-variable-show-warnings): New variable.
6857         (elmo-define-obsolete-variable): New function.
6858         (elmo-resque-obsolete-variable): Ditto.
6859         (elmo-resque-obsolete-variables): Ditto.
6860
6861 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6862
6863         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6864         Eliminated.
6865
6866         * elmo-pop3.el, elmo-nntp.el: Use custom.
6867
6868 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6869
6870         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6871         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6872
6873 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6874
6875         * Luna-fy Kenichi OKADA's following changes.
6876         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6877         `nohide'.
6878         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6879
6880 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6881
6882         * elmo-util.el (elmo-display-progress): Prefer
6883         `progress-feedback-with-label' to `lprogress-display'.
6884
6885 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6886
6887         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6888
6889 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6890
6891         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6892         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6893         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6894         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6895         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6896         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6897         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6898         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6899         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6900         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6901         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6902         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6903         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6904
6905 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6906
6907         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6908         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6909
6910 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6911
6912         * elmo.el (elmo-folder-process-crosspost): New generic method.
6913         (elmo-folder-writable-p): Ditto.
6914         (elmo-folder-message-appendable-p): Eliminated.
6915         (elmo-generic-folder-append-msgdb): Rewrite.
6916         (elmo-newsgroups-hashtb): New internal variable.
6917         (elmo-crosspost-message-set): Eliminated.
6918         (elmo-crosspost-message-delete): Ditto.
6919         (elmo-setup-subscribed-newsgroups): New function.
6920         (elmo-crosspost-message-alist-modified): New internal variable.
6921         (elmo-crosspost-message-alist-load): New function (Renamed from
6922         `wl-crosspost-alist-load').
6923         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6924         `wl-crosspost-alist-save').
6925
6926         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6927
6928         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6929         `unreads'.
6930         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6931         elmo-newsgroups-hashtb).
6932         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6933         `elmo-nntp-folder-update-crosspost-message-alist'.
6934         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6935         `elmo-nntp-groups-hashtb'.
6936         (elmo-nntp-make-groups-hashtb): Eliminated.
6937         (elmo-nntp-parse-newsgroups): New function (Renamed from
6938         `wl-parse-newsgroups').
6939         (elmo-folder-creatable-p, elmo-folder-writable-p,
6940         elmo-folder-close-internal, elmo-folder-mark-as-read,
6941         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6942         Define.
6943         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6944
6945         * elmo-net.el (elmo-message-fetch): Check buffer size.
6946
6947         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6948
6949         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6950
6951         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6952         before `close' command.
6953
6954         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6955         `mark-alist' (All other related portions are changed).
6956
6957 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6958
6959         * elmo-util.el (elmo-create-hash-size): Eliminated.
6960         (elmo-make-hash) Make a hash with `one less than a power of two'
6961         length.
6962
6963         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6964         (elmo-hash-maximum-size): Changed value.
6965
6966 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6967
6968         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6969         (elmo-mime-message-display-as-is): Ditto.
6970
6971 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6972
6973         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6974         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6975
6976 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6977
6978         * elmo-mark.el: New file.
6979
6980         * elmo-internal.el: Rewrite (Almost empty).
6981
6982 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6983
6984         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6985         (mime-imap-entity-header-string): Ditto.
6986         (mmimap-entity-section): Rewrite.
6987
6988 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6989
6990         * elmo-nmz.el: New file.
6991
6992         * elmo-pipe.el: Rewrite with luna.
6993
6994 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6995
6996         * elmo-archive.el: Rewrite with luna.
6997
6998         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6999         (elmo-folder-list-importants-internal): Ditto.
7000
7001 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7002
7003         * elmo-archive.el (elmo-archive-version): Abolish.
7004         (toplevel) Removed `boso' comment.
7005
7006 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7007
7008         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7009         elmo-msgdb-add-msgs-to-seen-list-subr;
7010         Changed argument seen-marks to unread-marks.
7011
7012         * elmo-nntp.el: Rewrite with luna.
7013
7014 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7015
7016         * elmo-filter.el: Rewrite with luna.
7017
7018 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7019
7020         * elmo-pop3.el: Rewrite with luna.
7021
7022 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7023
7024         * elmo-multi.el: Rewrite with luna.
7025
7026         * elmo-vars.el (elmo-use-killed-list): Abolish.
7027         All other related portions are changed.
7028         (elmo-filename-replace-string-alist): Renamed from
7029         elmo-msgid-replace-string-alist.
7030
7031 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7032
7033         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7034
7035         * elmo-map.el: New file.
7036         * elmo-maildir.el: Rewrite with luna.
7037
7038 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7039
7040         * elmo.el: Changed meaning of `elmo-folder-commit'.
7041         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7042
7043 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7044
7045         * elmo.el (elmo-folder-append-buffer): New function.
7046         (Renamed from `elmo-append-msg')
7047
7048 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7049
7050         * elmo-mime.el: New file.
7051
7052 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7053
7054         * elmo-cache.el: Rewrite.
7055
7056 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7057
7058         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7059
7060 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7061
7062         * elmo-vars.el (elmo): New group.
7063         (elmo-strict-diff-folder-regexp): New variable.
7064
7065         * elmo-util.el (elmo-call-func): Abolish.
7066         (elmo-folder-get-type): Ditto.
7067         (elmo-*-get-spec): Ditto.
7068         (elmo-*-spec-*): Ditto.
7069         (elmo-imap4-identical-name-space-p): Ditto.
7070         (elmo-folder-identical-system-p): Ditto.
7071         (elmo-folder-direct-copy-alist): Ditto.
7072         (elmo-folder-direct-copy-p): Ditto.
7073
7074         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7075         (elmo-folder-initialize): Define.
7076         (elmo-folder-get-primitive-list): Ditto.
7077
7078         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7079         (elmo-folder-initialize): Define.
7080         Renamed `elmo-network-session-host-internal' to
7081         `elmo-network-session-server-internal'.
7082
7083         * elmo-multi.el (elmo-multi-folder): New luna class.
7084         (elmo-folder-initialize): Define.
7085         (elmo-folder-get-primitive-list): Ditto.
7086         (elmo-folder-contains-type): Ditto.
7087         (elmo-message-use-cache-p): Ditto.
7088
7089         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7090         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7091
7092         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7093         (elmo-folder-initialize): Define.
7094
7095         * elmo-filter.el (elmo-filter-folder): New luna class.
7096         (elmo-folder-initialize): Define.
7097         (elmo-folder-get-primitive-list): Ditto.
7098         (elmo-folder-contains-type): Ditto.
7099
7100 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7101
7102         * elmo-imap4.el: Rewrite with luna.
7103
7104         * mmimap.el: New file.
7105
7106         * mmelmo.el, mmelmo-imap4.el: Removed.
7107
7108         * elmo-net.el: Ditto.
7109
7110         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7111         (elmo-folder-initialize): Define.
7112
7113         * elmo-archive.el (elmo-archive-folder): New luna class.
7114         (elmo-folder-initialize): Define.
7115
7116         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7117         `elmo-folder-msgdb-path'.
7118         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7119         `elmo-make-folder'.
7120
7121 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7122
7123         * elmo.el: New file.
7124
7125         * elmo2.el: Renamed to elmo.el.
7126
7127 \f
7128 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7129
7130         * elmo-cache.el (elmo-cache-expire-by-size): Count
7131         a disk usage for a cache file entry in KB even when
7132         its kind is a directory.
7133
7134 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7135
7136         * elmo-version.el (elmo-version): Up to 2.5.7.
7137
7138 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7139
7140         * elmo-version.el (elmo-version): Up to 2.5.6.
7141
7142 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7143
7144         * elmo-version.el (elmo-version): Up to 2.5.5.
7145
7146 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7147
7148         * elmo-imap4.el (elmo-network-authenticate-session):
7149         Fixed a logic for response checking.
7150
7151 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7152
7153         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7154         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7155         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7156         `sasl-mechanisms'.
7157
7158         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7159         for `starttls-open-stream' and `starttls-negotiate'.
7160
7161         * elmo-nntp.el: Remove autoload settings for
7162         `starttls-open-stream' and `starttls-negotiate'.
7163
7164         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7165         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7166         `luna-define-class' with `eval-and-compile'.
7167
7168 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7169
7170         * elmo-util.el (elmo-read-search-condition-internal):
7171         Require an element of table for searching field.
7172
7173 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7174
7175         * elmo-version.el (elmo-version): Up to 2.5.4.
7176
7177 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7178
7179         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7180
7181 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7182
7183         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7184
7185 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7186
7187         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7188         before greeting.
7189
7190 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7191
7192         * elmo-imap4.el (elmo-imap4-delete-folder):
7193         Send "close" before "delete" (Use commented out line).
7194         (elmo-imap4-rename-folder): Ditto.
7195
7196         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7197         folder string itself.
7198         (elmo-dop-list-deleted): New function.
7199         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7200         killed.
7201
7202         * elmo-util.el (elmo-string-rassoc-all): New function.
7203
7204 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7205
7206         * elmo-version.el (elmo-version): Up to 2.5.3.
7207
7208         * elmo-net.el (elmo-network-get-session): Changed logic for
7209         checking process status.
7210
7211         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7212         process is nil;
7213         Changed logic for checking process status.
7214
7215 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7216
7217         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7218         before greeting.
7219         (elmo-network-setup-session): Set UIDL hash size according to
7220         the length of list response.
7221         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7222         according to the length of list response;
7223         Return the length of list response.
7224         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7225
7226 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7227
7228         * elmo-imap4.el (toplevel): Require 'ssl.
7229         Add autoload 'starttls.
7230         * elmo-pop3.el (toplevel): Ditto.
7231         * elmo-nntp.el (toplevel): Ditto.
7232
7233 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7234
7235         * elmo-imap4.el (toplevel): defun at compile time.
7236         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7237         sasl-next-step, sasl-step-data, sasl-step-set-data.
7238         * elmo-pop3.el (toplevel): Ditto.
7239
7240 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7241
7242         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7243
7244 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7245
7246         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7247         if error.
7248         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7249         and `elmo-pop-auth-apop'.
7250
7251 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7252
7253         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7254
7255 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7256
7257         * elmo-pop3.el (elmo-network-authenticate-session): Split
7258         encoded response value.
7259
7260 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7261
7262         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7263         `elmo-pop3-force-login'.
7264         Redefine `sasl-mechanisms'.
7265         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7266
7267 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7268
7269         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7270         Delete `elmo-imap4-authenticator-alist'.
7271         (elmo-imap4-auth-cram-md5): Delete.
7272         (elmo-imap4-auth-digest-md5): Delete.
7273
7274 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7275
7276         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7277         (elmo-pop3-auth-scram-md5): Ditto.
7278         (elmo-pop3-auth-cram-md5): Ditto.
7279
7280 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7281
7282         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7283         Delete `elmo-pop3-authenticator-alist'.
7284
7285 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7286
7287         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7288         new SASL API.
7289         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7290
7291 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7292
7293         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7294
7295 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7296
7297         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7298         Fixed problem when `elmo-pop3-use-uidl' is nil.
7299         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7300
7301 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7302
7303         * elmo-version.el (elmo-version): Up to 2.5.2.
7304
7305 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7306
7307         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7308         New function.
7309         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7310         (elmo-pop3-msgdb-create-as-numlist): Use it.
7311
7312         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7313         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7314
7315         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7316         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7317
7318 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7319
7320         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7321         when elmo-mark-as-read is called with second argument nil.
7322
7323 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7324
7325         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7326         Moved to elmo-util.el.
7327
7328         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7329         Moved from elmo-pipe.el
7330
7331         * elmo-archive.el (elmo-archive-call-process): Enclose with
7332         static-if.
7333
7334         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7335         "RFC822" (because RFC822.PEEK is obsolete).
7336         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7337
7338 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7339
7340         * elmo-archive.el (elmo-archive-call-process): Don't check for
7341         the exit status when Nemacs is running.
7342
7343 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7344
7345         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7346         'plain.
7347
7348         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7349         (elmo-pop3-get-spec): Set default of auth to 'user.
7350
7351         * elmo-imap4.el (elmo-imap4-session-check):
7352         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7353         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7354         (elmo-imap4-auth-login): New function; Revival.
7355         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7356         `elmo-imap4-auth-login'.
7357
7358 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7359
7360         * elmo2.el (toplevel): Move `product-provide' declare.
7361         * mmelmo.el (toplevel): Ditto.
7362
7363 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7364
7365         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7366
7367 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7368
7369         * elmo-util.el (elmo-folder-get-store-type): New function.
7370         (elmo-folder-direct-copy-p): Use it.
7371
7372 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7373
7374         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7375         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7376         and result of `elmo-imap4-use-flag-p'.
7377         (elmo-imap4-fetch-callback-1): Set mark according to
7378         the result of `elmo-imap4-use-flag-p'.
7379
7380 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7381
7382         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7383         (elmo-generic-list-folder-unread): Ditto.
7384         (elmo-folder-get-info): Ditto.
7385         (elmo-folder-set-info-max-by-numdb): Ditto.
7386         (elmo-folder-get-info-max): Ditto.
7387         (elmo-folder-get-info-length): Ditto.
7388         (elmo-folder-get-info-unread): Ditto.
7389         (elmo-folder-info-make-hashtb): Ditto.
7390
7391         * elmo2.el: Removed above functions.
7392
7393 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7394
7395         * elmo-imap4.el (toplevel): Require 'ssl.
7396         Add autoload 'starttls.
7397         * elmo-pop3.el (toplevel): Ditto.
7398         * elmo-nntp.el (toplevel): Ditto.
7399
7400 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7401
7402         * elmo-imap4.el (toplevel): defun at compile time.
7403         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7404         sasl-next-step, sasl-step-data, sasl-step-set-data.
7405         * elmo-pop3.el (toplevel): Ditto.
7406
7407 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7408
7409         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7410
7411 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7412
7413         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7414         if error.
7415         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7416         and `elmo-pop-auth-apop'.
7417
7418 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7419
7420         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7421
7422 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7423
7424         * elmo-pop3.el (elmo-network-authenticate-session): Split
7425         encoded response value.
7426
7427 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7428
7429         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7430         `elmo-pop3-force-login'.
7431         Redefine `sasl-mechanisms'.
7432         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7433
7434 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7435
7436         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7437         Delete `elmo-imap4-authenticator-alist'.
7438         (elmo-imap4-auth-cram-md5): Delete.
7439         (elmo-imap4-auth-digest-md5): Delete.
7440
7441 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7442
7443         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7444         (elmo-pop3-auth-scram-md5): Ditto.
7445         (elmo-pop3-auth-cram-md5): Ditto.
7446
7447 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7448
7449         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7450         Delete `elmo-pop3-authenticator-alist'.
7451
7452 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7453
7454         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7455         new SASL API.
7456         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7457
7458 \f
7459 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7460
7461         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7462
7463 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7464
7465         * elmo-nntp.el (elmo-nntp-get-folders-info):
7466         Fixed problem when '\' character is contained in user-id.
7467         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7468
7469 \f
7470 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7471
7472         * elmo-imap4.el (elmo-imap4-delete-folder):
7473         Send "close" before "delete" (Use commented out line).
7474         (elmo-imap4-rename-folder): Ditto.
7475
7476         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7477         folder string itself.
7478         (elmo-dop-list-deleted): New function.
7479         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7480         killed.
7481
7482         * elmo-util.el (elmo-string-rassoc-all): New function.
7483
7484         * elmo-version.el (elmo-version): Up to 2.5.1.
7485
7486 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7487
7488         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7489
7490         * elmo-internal.el (elmo-internal-search): Fix last change.
7491
7492 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7493
7494         * elmo-internal.el (elmo-internal-search): Rewrite.
7495         (Fixed problem which is pointed out by Akihiro MOTOKI
7496         <motoki@da.jp.nec.com>)
7497
7498         * elmo-version.el (elmo-version): Up to 2.5.0.
7499
7500 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7501
7502         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7503
7504 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7505
7506         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7507         non-nil, make hierarchy.
7508
7509 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7510
7511         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7512         `elmo-pop3-use-uidl' must be bound to nil.
7513         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7514
7515 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7516
7517         * elmo-util.el (elmo-copy-file): Don't cause an error after
7518         `add-name-to-file' failed.
7519
7520         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7521         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7522
7523 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7524
7525         * elmo-version.el (elmo-version): Up to 2.3.93.
7526
7527 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7528
7529         * elmo-util.el (elmo-flatten): New function.
7530
7531 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7532
7533         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7534         sync Author header.
7535         * elmo-cache.el (toplevel): Ditto.
7536         * elmo-database.el (toplevel): Ditto.
7537         * elmo-date.el (toplevel): Ditto.
7538         * elmo-dop.el (toplevel): Ditto.
7539         * elmo-filter.el (toplevel): Ditto.
7540         * elmo-imap4.el (toplevel): Ditto.
7541         * elmo-internal.el (toplevel): Ditto.
7542         * elmo-localdir.el (toplevel): Ditto.
7543         * elmo-localnews.el (toplevel): Ditto.
7544         * elmo-maildir.el (toplevel): Ditto.
7545         * elmo-msgdb.el (toplevel): Ditto.
7546         * elmo-multi.el (toplevel): Ditto.
7547         * elmo-net.el (toplevel): Ditto.
7548         * elmo-nntp.el (toplevel): Ditto.
7549         * elmo-pipe.el (toplevel): Ditto.
7550         * elmo-pop3.el (toplevel): Ditto.
7551         * elmo-util.el (toplevel): Ditto.
7552         * elmo-vars.el (toplevel): Ditto.
7553         * elmo2.el (toplevel): Ditto.
7554         * mmelmo-imap4.el (toplevel): Ditto.
7555         * mmelmo.el (toplevel): Ditto.
7556
7557         * elmo-version.el (elmo-version): Move to top.
7558
7559         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7560         * elmo-imap4.el (toplevel): Ditto.
7561         * elmo-localdir.el (toplevel): Ditto.
7562         * elmo-msgdb.el (toplevel): Ditto.
7563         * elmo-nntp.el (toplevel): Ditto.
7564         * elmo-pop3.el (toplevel): Ditto.
7565         * elmo-version.el (toplevel): Ditto.
7566
7567         * elmo-localnews.el (toplevel): Added Keyword header.
7568
7569 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7570
7571         * elmo-version.el (product-version-as-string): Defined using
7572         `defun-maybe'.
7573         (toplevel): Use it.
7574
7575         * elmo-localdir.el (toplevel): Updated copyright notice.
7576         * elmo-version.el (toplevel): Ditto.
7577         * elmo-msgdb.el (toplevel): Ditto.
7578         * elmo-imap4.el (toplevel): Ditto.
7579         * elmo-nntp.el (toplevel): Ditto.
7580         * elmo-pop3.el (toplevel): Ditto.
7581
7582 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7583
7584         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7585         messages.
7586
7587         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7588         parameter value (It sometimes contains raw kanji).
7589
7590 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7591
7592         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7593         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7594
7595 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7596
7597         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7598
7599 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7600
7601         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7602         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7603
7604 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7605
7606         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7607         value if selecting folder succceeded.
7608         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7609
7610 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7611
7612         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7613         representation.
7614
7615         * elmo-util.el (elmo-string-matched-member): New function.
7616
7617 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7618
7619         * elmo-util.el (elmo-unintern): New macro.
7620         (elmo-number-set-member): Fixed docstring.
7621
7622         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7623         tag token.
7624
7625 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7626
7627         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7628         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7629
7630 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7631
7632         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7633         `no-error'.
7634         Added docstring.
7635         Return non-nil if selecting folder succeeded.
7636         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7637
7638 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7639
7640         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7641         `file-name-completion' returns t.
7642         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7643         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7644         directory if it does not exist.
7645         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7646         for iteration.
7647
7648 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7649
7650         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7651         enclosure (It's harmful in unplugged status).
7652
7653         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7654
7655         * mmelmo-1.el: Removed.
7656
7657         * mmelmo-2.el: Ditto.
7658
7659         * mmelmo-imap4-1.el: Ditto.
7660
7661         * mmelmo-imap4-2.el: Ditto.
7662
7663         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7664
7665         * mmelmo.el: Merged mmelmo-2.el.
7666
7667         * elmo-version.el (elmo-version): Up to 2.3.92.
7668
7669 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7670
7671         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7672         elmo-update-number): Remove last period in "...done." message.
7673         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7674         Ditto.
7675         * elmo-cache.el (elmo-cache-expire-by-size,
7676         elmo-cache-get-sorted-cache-file-list,
7677         elmo-cache-msgdb-create-as-numlist): Ditto.
7678         * elmo-dop.el (elmo-dop-save-pending-messages,
7679         (elmo-dop-flush-pending-append-operations): Ditto.
7680         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7681         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7682         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7683         (elmo-localdir-pack-number): Ditto.
7684         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7685         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7686         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7687         mime-write-entity-content): Ditto.
7688         * pldap.el (ldap-search-basic): Ditto.
7689
7690 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7691
7692         * elmo-version.el (elmo-version): Up to 2.3.91.
7693
7694         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7695         Only when filter is 'last'.
7696
7697         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7698         (elmo-condition-parse-search-value): Use it.
7699         (elmo-read-search-condition-internal): Quote value only when
7700         it is not an atom.
7701
7702 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7703
7704         * elmo2.el (elmo-generic-folder-diff): Fix.
7705
7706 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7707
7708         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7709         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7710         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7711         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7712         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7713         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7714
7715 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7716
7717         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7718         extra-fields.
7719
7720 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7721
7722         * elmo-version.el (elmo-version): Up to 2.3.90.
7723
7724         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7725         (elmo-imap4-list-folder-important): Ditto.
7726
7727 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7728
7729         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7730
7731 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7732
7733         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7734
7735 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7736
7737         * elmo-nntp.el (elmo-network-initialize-session):
7738         Add starttls negotiation.
7739
7740 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7741
7742         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7743         response.
7744         (elmo-network-setup-session): Define.
7745         Call `elmo-nntp-send-mode-reader' when session opened.
7746
7747 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7748
7749         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7750
7751 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7752
7753         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7754         an invalid SPACE character ahead of `SEARCH' command.  Move
7755         a valid SPACE character following `SEARCH' from conditional
7756         `format' arguments to control-strings.
7757
7758 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7759
7760         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7761         was succeeded.
7762
7763         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7764
7765 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7766
7767         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7768         `w32-get-true-file-link-count' as t.
7769
7770         * elmo-imap4.el (elmo-imap4-read): Abolished.
7771         (Renamed to `elmo-read' and moved to elmo-util.el)
7772         All other related portions are changed.
7773
7774         * elmo-util.el (elmo-read): New function.
7775         (elmo-condition-parse-search-value): Use it.
7776
7777 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7778
7779         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7780
7781         * elmo-nntp.el (elmo-nntp-session): Define.
7782         (elmo-nntp-setting): Abolished.
7783         All other related portions are changed.
7784         (elmo-nntp-get-server-command): Changed argument.
7785         (elmo-nntp-set-server-command): Ditto.
7786         (elmo-nntp-xover-p): Ditto.
7787         (elmo-nntp-set-xover): Ditto.
7788         (elmo-nntp-listgroup-p): Ditto.
7789         (elmo-nntp-set-listgroup): Ditto.
7790         (elmo-nntp-list-active-p): Ditto.
7791         (elmo-nntp-set-list-active): Ditto.
7792         (elmo-nntp-xhdr-p): Ditto.
7793         (elmo-nntp-set-xhdr): Ditto.
7794         (elmo-nntp-flush-connection): Abolished.
7795         (elmo-nntp-get-connection): Abolished.
7796         (elmo-nntp-get-session): New function.
7797         (elmo-network-initialize-session): Defined.
7798         (elmo-network-authenticate-session): Ditto.
7799         (elmo-nntp-send-mode-reader): Changed argument.
7800         (elmo-nntp-send-command): Changed argument.
7801         All other related portions are changed.
7802         (elmo-nntp-read-response): Ditto.
7803         (elmo-nntp-read-raw-response): Ditto.
7804         (elmo-nntp-read-contents): Ditto.
7805         (elmo-nntp-read-body): Ditto.
7806         (elmo-nntp-goto-folder): Abolished.
7807         (elmo-nntp-select-group): New function.
7808         All other related portions are changed.
7809         (This function substitutes `elmo-nntp-goto-folder')
7810         (elmo-nntp-msgdb-create-by-header): Rewrite.
7811         (elmo-nntp-get-overview): Eliminated.
7812         (elmo-nntp-get-message): Ditto.
7813         (elmo-nntp-open-connection) Abolished.
7814         (elmo-nntp-read-msg): Rewrite.
7815         (elmo-nntp-post): Ditto.
7816         (elmo-nntp-send-data): Abolished.
7817         (elmo-nntp-send-buffer): New function.
7818         (elmo-nntp-send-data-line): Define as inline function.
7819         (elmo-nntp-get-folders-info-prepare): Use session as key.
7820         (elmo-nntp-groups-read-response): Changed argument.
7821         (elmo-nntp-retrieve-headers): Ditto.
7822         (elmo-nntp-msgdb-create-message): Ditto.
7823
7824         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7825         when searching by 'since' or 'before'.
7826
7827 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7828
7829         * elmo-version.el (toplevel): Use product-version-as-string for set
7830         verstion-string, if defined.
7831
7832 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7833
7834         * elmo-util.el: Doc fixes.
7835
7836 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7837
7838         * elmo-archive.el (toplevel): Use product-provide.
7839         * elmo-cache.el (toplevel): Ditto.
7840         * elmo-database.el (toplevel): Ditto.
7841         * elmo-date.el (toplevel): Ditto.
7842         * elmo-dop.el (toplevel): Ditto.
7843         * elmo-filter.el (toplevel): Ditto.
7844         * elmo-imap4.el (toplevel): Ditto.
7845         * elmo-internal.el (toplevel): Ditto.
7846         * elmo-localdir.el (toplevel): Ditto.
7847         * elmo-localnews.el (toplevel): Ditto.
7848         * elmo-maildir.el (toplevel): Ditto.
7849         * elmo-msgdb.el (toplevel): Ditto.
7850         * elmo-multi.el (toplevel): Ditto.
7851         * elmo-net.el (toplevel): Ditto.
7852         * elmo-nntp.el (toplevel): Ditto.
7853         * elmo-pipe.el (toplevel): Ditto.
7854         * elmo-pop3.el (toplevel): Ditto.
7855         * elmo-util.el (toplevel): Ditto.
7856         * elmo-vars.el (toplevel): Ditto.
7857         * elmo2.el (toplevel): Ditto.
7858         * mmelmo-1.el (toplevel): Ditto.
7859         * mmelmo-2.el (toplevel): Ditto.
7860         * mmelmo-imap4-1.el (toplevel): Ditto.
7861         * mmelmo-imap4-2.el (toplevel): Ditto.
7862         * mmelmo-imap4.el (toplevel): Ditto.
7863         * mmelmo.el (toplevel): Ditto.
7864
7865 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7866
7867         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7868         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7869
7870 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7871
7872         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7873         before splitting.
7874         (elmo-multi-split-number-alist): Ditto.
7875
7876 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7877
7878         * elmo-version.el: New file.  Use product.el.
7879         * elmo2.el: Add (require 'elmo-version).
7880         * elmo-vars.el (elmo-appname, elmo-version): Move to
7881         elmo-version.el
7882
7883 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7884
7885         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7886         `elmo-msgdb-expand-path'.
7887         (elmo-msgdb-load): Ditto.
7888         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7889         (elmo-generic-list-folder-unread): Rewrite.
7890         (elmo-generic-list-folder-important): Changed argument.
7891         (elmo-list-folder-unread): Ditto.
7892         (elmo-list-folder-important): Ditto.
7893         (elmo-folder-diff): Rewrite.
7894         (elmo-generic-folder-diff): New function.
7895         (elmo-multi-get-number-alist-list): Abolished
7896         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7897         (elmo-multi-folder-diff): Moved to elmo-multi.el
7898         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7899
7900         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7901         `elmo-msgdb-expand-path'.
7902         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7903         (elmo-pop3-read-msg): Ditto.
7904         (elmo-pop3-delete-msgs): Ditto.
7905         (elmo-pop3-folder-diff): New alias.
7906
7907         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7908         `elmo-msgdb-expand-path'.
7909         (elmo-pipe-list-folder-unread): Changed arguments.
7910         (elmo-pipe-list-folder-important): Ditto.
7911         (elmo-pipe-folder-diff): New alias.
7912
7913         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7914         `elmo-msgdb-expand-path'.
7915         (elmo-nntp-max-of-folder): Ditto.
7916         (elmo-nntp-msgdb-create): Ditto.
7917         (elmo-nntp-delete-msgs): Ditto.
7918         (elmo-nntp-folder-diff): New alias.
7919
7920         * elmo-multi.el (elmo-multi-folder-diff): New function.
7921         (elmo-multi-split-mark-alist): Ditto.
7922         (elmo-multi-split-number-alist): Ditto.
7923         (elmo-multi-mark-alist-list): Abolished (Renamed to
7924         elmo-multi-split-mark-alist).
7925         (elmo-multi-list-folder-unread): Rewrite.
7926         (elmo-multi-list-folder-important): Ditto.
7927         (elmo-multi-list-folder): Set `spec' as 1st argument for
7928         `elmo-msgdb-expand-path'.
7929         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7930         instead of `elmo-multi-get-number-alist-list'.
7931
7932         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7933         If 1st argument is not string, treat as spec.
7934         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7935         `elmo-msgdb-expand-path'.
7936         (elmo-msgdb-flist-load): Ditto.
7937         (elmo-msgdb-flist-save): Ditto.
7938         (elmo-msgdb-delete-path): Ditto.
7939         (elmo-msgdb-rename-path): Ditto.
7940
7941         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7942         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943         (elmo-maildir-delete-mark-msgs): Ditto.
7944         (elmo-maildir-msgdb-create): Ditto.
7945         (elmo-maildir-read-msg): Ditto.
7946         (elmo-maildir-delete-msgs): Ditto.
7947         (elmo-maildir-list-folder-subr): Ditto.
7948         (elmo-maildir-search): Ditto.
7949         (elmo-maildir-get-msg-filename): Ditto.
7950         (elmo-maildir-pack-number): Ditto.
7951         (elmo-maildir-folder-diff): New alias.
7952
7953         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7954
7955         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7956         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7957         (elmo-localdir-folder-diff): New alias.
7958
7959         * elmo-internal.el (elmo-internal-list-folder-subr):
7960         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7961         (elmo-internal-list-folder-by-location): Ditto.
7962         (elmo-internal-msgdb-create): Ditto.
7963         (elmo-internal-delete-msgs): Ditto.
7964         (elmo-internal-read-msg): Ditto.
7965         (elmo-internal-folder-diff): New alias.
7966
7967         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7968         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7969         `elmo-msgdb-expand-path'.
7970         (elmo-imap4-list-folder-unread): Changed arguments.
7971         (elmo-imap4-list-folder-important): Ditto.
7972
7973         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7974         (elmo-filter-list-folder-important): Ditto.
7975         (elmo-filter-folder-diff): New function.
7976
7977         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7978
7979         * elmo-cache.el (elmo-cache-list-folder):
7980         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7981         (elmo-cache-copy-msgs): Ditto.
7982         (elmo-cache-folder-diff): New alias.
7983
7984         * elmo-archive.el (elmo-archive-list-folder-subr):
7985         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7986         (elmo-archive-get-archive-name): Ditto.
7987         (elmo-archive-create-file): Ditto.
7988         (elmo-archive-append-msg): Ditto.
7989         (elmo-archive-copy-msgs): Ditto.
7990         (elmo-archive-copy-msgs-froms): Ditto.
7991         (elmo-archive-get-msg-filename): Ditto.
7992         (elmo-archive-folder-diff): New alias.
7993
7994 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7995
7996         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7997         (elmo-pop3-stream-type-alist): New variable.
7998         (elmo-nntp-stream-type-alist): New variable.
7999
8000         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8001         (elmo-kill-buffer): Ditto.
8002         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8003         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8004         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8005         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8006         (elmo-imap4-get-spec): Take into account
8007         `elmo-imap4-stream-type-alist'.
8008
8009 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8010
8011         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8012         (elmo-nntp-list-folders-get-cache): Ditto.
8013
8014 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8015
8016         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8017         character before 'uid'.
8018
8019 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8020
8021         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8022
8023         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8024
8025         * elmo-util.el (elmo-number-set-member): New function.
8026         (elmo-number-set-append-list): Ditto.
8027         (elmo-number-set-append): Ditto.
8028
8029         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8030         Use `elmo-number-set-member'.
8031         (elmo-living-messages): Ditto.
8032         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8033         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8034
8035         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8036         (elmo-imap4-add-to-cont-list): Abolished.
8037         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8038         instead of elmo-imap4-add-to-cont-list.
8039
8040         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8041         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8042
8043         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8044
8045 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8046
8047         * elmo-util.el (elmo-condition-parse-search-value):
8048         Fixed date parsing.
8049
8050 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8051
8052         * elmo-util.el (elmo-condition-find-key-internal): New function.
8053         (elmo-condition-find-key): Ditto.
8054
8055         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8056         (elmo-msgdb-search-internal): Ditto.
8057         (elmo-msgdb-search): Ditto.
8058
8059 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8060
8061         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8062         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8063
8064         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8065         (elmo-nntp-search-primitive): Fixed problem when condition is
8066         'unmatch'.
8067
8068         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8069
8070         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8071         (elmo-nntp-xhdr-p): New macro.
8072         (elmo-nntp-set-xhdr): Ditto.
8073         (elmo-nntp-parse-xhdr-response): New function.
8074         (elmo-nntp-retrieve-field): Ditto.
8075         (elmo-nntp-search-primitive): Ditto.
8076         (elmo-nntp-search): Implemented.
8077
8078         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8079
8080         * elmo-archive.el (elmo-archive-search): Set all number list to
8081         `elmo-archive-field-condition-match'
8082
8083         * elmo-localdir.el (elmo-localdir-search): Likewise.
8084
8085         * elmo-maildir.el (elmo-maildir-search): Likewise.
8086
8087 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8088
8089         * elmo-msgdb.el (elmo-living-messages): New function.
8090         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8091         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8092         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8093         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8094         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8095         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8096         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8097         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8098         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8099         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8100         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8101
8102 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8103
8104         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8105
8106         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8107
8108         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8109
8110         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8111         arguments for `SEARCH' command.
8112         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8113         All other related portions are changed.
8114
8115         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8116
8117         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8118         (elmo-list-folder-unread): Rewrite.
8119         (elmo-list-folder-important): Ditto.
8120
8121         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8122         (elmo-condition-parse-error): New inline function.
8123         (elmo-read-search-condition): New function.
8124         (elmo-read-search-condition-internal): Ditto.
8125         (elmo-parse-search-condition): Rewrite.
8126         (elmo-condition-parse): New function.
8127         (elmo-condition-parse-or-expr): Ditto.
8128         (elmo-condition-parse-and-expr): Ditto.
8129         (elmo-condition-parse-primitive): Ditto.
8130         (elmo-condition-parse-search-value): Ditto.
8131         (elmo-buffer-field-primitive-condition-match): Ditto.
8132         (elmo-buffer-field-condition-match): Rewrite.
8133         (elmo-file-field-condition-match): Ditto.
8134
8135         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8136         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8137
8138         * elmo-internal.el (elmo-internal-search): Set `number' and
8139         `number-list' argument of `elmo-file-field-condition-match'.
8140
8141         * elmo-maildir.el (elmo-maildir-search): Ditto.
8142
8143         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8144         `msgdb' as argument instead of `mark-alist'.
8145         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8146         `overview'.
8147
8148         * elmo-multi.el: Likewise.
8149
8150         * elmo-pipe.el: Likewise.
8151
8152         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8153         (elmo-imap4-search-internal): Rewrite.
8154         (elmo-imap4-search): Ditto.
8155
8156         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8157         (elmo-filter-list-folder-unread): Ditto.
8158         (elmo-filter-list-folder-important): Ditto.
8159         (elmo-filter-search): Rewrite.
8160
8161         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8162         `number-list' argument of `elmo-file-field-condition-match'.
8163         (elmo-cache-search): Ditto.
8164
8165         * elmo-localdir.el: Likewise.
8166
8167         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8168         number-list and pass it to `elmo-buffer-field-condition-match'.
8169         (elmo-archive-field-condition-match): Pass `number-list' to
8170         `elmo-archive-field-condition-match'
8171
8172 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8173
8174         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8175         `listgroup'.
8176
8177         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8178         (elmo-folder-diff-async-callback-data): Ditto.
8179         (elmo-folder-diff-async): New function.
8180
8181         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8182         (elmo-network-session-cache-key): Use it as a prefix of the session
8183         name.
8184         (elmo-network-open-session): Ditto.
8185
8186         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8187         (elmo-imap4-status-callback-data): Ditto.
8188         (elmo-imap4-server-diff-async-callback): New variable.
8189         (elmo-imap4-server-diff-async-callback-data): Ditto.
8190         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8191         `elmo-imap4-status-callback-data'.
8192         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8193         `elmo-imap4-status-callback-data' as nil.
8194         (elmo-imap4-server-diff): Ditto.
8195         (elmo-imap4-server-diff-async-callback-1): New function.
8196         (elmo-imap4-server-diff-async): Ditto.
8197         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8198
8199 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8200
8201         * elmo-util.el (elmo-list-delete): Doc fix.
8202         (elmo-delete-lists): Abolish.
8203         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8204         instead of `elmo-delete-lists'.
8205
8206 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8207
8208         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8209         before `sort'.
8210
8211 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8212
8213         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8214         `elmo-imap4-literal-subr'.
8215         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8216         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8217
8218 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8219
8220         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8221         (elmo-archive-list-folder): Fix.
8222         (elmo-archive-max-of-folder): Fix.
8223
8224 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8225
8226         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8227          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8228         (elmo-localdir-append-msg): Ditto.
8229         (elmo-localdir-list-folder): Fix for `nonsort'.
8230         (elmo-localdir-list-folder-subr): Fix for `killed'.
8231         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8232         (elmo-maildir-list-folder-subr): Ditto.
8233         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8234         (elmo-archive-list-folder-subr): Ditto.
8235         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8236         (elmo-internal-list-folder-subr): Ditto.
8237
8238 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8239
8240         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8241
8242 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8243
8244         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8245
8246 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8247
8248         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8249         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8250
8251         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8252         before greeting.
8253         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8254         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8255
8256 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8257
8258         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8259
8260         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8261         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8262         before STORE command.
8263
8264 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8265
8266         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8267
8268         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8269         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8270         of `response'.
8271         (elmo-imap4-list-folders): Removed unused local variable.
8272         (elmo-network-initialize-session): Ditto.
8273         (elmo-imap4-delete-msg-by-id): Ditto.
8274         (elmo-imap4-parse-fetch): Ditto.
8275         (elmo-imap4-copy-msgs): Ditto.
8276         Use `dst-spec' instead of `dst-folder'.
8277         (elmo-network-authenticate-session): Check authenticate type `plain'.
8278
8279 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8280
8281         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8282         garbage checking.
8283         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8284         `elmo-imap4-response-value'.
8285         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8286
8287 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8288
8289         * elmo-imap4.el (elmo-imap4-send-command):
8290         Cause elmo-imap4-bye-error when current response is BYE.
8291         (elmo-imap4-arrival-filter): Changed greeting response value.
8292
8293         * elmo2.el (elmo-imap4-bye-error): Define.
8294
8295         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8296         (elmo-imap4-server-diff): Ditto.
8297         (elmo-imap4-response-bye-p): New macro.
8298         (elmo-imap4-response-error-text): Get text from BYE response.
8299         (elmo-imap4-read-response): Return if BYE response.
8300         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8301         (elmo-imap4-folder-exists-p): Ditto.
8302         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8303         (elmo-imap4-parse-bye): New function.
8304         (elmo-imap4-parse-response): Remove needless let.
8305         Call `elmo-imap4-parse-bye'.
8306
8307 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8308
8309         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8310         the mailbox does not exist.
8311         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8312
8313 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8314
8315         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8316
8317 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8318
8319         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8320
8321         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8322         (elmo-network-initialize-session-buffer): Defined.
8323
8324         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8325         Abolished.
8326         (mmelmo-imap4-get-mime-entity): Rewrite.
8327
8328         * elmo2.el (elmo-error): Capitalize error message.
8329
8330         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8331         (elmo-network-session-buffer): New macro.
8332         (elmo-network-open-session): Use it.
8333
8334         * elmo-imap4.el: Rewrite.
8335
8336 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8337
8338         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8339
8340 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8341
8342         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8343         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8344         (elmo-imap4-create-msgdb-from-overview-string): Use
8345         `elmo-msgdb-create-overview-from-buffer'.
8346
8347 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8348
8349         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8350         (elmo-imap4-default-hierarchy-delimiter): New variable.
8351         (elmo-imap4-list-folders): Use it.
8352
8353 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8354
8355         * elmo-net.el (elmo-network-open-session): Add user and
8356         stream-type for process-buffer name.
8357
8358         * elmo-pop3.el (elmo-network-initialize-session): Call
8359         buffer-disable-undo.
8360
8361         * elmo-imap4.el (elmo-network-initialize-session):
8362         Set current-buffer as an argument for `buffer-disable-undo'.
8363
8364         * elmo-pop3.el (elmo-network-close-session): Don't use
8365         `process-live-p'.
8366
8367         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8368         Set default as 'user.
8369
8370         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8371
8372         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8373         and `elmo-imap4-flush-connection'.
8374
8375         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8376         (elmo-pop3-get-spec): Assume auth as symbol.
8377         (elmo-open-network-stream): Moved to `elmo-net'.
8378
8379         * elmo-pop3.el (toplevel): Require 'elmo-net.
8380         Define `sasl-cram-md5' to silence byte compilier.
8381         (elmo-pop3-connection-cache) Abolished.
8382         (elmo-pop3-authenticator-alist) New variable.
8383         (elmo-pop3-session): Define.
8384         (elmo-pop3-connection-get-process): Abolished.
8385         (elmo-pop3-connection-get-buffer): Ditto.
8386         (elmo-pop3-close-connection): Ditto.
8387         (elmo-pop3-flush-connection): Ditto.
8388         (elmo-pop3-get-connection): Ditto.
8389         (elmo-pop3-get-session): New function.
8390         (Replacement for `elmo-pop3-get-connection').
8391         All other related modules are changed.
8392         (elmo-network-close-session): Define.
8393         (elmo-pop3-send-command): Abolished argument `buffer'.
8394         All other related modules are changed.
8395         (elmo-pop3-read-response): Likewise.
8396         (elmo-pop3-open-connection): Abolished.
8397         (elmo-pop3-auth-user): New function.
8398         (elmo-pop3-auth-apop): Ditto.
8399         (elmo-pop3-auth-cram-md5): Ditto.
8400         (elmo-pop3-auth-scram-md5): Ditto.
8401         (elmo-pop3-auth-digest-md5): Ditto.
8402         (elmo-network-initialize-session): Define.
8403         (elmo-network-authenticate-session): Ditto.
8404         (elmo-network-setup-session): Ditto.
8405
8406         * elmo-imap4.el (toplevel): Require 'elmo-net.
8407         (elmo-imap4-session): Define.
8408         (elmo-imap4-connection-cache): Abolished.
8409         (elmo-imap4-password-key): Ditto.
8410         (elmo-imap4-flush-connection): Ditto.
8411         (elmo-imap4-get-connection): Ditto.
8412         All other related modules are changed.
8413         (elmo-imap4-get-session): New function
8414         (Replacement for `elmo-imap4-get-connection').
8415         (elmo-imap4-read-response): Abolished argument `buffer'.
8416         All other related modules are changed.
8417         (elmo-imap4-send-command): Likewise.
8418         (elmo-imap4-select-folder): Abolished.
8419         All other related modules are changed.
8420         (elmo-imap4-select-mailbox): New function.
8421         (Replacement for `elmo-imap4-select-folder').
8422         (elmo-imap4-auth-login): Simplify.
8423         (Assume current buffer as process buffer)
8424         (elmo-imap4-auth-cram-md5): Ditto.
8425         (elmo-imap4-auth-digest-md5): Ditto.
8426         (elmo-imap4-login): Ditto.
8427         (elmo-imap4-open-connection): Abolished.
8428         (elmo-imap4-open-connection-1): Abolished.
8429         (elmo-network-initialize-sessoin): Define.
8430         (elmo-network-authenticate-session): Ditto.
8431         (elmo-network-setup-session): Ditto.
8432
8433         * elmo-net.el: New module.
8434
8435 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8436
8437         * elmo-util.el (elmo-define-error): New function.
8438
8439         * elmo2.el (elmo-error): Define.
8440         (elmo-open-error): Define.
8441         (elmo-authenticate-error): Define.
8442
8443         * elmo-imap4.el (elmo-imap4-error): Abolish.
8444         (elmo-imap4-error-type): Abolish.
8445         (elmo-imap4-error-process): Abolish.
8446         (elmo-imap4-error-message): Abolish
8447         (elmo-imap4-list-folders): Don't quote lambda.
8448         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8449         (elmo-imap4-parse-namespace): Ditto.
8450         (elmo-imap4-open-connection): Rewrite.
8451         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8452         (elmo-imap4-get-connection): Abolish local variable `result'.
8453
8454 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8455
8456         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8457         wrong-type-argument error when auth is nil.
8458
8459 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8460
8461         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8462         (elmo-default-nntp-stream-type): Ditto.
8463         (elmo-default-pop3-stream-type): Ditto.
8464         (elmo-network-stream-type-alist): Ditto.
8465         (elmo-default-imap4-ssl): Abolished.
8466         (elmo-default-nntp-ssl): Ditto.
8467         (elmo-default-pop3-ssl): Ditto.
8468
8469         * elmo-util.el: (toplevel): Removed needless requires.
8470         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8471         (elmo-open-network-stream): Open network stream according to
8472         the value of `elmo-network-stream-type-alist'.
8473         (elmo-get-network-stream-type): New function.
8474         (elmo-network-stream-type-spec-string): New macro.
8475         (elmo-network-stream-type-symbol): Ditto.
8476         (elmo-network-stream-type-function): Ditto.
8477
8478         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8479         network-stream-type. All other related portions are changed.
8480         (elmo-pop3-open-connection): Ditto.
8481
8482         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8483         network-stream-type. All other related portions are changed.
8484
8485         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8486         network-stream-type.All other related portions are changed.
8487         (elmo-imap4-error): New macro.
8488         (elmo-imap4-error-type): Ditto.
8489         (elmo-imap4-error-process): Ditto.
8490         (elmo-imap4-error-message): Ditto.
8491         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8492         (elmo-imap4-auth-cram-md5): Ditto.
8493         (elmo-imap4-auth-digest-md5): Ditto.
8494         (elmo-imap4-login): Ditto.
8495         (elmo-imap4-open-connection): Remove password entry if authentication
8496         was in vain.
8497         (elmo-imap4-user-at-host): Abolished.
8498         (elmo-imap4-password-key): New buffer local variable.
8499         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8500         using protocol, port, auth and stream-type.
8501
8502         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8503
8504 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8505
8506         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8507
8508         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8509
8510         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8511         (elmo-imap4-authenticator-alist): New variable.
8512         (elmo-imap4-open-connection-1): Rename from
8513         elmo-imap4-open-connection.
8514         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8515         only wraps elmo-imap4-open-connection-1.
8516         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8517         user-at-host.
8518         (elmo-imap4-auth-login): New function.
8519         (elmo-imap4-auth-cram-md5): New function.
8520         (elmo-imap4-auth-digest-md5): New function.
8521         (elmo-imap4-login): New function.
8522
8523 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8524
8525         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8526         function `error'.
8527
8528 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8529
8530         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8531
8532 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8533
8534         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8535
8536 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8537
8538         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8539         for server responses, quote `*' regardless of where it appears.
8540
8541 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8542
8543         * elmo-maildir.el (elmo-maildir-commit): New alias.
8544
8545 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8546
8547         * elmo-util.el (elmo-display-progress):
8548                 Use `progress-feedback-with-label'.
8549
8550 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8551
8552         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8553         (elmo-imap4-non-atom-char-regex): Ditto.
8554         (elmo-imap4-non-text-char-regex): Ditto.
8555         (elmo-imap4-literal-threshold): Ditto.
8556         (elmo-imap4-atom-p): New function.
8557         (elmo-imap4-quotable-p): Ditto.
8558         (elmo-imap4-nil): Ditto.
8559         (elmo-imap4-atom): Ditto.
8560         (elmo-imap4-quoted): Ditto.
8561         (elmo-imap4-literal-subr): Ditto.
8562         (elmo-imap4-literal): Ditto.
8563         (elmo-imap4-buffer-literal): Ditto.
8564         (elmo-imap4-string-subr): Ditto.
8565         (elmo-imap4-string): Ditto.
8566         (elmo-imap4-buffer-string): Ditto.
8567         (elmo-imap4-astring-subr): Ditto.
8568         (elmo-imap4-astring): Ditto.
8569         (elmo-imap4-buffer-astring): Ditto.
8570         (elmo-imap4-nstring): Ditto.
8571         (elmo-imap4-buffer-nstring): Ditto.
8572         (elmo-imap4-mailbox): New alias.
8573         (elmo-imap4-field-body): Ditto.
8574         (elmo-imap4-userid): Ditto.
8575         (elmo-imap4-password): Ditto.
8576         (elmo-imap4-format-quoted): New function.
8577         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8578         arguments and handle "atom", "quoted" and "literal" string here.
8579         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8580         `elmo-imap4-send-command'.
8581         (elmo-imap4-folder-exists-p): Likewise.
8582         (elmo-imap4-create-folder): Likewise.
8583         (elmo-imap4-delete-folder): Likewise.
8584         (elmo-imap4-rename-folder): Likewise.
8585         (elmo-imap4-max-of-folder): Likewise.
8586         (elmo-imap4-check-validity): Likewise.
8587         (elmo-imap4-sync-validity): Likewise.
8588         (elmo-imap4-server-diff): Likewise.
8589         (elmo-imap4-select-folder): Likewise.
8590         (elmo-imap4-copy-msgs): Likewise.
8591         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8592         (elmo-imap4-mark-set-on-msgs): Likewise.
8593         (elmo-imap4-read-part): Likewise.
8594         (elmo-imap4-read-msg): Likewise.
8595         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8596         `elmo-imap4-password' for `elmo-imap4-send-command'.
8597         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8598         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8599         `elmo-imap4-buffer-literal'.
8600         (elmo-imap4-append-msg): Likewise.
8601
8602         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8603         `delete' for removing dead connection from the connection cache.
8604         Move deletion of the process buffer after that.
8605         (elmo-imap4-list): Change `defsubst' to `defun'.
8606         (elmo-imap4-commit): Make error message verbose.
8607         (elmo-imap4-search): Ditto.
8608         (elmo-imap4-list): Ditto.
8609         (elmo-imap4-select-folder): Ditto.
8610         (elmo-imap4-copy-msgs): Ditto.
8611         (elmo-imap4-delete-msg-by-id): Ditto.
8612         (elmo-imap4-append-msg-by-id): Ditto.
8613         (elmo-imap4-append-msg): Ditto.
8614
8615 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8616
8617         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8618         when dired is used on XEmacs.
8619
8620 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8621
8622         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8623         instead of `append'.
8624         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8625         `elmo-plugged-p' directly.
8626         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8627         of `elmo-plugged-p' directly.
8628
8629         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8630         Eliminate unused variable.  Use `memq' for checking a process status.
8631         Use `cons' instead of `append' for updating the connection cache.
8632         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8633         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8634
8635 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8636
8637         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8638         `elmo-imap4-read-point' exactly.
8639
8640         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8641         the local variable `folder' to `mailbox'.
8642         Rename the argument `fld' to `folder'.
8643
8644 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8645
8646         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8647         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8648
8649 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8650
8651         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8652         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8653         (elmo-pop3-uidl-number-hash): Ditto.
8654         (elmo-pop3-size-hash): Ditto.
8655         (elmo-pop3-uidl-done): Ditto.
8656         (elmo-pop3-list-done): Ditto.
8657         (elmo-pop3-connection-get-process): New defmacro.
8658         (elmo-pop3-connection-get-buffer): Ditto.
8659         (elmo-pop3-close-connection): Delete buffer and process.
8660         (elmo-pop3-flush-connection): Don't delete buffer and process.
8661         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8662         Setup UIDL and size hash.
8663         (elmo-pop3-send-command-no-erase): Deleted
8664         (elmo-pop3-send-command): Added optional argument `no-erase'.
8665         (elmo-pop3-parse-uidl-response): New function.
8666         (elmo-pop3-parse-list-response): Set size hash.
8667         (elmo-pop3-list-location): New function.
8668         (elmo-pop3-list-by-uidl-subr): Ditto.
8669         (elmo-pop3-list-by-list): Ditto.
8670         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8671         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8672         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8673         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8674         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8675         Use uidl.
8676         (elmo-pop3-uidl-to-number): New function.
8677         (elmo-pop3-number-to-uidl): Ditto.
8678         (elmo-pop3-number-to-size): Ditto.
8679         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8680         Set number by use of uidl.
8681         (elmo-pop3-msgdb-create-message): Likewise.
8682         Set size, loc-alist in msgdb.
8683         (elmo-pop3-read-msg): Set number by use of uidl.
8684         Added optional argument `msgdb'.
8685         (elmo-pop3-delete-msg): Ditto.
8686         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8687         (elmo-pop3-commit): Close connection.
8688
8689         * elmo-pipe.el (elmo-pipe-max-of-folder):
8690         Bind `elmo-pop3-use-uidl' as nil.
8691         (elmo-pipe-drain): Ditto.
8692         Call `elmo-commit'.
8693
8694         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8695         (elmo-msgdb-overview-entity-set-size): New defsubst.
8696
8697 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8698
8699         * elmo-vars.el (elmo-use-killed-list): New variable
8700         (Renamed from `elmo-nntp-use-killed-list').
8701         (elmo-nntp-use-killed-list): Eliminated.
8702
8703         * elmo-msgdb.el (elmo-msgdb-expand-path):
8704         Changed expanding msgdb path for elmo-multi.
8705
8706         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8707         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8708         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8709         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8710         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8711         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8712         (toplevel): Deleted time-stamp line.
8713
8714         * elmo2.el (elmo-clear-killed ): Defined as function
8715         (Abolished defining as a backend function).
8716         All other related modules are changed.
8717
8718 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8719
8720         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8721
8722 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8723
8724         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8725
8726 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8727
8728         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8729
8730 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8731
8732         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8733         asynchronous folder check.
8734
8735         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8736
8737         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8738         `elmo-nntp-use-killed-list'.
8739         (elmo-nntp-list-folder): Use killed list.
8740         (elmo-nntp-max-of-folder): Ditto.
8741         (elmo-nntp-msgdb-create): Set killed list.
8742
8743         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8744
8745         * elmo2.el (elmo-clear-killed): New backend function.
8746         All other related modules are changed.
8747
8748 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8749
8750         * elmo-util.el (elmo-imap4-spec-folder): Use
8751         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8752         All callers changed.
8753
8754 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8755
8756         * mmelmo-2.el (initialize-instance):
8757         Use `mime-buffer-entity-buffer-internal' instead of
8758         `mime-entity-buffer'.
8759
8760         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8761         (mime-entity-body): Implemented.
8762         (mime-goto-header-start-point): Deleted.
8763         (mime-goto-body-end-point): Ditto.
8764         (mime-entity-point-min): Ditto.
8765         (mime-entity-point-max): Ditto.
8766         (mime-entity-children): Ditto.
8767         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8768         instead of `mime-entity-buffer'.
8769         (mime-entity-header-buffer): Ditto.
8770         (mime-entity-body-buffer): Ditto.
8771         (mime-write-entity-content): Ditto.
8772
8773         * pldap.el (ldap-static-if): New macro.
8774         (toplevel): Use it instead of `static-if'.
8775
8776 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8777
8778         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8779         included in `attrs' argument.
8780
8781 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8782
8783         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8784
8785         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8786         (ldap-ldif-safe-init-char-regexp): Ditto.
8787         (ldap-ldif-safe-string-regexp): Ditto.
8788         (ldap/ldif-safe-string-p): New macro.
8789         (ldap/ldif-insert-field): Ditto.
8790         (ldap-modify): Use it.
8791         (ldap-add): Ditto.
8792         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8793         (ldap-decode-attribute): Decode only when `attr' is consp.
8794         (ldap-delete): Bind `ret'.
8795         (toplevel): Require 'cl at compile time.
8796         Removed (require 'poe) and (require 'std11).
8797         (pldap-version): Eliminated.
8798         (ldap-search-basic): Removed auth and dn binding.
8799         (ldap-ldif-field-name-regexp): New constant.
8800         (ldap-ldif-field-head-regexp): Ditto.
8801         (ldap-ldif-next-field-head-regexp): Ditto.
8802         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8803         (ldap/field-end): New function.
8804         (ldap/field-body): Use it.
8805         (ldap/collect-field): Ditto.
8806         (ldap-search-basic): Use `ldap/field-body'.
8807
8808 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8809
8810         * pldap.el (ldap-default-attribute-encoder): New user option.
8811         (ldap/field-body): Decode base64 string.
8812         (ldap/collect-field): Ditto.
8813         (ldap-encode-attribute): New function.
8814         (ldap-add-entries): Use it.
8815         (ldap-modify-entries): Ditto.
8816         (ldap-search-entries): Enclosed decoding function with
8817         `with-temp-buffer' and set as unibyte.
8818         (ldap-search-basic): Set process buffer as unibyte.
8819
8820         * elmo-util.el (elmo-folder-identical-system-p):
8821         Eliminated name space checking.
8822
8823         * pldap.el: New module.
8824         toplevel: Changed condition to detect built-in ldap feature.
8825         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8826         (ldap-add): Added error handling.
8827         (ldap-modify): Ditto.
8828         (ldap-delete): Ditto.
8829
8830 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8831
8832         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8833         Initialize local variables with `let'.  Inline a temporary
8834         variable for the progress percentage.  Sort `setq' to reduce
8835         function call in the while-loop.
8836
8837         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8838         into the conditional branch.
8839
8840 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8841
8842         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8843         Move a conditional out of the while-loop.
8844
8845 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8846
8847         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8848         elmo-msgdb-overview-get-entity-by-number.
8849         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8850         throw.
8851
8852 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8853
8854         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8855         the local variable for a packed number self descriptively.
8856
8857 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8858
8859         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8860         * elmo-localdir.el (elmo-localdir-pack-number): Use
8861         `elmo-msgdb-overview-get-entity' instead of
8862         `elmo-msgdb-overview-get-entity-by-number'.
8863         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8864         (elmo-msgdb-search-overview-entity): Removed.
8865         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8866         by message-id or number.
8867         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8868         instead of `elmo-msgdb-overview-get-entity-by-number'.
8869
8870 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8871
8872         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8873         non-nil, use hash table for overview.
8874         (elmo-hash-maximum-size): New variable.
8875         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8876         (elmo-msgdb-make-overview-hashtb): New function.
8877         (elmo-msgdb-clear-overview-hashtb): New function.
8878         (elmo-clear-hash-val): New macro.
8879         All other related modules are changed.
8880
8881 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8882
8883         * elmo2.el (elmo-move-msgs): If there's other message with
8884         same message-id, don't use cache.
8885
8886 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8887
8888         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8889         number is already packed.
8890
8891 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8892
8893         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8894
8895 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8896
8897         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8898         All other related modules are changed.
8899
8900 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8901
8902         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8903         of refiling failure on Maildir.
8904
8905 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8906
8907         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8908         decoded mime-charset with cache.
8909         (elmo-msgdb-overview-entity-get-from): Ditto.
8910         (elmo-msgdb-overview-entity-get-subject): Ditto.
8911         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8912
8913 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8914
8915         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8916         (elmo-remove-passwd): Fill password with 0 before erase.
8917         * elmo-vars.el (elmo-passwd-life-time): New variable.
8918
8919 \f
8920 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8921
8922         * elmo-cache.el (elmo-buffer-cache-add):
8923         Set message cache buffer as unibyte.
8924
8925 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8926
8927         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8928         become nil.
8929
8930 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8931
8932         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8933         when display is finished.
8934         (elmo-nntp-msgdb-create): Ditto.
8935         (elmo-nntp-groups-read-response): Ditto.
8936         (elmo-nntp-retrieve-headers): Ditto.
8937         (elmo-nntp-msgdb-create-message): Ditto.
8938         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8939         (elmo-pop3-msgdb-create-message): Ditto.
8940
8941 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8942
8943         * elmo-maildir.el (elmo-maildir-msgdb-create):
8944         Use `elmo-msgdb-sort-by-date'.
8945
8946 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8947
8948         * elmo2.el (elmo-read-msg-no-cache):
8949         Eliminated arguments after `outbuf'.
8950         Don't use cache even if it exists.
8951         (elmo-read-msg): Don't pass arguments after `outbuf' to
8952         `elmo-read-msg-no-cache'.
8953
8954 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8955
8956         * elmo-archive.el (elmo-archive-list-folders):
8957         Use `file-name-directory' if base folder does not exist.
8958
8959 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8960
8961         * elmo-archive.el (elmo-archive-list-folders): Don't use
8962         `file-name-directory'.
8963
8964 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8965
8966         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8967         If `force' is non-nil, try flushing all operation queues.
8968
8969 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8970
8971         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8972         as-binary-process.
8973
8974 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8975
8976         * elmo-util.el (elmo-display-progress): Fixed.
8977
8978 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8979
8980         * elmo-util.el (elmo-display-progress): New function.
8981         All other related modules are changed.