* elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
4         even if some error occurred.
5
6         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
7         meaningless unwind-protect.
8
9         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
10         start-number correctly.
11         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
12         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
13
14 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
15
16         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
17         (elmo-folder-initialize): Use it.
18         (elmo-global-flag-replace-referrer): New function.
19
20         * elmo.el (toplevel): Added autoload setting for
21         `elmo-global-flag-replace-referrer'.
22         (elmo-folder-rename): Rewrite the last change use
23         `elmo-global-flag-replace-referrer'.
24
25         * elmo-pipe.el (elmo-folder-rename): Call
26         `elmo-global-flag-replace-referrer'.
27
28 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
29
30         * elmo.el (elmo-folder-rename): Set meta data for global flags
31         follow the rename.
32
33 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
34
35         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
36         as 'not-loaded.
37         (elmo-folder-close): Ditto.
38         (elmo-filter-folder-number-list-loaded-p): New function.
39         (elmo-filter-folder-number-list): Check whether loaded or not.
40         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
41         of `elmo-filter-folder-number-list-internal'.
42         (elmo-folder-delete-messages): Ditto.
43         (elmo-folder-length): Check whether number-list is loaded or not.
44
45 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
46
47         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
48         field `real field' into each element of list.
49         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
50         (elmo-msgdb-message-entity-field): Ditto.
51         (modb-entity-ml-info-real-fields): New function.
52
53         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
54
55         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
56         `elmo-msgdb-extra-fields'.
57
58 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
59
60         * elmo-util.el (elmo-passwd-alist-load): Move point to min
61         position before read.
62
63 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
64
65         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
66         (elmo-global-flags-initialize): Ditto.
67
68 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
69
70         * elmo-archive.el (toplevel): Don't require emu, std11
71         and elmo-localdir.
72
73         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
74         definition.
75
76 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
77
78         * elmo.el (elmo-folder-confirm-appends): Display folder name.
79
80 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
81
82         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
83         literals.
84
85 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
86
87         * elmo-maildir.el (elmo-maildir-list-location): Reduce
88         `elmo-get-last-modification-time' call.
89
90 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
91
92         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
93         expression.
94         (elmo-maildir-set-mark): Ditto.
95         (elmo-maildir-delete-mark): Ditto.
96
97 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
98
99         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
100         optional argument `separators'.
101
102 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
103
104         * elmo.el (cache-changed): Abolish.
105         (status-changed): New signal.
106         (elmo-message-killed-p): New generic function and define for
107         elmo-folder.
108         (elmo-folder-recover-messages): Ditto.
109         (elmo-message-set-cached): Emit signal `status-changed' instead of
110         `cache-changed'.
111         (elmo-message-status): New macro.
112         (elmo-message-status-folder): Ditto.
113         (elmo-message-status-number): Ditto.
114         (elmo-message-status-set-flags): Ditto.
115         (elmo-message-status-set-killed): Ditto.
116         (elmo-message-status-flags): New function.
117         (elmo-message-status-cached-p): Ditto.
118         (elmo-message-status-killed-p): Ditto.
119
120         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
121         `status-changed' instead of `cache-changed'.
122         (elmo-folder-recover-messages): Define.
123         (elmo-message-killed-p): Ditto.
124
125         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
126         `status-changed' instead of `cache-changed'.
127
128         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
129         (elmo-message-killed-p): Define.
130         (elmo-folder-recover-messages): Ditto.
131
132         * elmo-version.el (elmo-version): Up to 2.15.3.
133
134 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
135
136         * elmo-signal.el (elmo-signal-bindings): Use cons to append
137         element into list.
138         (elmo-define-signal-handler): Add docstring.
139         (elmo-define-signal-filter): Ditto.
140
141         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
142
143 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
144
145         * elmo-util.el (elmo-flatten): Don't use recursive call.
146
147         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
148         assignment.
149         (elmo-folder-message-make-temp-files): Use `number-to-string'
150         instead of `int-to-string'.
151
152 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
153
154         * elmo-search.el (elmo-folder-delete-messages): Define.
155
156 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
157
158         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
159         customization type.
160         (elmo-mailing-list-count-spec-list): Ditto.
161
162         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
163         for `list-id'.
164
165 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
166
167         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
168         handling.
169
170 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
171
172         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
173         (elmo-mailing-list-count-spec-list): Ditto.
174
175         * elmo-util.el (elmo-map-until-success): New function.
176         (elmo-string-match-substring): Ditto.
177         (elmo-find-list-match-value): Ditto.
178
179         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
180         Removed.
181         (modb-entity-extract-ml-info-from-subject): Ditto.
182         (modb-entity-extract-ml-info-from-return-path): Ditto.
183         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
184         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
185         (modb-entity-extract-ml-info-from-mailman): Ditto.
186         (modb-entity-extract-mailing-list-info-functions): Ditto.
187         (modb-entity-extract-mailing-list-info): Rewrite with
188         `elmo-find-list-match-value'.
189
190 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
191
192         * elmo-net.el (elmo-network-session-retry-count): New user option.
193         (elmo-network-session-buffer-name): New internal function.
194         (elmo-network-session-buffer-create): Ditto.
195         (elmo-network-open-session): Retry open network session
196         `elmo-network-session-retry-count' times.
197
198 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
199
200         * elmo-util.el (elmo-list-filter): Rewritten.
201
202 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
203
204         * elmo-util.el (elmo-string-member): Allow symbol element in list.
205
206 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
207
208         * elmo-search.el (elmo-make-search-engine): Use prefix
209         `elmo-search-' for require symbol instead of `else-'.
210         (elmo-search-engine-extprog): New class.
211         (elmo-search-engine-do-search): Remove nil from argument
212         list. Added argument pattern to evaluate element as function.
213         (elmo-search-engine-local-file): Derived from
214         `elmo-search-engine-extprog'.
215         (elmo-search-engine-create-message-entity): Check existance of file.
216         (elmo-search-engine-fetch-message): Ditto.
217         (elmo-search-namazu-index): Follow the API change.
218         (elmo-search-grep-target): Ditto.
219
220 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
221
222         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
223         characters of working buffer.
224
225         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
226         Does not bind `default-mime-charset'.
227         (elmo-msgdb-create-message-entity-from-buffer): Removed
228         unnecessary local bind.
229
230         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
231         function.
232         (modb-entity-extract-mailing-list-info-functions): Added it.
233
234 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
235
236         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
237         when number and message-id are non-nil.
238
239         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
240
241         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
242         conditional steatment.
243         (elmo-pop3-auth-apop): Likewise.
244         (elmo-network-authenticate-session): Likewise.
245
246 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
247
248         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
249         symbol `fill-column'.
250         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
251         decode field value.
252
253         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
254         (elmo-decoded-field-body): Ditto.
255
256 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
257
258         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
259         `tokens' to `params'.
260
261 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
262
263         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
264         working buffer.
265
266 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
267
268         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
269         decide index.
270
271 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
272
273         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
274         Set default value as nil.
275         (toplevel): Register search engines by
276         `elmo-search-register-engine' if there are not defined.
277
278         * elmo.el (autoload): Added autoload setting for
279         `elmo-search-register-engine'.
280
281 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
282
283         * elmo.el (toplevel): `[' is redefined as the prefix of the search
284         folder instead of nmz folder.
285         (elmo-nmz-default-index-path): Added obsolete variable setting.
286         (elmo-nmz-index-alias-alist): Ditto.
287         (elmo-nmz-use-drive-letter): Ditto.
288
289         * elmo-search.el (elmo-search-register-engine): New function.
290
291         * elmo-nmz.el: Removed.
292
293         * elmo-version.el (elmo-version): Up to 2.15.2.
294
295 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
296
297         * elmo-search.el: New file.
298
299 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
300
301         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
302         condition `larger' and `smaller'.
303
304 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
305
306         * elmo-util.el (elmo-safe-filename): Rewrite to replace
307         `"' (double quote) into "_Q_".
308
309 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
310
311         * elmo-net.el (elmo-net-quote-chars): Abolish.
312         (elmo-net-format-quoted): Ditto.
313
314 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
315
316         * elmo.el (elmo-get-folder-function): New variable.
317         (elmo-get-folder): New function.
318         (elmo-folder-rename): Call `elmo-make-folder' with specified
319         mime-charset.
320
321         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
322         `elmo-make-folder'.
323         (elmo-split-subr): Ditto.
324
325         * elmo-multi.el (elmo-folder-initialize): Ditto.
326
327         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
328
329         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
330         (elmo-flag-get-folder): Ditto.
331
332         * elmo-filter.el (elmo-folder-initialize): Ditto.
333
334         * elmo-access.el (elmo-folder-initialize): Ditto.
335         (elmo-access-folder-update-children): Ditto.
336
337         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
338         (elmo-dop-queue-flush): Ditto.
339         (elmo-folder-append-buffer-dop-delayed): Ditto.
340         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
341         mime-charset.
342
343         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
344         instead of `elmo-make-folder'.
345         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
346         destination folder instead of send `elmo-folder-rename-internal'.
347
348         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
349         slot of subfolder instead of create it.
350
351 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
352
353         * elmo-util.el (elmo-collect-separators): New function.
354         (elmo-collect-separators-internal): Ditto.
355         (elmo-collect-trail-separators): Ditto.
356         (elmo-parse-separated-tokens): Ditto.
357         (elmo-parse-separated-tokens-internal): Ditto.
358         (elmo-quote-syntactical-element): Ditto.
359
360         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
361         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
362
363         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
364         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
365         (elmo-nntp-folder-list-subfolders): Quote a user name.
366
367         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
368         (elmo-net-parse-network): Abolish.
369         (elmo-net-folder-set-parameters): New function.
370         (elmo-folder-initialize): Follow the above change.
371
372         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
373         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
374         (elmo-folder-list-subfolders): Use
375         `elmo-quote-syntactical-element' instead of
376         `elmo-net-format-quoted' to quote mailbox and user name.
377
378 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
379
380         * elmo-util.el (elmo-token-valid-p): New function.
381         (elmo-parse-token): Add optional argument `requirement'.
382         (elmo-parse-prefixed-element): Likewise.
383
384         * elmo-net.el (elmo-net-quote-chars): Renamed from
385         `elmo-net-quote-chars-regexp'.
386         (elmo-net-format-quoted): Add optional argument `extra-chars'.
387
388         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
389         by info document. Check token `uidl' is started an alphabet.
390
391         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
392         by info document. Check token `user' is started an alphabet.
393
394         * elmo-imap4.el (elmo-folder-initialize): Ditto.
395         (elmo-folder-list-subfolders): Quote user.
396
397 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
398
399         * elmo-util.el (elmo-quoted-specials-list): New constant.
400         (elmo-quoted-token): New function.
401
402         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
403         (elmo-net-format-quoted): New function.
404         (elmo-net-parse-network): Ditto.
405         (elmo-folder-initialize): Use it.
406
407         * elmo-nntp.el (elmo-folder-initialize): Use
408         `elmo-net-parse-network' to parse network specification instead of
409         `elmo-folder-initialize#elmo-net'.
410
411         * elmo-pop3.el (elmo-folder-initialize): Ditto.
412
413         * elmo-imap4.el (elmo-folder-initialize): Ditto.
414         (elmo-folder-list-subfolders): Quote folder name by
415         `elmo-net-format-quoted'.
416
417 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
418
419         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
420         (elmo-folder-search): Use it.
421
422 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
423
424         * modb-standard.el (modb-standard-loaded-message-id): Use
425         `elmo-msgdb-message-entity-field'.
426
427 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
428
429         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
430         without filename.
431
432 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
433
434         * elmo-util.el (elmo-set-auto-coding): New function.
435         (elmo-object-load): Use it.
436
437 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
438
439         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
440         (elmo-time<): Define as alias of `elmo-time-less-p'.
441         (elmo-time-to-datevec): New function.
442
443         * elmo-date.el (elmo-time-to-days): New function.
444
445 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
446
447         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
448         is not cons cell.
449
450 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
451
452         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
453         parenthesis.
454
455         * elmo-util.el (elmo-map-recursive): New function.
456
457         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
458         (modb-entity-encode-string-recursive): Ditto.
459
460 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
461
462         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
463         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
464         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
465         compare sequence number when last modified time is nil.
466
467 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
468
469         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
470
471         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
472
473 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
474
475         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
476         modification time of the file.
477
478 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-util.el (elmo-condition-optimize): Discriminated against
481         preserved fields, extra fields and the other weight.
482
483 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
484
485         * modb-entity.el (initialize-instance): Define.
486         (modb-entity-handler-mime-charset): New internal function.
487         (modb-standard-entity-set-field): Use it.
488         (elmo-msgdb-message-entity-field): Ditto.
489         (elmo-msgdb-message-entity-field): Ditto.
490
491         * modb.el (elmo-msgdb-match-condition): Rewrite with
492         `elmo-condition-match'.
493         (elmo-msgdb-match-condition-primitive): New function.
494
495         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
496         arguments `flags' and `numbers'.
497         (elmo-msgdb-match-condition-primitive): Abolished (merged to
498         `elmo-msgdb-message-match-condition').
499         (modb-buffer-entity-handler): New class.
500
501         * elmo.el (elmo-folder-search): Optimize condition to use
502         `elmo-condition-optimize'.
503         (elmo-message-buffer-match-condition): New function.
504         (elmo-message-match-condition): Use
505         `elmo-message-buffer-match-condition' instead of
506         `elmo-buffer-field-condition-match'.
507
508         * elmo-util.el (elmo-condition-match): New function.
509         (elmo-condition-optimize): Ditto.
510         (elmo-buffer-field-primitive-condition-match): Abolish.
511         (elmo-buffer-field-condition-match): Ditto.
512
513         * elmo-archive.el (elmo-archive-field-condition-match): Use
514         `elmo-message-buffer-match-condition' instead of
515         `elmo-buffer-field-condition-match'.
516
517 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
518
519         * elmo-flag.el (elmo-global-flags-initialize): Check the
520         existence of the flag directory.
521
522 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
523
524         * elmo-access.el (elmo-folder-initialize): Call
525         `elmo-multi-connect-signals'.
526
527         * elmo-pipe.el (elmo-folder-close): Define.
528
529         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
530         children folders.
531
532         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
533         with target folder.
534
535         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
536         `number'.
537
538         * elmo-multi.el (elmo-message-entity): Don't use return value of
539         `elmo-message-entity-set-number'.
540
541 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
542
543         * modb.el (modb-generic): Added slot `mime-charset'.
544
545         * modb-standard.el (modb-standard): Added slot `overview-handler'.
546         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
547         and `modb-entity-handler-dump-parameters'.
548         (modb-standard-default-entity-handler): Abolish.
549         (elmo-msgdb-message-entity-handler): Save created handler by
550         instance slot.
551
552         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
553         (modb-entity-handler-list-parameters): New method.
554         (modb-entity-handler-equal-p): New function.
555         (modb-entity-handler-dump-parameters): Ditto.
556         (modb-entity-parse-address-string): Encode return value.
557         (modb-entity-make-address-string): Decode argument value.
558         (modb-entity-decode-string-recursive): New function.
559         (modb-entity-encode-string-recursive): Ditto.
560         (modb-standard-entity-normalizer): Set to encode field value.
561         (modb-standard-entity-specializer): Follow the above change.
562         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
563         mime-charset of handler.
564         (elmo-msgdb-message-entity-field): Ditto.
565         (elmo-msgdb-copy-message-entity): Fixed reference to internal
566         structure.
567         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
568
569         * elmo.el (elmo-folder): Added slot `mime-charset'.
570         (elmo-make-folder): Added argument `mime-charset'.
571         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
572         `mime-charest'.
573
574         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
575         (elmo-make-msgdb): Likewise.
576
577         * elmo-internal.el (elmo-internal-folder-initialize): Call
578         `luna-make-entity' with :mime-charset parameter.
579
580 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
581
582         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
583         encoded words in `from' and `subject' field.
584
585 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
586
587         * modb.el (elmo-msgdb-message-field): Add argument `type'.
588         (elmo-msgdb-match-condition): Get handler from entity instead of
589         msgdb.
590
591         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
592         (modb-standard-load-entity): Treat new file format.
593         (modb-standard-save-entity-1): Save as new file format.
594         (modb-standard-save-entity): Split messages into section here.
595         (elmo-msgdb-message-field): Follow the API change.
596         (modb-standard-default-entity-handler): New internal variable.
597         (elmo-msgdb-message-entity-handler): Define.
598
599         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
600         to `elmo-vars.el'.
601         (modb-entity-field-extractor-alist): New user option.
602         (elmo-msgdb-message-entity-field): Removed argument `decode' and
603         added argument `type'.
604         (elmo-msgdb-copy-message-entity): Add optional argument
605         `make-handler'.
606         (modb-set-field-converter): New function.
607         (modb-convert-field-value): Ditto.
608         (modb-entity-string-decoder): Ditto.
609         (modb-entity-string-encoder): Ditto.
610         (modb-entity-parse-date-string): Ditto.
611         (modb-entity-make-date-string): Ditto.
612         (modb-entity-mime-decoder): Ditto.
613         (modb-entity-mime-encoder): Ditto.
614         (modb-entity-address-list-decoder): Ditto.
615         (modb-entity-address-list-encoder): Ditto.
616         (modb-entity-parse-address-string): Ditto.
617         (modb-entity-make-address-string): Ditto.
618         (modb-entity-create-field-indices): Ditto.
619         (modb-legacy-entity-field-slots): New constant.
620         (modb-legacy-entity-field-indices): Ditto.
621         (modb-legacy-entity-normalizer): New variable.
622         (modb-legacy-entity-specializer): Ditto.
623         (modb-legacy-entity-field-index): New macro.
624         (modb-legacy-entity-set-field): New function.
625         (modb-legacy-make-message-entity): Rewrite.
626         (elmo-msgdb-create-message-entity-from-buffer): Use
627         `elmo-msgdb-get-references-from-buffer'. Use
628         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
629         Use `modb-legacy-entity-set-field' instead of
630         `elmo-msgdb-message-entity-set-field'.
631         (elmo-msgdb-message-entity-field): Rewrite.
632         (elmo-msgdb-message-entity-set-field): Ditto.
633         (elmo-msgdb-copy-message-entity): Make new entity by
634         `make-handler' if it specified.
635         (elmo-msgdb-message-match-condition): Define a method of
636         `modb-entity-handler' and follow the API change.
637         (modb-standard-entity-handler): New class.
638         (modb-entity-extract-ml-info-from-x-sequence): New function.
639         (modb-entity-extract-ml-info-from-subject): Ditto.
640         (modb-entity-extract-ml-info-from-return-path): Ditto.
641         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
642         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
643         (modb-entity-extract-mailing-list-info): Ditto.
644         (modb-entity-extract-mailing-list-info-functions): New variable.
645
646         * elmo.el (elmo-message-field): Add optional argument `type'.
647
648         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
649         from `modb-entity.el'.
650
651         * elmo-util.el (elmo-object-load): Decode by coding-system from
652         `set-auto-coding-function'.
653         (elmo-object-save): Use `detect-mime-charset-region' and add
654         coding cookie if encode.
655         (elmo-msgdb-get-references-from-buffer): New function.
656         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
657
658         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
659
660         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
661         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
662         instead of `shimbun-make-header' and follow the API change.
663         (elmo-shimbun-update-overview): Follow the API change.
664         (elmo-map-folder-list-message-locations): Ditto.
665
666         * elmo-pipe.el (elmo-message-field): Ditto.
667
668         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
669         Ditto.
670
671         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
672
673         * elmo-multi.el (elmo-message-field): Ditto.
674
675         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
676         (elmo-msgdb-sort-by-date): Ditto.
677         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
678         `elmo-message-entity-field'.
679         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
680         change.
681         (elmo-msgdb-overview-entity-get-from): Ditto.
682         (elmo-msgdb-overview-entity-get-subject): Ditto.
683         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
684         (elmo-msgdb-overview-entity-get-date): Ditto.
685         (elmo-msgdb-overview-entity-get-to): Ditto.
686         (elmo-msgdb-overview-entity-get-cc): Ditto.
687
688         * elmo-mime.el (elmo-message-mime-entity): Ditto.
689         (elmo-mime-collect-message/partial-pieces): Ditto.
690
691         * elmo-filter.el (elmo-message-field): Ditto.
692
693         * elmo-date.el (elmo-datevec-to-time): New function.
694         (elmo-time-parse-date-string): Ditto.
695         (elmo-time-make-date-string): Ditto.
696         (elmo-time<): Ditto.
697
698         * elmo-version.el (elmo-version): Up to 2.15.1.
699
700 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
701
702         * elmo-flag.el (elmo-global-flags-initialize): Don't include
703         member of elmo-local-flags.
704
705 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
706
707         * elmo-version.el (elmo-version): Up to 2.15.0.
708
709 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
710
711         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
712         `ignore-msgdb' is non-nil.
713
714 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
715
716         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
717         (elmo-condition-in-msgdb-p): Ditto.
718         (elmo-file-field-primitive-condition-match): Ditto.
719         (elmo-file-field-condition-match): Ditto.
720
721         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
722
723 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
726         subdirectories here.
727         (elmo-global-flags-initialize): New function.
728
729         * elmo.el (toplevel): Added autoload setting for
730         `elmo-global-flags-initialize'.
731
732 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
733
734         * elmo.el (message-number-changed): Define new signal.
735         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
736         message-number-changed signal.
737         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
738         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
739         Respect `elmo-pack-number-check-strict'.
740
741 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
742
743         * elmo-signal.el (elmo-connect-signal): Document.
744         (elmo-emit-signal): Ditto.
745         (elmo-emit-signal): It should pass source argument to filter and
746         handler, not slot-source.
747
748 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
749
750         * modb.el (elmo-msgdb-update-entity): New API and define generic
751         implement.
752
753         * modb-standard.el (elmo-msgdb-update-entity): Define.
754
755         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
756         API and define generic implement.
757
758         * elmo.el (update-overview): New singnal.
759
760         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
761         `elmo-msgdb-update-entity' and emit signal `update-overview'.
762         (elmo-message-entity-parent): Define.
763
764         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
765         `update-overview'.
766
767         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
768
769         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
770
771 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
772
773         * elmo.el (elmo-folder-synchronize): Sort the return value of
774         `elmo-list-diff'.
775
776         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
777         list.
778
779 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
780
781         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
782         `default-enable-multibyte-characters'.
783         (elmo-object-load): Use `with-temp-buffer' instead of
784         `elmo-set-work-buf'.
785         (elmo-object-save): Ditto.
786         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
787         `elmo-set-work-buf'.
788         (elmo-decoded-field-body): Ditto.
789
790         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
791
792         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
793         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
794
795         * elmo-version.el (elmo-version): Up to 2.13.3.
796
797 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
798
799         * elmo-util.el (elmo-list-diff): Fix the last change.
800         Reverse order of result lists.
801
802 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
803
804         * modb-standard.el (elmo-msgdb-set-flag): Use
805         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
806         (elmo-msgdb-unset-flag): Ditto.
807
808         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
809         `elmo-list-diff'.
810
811         * elmo-util.el (elmo-list-diff): Rewrite.
812         (elmo-list-diff-nonsortable): New function.
813
814 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
815
816         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
817         `elmo-multibypte-buffer-name'.  All referers are updated.
818
819 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
820
821         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
822         (elmo-mime-entity-fragment-p): New function.
823         (mime-elmo-buffer-entity): Added slot `reassembled'.
824         (elmo-message-mime-entity): Added 4th argument `reassemble'.
825         (elmo-message-mime-entity-internal): New function (renamed from
826         `elmo-message-mime-entity').
827         (elmo-mime-inherit-field-list-from-enclosed): New constant.
828         (elmo-mime-make-reassembled-mime-entity): New function.
829         (elmo-message-reassembled-mime-entity): Ditto.
830         (elmo-mime-collect-message/partial-pieces): Ditto.
831
832 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
833
834         * elmo.el (elmo-message-fetch-string): Disable multibyte.
835
836         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
837         (elmo-with-enable-multibyte): New macro.
838
839         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
840
841 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
842
843         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
844         argument `number'.
845         (elmo-filter-connect-signals): Follow the above change.
846
847 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
848
849         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
850
851         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
852         that only the first flag is used.
853
854 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
855
856         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
857         if available.
858
859 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
860
861         * elmo-signal.el: New file.
862
863         * elmo.el (toplevel): Require elmo-signal.
864         (flag-changing, flag-changed, cache-changed): New signal.
865         (elmo-folder): Remove slog `handlers'.
866         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
867         `elmo-folder-notify-event'.
868         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
869         (elmo-folder-unset-flag): Ditto.
870         (elmo-event-handler): Abolish.
871         (elmo-event-handler-flag-changed): Ditto.
872         (elmo-event-handler-cache-changed): Ditto.
873         (elmo-folder-add-handler): Ditto.
874         (elmo-folder-remove-handler): Ditto.
875         (elmo-folder-notify-event): Ditto.
876
877         * elmo-pipe.el (toplevel): Require elmo-signal.
878         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
879         (elmo-pipe-connect-signals): New function.
880         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
881         (elmo-folder-set-flag): Ditto.
882         (elmo-folder-unset-flag): Ditto.
883         (elmo-message-set-cached): Ditto.
884
885         * elmo-multi.el (toplevel): Require elmo-signal.
886         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
887         (elmo-multi-connect-signals): New function.
888         (elmo-multi-map-numbers): Ditto.
889         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
890         (elmo-message-fetch): Ditto.
891         (elmo-folder-set-flag): Ditto.
892         (elmo-folder-unset-flag): Ditto.
893
894         * elmo-filter.el (toplevel): Require elmo-signal.
895         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
896         (elmo-filter-connect-signals): New function.
897         (elmo-filter-add-flag-count): Ditto.
898         (elmo-message-fetch): Does not call
899         `elmo-filter-folder-countup-message-flags' and
900         `elmo-folder-notify-event'.
901         (elmo-message-set-cached): Ditto.
902         (elmo-folder-set-flag): Ditto.
903         (elmo-folder-unset-flag): Ditto.
904
905         * elmo-version.el (elmo-version): Up to 2.13.2.
906
907 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
908
909         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
910         `flags'.
911
912 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
913
914         * elmo-filter.el (elmo-message-set-cached): Call
915         `elmo-folder-notify-event' with event `cache-changed'.
916
917         * elmo-multi.el (elmo-message-set-cached): Ditto.
918
919         * elmo-pipe.el (elmo-message-set-cached): Ditto.
920
921 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
922
923         * elmo.el (elmo-folder-encache): Abolish.
924
925 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
926
927         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
928         (elmo-folder-next-message-number-dop): Return appropriate negative
929         integer.
930
931 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
932
933         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
934         clearing pending operations.
935         (elmo-folder-next-message-number-dop): Return appropriate negative
936         integer.
937
938 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
939
940         * elmo.el (toplevel): Added autoload setting for `md5'.
941         (elmo-msgdb-path-encode-threshold): New user option.
942         (elmo-folder-msgdb-path): Encode msgdb path if its length is
943         longer than `elmo-msgdb-path-encode-threshold'.
944
945         * elmo-flag.el (elmo-global-mark-migrate): Use
946         `elmo-folder-expand-msgdb-path' instead of
947         `elmo-folder-msgdb-path'.
948
949 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
950
951         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
952         element of the difference is nil.
953
954 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
955
956         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
957         to the check logic of file systems which are weak in colon character.
958
959 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
960
961         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
962
963 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
964
965         * elmo-maildir.el (elmo-maildir-move-file): New function.
966         (elmo-folder-append-buffer): Use it.
967         (elmo-folder-append-messages): Ditto.
968         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
969
970         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
971         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
972
973         * elmo-maildir.el (elmo-maildir-separator): New user option.
974         (elmo-maildir-adjust-separator): New macro.
975         (elmo-maildir-list-location): Use it.
976         (elmo-maildir-update-current): Ditto.
977         (elmo-maildir-set-mark): Ditto.
978         (elmo-maildir-delete-mark): Ditto.
979         (These changes are based on Hiroya Murata's patch [wl: 13437])
980
981 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
982
983         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
984
985 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
986
987         * elmo-flag.el (elmo-flag-valid-p): Simplify.
988         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
989         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
990
991 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
992
993         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
994         Use `with-temp-buffer'.
995
996 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
997
998         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
999
1000         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1001         `wl-read-search-condition').
1002         (elmo-read-search-condition-internal): Likewise.
1003
1004         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1005         (elmo-flag-valid-p): New function.
1006         (elmo-folder-initialize): Check flag name is valid.
1007
1008 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1009
1010         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1011         delimiter to obtain root mailbox itself.
1012
1013 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1014
1015         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1016         type mismatch.
1017
1018 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1019
1020         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1021         as t.
1022
1023 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1024
1025         * elmo-shimbun.el (toplevel): Require cl at compile.
1026
1027         * elmo-nntp.el (toplevel): Ditto.
1028
1029         * elmo-nmz.el (toplevel): Ditto.
1030
1031         * elmo-multi.el (toplevel): Ditto.
1032
1033         * elmo-file.el (toplevel): Ditto.
1034
1035         * elmo-dop.el (toplevel): Ditto.
1036
1037         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1038
1039 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1040
1041         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1042         as nil.
1043
1044         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1045         size of elmo-message-fetch-internal is 0 byte.
1046
1047 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1048
1049         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1050
1051 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1052
1053         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1054         always plugged.
1055
1056 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1057
1058         * elmo-maildir.el (elmo-map-message-fetch): Call
1059         `elmo-map-folder-set-flag'.
1060
1061         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1062         (elmo-message-fetch): Merge from
1063         `elmo-message-fetch-with-cache-process'.
1064
1065         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1066         (elmo-message-fetch): Define.
1067
1068         * elmo-nntp.el (elmo-message-fetch): Renamed from
1069         `elmo-message-fetch-with-cache-process'.
1070
1071         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1072         (elmo-message-fetch): Define.
1073
1074         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1075         search-key.
1076
1077         * elmo-shimbun.el (shimbun-mua-search-id): Use
1078         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1079         (elmo-shimbun-folder-shimbun-header): Ditto.
1080         (elmo-shimbun-get-headers): Ditto.
1081         (elmo-shimbun-update-overview): Ditto.
1082
1083         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1084
1085         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1086         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1087
1088 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1089
1090         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1091         message is cached.
1092         (elmo-message-fetch-string): Fixed argument.
1093
1094 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1095
1096         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1097         exchange order of arguments `section' and `unread'.
1098         (elmo-message-encache): Follow the API change.
1099         (elmo-message-match-condition): Ditto.
1100         (elmo-generic-folder-append-messages): Ditto.
1101         (elmo-message-fetch-string): New function.
1102
1103         * elmo-split.el (elmo-split-subr): Ditto.
1104
1105         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1106
1107         * elmo-pipe.el (elmo-message-fetch): Ditto.
1108
1109         * elmo-multi.el (elmo-message-fetch): Ditto.
1110
1111         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1112
1113         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1114
1115         * elmo-filter.el (elmo-message-fetch): Ditto.
1116
1117         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1118
1119         * elmo-imap4.el (mime-imap-location-section-body): Use
1120         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1121         follow the API change.
1122
1123 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1124
1125         * elmo-access.el: New file.
1126
1127         * elmo-null.el: Ditto.
1128
1129         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1130
1131 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1132
1133         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1134         (elmo-network-session): New attribute `last-accessed'.
1135         (elmo-network-get-session): Discard network cache if elapsed time
1136         since last-accessed is larger than elmo-network-session-idle-timeout.
1137
1138 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1139
1140         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1141         and added `number', `require-entireness'.
1142         (elmo-find-fetch-strategy): Rewrite.
1143         (elmo-message-fetch): Unset `unread' flag when argument unread is
1144         non-nil.
1145
1146         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1147
1148         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1149         (elmo-message-fetch): Notify event `flag-changed'.
1150
1151         * elmo-pipe.el: Likewise.
1152
1153         * elmo-mime.el (elmo-mime-entity): New class.
1154         (elmo-mime-entity-display-p): New generic function.
1155         (elmo-mime-entity-display): Ditto.
1156         (elmo-mime-entity-display-as-is): Ditto.
1157         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1158         elmo-mime-entity.
1159         (elmo-make-mime-message-location): Removed.
1160         (elmo-mime-message-display): Ditto.
1161         (elmo-mime-display-as-is): Ditto.
1162         (elmo-message-mime-entity): New function.
1163
1164         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1165
1166         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1167         change.
1168         (elmo-message-fetch): Re-count flagged message number and notify
1169         event `flag-changed'.
1170
1171         * elmo-version.el (elmo-version): Up to 2.13.1.
1172
1173 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1174
1175         * elmo-filter.el (elmo-message-field): Define.
1176         (elmo-message-set-field): Ditto.
1177
1178 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1179
1180         * elmo.el (elmo-message-set-cached): Call
1181         `elmo-folder-notify-event' with cache-changed.
1182         (elmo-event-handler-cache-changed): New generic function.
1183
1184 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1185
1186         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1187         instead of elmo-add-name-to-file.
1188         (elmo-folder-append-messages): Ditto.
1189
1190 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1191
1192         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1193
1194 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1195
1196         * elmo-version.el (elmo-version): Up to 2.13.0.
1197
1198         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1199         `auto'.
1200
1201         * modb-standard.el (modb-standard-economize-entity-size): Changed
1202         default value to `t'.
1203
1204         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1205         `standard'.
1206
1207         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1208         after parsing greeting string.
1209
1210 2004-11-23  Daishi Kato <daishi@axlight.com>
1211
1212         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1213         New user option.
1214         (elmo-spam-spamoracle-call): Use it.
1215
1216 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1217
1218         * elmo.el (elmo-message-accessible-p): Message in dop spool
1219         is accessible.
1220
1221 2004-11-23  Daishi Kato <daishi@axlight.com>
1222
1223         * elsp-spamoracle.el: New file.
1224
1225 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1226
1227         * elmo.el (elmo-message-flags-for-append): New function.
1228         (elmo-generic-folder-append-messages): Use it.
1229
1230         * elmo-split.el (elmo-split-subr): Ditto.
1231
1232         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1233         `flags' and use elmo-folder-append-buffer instead of
1234         write-region-as-binary.
1235         (elmo-dop-filter-pending-messages): New function.
1236         (elmo-folder-append-buffer-dop): Call
1237         elmo-dop-spool-folder-append-buffer with `flag'.
1238         (elmo-folder-set-flag-dop): Filter messages by
1239         elmo-dop-filter-pending-messages.
1240         (elmo-folder-unset-flag-dop): Ditto.
1241         (elmo-folder-append-buffer-dop-delayed): Use
1242         elmo-message-flags-for-append to get flags of the message and
1243         simplify.
1244
1245 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1246
1247         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1248
1249 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1250
1251         * elmo.el (elmo-folder): Added handlers slot.
1252         (elmo-event-handler): New class.
1253         (elmo-event-handler-flag-changed): New API.
1254         (elmo-folder-add-handler): New function.
1255         (elmo-folder-remove-handler): Ditto.
1256         (elmo-folder-notify-event): Ditto.
1257         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1258         `flag-changed'.
1259         (elmo-folder-unset-flag): Ditto.
1260
1261         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1262         (elmo-folder-unset-flag): Ditto.
1263
1264         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1265         (elmo-folder-unset-flag): Ditto.
1266
1267         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1268         (elmo-folder-unset-flag): Ditto.
1269
1270         * elmo-version.el (elmo-version): Up to 2.11.33.
1271
1272 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1273
1274         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1275
1276 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1277
1278         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1279
1280         * elmo-flag.el (elmo-folder-unset-flag): Define.
1281         (elmo-global-flag-detach): Do process when the flag is not target
1282         flag.
1283
1284 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1285
1286         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1287         variable.
1288         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1289
1290 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1291
1292         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1293         function.
1294         (elmo-folder-delete-messages): Detach messages before delete
1295         messages from target folder.
1296         (elmo-folder-detach-messages): Set updated number-list to slot.
1297
1298 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1299
1300         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1301
1302 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1303
1304         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1305
1306 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1307
1308         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1309         internal use only).
1310         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1311         not modified.
1312         (elmo-folder-delete-messages): Define.
1313         (elmo-folder-move-messages): Don't call
1314         `elmo-folder-detach-messages'.
1315         (elmo-folder-synchronize): Rewrite.
1316         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1317
1318         * elmo-util.el (elmo-last): New function.
1319         (elmo-set-list): Ditto.
1320         (elmo-number-set-delete-list): Ditto.
1321         (elmo-number-set-delete): Ditto.
1322
1323         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1324
1325         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1326         `elmo-folder-delete-messages' and don't delete location map.
1327         (elmo-folder-detach-messages): Define.
1328
1329         * elmo-imap4.el (elmo-folder-delete): Use
1330         `elmo-folder-delete-messages-internal' instead of
1331         `elmo-folder-delete-messages'.
1332
1333         * elmo-filter.el (elmo-folder-delete-messages): Call
1334         `elmo-folder-detach-messages'.
1335         (elmo-folder-detach-messages): Don't call
1336         `elmo-folder-detach-messages' for target folder.
1337
1338         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1339         message deletion is succeeded.
1340
1341         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1342
1343         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1344         from `elmo-folder-delete-messages'.
1345
1346         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1347
1348         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1349
1350         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1351
1352         * elmo-version.el (elmo-version): Up to 2.11.32.
1353
1354 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1355
1356         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1357         (elmo-global-flag-list): Added obsolete variable setting.
1358
1359         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1360
1361         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1362         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1363         `elmo-mime-display-header-analysis' is nil.
1364
1365         * elmo-flag.el (elmo-global-flags): Renamed from
1366         `elmo-global-flag-list' (All other related portions are changed).
1367         (elmo-local-flags): New variable.
1368         (elmo-local-flag-p): New function.
1369         (elmo-global-flag-set-internal): Cause an error when flag is not
1370         global.
1371
1372 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1373
1374         * elmo-util.el (elmo-concat-path): Treat empty path.
1375
1376 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1377
1378         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1379         field-or-fields).
1380         (elmo-split-address-match): Ditto.
1381         (elmo-split-equal): Ditto.
1382         (elmo-split-match): Ditto.
1383
1384 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1385
1386         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1387         (elmo-generic-folder-append-messages): If src message exists but
1388         has no flag, pass (read) for the FLAG argument of
1389         `elmo-folder-append-buffer'. Otherwise, pass nil.
1390
1391         * elmo-split.el (elmo-split-subr): Likewise.
1392
1393         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1394
1395         * elmo-multi.el (elmo-message-flags): Ditto.
1396
1397         * elmo-filter.el (elmo-message-flags): Ditto.
1398
1399         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1400         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1401         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1402         
1403 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1404
1405         * elmo-split.el (elmo-split-rule): Update comment.
1406         (elmo-split-address-equal): Allow 2nd argument to be a list.
1407         (elmo-split-address-match): Ditto.
1408         (elmo-split-equal): Ditto.
1409         (elmo-split-match): Ditto.
1410
1411 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1412
1413         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1414         (elmo-folder-append-msgdb): Don't treat `read'.
1415         (elmo-message-flags): Don't return `read'.
1416
1417         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1418         (elmo-folder-unset-read-delayed): Ditto.
1419
1420         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1421
1422 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1423
1424         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1425         deletion.
1426
1427 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1428
1429         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1430         header.
1431
1432 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1433
1434         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1435         here.
1436         (elmo-msgdb-save): Bind inhibit-quit.
1437         (modb-standard-message-entity): Ditto.
1438
1439 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1440
1441         * elmo-database.el: No need to require elmo-msgdb.
1442
1443 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1444
1445         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1446         instead of `elmo-list-subdirectories'.
1447
1448 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1449
1450         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1451         group entry.
1452         (elmo-folder-exists-p): "[" is empty.
1453         (elmo-folder-list-subfolders): Define.
1454         (elmo-folder-have-subfolder-p): Ditto.
1455
1456 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1457
1458         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1459
1460 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1461
1462         * elmo-filter.el (elmo-folder-local-p): Define.
1463
1464 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1465
1466         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1467         when entity is garbaged.
1468         (modb-standard-save-entity-1): Don't modify the original entity.
1469
1470 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1471
1472         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1473
1474 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1475
1476         * elmo.el (elmo-strict-folder-diff): Use
1477         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1478
1479 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1480
1481         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1482         (elmo-msgdb-message-number): Ditto.
1483         (elmo-msgdb-message-field): Ditto.
1484
1485         * modb-standard.el (modb-standard-economize-entity-size): New user
1486         option.
1487         (modb-standard-loaded-message-id): New inline function.
1488         (modb-standard-load-entity): Use it.
1489         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1490         throw message-id string away.
1491         (elmo-msgdb-flag-available-p): Define.
1492         (elmo-msgdb-message-number): Ditto.
1493         (elmo-msgdb-message-field): Ditto.
1494
1495         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1496         (suppoted -> supported).
1497         (modb-legacy-supported-flag-p): Ditto.
1498         (elmo-msgdb-set-flag): Ditto.
1499         (elmo-msgdb-unset-flag): Ditto.
1500         (elmo-msgdb-flag-available-p): Define.
1501
1502         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1503         is `t', treat it as legacy entity.
1504         
1505         * elmo.el (elmo-message-flag-available-p): New generic function.
1506         (elmo-message-number): Ditto.
1507         (elmo-message-field): Use `elmo-msgdb-message-field'.
1508
1509         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1510
1511         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1512         (elmo-message-number): Ditto.
1513
1514         * elmo-multi.el (elmo-message-number): Define.
1515         (elmo-message-flag-available-p): Ditto.
1516
1517         * elmo-filter.el (elmo-message-flag-available-p): Define.
1518         (elmo-message-number): Ditto.
1519
1520         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1521         (elmo-folder-initialize): Load `max-number'.
1522         (elmo-folder-commit): Save it.
1523         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1524         (elmo-global-flag-set-internal): Set up max-number slot.
1525
1526 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1527
1528         * elmo-version.el (elmo-version): Up to 2.11.31.
1529
1530 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1531
1532         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1533         unibyte string of the current buffer for the argument of `md5'
1534         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1535
1536 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1537
1538         * modb-legacy.el (modb-legacy-flag-list): New constant.
1539         (modb-legacy-suppoted-flag-p): New internal function.
1540         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1541         (elmo-msgdb-unset-flag): Ditto.
1542
1543 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1544
1545         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1546
1547         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1548         from msgdb.
1549
1550 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1551
1552         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1553         (follow the API change).
1554
1555         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1556
1557 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1558
1559         * modb-standard.el (modb-standard-digest-flags): Abolish.
1560         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1561
1562         * elmo-vars.el (elmo-digest-flags): New variable.
1563         (elmo-preserved-flags): Moved from elmo-flag.el.
1564
1565         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1566         (elmo-imap4-flag-to-imap-criteria): Ditto.
1567         (elmo-imap4-folder-list-flagged): Use it.
1568
1569         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1570
1571         * elmo.el (elmo-folder-count-flags): Changed return value.
1572
1573         * elmo-flag.el (elmo-preserved-flags): New variable.
1574         (elmo-get-global-flags): Use it.
1575
1576         * modb-standard.el (modb-standard-digest-flags): New variable.
1577         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1578         Changed behavior of `any'.
1579
1580         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1581         which are defined the Internet draft
1582         (draft-melnikov-imap-keywords-03.txt).
1583         (elmo-imap4-flags-to-imap): New function.
1584         (elmo-folder-append-buffer): Use it.
1585
1586         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1587         in the docstring.
1588
1589         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1590         avoid the bug of Emacs 21.3.
1591
1592 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1593
1594         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1595         function find-coding-system does not exist.
1596
1597 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1598
1599         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1600         parsing.
1601
1602 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1603
1604         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1605         response codes.
1606
1607 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1608
1609         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1610         (elmo-network-close-session): Follow the changes in
1611         `elmo-pop3-read-response'.
1612         (elmo-pop3-auth-user): Ditto.
1613         (elmo-pop3-auth-apop): Ditto.
1614         (elmo-network-initialize-session): Ditto.
1615         (elmo-network-authenticate-session): Ditto.
1616         (elmo-network-setup-session): Ditto.
1617         (elmo-folder-status): Ditto.
1618         (elmo-message-fetch-plugged): Ditto.
1619         (elmo-pop3-delete-msg): Ditto.
1620
1621 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1622
1623         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1624         on failure.
1625
1626 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1627
1628         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1629         style.
1630         (elmo-bind-directory): Ditto.
1631
1632 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1633
1634         * elmo.el (elmo-folder-append-messages): Note on return value.
1635         * elmo-archive.el (elmo-folder-append-messages): Don't return
1636         message numbers which could not be appended.
1637
1638 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1639
1640         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1641
1642 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1643
1644         * elmo-version.el (elmo-version): Up to 2.11.30.
1645
1646 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1647
1648         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1649         `mask'.
1650
1651         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1652
1653         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1654         (elmo-multi-split-numbers): Add elmo-folder object into each
1655         element of return value at first.
1656         (elmo-folder-delete-messages): Follow the above change.
1657         (elmo-folder-detach-messages): Ditto.
1658
1659         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1660         number which is synchronized in target folder.
1661
1662 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1663
1664         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1665         Change default value to symbol `all'.
1666         (elmo-map-message-fetch): Change condition to update overview
1667         follow the above.
1668
1669 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1670
1671         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1672         behavior to update overview.
1673         (elmo-shimbun-update-overview-folder-list): Note it.
1674
1675 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1676
1677         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1678         recursive call.
1679
1680 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1681
1682         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1683         buffer-disable-undo, it is unnecessary.
1684         (elmo-spam-register-good-messages): Ditto.
1685
1686         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1687         Ditto.
1688
1689         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1690
1691 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1692
1693         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1694         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1695         elmo-set-buffer-multibyte.
1696         (elmo-object-load): Ditto.
1697         (elmo-save-buffer): Ditto.
1698         (elmo-delete-char): Ditto.
1699         (elmo-file-field-primitive-condition-match): Ditto.
1700         (elmo-mime-string): Ditto.
1701
1702         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1703         (elmo-archive-field-condition-match): Ditto.
1704
1705         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1706
1707         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1708
1709         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1710         (elmo-nntp-msgdb-create-message): Ditto.
1711
1712         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1713
1714         * elmo.el (elmo-message-match-condition): Ditto.
1715         (elmo-message-match-condition): Ditto.
1716
1717         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1718         Ditto.
1719
1720         * elmo-version.el (elmo-version): Up to 2.11.29.
1721
1722         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1723         (elsp-header): New backend.
1724
1725         * elmo-util.el (elmo-decoded-field-body): New function.
1726
1727 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1728
1729         * elmo-version.el (elmo-version): Up to 2.11.28.
1730
1731 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1732
1733         * elmo-filter.el: Rewrite.
1734
1735         * elmo-version.el (elmo-version): Up to 2.11.27.
1736
1737 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1738
1739         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1740         msgdb path for the localdir folder with absolute path.
1741
1742         * utf7.el: Synch up with latest gnus/utf7.el;
1743         Modified for latest Emacs.
1744
1745 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1746
1747         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1748         shimbun backend couldn't open.
1749
1750 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1751
1752         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1753         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1754         when a destination folder is a filter folder.
1755
1756 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1757
1758         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1759         (elmo-generic-folder-append-messages): Call elmo-message-flags
1760         with argument `msgid'.
1761
1762         * elmo-split.el (elmo-split-subr): Ditto.
1763
1764         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1765
1766         * elmo-multi.el (elmo-message-flags): Ditto.
1767
1768 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1769
1770         * elmo.el (elmo-folder): Add new slot `flag-table'.
1771         (elmo-folder-flag-table): New API.
1772         (elmo-folder-close-flag-table): Ditto.
1773         (elmo-folder-preserve-flags): New function.
1774         (elmo-generic-folder-append-messages): Use
1775         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1776         Flag of a non-registered message, it sets to nil.
1777         Does not set flag to flag-table.
1778
1779         * elmo-maildir.el (elmo-folder-append-buffer): Use
1780         `elmo-folder-preserve-flags'.
1781         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1782         `elmo-folder-close-flag-table'.
1783
1784         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1785         (elmo-archive-folder-append-buffer): Use
1786         `elmo-folder-preserve-flags'.
1787
1788         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1789
1790         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1791
1792         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1793         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1794         `elmo-folder-close-flag-table'.
1795
1796         * elmo-version.el (elmo-version): Up to 2.11.26.
1797
1798 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1799
1800         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1801
1802         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1803         md5's 4th and 5th argument (non-existent in flim one).
1804
1805 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1806
1807         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1808         message, It sets to nil.
1809
1810 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1811
1812         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1813         list is non-nil.
1814
1815 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1816
1817         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1818
1819         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1820
1821         * elmo-util.el (elmo-uniq-sorted-list): New function.
1822         (elmo-make-number-list): Ditto.
1823         (elmo-number-set-to-number-list): Use elmo-make-number-list
1824         and don't use nreverse.
1825
1826 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1827
1828         * elmo-version.el (elmo-version): Up to 2.11.25.
1829
1830 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1831
1832         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1833         field not exists in message, Use md5 message digest of header.
1834
1835 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1836
1837         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1838         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1839         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1840         * elmo-split.el (elmo-split-subr): Check return value of
1841         elmo-folder-append-buffer.
1842
1843         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1844         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1845
1846         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1847         message-id.
1848
1849 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1850
1851         * elmo-split.el (elmo-split-subr): Append message with flag.
1852
1853         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1854         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1855         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1856
1857 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1858
1859         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1860         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1861         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1862
1863 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1864
1865         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1866         with a function call of `process-buffer'.  All callers are updated.
1867         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1868         Remove redundant `set-buffer' in a while loop.
1869
1870 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1871
1872         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1873         calls.
1874
1875 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1878         elsp-spamfilter-register-buffer-internal with current buffer.
1879         (elmo-spam-register-spam-buffer): Ditto.
1880         (elmo-spam-register-good-buffer): Ditto.
1881
1882 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1883
1884         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1885         if it is not contained in the response(A workaround for courier-imap).
1886
1887 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1888
1889         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1890         parenthesis.
1891
1892 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1893
1894         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1895         range.
1896
1897 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1900         of nconc.
1901
1902         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1903         argument handler.
1904         (elmo-msgdb-message-match-condition): Follow the change above.
1905
1906 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1907
1908         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1909         folder name.
1910
1911 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1912
1913         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1914
1915 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1916
1917         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1918
1919 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1920
1921         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1922         not found.
1923
1924 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1925
1926         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1927         value.
1928         (elmo-file-command-argument): Undo last change for cygwin.
1929         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1930         Don't return nil.
1931         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1932
1933 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1934
1935         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1936         value returned from elmo-file-find is nil.
1937
1938 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1939
1940         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1941         to elmo-vars.el.
1942
1943         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1944         instead of insert-file-contents-as-binary.
1945         (elmo-message-set-field): New generic function.
1946
1947         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1948         behavior change on `split-string'.
1949
1950         * elmo-file.el (elmo-file-find): New function.
1951         (elmo-file-command): New user option.
1952         (elmo-file-command-argument): Ditto.
1953         (elmo-file-fetch-max-size): Ditto.
1954         (elmo-file-detect-format): New function.
1955         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1956         Use elmo-file-detect-format.
1957         (elmo-map-folder-list-message-locations): Don't treat directories.
1958
1959 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1960
1961         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1962         (elmo-passwd-alist-clear): Shred password before clear.
1963         (elmo-remove-passwd): Remove all mached pair.
1964
1965 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1966
1967         * elmo.el (elmo-folder-synchronize): Fix description of the return
1968         value.
1969
1970 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1971
1972         * elmo.el (elmo-message-fetch-bodystructure): New method.
1973         (elmo-message-fetch-bodystructure): Define default.
1974
1975         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1976         elmo-message-fetch-bodystructure.
1977         (elmo-message-fetch-bodystructure): Define.
1978
1979         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1980
1981 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1982
1983         * elmo-filter.el (elmo-message-folder): Define.
1984
1985 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1986
1987         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1988         elmo-delete-cr-buffer.
1989
1990         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1991
1992         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1993
1994         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1995
1996         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1997         type seems to be a text.
1998
1999 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2000
2001         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2002         (elmo-spam-register-good-buffer): Ditto.
2003         (elmo-spam-spamassassin-register-messages): Ditto.
2004
2005         * elmo-util.el (elmo-string-member-ignore-case): Define with
2006         static-cond.
2007
2008 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2009
2010         * elmo.el (elmo-folder-type): Undo last change.
2011
2012         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2013
2014         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2015         warnings.
2016
2017         * elmo-file.el: New file.
2018         
2019         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2020
2021         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2022         variable.
2023         (elmo-spam-spamassassin-register-messages): New inline function.
2024         (elmo-spam-register-spam-messages): Define.
2025         (elmo-spam-register-good-messages): Ditto.
2026
2027         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2028         Fixed typo.
2029
2030         * elmo.el (toplevel): Added autoload setting for
2031         `elmo-get-global-flags'.
2032         (elmo-message-has-global-flag-p): New function.
2033         (elmo-message-set-global-flags): Ditto.
2034         (elmo-folder-type): Improvement for name: format.
2035
2036         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2037         availability of keyword flags.
2038         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2039         (elmo-folder-list-flagged-plugged): Renamed from
2040         elmo-folder-list-flagged-unplugged.
2041         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2042         accept any flag as keyword flag.
2043         (elmo-folder-set-flag-plugged): Accept keyword flags.
2044         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2045
2046         * elmo-flag.el (elmo-get-global-flags): New function.
2047
2048         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2049         folders.
2050
2051         * elmo-version.el (elmo-version): Up to 2.11.24.
2052
2053 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2054
2055         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2056         elmo-multiple-field-body instead of std11-field-body to check all
2057         headers.
2058
2059 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2060
2061         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2062         or "size".
2063
2064 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2065
2066         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2067         unintern is unbound.
2068
2069 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2070
2071         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2072         Protect from infinite loop.
2073
2074 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2075
2076         * elsp-bogofilter.el
2077         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2078         (elmo-spam-bogofilter-register-messages): New internal function.
2079         (elmo-spam-register-spam-messages): Define.
2080         (elmo-spam-register-good-messages): Ditto.
2081
2082 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2083
2084         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2085         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2086         (elmo-spam-bogofilter-call): Fixed the last change.
2087         (elmo-spam-bogofilter-arguments): Ditto.
2088
2089         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2090         Follow the options change of latest bogofilter.
2091
2092         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2093         (elmo-spam-bogofilter-good-switch): Ditto.
2094         (elmo-spam-bogofilter-arguments-alist): New user option.
2095         (elmo-spam-bogofilter-debug): Ditto.
2096         (elmo-spam-bogofilter-call): Renamed from
2097         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2098         is non-nil, insert output in buffer for debug.
2099         (elmo-spam-bogofilter-arguments): New macro.
2100         (elmo-spam-buffer-spam-p): Use it.
2101         (elsp-bogofilter-register-buffer): Ditto.
2102
2103 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2104
2105         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2106         regexp.
2107
2108 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2109
2110         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2111         value as "ruby".
2112         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2113         (elmo-spam-bsfilter-program): Set default value as full path for
2114         `bsfilter'.
2115         (elmo-spam-bsfilter-debug): New user option.
2116         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2117         non-nil, insert output in buffer for debug. Fix treating of
2118         argument.
2119
2120 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2121
2122         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2123         `elmo-maildir-flag-specs' element instead of one.
2124         (elmo-map-folder-unset-flag): Ditto.
2125         (Reported by Ken Makimura <macky@astem.or.jp>)
2126
2127         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2128         (elmo-folder-unset-flag-plugged): Ditto.
2129
2130 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2131
2132         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2133         to `reads' slot only if `in-msgdb' is nil.
2134
2135 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2136
2137         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2138         and complement argument list.
2139
2140 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2141
2142         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2143         instead of elmo-folder-list-flagged.
2144
2145 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2146
2147         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2148
2149         * elsp-bsfilter.el: New file.
2150
2151         * elmo-pipe.el (elmo-folder-list-unreads,
2152         elmo-folder-list-answereds,
2153         elmo-folder-list-importants,
2154         elmo-folder-flag-as-important,
2155         elmo-folder-unflag-important,
2156         elmo-folder-flag-as-read,
2157         elmo-folder-unflag-read,
2158         elmo-folder-flag-as-answered,
2159         elmo-folder-unflag-answered): Remove.
2160         (elmo-folder-set-flag): Define.
2161         (elmo-folder-unset-flag): Ditto.
2162
2163         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2164         (elmo-folder-set-flag): Define.
2165         (elmo-folder-unset-flag): Ditto.
2166         (elmo-folder-list-unreads): Remove.
2167         (elmo-folder-list-flagged): Define.
2168
2169         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2170         (elmo-folder-list-unreads,
2171         elmo-folder-list-importants,
2172         elmo-folder-list-answereds,
2173         elmo-folder-list-unreads-plugged,
2174         elmo-folder-list-importants-plugged,
2175         elmo-folder-list-answereds-plugged): Remove.
2176         (elmo-folder-list-flagged-plugged): New method.
2177         (elmo-folder-unflag-important,
2178         elmo-folder-flag-as-important,
2179         elmo-folder-unflag-read,
2180         elmo-folder-flag-as-read,
2181         elmo-folder-unflag-answered,
2182         elmo-folder-flag-as-answered,
2183         elmo-folder-flag-as-read-unplugged,
2184         elmo-folder-unflag-read-unplugged,
2185         elmo-folder-flag-as-important-unplugged,
2186         elmo-folder-unflag-important-unplugged,
2187         elmo-folder-flag-as-answered-unplugged,
2188         elmo-folder-unflag-answered-unplugged): Remove.
2189         (elmo-folder-set-flag): Define.
2190         (elmo-folder-unset-flag): Ditto.
2191         (elmo-folder-set-flag-unplugged): Ditto.
2192         (elmo-folder-unset-flag-unplugged): Ditto.
2193
2194         * elmo-multi.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-map.el (elmo-map-folder-unflag-important,
2207         elmo-map-folder-flag-as-important,
2208         elmo-map-folder-unflag-read,
2209         elmo-map-folder-flag-as-read,
2210         elmo-map-folder-unflag-answered,
2211         elmo-map-folder-flag-as-answered): Remove.
2212         (elmo-map-folder-set-flag): New method.
2213         (elmo-map-folder-unset-flag): Ditto.
2214         (elmo-map-folder-list-unreads,
2215         elmo-map-folder-list-importants,
2216         elmo-map-folder-list-answereds): Remove.
2217         (elmo-folder-list-flagged-internal): Define.
2218         (elmo-map-folder-list-flagged): New method.
2219
2220         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2221         (elmo-map-folder-list-unreads,
2222         elmo-map-folder-list-importants,
2223         elmo-map-folder-list-flagged): Remove.
2224         (elmo-map-folder-list-flagged): Define.
2225         (elmo-map-folder-flag-as-important,
2226         elmo-map-folder-unflag-important,
2227         elmo-map-folder-flag-as-read,
2228         elmo-map-folder-unflag-read,
2229         elmo-map-folder-flag-as-answered,
2230         elmo-map-folder-unflag-answered): Remove.
2231         (elmo-maildir-set-mark-messages): New internal function.
2232         (elmo-map-folder-set-flag): Define.
2233         (elmo-map-folder-unset-flag): Ditto.
2234
2235         * elmo.el (toplevel): Added autoload setting for
2236         `elmo-folder-list-global-flag-messages'.
2237         (elmo-folder-list-unreads,
2238         elmo-folder-list-importants,
2239         elmo-folder-list-answereds): Remove.
2240         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2241         Return a list whitch merged with messages have global flag.
2242         (elmo-folder-list-flagged-internal): New method.
2243         (elmo-folder-unflag-important,
2244         elmo-folder-flag-as-important,
2245         elmo-folder-unflag-read,
2246         elmo-folder-flag-as-read,
2247         elmo-folder-unflag-answered,
2248         elmo-folder-flag-as-answered): Remove.
2249         (elmo-folder-set-flag): New method.
2250         (elmo-folder-unset-flag): Ditto.
2251         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2252         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2253
2254         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2255         (elmo-folder-list-unreads-plugged,
2256         elmo-folder-list-importants-plugged,
2257         elmo-folder-list-answereds-plugged,
2258         elmo-folder-list-flagged-unplugged,
2259         elmo-folder-unflag-important-plugged,
2260         elmo-folder-flag-as-important-plugged,
2261         elmo-folder-unflag-read-plugged,
2262         elmo-folder-flag-as-read-plugged,
2263         elmo-folder-unflag-answered-plugged,
2264         elmo-folder-flag-as-answered-plugged): Remove.
2265         (elmo-folder-set-flag-plugged,
2266         elmo-folder-unset-flag-plugged): Define.
2267
2268         * elmo-flag.el (elmo-folder-initialize): Register to
2269         `elmo-global-flag-list' if flag is not global.
2270         (elmo-folder-append-messages): Set flag to source messages.
2271
2272         * elmo-filter.el (elmo-filter-folder-list-unreads,
2273         elmo-folder-list-unreads,
2274         elmo-filter-folder-list-importants,
2275         elmo-folder-list-importants,
2276         elmo-folder-flag-as-read,
2277         elmo-folder-unflag-read,
2278         elmo-folder-flag-as-important,
2279         elmo-folder-unflag-important,
2280         elmo-folder-flag-as-answered,
2281         elmo-folder-unflag-answered): Remove.
2282         (elmo-folder-set-flag): Define.
2283         (elmo-folder-unset-flag): Ditto.
2284
2285         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2286         elmo-folder-unflag-read-dop,
2287         elmo-folder-flag-as-important-dop,
2288         elmo-folder-unflag-important-dop,
2289         elmo-folder-flag-as-answered-dop,
2290         elmo-folder-unflag-answered-dop): Remove.
2291         (elmo-folder-set-flag-dop,
2292         elmo-folder-unset-flag-dop,
2293         elmo-folder-set-important-delayed,
2294         elmo-folder-unset-important-delayed,
2295         elmo-folder-set-read-delayed,
2296         elmo-folder-unset-read-delayed,
2297         elmo-folder-set-answered-delayed,
2298         elmo-folder-unset-answered-delayed): New function.
2299         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2300         (elmo-dop-queue-method-name-alist): Ditto.
2301
2302         * elmo-version.el (elmo-version): Up to 2.11.23.
2303
2304 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2305
2306         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2307
2308         * elsp-sa.el: New file.
2309
2310 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2311
2312         * modb-standard.el (modb-standard-message-entity): New function.
2313         (elmo-msgdb-message-entity): Use it.
2314
2315 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2316
2317         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2318         behavior when one-level is nil.
2319
2320         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2321
2322         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2323
2324 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2325
2326         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2327         get max number.
2328         (elmo-generic-folder-diff): Ditto.
2329
2330         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2331         (elmo-folder-update-number): Ditto.
2332
2333         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2334         (elmo-folder-next-message-number-dop): Ditto.
2335
2336 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2337
2338         * elmo-filter.el (elmo-folder-msgdb-create): Use
2339         `elmo-message-entity' and `elmo-message-flags' instead of
2340         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2341
2342 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2343
2344         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2345         `if-exists'.
2346
2347 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2348
2349         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2350
2351         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2352
2353         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2354
2355 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2356
2357         * elmo-version.el (elmo-version): Up to 2.11.22.
2358
2359 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2360
2361         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2362
2363 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2364
2365         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2366         if the message dose not exist.
2367
2368 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2369
2370         * elmo-version.el (elmo-version): Up to 2.11.21.
2371
2372 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2373
2374         * modb-standard.el (toplevel): Don't require mime.
2375
2376 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2377
2378         * elsp-bogofilter.el (toplevel): Don't require path-util.
2379         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2380         (elmo-spam-bogofilter-header): Abolish.
2381         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2382         (elmo-spam-bogofilter-args): New user option.
2383         (elsp-bogofilter-call-bogofilter): New internal function.
2384         (elmo-spam-buffer-spam-p): Use it.
2385         (elsp-bogofilter-register-buffer): Renamed from
2386         `elmo-spam-bogofilter-register-buffer';
2387         Use `elsp-bogofilter-call-bogofilter'.
2388         (elmo-spam-register-spam-buffer): Follow the change above.
2389         (elmo-spam-register-good-buffer): Ditto.
2390
2391 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2392
2393         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2394         message-id is nil do nothing.
2395
2396 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2397
2398         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2399         Revival.
2400         (elmo-imap4-session): Removed use-flag slot.
2401         (elmo-imap4-session-select-mailbox): Undo last change.
2402         (elmo-folder-use-flag-p): Use
2403         elmo-imap4-disuse-server-flag-mailbox-regexp.
2404
2405 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2406
2407         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2408         (elmo-imap4-session-select-mailbox): Set it up.
2409         (elmo-folder-use-flag-p): Return value of use-flag slot.
2410
2411 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2412
2413         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2414         message-id is nil.
2415         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2416
2417         * modb-entity.el (elmo-message-entity-handler): Likewise.
2418
2419 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2420
2421         * elmo.el (toplevel): Remove setting of autoloding for
2422         elmo-global-flag-initialize.
2423         (elmo-init): Don't call elmo-global-flag-initialize.
2424         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2425
2426         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2427         (elmo-global-mark-migrate): Don't call it.
2428         (elmo-global-mark-upgrade): Ditto.
2429
2430 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2431
2432         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2433         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2434
2435         * elmo-vars.el (elmo-init-hook): New user option.
2436
2437         * elmo.el (elmo-init): Run the elmo-init-hook.
2438
2439         * elmo-flag.el (elmo-global-mark-migrate): New function.
2440
2441 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2442
2443         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2444         Undo last change (move to elmo-msgdb-unset-flag).
2445         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2446         flag is unset.
2447
2448 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2449
2450         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2451         read flag is set.
2452         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2453         (elmo-msgdb-unset-flag): Ditto.
2454
2455 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2456
2457         * elmo-split.el (elmo-split): Return split message count.
2458
2459 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2460
2461         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2462         is nil.
2463
2464 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2465
2466         * elmo.el (elmo-folder-unflag-important): Call
2467         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2468         a symbol `always'.
2469
2470         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2471         before unset flag.
2472         (elmo-global-flag-detach): Delete the message from flag folder, if
2473         `delete-if-none' is a symbol `always'.
2474
2475 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2476
2477         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2478         `elmo-spam-spamfilter-decode-buffer'.
2479         (elsp-spamfilter-register-buffer-internal): New internal function.
2480         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2481         (elmo-spam-register-spam-buffer): Ditto.
2482         (elmo-spam-register-good-buffer): Ditto.
2483
2484         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2485         change.
2486         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2487         (elmo-spam-register-spam-buffer): Follow the API change.
2488         (elmo-spam-register-good-buffer): Ditto.
2489
2490         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2491         (elmo-split-spam-p): Added argument plist; Call
2492         `elmo-spam-buffer-spam-p' with new argument register.
2493
2494         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2495         `register'.
2496         (elmo-spam-message-spam-p): Ditto.
2497         (elmo-spam-register-spam-buffer): Added optional argument
2498         `restore'.
2499         (elmo-spam-register-good-buffer): Ditto.
2500         (elmo-spam-register-spam-messages): Ditto.
2501         (elmo-spam-register-good-messages): Ditto.
2502
2503 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2504
2505         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2506         register into good corpus.
2507         (elmo-spam-register-good-buffer): Fixed to register into bad
2508         corpus.
2509
2510 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2511
2512         * elmo-version.el (elmo-version): Up to 2.11.20.
2513
2514         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2515         change.
2516
2517         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2518         flag without depending on \Recent flag.
2519
2520 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2521
2522         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2523         (elmo-spam-modified-p): Defined.
2524         (elmo-spam-save-status): Set `modified' slot to nil.
2525         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2526         (elmo-spam-register-good-buffer): Ditto.
2527
2528         * elmo-spam.el (elmo-spam-modified-p): New API.
2529
2530 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2531
2532         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2533         duplicate definition.
2534
2535         * elmo-util.el (elmo-unfold-field-body): New function.
2536         (elmo-msgdb-get-message-id-from-buffer): Use it.
2537
2538         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2539         Fixed the last change; Use elmo-unfold-field-body.
2540
2541 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2542
2543         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2544         Unfold date value.
2545
2546 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2547
2548         * elmo-spam.el (elmo-spam-save-status): New API.
2549
2550         * elsp-spamfilter.el: New file.
2551
2552 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2553
2554         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2555
2556 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2557
2558         * elmo-split.el (elmo-split-spam-p): New function.
2559
2560         * elmo-spam.el: New file.
2561
2562         * elsp-bogofilter.el: Ditto.
2563
2564 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2565
2566         * elmo.el (elmo-folder-next-message-number): New API.
2567         (elmo-folder-next-message-number): Define.
2568         (elmo-message-field): Don't check folder length.
2569
2570         * elmo-net.el (elmo-folder-next-message-number): Define.
2571         (elmo-folder-next-message-number-unplugged): Define.
2572
2573         * elmo-map.el (elmo-folder-next-message-number): Define.
2574         (elmo-folder-delete-messages): Clear hash value.
2575
2576         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2577
2578         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2579         (elmo-folder-delete-messages-dop-delayed): Always return t.
2580
2581         * elmo-version.el (elmo-version): Up to 2.11.19.
2582
2583 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2584
2585         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2586         change.
2587
2588         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2589         identical cons cell into the mark-alist and the hash table.
2590
2591 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2592
2593         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2594         elmo-folder-list-messages with argument `visible-only' as t.
2595
2596         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2597         (elmo-folder-msgdb-create): Check the target folder.
2598
2599 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2600
2601         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2602         `permanentflag' instead of `flags'.
2603         (elmo-folder-open): Ditto.
2604         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2605         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2606         (elmo-folder-use-flag-p): Always return t.
2607         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2608         `permanentflags' does not exist.
2609         (elmo-folder-open): Ditto.
2610
2611 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2612
2613         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2614         is nil.
2615         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2616
2617         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2618         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2619         response.
2620         (elmo-folder-open): Ditto.
2621         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2622         slot of the session includes the flag.
2623         (elmo-imap4-session-flag-available-p): New function.
2624         (elmo-imap4-folder-list-flagged): Ditto.
2625         (elmo-folder-list-unreads-plugged): Use it.
2626         (elmo-folder-list-importants-plugged): Ditto.
2627         (elmo-folder-list-answereds-plugged): Ditto.
2628         (elmo-imap4-search-internal-primitive): Ditto.
2629         (elmo-imap4-folder-list-any-plugged,
2630         elmo-imap4-folder-list-digest-plugged): Abolish.
2631
2632         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2633         if numbers is nil.
2634
2635 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2636
2637         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2638
2639 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2640
2641         * elmo-util.el (elmo-get-hash-val): Simplify.
2642         (elmo-set-hash-val): Rewrite.
2643
2644 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2645
2646         * elmo.el (elmo-folder-list-messages): Append killed messages into
2647         result if `visible-only' is nil and `in-msgdb' is non-nil.
2648
2649         * elmo-util.el (elmo-uniq-list): Added optional argument
2650         `delete-function'.
2651
2652         * modb.el (elmo-msgdb-flag-count): New API.
2653
2654         * modb-standard.el (modb-standard): Added slot flag-count.
2655         (modb-standard-countup-flags): New function.
2656         (modb-standard-load-flag): Call it.
2657         (elmo-msgdb-append): Ditto.
2658         (elmo-msgdb-clear): Clear slot flag-count.
2659         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2660         (elmo-msgdb-unset-flag): Treat `all' flag and call
2661         modb-standard-countup-flags.
2662         (elmo-msgdb-flag-count): Define.
2663         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2664         (elmo-msgdb-delete-messages): Ditto.
2665
2666         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2667         (elmo-msgdb-flag-count): Define.
2668
2669         * elmo.el (elmo-folder-list-messages): Undo last change.
2670         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2671         (elmo-folder-kill-messages): Unset all flags to numbers.
2672
2673         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2674         elmo-folder-kill-messages.
2675
2676         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2677         (elmo-nntp-folder-delete-messages): Abolish.
2678
2679         * elmo-version.el (elmo-version): Up to 2.11.18.
2680
2681 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2682
2683         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2684         (elmo-folder-kill-messages-range): New function.
2685         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2686         instead of elmo-folder-kill-messages-before.
2687
2688 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2689
2690         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2691         elmo-imap4-current-msgdb to decide entity handler.
2692
2693 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2694
2695         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2696
2697         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2698         inline function.
2699         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2700         (elmo-msgdb-overview-entity-set-number,
2701         elmo-msgdb-overview-entity-get-references,
2702         elmo-msgdb-overview-entity-set-references,
2703         elmo-msgdb-overview-entity-get-from-no-decode,
2704         elmo-msgdb-overview-entity-get-from,
2705         elmo-msgdb-overview-entity-set-from,
2706         elmo-msgdb-overview-entity-get-subject,
2707         elmo-msgdb-overview-entity-get-subject-no-decode,
2708         elmo-msgdb-overview-entity-set-subject,
2709         elmo-msgdb-overview-entity-get-date,
2710         elmo-msgdb-overview-entity-set-date,
2711         elmo-msgdb-overview-entity-get-to,
2712         elmo-msgdb-overview-entity-get-cc,
2713         elmo-msgdb-overview-entity-get-size,
2714         elmo-msgdb-overview-entity-set-size,
2715         elmo-msgdb-overview-entity-get-extra,
2716         elmo-msgdb-overview-entity-set-extra,
2717         elmo-msgdb-overview-entity-get-extra-field,
2718         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2719         (elmo-msgdb-make-index): Use
2720         `elmo-msgdb-overview-entity-get-number-internal'.
2721         (elmo-msgdb-clear-index): Ditto.
2722         (elmo-msgdb-append-entity): Ditto;
2723         Use `elmo-msgdb-overview-entity-get-id-internal'.
2724
2725         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2726         elmo-msgdb-overview-entity-set-number,
2727         elmo-msgdb-overview-entity-get-references,
2728         elmo-msgdb-overview-entity-set-references,
2729         elmo-msgdb-overview-entity-get-from-no-decode,
2730         elmo-msgdb-overview-entity-get-from,
2731         elmo-msgdb-overview-entity-set-from,
2732         elmo-msgdb-overview-entity-get-subject,
2733         elmo-msgdb-overview-entity-get-subject-no-decode,
2734         elmo-msgdb-overview-entity-set-subject,
2735         elmo-msgdb-overview-entity-get-date,
2736         elmo-msgdb-overview-entity-set-date,
2737         elmo-msgdb-overview-entity-get-to,
2738         elmo-msgdb-overview-entity-get-cc,
2739         elmo-msgdb-overview-entity-get-size,
2740         elmo-msgdb-overview-entity-set-size,
2741         elmo-msgdb-overview-entity-get-extra,
2742         elmo-msgdb-overview-entity-set-extra,
2743         elmo-msgdb-overview-entity-get-extra-field,
2744         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2745         and rewrote for backward compatibility.
2746
2747 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2748
2749         * elmo.el (elmo-message-entity-number,
2750         elmo-message-entity-set-number,
2751         elmo-message-entity-field,
2752         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2753
2754         * elmo-msgdb.el (elmo-message-entity-number,
2755         elmo-message-entity-set-number,
2756         elmo-message-entity-field,
2757         elmo-message-entity-set-field): Moved from elmo.el.
2758
2759 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2760
2761         * elmo.el (toplevel): Changed definition orders.
2762
2763 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2764
2765         * modb.el (elmo-msgdb-search): New API .
2766         (elmo-msgdb-match-condition): Ditto.
2767
2768         * modb-standard.el (elmo-msgdb-search): Define.
2769
2770         * modb-legacy.el (elmo-msgdb-search): Ditto.
2771
2772         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2773         from elmo-msgdb-match-condition-internal.
2774
2775         * elmo.el (elmo-folder-search-fast): Abolish.
2776         (elmo-folder-search): Use elmo-msgdb-search and
2777         elmo-with-progress-display.
2778
2779         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2780         as msgdb API.
2781
2782         * elmo.el (elmo-folder): Remove slot message-modified and
2783         flag-modified.
2784         (elmo-folder-set-message-modified): Abolish.
2785         (elmo-generic-folder-commit): Follow the change above.
2786         (elmo-folder-synchronize): Ditto.
2787
2788         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2789
2790         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2791
2792         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2793
2794 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2795
2796         * modb-standard.el (modb-standard-make-message-entity,
2797         elmo-msgdb-make-message-entity,
2798         elmo-msgdb-create-message-entity-from-buffer,
2799         elmo-msgdb-message-entity-number,
2800         elmo-msgdb-message-entity-set-number,
2801         elmo-msgdb-message-entity-field,
2802         elmo-msgdb-message-entity-set-field,
2803         elmo-msgdb-copy-message-entity,
2804         elmo-msgdb-match-condition-internal): Remove.
2805
2806         * modb-entity.el: New file (again).
2807
2808         * modb.el (toplevel): Require modb-entity.
2809         (elmo-msgdb-message-entity-handler): New method.
2810
2811         * modb-standard.el (modb-standard-entity-id): Use
2812         elmo-message-entity-handler.
2813         (modb-standard-load-entity): Ditto.
2814         (elmo-msgdb-append-entity): Ditto.
2815         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2816
2817         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2818         elmo-msgdb-decoded-cache-hashtb,
2819         (modb-legacy-make-message-entity,
2820         elmo-msgdb-make-message-entity,
2821         elmo-msgdb-create-message-entity-from-buffer,
2822         elmo-msgdb-message-entity-number,
2823         elmo-msgdb-message-entity-set-number,
2824         elmo-msgdb-message-entity-field,
2825         elmo-msgdb-message-entity-set-field,
2826         elmo-msgdb-copy-message-entity,
2827         elmo-msgdb-match-condition-internal,
2828         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2829
2830         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2831         (elmo-message-entity-set-number): Ditto.
2832         (elmo-message-entity-field): Ditto.
2833         (elmo-message-entity-set-field): Ditto.
2834
2835         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2836
2837         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2838
2839         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2840
2841         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2842         (elmo-nntp-msgdb-create-message): Ditto.
2843
2844         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2845         (elmo-folder-msgdb-create): Add unread flag.
2846
2847         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2848
2849         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2850
2851         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2852
2853         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2854
2855         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2856         elmo-msgdb-messge-entity-handler.
2857         * elmo-version.el (elmo-version): Up to 2.11.17.
2858
2859 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2860
2861         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2862         change.
2863
2864 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2865
2866         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2867
2868         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2869         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2870         (elmo-msgdb-flag-table): Ditto.
2871         (elmo-msgdb-sort-by-date): Ditto.
2872
2873         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2874
2875         * modb-standard.el (toplevel): Require mime.
2876         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2877         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2878         elmo-msgdb-message-entity-number.
2879         (elmo-msgdb-append-entity): Ditto.
2880         (elmo-msgdb-create-message-entity-from-file): Remove.
2881         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2882         corresponds to the entity.
2883         (elmo-msgdb-message-entity-number): Do nothing currently.
2884         (elmo-msgdb-message-entity-field): Ditto.
2885         (elmo-msgdb-message-entity-set-field): Ditto.
2886         (elmo-msgdb-copy-message-entity): Ditto.
2887         (elmo-msgdb-match-condition-internal): Ditto.
2888
2889         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2890         elmo-util.el.
2891         (elmo-msgdb-create-message-entity-from-file): Remove.
2892
2893         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2894         modb-legacy.el.
2895         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2896
2897         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2898
2899 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2900
2901         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2902         (elmo-msgdb-message-entity-field): Ditto.
2903         (elmo-msgdb-message-entity-number): Ditto.
2904
2905 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2906
2907         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2908         Fixed how to set extra field into entity.
2909         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2910         symbol.
2911
2912         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2913         Fixed how to set extra field into entity.
2914         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2915         symbol.
2916
2917 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2918
2919         * modb.el (elmo-message-entity-db): New function.
2920         (elmo-msgdb-make-message-entity): New API.
2921         (elmo-msgdb-message-entity-number): Ditto.
2922         (elmo-msgdb-message-entity-set-number): Ditto.
2923         (elmo-msgdb-message-entity-field): Ditto.
2924         (elmo-msgdb-message-entity-set-field): Ditto.
2925         (elmo-msgdb-copy-message-entity): Ditto.
2926         (elmo-msgdb-create-message-entity-from-file): Ditto.
2927         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2928         (elmo-msgdb-match-condition-internal): Ditto.
2929
2930         * modb-standard.el (modb-legacy): Require modb-legacy.
2931         (modb-standard-make-message-entity): New inline function.
2932         (elmo-msgdb-make-message-entity): Define.
2933         (elmo-msgdb-create-message-entity-from-file): Ditto.
2934         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2935         (elmo-msgdb-message-entity-field): Ditto.
2936         (elmo-msgdb-message-entity-set-field): Ditto.
2937         (elmo-msgdb-copy-message-entity): Ditto.
2938         (elmo-msgdb-match-condition-internal): Ditto.
2939
2940         * modb-legacy.el: Don't require modb-entity.
2941         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2942         (elmo-msgdb-match-condition-primitive): Ditto.
2943         (elmo-msgdb-get-decoded-cache): Ditto.
2944         (elmo-msgdb-overview-entity-get-id): Ditto.
2945         (elmo-msgdb-overview-entity-get-number): Ditto.
2946         (elmo-msgdb-overview-entity-set-number): Ditto.
2947         (elmo-msgdb-overview-entity-get-references): Ditto.
2948         (elmo-msgdb-overview-entity-set-references): Ditto.
2949         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2950         (elmo-msgdb-overview-entity-get-from): Ditto.
2951         (elmo-msgdb-overview-entity-set-from): Ditto.
2952         (elmo-msgdb-overview-entity-get-subject): Ditto.
2953         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2954         (elmo-msgdb-overview-entity-set-subject): Ditto.
2955         (elmo-msgdb-overview-entity-get-date): Ditto.
2956         (elmo-msgdb-overview-entity-set-date): Ditto.
2957         (elmo-msgdb-overview-entity-get-to): Ditto.
2958         (elmo-msgdb-overview-entity-get-cc): Ditto.
2959         (elmo-msgdb-overview-entity-get-size): Ditto.
2960         (elmo-msgdb-overview-entity-set-size): Ditto.
2961         (elmo-msgdb-overview-entity-get-extra): Ditto.
2962         (elmo-msgdb-overview-entity-set-extra): Ditto.
2963         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2964         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2965         (elmo-msgdb-number-load): Ditto.
2966         (elmo-msgdb-overview-load): Ditto.
2967         (elmo-msgdb-mark-load): Ditto.
2968         (elmo-msgdb-number-save): Ditto.
2969         (elmo-msgdb-mark-save): Ditto.
2970         (elmo-msgdb-overview-save): Ditto.
2971         (modb-legacy-make-message-entity): New inline function.
2972         (elmo-msgdb-insert-file-header): Ditto.
2973         (elmo-msgdb-make-message-entity): Define.
2974         (elmo-msgdb-create-message-entity-from-file): Ditto.
2975         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2976         (elmo-msgdb-message-entity-number): Ditto.
2977         (elmo-msgdb-message-entity-set-number): 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         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2984         (elmo-message-copy-entity): Rewrite.
2985         (elmo-message-entity-number): Ditto.
2986         (elmo-message-entity-set-number): Ditto.
2987         (elmo-message-entity-field): Use elmo-message-entity-db.
2988         (elmo-message-entity-set-field): Ditto.
2989         (elmo-message-field): Rewrite.
2990
2991         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2992         elmo-msgdb.el
2993         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2994
2995         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2996         elmo-message-entity-field.
2997         (elmo-shimbun-folder-shimbun-header): Ditto.
2998         (elmo-shimbun-entity-to-header): Ditto.
2999         (elmo-folder-msgdb-create): Ditto.
3000         (elmo-shimbun-msgdb-create-entity): Ditto;
3001         Use elmo-msgdb-create-message-entity-from-buffer.
3002         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3003         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3004
3005         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3006         elmo-msgdb-create-message-entity-from-file and 
3007         elmo-message-entity-field.
3008
3009         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3010         elmo-message-entity-number.
3011         (elmo-pop3-msgdb-create-message): Use
3012         elmo-msgdb-create-message-entity-from-buffer,
3013         elmo-message-entity-set-field, elmo-message-entity-number and
3014         elmo-message-entity-set-number.
3015
3016         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3017         the API change in elmo-msgdb-make-message-entity.
3018         (elmo-nntp-msgdb-create-message): Use
3019         elmo-msgdb-create-message-entity-from-buffer.
3020
3021         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3022         elmo-message-entity-field and
3023         elmo-msgdb-create-message-entity-from-file.
3024
3025         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3026         (elmo-msgdb-get-field): Abolish.
3027         (elmo-msgdb-get-number): Rewrite.
3028         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3029         (elmo-msgdb-flag-table): Ditto.
3030         (elmo-msgdb-get-last-message-id,
3031         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3032         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3033         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3034         (elmo-msgdb-create-overview-from-buffer,
3035         elmo-msgdb-overview-get-parent-entity): Abolish.
3036
3037         * elmo-mime.el (elmo-mime-display-as-is): Use
3038         elmo-message-entity-field.
3039
3040         * elmo-map.el (elmo-folder-pack-numbers): Use
3041         elmo-message-entity-set-number.
3042
3043         * elmo-maildir.el (elmo-folder-msgdb-create): 
3044         elmo-msgdb-create-message-entity-from-file instead of
3045         elmo-msgdb-create-overview-entity-from-file.
3046
3047         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3048         msgdb.
3049         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3050         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3051
3052         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3053         elmo-messge-entity-field and elmo-message-entity-number.
3054         (elmo-imap4-fetch-callback-1): Call
3055         elmo-msgdb-create-message-entity-from-buffer instead of
3056         elmo-msgdb-create-overview-from-buffer. 
3057         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3058         (elmo-find-fetch-strategy): Likewise.
3059
3060         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3061         elmo-localdir-msgdb-create-entity with argument msgdb.
3062
3063         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3064         and elmo-message-entity-set-number.
3065
3066         * elmo-cache.el (elmo-folder-msgdb-create): Use
3067         elmo-message-entity-field.
3068         (elmo-folder-msgdb-create): Call
3069         elmo-msgdb-create-message-entity-from-file instead of
3070         elmo-msgdb-create-overview-entity-from-file.
3071
3072         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3073         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3074         instead of elmo-msgdb-create-overview-from-buffer.
3075         (elmo-archive-msgdb-create-entity): Ditto.
3076         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3077         elmo-message-entity-field.
3078         (elmo-archive-parse-mmdf): Ditto.
3079
3080         * modb-entity.el: Removed.
3081
3082         * elmo-version.el (elmo-version): Up to 2.11.16.
3083
3084 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3085
3086         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3087         `is-local'.
3088         (elmo-folder-flag-as-answered): Ditto.
3089
3090 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3091
3092         * modb-standard.el: New file.
3093
3094         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3095         elmo-msgdb-convert-type is `sync'.
3096
3097         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3098         (elmo-msgdb-convert-type): New user option.
3099
3100         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3101         (elmo-load-msgdb): Auto detect saved type.
3102
3103         * elmo-version.el (elmo-version): Up to 2.11.15.
3104
3105 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3106
3107         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3108
3109         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3110         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3111         with argument `delete-if-none' when dst-folder is 'null.
3112
3113         * elmo-flag.el (elmo-folder-append-messages): Defined.
3114         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3115
3116 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3117
3118         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3119
3120 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3121
3122         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3123         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3124         (elmo-folder-commit): Ditto.
3125
3126 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3127
3128         * elmo-flag.el: New file.
3129
3130         * elmo-mark.el: Removed.
3131
3132         * modb-legacy.el (modb-legacy-new-mark,
3133         modb-legacy-unread-uncached-mark,
3134         modb-legacy-unread-cached-mark,
3135         modb-legacy-read-uncached-mark,
3136         modb-legacy-answered-cached-mark,
3137         modb-legacy-answered-uncached-mark,
3138         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3139         All other related portions are changed.
3140
3141         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3142         (elmo-folder-list-messages-with-global-mark): Abolish.
3143         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3144         (elmo-folder-flag-as-important): Ditto.
3145         (elmo-folder-unflag-read): Ditto.
3146         (elmo-folder-flag-as-read): Ditto.
3147         (elmo-folder-unflag-answered): Ditto.
3148         (elmo-folder-flag-as-answered): Ditto.
3149         (elmo-message-encache): Return the cache path.
3150         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3151         (elmo-message-set-flag): Transitional implementation.
3152         (elmo-message-unset-flag): Ditto.
3153         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3154         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3155         (elmo-init): Call elmo-global-flag-initialize.
3156         (toplevel): Added autoload settings for elmo-flag.
3157
3158         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3159
3160         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3161         (elmo-file-cache-delete): Don't treat global-mark.
3162
3163         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3164
3165         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3166
3167         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3168         `elmo-global-flags-set'.
3169
3170         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3171         `flag'.
3172         (elmo-folder-unflag-read): Ditto.
3173         (elmo-folder-unflag-important): Ditto.
3174         (elmo-folder-flag-as-important): Ditto.
3175         (elmo-folder-unflag-answered): Ditto.
3176         (elmo-folder-flag-as-answered): Ditto.
3177
3178         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3179         `elmo-global-flags-set'.
3180         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3181
3182         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3183
3184         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3185         `flag'.
3186         (elmo-folder-flag-as-important): Ditto.
3187         (elmo-folder-unflag-important): Ditto.
3188         (elmo-folder-flag-as-important): Ditto.
3189         (elmo-folder-unflag-read): Ditto.
3190         (elmo-folder-flag-as-read): Ditto.
3191         (elmo-folder-unflag-answered): Ditto.
3192         (elmo-folder-flag-as-answered): Ditto.
3193
3194         * elmo-multi.el (elmo-folder-list-importants): Don't call
3195         elmo-folder-list-messages-with-global-mark.
3196         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3197         (elmo-folder-unflag-important): Ditto.
3198         (elmo-folder-flag-as-read): Ditto.
3199         (elmo-folder-unflag-read): Ditto.
3200         (elmo-folder-flag-as-answered): Ditto.
3201         (elmo-folder-unflag-answered): Ditto.
3202
3203         * elmo-msgdb.el (elmo-msgdb-new-mark,
3204         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3205         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3206         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3207         (Moved to modb-legacy.el).
3208         (elmo-flag-table-get): Treat important flag too.
3209
3210         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3211         `mark' to `flag'.
3212         (elmo-map-folder-flag-as-important): Ditto.
3213         (elmo-map-folder-unflag-read): Ditto.
3214         (elmo-map-folder-flag-as-read): Ditto.
3215         (elmo-map-folder-unflag-answered): Ditto.
3216         (elmo-map-folder-flag-as-answered): Ditto.
3217         (elmo-folder-unflag-important): Ditto.
3218         (elmo-folder-flag-as-important): Ditto.
3219         (elmo-folder-unflag-read): Ditto.
3220         (elmo-folder-flag-as-read): Ditto.
3221         (elmo-folder-unflag-answered): Ditto.
3222         (elmo-folder-flag-as-answered): Ditto.
3223
3224         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3225         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3226         `flag'.
3227         (elmo-map-folder-unflag-important): Ditto.
3228         (elmo-map-folder-flag-as-read): Ditto.
3229         (elmo-map-folder-unflag-read): Ditto.
3230         (elmo-map-folder-flag-as-answered): Ditto.
3231         (elmo-map-folder-unflag-answered): Ditto.
3232
3233         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3234         `elmo-global-flags-set'.
3235         (elmo-global-flags-set): Added autoload setting.
3236
3237         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3238         `flag'.
3239
3240         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3241         `elmo-msgdb-global-mark-set'.
3242         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3243         Call `elmo-global-flags-set'.
3244         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3245         `flag'.
3246         (elmo-folder-flag-as-important-plugged): Ditto.
3247         (elmo-folder-unflag-read-plugged): Ditto.
3248         (elmo-folder-flag-as-read-plugged): Ditto.
3249         (elmo-folder-unflag-answered-plugged): Ditto.
3250         (elmo-folder-flag-as-answered-plugged): Ditto.
3251         (elmo-global-flags-set): Added autoload setting.
3252
3253         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3254         `flag'.
3255         (elmo-folder-unflag-read): Ditto.
3256         (elmo-folder-flag-as-important): Ditto.
3257         (elmo-folder-unflag-important): Ditto.
3258         (elmo-folder-flag-as-answered): Ditto.
3259         (elmo-folder-unflag-answered): Ditto.
3260
3261         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3262         change of `mark'->`flag'.
3263         (elmo-dop-queue-method-name-alist): Ditto.
3264         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3265         (elmo-folder-unflag-read-dop): Ditto.
3266         (elmo-folder-flag-as-important-dop): Ditto.
3267         (elmo-folder-unflag-important-dop): Ditto.
3268         (elmo-folder-flag-as-answered-dop): Ditto.
3269         (elmo-folder-unflag-answered-dop): Ditto.
3270
3271         * elmo-cache.el (elmo-folder-msgdb-create): Call
3272         `elmo-global-flags-set'.
3273
3274         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3275         Call `elmo-global-flags-set'.
3276         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3277         elmo-archive-parse-mmdf with argument `folder'.
3278         (elmo-archive-parse-mmdf): Added argument `folder';
3279         Call `elmo-global-flags-set'.
3280
3281         * elmo-version.el (elmo-version): Up to 2.11.14.
3282
3283 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3284
3285         * modb.el (elmo-msgdb-length): Define.
3286
3287         * elmo.el (elmo-make-folder): Fixed.
3288         (elmo-generic-folder-append-messages): Follow the API change.
3289
3290         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3291         API change.
3292
3293 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3294
3295         * modb.el: New file.
3296
3297         * modb-entity.el: Ditto.
3298
3299         * modb-legacy.el: Ditto.
3300
3301         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3302         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3303         of `elmo-msgdb-overview-get-entity'.
3304         (elmo-msgdb-get-field): Ditto.
3305         (elmo-msgdb-merge): Moved to `elmo.el'.
3306         (elmo-msgdb-length): Removed; redefine as modb method.
3307         (elmo-msgdb-change-mark): Abolish.
3308         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3309         (elmo-msgdb-match-condition): Don't use mark.
3310         (elmo-msgdb-overview-get-entity): Abolish.
3311         Split modb part into `modb*.el'.
3312
3313         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3314
3315         * elmo-shimbun.el (shimbun-mua-search-id): Use
3316         `elmo-msgdb-message-entity' instead of
3317         `elmo-msgdb-overview-get-entity'.
3318         (elmo-shimbun-folder-shimbun-header): Ditto.
3319         (elmo-shimbun-get-headers): Ditto.
3320         (elmo-shimbun-update-overview): Ditto.
3321
3322         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3323
3324         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3325
3326         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3327         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3328
3329         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3330         `elmo-msgdb-mark-to-flags'.
3331
3332         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3333         `elmo-msgdb-set-path'.
3334
3335         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3336  
3337         * elmo-version.el (elmo-version): Up to 2.11.13.
3338
3339         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3340
3341         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3342         of mark.
3343
3344 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3345
3346         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3347         mismatch.
3348
3349 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3350
3351         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3352         instead of `elmo-msgdb-get-cached'.
3353         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3354
3355         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3356         (elmo-msgdb-set-cached): Ditto.
3357         (elmo-msgdb-set-flag): Rewrite.
3358         (elmo-msgdb-unset-flag): Ditto.
3359
3360         * elmo-msgdb.el: Rewrite with luna.
3361
3362         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3363         (elmo-folder-msgdb): Follow the change above.
3364         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3365         (elmo-folder-unmark-important): Follow the API change.
3366         (elmo-folder-mark-as-important): Ditto.
3367         (elmo-folder-unmark-read): Ditto.
3368         (elmo-folder-mark-as-read): Ditto.
3369         (elmo-folder-unmark-answered): Ditto.
3370         (elmo-folder-mark-as-answered): Ditto.
3371         (elmo-folder-clear): Likewise.
3372
3373         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3374         instead of `elmo-msgdb-load' (renamed).
3375
3376         * elmo-version.el (elmo-version): Up to 2.11.12.
3377
3378 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3379
3380         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3381         change.
3382         (elmo-message-mark): Abolish.
3383         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3384         instead of `elmo-msgdb-change-mark'.
3385
3386         * elmo-pipe.el (elmo-message-mark): Abolish.
3387
3388         * elmo-multi.el (elmo-message-mark): Ditto.
3389
3390         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3391         (elmo-msgdb-unread-uncached-mark): Ditto.
3392         (elmo-msgdb-unread-cached-mark): Ditto.
3393         (elmo-msgdb-read-uncached-mark): Ditto.
3394         (elmo-msgdb-answered-cached-mark): Ditto.
3395         (elmo-msgdb-answered-uncached-mark): Ditto.
3396         (elmo-msgdb-important-mark): Ditto.
3397         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3398         `use-cache'.
3399         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3400         `flags'.
3401         (elmo-flag-table-load): Changed flag to list of flag.
3402         (elmo-flag-table-set): If flags is nil, set read flag.
3403         (elmo-flag-table-get): Return derived flags from global mark,
3404         cache status and saved flags.
3405         (elmo-msgdb-flag-table): Follow the change above.
3406         (elmo-msgdb-out-of-date-messages): New function.
3407
3408         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3409
3410         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3411
3412         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3413
3414         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3415         (elmo-nntp-msgdb-create-message): Ditto.
3416
3417         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3418
3419         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3420         independent.
3421         (elmo-folder-msgdb-create): Follow the API change.
3422
3423         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3424         (elmo-folder-append-messages): Ditto.
3425
3426         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3427         (elmo-folder-append-buffer): Ditto.
3428
3429         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3430
3431         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3432
3433         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3434         (elmo-archive-parse-mmdf): Ditto.
3435
3436         * elmo-version.el (elmo-version): Up to 2.11.11.
3437
3438 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3439
3440         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3441         `elmo-msgdb-mark'.
3442
3443         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3444
3445         * elmo-pipe.el (elmo-message-flags): Defined.
3446
3447         * elmo-multi.el (elmo-message-flags): Ditto.
3448
3449 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3450
3451         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3452         `elmo-msgdb-delete-msgs'.
3453
3454         * elmo.el (elmo-folder-count-flags): Don't use
3455         `elmo-msgdb-get-mark-alist'.
3456         (elmo-folder-detach-messages): Follow the API change.
3457
3458         * elmo.el (elmo-folder-list-messages): Append killed messages into
3459         result if `visible-only' is nil.
3460
3461         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3462         canceled messages.
3463         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3464         (elmo-folder-update-number): Likewise.
3465
3466         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3467         (elmo-pop3-sort-msgdb-by-original-number): Use
3468         `elmo-msgdb-sort-entities'.
3469
3470         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3471         (elmo-msgdb-sort-by-date): Use it.
3472         (elmo-msgdb-overview-sort-by-date): Abolish.
3473
3474         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3475
3476         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3477         (elmo-msgdb-flags): New function.
3478         (elmo-msgdb-merge): Use elmo-msgdb-append.
3479
3480         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3481         change.
3482
3483         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3484
3485         * elmo-dop.el (elmo-folder-status-dop): Use
3486         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3487
3488 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3489
3490         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3491
3492         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3493
3494         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3495
3496         * elmo-util.el (elmo-with-progress-display): New macro.
3497
3498         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3499
3500 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3501
3502         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3503         `elmo-folder-list-message-entities' instead of
3504         `elmo-msgdb-get-overview'.
3505         (elmo-map-folder-list-message-locations): Ditto.
3506
3507         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3508         methods instead of treat directly).
3509         (elmo-msgdb-clear): Ditto.
3510         (elmo-msgdb-delete-msgs): Ditto.
3511         (elmo-msgdb-sort-by-date): Ditto.
3512
3513         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3514         local variables.
3515         (elmo-nntp-folder-msgdb-create): Follow the API change.
3516
3517         * elmo-version.el (elmo-version): Up to 2.11.10.
3518
3519 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3520
3521         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3522         (elmo-msgdb-flags-to-mark): Ditto.
3523         (elmo-msgdb-append-entity): Ditto.
3524
3525         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3526         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3527         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3528         (elmo-archive-parse-mmdf): Ditto.
3529
3530         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3531
3532         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3533
3534         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3535
3536         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3537
3538         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3539
3540         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3541
3542         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3543
3544         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3545
3546         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3547         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3548         to empty msgdb.
3549
3550         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3551         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3552         instead of directly construction.
3553         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3554         instead of construct msgdb.
3555
3556         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3557         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3558         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3559         instead of construct msgdb.
3560
3561 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3562
3563         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3564         when field is from or subject.
3565
3566 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3567
3568         * elmo-multi.el (elmo-message-entity-parent): Define.
3569         (elmo-folder-search): Rewrite.
3570
3571 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3572
3573         * elmo-multi.el (elmo-message-cached-p): Define.
3574
3575         * elmo.el (elmo-message-cached-p): New method.
3576         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3577         (elmo-message-flags): New method.
3578         (elmo-message-flagged-p): New function.
3579
3580         * elmo-version.el (elmo-version): Up to 2.11.9.
3581
3582 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3583
3584         * elmo-version.el (elmo-version): Up to 2.11.8.
3585
3586         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3587
3588         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3589
3590 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3591
3592         * elmo.el (elmo-folder-detach-messages): Undo last change.
3593
3594 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3595
3596         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3597
3598         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3599         only when src folder type is pop3.
3600
3601 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3602
3603         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3604         elmo-msgdb-overview-entity-get-number instead of
3605         elmo-message-entity-number.
3606
3607 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3608
3609         * elmo-version.el (elmo-version): Up to 2.11.7.
3610
3611 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3612
3613         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3614         function.
3615
3616         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3617         (elmo-msgdb-merge): New function.
3618         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3619         (elmo-msgdb-make-index): Rewrite.
3620
3621         * elmo-version.el (elmo-version): Up to 2.11.6.
3622
3623         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3624         use it as a the path for loading message entities.
3625
3626         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3627
3628 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3629
3630         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3631         message-modified slot of itself if it does not require target msgdb.
3632
3633         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3634         if folder length is zero.
3635         (elmo-mime-display-as-is): Ditto.
3636
3637         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3638
3639         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3640
3641 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3642
3643         * elmo.el (elmo-folder-set-message-modified): New method.
3644         (elmo-generic-folder-commit): Use it.
3645         (elmo-folder-synchronize): Ditto.
3646
3647         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3648         (elmo-folder-commit): Remove duplicate definition.
3649
3650 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3651
3652         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3653
3654 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3655
3656         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3657         (elmo-strict-folder-diff): Ditto.
3658         (elmo-folder-set-info-max-by-numdb): Simplify.
3659
3660         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3661         elmo-msgdb-list-messages.
3662
3663         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3664         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3665
3666 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3667
3668         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3669         visible-only is non-nil.
3670         (elmo-folder-confirm-appends): Changed message.
3671         (elmo-folder-synchronize): Added argument disable-killed.
3672
3673         * elmo-multi.el (elmo-folder-synchronize): Added argument
3674         disable-killed.
3675
3676         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3677
3678         * elmo-version.el (elmo-version): Up to 2.11.5.
3679
3680         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3681         elmo-list-filter.
3682
3683         * elmo-util.el (elmo-list-filter): Simplify.
3684
3685         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3686         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3687         (elmo-generic-folder-diff): Abolish argument.
3688         (elmo-msgdb-load): Don't use number-alist.
3689
3690         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3691
3692         * elmo-pipe.el (elmo-folder-diff): Ditto.
3693
3694         * elmo-nmz.el (elmo-folder-diff): Ditto.
3695
3696         * elmo-net.el (elmo-folder-diff): Ditto.
3697
3698         * elmo-maildir.el (elmo-folder-diff): Ditto.
3699
3700         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3701
3702         * elmo-multi.el (elmo-folder-diff): Ditto
3703         (elmo-multi-folder-diff): Rewrite.
3704
3705 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3706
3707         * elmo-pipe.el (elmo-folder-msgdb): Define.
3708
3709 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3710
3711         * elmo.el (elmo-message-set-cached): Define as a method.
3712
3713         * elmo-pipe.el (elmo-message-set-cached): Define.
3714         (elmo-find-fetch-strategy): Ditto.
3715
3716         * elmo-multi.el (elmo-message-set-cached): Define.
3717         (elmo-find-fetch-strategy): Rewrite.
3718
3719         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3720
3721         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3722
3723 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3724
3725         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3726         instead of number-alist.
3727
3728         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3729         mark nor message-id when msgdb of source folder is not loaded.
3730
3731         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3732
3733         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3734
3735 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3736
3737         * elmo.el (elmo-folder-length): Don't require msgdb.
3738
3739 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3740
3741         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3742         (elmo-message-field): Ditto.
3743
3744         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3745         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3746         slot.
3747         (elmo-map-folder-list-answereds): Define.
3748         (elmo-maildir-list-location): Treat 'R' info.
3749         (elmo-folder-msgdb-create): Treat flag-table.
3750         (elmo-folder-append-messages): Save flag-table.
3751
3752 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3753
3754         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3755         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3756
3757 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3758
3759         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3760
3761         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3762         'read when mark is null.
3763
3764 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3765
3766         * elmo-version.el (elmo-version): Up to 2.11.4.
3767
3768 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3769
3770         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3771         (elmo-folder-mark-as-answered): Ditto.
3772
3773 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3774
3775         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3776         (elmo-pop3-get-session): Make msgdb directory after session.
3777         (elmo-folder-exists-p): Check exactly at the first time even when the
3778         elmo-pop3-exists-exactly is nil.
3779
3780         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3781         (elmo-folder-list-messages): Define instead of
3782         elmo-folder-list-messages-internal.
3783         (elmo-folder-check): Check destination folder.
3784         (elmo-folder-synchronize): Drain the pipe.
3785
3786         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3787         when msgdb is not loaded.
3788
3789         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3790
3791         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3792         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3793         messages.
3794
3795         * elmo.el (elmo-folder-kill-messages-before): New function.
3796         (elmo-folder-kill-messages): Ditto.
3797         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3798
3799         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3800         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3801         killed not by synchronize (e.g. scoring).
3802
3803 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3804
3805         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3806         treated.
3807         (elmo-folder-search): Follow the change above.
3808
3809         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3810         into the candidates of search field.
3811
3812 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3813
3814         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3815         (elmo-msgdb-unset-flag): Ditto.
3816
3817         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3818
3819 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3820
3821         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3822         (elmo-folder-commit): Define.
3823         (elmo-folder-synchronize): Ditto.
3824         (elmo-folder-list-flagged): Ditto.
3825         (elmo-folder-commit): Ditto.
3826         (elmo-folder-length): Ditto.
3827         (elmo-folder-count-flags): Ditto.
3828         (elmo-message-mark): Ditto.
3829         (elmo-message-field): Ditto.
3830         (elmo-message-entity): Ditto.
3831         (elmo-message-folder): Ditto.
3832
3833 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3834
3835         * elmo.el (elmo-message-field): Define as a method.
3836
3837         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3838         (elmo-message-field): Define.
3839
3840         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3841         (elmo-folder-list-importants): Ditto.
3842         (elmo-folder-list-answereds): Ditto.
3843
3844         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3845         qualifier.
3846         (elmo-folder-mark-as-read): Ditto.
3847         (elmo-folder-unmark-read): Ditto.
3848         (elmo-folder-mark-as-answered): Ditto.
3849         (elmo-folder-unmark-answered): Ditto.
3850         (elmo-folder-list-flagged): Define.
3851         (elmo-folder-commit): Ditto.
3852         (elmo-folder-length): Ditto.
3853         (elmo-folder-count-flags): Ditto.
3854
3855 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3856
3857         * elmo.el (elmo-folder-detach-messages): New method.
3858         (elmo-folder-move-messages): Use it.
3859         (elmo-folder-synchronize): Ditto.
3860
3861         * elmo-multi.el (elmo-folder-detach-messages): Define.
3862
3863         * elmo.el (elmo-message-copy-entity): New function.
3864         (elmo-message-entity-set-number): Ditto.
3865         (elmo-message-mark): Define as method.
3866
3867         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3868         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3869         (elmo-message-entity): Fixed last change.
3870         (elmo-message-mark): Define.
3871         (elmo-folder-msgdb-create): Abolish.
3872         (elmo-multi-folder-append-msgdb): Ditto.
3873         (elmo-multi-folder-diff): Fixed.
3874         (elmo-multi-split-number-alist): Removed.
3875         (elmo-multi-split-mark-alist): Removed.
3876         (elmo-folder-list-messages): Define.
3877         (elmo-folder-list-messages-internal): Removed.
3878
3879         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3880         local file messages.
3881         (elmo-folder-msgdb-create): Fixed read mark.
3882
3883 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3884
3885         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3886         if mark is nil.
3887
3888 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3889
3890         * elmo.el (elmo-folder-list-message-entities): Define as inline
3891         function.
3892         (elmo-folder-messages): Abolish.
3893
3894         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3895         folder.
3896         (elmo-folder-synchronize): Define.
3897         (elmo-message-entity): Define.
3898
3899 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3900
3901         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3902         elmo-imap4-session-select-mailbox.
3903
3904         * elmo.el (elmo-folder-move-messages): Don't display any message.
3905
3906         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3907         parsing.
3908         (elmo-imap4-session-check): Don't wait CHECK response.
3909         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3910
3911 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3912
3913         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3914
3915 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3916
3917         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3918         API.
3919         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3920
3921
3922         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3923         (elmo-folder-list-message-entities): Added argument in-msgdb and
3924         numbers.
3925         (elmo-folder-synchronize): Define as a method.
3926
3927         * elmo-nntp.el (elmo-folder-initialize): Don't use
3928         elmo-nntp-default-user if zero-length username is specified
3929         explicitly.
3930
3931 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3932
3933         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3934         server name in case with username.
3935         (XXX: this is ad-hoc fix against username includes "@", it
3936         should be solved fundamentally)
3937
3938 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3939
3940         * elmo-nntp.el (elmo-nntp-debug): New function.
3941         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3942         (elmo-network-authenticate-session): Hide auth-info from the log.
3943
3944         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3945         user name if it is equal to elmo-nntp-default-user.
3946
3947 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3948
3949         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3950         instead of shimbun-server-internal;
3951         Use shimbun-current-group instead of shimbun-current-group-internal.
3952         (elmo-folder-plugged-p): Use shimbun-server instead of
3953         shimbun-server-internal.
3954         (elmo-folder-set-plugged): Ditto.
3955         (elmo-net-port-info): Ditto.
3956         (elmo-folder-check): Ditto.
3957         (elmo-folder-expand-msgdb-path): Ditto.
3958         (elmo-folder-list-subfolders): Ditto.
3959
3960 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3961
3962         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3963         Convert field-name to lower case.
3964         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3965
3966 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3967
3968         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3969         `message' and `error' take format string.
3970
3971 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3972
3973         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3974
3975 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3976
3977         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3978         recursive call (can't byte compile on emacs 20.7).
3979
3980 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3981
3982         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3983         (elmo-folder-list-message-entities): New API.
3984         (elmo-message-entity): Ditto.
3985         (elmo-message-entity-parent): Ditto.
3986         (elmo-folder-do-each-message-entity): Ditto.
3987         (elmo-message-entity-number): Ditto.
3988         (elmo-message-entity-field): Ditto.
3989         (elmo-message-entity-set-field): Ditto.
3990         (elmo-folder-count-flags): Ditto.
3991         (elmo-folder-length): Ditto.
3992
3993         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3994         not.
3995
3996         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3997         (elmo-msgdb-count-marks): Abolish.
3998         (elmo-msgdb-make-entity): Ditto.
3999         (elmo-msgdb-do-each-entity): Ditto.
4000         (elmo-msgdb-message-entity): New inline function.
4001         (elmo-msgdb-message-entity-field): Ditto.
4002         (elmo-msgdb-message-entity-set-field): Ditto.
4003         (elmo-msgdb-make-message-entity): New function.
4004
4005 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4006
4007         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4008         to flag. (All other related portions are changed.)
4009         (elmo-folder-msgdb-create): Likewise.
4010         (elmo-generic-folder-append-messages): Use flag-table instead of
4011         seen-list.
4012         (elmo-folder-move-messages): Removed redundant process.
4013         (elmo-folder-synchronize): Likewise.
4014
4015         * elmo-msgdb.el (elmo-flag-table-get): New function.
4016         (elmo-flag-table-save): Fixed.
4017         (elmo-msgdb-length): New inline function.
4018         (elmo-msgdb-flag-table): New function.
4019         (elmo-msgdb-mark): Add optional argument new.
4020         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4021         (elmo-msgdb-seen-list): Ditto.
4022         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4023
4024
4025 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4026
4027         * elmo.el (elmo-message-set-mark): Abolish.
4028         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4029         (All related portions are changed.)
4030
4031         * elmo-msgdb.el (toplevel): Added comment.
4032         (elmo-load-msgdb): Added 4th element `path'.
4033         (elmo-msgdb-append): Follow the change above.
4034         (elmo-msgdb-clear): Ditto.
4035         (elmo-msgdb-delete-msgs): Ditto.
4036         (elmo-msgdb-get-path): New inline function.
4037         (elmo-msgdb-set-path): Ditto.
4038         (elmo-flag-table-filename): New variable.
4039         (elmo-flag-table-load): New function.
4040         (elmo-flag-table-set): Ditto.
4041         (elmo-flag-table-save): Ditto.
4042         (elmo-msgdb-get-field-value): Abolish.
4043         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4044
4045 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4046
4047         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4048         the folder has been deleted successfully.
4049         * elmo-imap4.el (elmo-folder-delete): Ditto.
4050         * elmo-archive.el (elmo-folder-delete): Ditto.
4051         * elmo-localdir.el (elmo-folder-delete): Ditto.
4052         * elmo-maildir.el (elmo-folder-delete): Ditto.
4053
4054 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4055
4056         * elmo-util.el (elmo-string-member-ignore-case): New function.
4057         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4058         (elmo-imap4-fetch-callback-1-subr): Likewise.
4059
4060 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4061
4062         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4063         the case of the name attribute "\Noselect".
4064
4065 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4066
4067         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4068
4069         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4070         flist, is not always a member of onum-alist.
4071
4072 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4073
4074         * elmo-version.el (elmo-version): Up to 2.11.3.
4075
4076 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4077
4078         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4079         copied from localdir's one.
4080
4081         * elmo-pipe.el (elmo-folder-rename): New method, rename
4082         destination folder with leaving source folder as it is.
4083
4084 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4085
4086         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4087         replace-regexp.
4088
4089 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4090
4091         * elmo-version.el (elmo-version): Up to 2.11.2.
4092
4093 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4094
4095         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4096         shimbun-open in case of "@".
4097         (elmo-folder-open-internal): Cope with shimbun = nil case.
4098         (elmo-folder-plugged-p): Ditto.
4099         (elmo-folder-list-subfolders): Make list for "@/" group.
4100
4101 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4102
4103         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4104         mailbox (e.g. for %~/something).
4105
4106 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4107
4108         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4109         Replace nested conditional with guard clauses.
4110
4111 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4112
4113         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4114         error [wl:11327].
4115
4116         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4117         print-depth.
4118
4119 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4120
4121         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4122         Replace nested conditional with guard clauses.
4123
4124 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4125
4126         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4127         (elmo-passwd-alist-save): Ditto.
4128         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4129
4130 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4131
4132         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4133         dir-name only if it is absolute path.
4134         (TODO: distinguish +/something and +something)
4135
4136 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4137
4138         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4139         path for "+~/something".
4140
4141 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4142
4143         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4144         as non-directory, cause error before rename-file.
4145         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4146         apropriately, mimic localdir's one.
4147         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4148
4149 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4150
4151         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4152
4153 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4154
4155         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4156
4157         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4158         
4159         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4160         is included in the global-mark or not.
4161
4162 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4163
4164         * utf7.el (toplevel): Avoid error when the function
4165         find-coding-system does not exist.
4166
4167 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4168
4169         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4170         cache even if the folder is plugged.
4171         (elmo-nntp-search-primitive): Do nothing when body search is
4172         invoked (although it is not used by the change above).
4173         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4174
4175 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4176
4177         * elmo-version.el (elmo-version): Up to 2.11.1.
4178
4179 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4180
4181         * elmo-archive.el: Specify charset.
4182
4183 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4184
4185         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4186         process buffer lives or not.
4187
4188         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4189         while flushing queues (It causes infinite loop).
4190
4191 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4192
4193         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4194
4195 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4196
4197         * utf7.el (toplevel): Check the ucs features dynamically.
4198         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4199
4200         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4201         folder is creatabe or not if it already exists.
4202
4203 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4204
4205         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4206
4207         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4208
4209         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4210         (elmo-imap4-read-response): Take care of garbage response.
4211
4212 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4213
4214         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4215         just return nil instead of error.
4216
4217 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4218
4219         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4220         search-key is "body".
4221
4222 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4223
4224         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4225         of elmo-string-matched-assoc to use match-data.
4226         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4227
4228 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4229
4230         * elmo-split.el (elmo-split->): New function.
4231         (elmo-split-<): Ditto.
4232
4233 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4234
4235         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4236         workaround for invalid message-id.
4237
4238 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4239
4240         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4241         return normal pop3 session or pop3 biff session.
4242
4243 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4244
4245         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4246         info part to the cur files when the new files already have it.
4247         (Adviced by Jared Rhine <jared@wordzoo.com>)
4248
4249 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4250
4251         * elmo-split.el (elmo-split-default-action): New variable.
4252         (elmo-split-subr): Use it if all other conditions are passed.
4253         Extend `fname' and rename it as `action'. (implemented
4254         Teranishi-san's idea in [wl:10800])
4255
4256 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4257
4258         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4259         * elmo-util.el: Ditto.
4260
4261 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4262
4263         * elmo.el (elmo-message-accessible-p): Renamed from
4264         elmo-message-cached-p and rewritten.
4265
4266 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4267
4268         * elmo.el (elmo-folder-list-flagged): New generic function.
4269         (elmo-folder-list-importants): New implementation.
4270         (elmo-folder-list-answereds): Ditto.
4271         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4272         Added 'digest'.
4273         (elmo-message-cached-p): New function.
4274         (elmo-message-set-flag): Ditto (no content).
4275         (elmo-message-unset-flag): Ditto.
4276         (elmo-folder-list-messages-mark-match): Abolish.
4277
4278         * elmo-util.el (elmo-regexp-opt): New function.
4279
4280         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4281         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4282         Added 'digest'.
4283         (elmo-msgdb-list-flagged): New function.
4284
4285         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4286         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4287         Added 'digest'.
4288
4289         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4290
4291 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4292
4293         * elmo-version.el (elmo-version): Up to 2.11.0.
4294
4295 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4296
4297         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4298         `elmo-file-cache-exists-p'; use proper mark that depends on
4299         `use-cache'.
4300         (elmo-msgdb-unset-flag): Ditto.
4301         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4302
4303         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4304         with 4th argument `use-cache'.
4305
4306 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4307
4308         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4309         (elmo-folder-mark-as-important): Ditto.
4310         (elmo-folder-unmark-read): Ditto.
4311         (elmo-folder-mark-as-read): Ditto.
4312         (elmo-folder-unmark-answered): Ditto.
4313         (elmo-folder-mark-as-answered): Ditto.
4314
4315         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4316         message status.
4317         (elmo-msgdb-mark): Likewise.
4318         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4319         (elmo-msgdb-unset-flag): Likewise.
4320
4321         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4322
4323 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4324
4325         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4326         `last:' filter.
4327
4328 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4329
4330         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4331         set spool-length to 0.
4332
4333 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4334
4335         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4336         (elmo-dop-queue-flush): Fixed last change.
4337
4338 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4339
4340         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4341         if require-msgdb slot is nil.
4342         (elmo-folder-list-importants): Likewise.
4343
4344 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4345
4346         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4347         mark is changed.
4348
4349         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4350         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4351         is changed.
4352
4353 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4354
4355         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4356
4357 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4358
4359         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4360
4361         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4362
4363 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4364
4365         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4366         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4367
4368 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4369
4370         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4371         the problem reported by Sean Rima [wl-en:180].
4372
4373 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4374
4375         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4376
4377         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4378
4379         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4380
4381         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4382
4383         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4384
4385         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4386
4387         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4388
4389 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4390
4391         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4392         status number.
4393
4394 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4395
4396         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4397         (elmo-folder-mark-as-read): Follow the API change.
4398         (elmo-message-set-cached): New function.
4399
4400         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4401
4402         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4403
4404         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4405         (elmo-folder-mark-as-important): Ditto.
4406         (elmo-folder-unmark-read): Ditto.
4407         (elmo-folder-mark-as-read): Ditto.
4408         (elmo-folder-unmark-answered): Ditto.
4409         (elmo-folder-mark-as-answered): Ditto.
4410
4411         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4412         (elmo-folder-unmark-important): Ditto.
4413         (elmo-folder-mark-as-read): Ditto.
4414         (elmo-folder-unmark-read): Ditto.
4415         (elmo-folder-mark-as-answered): Ditto.
4416         (elmo-folder-unmark-answered): Ditto.
4417
4418         * elmo-mark.el (toplevel): Removed some mark method definitions.
4419
4420         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4421         (elmo-map-folder-mark-as-answered): Ditto.
4422         (elmo-folder-unmark-important): Add :before qualifier.
4423         (elmo-folder-mark-as-important): Ditto.
4424         (elmo-folder-unmark-read): Ditto.
4425         (elmo-folder-mark-as-read): Ditto.
4426         (elmo-folder-unmark-answered): Define.
4427         (elmo-folder-mark-as-answered): Ditto.
4428
4429         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4430         (elmo-map-folder-unmark-answered): Ditto.
4431
4432         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4433
4434         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4435         (elmo-folder-mark-as-important): Ditto.
4436         (elmo-folder-unmark-read): Ditto.
4437         (elmo-folder-mark-as-read): Ditto.
4438         (elmo-folder-unmark-answered): Ditto.
4439         (elmo-folder-mark-as-answered): Ditto.
4440
4441         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4442         `mark'; evaluate mark condition.
4443         (elmo-msgdb-match-condition-internal): New function.
4444         (elmo-msgdb-match-condition): Call it; changed argument.
4445
4446         * elmo.el (elmo-folder-search): Follow the API change on
4447         `elmo-msgdb-match-condition'.
4448
4449 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4450
4451         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4452         original mark is non-nil.
4453
4454 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4455
4456         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4457         (elmo-map-folder-list-answereds): New method.
4458         (elmo-folder-list-unreads): Add :around qualifier.
4459         (elmo-folder-list-importants): Ditto.
4460         (elmo-folder-list-answereds): Ditto.
4461
4462 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4463
4464         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4465
4466         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4467         method if msgdb is not required.
4468         (elmo-filter-folder-list-importants): Don't treat global-mark.
4469
4470         * elmo.el (elmo-folder-list-importants): Ditto.
4471
4472         * elmo-net.el (elmo-folder-list-importants): Ditto.
4473
4474         * elmo-map.el (elmo-folder-list-importants): Ditto.
4475
4476         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4477
4478         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4479         (elmo-imap4-folder-list-any-plugged): New function.
4480         (elmo-imap4-search-internal-primitive): Use it.
4481
4482         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4483         only when require-msgdb slot is non-nil.
4484         (elmo-folder-close): Clear target folder's msgdb.
4485
4486 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4487
4488         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4489         (elmo-pop3-msgdb-create-by-header): Ditto.
4490         (elmo-pop3-msgdb-create-message): Ditto.
4491
4492         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4493
4494         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4495
4496         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4497
4498         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4499         (elmo-folder-msgdb-create): Ditto.
4500         (elmo-nntp-folder-msgdb-create): Ditto.
4501         (elmo-nntp-msgdb-create-by-header): Ditto.
4502         (elmo-nntp-msgdb-create-message): Ditto.
4503         (elmo-folder-list-unreads): Define.
4504
4505         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4506         (elmo-folder-append-messages): Ditto.
4507         (elmo-folder-list-unreads): Define.
4508         (elmo-folder-list-importants): Ditto.
4509         (elmo-folder-list-answereds): Ditto.
4510
4511         * elmo-net.el (elmo-folder-list-unreads): Define.
4512         (elmo-folder-list-importants): Ditto.
4513         (elmo-folder-list-answereds): Ditto.
4514         (elmo-folder-list-answereds-plugged): Ditto.
4515         (elmo-folder-msgdb-create): Follow the API change.
4516         (elmo-folder-msgdb-create-unplugged): Ditto.
4517         (elmo-folder-unmark-answered): Define.
4518         (elmo-folder-mark-as-answered-unplugged): Ditto.
4519         (elmo-folder-unmark-answered-unplugged): Ditto.
4520
4521         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4522         (elmo-msgdb-unread-uncached-mark): Ditto.
4523         (elmo-msgdb-unread-cached-mark): Ditto.
4524         (elmo-msgdb-read-uncached-mark): Ditto.
4525         (elmo-msgdb-answered-cached-mark): Ditto.
4526         (elmo-msgdb-answered-uncached-mark): Ditto.
4527         (elmo-msgdb-important-mark): Ditto.
4528         (elmo-msgdb-set-mark): Rewrite.
4529         (elmo-msgdb-count-marks): Rewrite.
4530         (elmo-msgdb-mark-alist-set): Abolish.
4531         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4532         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4533
4534         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4535         (elmo-folder-close): Define.
4536         (elmo-folder-msgdb-create): Follow the API change.
4537         (elmo-folder-list-unreads): Rewrite.
4538         (elmo-folder-mark-as-important): Ditto.
4539         (elmo-folder-unmark-important): Ditto.
4540         (elmo-folder-mark-as-read): Ditto.
4541         (elmo-folder-unmark-read): Ditto.
4542         (elmo-folder-mark-as-answered): Define.
4543         (elmo-folder-unmark-answered): Ditto.
4544
4545         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4546         (elmo-folder-append-messages): Ditto.
4547
4548         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4549
4550         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4551         (elmo-folder-list-importants): Ditto.
4552
4553         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4554         (elmo-folder-append-messages): Ditto.
4555
4556         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4557         change.
4558         (elmo-folder-msgdb-create-plugged): Ditto.
4559         (elmo-folder-append-messages): Ditto.
4560         (elmo-folder-list-answereds-plugged): Define.
4561         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4562         (elmo-folder-unmark-answered-plugged): Define.
4563         (elmo-folder-mark-as-answered-plugged): Ditto.
4564         (elmo-folder-search-requires-msgdb-p): Ditto.
4565
4566         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4567         (elmo-folder-initialize): Set it.
4568         (elmo-folder-msgdb): Define.
4569         (elmo-folder-check): Call elmo-folder-synchronize.
4570         (elmo-folder-close): Define.
4571         (elmo-folder-commit): Ditto.
4572         (elmo-folder-msgdb-create): Rewrite.
4573         (elmo-folder-list-unreads): Ditto.
4574         (elmo-folder-list-importants): Ditto.
4575         (elmo-folder-mark-as-read): Ditto.
4576         (elmo-folder-unmark-read): Ditto.
4577         (elmo-folder-mark-as-important): Ditto.
4578         (elmo-folder-unmark-important): Ditto.
4579         (elmo-folder-mark-as-answered): Define.
4580         (elmo-folder-unmark-answered): Ditto.
4581
4582         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4583         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4584         (elmo-dop-queue-method-name-alist): Likewise.
4585         (elmo-folder-mark-as-answered-dop): New inline function.
4586         (elmo-folder-unmark-answered-dop): Ditto.
4587         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4588
4589         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4590         (elmo-folder-msgdb-create): Ditto.
4591         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4592         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4593         (elmo-archive-parse-mmdf): Ditto.
4594
4595         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4596         (elmo-folder-list-unreads-internal): Ditto.
4597
4598         * elmo.el (elmo-folder-msgdb): Define as generic function.
4599         (elmo-folder-list-messages): Added argument `in-msgdb'.
4600         (elmo-folder-list-unreads): Define as generic function.
4601         (elmo-folder-list-importants): Ditto.
4602         (elmo-folder-list-answereds): Ditto.
4603         (elmo-folder-list-messages-with-global-mark): New function.
4604         (elmo-folder-msgdb-create): Removed mark arguments.
4605         (elmo-folder-unmark-answered): New generic function.
4606         (elmo-folder-mark-as-answered): Ditto.
4607         (elmo-folder-append-messages): Removed argunment `unread-marks'
4608         (elmo-folder-list-unreads-internal): Abolish.
4609         (elmo-folder-list-importants-internal): Ditto.
4610         (elmo-folder-search-requires-msgdb-p): New generic function.
4611         (elmo-folder-search-requires-msgdb-p-internal): New function.
4612         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4613         elmo-msgdb-load.
4614         (elmo-folder-search-fast): Added key 'mark'.
4615         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4616         instead of unread-marks argument.
4617         (elmo-folder-move-messages): Removed argunment `unread-marks'
4618         (elmo-folder-unmark-important): Define.
4619         (elmo-folder-mark-as-important): Ditto.
4620         (elmo-folder-unmark-read): Ditto.
4621         (elmo-folder-mark-as-read): Ditto.
4622         (elmo-folder-unmark-answered): Ditto.
4623         (elmo-folder-mark-as-answered): Ditto.
4624         (elmo-folder-replace-marks): Abolish.
4625         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4626         duplicates.
4627         (elmo-folder-synchronize): Removed mark arguments;
4628         return crosspost only number.
4629
4630 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4631
4632         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4633         Remove redundunt connectivity check.
4634
4635 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4636
4637         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4638         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4639
4640 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4641
4642         * pldap.el (ldap-decode-string): Return string as-is if
4643         `ldap-coding-system' is nil.
4644         (ldap-encode-string): Ditto.
4645         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4646         (ldap-default-host): Fixed docstring.
4647
4648 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4649
4650         * elmo-util.el (elmo-warning): Define as a macro which uses
4651         `display-warning' if it is defined as a function.
4652
4653         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4654         (elmo-split-equal): Use it.
4655         (elmo-split-match): Ditto.
4656         (elmo-split-message-entity): New buffer-local variable.
4657         (elmo-split-subr): Set it.
4658
4659         * elmo-version.el (elmo-version): Up to 2.9.15.
4660
4661 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4662
4663         * elmo-imap4.el (elmo-network-initialize-session):
4664         Check capability after starttls.
4665
4666 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4667
4668         * elmo-util.el (elmo-list-delete): Added optional argument
4669         DELETE-FUNCTION.
4670
4671         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4672
4673         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4674
4675         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4676
4677         * elmo-imap4.el (elmo-folder-initialize): Don't use
4678         elmo-imap4-default-mailbox.
4679
4680 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4681
4682         * elmo-split.el (toplevel): Use `product-provide'.
4683         (elmo-split): Checkdoc.
4684
4685 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4686
4687         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4688         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4689         the function `elmo-imap4-debug-1'.
4690
4691 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4692
4693         * elmo-split.el (elmo-split): Moved to run hooks and to show
4694         message from elmo-split-subr.
4695         (elmo-split-subr): Follow the change above.
4696
4697         * elmo-split.el (elmo-split-subr): New function (renamed from
4698         elmo-split-subr).
4699         (elmo-split): Changed to call elmo-split-subr by element of
4700         elmo-split-folder.
4701         (elmo-split-folder): Changed customization type to choice.
4702
4703 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4704
4705         * elmo-split.el (elmo-split-and): Fixed condition.
4706
4707 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4708
4709         * elmo-split.el: New file.
4710         (elmo-split): Fixed logic.
4711         Display "Test:" instead of "Folder:" when reharsal.
4712
4713         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4714         explicitly.
4715
4716         * elmo-version.el (elmo-version): Up to 2.9.14.
4717
4718         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4719         wl-expand-newtext).
4720
4721 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4722
4723         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4724         message with no message-id field.
4725
4726 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4727
4728         * elmo-version.el (elmo-version): Up to 2.9.13.
4729
4730         * elmo-dop.el (elmo-folder-status-dop): Fix.
4731
4732 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4735
4736         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4737         changing default value of default-mime-charset.
4738         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4739
4740         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4741
4742         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4743         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4744         instead of elmo-dop-queue-method-name-alist to check merging queue.
4745         (elmo-folder-delete-messages-dop): Delete from queue if negative
4746         message number.
4747         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4748         file is already removed.
4749
4750 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4751
4752         * elmo-vars.el: Bind colon keywords for old Emacsen.
4753
4754 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4755
4756         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4757         against non-exsisting charset.
4758
4759 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4760
4761         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4762         Use eword-decode-and-unfold-unstructured-field-body.
4763
4764         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4765         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4766         exists to decode raw subject string.
4767         (toplevel): Require 'mime.
4768
4769         * elmo-version.el (elmo-version): Up to 2.9.12.
4770
4771 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4772
4773         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4774         (elmo-msgdb-set-mark): Ditto.
4775
4776         * elmo-version.el (elmo-version): Up to 2.9.11.
4777
4778 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4779
4780         * elmo-util.el (elmo-delete-match-files): New function.
4781
4782         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4783         instead of elmo-delete-directory.
4784
4785         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4786         elmo-hash-minimun-size as 63.
4787
4788         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4789         elmo-diff-unread is nil.
4790
4791         * elmo-imap4.el (elmo-folder-open): Fix.
4792
4793         * elmo.el (elmo-message-mark): Rewrite.
4794         (elmo-message-field): Ditto.
4795         (elmo-message-set-mark): Ditto.
4796         (elmo-folder-replace-marks): New function.
4797         (elmo-generic-folder-append-msgdb): Removed third argument for
4798         elmo-msgdb-append.
4799         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4800         (elmo-msgdb-load): New implementation.
4801
4802         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4803
4804         * elmo-util.el (elmo-list-insert): New implementation.
4805
4806         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4807         argument for elmo-msgdb-append.
4808         
4809
4810         * elmo-msgdb.el (elmo-load-msgdb): New function.
4811         (elmo-make-msgdb): Ditto.
4812         (elmo-msgdb-get-index): New inline function.
4813         (elmo-msgdb-set-index): Ditto.
4814         (elmo-msgdb-get-entity-hashtb): Ditto.
4815         (elmo-msgdb-get-mark-hashtb): Ditto.
4816         (elmo-msgdb-get-mark): Ditto.
4817         (elmo-msgdb-set-mark): Ditto.
4818         (elmo-msgdb-count-marks): Ditto.
4819         (elmo-msgdb-get-number): Ditto.
4820         (elmo-msgdb-get-field): Ditto.
4821         (elmo-msgdb-seen-list): Ditto.
4822         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4823         (elmo-msgdb-delete-msgs): Follow the changes above.
4824         (elmo-msgdb-overview-get-entity): Ditto.
4825         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4826         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4827         and rewritten.
4828         (elmo-msgdb-make-index): Likewise.
4829         (elmo-msgdb-append): Removed third argument.
4830         (elmo-msgdb-clear): Clear index as nil.
4831         (elmo-folder-set-info-hashtb): Removed.
4832         (elmo-folder-set-info-max-by-numdb): Ditto.
4833         (elmo-folder-info-make-hashtb): Ditto.
4834
4835         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4836
4837         * elmo-map.el (elmo-folder-pack-number): Ditto.
4838
4839 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4840
4841         * elmo-version.el (elmo-version): Up to 2.9.10.
4842
4843         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4844
4845         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4846
4847 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4848
4849         * elmo-utils.el (elmo-make-directory): Add option.
4850         Default file mode is 700.
4851
4852 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4853
4854         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4855
4856 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4857
4858         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4859         mime-charset.
4860
4861         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4862         and "smaller".
4863
4864 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4865
4866         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4867         (elmo-shimbun-folder-entity-hash): New function.
4868         (elmo-shimbun-folder-shimbun-header): Ditto.
4869         (elmo-shimbun-entity-to-header): Ditto.
4870         (elmo-shimbun-msgdb-to-headers): Removed.
4871         (elmo-shimbun-folder-setup): Ditto.
4872         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4873         for hash key.
4874         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4875         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4876         Removed useless local bind.
4877         (elmo-folder-open-internal): Don't call
4878         `elmo-shimbun-folder-setup'.
4879         (elmo-folder-close-internal): Clear entity-hash slot.
4880         (elmo-folder-clear): Ditto.
4881         (elmo-shimbun-msgdb-create-entity): Use
4882         `elmo-shimbun-folder-shimbun-header'.
4883         (elmo-map-message-fetch): Ditto.
4884         (elmo-shimbun-update-overview): Use overview entity instead of
4885         shimbun header to lookup id by references.
4886         (elmo-map-folder-list-message-locations): Use not only headers but
4887         also overviews to list locations.
4888
4889 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4890
4891         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4892         msgdb path.
4893
4894         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4895
4896 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4897
4898         * elmo-util.el (elmo-read-search-condition-internal): Give default
4899         value for date.
4900
4901 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4902
4903         * elmo-util.el (elmo-condition-parse-search-value): Accept
4904         YYYY-MM-DD format to search.
4905         * elmo-date.el (elmo-date-get-datevec): Likewise.
4906
4907 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4908
4909         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4910         debugging code.
4911
4912 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4913
4914         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4915         from t.
4916
4917         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4918
4919         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4920         case from `elmo-folder-exists-p'.
4921         (elmo-folder-exists-p): Removed.
4922         (elmo-folder-creatable-p) Ditto.
4923
4924         * elmo-net.el (elmo-folder-create): Defined.
4925         (elmo-folder-create-unplugged): New function.
4926         (elmo-folder-exists-p): Changed default value to nil from t.
4927
4928         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4929         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4930
4931         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4932         `elmo-create-folder-dop' and append queue
4933         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4934         (elmo-folder-create-dop-delayed): New function.
4935
4936         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4937
4938         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4939
4940         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4941         (elmo-folder-writable-p) : Ditto.
4942
4943         * elmo-version.el (elmo-version): Up to 2.9.9.
4944
4945 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4946
4947         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4948         `elmo-message-use-cache-p' returns nil.
4949         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4950         (ignore cache file and refer the substance in local folders)
4951
4952 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4953
4954         * elmo-version.el (elmo-version): Up to 2.9.8.
4955
4956 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4957
4958         * elmo-version.el (elmo-version): Up to 2.9.7.
4959
4960         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4961
4962 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4963
4964         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4965
4966 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4967
4968         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4969         from --early.
4970         (elmo-map-folder-list-message-locations): Reverse location list.
4971
4972 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4973
4974         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4975
4976 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4977
4978         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4979         as a key.
4980         (elmo-nntp-folder-list-subfolders): Follow the change above.
4981
4982 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4983
4984         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4985         name if authentication type is specified.
4986
4987 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4988
4989         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4990         variable.
4991         (elmo-default-nntp-stream-type): Ditto.
4992         (elmo-default-pop3-stream-type): Ditto.
4993
4994 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4995
4996         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4997
4998 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4999
5000         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5001         elmo-vars.el.
5002         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5003
5004         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5005         (elmo-maildir-folder-path): Ditto.
5006         (elmo-maildir-list): Ditto (abolished).
5007
5008 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5009
5010         * elmo-version.el (elmo-version): Up to 2.9.6.
5011
5012 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5013
5014         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5015         (elmo-maildir-folder-path): Ditto.
5016         (elmo-msgdb-directory): Ditto.
5017         (elmo-passwd-life-time): Ditto.
5018         (elmo-msgdb-extra-fields): Ditto.
5019         (elmo-enable-disconnected-operation): Ditto.
5020
5021 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5022
5023         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5024         other choices.
5025         (elmo-pop3-default-authenticate-type): Ditto.
5026
5027 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5028
5029         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5030         choices for custom.
5031         (elmo-pop3-default-authenticate-type): Ditto.
5032
5033 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5034
5035         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5036         mailbox to new-folder.
5037
5038 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5039
5040         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5041         less than new, set new as unread.
5042
5043         * elmo-util.el (elmo-string): Don't put text-property if nil.
5044
5045 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5046
5047         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5048         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5049
5050 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5051
5052         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5053         is nil on `completing-read'.
5054
5055 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5056
5057         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5058         for namespace part.
5059         (elmo-imap4-parse-namespace-subr): Ditto.
5060         (elmo-folder-list-subfolders): Append a delimiter when the specified
5061         folder path is a root with namespace and does not end with delimiter.
5062
5063 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5064
5065         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5066         was used.
5067
5068 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5069
5070         * elmo-util.el (elmo-save-buffer): The first argument of message
5071         is a format control string.
5072
5073 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5074
5075         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5076         `elmo-folder-diff').
5077         (elmo-diff-unread): Likewise.
5078
5079 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5080
5081         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5082         is t on `completing-read'.
5083
5084 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5085
5086         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5087         method of target folder with self mark-alist if MARK-ALIST is nil.
5088
5089 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5090
5091         * elmo-version.el (elmo-version): Up to 2.9.5.
5092
5093 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5094
5095         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5096         (elmo-dop-merge-funcs): Remove.
5097
5098 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5099
5100         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5101         Return t if PATH is directory, too.
5102         Use `dolist' instead of while loop.
5103
5104 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5105
5106         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5107         is deleted.
5108
5109 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5110
5111         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5112         return value to t.
5113         (elmo-folder-list-messages-unplugged): Return t if
5114         elmo-enable-disconnected-operation is nil.
5115
5116         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5117         `elmo-folder-list-messages-internal'.
5118
5119 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5120
5121         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5122         Change to looking-at `[23][0-9]+'.
5123         (elmo-network-initialize-session): Use 'error-msg'
5124         * elmo-net.el (elmo-network-open-session): Set unplugged
5125         if elmo-network-initialize-session returns 'elmo-open-err.
5126
5127 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5128
5129         * elmo-version.el (elmo-version): Up to 2.9.4.
5130
5131 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5132
5133         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5134         `elmo-folder-list-messages-internal'.
5135
5136 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5137
5138         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5139         (elmo-message-match-condition): New method.
5140         (elmo-folder-search-fast): New inline function.
5141         (elmo-msgdb-search): Removed.
5142
5143         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5144         target folder if it is unplugged.
5145         (elmo-folder-list-messages-internal): Return t if target folder is
5146         unplugged and itself is persistent; In this case, use list be
5147         searched already.
5148
5149         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5150         (elmo-msgdb-search-internal-primitive): Ditto.
5151         (elmo-msgdb-match-condition): New function.
5152         (elmo-msgdb-match-condition-primitive): Ditto.
5153
5154         * elmo-util.el (elmo-filter-condition-p): New macro.
5155
5156         * elmo-cache.el (elmo-folder-search): Removed.
5157
5158         * elmo-localdir.el (elmo-folder-search): Ditto.
5159
5160         * elmo-maildir.el (elmo-folder-search): Ditto.
5161
5162         * elmo-mark.el (elmo-folder-search): Ditto.
5163
5164         * elmo-nmz.el (elmo-folder-search): Ditto.
5165
5166         * elmo-sendlog.el (elmo-folder-search): Ditto.
5167
5168         * elmo-shimbun.el (elmo-folder-search): Ditto.
5169
5170         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5171         if folder is unplugged.
5172
5173         * elmo-nntp.el (elmo-folder-search): Likewise.
5174         (elmo-nntp-search-internal): New function.
5175
5176         * elmo-version.el (elmo-version): Up to 2.9.3.
5177
5178 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5179
5180         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5181
5182 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5183
5184         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5185
5186 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5187
5188         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5189
5190 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5191
5192         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5193         (elmo-map-folder-list-message-locations): Do drive letter conversion
5194         on Windows environment.
5195         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5196         (elmo-map-message-fetch): Ditto.
5197
5198 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5199
5200         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5201         (elmo-network-initialize-session): Ditto.
5202
5203 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5206
5207         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5208
5209         * elmo-util.el (elmo-progress-clear): Ditto.
5210
5211         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5212         `DD-Mon-YYYY' type date.
5213
5214 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5215
5216         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5217         `elmo-date-make-sortable-string' instead of
5218         `timezone-make-date-sortable'.
5219
5220         * elmo-date.el (elmo-date-make-sortable-string): Use
5221         `timezone-make-time-string'.
5222
5223 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5224
5225         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5226
5227         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5228         `since'; Fix timezone.
5229
5230         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5231
5232         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5233
5234 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5235
5236         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5237
5238 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5239
5240         * elmo.el (elmo-generic-folder-append-messages): Make
5241         fetch-strategy with `use-cache' as 'maybe. Check return value of
5242         `elmo-message-fetch'.
5243         (elmo-message-fetch): Return return value of
5244         `elmo-message-fetch-with-cache-process'.
5245         (elmo-message-fetch-with-cache-process): Return non-nil if
5246         fetching was succeed. Load cache when fetching was failed and
5247         fetch-strategy-use-cache is 'maybe.
5248
5249         * elmo-util.el (elmo-file-cache-load): New function.
5250
5251         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5252         defun.
5253
5254         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5255         non-nil if fetching was succeed.
5256
5257         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5258
5259         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5260
5261         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5262         (elmo-message-fetch-with-cache-process): Likwise.
5263
5264         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5265
5266         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5267
5268         * elmo-version.el (elmo-version): Up to 2.9.2.
5269
5270 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5271
5272         * elmo.el (elmo-folder-delete): Delete msgdb path.
5273
5274         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5275
5276         * elmo-maildir.el (elmo-folder-delete): Ditto.
5277
5278         * elmo-localdir.el (elmo-folder-delete): Ditto.
5279
5280         * elmo-imap4.el (elmo-folder-delete): Ditto.
5281
5282 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5283
5284         * elmo.el (luna-define-class): Added `biff' slot.
5285
5286         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5287         (elmo-pop3-debug-inhibit-logging): Abolished.
5288         (elmo-network-close-session): Eliminated needless let.
5289         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5290         (elmo-pop3-send-command): Added `no-log' argument.
5291         (elmo-pop3-process-filter): Use `with-current-buffer'.
5292         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5293         if login failure.
5294         (elmo-pop3-auth-apop): Likewise.
5295         (elmo-network-authenticate-session): Likewise.
5296
5297         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5298         if biff folder.
5299
5300         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5301         string to determine protocol.
5302         (elmo-network-session-name-prefix): Abolished.
5303         (elmo-network-session-cache-key): Follow the change above.
5304         (elmo-network-open-session): Ditto.
5305
5306         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5307         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5308
5309         * elmo-version.el (elmo-version): Up to 2.9.1.
5310
5311         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5312         unmatch condition checking.
5313
5314         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5315         condition.
5316
5317 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5318
5319         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5320
5321 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5322
5323         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5324         test for while loop to execute at least one SEARCH command.
5325
5326 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5327
5328         * elmo-version.el (elmo-version): Up to 2.9.0.
5329
5330 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5331
5332         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5333         (elmo-archive-folder-path): Define.
5334         (elmo-folder-initialize): Setup `dir-name' slot.
5335         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5336         Use `dir-name' as prefix of each subfolders.
5337         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5338
5339 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5340
5341         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5342         (elmo-pipe-folder-list-target-messages): New internal function.
5343         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5344         `killed-list'.
5345         (elmo-pipe-folder-copied-list-load): New function.
5346         (elmo-pipe-folder-copied-list-save): Ditto.
5347         (elmo-folder-open-internal): Follow the change above.
5348         (elmo-folder-status): Fixed for copy.
5349
5350 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5351
5352         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5353
5354 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5355
5356         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5357         elmo-copy-file instead of elmo-add-name-to-file.
5358
5359         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5360
5361         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5362         "file://..." index.
5363
5364         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5365         of accept-process-output as 1.
5366         (elmo-pop3-read-contents): Ditto.
5367         (elmo-pop3-read-body): Ditto.
5368
5369 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5370
5371         * elmo-version.el (product-version-as-string): Remove define.
5372
5373 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5374
5375         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5376         (elmo-imap4-copy-messages): Chop number set using
5377         `elmo-imap4-number-set-chop-length'.
5378         (elmo-imap4-set-flag): Ditto.
5379         (elmo-imap4-search-internal-primitive): Ditto.
5380
5381 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5382
5383         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5384         `elmo-folder-make-temp-dir'
5385
5386         * elmo-vars.el (elmo-cache-directory): New variable.
5387         (elmo-cache-dir): Abolished.
5388         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5389
5390         * elmo-version.el (elmo-version): Up to 2.7.7.
5391
5392 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5393
5394         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5395         defcustom; Set default value as t.
5396
5397 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5398
5399         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5400         (ldap-search-program-arguments): Changed default value.
5401         (ldap-search-basic): Accept exit status 4.
5402         (ldap/field-body): Parse options.
5403         (ldap/collect-field): Ditto.
5404         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5405
5406         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5407         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5408         (elmo-imap4-accept-ok): Ditto.
5409         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5410         'notify-bye, only BYE error is reported.
5411         (elmo-folder-exists-p-plugged): Set no-error argument of
5412         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5413
5414         * elmo.el (elmo-imap4-bye-error): Changed message.
5415
5416         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5417         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5418         queues (It causes infinite loop).
5419
5420 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5421
5422         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5423         (RECENT UNSEEN MESSAGES) extension.
5424
5425 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5426
5427         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5428         Check number of overview fields.
5429
5430 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5431
5432         * elmo.el (elmo-folder-confirm-appends): Changed message.
5433         (elmo-folder-confirm-appends): Ditto.
5434
5435         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5436         `with-temp-buffer'.
5437         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5438
5439 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5440
5441         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5442         of elmo-folder-update-threshold is nil, which can be set by
5443         wl-summary-update-confirm-threshold.
5444
5445 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5446
5447         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5448         (elmo-nmz-index-alias-alist): Ditto.
5449         (elmo-map-folder-list-message-locations): Follow the change above.
5450
5451 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5452
5453         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5454
5455         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5456
5457         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5458
5459         * elmo-util.el (elmo-read): Ditto.
5460         (elmo-display-error): Ditto.
5461
5462         * elmo-vars.el (elmo-date-match): Ditto.
5463
5464         * pldap.el (ldap-coding-system): Ditto.
5465
5466         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5467         `elmo-inhibit-number-mapping' as nil.
5468
5469 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5470
5471         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5472         space delimiter for list response.
5473
5474 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5475
5476         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5477
5478 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5479
5480         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5481         (elmo-map-message-fetch): Fix.
5482         * elmo-map.el (elmo-folder-status): Fix for killed.
5483
5484 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5485
5486         * elmo-sendlog.el: New file.
5487         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5488
5489 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5490
5491         * acap.el (acap-logging-out): New buffer local variable.
5492         (acap-close): Set it.
5493         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5494         an error.
5495
5496 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5497
5498         * acap.el (acap-response-bye-p): New function.
5499         (acap-response-bye-message): Ditto.
5500         (acap-wait-for-response): If bye response is received, cause an error.
5501         (acap-parse-response): Make bye response when 'Bye' is received.
5502
5503 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5504
5505         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5506
5507 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5508
5509         * elmo-util.el (elmo-copy-file): Added argument
5510         `ok-if-already-exists'.
5511         (elmo-copy-file): Fixed typo.
5512
5513 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5514
5515         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5516
5517 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5518
5519         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5520
5521 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5522
5523         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5524         to killed-list.
5525
5526 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5527
5528         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5529         (elmo-folder-initialize): Fix for `copy'.
5530         (elmo-pipe-drain): Ditto.
5531         (elmo-folder-open-internal): Ditto.
5532         (elmo-folder-newsgroups): Fix.
5533
5534 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5535
5536         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5537         for each message.
5538
5539         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5540         recent value is returned from imap folder.
5541
5542         * elmo.el (elmo-folder-newsgroups): New generic function.
5543
5544         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5545         (elmo-folder-initialize): Set it.
5546         (elmo-folder-expand-msgdb-path): Use it.
5547         (elmo-folder-newsgroups): Define.
5548
5549         * elmo-filter.el (elmo-folder-newsgroups): Define.
5550
5551         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5552
5553         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5554
5555         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5556
5557 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5558
5559         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5560         user option.
5561         (elmo-shimbun-header-extra-field): New inline function.
5562         (elmo-shimbun-header-set-extra-field): Ditto.
5563         (elmo-shimbun-folder-header-hash-setup): Ditto.
5564         (elmo-shimbun-update-overview): Ditto.
5565         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5566         (elmo-shimbun-folder-setup): Use
5567         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5568         (elmo-shimbun-get-headers): Ditto.
5569         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5570         Insert `X-Shimbun-Id:' header if extra field is set.
5571         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5572         field's value instead of `shimbun-header-id'.
5573
5574         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5575         inline function.
5576         (elmo-msgdb-overview-entity-set-date): Ditto.
5577         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5578
5579 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5580
5581         * mmimap.el (mmimap-entity-section): Changed body node number from
5582         "0" to "1".
5583
5584 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5585
5586         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5587         `elmo-folder-delete-messages'.
5588
5589         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5590         (elmo-folder-initialize): Changed to expand alias into index path.
5591
5592         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5593         `elmo-mime-insert-header-from-buffer' with 6th arg
5594         `sorted-fields'.
5595
5596 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5597
5598         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5599
5600         * elmo.el (elmo-diff-new): New inline function.
5601         (elmo-diff-unread): Ditto.
5602         (elmo-diff-all): Ditto.
5603
5604         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5605         value from responseb.
5606         (elmo-imap4-folder-diff-plugged): Ditto.
5607         (elmo-imap4-server-diff-async): Added recent argument.
5608         (elmo-server-diff-async): Ditto.
5609         (elmo-imap4-folder-diff-plugged): Ditto.
5610
5611         * elmo-version.el (elmo-version): Up to 2.7.6.
5612
5613 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5614
5615         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5616         in quoted-stirng.
5617
5618 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5619
5620         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5621
5622         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5623
5624         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5625
5626         * elmo-multi.el (elmo-folder-initialize): Ditto.
5627
5628         * elmo-util.el (elmo-parse-token): New function.
5629         (elmo-parse-prefixed-element): Ditto.
5630
5631 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5632
5633         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5634         delete process.
5635         (elmo-imap4-accept-ok): Ditto.
5636
5637 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5638
5639         * mmimap.el (mime-imap-entity-header-string): Don't check first
5640         element of node-id is `0' (Follow last change).
5641
5642 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5643
5644         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5645         assigned irregular node-id to nested multipart section.
5646         (initialize-instance): Followed above change.
5647
5648 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5649
5650         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5651         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5652         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5653         `elmo-shimbun-get-headers');
5654         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5655         visible article on summary exists in headers).
5656         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5657
5658 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5659
5660         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5661         definition.
5662
5663 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5664
5665         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5666
5667 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5668
5669         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5670         header separator into loop condition.
5671
5672 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5673
5674         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5675         Return duplicate folder if it has subfolder.
5676
5677 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5678
5679         * elmo.el (elmo-make-folder): Add folder name error check.
5680
5681         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5682         (elmo-nntp-encode-group-string): New inline function.
5683         (elmo-nntp-decode-group-string): Ditto.
5684         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5685         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5686         Use `not' instead of `null';
5687         Use elmo-nntp-decode-group-string.
5688
5689         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5690
5691         * elmo-version.el (elmo-version): Up to 2.7.5.
5692
5693 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5694
5695         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5696         Hide progress gauge if `elmo-folder-move-messages' exits
5697         nonlocally.
5698
5699 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5700
5701         * elmo-imap4.el (elmo-folder-initialize): Use
5702         `elmo-imap4-encode-folder-string' for folder name.
5703
5704 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5705
5706         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5707         `done'.
5708
5709 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5710
5711         * elmo-util.el (elmo-progress-counter-alist): New internal
5712         variable.
5713         (elmo-progress-counter-value): New macro.
5714         (elmo-progress-counter-all-value): Ditto.
5715         (elmo-progress-counter-format): Ditto.
5716         (elmo-progress-counter-set-value): Ditto.
5717         (elmo-progress-set): New function.
5718         (elmo-progress-clear): Ditto.
5719         (elmo-progress-notify): Ditto.
5720
5721         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5722         counter.
5723
5724         * elmo.el (elmo-generic-folder-append-messages): Call
5725         `elmo-progress-notify'.
5726         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5727
5728         * elmo-archive.el (elmo-folder-append-messages): Call
5729         `elmo-progress-notify'.
5730
5731         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5732
5733         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5734
5735         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5736
5737 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5738
5739         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5740         'Create'.
5741         (elmo-message-encache-dop): Added argument `read'.
5742
5743         * elmo-shimbun.el (elmo-message-encache): Ditto.
5744
5745         * elmo-net.el (elmo-message-encache): Ditto.
5746
5747         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5748         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5749         elmo-imap4-seen-messages.
5750         (elmo-folder-msgdb-create-plugged): Initialize
5751         elmo-imap4-seen-messages;
5752         Set seen mark on elmo-imap4-seen-messages.
5753
5754         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5755
5756         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5757         elmo-folder-append-buffer.
5758         (elmo-folder-encache): Added optional argument `read'.
5759         (elmo-message-encache): Ditto.
5760
5761         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5762
5763         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5764
5765         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5766         if append buffer content succeds.
5767
5768 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5769
5770         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5771         elmo-display-progress.
5772
5773         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5774         Set 4th argument of mime-display-message.
5775         (elmo-mime-display-as-is): Ditto.
5776
5777 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5778
5779         * elmo-nmz.el (toplevel): Require 'mime-edit.
5780         (elmo-nmz-content-type-alist): Abolished.
5781         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5782         content is not a message.
5783         (elmo-map-message-fetch): Changed behavior exept for message content;
5784         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5785         content-type, Add From: and Subject: field.
5786
5787 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5788
5789         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5790         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5791         not a message.
5792
5793 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5794
5795         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5796         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5797
5798         * elmo-archive.el (elmo-folder-writable-p): Defined.
5799
5800         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5801
5802         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5803
5804         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5805
5806         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5807
5808         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5809
5810         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5811
5812         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5813
5814         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5815
5816 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5817
5818         * elmo-util.el (elmo-address-quote-specials): New function;
5819         Renamed from `wl-address-quote-specials'.
5820
5821 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5822
5823         * elmo-version.el (elmo-version): Up to 2.7.4.
5824
5825 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5826
5827         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5828
5829 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5830
5831         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5832         both compile-time and run-time to avoid byte-compile warning.
5833
5834 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5835
5836         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5837
5838 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5839
5840         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5841         option.
5842         (elmo-mime-display-as-is-internal): Use it.
5843
5844         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5845         if `read-passwd' is not defined.
5846
5847 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5848
5849         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5850         by original number.
5851         (elmo-folder-status): Call `elmo-folder-open-internal';
5852         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5853         (elmo-folder-close-internal): Set location-alist as nil.
5854         (elmo-folder-clear): Define.
5855         (elmo-folder-check): Don't set location-alist as nil.
5856
5857         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5858
5859 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5860
5861         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5862         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5863
5864         * mmimap.el (mime-imap-entity::requested): New slot.
5865         (mime-imap-location-fetch-entity-p): New generic function.
5866         (mime-decode-parameters): Define using `defun-maybe'.
5867         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5868         content-type structure.
5869         (mime-entity-body): Return empty body if
5870         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5871
5872         * elmo.el (elmo-message-displaying): New variable.
5873
5874         * elmo-mime.el (elmo-mime-message-display): Bind
5875         elmo-message-displaying as t.
5876
5877         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5878
5879 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5880
5881         * acap.el (acap-open): erase buffer before starting network process.
5882         (acap-store): Rewrite.
5883
5884 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5885
5886         * elmo-imap4.el (elmo-imap4-default-mailbox,
5887         elmo-imap4-default-server
5888         elmo-imap4-default-authenticate-type,
5889         elmo-imap4-default-user,
5890         elmo-imap4-default-port,
5891         elmo-imap4-default-stream-type,
5892         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5893
5894         * elmo-pop3.el (elmo-pop3-default-user,
5895         elmo-pop3-default-server,
5896         elmo-pop3-default-authenticate-type,
5897         elmo-pop3-default-port,
5898         elmo-pop3-default-stream-type,
5899         elmo-pop3-stream-type-alist): Ditto.
5900
5901         * elmo-nntp.el (elmo-nntp-default-server,
5902         elmo-nntp-default-user,
5903         elmo-nntp-default-port,
5904         elmo-nntp-default-stream-type,
5905         elmo-nntp-stream-type-alist): Ditto.
5906
5907         * elmo-vars.el: Follow changes above.
5908         (elmo-setting): New custom group; added 'elmo-setting group to
5909         above variables.
5910
5911         * elmo-version.el (elmo-version): Up to 2.7.3.
5912
5913         * acap.el (acap-parse-response): Don't delete process when BYE
5914         response (It causes hang-up on slow network environment).
5915         (toplevel): Added comment.
5916
5917 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5918
5919         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5920
5921         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5922         parsing NIL.
5923         (acap-parse-return-metadata): Ditto.
5924
5925         * slp.el: New file.
5926         (toplevel): Fixed typo.
5927
5928         * acap.el: New file.
5929         (acap-network-stream-open): Show "Connecting..." message.
5930         (acap-parse-response): Fixed problem for BYE untagged response.
5931         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5932         (toplevel): Added tiny comments.
5933
5934 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5935
5936         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5937         space delimiter for uidl response.
5938
5939 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5940
5941         * elmo-vars.el (elmo-use-semi): Eliminated.
5942
5943         * elmo-util.el (elmo-string-assoc-all): New function.
5944
5945 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5946
5947         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5948         property 'mime-preview-situation for `mime-preview-quit'.
5949
5950 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5951
5952         * elmo.el (elmo-message-fetch-with-cache-process): Call
5953         elmo-message-fetch-internal instead of causing an error when fetch
5954         strategy is 'entire but only 'section cache is available.
5955
5956 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5957
5958         * elmo-version.el (elmo-version): Up to 2.7.2.
5959
5960         * elmo.el (elmo-generic-folder-append-messages): Make
5961         fetch-strategy with `use-cache'.
5962
5963         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5964         (elmo-dop-queue-method-name): New macro.
5965
5966 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5967
5968         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5969         unbalanced parenthesis.
5970
5971 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5972
5973         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5974
5975 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5976
5977         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5978         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5979
5980 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5981
5982         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5983         local variables.
5984
5985 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5986
5987         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5988         (elmo-message-use-cache-p): Define.
5989         (elmo-folder-msgdb-create): Treat cache.
5990
5991 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5992
5993         * elmo-nntp.el (elmo-network-initialize-session): Call
5994         `elmo-nntp-send-mode-reader'.
5995         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5996
5997 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5998
5999         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6000         alist.
6001         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6002         assoc.
6003
6004         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6005         for `elmo-plugged-p'.
6006         (elmo-open-network-stream): Fixed stream-type argument.
6007
6008 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6009
6010         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6011         unknown archive type is specified.
6012
6013 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6014
6015         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6016
6017         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6018         while loading msgdb.
6019
6020         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6021         (elmo-folder-open-internal): Rewrite.
6022
6023 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6024
6025         * elmo-mime.el (elmo-mime-display-as-is-internal):
6026         Adjust buffer-multibyte status.
6027
6028 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6029
6030         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6031         of elmo-condition-find-key.
6032
6033         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6034         (elmo-condition-in-msgdb-p): Ditto.
6035         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6036         argument.
6037
6038 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6039
6040         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6041
6042 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6043
6044         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6045         label for elmo-display-progress.
6046
6047 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6048
6049         * elmo.el (elmo-folder-clear): New method.
6050         (elmo-folder-clear): Define.
6051         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6052
6053         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6054         (elmo-folder-clear): Define.
6055
6056         * elmo-map.el (elmo-folder-clear): Define.
6057
6058         * elmo-version.el (elmo-version): Up to 2.7.1.
6059
6060 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6061
6062         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6063         updates.
6064
6065 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6066
6067         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6068         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6069
6070 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6071
6072         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6073
6074         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6075         and re-written.
6076
6077         * elmo-imap4.el (elmo-folder-initialize): Use
6078         elmo-get-network-stream-type.
6079
6080         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6081
6082         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6083
6084 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6085
6086         * elmo.el (elmo-message-encache): Set unread argument for
6087         elmo-message-fetch.
6088
6089         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6090
6091         * elmo.el (elmo-net-port-info): New method.
6092
6093         * elmo-shimbun.el (elmo-net-port-info): Define.
6094         (elmo-message-encache): Ditto.
6095
6096         * elmo-net.el (elmo-net-port-info): Define as method.
6097
6098         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6099         unplugged status when elmo-enable-disconnected-operation is t.
6100
6101         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6102         of spool folder before checking new number.
6103
6104 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6105
6106         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6107         (elmo-network-setup-session): Ditto.
6108         (elmo-message-fetch-plugged): Ditto.
6109         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6110         (elmo-network-initialize-session): Ditto.
6111         (elmo-pop3-read-response): Abolish 3rd argument.
6112         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6113         (elmo-pop3-read-contents): Ditto.
6114         (elmo-pop3-read-body): Ditto.
6115         (elmo-folder-status): Call elmo-folder-close.
6116         (elmo-pop3-lock): Abolish.
6117         (elmo-pop3-unlock): Ditto.
6118         (elmo-pop3-locked-p): Ditto.
6119         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6120
6121 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6122
6123         * elmo-version.el (elmo-version): Up to 2.7.0.
6124
6125         * elmo-pop3.el (elmo-pop3-debug): New variable.
6126         (elmo-pop3-debug-inhibit-logging): Ditto.
6127         (elmo-pop3-debug): New function.
6128         (elmo-pop3-send-command): Call elmo-pop3-debug.
6129         (elmo-pop3-read-response): Added keep-lock optional argument;
6130         Don't unlock if keep-lock is non-nil.
6131         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6132         (elmo-network-authenticate-session): Bind
6133         elmo-pop3-debug-inhibit-logging as t.
6134         (elmo-network-setup-session): Call elmo-pop3-read-response with
6135         keep-lock argument.
6136         (elmo-pop3-read-msg): Ditto.
6137         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6138         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6139         (elmo-network-initialize-session): Call elmo-pop3-lock.
6140         (elmo-folder-close-internal): Don't clear location-alist slot.
6141         (elmo-folder-check): Clear location-alist slot.
6142
6143 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6144
6145         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6146         (elmo-pop3-send-command): Call elmo-pop3-lock.
6147         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6148         (elmo-pop3-read-contents): Ditto.
6149         (elmo-pop3-lock): New function.
6150         (elmo-pop3-unlock): Ditto.
6151         (elmo-pop3-locked-p): Ditto.
6152         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6153         returns t.
6154
6155 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6156
6157         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6158
6159         * elmo-util.el (elmo-file-field-primitive-condition-match):
6160         New inline function (Don't fetch file content if "first" or "last").
6161         (elmo-file-field-condition-match): Use
6162         elmo-file-field-primitive-condition-match.
6163
6164         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6165         "first".
6166
6167         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6168         (elmo-message-fetch-plugged): Fixed.
6169
6170         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6171
6172 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6173
6174         * elmo.el (elmo-folder-move-messages): Bind
6175         elmo-inhibit-display-retrieval-progress as t while moving messages.
6176
6177         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6178         New variable.
6179         (elmo-inhibit-display-retrieval-progress): Ditto.
6180
6181         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6182         for retrieval progress;
6183         Don't display progress when total buffer size is smaller than
6184         elmo-display-retrieval-progress-threshold.
6185         (elmo-message-fetch-plugged): Don't display progress when
6186         elmo-inhibit-display-retrieval-progress is non-nil.
6187
6188         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6189         for retrieval progress;
6190         Don't display progress when literal size is smaller than
6191         elmo-display-retrieval-progress-threshold.
6192         (elmo-imap4-message-fetch): Don't display progress when
6193         elmo-inhibit-display-retrieval-progress is non-nil.
6194
6195 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6196
6197         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6198         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6199         (elmo-imap4-message-fetch): Likewise.
6200
6201         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6202         (elmo-shimbun-index-range-alist): Ditto.
6203         (elmo-shimbun-use-entire-index): Abolish.
6204         (shimbun-mua-use-entire-index): Ditto.
6205         (elmo-shimbun-folder): Added new slot `range'.
6206         (elmo-folder-initialize): Setup slot `range'.
6207
6208 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6209
6210         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6211         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6212         (elmo-shimbun-get-headers): Use return value of
6213         `shimbun-article-expiration-days'.
6214         (elmo-folder-close-internal): Clean up last-check slot.
6215
6216         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6217         (elmo-pop3-total-size): New variable.
6218         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6219
6220         * elmo.el (elmo-folder-reserve-status-p): New method.
6221
6222         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6223         (elmo-shimbun-use-entire-index): New user option.
6224         (shimbun-elmo-mua): New class.
6225         (shimbun-mua-search-id): Define.
6226         (shimbun-mua-use-entire-index): Ditto.
6227         (elmo-shimbun-folder:last-check): New slot.
6228         (elmo-shimbun-headers-cache-header-list): Abolish.
6229         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6230         (elmo-shimbun-headers-cache-header-hash): Ditto.
6231         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6232         (elmo-shimbun-headers-cache-last-check): Ditto.
6233         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6234         (elmo-shimbun-headers-check-p): Rewrite.
6235         (elmo-shimbun-msgdb-to-headers): New function.
6236         (elmo-shimbun-get-headers): Rewrite.
6237         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6238         (elmo-folder-open-internal): Get headers only if
6239         `elmo-shimbun-headers-check-p' is non-nil.
6240         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6241         is non-nil.
6242         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6243         (elmo-quit): Removed.
6244
6245         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6246         function.
6247         (elmo-msgdb-overview-entity-set-extra): Ditto.
6248         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6249
6250         * elmo-map.el (elmo-folder-status): Don't call
6251         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6252         is non-nil.
6253
6254 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6255
6256         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6257         of `elmo-msgdb-search-internal-primitive' when condition's car is
6258         `and' or `or'.
6259
6260 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6261
6262         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6263
6264 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6265
6266         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6267         call `elmo-pipe-drain'.
6268
6269 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6270
6271         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6272         typo. (elmo-cache-folder -> elmo-mark-folder)
6273
6274 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6275
6276         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6277         `elmo-message-fetch'.
6278
6279 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6280
6281         * elmo-net.el (elmo-message-encache): Fixed typo.
6282         (elmo-message-fetch-unplugged): Changed call
6283         `elmo-message-fetch-internal' without argument `outbuf'.
6284
6285 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6286
6287         * elmo.el (elmo-message-encache): Define as generic function.
6288         (elmo-message-fetch-field): New generic function.
6289         (elmo-message-fetch-with-cache-process): Cause an error when
6290         fetch strategy is 'entire but only 'section cache is available.
6291         (toplevel): Fixed nmz folder definition.
6292
6293         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6294         (elmo-msgdb-resume-list-filename): Ditto.
6295         (elmo-queue-filename): Ditto.
6296         (elmo-enable-disconnected-operation): Changed default value to t.
6297
6298         * elmo-util.el (elmo-cache-path-section-p): New function.
6299         (elmo-file-cache-get): Use it.
6300         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6301         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6302         (elmo-dop-queue-save): Ditto.
6303
6304         * elmo-net.el (elmo-folder-status-unplugged): Call
6305         elmo-folder-status-dop.
6306         (elmo-folder-list-messages-unplugged): Implemented.
6307         (elmo-folder-delete-messages-unplugged): Define.
6308         (elmo-folder-msgdb-create): Define.
6309         (elmo-folder-msgdb-create-unplugged): Define.
6310         (elmo-folder-mark-as-read-unplugged): Ditto.
6311         (elmo-folder-unmark-read-unplugged): Ditto.
6312         (elmo-folder-mark-as-important-unplugged): Ditto.
6313         (elmo-folder-unmark-important-unplugged): Ditto.
6314         (elmo-message-encache): Ditto.
6315
6316         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6317         (elmo-dop-queue-save): Ditto.
6318
6319         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6320         `elmo-folder-msgdb-create'.
6321         (elmo-folder-append-buffer): Implemented unplugged operation.
6322         (elmo-folder-append-messages): Call parent method in unplugged status.
6323         (elmo-message-fetch-unplugged): Removed definition.
6324         (elmo-message-fetch-field): Implemented.
6325
6326         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6327         (elmo-dop-folder): Removed variable definition.
6328         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6329         (elmo-dop-queue-flush): Implemented.
6330         (elmo-dop-queue-merge): Removed definition (TODO).
6331         (elmo-dop-spool-folder): New function.
6332         (elmo-dop-spool-folder-append-buffer): Ditto.
6333         (elmo-dop-spool-folder-list-messages): Ditto.
6334         (elmo-dop-list-deleting-messages): Ditto.
6335         (elmo-folder-append-buffer-dop): Ditto.
6336         (elmo-folder-delete-messages-dop): Ditto.
6337         (elmo-message-encache-dop): New inline function.
6338         (elmo-create-folder-dop): Ditto.
6339         (elmo-folder-mark-as-read-dop): Ditto.
6340         (elmo-folder-unmark-read-dop): Ditto.
6341         (elmo-folder-mark-as-important-dop): Ditto.
6342         (elmo-folder-unmark-important-dop): Ditto.
6343         (elmo-folder-status-dop): Fixed.
6344         (elmo-folder-append-buffer-dop-delayed): New function.
6345         (elmo-folder-delete-messages-dop-delayed): Ditto.
6346         (elmo-dop-msgdb): Ditto.
6347
6348 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6349
6350         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6351
6352 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6353
6354         * elmo.el (elmo-folder-move-messages): Fixed problem when
6355         `dst-folder' is 'null.
6356
6357 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6358
6359         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6360         instead of current mark.
6361
6362         * elmo-multi.el (elmo-folder-list-importants-internal): No
6363         operation if importants is not list.
6364
6365         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6366         Return t if importants is not list.
6367
6368         * elmo-map.el (elmo-map-folder-list-importants): Define.
6369         (elmo-folder-list-importants-internal): Check return value of
6370         `elmo-map-folder-list-importants-internal'.
6371
6372         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6373
6374         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6375
6376         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6377
6378         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6379
6380 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6381
6382         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6383         (Patch is provided by <kita@coe.nttdata.co.jp>).
6384
6385 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6386
6387         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6388         mark folder.
6389
6390 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6391
6392         * elmo.el (elmo-message-fetch): Define.
6393         (elmo-message-fetch-with-cache-process): New generic method.
6394         (elmo-message-fetch-internal): New generic method.
6395         (elmo-folder-synchronize):
6396
6397         * elmo-archive.el (elmo-message-fetch-internal): Define.
6398         (elmo-message-fetch): Eliminated.
6399
6400         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6401         (elmo-message-fetch): Eliminated.
6402
6403         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6404         argument OUTBUF.
6405         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6406
6407         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6408         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6409
6410         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6411         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6412
6413         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6414
6415         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6416
6417         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6418
6419         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6420         (elmo-message-fetch-unplugged): New generic method.
6421         (elmo-message-fetch-internal): Remove cache process (Renamed from
6422         `elmo-message-fetch').
6423
6424         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6425         (elmo-message-fetch): Eliminated.
6426         (elmo-message-fetch-unplugged): Ditto.
6427
6428         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6429
6430 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6431
6432         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6433         of `to-be-deleted' from number-alist to number-list.
6434
6435 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6436
6437         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6438         (elmo-folder-mark-as-important): Ditto.
6439
6440 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6441
6442         * elmo.el (elmo-folder): Added process-duplicates slot.
6443
6444         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6445         (elmo-folder-unmark-read): Ditto.
6446         (elmo-folder-unmark-important): Ditto.
6447         (elmo-folder-mark-as-important): Ditto.
6448
6449         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6450         duplicated message processing.
6451
6452         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6453
6454 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6455
6456         * elmo-util.el (elmo-list-subdirectories-1): New function.
6457         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6458         (elmo-mapcar-list-of-list): New function.
6459
6460         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6461         `elmo-mapcar-list-of-list' instead of `mapcar'.
6462
6463         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6464
6465         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6466         `elmo-have-link-count'. Return the fully qualified folder name.
6467
6468 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6469
6470         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6471         (elmo-shimbun-headers-cache): New internal variable.
6472         (elmo-shimbun-headers-cache-header-list): New inline function.
6473         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6474         (elmo-shimbun-headers-cache-header-hash): Ditto.
6475         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6476         (elmo-shimbun-headers-cache-last-check): Ditto.
6477         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6478         (elmo-shimbun-lapse-seconds): Ditto.
6479         (elmo-shimbun-headers-cache-check-p): Ditto.
6480         (elmo-shimbun-get-headers): New function.
6481         (elmo-folder-open-internal): Call it.
6482         (elmo-quit): Define (Clear headers-cache).
6483
6484 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6485
6486         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6487
6488         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6489         (elmo-msgdb-flist-save): Ditto.
6490
6491         * elmo-shimbun.el (elmo-folder-list-subfolders):
6492         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6493         (elmo-folder-exists-p): Ditto.
6494
6495         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6496         argument for `shimbun-header-insert'.
6497
6498 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6499
6500         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6501         at first time.
6502
6503         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6504         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6505
6506 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6507
6508         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6509         (elmo-folder-plugged-p): Define.
6510         (elmo-folder-set-plugged): Ditto.
6511         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6512         (elmo-folder-list-messages-internal): Return t if unplugged.
6513         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6514
6515         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6516         when elmo-folder-list-messages-internal method of children returns t.
6517
6518         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6519         pair is nil.
6520         (elmo-folder-open-internal): Don't update if unplugged status.
6521
6522 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6523
6524         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6525         new message.
6526
6527 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6528
6529         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6530
6531         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6532         saving.
6533
6534 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6535
6536         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6537
6538         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6539         (elmo-folder-open-internal): Set up headers slot.
6540         (elmo-folder-check): Call elmo-folder-close-internal and
6541         elmo-folder-open-internal.
6542         (elmo-folder-close-internal): Clean up headers slot.
6543
6544 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6545
6546         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6547         exactly folder list.
6548         (elmo-folder-append-messages): Fixed append archive with prefix.
6549
6550         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6551         make temp files with start-number.
6552
6553         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6554
6555 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6556
6557         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6558         argument `visible-only'.
6559         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6560         instead of `if'.
6561
6562         * elmo-pop3.el (elmo-folder-open-internal): Check
6563         `elmo-inhibit-number-mapping' is non-nil.
6564
6565         * elmo-pipe.el (elmo-folder-status): Fixed.
6566
6567 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6568
6569         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6570
6571         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6572         (elmo-folder-open-internal): Setup `header-hash' slot.
6573         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6574         information.
6575         (elmo-map-message-fetch): Ditto.
6576
6577 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6578
6579         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6580         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6581         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6582         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6583
6584         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6585
6586 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6587
6588         * sb-airs.el: Added footer.
6589
6590         * shimbun.el (shimbun-article): Define as luna-method.
6591
6592         * sb-tcup.el: New file.
6593
6594         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6595         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6596
6597 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6598
6599         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6600         (shimbun-get-headers): Ditto.
6601
6602         * elmo.el: Moved obsolete variable definitions from
6603         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6604
6605         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6606         groups.
6607
6608         * shimbun.el: New file.
6609
6610         * elmo-shimbun.el: New file.
6611
6612         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6613         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6614         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6615         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6616
6617 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6618
6619         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6620         hierarchy is t.
6621
6622 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6623
6624         * elmo.el (elmo-folder-msgdb): Define as macro.
6625         (elmo-folder-open): Added argument `load-msgdb'.
6626         (elmo-generic-folder-open): Ditto.
6627         (elmo-folder-encache): New function.
6628
6629         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6630
6631         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6632
6633         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6634         Eliminated argument FOLDER and added argument MSGDB.
6635         (elmo-dop-queue-load): Moved from elmo-dop.el.
6636         (elmo-dop-queue-save): Ditto.
6637
6638         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6639
6640         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6641
6642         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6643         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6644         (elmo-filter-folder-list-importants-internal): Ditto.
6645
6646         * elmo-map.el (elmo-folder-pack-number): Ditto.
6647
6648         * elmo-mime.el (elmo-mime-message-display): Ditto.
6649
6650         * elmo.el (elmo-generic-folder-commit): Ditto.
6651         (elmo-folder-list-unreads): Ditto.
6652         (elmo-folder-list-importants): Ditto.
6653         (elmo-generic-folder-commit): Ditto.
6654         (elmo-message-set-mark): Ditto.
6655         (elmo-generic-folder-append-msgdb): Ditto.
6656         (elmo-folder-synchronize): Ditto.
6657         (elmo-folder-messages): Ditto.
6658         (elmo-init): Call elmo-dop-queue-load.
6659         (elmo-folder-list-messages): Ditto.
6660
6661         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6662         (elmo-nntp-folder-process-crosspost): Ditto.
6663         (elmo-folder-list-unreads-internal): Ditto.
6664
6665         * elmo-dop.el: Removed old functions.
6666
6667 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6668
6669         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6670         `folder' to `msgdb'.
6671
6672 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6673
6674         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6675         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6676
6677         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6678         case-fold-search.
6679
6680 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6681
6682         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6683         defined.
6684
6685         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6686         (mmimap-parse-parameters-from-list): Define as alias for
6687         `mime-decode-parameter-plist' if it is defined as function.
6688         (mmimap-make-mime-entity): Added argument `number'.
6689         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6690         as 0.
6691         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6692
6693         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6694
6695         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6696
6697         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6698
6699 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6700
6701         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6702
6703         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6704         when elmo-imap4-default-authenticate-type is nil.
6705         (elmo-folder-list-subfolders): Ditto
6706         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6707         (elmo-imap4-fetch-callback-1-subr): Renamed from
6708         `elmo-imap4-fetch-callback-1' and define as inline function.
6709         (elmo-imap4-fetch-callback-1):
6710         Renamed from `elmo-imap4-fetch-callback'.
6711         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6712
6713         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6714         msgdb path (To keep compatibility with main trunk).
6715
6716         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6717
6718         * elmo-util.el (elmo-make-file-cache): Moved position of
6719         some macros.
6720
6721         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6722         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6723         instead of `elmo-pop3-inhibit-uidl'.
6724         (elmo-folder-exists-p): Ditto.
6725         (elmo-pop3-folder-list-messages): Ditto.
6726
6727         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6728         instead of `elmo-pop3-inhibit-uidl'.
6729         (elmo-folder-status): Ditto.
6730
6731         * elmo-dop.el (elmo-dop-folder): New variable.
6732         (elmo-dop-lock-message): Eliminated.
6733         (elmo-dop-unlock-message): Ditto.
6734         (elmo-dop-lock-list-load): Ditto.
6735         (elmo-dop-lock-list-save): Ditto.
6736         (elmo-dop-delete-folder): Ditto.
6737         (elmo-dop-rename-folder): Ditto.
6738
6739         * elmo.el: Removed incomplete commentary.
6740
6741 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6742
6743         * elmo.el (toplevel): Require 'elmo-version first;
6744         for little `recursive-load-depth' settings.
6745         Fix "ends here" comment.
6746
6747 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6748
6749         * elmo-util.el (toplevel): Require 'poem;
6750         Some functions are moved from elmo-cache.el.
6751
6752         * elmo-net.el (toplevel): Require 'elmo-cache.
6753
6754         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6755
6756         * elmo.el (toplevel): Ditto.
6757
6758         * elmo-cache.el: Rewrite with luna;
6759         Some functions are moved to elmo-util.el.
6760
6761         * elmo-internal.el (elmo-internal-folder-list): New variable.
6762         (elmo-internal-folder-initialize): Rewrite.
6763         (elmo-folder-list-subfolders): Ditto.
6764
6765         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6766         (elmo-cache-collect-sub-directories): Ditto.
6767
6768 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6769
6770         * elmo-version.el (elmo-version): Up to 2.5.8.
6771
6772         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6773
6774         * elmo-util.el (elmo-list-insert): New function.
6775
6776 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6777
6778         * elmo.el (elmo-init): New function.
6779         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6780
6781         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6782         (Renamed from `elmo-localdir-header-chop-length').
6783
6784         * elmo-pop3.el (elmo-pop3-use-cache,
6785         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6786
6787         * elmo-nntp.el (elmo-message-fetch): Define.
6788         (elmo-message-fetch-unplugged): Ditto.
6789         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6790         (elmo-nntp-use-cache): Ditto.
6791         (elmo-nntp-max-number-precedes-list-active): Ditto.
6792
6793         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6794
6795         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6796         `elmo-msgdb-insert-file-header'.
6797         Use `elmo-msgdb-file-header-chop-length'.
6798
6799         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6800         `elmo-vars.el'.
6801
6802         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6803         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6804         `elmo-msgdb-insert-file-header'.
6805
6806         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6807         Use new variable;
6808         Define obsolete variables with `elmo-define-obsolete-variable',
6809
6810         * elmo-util.el (elmo-warning-buffer-name): New constant.
6811         (elmo-warning): New function.
6812         (elmo-obsolete-variable-alist): New variable.
6813         (elmo-obsolete-variable-show-warnings): New variable.
6814         (elmo-define-obsolete-variable): New function.
6815         (elmo-resque-obsolete-variable): Ditto.
6816         (elmo-resque-obsolete-variables): Ditto.
6817
6818 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6819
6820         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6821         Eliminated.
6822
6823         * elmo-pop3.el, elmo-nntp.el: Use custom.
6824
6825 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6826
6827         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6828         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6829
6830 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6831
6832         * Luna-fy Kenichi OKADA's following changes.
6833         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6834         `nohide'.
6835         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6836
6837 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6838
6839         * elmo-util.el (elmo-display-progress): Prefer
6840         `progress-feedback-with-label' to `lprogress-display'.
6841
6842 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6843
6844         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6845
6846 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6847
6848         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6849         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6850         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6851         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6852         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6853         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6854         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6855         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6856         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6857         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6858         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6859         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6860         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6861
6862 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6863
6864         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6865         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6866
6867 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6868
6869         * elmo.el (elmo-folder-process-crosspost): New generic method.
6870         (elmo-folder-writable-p): Ditto.
6871         (elmo-folder-message-appendable-p): Eliminated.
6872         (elmo-generic-folder-append-msgdb): Rewrite.
6873         (elmo-newsgroups-hashtb): New internal variable.
6874         (elmo-crosspost-message-set): Eliminated.
6875         (elmo-crosspost-message-delete): Ditto.
6876         (elmo-setup-subscribed-newsgroups): New function.
6877         (elmo-crosspost-message-alist-modified): New internal variable.
6878         (elmo-crosspost-message-alist-load): New function (Renamed from
6879         `wl-crosspost-alist-load').
6880         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6881         `wl-crosspost-alist-save').
6882
6883         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6884
6885         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6886         `unreads'.
6887         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6888         elmo-newsgroups-hashtb).
6889         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6890         `elmo-nntp-folder-update-crosspost-message-alist'.
6891         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6892         `elmo-nntp-groups-hashtb'.
6893         (elmo-nntp-make-groups-hashtb): Eliminated.
6894         (elmo-nntp-parse-newsgroups): New function (Renamed from
6895         `wl-parse-newsgroups').
6896         (elmo-folder-creatable-p, elmo-folder-writable-p,
6897         elmo-folder-close-internal, elmo-folder-mark-as-read,
6898         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6899         Define.
6900         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6901
6902         * elmo-net.el (elmo-message-fetch): Check buffer size.
6903
6904         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6905
6906         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6907
6908         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6909         before `close' command.
6910
6911         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6912         `mark-alist' (All other related portions are changed).
6913
6914 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-util.el (elmo-create-hash-size): Eliminated.
6917         (elmo-make-hash) Make a hash with `one less than a power of two'
6918         length.
6919
6920         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6921         (elmo-hash-maximum-size): Changed value.
6922
6923 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6924
6925         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6926         (elmo-mime-message-display-as-is): Ditto.
6927
6928 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6929
6930         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6931         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6932
6933 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6934
6935         * elmo-mark.el: New file.
6936
6937         * elmo-internal.el: Rewrite (Almost empty).
6938
6939 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6940
6941         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6942         (mime-imap-entity-header-string): Ditto.
6943         (mmimap-entity-section): Rewrite.
6944
6945 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6946
6947         * elmo-nmz.el: New file.
6948
6949         * elmo-pipe.el: Rewrite with luna.
6950
6951 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6952
6953         * elmo-archive.el: Rewrite with luna.
6954
6955         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6956         (elmo-folder-list-importants-internal): Ditto.
6957
6958 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6959
6960         * elmo-archive.el (elmo-archive-version): Abolish.
6961         (toplevel) Removed `boso' comment.
6962
6963 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6964
6965         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6966         elmo-msgdb-add-msgs-to-seen-list-subr;
6967         Changed argument seen-marks to unread-marks.
6968
6969         * elmo-nntp.el: Rewrite with luna.
6970
6971 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6972
6973         * elmo-filter.el: Rewrite with luna.
6974
6975 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6976
6977         * elmo-pop3.el: Rewrite with luna.
6978
6979 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6980
6981         * elmo-multi.el: Rewrite with luna.
6982
6983         * elmo-vars.el (elmo-use-killed-list): Abolish.
6984         All other related portions are changed.
6985         (elmo-filename-replace-string-alist): Renamed from
6986         elmo-msgid-replace-string-alist.
6987
6988 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6989
6990         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6991
6992         * elmo-map.el: New file.
6993         * elmo-maildir.el: Rewrite with luna.
6994
6995 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6996
6997         * elmo.el: Changed meaning of `elmo-folder-commit'.
6998         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6999
7000 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7001
7002         * elmo.el (elmo-folder-append-buffer): New function.
7003         (Renamed from `elmo-append-msg')
7004
7005 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7006
7007         * elmo-mime.el: New file.
7008
7009 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7010
7011         * elmo-cache.el: Rewrite.
7012
7013 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7014
7015         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7016
7017 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7018
7019         * elmo-vars.el (elmo): New group.
7020         (elmo-strict-diff-folder-regexp): New variable.
7021
7022         * elmo-util.el (elmo-call-func): Abolish.
7023         (elmo-folder-get-type): Ditto.
7024         (elmo-*-get-spec): Ditto.
7025         (elmo-*-spec-*): Ditto.
7026         (elmo-imap4-identical-name-space-p): Ditto.
7027         (elmo-folder-identical-system-p): Ditto.
7028         (elmo-folder-direct-copy-alist): Ditto.
7029         (elmo-folder-direct-copy-p): Ditto.
7030
7031         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7032         (elmo-folder-initialize): Define.
7033         (elmo-folder-get-primitive-list): Ditto.
7034
7035         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7036         (elmo-folder-initialize): Define.
7037         Renamed `elmo-network-session-host-internal' to
7038         `elmo-network-session-server-internal'.
7039
7040         * elmo-multi.el (elmo-multi-folder): New luna class.
7041         (elmo-folder-initialize): Define.
7042         (elmo-folder-get-primitive-list): Ditto.
7043         (elmo-folder-contains-type): Ditto.
7044         (elmo-message-use-cache-p): Ditto.
7045
7046         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7047         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7048
7049         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7050         (elmo-folder-initialize): Define.
7051
7052         * elmo-filter.el (elmo-filter-folder): New luna class.
7053         (elmo-folder-initialize): Define.
7054         (elmo-folder-get-primitive-list): Ditto.
7055         (elmo-folder-contains-type): Ditto.
7056
7057 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7058
7059         * elmo-imap4.el: Rewrite with luna.
7060
7061         * mmimap.el: New file.
7062
7063         * mmelmo.el, mmelmo-imap4.el: Removed.
7064
7065         * elmo-net.el: Ditto.
7066
7067         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7068         (elmo-folder-initialize): Define.
7069
7070         * elmo-archive.el (elmo-archive-folder): New luna class.
7071         (elmo-folder-initialize): Define.
7072
7073         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7074         `elmo-folder-msgdb-path'.
7075         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7076         `elmo-make-folder'.
7077
7078 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7079
7080         * elmo.el: New file.
7081
7082         * elmo2.el: Renamed to elmo.el.
7083
7084 \f
7085 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7086
7087         * elmo-cache.el (elmo-cache-expire-by-size): Count
7088         a disk usage for a cache file entry in KB even when
7089         its kind is a directory.
7090
7091 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7092
7093         * elmo-version.el (elmo-version): Up to 2.5.7.
7094
7095 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7096
7097         * elmo-version.el (elmo-version): Up to 2.5.6.
7098
7099 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7100
7101         * elmo-version.el (elmo-version): Up to 2.5.5.
7102
7103 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7104
7105         * elmo-imap4.el (elmo-network-authenticate-session):
7106         Fixed a logic for response checking.
7107
7108 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7109
7110         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7111         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7112         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7113         `sasl-mechanisms'.
7114
7115         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7116         for `starttls-open-stream' and `starttls-negotiate'.
7117
7118         * elmo-nntp.el: Remove autoload settings for
7119         `starttls-open-stream' and `starttls-negotiate'.
7120
7121         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7122         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7123         `luna-define-class' with `eval-and-compile'.
7124
7125 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7126
7127         * elmo-util.el (elmo-read-search-condition-internal):
7128         Require an element of table for searching field.
7129
7130 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7131
7132         * elmo-version.el (elmo-version): Up to 2.5.4.
7133
7134 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7135
7136         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7137
7138 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7139
7140         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7141
7142 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7143
7144         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7145         before greeting.
7146
7147 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7148
7149         * elmo-imap4.el (elmo-imap4-delete-folder):
7150         Send "close" before "delete" (Use commented out line).
7151         (elmo-imap4-rename-folder): Ditto.
7152
7153         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7154         folder string itself.
7155         (elmo-dop-list-deleted): New function.
7156         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7157         killed.
7158
7159         * elmo-util.el (elmo-string-rassoc-all): New function.
7160
7161 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7162
7163         * elmo-version.el (elmo-version): Up to 2.5.3.
7164
7165         * elmo-net.el (elmo-network-get-session): Changed logic for
7166         checking process status.
7167
7168         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7169         process is nil;
7170         Changed logic for checking process status.
7171
7172 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7173
7174         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7175         before greeting.
7176         (elmo-network-setup-session): Set UIDL hash size according to
7177         the length of list response.
7178         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7179         according to the length of list response;
7180         Return the length of list response.
7181         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7182
7183 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7184
7185         * elmo-imap4.el (toplevel): Require 'ssl.
7186         Add autoload 'starttls.
7187         * elmo-pop3.el (toplevel): Ditto.
7188         * elmo-nntp.el (toplevel): Ditto.
7189
7190 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7191
7192         * elmo-imap4.el (toplevel): defun at compile time.
7193         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7194         sasl-next-step, sasl-step-data, sasl-step-set-data.
7195         * elmo-pop3.el (toplevel): Ditto.
7196
7197 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7198
7199         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7200
7201 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7202
7203         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7204         if error.
7205         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7206         and `elmo-pop-auth-apop'.
7207
7208 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7209
7210         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7211
7212 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7213
7214         * elmo-pop3.el (elmo-network-authenticate-session): Split
7215         encoded response value.
7216
7217 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7218
7219         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7220         `elmo-pop3-force-login'.
7221         Redefine `sasl-mechanisms'.
7222         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7223
7224 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7225
7226         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7227         Delete `elmo-imap4-authenticator-alist'.
7228         (elmo-imap4-auth-cram-md5): Delete.
7229         (elmo-imap4-auth-digest-md5): Delete.
7230
7231 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7232
7233         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7234         (elmo-pop3-auth-scram-md5): Ditto.
7235         (elmo-pop3-auth-cram-md5): Ditto.
7236
7237 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7238
7239         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7240         Delete `elmo-pop3-authenticator-alist'.
7241
7242 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7243
7244         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7245         new SASL API.
7246         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7247
7248 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7249
7250         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7251
7252 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7253
7254         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7255         Fixed problem when `elmo-pop3-use-uidl' is nil.
7256         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7257
7258 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7259
7260         * elmo-version.el (elmo-version): Up to 2.5.2.
7261
7262 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7263
7264         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7265         New function.
7266         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7267         (elmo-pop3-msgdb-create-as-numlist): Use it.
7268
7269         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7270         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7271
7272         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7273         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7274
7275 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7276
7277         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7278         when elmo-mark-as-read is called with second argument nil.
7279
7280 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7281
7282         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7283         Moved to elmo-util.el.
7284
7285         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7286         Moved from elmo-pipe.el
7287
7288         * elmo-archive.el (elmo-archive-call-process): Enclose with
7289         static-if.
7290
7291         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7292         "RFC822" (because RFC822.PEEK is obsolete).
7293         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7294
7295 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7296
7297         * elmo-archive.el (elmo-archive-call-process): Don't check for
7298         the exit status when Nemacs is running.
7299
7300 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7301
7302         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7303         'plain.
7304
7305         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7306         (elmo-pop3-get-spec): Set default of auth to 'user.
7307
7308         * elmo-imap4.el (elmo-imap4-session-check):
7309         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7310         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7311         (elmo-imap4-auth-login): New function; Revival.
7312         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7313         `elmo-imap4-auth-login'.
7314
7315 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7316
7317         * elmo2.el (toplevel): Move `product-provide' declare.
7318         * mmelmo.el (toplevel): Ditto.
7319
7320 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7321
7322         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7323
7324 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7325
7326         * elmo-util.el (elmo-folder-get-store-type): New function.
7327         (elmo-folder-direct-copy-p): Use it.
7328
7329 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7330
7331         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7332         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7333         and result of `elmo-imap4-use-flag-p'.
7334         (elmo-imap4-fetch-callback-1): Set mark according to
7335         the result of `elmo-imap4-use-flag-p'.
7336
7337 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7338
7339         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7340         (elmo-generic-list-folder-unread): Ditto.
7341         (elmo-folder-get-info): Ditto.
7342         (elmo-folder-set-info-max-by-numdb): Ditto.
7343         (elmo-folder-get-info-max): Ditto.
7344         (elmo-folder-get-info-length): Ditto.
7345         (elmo-folder-get-info-unread): Ditto.
7346         (elmo-folder-info-make-hashtb): Ditto.
7347
7348         * elmo2.el: Removed above functions.
7349
7350 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7351
7352         * elmo-imap4.el (toplevel): Require 'ssl.
7353         Add autoload 'starttls.
7354         * elmo-pop3.el (toplevel): Ditto.
7355         * elmo-nntp.el (toplevel): Ditto.
7356
7357 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7358
7359         * elmo-imap4.el (toplevel): defun at compile time.
7360         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7361         sasl-next-step, sasl-step-data, sasl-step-set-data.
7362         * elmo-pop3.el (toplevel): Ditto.
7363
7364 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7365
7366         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7367
7368 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7369
7370         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7371         if error.
7372         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7373         and `elmo-pop-auth-apop'.
7374
7375 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7376
7377         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7378
7379 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7380
7381         * elmo-pop3.el (elmo-network-authenticate-session): Split
7382         encoded response value.
7383
7384 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7385
7386         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7387         `elmo-pop3-force-login'.
7388         Redefine `sasl-mechanisms'.
7389         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7390
7391 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7392
7393         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7394         Delete `elmo-imap4-authenticator-alist'.
7395         (elmo-imap4-auth-cram-md5): Delete.
7396         (elmo-imap4-auth-digest-md5): Delete.
7397
7398 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7399
7400         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7401         (elmo-pop3-auth-scram-md5): Ditto.
7402         (elmo-pop3-auth-cram-md5): Ditto.
7403
7404 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7405
7406         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7407         Delete `elmo-pop3-authenticator-alist'.
7408
7409 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7410
7411         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7412         new SASL API.
7413         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7414
7415 \f
7416 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7417
7418         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7419
7420 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7421
7422         * elmo-nntp.el (elmo-nntp-get-folders-info):
7423         Fixed problem when '\' character is contained in user-id.
7424         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7425
7426 \f
7427 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7428
7429         * elmo-imap4.el (elmo-imap4-delete-folder):
7430         Send "close" before "delete" (Use commented out line).
7431         (elmo-imap4-rename-folder): Ditto.
7432
7433         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7434         folder string itself.
7435         (elmo-dop-list-deleted): New function.
7436         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7437         killed.
7438
7439         * elmo-util.el (elmo-string-rassoc-all): New function.
7440
7441         * elmo-version.el (elmo-version): Up to 2.5.1.
7442
7443 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7444
7445         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7446
7447         * elmo-internal.el (elmo-internal-search): Fix last change.
7448
7449 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7450
7451         * elmo-internal.el (elmo-internal-search): Rewrite.
7452         (Fixed problem which is pointed out by Akihiro MOTOKI
7453         <motoki@da.jp.nec.com>)
7454
7455         * elmo-version.el (elmo-version): Up to 2.5.0.
7456
7457 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7458
7459         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7460
7461 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7462
7463         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7464         non-nil, make hierarchy.
7465
7466 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7467
7468         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7469         `elmo-pop3-use-uidl' must be bound to nil.
7470         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7471
7472 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7473
7474         * elmo-util.el (elmo-copy-file): Don't cause an error after
7475         `add-name-to-file' failed.
7476
7477         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7478         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7479
7480 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7481
7482         * elmo-version.el (elmo-version): Up to 2.3.93.
7483
7484 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7485
7486         * elmo-util.el (elmo-flatten): New function.
7487
7488 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7489
7490         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7491         sync Author header.
7492         * elmo-cache.el (toplevel): Ditto.
7493         * elmo-database.el (toplevel): Ditto.
7494         * elmo-date.el (toplevel): Ditto.
7495         * elmo-dop.el (toplevel): Ditto.
7496         * elmo-filter.el (toplevel): Ditto.
7497         * elmo-imap4.el (toplevel): Ditto.
7498         * elmo-internal.el (toplevel): Ditto.
7499         * elmo-localdir.el (toplevel): Ditto.
7500         * elmo-localnews.el (toplevel): Ditto.
7501         * elmo-maildir.el (toplevel): Ditto.
7502         * elmo-msgdb.el (toplevel): Ditto.
7503         * elmo-multi.el (toplevel): Ditto.
7504         * elmo-net.el (toplevel): Ditto.
7505         * elmo-nntp.el (toplevel): Ditto.
7506         * elmo-pipe.el (toplevel): Ditto.
7507         * elmo-pop3.el (toplevel): Ditto.
7508         * elmo-util.el (toplevel): Ditto.
7509         * elmo-vars.el (toplevel): Ditto.
7510         * elmo2.el (toplevel): Ditto.
7511         * mmelmo-imap4.el (toplevel): Ditto.
7512         * mmelmo.el (toplevel): Ditto.
7513
7514         * elmo-version.el (elmo-version): Move to top.
7515
7516         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7517         * elmo-imap4.el (toplevel): Ditto.
7518         * elmo-localdir.el (toplevel): Ditto.
7519         * elmo-msgdb.el (toplevel): Ditto.
7520         * elmo-nntp.el (toplevel): Ditto.
7521         * elmo-pop3.el (toplevel): Ditto.
7522         * elmo-version.el (toplevel): Ditto.
7523
7524         * elmo-localnews.el (toplevel): Added Keyword header.
7525
7526 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7527
7528         * elmo-version.el (product-version-as-string): Defined using
7529         `defun-maybe'.
7530         (toplevel): Use it.
7531
7532         * elmo-localdir.el (toplevel): Updated copyright notice.
7533         * elmo-version.el (toplevel): Ditto.
7534         * elmo-msgdb.el (toplevel): Ditto.
7535         * elmo-imap4.el (toplevel): Ditto.
7536         * elmo-nntp.el (toplevel): Ditto.
7537         * elmo-pop3.el (toplevel): Ditto.
7538
7539 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7540
7541         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7542         messages.
7543
7544         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7545         parameter value (It sometimes contains raw kanji).
7546
7547 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7548
7549         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7550         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7551
7552 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7553
7554         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7555
7556 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7557
7558         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7559         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7560
7561 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7562
7563         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7564         value if selecting folder succceeded.
7565         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7566
7567 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7568
7569         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7570         representation.
7571
7572         * elmo-util.el (elmo-string-matched-member): New function.
7573
7574 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7575
7576         * elmo-util.el (elmo-unintern): New macro.
7577         (elmo-number-set-member): Fixed docstring.
7578
7579         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7580         tag token.
7581
7582 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7583
7584         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7585         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7586
7587 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7588
7589         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7590         `no-error'.
7591         Added docstring.
7592         Return non-nil if selecting folder succeeded.
7593         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7594
7595 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7596
7597         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7598         `file-name-completion' returns t.
7599         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7600         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7601         directory if it does not exist.
7602         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7603         for iteration.
7604
7605 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7606
7607         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7608         enclosure (It's harmful in unplugged status).
7609
7610         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7611
7612         * mmelmo-1.el: Removed.
7613
7614         * mmelmo-2.el: Ditto.
7615
7616         * mmelmo-imap4-1.el: Ditto.
7617
7618         * mmelmo-imap4-2.el: Ditto.
7619
7620         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7621
7622         * mmelmo.el: Merged mmelmo-2.el.
7623
7624         * elmo-version.el (elmo-version): Up to 2.3.92.
7625
7626 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7627
7628         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7629         elmo-update-number): Remove last period in "...done." message.
7630         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7631         Ditto.
7632         * elmo-cache.el (elmo-cache-expire-by-size,
7633         elmo-cache-get-sorted-cache-file-list,
7634         elmo-cache-msgdb-create-as-numlist): Ditto.
7635         * elmo-dop.el (elmo-dop-save-pending-messages,
7636         (elmo-dop-flush-pending-append-operations): Ditto.
7637         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7638         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7639         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7640         (elmo-localdir-pack-number): Ditto.
7641         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7642         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7643         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7644         mime-write-entity-content): Ditto.
7645         * pldap.el (ldap-search-basic): Ditto.
7646
7647 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7648
7649         * elmo-version.el (elmo-version): Up to 2.3.91.
7650
7651         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7652         Only when filter is 'last'.
7653
7654         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7655         (elmo-condition-parse-search-value): Use it.
7656         (elmo-read-search-condition-internal): Quote value only when
7657         it is not an atom.
7658
7659 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7660
7661         * elmo2.el (elmo-generic-folder-diff): Fix.
7662
7663 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7664
7665         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7666         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7667         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7668         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7669         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7670         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7671
7672 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7673
7674         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7675         extra-fields.
7676
7677 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-version.el (elmo-version): Up to 2.3.90.
7680
7681         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7682         (elmo-imap4-list-folder-important): Ditto.
7683
7684 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7685
7686         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7687
7688 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7689
7690         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7691
7692 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7693
7694         * elmo-nntp.el (elmo-network-initialize-session):
7695         Add starttls negotiation.
7696
7697 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7698
7699         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7700         response.
7701         (elmo-network-setup-session): Define.
7702         Call `elmo-nntp-send-mode-reader' when session opened.
7703
7704 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7705
7706         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7707
7708 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7709
7710         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7711         an invalid SPACE character ahead of `SEARCH' command.  Move
7712         a valid SPACE character following `SEARCH' from conditional
7713         `format' arguments to control-strings.
7714
7715 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7716
7717         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7718         was succeeded.
7719
7720         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7721
7722 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7723
7724         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7725         `w32-get-true-file-link-count' as t.
7726
7727         * elmo-imap4.el (elmo-imap4-read): Abolished.
7728         (Renamed to `elmo-read' and moved to elmo-util.el)
7729         All other related portions are changed.
7730
7731         * elmo-util.el (elmo-read): New function.
7732         (elmo-condition-parse-search-value): Use it.
7733
7734 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7735
7736         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7737
7738         * elmo-nntp.el (elmo-nntp-session): Define.
7739         (elmo-nntp-setting): Abolished.
7740         All other related portions are changed.
7741         (elmo-nntp-get-server-command): Changed argument.
7742         (elmo-nntp-set-server-command): Ditto.
7743         (elmo-nntp-xover-p): Ditto.
7744         (elmo-nntp-set-xover): Ditto.
7745         (elmo-nntp-listgroup-p): Ditto.
7746         (elmo-nntp-set-listgroup): Ditto.
7747         (elmo-nntp-list-active-p): Ditto.
7748         (elmo-nntp-set-list-active): Ditto.
7749         (elmo-nntp-xhdr-p): Ditto.
7750         (elmo-nntp-set-xhdr): Ditto.
7751         (elmo-nntp-flush-connection): Abolished.
7752         (elmo-nntp-get-connection): Abolished.
7753         (elmo-nntp-get-session): New function.
7754         (elmo-network-initialize-session): Defined.
7755         (elmo-network-authenticate-session): Ditto.
7756         (elmo-nntp-send-mode-reader): Changed argument.
7757         (elmo-nntp-send-command): Changed argument.
7758         All other related portions are changed.
7759         (elmo-nntp-read-response): Ditto.
7760         (elmo-nntp-read-raw-response): Ditto.
7761         (elmo-nntp-read-contents): Ditto.
7762         (elmo-nntp-read-body): Ditto.
7763         (elmo-nntp-goto-folder): Abolished.
7764         (elmo-nntp-select-group): New function.
7765         All other related portions are changed.
7766         (This function substitutes `elmo-nntp-goto-folder')
7767         (elmo-nntp-msgdb-create-by-header): Rewrite.
7768         (elmo-nntp-get-overview): Eliminated.
7769         (elmo-nntp-get-message): Ditto.
7770         (elmo-nntp-open-connection) Abolished.
7771         (elmo-nntp-read-msg): Rewrite.
7772         (elmo-nntp-post): Ditto.
7773         (elmo-nntp-send-data): Abolished.
7774         (elmo-nntp-send-buffer): New function.
7775         (elmo-nntp-send-data-line): Define as inline function.
7776         (elmo-nntp-get-folders-info-prepare): Use session as key.
7777         (elmo-nntp-groups-read-response): Changed argument.
7778         (elmo-nntp-retrieve-headers): Ditto.
7779         (elmo-nntp-msgdb-create-message): Ditto.
7780
7781         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7782         when searching by 'since' or 'before'.
7783
7784 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7785
7786         * elmo-version.el (toplevel): Use product-version-as-string for set
7787         verstion-string, if defined.
7788
7789 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7790
7791         * elmo-util.el: Doc fixes.
7792
7793 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7794
7795         * elmo-archive.el (toplevel): Use product-provide.
7796         * elmo-cache.el (toplevel): Ditto.
7797         * elmo-database.el (toplevel): Ditto.
7798         * elmo-date.el (toplevel): Ditto.
7799         * elmo-dop.el (toplevel): Ditto.
7800         * elmo-filter.el (toplevel): Ditto.
7801         * elmo-imap4.el (toplevel): Ditto.
7802         * elmo-internal.el (toplevel): Ditto.
7803         * elmo-localdir.el (toplevel): Ditto.
7804         * elmo-localnews.el (toplevel): Ditto.
7805         * elmo-maildir.el (toplevel): Ditto.
7806         * elmo-msgdb.el (toplevel): Ditto.
7807         * elmo-multi.el (toplevel): Ditto.
7808         * elmo-net.el (toplevel): Ditto.
7809         * elmo-nntp.el (toplevel): Ditto.
7810         * elmo-pipe.el (toplevel): Ditto.
7811         * elmo-pop3.el (toplevel): Ditto.
7812         * elmo-util.el (toplevel): Ditto.
7813         * elmo-vars.el (toplevel): Ditto.
7814         * elmo2.el (toplevel): Ditto.
7815         * mmelmo-1.el (toplevel): Ditto.
7816         * mmelmo-2.el (toplevel): Ditto.
7817         * mmelmo-imap4-1.el (toplevel): Ditto.
7818         * mmelmo-imap4-2.el (toplevel): Ditto.
7819         * mmelmo-imap4.el (toplevel): Ditto.
7820         * mmelmo.el (toplevel): Ditto.
7821
7822 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7823
7824         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7825         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7826
7827 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7828
7829         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7830         before splitting.
7831         (elmo-multi-split-number-alist): Ditto.
7832
7833 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7834
7835         * elmo-version.el: New file.  Use product.el.
7836         * elmo2.el: Add (require 'elmo-version).
7837         * elmo-vars.el (elmo-appname, elmo-version): Move to
7838         elmo-version.el
7839
7840 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7841
7842         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7843         `elmo-msgdb-expand-path'.
7844         (elmo-msgdb-load): Ditto.
7845         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7846         (elmo-generic-list-folder-unread): Rewrite.
7847         (elmo-generic-list-folder-important): Changed argument.
7848         (elmo-list-folder-unread): Ditto.
7849         (elmo-list-folder-important): Ditto.
7850         (elmo-folder-diff): Rewrite.
7851         (elmo-generic-folder-diff): New function.
7852         (elmo-multi-get-number-alist-list): Abolished
7853         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7854         (elmo-multi-folder-diff): Moved to elmo-multi.el
7855         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7856
7857         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7858         `elmo-msgdb-expand-path'.
7859         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7860         (elmo-pop3-read-msg): Ditto.
7861         (elmo-pop3-delete-msgs): Ditto.
7862         (elmo-pop3-folder-diff): New alias.
7863
7864         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7865         `elmo-msgdb-expand-path'.
7866         (elmo-pipe-list-folder-unread): Changed arguments.
7867         (elmo-pipe-list-folder-important): Ditto.
7868         (elmo-pipe-folder-diff): New alias.
7869
7870         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7871         `elmo-msgdb-expand-path'.
7872         (elmo-nntp-max-of-folder): Ditto.
7873         (elmo-nntp-msgdb-create): Ditto.
7874         (elmo-nntp-delete-msgs): Ditto.
7875         (elmo-nntp-folder-diff): New alias.
7876
7877         * elmo-multi.el (elmo-multi-folder-diff): New function.
7878         (elmo-multi-split-mark-alist): Ditto.
7879         (elmo-multi-split-number-alist): Ditto.
7880         (elmo-multi-mark-alist-list): Abolished (Renamed to
7881         elmo-multi-split-mark-alist).
7882         (elmo-multi-list-folder-unread): Rewrite.
7883         (elmo-multi-list-folder-important): Ditto.
7884         (elmo-multi-list-folder): Set `spec' as 1st argument for
7885         `elmo-msgdb-expand-path'.
7886         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7887         instead of `elmo-multi-get-number-alist-list'.
7888
7889         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7890         If 1st argument is not string, treat as spec.
7891         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7892         `elmo-msgdb-expand-path'.
7893         (elmo-msgdb-flist-load): Ditto.
7894         (elmo-msgdb-flist-save): Ditto.
7895         (elmo-msgdb-delete-path): Ditto.
7896         (elmo-msgdb-rename-path): Ditto.
7897
7898         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7899         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7900         (elmo-maildir-delete-mark-msgs): Ditto.
7901         (elmo-maildir-msgdb-create): Ditto.
7902         (elmo-maildir-read-msg): Ditto.
7903         (elmo-maildir-delete-msgs): Ditto.
7904         (elmo-maildir-list-folder-subr): Ditto.
7905         (elmo-maildir-search): Ditto.
7906         (elmo-maildir-get-msg-filename): Ditto.
7907         (elmo-maildir-pack-number): Ditto.
7908         (elmo-maildir-folder-diff): New alias.
7909
7910         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7911
7912         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7913         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7914         (elmo-localdir-folder-diff): New alias.
7915
7916         * elmo-internal.el (elmo-internal-list-folder-subr):
7917         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7918         (elmo-internal-list-folder-by-location): Ditto.
7919         (elmo-internal-msgdb-create): Ditto.
7920         (elmo-internal-delete-msgs): Ditto.
7921         (elmo-internal-read-msg): Ditto.
7922         (elmo-internal-folder-diff): New alias.
7923
7924         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7925         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7926         `elmo-msgdb-expand-path'.
7927         (elmo-imap4-list-folder-unread): Changed arguments.
7928         (elmo-imap4-list-folder-important): Ditto.
7929
7930         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7931         (elmo-filter-list-folder-important): Ditto.
7932         (elmo-filter-folder-diff): New function.
7933
7934         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7935
7936         * elmo-cache.el (elmo-cache-list-folder):
7937         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7938         (elmo-cache-copy-msgs): Ditto.
7939         (elmo-cache-folder-diff): New alias.
7940
7941         * elmo-archive.el (elmo-archive-list-folder-subr):
7942         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943         (elmo-archive-get-archive-name): Ditto.
7944         (elmo-archive-create-file): Ditto.
7945         (elmo-archive-append-msg): Ditto.
7946         (elmo-archive-copy-msgs): Ditto.
7947         (elmo-archive-copy-msgs-froms): Ditto.
7948         (elmo-archive-get-msg-filename): Ditto.
7949         (elmo-archive-folder-diff): New alias.
7950
7951 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7952
7953         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7954         (elmo-pop3-stream-type-alist): New variable.
7955         (elmo-nntp-stream-type-alist): New variable.
7956
7957         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7958         (elmo-kill-buffer): Ditto.
7959         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7960         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7961         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7962         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7963         (elmo-imap4-get-spec): Take into account
7964         `elmo-imap4-stream-type-alist'.
7965
7966 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7967
7968         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7969         (elmo-nntp-list-folders-get-cache): Ditto.
7970
7971 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7972
7973         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7974         character before 'uid'.
7975
7976 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7977
7978         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7979
7980         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7981
7982         * elmo-util.el (elmo-number-set-member): New function.
7983         (elmo-number-set-append-list): Ditto.
7984         (elmo-number-set-append): Ditto.
7985
7986         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7987         Use `elmo-number-set-member'.
7988         (elmo-living-messages): Ditto.
7989         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7990         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7991
7992         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7993         (elmo-imap4-add-to-cont-list): Abolished.
7994         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7995         instead of elmo-imap4-add-to-cont-list.
7996
7997         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7998         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7999
8000         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8001
8002 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8003
8004         * elmo-util.el (elmo-condition-parse-search-value):
8005         Fixed date parsing.
8006
8007 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8008
8009         * elmo-util.el (elmo-condition-find-key-internal): New function.
8010         (elmo-condition-find-key): Ditto.
8011
8012         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8013         (elmo-msgdb-search-internal): Ditto.
8014         (elmo-msgdb-search): Ditto.
8015
8016 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8017
8018         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8019         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8020
8021         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8022         (elmo-nntp-search-primitive): Fixed problem when condition is
8023         'unmatch'.
8024
8025         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8026
8027         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8028         (elmo-nntp-xhdr-p): New macro.
8029         (elmo-nntp-set-xhdr): Ditto.
8030         (elmo-nntp-parse-xhdr-response): New function.
8031         (elmo-nntp-retrieve-field): Ditto.
8032         (elmo-nntp-search-primitive): Ditto.
8033         (elmo-nntp-search): Implemented.
8034
8035         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8036
8037         * elmo-archive.el (elmo-archive-search): Set all number list to
8038         `elmo-archive-field-condition-match'
8039
8040         * elmo-localdir.el (elmo-localdir-search): Likewise.
8041
8042         * elmo-maildir.el (elmo-maildir-search): Likewise.
8043
8044 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8045
8046         * elmo-msgdb.el (elmo-living-messages): New function.
8047         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8048         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8049         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8050         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8051         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8052         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8053         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8054         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8055         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8056         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8057         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8058
8059 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8060
8061         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8062
8063         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8064
8065         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8066
8067         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8068         arguments for `SEARCH' command.
8069         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8070         All other related portions are changed.
8071
8072         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8073
8074         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8075         (elmo-list-folder-unread): Rewrite.
8076         (elmo-list-folder-important): Ditto.
8077
8078         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8079         (elmo-condition-parse-error): New inline function.
8080         (elmo-read-search-condition): New function.
8081         (elmo-read-search-condition-internal): Ditto.
8082         (elmo-parse-search-condition): Rewrite.
8083         (elmo-condition-parse): New function.
8084         (elmo-condition-parse-or-expr): Ditto.
8085         (elmo-condition-parse-and-expr): Ditto.
8086         (elmo-condition-parse-primitive): Ditto.
8087         (elmo-condition-parse-search-value): Ditto.
8088         (elmo-buffer-field-primitive-condition-match): Ditto.
8089         (elmo-buffer-field-condition-match): Rewrite.
8090         (elmo-file-field-condition-match): Ditto.
8091
8092         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8093         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8094
8095         * elmo-internal.el (elmo-internal-search): Set `number' and
8096         `number-list' argument of `elmo-file-field-condition-match'.
8097
8098         * elmo-maildir.el (elmo-maildir-search): Ditto.
8099
8100         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8101         `msgdb' as argument instead of `mark-alist'.
8102         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8103         `overview'.
8104
8105         * elmo-multi.el: Likewise.
8106
8107         * elmo-pipe.el: Likewise.
8108
8109         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8110         (elmo-imap4-search-internal): Rewrite.
8111         (elmo-imap4-search): Ditto.
8112
8113         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8114         (elmo-filter-list-folder-unread): Ditto.
8115         (elmo-filter-list-folder-important): Ditto.
8116         (elmo-filter-search): Rewrite.
8117
8118         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8119         `number-list' argument of `elmo-file-field-condition-match'.
8120         (elmo-cache-search): Ditto.
8121
8122         * elmo-localdir.el: Likewise.
8123
8124         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8125         number-list and pass it to `elmo-buffer-field-condition-match'.
8126         (elmo-archive-field-condition-match): Pass `number-list' to
8127         `elmo-archive-field-condition-match'
8128
8129 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8130
8131         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8132         `listgroup'.
8133
8134         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8135         (elmo-folder-diff-async-callback-data): Ditto.
8136         (elmo-folder-diff-async): New function.
8137
8138         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8139         (elmo-network-session-cache-key): Use it as a prefix of the session
8140         name.
8141         (elmo-network-open-session): Ditto.
8142
8143         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8144         (elmo-imap4-status-callback-data): Ditto.
8145         (elmo-imap4-server-diff-async-callback): New variable.
8146         (elmo-imap4-server-diff-async-callback-data): Ditto.
8147         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8148         `elmo-imap4-status-callback-data'.
8149         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8150         `elmo-imap4-status-callback-data' as nil.
8151         (elmo-imap4-server-diff): Ditto.
8152         (elmo-imap4-server-diff-async-callback-1): New function.
8153         (elmo-imap4-server-diff-async): Ditto.
8154         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8155
8156 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8157
8158         * elmo-util.el (elmo-list-delete): Doc fix.
8159         (elmo-delete-lists): Abolish.
8160         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8161         instead of `elmo-delete-lists'.
8162
8163 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8164
8165         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8166         before `sort'.
8167
8168 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8169
8170         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8171         `elmo-imap4-literal-subr'.
8172         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8173         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8174
8175 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8176
8177         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8178         (elmo-archive-list-folder): Fix.
8179         (elmo-archive-max-of-folder): Fix.
8180
8181 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8182
8183         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8184          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8185         (elmo-localdir-append-msg): Ditto.
8186         (elmo-localdir-list-folder): Fix for `nonsort'.
8187         (elmo-localdir-list-folder-subr): Fix for `killed'.
8188         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8189         (elmo-maildir-list-folder-subr): Ditto.
8190         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8191         (elmo-archive-list-folder-subr): Ditto.
8192         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8193         (elmo-internal-list-folder-subr): Ditto.
8194
8195 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8196
8197         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8198
8199 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8200
8201         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8202
8203 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8204
8205         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8206         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8207
8208         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8209         before greeting.
8210         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8211         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8212
8213 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8214
8215         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8216
8217         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8218         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8219         before STORE command.
8220
8221 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8222
8223         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8224
8225         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8226         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8227         of `response'.
8228         (elmo-imap4-list-folders): Removed unused local variable.
8229         (elmo-network-initialize-session): Ditto.
8230         (elmo-imap4-delete-msg-by-id): Ditto.
8231         (elmo-imap4-parse-fetch): Ditto.
8232         (elmo-imap4-copy-msgs): Ditto.
8233         Use `dst-spec' instead of `dst-folder'.
8234         (elmo-network-authenticate-session): Check authenticate type `plain'.
8235
8236 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8237
8238         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8239         garbage checking.
8240         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8241         `elmo-imap4-response-value'.
8242         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8243
8244 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8245
8246         * elmo-imap4.el (elmo-imap4-send-command):
8247         Cause elmo-imap4-bye-error when current response is BYE.
8248         (elmo-imap4-arrival-filter): Changed greeting response value.
8249
8250         * elmo2.el (elmo-imap4-bye-error): Define.
8251
8252         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8253         (elmo-imap4-server-diff): Ditto.
8254         (elmo-imap4-response-bye-p): New macro.
8255         (elmo-imap4-response-error-text): Get text from BYE response.
8256         (elmo-imap4-read-response): Return if BYE response.
8257         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8258         (elmo-imap4-folder-exists-p): Ditto.
8259         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8260         (elmo-imap4-parse-bye): New function.
8261         (elmo-imap4-parse-response): Remove needless let.
8262         Call `elmo-imap4-parse-bye'.
8263
8264 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8265
8266         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8267         the mailbox does not exist.
8268         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8269
8270 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8271
8272         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8273
8274 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8275
8276         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8277
8278         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8279         (elmo-network-initialize-session-buffer): Defined.
8280
8281         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8282         Abolished.
8283         (mmelmo-imap4-get-mime-entity): Rewrite.
8284
8285         * elmo2.el (elmo-error): Capitalize error message.
8286
8287         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8288         (elmo-network-session-buffer): New macro.
8289         (elmo-network-open-session): Use it.
8290
8291         * elmo-imap4.el: Rewrite.
8292
8293 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8294
8295         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8296
8297 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8298
8299         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8300         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8301         (elmo-imap4-create-msgdb-from-overview-string): Use
8302         `elmo-msgdb-create-overview-from-buffer'.
8303
8304 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8305
8306         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8307         (elmo-imap4-default-hierarchy-delimiter): New variable.
8308         (elmo-imap4-list-folders): Use it.
8309
8310 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8311
8312         * elmo-net.el (elmo-network-open-session): Add user and
8313         stream-type for process-buffer name.
8314
8315         * elmo-pop3.el (elmo-network-initialize-session): Call
8316         buffer-disable-undo.
8317
8318         * elmo-imap4.el (elmo-network-initialize-session):
8319         Set current-buffer as an argument for `buffer-disable-undo'.
8320
8321         * elmo-pop3.el (elmo-network-close-session): Don't use
8322         `process-live-p'.
8323
8324         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8325         Set default as 'user.
8326
8327         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8328
8329         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8330         and `elmo-imap4-flush-connection'.
8331
8332         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8333         (elmo-pop3-get-spec): Assume auth as symbol.
8334         (elmo-open-network-stream): Moved to `elmo-net'.
8335
8336         * elmo-pop3.el (toplevel): Require 'elmo-net.
8337         Define `sasl-cram-md5' to silence byte compilier.
8338         (elmo-pop3-connection-cache) Abolished.
8339         (elmo-pop3-authenticator-alist) New variable.
8340         (elmo-pop3-session): Define.
8341         (elmo-pop3-connection-get-process): Abolished.
8342         (elmo-pop3-connection-get-buffer): Ditto.
8343         (elmo-pop3-close-connection): Ditto.
8344         (elmo-pop3-flush-connection): Ditto.
8345         (elmo-pop3-get-connection): Ditto.
8346         (elmo-pop3-get-session): New function.
8347         (Replacement for `elmo-pop3-get-connection').
8348         All other related modules are changed.
8349         (elmo-network-close-session): Define.
8350         (elmo-pop3-send-command): Abolished argument `buffer'.
8351         All other related modules are changed.
8352         (elmo-pop3-read-response): Likewise.
8353         (elmo-pop3-open-connection): Abolished.
8354         (elmo-pop3-auth-user): New function.
8355         (elmo-pop3-auth-apop): Ditto.
8356         (elmo-pop3-auth-cram-md5): Ditto.
8357         (elmo-pop3-auth-scram-md5): Ditto.
8358         (elmo-pop3-auth-digest-md5): Ditto.
8359         (elmo-network-initialize-session): Define.
8360         (elmo-network-authenticate-session): Ditto.
8361         (elmo-network-setup-session): Ditto.
8362
8363         * elmo-imap4.el (toplevel): Require 'elmo-net.
8364         (elmo-imap4-session): Define.
8365         (elmo-imap4-connection-cache): Abolished.
8366         (elmo-imap4-password-key): Ditto.
8367         (elmo-imap4-flush-connection): Ditto.
8368         (elmo-imap4-get-connection): Ditto.
8369         All other related modules are changed.
8370         (elmo-imap4-get-session): New function
8371         (Replacement for `elmo-imap4-get-connection').
8372         (elmo-imap4-read-response): Abolished argument `buffer'.
8373         All other related modules are changed.
8374         (elmo-imap4-send-command): Likewise.
8375         (elmo-imap4-select-folder): Abolished.
8376         All other related modules are changed.
8377         (elmo-imap4-select-mailbox): New function.
8378         (Replacement for `elmo-imap4-select-folder').
8379         (elmo-imap4-auth-login): Simplify.
8380         (Assume current buffer as process buffer)
8381         (elmo-imap4-auth-cram-md5): Ditto.
8382         (elmo-imap4-auth-digest-md5): Ditto.
8383         (elmo-imap4-login): Ditto.
8384         (elmo-imap4-open-connection): Abolished.
8385         (elmo-imap4-open-connection-1): Abolished.
8386         (elmo-network-initialize-sessoin): Define.
8387         (elmo-network-authenticate-session): Ditto.
8388         (elmo-network-setup-session): Ditto.
8389
8390         * elmo-net.el: New module.
8391
8392 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8393
8394         * elmo-util.el (elmo-define-error): New function.
8395
8396         * elmo2.el (elmo-error): Define.
8397         (elmo-open-error): Define.
8398         (elmo-authenticate-error): Define.
8399
8400         * elmo-imap4.el (elmo-imap4-error): Abolish.
8401         (elmo-imap4-error-type): Abolish.
8402         (elmo-imap4-error-process): Abolish.
8403         (elmo-imap4-error-message): Abolish
8404         (elmo-imap4-list-folders): Don't quote lambda.
8405         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8406         (elmo-imap4-parse-namespace): Ditto.
8407         (elmo-imap4-open-connection): Rewrite.
8408         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8409         (elmo-imap4-get-connection): Abolish local variable `result'.
8410
8411 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8412
8413         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8414         wrong-type-argument error when auth is nil.
8415
8416 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8417
8418         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8419         (elmo-default-nntp-stream-type): Ditto.
8420         (elmo-default-pop3-stream-type): Ditto.
8421         (elmo-network-stream-type-alist): Ditto.
8422         (elmo-default-imap4-ssl): Abolished.
8423         (elmo-default-nntp-ssl): Ditto.
8424         (elmo-default-pop3-ssl): Ditto.
8425
8426         * elmo-util.el: (toplevel): Removed needless requires.
8427         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8428         (elmo-open-network-stream): Open network stream according to
8429         the value of `elmo-network-stream-type-alist'.
8430         (elmo-get-network-stream-type): New function.
8431         (elmo-network-stream-type-spec-string): New macro.
8432         (elmo-network-stream-type-symbol): Ditto.
8433         (elmo-network-stream-type-function): Ditto.
8434
8435         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8436         network-stream-type. All other related portions are changed.
8437         (elmo-pop3-open-connection): Ditto.
8438
8439         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8440         network-stream-type. All other related portions are changed.
8441
8442         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8443         network-stream-type.All other related portions are changed.
8444         (elmo-imap4-error): New macro.
8445         (elmo-imap4-error-type): Ditto.
8446         (elmo-imap4-error-process): Ditto.
8447         (elmo-imap4-error-message): Ditto.
8448         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8449         (elmo-imap4-auth-cram-md5): Ditto.
8450         (elmo-imap4-auth-digest-md5): Ditto.
8451         (elmo-imap4-login): Ditto.
8452         (elmo-imap4-open-connection): Remove password entry if authentication
8453         was in vain.
8454         (elmo-imap4-user-at-host): Abolished.
8455         (elmo-imap4-password-key): New buffer local variable.
8456         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8457         using protocol, port, auth and stream-type.
8458
8459         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8460
8461 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8462
8463         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8464
8465         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8466
8467         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8468         (elmo-imap4-authenticator-alist): New variable.
8469         (elmo-imap4-open-connection-1): Rename from
8470         elmo-imap4-open-connection.
8471         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8472         only wraps elmo-imap4-open-connection-1.
8473         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8474         user-at-host.
8475         (elmo-imap4-auth-login): New function.
8476         (elmo-imap4-auth-cram-md5): New function.
8477         (elmo-imap4-auth-digest-md5): New function.
8478         (elmo-imap4-login): New function.
8479
8480 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8481
8482         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8483         function `error'.
8484
8485 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8486
8487         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8488
8489 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8490
8491         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8492
8493 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8494
8495         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8496         for server responses, quote `*' regardless of where it appears.
8497
8498 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8499
8500         * elmo-maildir.el (elmo-maildir-commit): New alias.
8501
8502 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8503
8504         * elmo-util.el (elmo-display-progress):
8505                 Use `progress-feedback-with-label'.
8506
8507 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8508
8509         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8510         (elmo-imap4-non-atom-char-regex): Ditto.
8511         (elmo-imap4-non-text-char-regex): Ditto.
8512         (elmo-imap4-literal-threshold): Ditto.
8513         (elmo-imap4-atom-p): New function.
8514         (elmo-imap4-quotable-p): Ditto.
8515         (elmo-imap4-nil): Ditto.
8516         (elmo-imap4-atom): Ditto.
8517         (elmo-imap4-quoted): Ditto.
8518         (elmo-imap4-literal-subr): Ditto.
8519         (elmo-imap4-literal): Ditto.
8520         (elmo-imap4-buffer-literal): Ditto.
8521         (elmo-imap4-string-subr): Ditto.
8522         (elmo-imap4-string): Ditto.
8523         (elmo-imap4-buffer-string): Ditto.
8524         (elmo-imap4-astring-subr): Ditto.
8525         (elmo-imap4-astring): Ditto.
8526         (elmo-imap4-buffer-astring): Ditto.
8527         (elmo-imap4-nstring): Ditto.
8528         (elmo-imap4-buffer-nstring): Ditto.
8529         (elmo-imap4-mailbox): New alias.
8530         (elmo-imap4-field-body): Ditto.
8531         (elmo-imap4-userid): Ditto.
8532         (elmo-imap4-password): Ditto.
8533         (elmo-imap4-format-quoted): New function.
8534         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8535         arguments and handle "atom", "quoted" and "literal" string here.
8536         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8537         `elmo-imap4-send-command'.
8538         (elmo-imap4-folder-exists-p): Likewise.
8539         (elmo-imap4-create-folder): Likewise.
8540         (elmo-imap4-delete-folder): Likewise.
8541         (elmo-imap4-rename-folder): Likewise.
8542         (elmo-imap4-max-of-folder): Likewise.
8543         (elmo-imap4-check-validity): Likewise.
8544         (elmo-imap4-sync-validity): Likewise.
8545         (elmo-imap4-server-diff): Likewise.
8546         (elmo-imap4-select-folder): Likewise.
8547         (elmo-imap4-copy-msgs): Likewise.
8548         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8549         (elmo-imap4-mark-set-on-msgs): Likewise.
8550         (elmo-imap4-read-part): Likewise.
8551         (elmo-imap4-read-msg): Likewise.
8552         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8553         `elmo-imap4-password' for `elmo-imap4-send-command'.
8554         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8555         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8556         `elmo-imap4-buffer-literal'.
8557         (elmo-imap4-append-msg): Likewise.
8558
8559         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8560         `delete' for removing dead connection from the connection cache.
8561         Move deletion of the process buffer after that.
8562         (elmo-imap4-list): Change `defsubst' to `defun'.
8563         (elmo-imap4-commit): Make error message verbose.
8564         (elmo-imap4-search): Ditto.
8565         (elmo-imap4-list): Ditto.
8566         (elmo-imap4-select-folder): Ditto.
8567         (elmo-imap4-copy-msgs): Ditto.
8568         (elmo-imap4-delete-msg-by-id): Ditto.
8569         (elmo-imap4-append-msg-by-id): Ditto.
8570         (elmo-imap4-append-msg): Ditto.
8571
8572 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8573
8574         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8575         when dired is used on XEmacs.
8576
8577 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8578
8579         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8580         instead of `append'.
8581         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8582         `elmo-plugged-p' directly.
8583         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8584         of `elmo-plugged-p' directly.
8585
8586         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8587         Eliminate unused variable.  Use `memq' for checking a process status.
8588         Use `cons' instead of `append' for updating the connection cache.
8589         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8590         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8591
8592 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8593
8594         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8595         `elmo-imap4-read-point' exactly.
8596
8597         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8598         the local variable `folder' to `mailbox'.
8599         Rename the argument `fld' to `folder'.
8600
8601 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8602
8603         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8604         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8605
8606 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8607
8608         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8609         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8610         (elmo-pop3-uidl-number-hash): Ditto.
8611         (elmo-pop3-size-hash): Ditto.
8612         (elmo-pop3-uidl-done): Ditto.
8613         (elmo-pop3-list-done): Ditto.
8614         (elmo-pop3-connection-get-process): New defmacro.
8615         (elmo-pop3-connection-get-buffer): Ditto.
8616         (elmo-pop3-close-connection): Delete buffer and process.
8617         (elmo-pop3-flush-connection): Don't delete buffer and process.
8618         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8619         Setup UIDL and size hash.
8620         (elmo-pop3-send-command-no-erase): Deleted
8621         (elmo-pop3-send-command): Added optional argument `no-erase'.
8622         (elmo-pop3-parse-uidl-response): New function.
8623         (elmo-pop3-parse-list-response): Set size hash.
8624         (elmo-pop3-list-location): New function.
8625         (elmo-pop3-list-by-uidl-subr): Ditto.
8626         (elmo-pop3-list-by-list): Ditto.
8627         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8628         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8629         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8630         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8631         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8632         Use uidl.
8633         (elmo-pop3-uidl-to-number): New function.
8634         (elmo-pop3-number-to-uidl): Ditto.
8635         (elmo-pop3-number-to-size): Ditto.
8636         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8637         Set number by use of uidl.
8638         (elmo-pop3-msgdb-create-message): Likewise.
8639         Set size, loc-alist in msgdb.
8640         (elmo-pop3-read-msg): Set number by use of uidl.
8641         Added optional argument `msgdb'.
8642         (elmo-pop3-delete-msg): Ditto.
8643         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8644         (elmo-pop3-commit): Close connection.
8645
8646         * elmo-pipe.el (elmo-pipe-max-of-folder):
8647         Bind `elmo-pop3-use-uidl' as nil.
8648         (elmo-pipe-drain): Ditto.
8649         Call `elmo-commit'.
8650
8651         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8652         (elmo-msgdb-overview-entity-set-size): New defsubst.
8653
8654 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8655
8656         * elmo-vars.el (elmo-use-killed-list): New variable
8657         (Renamed from `elmo-nntp-use-killed-list').
8658         (elmo-nntp-use-killed-list): Eliminated.
8659
8660         * elmo-msgdb.el (elmo-msgdb-expand-path):
8661         Changed expanding msgdb path for elmo-multi.
8662
8663         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8664         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8665         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8666         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8667         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8668         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8669         (toplevel): Deleted time-stamp line.
8670
8671         * elmo2.el (elmo-clear-killed ): Defined as function
8672         (Abolished defining as a backend function).
8673         All other related modules are changed.
8674
8675 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8676
8677         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8678
8679 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8680
8681         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8682
8683 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8684
8685         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8686
8687 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8688
8689         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8690         asynchronous folder check.
8691
8692         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8693
8694         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8695         `elmo-nntp-use-killed-list'.
8696         (elmo-nntp-list-folder): Use killed list.
8697         (elmo-nntp-max-of-folder): Ditto.
8698         (elmo-nntp-msgdb-create): Set killed list.
8699
8700         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8701
8702         * elmo2.el (elmo-clear-killed): New backend function.
8703         All other related modules are changed.
8704
8705 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8706
8707         * elmo-util.el (elmo-imap4-spec-folder): Use
8708         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8709         All callers changed.
8710
8711 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8712
8713         * mmelmo-2.el (initialize-instance):
8714         Use `mime-buffer-entity-buffer-internal' instead of
8715         `mime-entity-buffer'.
8716
8717         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8718         (mime-entity-body): Implemented.
8719         (mime-goto-header-start-point): Deleted.
8720         (mime-goto-body-end-point): Ditto.
8721         (mime-entity-point-min): Ditto.
8722         (mime-entity-point-max): Ditto.
8723         (mime-entity-children): Ditto.
8724         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8725         instead of `mime-entity-buffer'.
8726         (mime-entity-header-buffer): Ditto.
8727         (mime-entity-body-buffer): Ditto.
8728         (mime-write-entity-content): Ditto.
8729
8730         * pldap.el (ldap-static-if): New macro.
8731         (toplevel): Use it instead of `static-if'.
8732
8733 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8734
8735         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8736         included in `attrs' argument.
8737
8738 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8739
8740         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8741
8742         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8743         (ldap-ldif-safe-init-char-regexp): Ditto.
8744         (ldap-ldif-safe-string-regexp): Ditto.
8745         (ldap/ldif-safe-string-p): New macro.
8746         (ldap/ldif-insert-field): Ditto.
8747         (ldap-modify): Use it.
8748         (ldap-add): Ditto.
8749         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8750         (ldap-decode-attribute): Decode only when `attr' is consp.
8751         (ldap-delete): Bind `ret'.
8752         (toplevel): Require 'cl at compile time.
8753         Removed (require 'poe) and (require 'std11).
8754         (pldap-version): Eliminated.
8755         (ldap-search-basic): Removed auth and dn binding.
8756         (ldap-ldif-field-name-regexp): New constant.
8757         (ldap-ldif-field-head-regexp): Ditto.
8758         (ldap-ldif-next-field-head-regexp): Ditto.
8759         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8760         (ldap/field-end): New function.
8761         (ldap/field-body): Use it.
8762         (ldap/collect-field): Ditto.
8763         (ldap-search-basic): Use `ldap/field-body'.
8764
8765 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8766
8767         * pldap.el (ldap-default-attribute-encoder): New user option.
8768         (ldap/field-body): Decode base64 string.
8769         (ldap/collect-field): Ditto.
8770         (ldap-encode-attribute): New function.
8771         (ldap-add-entries): Use it.
8772         (ldap-modify-entries): Ditto.
8773         (ldap-search-entries): Enclosed decoding function with
8774         `with-temp-buffer' and set as unibyte.
8775         (ldap-search-basic): Set process buffer as unibyte.
8776
8777         * elmo-util.el (elmo-folder-identical-system-p):
8778         Eliminated name space checking.
8779
8780         * pldap.el: New module.
8781         toplevel: Changed condition to detect built-in ldap feature.
8782         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8783         (ldap-add): Added error handling.
8784         (ldap-modify): Ditto.
8785         (ldap-delete): Ditto.
8786
8787 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8788
8789         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8790         Initialize local variables with `let'.  Inline a temporary
8791         variable for the progress percentage.  Sort `setq' to reduce
8792         function call in the while-loop.
8793
8794         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8795         into the conditional branch.
8796
8797 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8798
8799         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8800         Move a conditional out of the while-loop.
8801
8802 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8803
8804         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8805         elmo-msgdb-overview-get-entity-by-number.
8806         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8807         throw.
8808
8809 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8810
8811         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8812         the local variable for a packed number self descriptively.
8813
8814 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8815
8816         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8817         * elmo-localdir.el (elmo-localdir-pack-number): Use
8818         `elmo-msgdb-overview-get-entity' instead of
8819         `elmo-msgdb-overview-get-entity-by-number'.
8820         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8821         (elmo-msgdb-search-overview-entity): Removed.
8822         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8823         by message-id or number.
8824         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8825         instead of `elmo-msgdb-overview-get-entity-by-number'.
8826
8827 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8828
8829         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8830         non-nil, use hash table for overview.
8831         (elmo-hash-maximum-size): New variable.
8832         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8833         (elmo-msgdb-make-overview-hashtb): New function.
8834         (elmo-msgdb-clear-overview-hashtb): New function.
8835         (elmo-clear-hash-val): New macro.
8836         All other related modules are changed.
8837
8838 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8839
8840         * elmo2.el (elmo-move-msgs): If there's other message with
8841         same message-id, don't use cache.
8842
8843 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8844
8845         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8846         number is already packed.
8847
8848 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8849
8850         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8851
8852 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8853
8854         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8855         All other related modules are changed.
8856
8857 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8858
8859         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8860         of refiling failure on Maildir.
8861
8862 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8863
8864         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8865         decoded mime-charset with cache.
8866         (elmo-msgdb-overview-entity-get-from): Ditto.
8867         (elmo-msgdb-overview-entity-get-subject): Ditto.
8868         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8869
8870 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8871
8872         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8873         (elmo-remove-passwd): Fill password with 0 before erase.
8874         * elmo-vars.el (elmo-passwd-life-time): New variable.
8875
8876 \f
8877 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8878
8879         * elmo-cache.el (elmo-buffer-cache-add):
8880         Set message cache buffer as unibyte.
8881
8882 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8883
8884         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8885         become nil.
8886
8887 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8888
8889         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8890         when display is finished.
8891         (elmo-nntp-msgdb-create): Ditto.
8892         (elmo-nntp-groups-read-response): Ditto.
8893         (elmo-nntp-retrieve-headers): Ditto.
8894         (elmo-nntp-msgdb-create-message): Ditto.
8895         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8896         (elmo-pop3-msgdb-create-message): Ditto.
8897
8898 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8899
8900         * elmo-maildir.el (elmo-maildir-msgdb-create):
8901         Use `elmo-msgdb-sort-by-date'.
8902
8903 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8904
8905         * elmo2.el (elmo-read-msg-no-cache):
8906         Eliminated arguments after `outbuf'.
8907         Don't use cache even if it exists.
8908         (elmo-read-msg): Don't pass arguments after `outbuf' to
8909         `elmo-read-msg-no-cache'.
8910
8911 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8912
8913         * elmo-archive.el (elmo-archive-list-folders):
8914         Use `file-name-directory' if base folder does not exist.
8915
8916 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8917
8918         * elmo-archive.el (elmo-archive-list-folders): Don't use
8919         `file-name-directory'.
8920
8921 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8922
8923         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8924         If `force' is non-nil, try flushing all operation queues.
8925
8926 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8927
8928         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8929         as-binary-process.
8930
8931 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8932
8933         * elmo-util.el (elmo-display-progress): Fixed.
8934
8935 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8936
8937         * elmo-util.el (elmo-display-progress): New function.
8938         All other related modules are changed.