* elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
4         (elmo-spam-bsfilter-max-messages-per-process): New use option.
5         (elmo-spam-bsfilter-debug): Fix a group.
6         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
7         `--homedir'.
8         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
9         (elsp-bsfilter-list-spam-files): New function.
10         (elmo-spam-list-spam-messages): Define.
11         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
12         (elmo-spam-bsfilter-register-messages): New function.
13         (elmo-spam-register-spam-messages): Define.
14         (elmo-spam-register-good-messages): Ditto.
15
16         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
17
18         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
19         `nconc' and `consp'.
20
21 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
22
23         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
24         hash table to test whether a location is exists.
25
26 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
27
28         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
29         even if some error occurred.
30
31         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
32         meaningless unwind-protect.
33
34         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
35         start-number correctly.
36         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
37         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
38
39 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
40
41         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
42         (elmo-folder-initialize): Use it.
43         (elmo-global-flag-replace-referrer): New function.
44
45         * elmo.el (toplevel): Added autoload setting for
46         `elmo-global-flag-replace-referrer'.
47         (elmo-folder-rename): Rewrite the last change use
48         `elmo-global-flag-replace-referrer'.
49
50         * elmo-pipe.el (elmo-folder-rename): Call
51         `elmo-global-flag-replace-referrer'.
52
53 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
54
55         * elmo.el (elmo-folder-rename): Set meta data for global flags
56         follow the rename.
57
58 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
59
60         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
61         as 'not-loaded.
62         (elmo-folder-close): Ditto.
63         (elmo-filter-folder-number-list-loaded-p): New function.
64         (elmo-filter-folder-number-list): Check whether loaded or not.
65         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
66         of `elmo-filter-folder-number-list-internal'.
67         (elmo-folder-delete-messages): Ditto.
68         (elmo-folder-length): Check whether number-list is loaded or not.
69
70 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
71
72         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
73         field `real field' into each element of list.
74         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
75         (elmo-msgdb-message-entity-field): Ditto.
76         (modb-entity-ml-info-real-fields): New function.
77
78         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
79
80         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
81         `elmo-msgdb-extra-fields'.
82
83 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
84
85         * elmo-util.el (elmo-passwd-alist-load): Move point to min
86         position before read.
87
88 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
89
90         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
91         (elmo-global-flags-initialize): Ditto.
92
93 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
94
95         * elmo-archive.el (toplevel): Don't require emu, std11
96         and elmo-localdir.
97
98         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
99         definition.
100
101 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
102
103         * elmo.el (elmo-folder-confirm-appends): Display folder name.
104
105 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
106
107         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
108         literals.
109
110 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
111
112         * elmo-maildir.el (elmo-maildir-list-location): Reduce
113         `elmo-get-last-modification-time' call.
114
115 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
116
117         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
118         expression.
119         (elmo-maildir-set-mark): Ditto.
120         (elmo-maildir-delete-mark): Ditto.
121
122 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
123
124         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
125         optional argument `separators'.
126
127 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
128
129         * elmo.el (cache-changed): Abolish.
130         (status-changed): New signal.
131         (elmo-message-killed-p): New generic function and define for
132         elmo-folder.
133         (elmo-folder-recover-messages): Ditto.
134         (elmo-message-set-cached): Emit signal `status-changed' instead of
135         `cache-changed'.
136         (elmo-message-status): New macro.
137         (elmo-message-status-folder): Ditto.
138         (elmo-message-status-number): Ditto.
139         (elmo-message-status-set-flags): Ditto.
140         (elmo-message-status-set-killed): Ditto.
141         (elmo-message-status-flags): New function.
142         (elmo-message-status-cached-p): Ditto.
143         (elmo-message-status-killed-p): Ditto.
144
145         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
146         `status-changed' instead of `cache-changed'.
147         (elmo-folder-recover-messages): Define.
148         (elmo-message-killed-p): Ditto.
149
150         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
151         `status-changed' instead of `cache-changed'.
152
153         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
154         (elmo-message-killed-p): Define.
155         (elmo-folder-recover-messages): Ditto.
156
157         * elmo-version.el (elmo-version): Up to 2.15.3.
158
159 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
160
161         * elmo-signal.el (elmo-signal-bindings): Use cons to append
162         element into list.
163         (elmo-define-signal-handler): Add docstring.
164         (elmo-define-signal-filter): Ditto.
165
166         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
167
168 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
169
170         * elmo-util.el (elmo-flatten): Don't use recursive call.
171
172         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
173         assignment.
174         (elmo-folder-message-make-temp-files): Use `number-to-string'
175         instead of `int-to-string'.
176
177 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
178
179         * elmo-search.el (elmo-folder-delete-messages): Define.
180
181 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
182
183         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
184         customization type.
185         (elmo-mailing-list-count-spec-list): Ditto.
186
187         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
188         for `list-id'.
189
190 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
191
192         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
193         handling.
194
195 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
196
197         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
198         (elmo-mailing-list-count-spec-list): Ditto.
199
200         * elmo-util.el (elmo-map-until-success): New function.
201         (elmo-string-match-substring): Ditto.
202         (elmo-find-list-match-value): Ditto.
203
204         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
205         Removed.
206         (modb-entity-extract-ml-info-from-subject): Ditto.
207         (modb-entity-extract-ml-info-from-return-path): Ditto.
208         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
209         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
210         (modb-entity-extract-ml-info-from-mailman): Ditto.
211         (modb-entity-extract-mailing-list-info-functions): Ditto.
212         (modb-entity-extract-mailing-list-info): Rewrite with
213         `elmo-find-list-match-value'.
214
215 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
216
217         * elmo-net.el (elmo-network-session-retry-count): New user option.
218         (elmo-network-session-buffer-name): New internal function.
219         (elmo-network-session-buffer-create): Ditto.
220         (elmo-network-open-session): Retry open network session
221         `elmo-network-session-retry-count' times.
222
223 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
224
225         * elmo-util.el (elmo-list-filter): Rewritten.
226
227 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
228
229         * elmo-util.el (elmo-string-member): Allow symbol element in list.
230
231 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
232
233         * elmo-search.el (elmo-make-search-engine): Use prefix
234         `elmo-search-' for require symbol instead of `else-'.
235         (elmo-search-engine-extprog): New class.
236         (elmo-search-engine-do-search): Remove nil from argument
237         list. Added argument pattern to evaluate element as function.
238         (elmo-search-engine-local-file): Derived from
239         `elmo-search-engine-extprog'.
240         (elmo-search-engine-create-message-entity): Check existance of file.
241         (elmo-search-engine-fetch-message): Ditto.
242         (elmo-search-namazu-index): Follow the API change.
243         (elmo-search-grep-target): Ditto.
244
245 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
246
247         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
248         characters of working buffer.
249
250         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
251         Does not bind `default-mime-charset'.
252         (elmo-msgdb-create-message-entity-from-buffer): Removed
253         unnecessary local bind.
254
255         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
256         function.
257         (modb-entity-extract-mailing-list-info-functions): Added it.
258
259 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
260
261         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
262         when number and message-id are non-nil.
263
264         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
265
266         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
267         conditional steatment.
268         (elmo-pop3-auth-apop): Likewise.
269         (elmo-network-authenticate-session): Likewise.
270
271 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
272
273         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
274         symbol `fill-column'.
275         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
276         decode field value.
277
278         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
279         (elmo-decoded-field-body): Ditto.
280
281 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
282
283         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
284         `tokens' to `params'.
285
286 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
289         working buffer.
290
291 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
292
293         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
294         decide index.
295
296 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
297
298         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
299         Set default value as nil.
300         (toplevel): Register search engines by
301         `elmo-search-register-engine' if there are not defined.
302
303         * elmo.el (autoload): Added autoload setting for
304         `elmo-search-register-engine'.
305
306 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
307
308         * elmo.el (toplevel): `[' is redefined as the prefix of the search
309         folder instead of nmz folder.
310         (elmo-nmz-default-index-path): Added obsolete variable setting.
311         (elmo-nmz-index-alias-alist): Ditto.
312         (elmo-nmz-use-drive-letter): Ditto.
313
314         * elmo-search.el (elmo-search-register-engine): New function.
315
316         * elmo-nmz.el: Removed.
317
318         * elmo-version.el (elmo-version): Up to 2.15.2.
319
320 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
321
322         * elmo-search.el: New file.
323
324 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
325
326         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
327         condition `larger' and `smaller'.
328
329 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
330
331         * elmo-util.el (elmo-safe-filename): Rewrite to replace
332         `"' (double quote) into "_Q_".
333
334 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
335
336         * elmo-net.el (elmo-net-quote-chars): Abolish.
337         (elmo-net-format-quoted): Ditto.
338
339 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
340
341         * elmo.el (elmo-get-folder-function): New variable.
342         (elmo-get-folder): New function.
343         (elmo-folder-rename): Call `elmo-make-folder' with specified
344         mime-charset.
345
346         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
347         `elmo-make-folder'.
348         (elmo-split-subr): Ditto.
349
350         * elmo-multi.el (elmo-folder-initialize): Ditto.
351
352         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
353
354         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
355         (elmo-flag-get-folder): Ditto.
356
357         * elmo-filter.el (elmo-folder-initialize): Ditto.
358
359         * elmo-access.el (elmo-folder-initialize): Ditto.
360         (elmo-access-folder-update-children): Ditto.
361
362         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
363         (elmo-dop-queue-flush): Ditto.
364         (elmo-folder-append-buffer-dop-delayed): Ditto.
365         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
366         mime-charset.
367
368         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
369         instead of `elmo-make-folder'.
370         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
371         destination folder instead of send `elmo-folder-rename-internal'.
372
373         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
374         slot of subfolder instead of create it.
375
376 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
377
378         * elmo-util.el (elmo-collect-separators): New function.
379         (elmo-collect-separators-internal): Ditto.
380         (elmo-collect-trail-separators): Ditto.
381         (elmo-parse-separated-tokens): Ditto.
382         (elmo-parse-separated-tokens-internal): Ditto.
383         (elmo-quote-syntactical-element): Ditto.
384
385         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
386         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
387
388         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
389         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
390         (elmo-nntp-folder-list-subfolders): Quote a user name.
391
392         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
393         (elmo-net-parse-network): Abolish.
394         (elmo-net-folder-set-parameters): New function.
395         (elmo-folder-initialize): Follow the above change.
396
397         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
398         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
399         (elmo-folder-list-subfolders): Use
400         `elmo-quote-syntactical-element' instead of
401         `elmo-net-format-quoted' to quote mailbox and user name.
402
403 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
404
405         * elmo-util.el (elmo-token-valid-p): New function.
406         (elmo-parse-token): Add optional argument `requirement'.
407         (elmo-parse-prefixed-element): Likewise.
408
409         * elmo-net.el (elmo-net-quote-chars): Renamed from
410         `elmo-net-quote-chars-regexp'.
411         (elmo-net-format-quoted): Add optional argument `extra-chars'.
412
413         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
414         by info document. Check token `uidl' is started an alphabet.
415
416         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
417         by info document. Check token `user' is started an alphabet.
418
419         * elmo-imap4.el (elmo-folder-initialize): Ditto.
420         (elmo-folder-list-subfolders): Quote user.
421
422 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
423
424         * elmo-util.el (elmo-quoted-specials-list): New constant.
425         (elmo-quoted-token): New function.
426
427         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
428         (elmo-net-format-quoted): New function.
429         (elmo-net-parse-network): Ditto.
430         (elmo-folder-initialize): Use it.
431
432         * elmo-nntp.el (elmo-folder-initialize): Use
433         `elmo-net-parse-network' to parse network specification instead of
434         `elmo-folder-initialize#elmo-net'.
435
436         * elmo-pop3.el (elmo-folder-initialize): Ditto.
437
438         * elmo-imap4.el (elmo-folder-initialize): Ditto.
439         (elmo-folder-list-subfolders): Quote folder name by
440         `elmo-net-format-quoted'.
441
442 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
445         (elmo-folder-search): Use it.
446
447 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * modb-standard.el (modb-standard-loaded-message-id): Use
450         `elmo-msgdb-message-entity-field'.
451
452 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
453
454         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
455         without filename.
456
457 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
458
459         * elmo-util.el (elmo-set-auto-coding): New function.
460         (elmo-object-load): Use it.
461
462 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
463
464         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
465         (elmo-time<): Define as alias of `elmo-time-less-p'.
466         (elmo-time-to-datevec): New function.
467
468         * elmo-date.el (elmo-time-to-days): New function.
469
470 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
473         is not cons cell.
474
475 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
476
477         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
478         parenthesis.
479
480         * elmo-util.el (elmo-map-recursive): New function.
481
482         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
483         (modb-entity-encode-string-recursive): Ditto.
484
485 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
486
487         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
488         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
489         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
490         compare sequence number when last modified time is nil.
491
492 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
493
494         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
495
496         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
497
498 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
499
500         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
501         modification time of the file.
502
503 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
504
505         * elmo-util.el (elmo-condition-optimize): Discriminated against
506         preserved fields, extra fields and the other weight.
507
508 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
509
510         * modb-entity.el (initialize-instance): Define.
511         (modb-entity-handler-mime-charset): New internal function.
512         (modb-standard-entity-set-field): Use it.
513         (elmo-msgdb-message-entity-field): Ditto.
514         (elmo-msgdb-message-entity-field): Ditto.
515
516         * modb.el (elmo-msgdb-match-condition): Rewrite with
517         `elmo-condition-match'.
518         (elmo-msgdb-match-condition-primitive): New function.
519
520         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
521         arguments `flags' and `numbers'.
522         (elmo-msgdb-match-condition-primitive): Abolished (merged to
523         `elmo-msgdb-message-match-condition').
524         (modb-buffer-entity-handler): New class.
525
526         * elmo.el (elmo-folder-search): Optimize condition to use
527         `elmo-condition-optimize'.
528         (elmo-message-buffer-match-condition): New function.
529         (elmo-message-match-condition): Use
530         `elmo-message-buffer-match-condition' instead of
531         `elmo-buffer-field-condition-match'.
532
533         * elmo-util.el (elmo-condition-match): New function.
534         (elmo-condition-optimize): Ditto.
535         (elmo-buffer-field-primitive-condition-match): Abolish.
536         (elmo-buffer-field-condition-match): Ditto.
537
538         * elmo-archive.el (elmo-archive-field-condition-match): Use
539         `elmo-message-buffer-match-condition' instead of
540         `elmo-buffer-field-condition-match'.
541
542 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
543
544         * elmo-flag.el (elmo-global-flags-initialize): Check the
545         existence of the flag directory.
546
547 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
548
549         * elmo-access.el (elmo-folder-initialize): Call
550         `elmo-multi-connect-signals'.
551
552         * elmo-pipe.el (elmo-folder-close): Define.
553
554         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
555         children folders.
556
557         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
558         with target folder.
559
560         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
561         `number'.
562
563         * elmo-multi.el (elmo-message-entity): Don't use return value of
564         `elmo-message-entity-set-number'.
565
566 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
567
568         * modb.el (modb-generic): Added slot `mime-charset'.
569
570         * modb-standard.el (modb-standard): Added slot `overview-handler'.
571         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
572         and `modb-entity-handler-dump-parameters'.
573         (modb-standard-default-entity-handler): Abolish.
574         (elmo-msgdb-message-entity-handler): Save created handler by
575         instance slot.
576
577         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
578         (modb-entity-handler-list-parameters): New method.
579         (modb-entity-handler-equal-p): New function.
580         (modb-entity-handler-dump-parameters): Ditto.
581         (modb-entity-parse-address-string): Encode return value.
582         (modb-entity-make-address-string): Decode argument value.
583         (modb-entity-decode-string-recursive): New function.
584         (modb-entity-encode-string-recursive): Ditto.
585         (modb-standard-entity-normalizer): Set to encode field value.
586         (modb-standard-entity-specializer): Follow the above change.
587         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
588         mime-charset of handler.
589         (elmo-msgdb-message-entity-field): Ditto.
590         (elmo-msgdb-copy-message-entity): Fixed reference to internal
591         structure.
592         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
593
594         * elmo.el (elmo-folder): Added slot `mime-charset'.
595         (elmo-make-folder): Added argument `mime-charset'.
596         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
597         `mime-charest'.
598
599         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
600         (elmo-make-msgdb): Likewise.
601
602         * elmo-internal.el (elmo-internal-folder-initialize): Call
603         `luna-make-entity' with :mime-charset parameter.
604
605 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
606
607         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
608         encoded words in `from' and `subject' field.
609
610 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
611
612         * modb.el (elmo-msgdb-message-field): Add argument `type'.
613         (elmo-msgdb-match-condition): Get handler from entity instead of
614         msgdb.
615
616         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
617         (modb-standard-load-entity): Treat new file format.
618         (modb-standard-save-entity-1): Save as new file format.
619         (modb-standard-save-entity): Split messages into section here.
620         (elmo-msgdb-message-field): Follow the API change.
621         (modb-standard-default-entity-handler): New internal variable.
622         (elmo-msgdb-message-entity-handler): Define.
623
624         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
625         to `elmo-vars.el'.
626         (modb-entity-field-extractor-alist): New user option.
627         (elmo-msgdb-message-entity-field): Removed argument `decode' and
628         added argument `type'.
629         (elmo-msgdb-copy-message-entity): Add optional argument
630         `make-handler'.
631         (modb-set-field-converter): New function.
632         (modb-convert-field-value): Ditto.
633         (modb-entity-string-decoder): Ditto.
634         (modb-entity-string-encoder): Ditto.
635         (modb-entity-parse-date-string): Ditto.
636         (modb-entity-make-date-string): Ditto.
637         (modb-entity-mime-decoder): Ditto.
638         (modb-entity-mime-encoder): Ditto.
639         (modb-entity-address-list-decoder): Ditto.
640         (modb-entity-address-list-encoder): Ditto.
641         (modb-entity-parse-address-string): Ditto.
642         (modb-entity-make-address-string): Ditto.
643         (modb-entity-create-field-indices): Ditto.
644         (modb-legacy-entity-field-slots): New constant.
645         (modb-legacy-entity-field-indices): Ditto.
646         (modb-legacy-entity-normalizer): New variable.
647         (modb-legacy-entity-specializer): Ditto.
648         (modb-legacy-entity-field-index): New macro.
649         (modb-legacy-entity-set-field): New function.
650         (modb-legacy-make-message-entity): Rewrite.
651         (elmo-msgdb-create-message-entity-from-buffer): Use
652         `elmo-msgdb-get-references-from-buffer'. Use
653         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
654         Use `modb-legacy-entity-set-field' instead of
655         `elmo-msgdb-message-entity-set-field'.
656         (elmo-msgdb-message-entity-field): Rewrite.
657         (elmo-msgdb-message-entity-set-field): Ditto.
658         (elmo-msgdb-copy-message-entity): Make new entity by
659         `make-handler' if it specified.
660         (elmo-msgdb-message-match-condition): Define a method of
661         `modb-entity-handler' and follow the API change.
662         (modb-standard-entity-handler): New class.
663         (modb-entity-extract-ml-info-from-x-sequence): New function.
664         (modb-entity-extract-ml-info-from-subject): Ditto.
665         (modb-entity-extract-ml-info-from-return-path): Ditto.
666         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
667         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
668         (modb-entity-extract-mailing-list-info): Ditto.
669         (modb-entity-extract-mailing-list-info-functions): New variable.
670
671         * elmo.el (elmo-message-field): Add optional argument `type'.
672
673         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
674         from `modb-entity.el'.
675
676         * elmo-util.el (elmo-object-load): Decode by coding-system from
677         `set-auto-coding-function'.
678         (elmo-object-save): Use `detect-mime-charset-region' and add
679         coding cookie if encode.
680         (elmo-msgdb-get-references-from-buffer): New function.
681         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
682
683         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
684
685         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
686         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
687         instead of `shimbun-make-header' and follow the API change.
688         (elmo-shimbun-update-overview): Follow the API change.
689         (elmo-map-folder-list-message-locations): Ditto.
690
691         * elmo-pipe.el (elmo-message-field): Ditto.
692
693         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
694         Ditto.
695
696         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
697
698         * elmo-multi.el (elmo-message-field): Ditto.
699
700         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
701         (elmo-msgdb-sort-by-date): Ditto.
702         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
703         `elmo-message-entity-field'.
704         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
705         change.
706         (elmo-msgdb-overview-entity-get-from): Ditto.
707         (elmo-msgdb-overview-entity-get-subject): Ditto.
708         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
709         (elmo-msgdb-overview-entity-get-date): Ditto.
710         (elmo-msgdb-overview-entity-get-to): Ditto.
711         (elmo-msgdb-overview-entity-get-cc): Ditto.
712
713         * elmo-mime.el (elmo-message-mime-entity): Ditto.
714         (elmo-mime-collect-message/partial-pieces): Ditto.
715
716         * elmo-filter.el (elmo-message-field): Ditto.
717
718         * elmo-date.el (elmo-datevec-to-time): New function.
719         (elmo-time-parse-date-string): Ditto.
720         (elmo-time-make-date-string): Ditto.
721         (elmo-time<): Ditto.
722
723         * elmo-version.el (elmo-version): Up to 2.15.1.
724
725 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
726
727         * elmo-flag.el (elmo-global-flags-initialize): Don't include
728         member of elmo-local-flags.
729
730 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
731
732         * elmo-version.el (elmo-version): Up to 2.15.0.
733
734 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
735
736         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
737         `ignore-msgdb' is non-nil.
738
739 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
740
741         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
742         (elmo-condition-in-msgdb-p): Ditto.
743         (elmo-file-field-primitive-condition-match): Ditto.
744         (elmo-file-field-condition-match): Ditto.
745
746         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
747
748 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
749
750         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
751         subdirectories here.
752         (elmo-global-flags-initialize): New function.
753
754         * elmo.el (toplevel): Added autoload setting for
755         `elmo-global-flags-initialize'.
756
757 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
758
759         * elmo.el (message-number-changed): Define new signal.
760         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
761         message-number-changed signal.
762         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
763         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
764         Respect `elmo-pack-number-check-strict'.
765
766 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
767
768         * elmo-signal.el (elmo-connect-signal): Document.
769         (elmo-emit-signal): Ditto.
770         (elmo-emit-signal): It should pass source argument to filter and
771         handler, not slot-source.
772
773 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
774
775         * modb.el (elmo-msgdb-update-entity): New API and define generic
776         implement.
777
778         * modb-standard.el (elmo-msgdb-update-entity): Define.
779
780         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
781         API and define generic implement.
782
783         * elmo.el (update-overview): New singnal.
784
785         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
786         `elmo-msgdb-update-entity' and emit signal `update-overview'.
787         (elmo-message-entity-parent): Define.
788
789         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
790         `update-overview'.
791
792         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
793
794         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
795
796 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
797
798         * elmo.el (elmo-folder-synchronize): Sort the return value of
799         `elmo-list-diff'.
800
801         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
802         list.
803
804 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
805
806         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
807         `default-enable-multibyte-characters'.
808         (elmo-object-load): Use `with-temp-buffer' instead of
809         `elmo-set-work-buf'.
810         (elmo-object-save): Ditto.
811         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
812         `elmo-set-work-buf'.
813         (elmo-decoded-field-body): Ditto.
814
815         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
816
817         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
818         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
819
820         * elmo-version.el (elmo-version): Up to 2.13.3.
821
822 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
823
824         * elmo-util.el (elmo-list-diff): Fix the last change.
825         Reverse order of result lists.
826
827 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
828
829         * modb-standard.el (elmo-msgdb-set-flag): Use
830         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
831         (elmo-msgdb-unset-flag): Ditto.
832
833         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
834         `elmo-list-diff'.
835
836         * elmo-util.el (elmo-list-diff): Rewrite.
837         (elmo-list-diff-nonsortable): New function.
838
839 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
840
841         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
842         `elmo-multibypte-buffer-name'.  All referers are updated.
843
844 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
845
846         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
847         (elmo-mime-entity-fragment-p): New function.
848         (mime-elmo-buffer-entity): Added slot `reassembled'.
849         (elmo-message-mime-entity): Added 4th argument `reassemble'.
850         (elmo-message-mime-entity-internal): New function (renamed from
851         `elmo-message-mime-entity').
852         (elmo-mime-inherit-field-list-from-enclosed): New constant.
853         (elmo-mime-make-reassembled-mime-entity): New function.
854         (elmo-message-reassembled-mime-entity): Ditto.
855         (elmo-mime-collect-message/partial-pieces): Ditto.
856
857 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
858
859         * elmo.el (elmo-message-fetch-string): Disable multibyte.
860
861         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
862         (elmo-with-enable-multibyte): New macro.
863
864         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
865
866 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
867
868         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
869         argument `number'.
870         (elmo-filter-connect-signals): Follow the above change.
871
872 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
873
874         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
875
876         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
877         that only the first flag is used.
878
879 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
880
881         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
882         if available.
883
884 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
885
886         * elmo-signal.el: New file.
887
888         * elmo.el (toplevel): Require elmo-signal.
889         (flag-changing, flag-changed, cache-changed): New signal.
890         (elmo-folder): Remove slog `handlers'.
891         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
892         `elmo-folder-notify-event'.
893         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
894         (elmo-folder-unset-flag): Ditto.
895         (elmo-event-handler): Abolish.
896         (elmo-event-handler-flag-changed): Ditto.
897         (elmo-event-handler-cache-changed): Ditto.
898         (elmo-folder-add-handler): Ditto.
899         (elmo-folder-remove-handler): Ditto.
900         (elmo-folder-notify-event): Ditto.
901
902         * elmo-pipe.el (toplevel): Require elmo-signal.
903         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
904         (elmo-pipe-connect-signals): New function.
905         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
906         (elmo-folder-set-flag): Ditto.
907         (elmo-folder-unset-flag): Ditto.
908         (elmo-message-set-cached): Ditto.
909
910         * elmo-multi.el (toplevel): Require elmo-signal.
911         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
912         (elmo-multi-connect-signals): New function.
913         (elmo-multi-map-numbers): Ditto.
914         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
915         (elmo-message-fetch): Ditto.
916         (elmo-folder-set-flag): Ditto.
917         (elmo-folder-unset-flag): Ditto.
918
919         * elmo-filter.el (toplevel): Require elmo-signal.
920         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
921         (elmo-filter-connect-signals): New function.
922         (elmo-filter-add-flag-count): Ditto.
923         (elmo-message-fetch): Does not call
924         `elmo-filter-folder-countup-message-flags' and
925         `elmo-folder-notify-event'.
926         (elmo-message-set-cached): Ditto.
927         (elmo-folder-set-flag): Ditto.
928         (elmo-folder-unset-flag): Ditto.
929
930         * elmo-version.el (elmo-version): Up to 2.13.2.
931
932 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
933
934         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
935         `flags'.
936
937 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
938
939         * elmo-filter.el (elmo-message-set-cached): Call
940         `elmo-folder-notify-event' with event `cache-changed'.
941
942         * elmo-multi.el (elmo-message-set-cached): Ditto.
943
944         * elmo-pipe.el (elmo-message-set-cached): Ditto.
945
946 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
947
948         * elmo.el (elmo-folder-encache): Abolish.
949
950 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
951
952         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
953         (elmo-folder-next-message-number-dop): Return appropriate negative
954         integer.
955
956 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
957
958         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
959         clearing pending operations.
960         (elmo-folder-next-message-number-dop): Return appropriate negative
961         integer.
962
963 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
964
965         * elmo.el (toplevel): Added autoload setting for `md5'.
966         (elmo-msgdb-path-encode-threshold): New user option.
967         (elmo-folder-msgdb-path): Encode msgdb path if its length is
968         longer than `elmo-msgdb-path-encode-threshold'.
969
970         * elmo-flag.el (elmo-global-mark-migrate): Use
971         `elmo-folder-expand-msgdb-path' instead of
972         `elmo-folder-msgdb-path'.
973
974 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
975
976         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
977         element of the difference is nil.
978
979 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
980
981         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
982         to the check logic of file systems which are weak in colon character.
983
984 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
985
986         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
987
988 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
989
990         * elmo-maildir.el (elmo-maildir-move-file): New function.
991         (elmo-folder-append-buffer): Use it.
992         (elmo-folder-append-messages): Ditto.
993         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
994
995         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
996         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
997
998         * elmo-maildir.el (elmo-maildir-separator): New user option.
999         (elmo-maildir-adjust-separator): New macro.
1000         (elmo-maildir-list-location): Use it.
1001         (elmo-maildir-update-current): Ditto.
1002         (elmo-maildir-set-mark): Ditto.
1003         (elmo-maildir-delete-mark): Ditto.
1004         (These changes are based on Hiroya Murata's patch [wl: 13437])
1005
1006 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1007
1008         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1009
1010 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1011
1012         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1013         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1014         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1015
1016 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1017
1018         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1019         Use `with-temp-buffer'.
1020
1021 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1022
1023         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1024
1025         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1026         `wl-read-search-condition').
1027         (elmo-read-search-condition-internal): Likewise.
1028
1029         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1030         (elmo-flag-valid-p): New function.
1031         (elmo-folder-initialize): Check flag name is valid.
1032
1033 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1034
1035         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1036         delimiter to obtain root mailbox itself.
1037
1038 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1039
1040         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1041         type mismatch.
1042
1043 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1044
1045         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1046         as t.
1047
1048 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1049
1050         * elmo-shimbun.el (toplevel): Require cl at compile.
1051
1052         * elmo-nntp.el (toplevel): Ditto.
1053
1054         * elmo-nmz.el (toplevel): Ditto.
1055
1056         * elmo-multi.el (toplevel): Ditto.
1057
1058         * elmo-file.el (toplevel): Ditto.
1059
1060         * elmo-dop.el (toplevel): Ditto.
1061
1062         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1063
1064 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1065
1066         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1067         as nil.
1068
1069         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1070         size of elmo-message-fetch-internal is 0 byte.
1071
1072 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1073
1074         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1075
1076 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1077
1078         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1079         always plugged.
1080
1081 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1082
1083         * elmo-maildir.el (elmo-map-message-fetch): Call
1084         `elmo-map-folder-set-flag'.
1085
1086         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1087         (elmo-message-fetch): Merge from
1088         `elmo-message-fetch-with-cache-process'.
1089
1090         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1091         (elmo-message-fetch): Define.
1092
1093         * elmo-nntp.el (elmo-message-fetch): Renamed from
1094         `elmo-message-fetch-with-cache-process'.
1095
1096         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1097         (elmo-message-fetch): Define.
1098
1099         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1100         search-key.
1101
1102         * elmo-shimbun.el (shimbun-mua-search-id): Use
1103         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1104         (elmo-shimbun-folder-shimbun-header): Ditto.
1105         (elmo-shimbun-get-headers): Ditto.
1106         (elmo-shimbun-update-overview): Ditto.
1107
1108         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1109
1110         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1111         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1112
1113 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1114
1115         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1116         message is cached.
1117         (elmo-message-fetch-string): Fixed argument.
1118
1119 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1120
1121         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1122         exchange order of arguments `section' and `unread'.
1123         (elmo-message-encache): Follow the API change.
1124         (elmo-message-match-condition): Ditto.
1125         (elmo-generic-folder-append-messages): Ditto.
1126         (elmo-message-fetch-string): New function.
1127
1128         * elmo-split.el (elmo-split-subr): Ditto.
1129
1130         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1131
1132         * elmo-pipe.el (elmo-message-fetch): Ditto.
1133
1134         * elmo-multi.el (elmo-message-fetch): Ditto.
1135
1136         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1137
1138         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1139
1140         * elmo-filter.el (elmo-message-fetch): Ditto.
1141
1142         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1143
1144         * elmo-imap4.el (mime-imap-location-section-body): Use
1145         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1146         follow the API change.
1147
1148 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1149
1150         * elmo-access.el: New file.
1151
1152         * elmo-null.el: Ditto.
1153
1154         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1155
1156 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1157
1158         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1159         (elmo-network-session): New attribute `last-accessed'.
1160         (elmo-network-get-session): Discard network cache if elapsed time
1161         since last-accessed is larger than elmo-network-session-idle-timeout.
1162
1163 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1164
1165         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1166         and added `number', `require-entireness'.
1167         (elmo-find-fetch-strategy): Rewrite.
1168         (elmo-message-fetch): Unset `unread' flag when argument unread is
1169         non-nil.
1170
1171         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1172
1173         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1174         (elmo-message-fetch): Notify event `flag-changed'.
1175
1176         * elmo-pipe.el: Likewise.
1177
1178         * elmo-mime.el (elmo-mime-entity): New class.
1179         (elmo-mime-entity-display-p): New generic function.
1180         (elmo-mime-entity-display): Ditto.
1181         (elmo-mime-entity-display-as-is): Ditto.
1182         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1183         elmo-mime-entity.
1184         (elmo-make-mime-message-location): Removed.
1185         (elmo-mime-message-display): Ditto.
1186         (elmo-mime-display-as-is): Ditto.
1187         (elmo-message-mime-entity): New function.
1188
1189         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1190
1191         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1192         change.
1193         (elmo-message-fetch): Re-count flagged message number and notify
1194         event `flag-changed'.
1195
1196         * elmo-version.el (elmo-version): Up to 2.13.1.
1197
1198 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1199
1200         * elmo-filter.el (elmo-message-field): Define.
1201         (elmo-message-set-field): Ditto.
1202
1203 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1204
1205         * elmo.el (elmo-message-set-cached): Call
1206         `elmo-folder-notify-event' with cache-changed.
1207         (elmo-event-handler-cache-changed): New generic function.
1208
1209 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1210
1211         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1212         instead of elmo-add-name-to-file.
1213         (elmo-folder-append-messages): Ditto.
1214
1215 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1216
1217         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1218
1219 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1220
1221         * elmo-version.el (elmo-version): Up to 2.13.0.
1222
1223         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1224         `auto'.
1225
1226         * modb-standard.el (modb-standard-economize-entity-size): Changed
1227         default value to `t'.
1228
1229         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1230         `standard'.
1231
1232         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1233         after parsing greeting string.
1234
1235 2004-11-23  Daishi Kato <daishi@axlight.com>
1236
1237         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1238         New user option.
1239         (elmo-spam-spamoracle-call): Use it.
1240
1241 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1242
1243         * elmo.el (elmo-message-accessible-p): Message in dop spool
1244         is accessible.
1245
1246 2004-11-23  Daishi Kato <daishi@axlight.com>
1247
1248         * elsp-spamoracle.el: New file.
1249
1250 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1251
1252         * elmo.el (elmo-message-flags-for-append): New function.
1253         (elmo-generic-folder-append-messages): Use it.
1254
1255         * elmo-split.el (elmo-split-subr): Ditto.
1256
1257         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1258         `flags' and use elmo-folder-append-buffer instead of
1259         write-region-as-binary.
1260         (elmo-dop-filter-pending-messages): New function.
1261         (elmo-folder-append-buffer-dop): Call
1262         elmo-dop-spool-folder-append-buffer with `flag'.
1263         (elmo-folder-set-flag-dop): Filter messages by
1264         elmo-dop-filter-pending-messages.
1265         (elmo-folder-unset-flag-dop): Ditto.
1266         (elmo-folder-append-buffer-dop-delayed): Use
1267         elmo-message-flags-for-append to get flags of the message and
1268         simplify.
1269
1270 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1271
1272         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1273
1274 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1275
1276         * elmo.el (elmo-folder): Added handlers slot.
1277         (elmo-event-handler): New class.
1278         (elmo-event-handler-flag-changed): New API.
1279         (elmo-folder-add-handler): New function.
1280         (elmo-folder-remove-handler): Ditto.
1281         (elmo-folder-notify-event): Ditto.
1282         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1283         `flag-changed'.
1284         (elmo-folder-unset-flag): Ditto.
1285
1286         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1287         (elmo-folder-unset-flag): Ditto.
1288
1289         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1290         (elmo-folder-unset-flag): Ditto.
1291
1292         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1293         (elmo-folder-unset-flag): Ditto.
1294
1295         * elmo-version.el (elmo-version): Up to 2.11.33.
1296
1297 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1298
1299         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1300
1301 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1302
1303         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1304
1305         * elmo-flag.el (elmo-folder-unset-flag): Define.
1306         (elmo-global-flag-detach): Do process when the flag is not target
1307         flag.
1308
1309 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1310
1311         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1312         variable.
1313         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1314
1315 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1316
1317         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1318         function.
1319         (elmo-folder-delete-messages): Detach messages before delete
1320         messages from target folder.
1321         (elmo-folder-detach-messages): Set updated number-list to slot.
1322
1323 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1324
1325         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1326
1327 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1328
1329         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1330
1331 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1332
1333         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1334         internal use only).
1335         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1336         not modified.
1337         (elmo-folder-delete-messages): Define.
1338         (elmo-folder-move-messages): Don't call
1339         `elmo-folder-detach-messages'.
1340         (elmo-folder-synchronize): Rewrite.
1341         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1342
1343         * elmo-util.el (elmo-last): New function.
1344         (elmo-set-list): Ditto.
1345         (elmo-number-set-delete-list): Ditto.
1346         (elmo-number-set-delete): Ditto.
1347
1348         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1349
1350         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1351         `elmo-folder-delete-messages' and don't delete location map.
1352         (elmo-folder-detach-messages): Define.
1353
1354         * elmo-imap4.el (elmo-folder-delete): Use
1355         `elmo-folder-delete-messages-internal' instead of
1356         `elmo-folder-delete-messages'.
1357
1358         * elmo-filter.el (elmo-folder-delete-messages): Call
1359         `elmo-folder-detach-messages'.
1360         (elmo-folder-detach-messages): Don't call
1361         `elmo-folder-detach-messages' for target folder.
1362
1363         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1364         message deletion is succeeded.
1365
1366         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1367
1368         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1369         from `elmo-folder-delete-messages'.
1370
1371         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1372
1373         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1374
1375         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1376
1377         * elmo-version.el (elmo-version): Up to 2.11.32.
1378
1379 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1380
1381         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1382         (elmo-global-flag-list): Added obsolete variable setting.
1383
1384         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1385
1386         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1387         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1388         `elmo-mime-display-header-analysis' is nil.
1389
1390         * elmo-flag.el (elmo-global-flags): Renamed from
1391         `elmo-global-flag-list' (All other related portions are changed).
1392         (elmo-local-flags): New variable.
1393         (elmo-local-flag-p): New function.
1394         (elmo-global-flag-set-internal): Cause an error when flag is not
1395         global.
1396
1397 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1398
1399         * elmo-util.el (elmo-concat-path): Treat empty path.
1400
1401 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1402
1403         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1404         field-or-fields).
1405         (elmo-split-address-match): Ditto.
1406         (elmo-split-equal): Ditto.
1407         (elmo-split-match): Ditto.
1408
1409 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1410
1411         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1412         (elmo-generic-folder-append-messages): If src message exists but
1413         has no flag, pass (read) for the FLAG argument of
1414         `elmo-folder-append-buffer'. Otherwise, pass nil.
1415
1416         * elmo-split.el (elmo-split-subr): Likewise.
1417
1418         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1419
1420         * elmo-multi.el (elmo-message-flags): Ditto.
1421
1422         * elmo-filter.el (elmo-message-flags): Ditto.
1423
1424         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1425         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1426         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1427         
1428 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1429
1430         * elmo-split.el (elmo-split-rule): Update comment.
1431         (elmo-split-address-equal): Allow 2nd argument to be a list.
1432         (elmo-split-address-match): Ditto.
1433         (elmo-split-equal): Ditto.
1434         (elmo-split-match): Ditto.
1435
1436 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1437
1438         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1439         (elmo-folder-append-msgdb): Don't treat `read'.
1440         (elmo-message-flags): Don't return `read'.
1441
1442         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1443         (elmo-folder-unset-read-delayed): Ditto.
1444
1445         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1446
1447 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1448
1449         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1450         deletion.
1451
1452 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1453
1454         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1455         header.
1456
1457 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1458
1459         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1460         here.
1461         (elmo-msgdb-save): Bind inhibit-quit.
1462         (modb-standard-message-entity): Ditto.
1463
1464 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1465
1466         * elmo-database.el: No need to require elmo-msgdb.
1467
1468 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1469
1470         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1471         instead of `elmo-list-subdirectories'.
1472
1473 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1474
1475         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1476         group entry.
1477         (elmo-folder-exists-p): "[" is empty.
1478         (elmo-folder-list-subfolders): Define.
1479         (elmo-folder-have-subfolder-p): Ditto.
1480
1481 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1482
1483         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1484
1485 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1486
1487         * elmo-filter.el (elmo-folder-local-p): Define.
1488
1489 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1490
1491         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1492         when entity is garbaged.
1493         (modb-standard-save-entity-1): Don't modify the original entity.
1494
1495 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1496
1497         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1498
1499 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1500
1501         * elmo.el (elmo-strict-folder-diff): Use
1502         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1503
1504 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1505
1506         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1507         (elmo-msgdb-message-number): Ditto.
1508         (elmo-msgdb-message-field): Ditto.
1509
1510         * modb-standard.el (modb-standard-economize-entity-size): New user
1511         option.
1512         (modb-standard-loaded-message-id): New inline function.
1513         (modb-standard-load-entity): Use it.
1514         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1515         throw message-id string away.
1516         (elmo-msgdb-flag-available-p): Define.
1517         (elmo-msgdb-message-number): Ditto.
1518         (elmo-msgdb-message-field): Ditto.
1519
1520         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1521         (suppoted -> supported).
1522         (modb-legacy-supported-flag-p): Ditto.
1523         (elmo-msgdb-set-flag): Ditto.
1524         (elmo-msgdb-unset-flag): Ditto.
1525         (elmo-msgdb-flag-available-p): Define.
1526
1527         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1528         is `t', treat it as legacy entity.
1529         
1530         * elmo.el (elmo-message-flag-available-p): New generic function.
1531         (elmo-message-number): Ditto.
1532         (elmo-message-field): Use `elmo-msgdb-message-field'.
1533
1534         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1535
1536         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1537         (elmo-message-number): Ditto.
1538
1539         * elmo-multi.el (elmo-message-number): Define.
1540         (elmo-message-flag-available-p): Ditto.
1541
1542         * elmo-filter.el (elmo-message-flag-available-p): Define.
1543         (elmo-message-number): Ditto.
1544
1545         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1546         (elmo-folder-initialize): Load `max-number'.
1547         (elmo-folder-commit): Save it.
1548         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1549         (elmo-global-flag-set-internal): Set up max-number slot.
1550
1551 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1552
1553         * elmo-version.el (elmo-version): Up to 2.11.31.
1554
1555 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1556
1557         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1558         unibyte string of the current buffer for the argument of `md5'
1559         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1560
1561 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1562
1563         * modb-legacy.el (modb-legacy-flag-list): New constant.
1564         (modb-legacy-suppoted-flag-p): New internal function.
1565         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1566         (elmo-msgdb-unset-flag): Ditto.
1567
1568 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1569
1570         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1571
1572         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1573         from msgdb.
1574
1575 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1576
1577         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1578         (follow the API change).
1579
1580         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1581
1582 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1583
1584         * modb-standard.el (modb-standard-digest-flags): Abolish.
1585         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1586
1587         * elmo-vars.el (elmo-digest-flags): New variable.
1588         (elmo-preserved-flags): Moved from elmo-flag.el.
1589
1590         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1591         (elmo-imap4-flag-to-imap-criteria): Ditto.
1592         (elmo-imap4-folder-list-flagged): Use it.
1593
1594         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1595
1596         * elmo.el (elmo-folder-count-flags): Changed return value.
1597
1598         * elmo-flag.el (elmo-preserved-flags): New variable.
1599         (elmo-get-global-flags): Use it.
1600
1601         * modb-standard.el (modb-standard-digest-flags): New variable.
1602         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1603         Changed behavior of `any'.
1604
1605         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1606         which are defined the Internet draft
1607         (draft-melnikov-imap-keywords-03.txt).
1608         (elmo-imap4-flags-to-imap): New function.
1609         (elmo-folder-append-buffer): Use it.
1610
1611         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1612         in the docstring.
1613
1614         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1615         avoid the bug of Emacs 21.3.
1616
1617 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1618
1619         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1620         function find-coding-system does not exist.
1621
1622 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1623
1624         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1625         parsing.
1626
1627 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1628
1629         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1630         response codes.
1631
1632 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1633
1634         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1635         (elmo-network-close-session): Follow the changes in
1636         `elmo-pop3-read-response'.
1637         (elmo-pop3-auth-user): Ditto.
1638         (elmo-pop3-auth-apop): Ditto.
1639         (elmo-network-initialize-session): Ditto.
1640         (elmo-network-authenticate-session): Ditto.
1641         (elmo-network-setup-session): Ditto.
1642         (elmo-folder-status): Ditto.
1643         (elmo-message-fetch-plugged): Ditto.
1644         (elmo-pop3-delete-msg): Ditto.
1645
1646 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1647
1648         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1649         on failure.
1650
1651 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1652
1653         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1654         style.
1655         (elmo-bind-directory): Ditto.
1656
1657 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1658
1659         * elmo.el (elmo-folder-append-messages): Note on return value.
1660         * elmo-archive.el (elmo-folder-append-messages): Don't return
1661         message numbers which could not be appended.
1662
1663 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1664
1665         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1666
1667 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1668
1669         * elmo-version.el (elmo-version): Up to 2.11.30.
1670
1671 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1672
1673         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1674         `mask'.
1675
1676         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1677
1678         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1679         (elmo-multi-split-numbers): Add elmo-folder object into each
1680         element of return value at first.
1681         (elmo-folder-delete-messages): Follow the above change.
1682         (elmo-folder-detach-messages): Ditto.
1683
1684         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1685         number which is synchronized in target folder.
1686
1687 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1688
1689         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1690         Change default value to symbol `all'.
1691         (elmo-map-message-fetch): Change condition to update overview
1692         follow the above.
1693
1694 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1695
1696         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1697         behavior to update overview.
1698         (elmo-shimbun-update-overview-folder-list): Note it.
1699
1700 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1703         recursive call.
1704
1705 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1706
1707         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1708         buffer-disable-undo, it is unnecessary.
1709         (elmo-spam-register-good-messages): Ditto.
1710
1711         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1712         Ditto.
1713
1714         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1715
1716 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1717
1718         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1719         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1720         elmo-set-buffer-multibyte.
1721         (elmo-object-load): Ditto.
1722         (elmo-save-buffer): Ditto.
1723         (elmo-delete-char): Ditto.
1724         (elmo-file-field-primitive-condition-match): Ditto.
1725         (elmo-mime-string): Ditto.
1726
1727         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1728         (elmo-archive-field-condition-match): Ditto.
1729
1730         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1731
1732         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1733
1734         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1735         (elmo-nntp-msgdb-create-message): Ditto.
1736
1737         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1738
1739         * elmo.el (elmo-message-match-condition): Ditto.
1740         (elmo-message-match-condition): Ditto.
1741
1742         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1743         Ditto.
1744
1745         * elmo-version.el (elmo-version): Up to 2.11.29.
1746
1747         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1748         (elsp-header): New backend.
1749
1750         * elmo-util.el (elmo-decoded-field-body): New function.
1751
1752 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1753
1754         * elmo-version.el (elmo-version): Up to 2.11.28.
1755
1756 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1757
1758         * elmo-filter.el: Rewrite.
1759
1760         * elmo-version.el (elmo-version): Up to 2.11.27.
1761
1762 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1763
1764         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1765         msgdb path for the localdir folder with absolute path.
1766
1767         * utf7.el: Synch up with latest gnus/utf7.el;
1768         Modified for latest Emacs.
1769
1770 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1771
1772         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1773         shimbun backend couldn't open.
1774
1775 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1776
1777         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1778         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1779         when a destination folder is a filter folder.
1780
1781 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1782
1783         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1784         (elmo-generic-folder-append-messages): Call elmo-message-flags
1785         with argument `msgid'.
1786
1787         * elmo-split.el (elmo-split-subr): Ditto.
1788
1789         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1790
1791         * elmo-multi.el (elmo-message-flags): Ditto.
1792
1793 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1794
1795         * elmo.el (elmo-folder): Add new slot `flag-table'.
1796         (elmo-folder-flag-table): New API.
1797         (elmo-folder-close-flag-table): Ditto.
1798         (elmo-folder-preserve-flags): New function.
1799         (elmo-generic-folder-append-messages): Use
1800         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1801         Flag of a non-registered message, it sets to nil.
1802         Does not set flag to flag-table.
1803
1804         * elmo-maildir.el (elmo-folder-append-buffer): Use
1805         `elmo-folder-preserve-flags'.
1806         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1807         `elmo-folder-close-flag-table'.
1808
1809         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1810         (elmo-archive-folder-append-buffer): Use
1811         `elmo-folder-preserve-flags'.
1812
1813         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1814
1815         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1816
1817         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1818         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1819         `elmo-folder-close-flag-table'.
1820
1821         * elmo-version.el (elmo-version): Up to 2.11.26.
1822
1823 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1824
1825         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1826
1827         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1828         md5's 4th and 5th argument (non-existent in flim one).
1829
1830 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1831
1832         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1833         message, It sets to nil.
1834
1835 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1836
1837         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1838         list is non-nil.
1839
1840 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1841
1842         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1843
1844         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1845
1846         * elmo-util.el (elmo-uniq-sorted-list): New function.
1847         (elmo-make-number-list): Ditto.
1848         (elmo-number-set-to-number-list): Use elmo-make-number-list
1849         and don't use nreverse.
1850
1851 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1852
1853         * elmo-version.el (elmo-version): Up to 2.11.25.
1854
1855 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1856
1857         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1858         field not exists in message, Use md5 message digest of header.
1859
1860 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1861
1862         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1863         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1864         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1865         * elmo-split.el (elmo-split-subr): Check return value of
1866         elmo-folder-append-buffer.
1867
1868         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1869         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1870
1871         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1872         message-id.
1873
1874 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1875
1876         * elmo-split.el (elmo-split-subr): Append message with flag.
1877
1878         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1879         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1880         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1881
1882 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1883
1884         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1885         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1886         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1887
1888 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1889
1890         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1891         with a function call of `process-buffer'.  All callers are updated.
1892         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1893         Remove redundant `set-buffer' in a while loop.
1894
1895 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1896
1897         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1898         calls.
1899
1900 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1901
1902         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1903         elsp-spamfilter-register-buffer-internal with current buffer.
1904         (elmo-spam-register-spam-buffer): Ditto.
1905         (elmo-spam-register-good-buffer): Ditto.
1906
1907 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1908
1909         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1910         if it is not contained in the response(A workaround for courier-imap).
1911
1912 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1913
1914         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1915         parenthesis.
1916
1917 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1918
1919         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1920         range.
1921
1922 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1923
1924         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1925         of nconc.
1926
1927         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1928         argument handler.
1929         (elmo-msgdb-message-match-condition): Follow the change above.
1930
1931 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1932
1933         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1934         folder name.
1935
1936 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1937
1938         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1939
1940 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1941
1942         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1943
1944 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1945
1946         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1947         not found.
1948
1949 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1950
1951         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1952         value.
1953         (elmo-file-command-argument): Undo last change for cygwin.
1954         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1955         Don't return nil.
1956         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1957
1958 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1959
1960         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1961         value returned from elmo-file-find is nil.
1962
1963 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1964
1965         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1966         to elmo-vars.el.
1967
1968         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1969         instead of insert-file-contents-as-binary.
1970         (elmo-message-set-field): New generic function.
1971
1972         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1973         behavior change on `split-string'.
1974
1975         * elmo-file.el (elmo-file-find): New function.
1976         (elmo-file-command): New user option.
1977         (elmo-file-command-argument): Ditto.
1978         (elmo-file-fetch-max-size): Ditto.
1979         (elmo-file-detect-format): New function.
1980         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1981         Use elmo-file-detect-format.
1982         (elmo-map-folder-list-message-locations): Don't treat directories.
1983
1984 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1985
1986         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1987         (elmo-passwd-alist-clear): Shred password before clear.
1988         (elmo-remove-passwd): Remove all mached pair.
1989
1990 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1991
1992         * elmo.el (elmo-folder-synchronize): Fix description of the return
1993         value.
1994
1995 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1996
1997         * elmo.el (elmo-message-fetch-bodystructure): New method.
1998         (elmo-message-fetch-bodystructure): Define default.
1999
2000         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2001         elmo-message-fetch-bodystructure.
2002         (elmo-message-fetch-bodystructure): Define.
2003
2004         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2005
2006 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2007
2008         * elmo-filter.el (elmo-message-folder): Define.
2009
2010 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2011
2012         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2013         elmo-delete-cr-buffer.
2014
2015         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2016
2017         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2018
2019         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2020
2021         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2022         type seems to be a text.
2023
2024 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2025
2026         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2027         (elmo-spam-register-good-buffer): Ditto.
2028         (elmo-spam-spamassassin-register-messages): Ditto.
2029
2030         * elmo-util.el (elmo-string-member-ignore-case): Define with
2031         static-cond.
2032
2033 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2034
2035         * elmo.el (elmo-folder-type): Undo last change.
2036
2037         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2038
2039         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2040         warnings.
2041
2042         * elmo-file.el: New file.
2043         
2044         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2045
2046         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2047         variable.
2048         (elmo-spam-spamassassin-register-messages): New inline function.
2049         (elmo-spam-register-spam-messages): Define.
2050         (elmo-spam-register-good-messages): Ditto.
2051
2052         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2053         Fixed typo.
2054
2055         * elmo.el (toplevel): Added autoload setting for
2056         `elmo-get-global-flags'.
2057         (elmo-message-has-global-flag-p): New function.
2058         (elmo-message-set-global-flags): Ditto.
2059         (elmo-folder-type): Improvement for name: format.
2060
2061         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2062         availability of keyword flags.
2063         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2064         (elmo-folder-list-flagged-plugged): Renamed from
2065         elmo-folder-list-flagged-unplugged.
2066         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2067         accept any flag as keyword flag.
2068         (elmo-folder-set-flag-plugged): Accept keyword flags.
2069         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2070
2071         * elmo-flag.el (elmo-get-global-flags): New function.
2072
2073         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2074         folders.
2075
2076         * elmo-version.el (elmo-version): Up to 2.11.24.
2077
2078 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2079
2080         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2081         elmo-multiple-field-body instead of std11-field-body to check all
2082         headers.
2083
2084 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2085
2086         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2087         or "size".
2088
2089 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2090
2091         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2092         unintern is unbound.
2093
2094 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2095
2096         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2097         Protect from infinite loop.
2098
2099 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2100
2101         * elsp-bogofilter.el
2102         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2103         (elmo-spam-bogofilter-register-messages): New internal function.
2104         (elmo-spam-register-spam-messages): Define.
2105         (elmo-spam-register-good-messages): Ditto.
2106
2107 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2108
2109         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2110         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2111         (elmo-spam-bogofilter-call): Fixed the last change.
2112         (elmo-spam-bogofilter-arguments): Ditto.
2113
2114         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2115         Follow the options change of latest bogofilter.
2116
2117         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2118         (elmo-spam-bogofilter-good-switch): Ditto.
2119         (elmo-spam-bogofilter-arguments-alist): New user option.
2120         (elmo-spam-bogofilter-debug): Ditto.
2121         (elmo-spam-bogofilter-call): Renamed from
2122         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2123         is non-nil, insert output in buffer for debug.
2124         (elmo-spam-bogofilter-arguments): New macro.
2125         (elmo-spam-buffer-spam-p): Use it.
2126         (elsp-bogofilter-register-buffer): Ditto.
2127
2128 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2129
2130         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2131         regexp.
2132
2133 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2134
2135         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2136         value as "ruby".
2137         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2138         (elmo-spam-bsfilter-program): Set default value as full path for
2139         `bsfilter'.
2140         (elmo-spam-bsfilter-debug): New user option.
2141         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2142         non-nil, insert output in buffer for debug. Fix treating of
2143         argument.
2144
2145 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2146
2147         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2148         `elmo-maildir-flag-specs' element instead of one.
2149         (elmo-map-folder-unset-flag): Ditto.
2150         (Reported by Ken Makimura <macky@astem.or.jp>)
2151
2152         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2153         (elmo-folder-unset-flag-plugged): Ditto.
2154
2155 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2156
2157         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2158         to `reads' slot only if `in-msgdb' is nil.
2159
2160 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2161
2162         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2163         and complement argument list.
2164
2165 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2166
2167         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2168         instead of elmo-folder-list-flagged.
2169
2170 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2171
2172         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2173
2174         * elsp-bsfilter.el: New file.
2175
2176         * elmo-pipe.el (elmo-folder-list-unreads,
2177         elmo-folder-list-answereds,
2178         elmo-folder-list-importants,
2179         elmo-folder-flag-as-important,
2180         elmo-folder-unflag-important,
2181         elmo-folder-flag-as-read,
2182         elmo-folder-unflag-read,
2183         elmo-folder-flag-as-answered,
2184         elmo-folder-unflag-answered): Remove.
2185         (elmo-folder-set-flag): Define.
2186         (elmo-folder-unset-flag): Ditto.
2187
2188         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2189         (elmo-folder-set-flag): Define.
2190         (elmo-folder-unset-flag): Ditto.
2191         (elmo-folder-list-unreads): Remove.
2192         (elmo-folder-list-flagged): Define.
2193
2194         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2195         (elmo-folder-list-unreads,
2196         elmo-folder-list-importants,
2197         elmo-folder-list-answereds,
2198         elmo-folder-list-unreads-plugged,
2199         elmo-folder-list-importants-plugged,
2200         elmo-folder-list-answereds-plugged): Remove.
2201         (elmo-folder-list-flagged-plugged): New method.
2202         (elmo-folder-unflag-important,
2203         elmo-folder-flag-as-important,
2204         elmo-folder-unflag-read,
2205         elmo-folder-flag-as-read,
2206         elmo-folder-unflag-answered,
2207         elmo-folder-flag-as-answered,
2208         elmo-folder-flag-as-read-unplugged,
2209         elmo-folder-unflag-read-unplugged,
2210         elmo-folder-flag-as-important-unplugged,
2211         elmo-folder-unflag-important-unplugged,
2212         elmo-folder-flag-as-answered-unplugged,
2213         elmo-folder-unflag-answered-unplugged): Remove.
2214         (elmo-folder-set-flag): Define.
2215         (elmo-folder-unset-flag): Ditto.
2216         (elmo-folder-set-flag-unplugged): Ditto.
2217         (elmo-folder-unset-flag-unplugged): Ditto.
2218
2219         * elmo-multi.el (elmo-folder-list-unreads,
2220         elmo-folder-list-answereds,
2221         elmo-folder-list-importants,
2222         elmo-folder-flag-as-important,
2223         elmo-folder-unflag-important,
2224         elmo-folder-flag-as-read,
2225         elmo-folder-unflag-read,
2226         elmo-folder-flag-as-answered,
2227         elmo-folder-unflag-answered): Remove.
2228         (elmo-folder-set-flag): Define.
2229         (elmo-folder-unset-flag): Ditto.
2230
2231         * elmo-map.el (elmo-map-folder-unflag-important,
2232         elmo-map-folder-flag-as-important,
2233         elmo-map-folder-unflag-read,
2234         elmo-map-folder-flag-as-read,
2235         elmo-map-folder-unflag-answered,
2236         elmo-map-folder-flag-as-answered): Remove.
2237         (elmo-map-folder-set-flag): New method.
2238         (elmo-map-folder-unset-flag): Ditto.
2239         (elmo-map-folder-list-unreads,
2240         elmo-map-folder-list-importants,
2241         elmo-map-folder-list-answereds): Remove.
2242         (elmo-folder-list-flagged-internal): Define.
2243         (elmo-map-folder-list-flagged): New method.
2244
2245         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2246         (elmo-map-folder-list-unreads,
2247         elmo-map-folder-list-importants,
2248         elmo-map-folder-list-flagged): Remove.
2249         (elmo-map-folder-list-flagged): Define.
2250         (elmo-map-folder-flag-as-important,
2251         elmo-map-folder-unflag-important,
2252         elmo-map-folder-flag-as-read,
2253         elmo-map-folder-unflag-read,
2254         elmo-map-folder-flag-as-answered,
2255         elmo-map-folder-unflag-answered): Remove.
2256         (elmo-maildir-set-mark-messages): New internal function.
2257         (elmo-map-folder-set-flag): Define.
2258         (elmo-map-folder-unset-flag): Ditto.
2259
2260         * elmo.el (toplevel): Added autoload setting for
2261         `elmo-folder-list-global-flag-messages'.
2262         (elmo-folder-list-unreads,
2263         elmo-folder-list-importants,
2264         elmo-folder-list-answereds): Remove.
2265         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2266         Return a list whitch merged with messages have global flag.
2267         (elmo-folder-list-flagged-internal): New method.
2268         (elmo-folder-unflag-important,
2269         elmo-folder-flag-as-important,
2270         elmo-folder-unflag-read,
2271         elmo-folder-flag-as-read,
2272         elmo-folder-unflag-answered,
2273         elmo-folder-flag-as-answered): Remove.
2274         (elmo-folder-set-flag): New method.
2275         (elmo-folder-unset-flag): Ditto.
2276         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2277         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2278
2279         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2280         (elmo-folder-list-unreads-plugged,
2281         elmo-folder-list-importants-plugged,
2282         elmo-folder-list-answereds-plugged,
2283         elmo-folder-list-flagged-unplugged,
2284         elmo-folder-unflag-important-plugged,
2285         elmo-folder-flag-as-important-plugged,
2286         elmo-folder-unflag-read-plugged,
2287         elmo-folder-flag-as-read-plugged,
2288         elmo-folder-unflag-answered-plugged,
2289         elmo-folder-flag-as-answered-plugged): Remove.
2290         (elmo-folder-set-flag-plugged,
2291         elmo-folder-unset-flag-plugged): Define.
2292
2293         * elmo-flag.el (elmo-folder-initialize): Register to
2294         `elmo-global-flag-list' if flag is not global.
2295         (elmo-folder-append-messages): Set flag to source messages.
2296
2297         * elmo-filter.el (elmo-filter-folder-list-unreads,
2298         elmo-folder-list-unreads,
2299         elmo-filter-folder-list-importants,
2300         elmo-folder-list-importants,
2301         elmo-folder-flag-as-read,
2302         elmo-folder-unflag-read,
2303         elmo-folder-flag-as-important,
2304         elmo-folder-unflag-important,
2305         elmo-folder-flag-as-answered,
2306         elmo-folder-unflag-answered): Remove.
2307         (elmo-folder-set-flag): Define.
2308         (elmo-folder-unset-flag): Ditto.
2309
2310         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2311         elmo-folder-unflag-read-dop,
2312         elmo-folder-flag-as-important-dop,
2313         elmo-folder-unflag-important-dop,
2314         elmo-folder-flag-as-answered-dop,
2315         elmo-folder-unflag-answered-dop): Remove.
2316         (elmo-folder-set-flag-dop,
2317         elmo-folder-unset-flag-dop,
2318         elmo-folder-set-important-delayed,
2319         elmo-folder-unset-important-delayed,
2320         elmo-folder-set-read-delayed,
2321         elmo-folder-unset-read-delayed,
2322         elmo-folder-set-answered-delayed,
2323         elmo-folder-unset-answered-delayed): New function.
2324         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2325         (elmo-dop-queue-method-name-alist): Ditto.
2326
2327         * elmo-version.el (elmo-version): Up to 2.11.23.
2328
2329 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2330
2331         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2332
2333         * elsp-sa.el: New file.
2334
2335 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2336
2337         * modb-standard.el (modb-standard-message-entity): New function.
2338         (elmo-msgdb-message-entity): Use it.
2339
2340 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2341
2342         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2343         behavior when one-level is nil.
2344
2345         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2346
2347         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2348
2349 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2350
2351         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2352         get max number.
2353         (elmo-generic-folder-diff): Ditto.
2354
2355         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2356         (elmo-folder-update-number): Ditto.
2357
2358         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2359         (elmo-folder-next-message-number-dop): Ditto.
2360
2361 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2362
2363         * elmo-filter.el (elmo-folder-msgdb-create): Use
2364         `elmo-message-entity' and `elmo-message-flags' instead of
2365         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2366
2367 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2368
2369         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2370         `if-exists'.
2371
2372 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2373
2374         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2375
2376         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2377
2378         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2379
2380 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2381
2382         * elmo-version.el (elmo-version): Up to 2.11.22.
2383
2384 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2385
2386         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2387
2388 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2389
2390         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2391         if the message dose not exist.
2392
2393 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2394
2395         * elmo-version.el (elmo-version): Up to 2.11.21.
2396
2397 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2398
2399         * modb-standard.el (toplevel): Don't require mime.
2400
2401 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2402
2403         * elsp-bogofilter.el (toplevel): Don't require path-util.
2404         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2405         (elmo-spam-bogofilter-header): Abolish.
2406         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2407         (elmo-spam-bogofilter-args): New user option.
2408         (elsp-bogofilter-call-bogofilter): New internal function.
2409         (elmo-spam-buffer-spam-p): Use it.
2410         (elsp-bogofilter-register-buffer): Renamed from
2411         `elmo-spam-bogofilter-register-buffer';
2412         Use `elsp-bogofilter-call-bogofilter'.
2413         (elmo-spam-register-spam-buffer): Follow the change above.
2414         (elmo-spam-register-good-buffer): Ditto.
2415
2416 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2417
2418         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2419         message-id is nil do nothing.
2420
2421 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2422
2423         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2424         Revival.
2425         (elmo-imap4-session): Removed use-flag slot.
2426         (elmo-imap4-session-select-mailbox): Undo last change.
2427         (elmo-folder-use-flag-p): Use
2428         elmo-imap4-disuse-server-flag-mailbox-regexp.
2429
2430 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2431
2432         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2433         (elmo-imap4-session-select-mailbox): Set it up.
2434         (elmo-folder-use-flag-p): Return value of use-flag slot.
2435
2436 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2437
2438         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2439         message-id is nil.
2440         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2441
2442         * modb-entity.el (elmo-message-entity-handler): Likewise.
2443
2444 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2445
2446         * elmo.el (toplevel): Remove setting of autoloding for
2447         elmo-global-flag-initialize.
2448         (elmo-init): Don't call elmo-global-flag-initialize.
2449         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2450
2451         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2452         (elmo-global-mark-migrate): Don't call it.
2453         (elmo-global-mark-upgrade): Ditto.
2454
2455 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2456
2457         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2458         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2459
2460         * elmo-vars.el (elmo-init-hook): New user option.
2461
2462         * elmo.el (elmo-init): Run the elmo-init-hook.
2463
2464         * elmo-flag.el (elmo-global-mark-migrate): New function.
2465
2466 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2467
2468         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2469         Undo last change (move to elmo-msgdb-unset-flag).
2470         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2471         flag is unset.
2472
2473 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2474
2475         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2476         read flag is set.
2477         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2478         (elmo-msgdb-unset-flag): Ditto.
2479
2480 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2481
2482         * elmo-split.el (elmo-split): Return split message count.
2483
2484 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2485
2486         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2487         is nil.
2488
2489 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2490
2491         * elmo.el (elmo-folder-unflag-important): Call
2492         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2493         a symbol `always'.
2494
2495         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2496         before unset flag.
2497         (elmo-global-flag-detach): Delete the message from flag folder, if
2498         `delete-if-none' is a symbol `always'.
2499
2500 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2501
2502         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2503         `elmo-spam-spamfilter-decode-buffer'.
2504         (elsp-spamfilter-register-buffer-internal): New internal function.
2505         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2506         (elmo-spam-register-spam-buffer): Ditto.
2507         (elmo-spam-register-good-buffer): Ditto.
2508
2509         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2510         change.
2511         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2512         (elmo-spam-register-spam-buffer): Follow the API change.
2513         (elmo-spam-register-good-buffer): Ditto.
2514
2515         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2516         (elmo-split-spam-p): Added argument plist; Call
2517         `elmo-spam-buffer-spam-p' with new argument register.
2518
2519         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2520         `register'.
2521         (elmo-spam-message-spam-p): Ditto.
2522         (elmo-spam-register-spam-buffer): Added optional argument
2523         `restore'.
2524         (elmo-spam-register-good-buffer): Ditto.
2525         (elmo-spam-register-spam-messages): Ditto.
2526         (elmo-spam-register-good-messages): Ditto.
2527
2528 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2529
2530         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2531         register into good corpus.
2532         (elmo-spam-register-good-buffer): Fixed to register into bad
2533         corpus.
2534
2535 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2536
2537         * elmo-version.el (elmo-version): Up to 2.11.20.
2538
2539         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2540         change.
2541
2542         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2543         flag without depending on \Recent flag.
2544
2545 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2546
2547         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2548         (elmo-spam-modified-p): Defined.
2549         (elmo-spam-save-status): Set `modified' slot to nil.
2550         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2551         (elmo-spam-register-good-buffer): Ditto.
2552
2553         * elmo-spam.el (elmo-spam-modified-p): New API.
2554
2555 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2556
2557         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2558         duplicate definition.
2559
2560         * elmo-util.el (elmo-unfold-field-body): New function.
2561         (elmo-msgdb-get-message-id-from-buffer): Use it.
2562
2563         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2564         Fixed the last change; Use elmo-unfold-field-body.
2565
2566 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2567
2568         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2569         Unfold date value.
2570
2571 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2572
2573         * elmo-spam.el (elmo-spam-save-status): New API.
2574
2575         * elsp-spamfilter.el: New file.
2576
2577 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2578
2579         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2580
2581 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2582
2583         * elmo-split.el (elmo-split-spam-p): New function.
2584
2585         * elmo-spam.el: New file.
2586
2587         * elsp-bogofilter.el: Ditto.
2588
2589 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2590
2591         * elmo.el (elmo-folder-next-message-number): New API.
2592         (elmo-folder-next-message-number): Define.
2593         (elmo-message-field): Don't check folder length.
2594
2595         * elmo-net.el (elmo-folder-next-message-number): Define.
2596         (elmo-folder-next-message-number-unplugged): Define.
2597
2598         * elmo-map.el (elmo-folder-next-message-number): Define.
2599         (elmo-folder-delete-messages): Clear hash value.
2600
2601         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2602
2603         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2604         (elmo-folder-delete-messages-dop-delayed): Always return t.
2605
2606         * elmo-version.el (elmo-version): Up to 2.11.19.
2607
2608 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2609
2610         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2611         change.
2612
2613         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2614         identical cons cell into the mark-alist and the hash table.
2615
2616 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2617
2618         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2619         elmo-folder-list-messages with argument `visible-only' as t.
2620
2621         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2622         (elmo-folder-msgdb-create): Check the target folder.
2623
2624 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2625
2626         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2627         `permanentflag' instead of `flags'.
2628         (elmo-folder-open): Ditto.
2629         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2630         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2631         (elmo-folder-use-flag-p): Always return t.
2632         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2633         `permanentflags' does not exist.
2634         (elmo-folder-open): Ditto.
2635
2636 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2637
2638         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2639         is nil.
2640         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2641
2642         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2643         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2644         response.
2645         (elmo-folder-open): Ditto.
2646         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2647         slot of the session includes the flag.
2648         (elmo-imap4-session-flag-available-p): New function.
2649         (elmo-imap4-folder-list-flagged): Ditto.
2650         (elmo-folder-list-unreads-plugged): Use it.
2651         (elmo-folder-list-importants-plugged): Ditto.
2652         (elmo-folder-list-answereds-plugged): Ditto.
2653         (elmo-imap4-search-internal-primitive): Ditto.
2654         (elmo-imap4-folder-list-any-plugged,
2655         elmo-imap4-folder-list-digest-plugged): Abolish.
2656
2657         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2658         if numbers is nil.
2659
2660 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2661
2662         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2663
2664 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2665
2666         * elmo-util.el (elmo-get-hash-val): Simplify.
2667         (elmo-set-hash-val): Rewrite.
2668
2669 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2670
2671         * elmo.el (elmo-folder-list-messages): Append killed messages into
2672         result if `visible-only' is nil and `in-msgdb' is non-nil.
2673
2674         * elmo-util.el (elmo-uniq-list): Added optional argument
2675         `delete-function'.
2676
2677         * modb.el (elmo-msgdb-flag-count): New API.
2678
2679         * modb-standard.el (modb-standard): Added slot flag-count.
2680         (modb-standard-countup-flags): New function.
2681         (modb-standard-load-flag): Call it.
2682         (elmo-msgdb-append): Ditto.
2683         (elmo-msgdb-clear): Clear slot flag-count.
2684         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2685         (elmo-msgdb-unset-flag): Treat `all' flag and call
2686         modb-standard-countup-flags.
2687         (elmo-msgdb-flag-count): Define.
2688         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2689         (elmo-msgdb-delete-messages): Ditto.
2690
2691         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2692         (elmo-msgdb-flag-count): Define.
2693
2694         * elmo.el (elmo-folder-list-messages): Undo last change.
2695         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2696         (elmo-folder-kill-messages): Unset all flags to numbers.
2697
2698         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2699         elmo-folder-kill-messages.
2700
2701         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2702         (elmo-nntp-folder-delete-messages): Abolish.
2703
2704         * elmo-version.el (elmo-version): Up to 2.11.18.
2705
2706 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2707
2708         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2709         (elmo-folder-kill-messages-range): New function.
2710         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2711         instead of elmo-folder-kill-messages-before.
2712
2713 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2714
2715         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2716         elmo-imap4-current-msgdb to decide entity handler.
2717
2718 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2719
2720         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2721
2722         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2723         inline function.
2724         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2725         (elmo-msgdb-overview-entity-set-number,
2726         elmo-msgdb-overview-entity-get-references,
2727         elmo-msgdb-overview-entity-set-references,
2728         elmo-msgdb-overview-entity-get-from-no-decode,
2729         elmo-msgdb-overview-entity-get-from,
2730         elmo-msgdb-overview-entity-set-from,
2731         elmo-msgdb-overview-entity-get-subject,
2732         elmo-msgdb-overview-entity-get-subject-no-decode,
2733         elmo-msgdb-overview-entity-set-subject,
2734         elmo-msgdb-overview-entity-get-date,
2735         elmo-msgdb-overview-entity-set-date,
2736         elmo-msgdb-overview-entity-get-to,
2737         elmo-msgdb-overview-entity-get-cc,
2738         elmo-msgdb-overview-entity-get-size,
2739         elmo-msgdb-overview-entity-set-size,
2740         elmo-msgdb-overview-entity-get-extra,
2741         elmo-msgdb-overview-entity-set-extra,
2742         elmo-msgdb-overview-entity-get-extra-field,
2743         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2744         (elmo-msgdb-make-index): Use
2745         `elmo-msgdb-overview-entity-get-number-internal'.
2746         (elmo-msgdb-clear-index): Ditto.
2747         (elmo-msgdb-append-entity): Ditto;
2748         Use `elmo-msgdb-overview-entity-get-id-internal'.
2749
2750         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2751         elmo-msgdb-overview-entity-set-number,
2752         elmo-msgdb-overview-entity-get-references,
2753         elmo-msgdb-overview-entity-set-references,
2754         elmo-msgdb-overview-entity-get-from-no-decode,
2755         elmo-msgdb-overview-entity-get-from,
2756         elmo-msgdb-overview-entity-set-from,
2757         elmo-msgdb-overview-entity-get-subject,
2758         elmo-msgdb-overview-entity-get-subject-no-decode,
2759         elmo-msgdb-overview-entity-set-subject,
2760         elmo-msgdb-overview-entity-get-date,
2761         elmo-msgdb-overview-entity-set-date,
2762         elmo-msgdb-overview-entity-get-to,
2763         elmo-msgdb-overview-entity-get-cc,
2764         elmo-msgdb-overview-entity-get-size,
2765         elmo-msgdb-overview-entity-set-size,
2766         elmo-msgdb-overview-entity-get-extra,
2767         elmo-msgdb-overview-entity-set-extra,
2768         elmo-msgdb-overview-entity-get-extra-field,
2769         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2770         and rewrote for backward compatibility.
2771
2772 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2773
2774         * elmo.el (elmo-message-entity-number,
2775         elmo-message-entity-set-number,
2776         elmo-message-entity-field,
2777         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2778
2779         * elmo-msgdb.el (elmo-message-entity-number,
2780         elmo-message-entity-set-number,
2781         elmo-message-entity-field,
2782         elmo-message-entity-set-field): Moved from elmo.el.
2783
2784 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2785
2786         * elmo.el (toplevel): Changed definition orders.
2787
2788 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2789
2790         * modb.el (elmo-msgdb-search): New API .
2791         (elmo-msgdb-match-condition): Ditto.
2792
2793         * modb-standard.el (elmo-msgdb-search): Define.
2794
2795         * modb-legacy.el (elmo-msgdb-search): Ditto.
2796
2797         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2798         from elmo-msgdb-match-condition-internal.
2799
2800         * elmo.el (elmo-folder-search-fast): Abolish.
2801         (elmo-folder-search): Use elmo-msgdb-search and
2802         elmo-with-progress-display.
2803
2804         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2805         as msgdb API.
2806
2807         * elmo.el (elmo-folder): Remove slot message-modified and
2808         flag-modified.
2809         (elmo-folder-set-message-modified): Abolish.
2810         (elmo-generic-folder-commit): Follow the change above.
2811         (elmo-folder-synchronize): Ditto.
2812
2813         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2814
2815         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2816
2817         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2818
2819 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2820
2821         * modb-standard.el (modb-standard-make-message-entity,
2822         elmo-msgdb-make-message-entity,
2823         elmo-msgdb-create-message-entity-from-buffer,
2824         elmo-msgdb-message-entity-number,
2825         elmo-msgdb-message-entity-set-number,
2826         elmo-msgdb-message-entity-field,
2827         elmo-msgdb-message-entity-set-field,
2828         elmo-msgdb-copy-message-entity,
2829         elmo-msgdb-match-condition-internal): Remove.
2830
2831         * modb-entity.el: New file (again).
2832
2833         * modb.el (toplevel): Require modb-entity.
2834         (elmo-msgdb-message-entity-handler): New method.
2835
2836         * modb-standard.el (modb-standard-entity-id): Use
2837         elmo-message-entity-handler.
2838         (modb-standard-load-entity): Ditto.
2839         (elmo-msgdb-append-entity): Ditto.
2840         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2841
2842         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2843         elmo-msgdb-decoded-cache-hashtb,
2844         (modb-legacy-make-message-entity,
2845         elmo-msgdb-make-message-entity,
2846         elmo-msgdb-create-message-entity-from-buffer,
2847         elmo-msgdb-message-entity-number,
2848         elmo-msgdb-message-entity-set-number,
2849         elmo-msgdb-message-entity-field,
2850         elmo-msgdb-message-entity-set-field,
2851         elmo-msgdb-copy-message-entity,
2852         elmo-msgdb-match-condition-internal,
2853         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2854
2855         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2856         (elmo-message-entity-set-number): Ditto.
2857         (elmo-message-entity-field): Ditto.
2858         (elmo-message-entity-set-field): Ditto.
2859
2860         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2861
2862         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2863
2864         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2865
2866         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2867         (elmo-nntp-msgdb-create-message): Ditto.
2868
2869         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2870         (elmo-folder-msgdb-create): Add unread flag.
2871
2872         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2873
2874         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2875
2876         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2877
2878         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2879
2880         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2881         elmo-msgdb-messge-entity-handler.
2882         * elmo-version.el (elmo-version): Up to 2.11.17.
2883
2884 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2885
2886         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2887         change.
2888
2889 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2890
2891         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2892
2893         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2894         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2895         (elmo-msgdb-flag-table): Ditto.
2896         (elmo-msgdb-sort-by-date): Ditto.
2897
2898         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2899
2900         * modb-standard.el (toplevel): Require mime.
2901         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2902         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2903         elmo-msgdb-message-entity-number.
2904         (elmo-msgdb-append-entity): Ditto.
2905         (elmo-msgdb-create-message-entity-from-file): Remove.
2906         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2907         corresponds to the entity.
2908         (elmo-msgdb-message-entity-number): Do nothing currently.
2909         (elmo-msgdb-message-entity-field): Ditto.
2910         (elmo-msgdb-message-entity-set-field): Ditto.
2911         (elmo-msgdb-copy-message-entity): Ditto.
2912         (elmo-msgdb-match-condition-internal): Ditto.
2913
2914         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2915         elmo-util.el.
2916         (elmo-msgdb-create-message-entity-from-file): Remove.
2917
2918         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2919         modb-legacy.el.
2920         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2921
2922         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2923
2924 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2925
2926         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2927         (elmo-msgdb-message-entity-field): Ditto.
2928         (elmo-msgdb-message-entity-number): Ditto.
2929
2930 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2931
2932         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2933         Fixed how to set extra field into entity.
2934         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2935         symbol.
2936
2937         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2938         Fixed how to set extra field into entity.
2939         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2940         symbol.
2941
2942 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2943
2944         * modb.el (elmo-message-entity-db): New function.
2945         (elmo-msgdb-make-message-entity): New API.
2946         (elmo-msgdb-message-entity-number): Ditto.
2947         (elmo-msgdb-message-entity-set-number): Ditto.
2948         (elmo-msgdb-message-entity-field): Ditto.
2949         (elmo-msgdb-message-entity-set-field): Ditto.
2950         (elmo-msgdb-copy-message-entity): Ditto.
2951         (elmo-msgdb-create-message-entity-from-file): Ditto.
2952         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2953         (elmo-msgdb-match-condition-internal): Ditto.
2954
2955         * modb-standard.el (modb-legacy): Require modb-legacy.
2956         (modb-standard-make-message-entity): New inline function.
2957         (elmo-msgdb-make-message-entity): Define.
2958         (elmo-msgdb-create-message-entity-from-file): Ditto.
2959         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2960         (elmo-msgdb-message-entity-field): Ditto.
2961         (elmo-msgdb-message-entity-set-field): Ditto.
2962         (elmo-msgdb-copy-message-entity): Ditto.
2963         (elmo-msgdb-match-condition-internal): Ditto.
2964
2965         * modb-legacy.el: Don't require modb-entity.
2966         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2967         (elmo-msgdb-match-condition-primitive): Ditto.
2968         (elmo-msgdb-get-decoded-cache): Ditto.
2969         (elmo-msgdb-overview-entity-get-id): Ditto.
2970         (elmo-msgdb-overview-entity-get-number): Ditto.
2971         (elmo-msgdb-overview-entity-set-number): Ditto.
2972         (elmo-msgdb-overview-entity-get-references): Ditto.
2973         (elmo-msgdb-overview-entity-set-references): Ditto.
2974         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2975         (elmo-msgdb-overview-entity-get-from): Ditto.
2976         (elmo-msgdb-overview-entity-set-from): Ditto.
2977         (elmo-msgdb-overview-entity-get-subject): Ditto.
2978         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2979         (elmo-msgdb-overview-entity-set-subject): Ditto.
2980         (elmo-msgdb-overview-entity-get-date): Ditto.
2981         (elmo-msgdb-overview-entity-set-date): Ditto.
2982         (elmo-msgdb-overview-entity-get-to): Ditto.
2983         (elmo-msgdb-overview-entity-get-cc): Ditto.
2984         (elmo-msgdb-overview-entity-get-size): Ditto.
2985         (elmo-msgdb-overview-entity-set-size): Ditto.
2986         (elmo-msgdb-overview-entity-get-extra): Ditto.
2987         (elmo-msgdb-overview-entity-set-extra): Ditto.
2988         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2989         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2990         (elmo-msgdb-number-load): Ditto.
2991         (elmo-msgdb-overview-load): Ditto.
2992         (elmo-msgdb-mark-load): Ditto.
2993         (elmo-msgdb-number-save): Ditto.
2994         (elmo-msgdb-mark-save): Ditto.
2995         (elmo-msgdb-overview-save): Ditto.
2996         (modb-legacy-make-message-entity): New inline function.
2997         (elmo-msgdb-insert-file-header): Ditto.
2998         (elmo-msgdb-make-message-entity): Define.
2999         (elmo-msgdb-create-message-entity-from-file): Ditto.
3000         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3001         (elmo-msgdb-message-entity-number): Ditto.
3002         (elmo-msgdb-message-entity-set-number): Ditto.
3003         (elmo-msgdb-message-entity-field): Ditto.
3004         (elmo-msgdb-message-entity-set-field): Ditto.
3005         (elmo-msgdb-copy-message-entity): Ditto.
3006         (elmo-msgdb-match-condition-internal): Ditto.
3007
3008         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3009         (elmo-message-copy-entity): Rewrite.
3010         (elmo-message-entity-number): Ditto.
3011         (elmo-message-entity-set-number): Ditto.
3012         (elmo-message-entity-field): Use elmo-message-entity-db.
3013         (elmo-message-entity-set-field): Ditto.
3014         (elmo-message-field): Rewrite.
3015
3016         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3017         elmo-msgdb.el
3018         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3019
3020         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3021         elmo-message-entity-field.
3022         (elmo-shimbun-folder-shimbun-header): Ditto.
3023         (elmo-shimbun-entity-to-header): Ditto.
3024         (elmo-folder-msgdb-create): Ditto.
3025         (elmo-shimbun-msgdb-create-entity): Ditto;
3026         Use elmo-msgdb-create-message-entity-from-buffer.
3027         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3028         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3029
3030         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3031         elmo-msgdb-create-message-entity-from-file and 
3032         elmo-message-entity-field.
3033
3034         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3035         elmo-message-entity-number.
3036         (elmo-pop3-msgdb-create-message): Use
3037         elmo-msgdb-create-message-entity-from-buffer,
3038         elmo-message-entity-set-field, elmo-message-entity-number and
3039         elmo-message-entity-set-number.
3040
3041         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3042         the API change in elmo-msgdb-make-message-entity.
3043         (elmo-nntp-msgdb-create-message): Use
3044         elmo-msgdb-create-message-entity-from-buffer.
3045
3046         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3047         elmo-message-entity-field and
3048         elmo-msgdb-create-message-entity-from-file.
3049
3050         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3051         (elmo-msgdb-get-field): Abolish.
3052         (elmo-msgdb-get-number): Rewrite.
3053         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3054         (elmo-msgdb-flag-table): Ditto.
3055         (elmo-msgdb-get-last-message-id,
3056         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3057         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3058         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3059         (elmo-msgdb-create-overview-from-buffer,
3060         elmo-msgdb-overview-get-parent-entity): Abolish.
3061
3062         * elmo-mime.el (elmo-mime-display-as-is): Use
3063         elmo-message-entity-field.
3064
3065         * elmo-map.el (elmo-folder-pack-numbers): Use
3066         elmo-message-entity-set-number.
3067
3068         * elmo-maildir.el (elmo-folder-msgdb-create): 
3069         elmo-msgdb-create-message-entity-from-file instead of
3070         elmo-msgdb-create-overview-entity-from-file.
3071
3072         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3073         msgdb.
3074         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3075         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3076
3077         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3078         elmo-messge-entity-field and elmo-message-entity-number.
3079         (elmo-imap4-fetch-callback-1): Call
3080         elmo-msgdb-create-message-entity-from-buffer instead of
3081         elmo-msgdb-create-overview-from-buffer. 
3082         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3083         (elmo-find-fetch-strategy): Likewise.
3084
3085         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3086         elmo-localdir-msgdb-create-entity with argument msgdb.
3087
3088         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3089         and elmo-message-entity-set-number.
3090
3091         * elmo-cache.el (elmo-folder-msgdb-create): Use
3092         elmo-message-entity-field.
3093         (elmo-folder-msgdb-create): Call
3094         elmo-msgdb-create-message-entity-from-file instead of
3095         elmo-msgdb-create-overview-entity-from-file.
3096
3097         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3098         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3099         instead of elmo-msgdb-create-overview-from-buffer.
3100         (elmo-archive-msgdb-create-entity): Ditto.
3101         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3102         elmo-message-entity-field.
3103         (elmo-archive-parse-mmdf): Ditto.
3104
3105         * modb-entity.el: Removed.
3106
3107         * elmo-version.el (elmo-version): Up to 2.11.16.
3108
3109 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3110
3111         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3112         `is-local'.
3113         (elmo-folder-flag-as-answered): Ditto.
3114
3115 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3116
3117         * modb-standard.el: New file.
3118
3119         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3120         elmo-msgdb-convert-type is `sync'.
3121
3122         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3123         (elmo-msgdb-convert-type): New user option.
3124
3125         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3126         (elmo-load-msgdb): Auto detect saved type.
3127
3128         * elmo-version.el (elmo-version): Up to 2.11.15.
3129
3130 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3131
3132         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3133
3134         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3135         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3136         with argument `delete-if-none' when dst-folder is 'null.
3137
3138         * elmo-flag.el (elmo-folder-append-messages): Defined.
3139         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3140
3141 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3142
3143         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3144
3145 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3146
3147         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3148         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3149         (elmo-folder-commit): Ditto.
3150
3151 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3152
3153         * elmo-flag.el: New file.
3154
3155         * elmo-mark.el: Removed.
3156
3157         * modb-legacy.el (modb-legacy-new-mark,
3158         modb-legacy-unread-uncached-mark,
3159         modb-legacy-unread-cached-mark,
3160         modb-legacy-read-uncached-mark,
3161         modb-legacy-answered-cached-mark,
3162         modb-legacy-answered-uncached-mark,
3163         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3164         All other related portions are changed.
3165
3166         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3167         (elmo-folder-list-messages-with-global-mark): Abolish.
3168         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3169         (elmo-folder-flag-as-important): Ditto.
3170         (elmo-folder-unflag-read): Ditto.
3171         (elmo-folder-flag-as-read): Ditto.
3172         (elmo-folder-unflag-answered): Ditto.
3173         (elmo-folder-flag-as-answered): Ditto.
3174         (elmo-message-encache): Return the cache path.
3175         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3176         (elmo-message-set-flag): Transitional implementation.
3177         (elmo-message-unset-flag): Ditto.
3178         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3179         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3180         (elmo-init): Call elmo-global-flag-initialize.
3181         (toplevel): Added autoload settings for elmo-flag.
3182
3183         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3184
3185         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3186         (elmo-file-cache-delete): Don't treat global-mark.
3187
3188         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3189
3190         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3191
3192         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3193         `elmo-global-flags-set'.
3194
3195         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3196         `flag'.
3197         (elmo-folder-unflag-read): Ditto.
3198         (elmo-folder-unflag-important): Ditto.
3199         (elmo-folder-flag-as-important): Ditto.
3200         (elmo-folder-unflag-answered): Ditto.
3201         (elmo-folder-flag-as-answered): Ditto.
3202
3203         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3204         `elmo-global-flags-set'.
3205         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3206
3207         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3208
3209         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3210         `flag'.
3211         (elmo-folder-flag-as-important): Ditto.
3212         (elmo-folder-unflag-important): Ditto.
3213         (elmo-folder-flag-as-important): Ditto.
3214         (elmo-folder-unflag-read): Ditto.
3215         (elmo-folder-flag-as-read): Ditto.
3216         (elmo-folder-unflag-answered): Ditto.
3217         (elmo-folder-flag-as-answered): Ditto.
3218
3219         * elmo-multi.el (elmo-folder-list-importants): Don't call
3220         elmo-folder-list-messages-with-global-mark.
3221         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3222         (elmo-folder-unflag-important): Ditto.
3223         (elmo-folder-flag-as-read): Ditto.
3224         (elmo-folder-unflag-read): Ditto.
3225         (elmo-folder-flag-as-answered): Ditto.
3226         (elmo-folder-unflag-answered): Ditto.
3227
3228         * elmo-msgdb.el (elmo-msgdb-new-mark,
3229         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3230         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3231         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3232         (Moved to modb-legacy.el).
3233         (elmo-flag-table-get): Treat important flag too.
3234
3235         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3236         `mark' to `flag'.
3237         (elmo-map-folder-flag-as-important): Ditto.
3238         (elmo-map-folder-unflag-read): Ditto.
3239         (elmo-map-folder-flag-as-read): Ditto.
3240         (elmo-map-folder-unflag-answered): Ditto.
3241         (elmo-map-folder-flag-as-answered): Ditto.
3242         (elmo-folder-unflag-important): Ditto.
3243         (elmo-folder-flag-as-important): Ditto.
3244         (elmo-folder-unflag-read): Ditto.
3245         (elmo-folder-flag-as-read): Ditto.
3246         (elmo-folder-unflag-answered): Ditto.
3247         (elmo-folder-flag-as-answered): Ditto.
3248
3249         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3250         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3251         `flag'.
3252         (elmo-map-folder-unflag-important): Ditto.
3253         (elmo-map-folder-flag-as-read): Ditto.
3254         (elmo-map-folder-unflag-read): Ditto.
3255         (elmo-map-folder-flag-as-answered): Ditto.
3256         (elmo-map-folder-unflag-answered): Ditto.
3257
3258         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3259         `elmo-global-flags-set'.
3260         (elmo-global-flags-set): Added autoload setting.
3261
3262         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3263         `flag'.
3264
3265         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3266         `elmo-msgdb-global-mark-set'.
3267         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3268         Call `elmo-global-flags-set'.
3269         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3270         `flag'.
3271         (elmo-folder-flag-as-important-plugged): Ditto.
3272         (elmo-folder-unflag-read-plugged): Ditto.
3273         (elmo-folder-flag-as-read-plugged): Ditto.
3274         (elmo-folder-unflag-answered-plugged): Ditto.
3275         (elmo-folder-flag-as-answered-plugged): Ditto.
3276         (elmo-global-flags-set): Added autoload setting.
3277
3278         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3279         `flag'.
3280         (elmo-folder-unflag-read): Ditto.
3281         (elmo-folder-flag-as-important): Ditto.
3282         (elmo-folder-unflag-important): Ditto.
3283         (elmo-folder-flag-as-answered): Ditto.
3284         (elmo-folder-unflag-answered): Ditto.
3285
3286         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3287         change of `mark'->`flag'.
3288         (elmo-dop-queue-method-name-alist): Ditto.
3289         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3290         (elmo-folder-unflag-read-dop): Ditto.
3291         (elmo-folder-flag-as-important-dop): Ditto.
3292         (elmo-folder-unflag-important-dop): Ditto.
3293         (elmo-folder-flag-as-answered-dop): Ditto.
3294         (elmo-folder-unflag-answered-dop): Ditto.
3295
3296         * elmo-cache.el (elmo-folder-msgdb-create): Call
3297         `elmo-global-flags-set'.
3298
3299         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3300         Call `elmo-global-flags-set'.
3301         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3302         elmo-archive-parse-mmdf with argument `folder'.
3303         (elmo-archive-parse-mmdf): Added argument `folder';
3304         Call `elmo-global-flags-set'.
3305
3306         * elmo-version.el (elmo-version): Up to 2.11.14.
3307
3308 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3309
3310         * modb.el (elmo-msgdb-length): Define.
3311
3312         * elmo.el (elmo-make-folder): Fixed.
3313         (elmo-generic-folder-append-messages): Follow the API change.
3314
3315         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3316         API change.
3317
3318 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3319
3320         * modb.el: New file.
3321
3322         * modb-entity.el: Ditto.
3323
3324         * modb-legacy.el: Ditto.
3325
3326         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3327         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3328         of `elmo-msgdb-overview-get-entity'.
3329         (elmo-msgdb-get-field): Ditto.
3330         (elmo-msgdb-merge): Moved to `elmo.el'.
3331         (elmo-msgdb-length): Removed; redefine as modb method.
3332         (elmo-msgdb-change-mark): Abolish.
3333         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3334         (elmo-msgdb-match-condition): Don't use mark.
3335         (elmo-msgdb-overview-get-entity): Abolish.
3336         Split modb part into `modb*.el'.
3337
3338         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3339
3340         * elmo-shimbun.el (shimbun-mua-search-id): Use
3341         `elmo-msgdb-message-entity' instead of
3342         `elmo-msgdb-overview-get-entity'.
3343         (elmo-shimbun-folder-shimbun-header): Ditto.
3344         (elmo-shimbun-get-headers): Ditto.
3345         (elmo-shimbun-update-overview): Ditto.
3346
3347         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3348
3349         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3350
3351         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3352         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3353
3354         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3355         `elmo-msgdb-mark-to-flags'.
3356
3357         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3358         `elmo-msgdb-set-path'.
3359
3360         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3361  
3362         * elmo-version.el (elmo-version): Up to 2.11.13.
3363
3364         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3365
3366         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3367         of mark.
3368
3369 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3370
3371         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3372         mismatch.
3373
3374 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3375
3376         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3377         instead of `elmo-msgdb-get-cached'.
3378         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3379
3380         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3381         (elmo-msgdb-set-cached): Ditto.
3382         (elmo-msgdb-set-flag): Rewrite.
3383         (elmo-msgdb-unset-flag): Ditto.
3384
3385         * elmo-msgdb.el: Rewrite with luna.
3386
3387         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3388         (elmo-folder-msgdb): Follow the change above.
3389         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3390         (elmo-folder-unmark-important): Follow the API change.
3391         (elmo-folder-mark-as-important): Ditto.
3392         (elmo-folder-unmark-read): Ditto.
3393         (elmo-folder-mark-as-read): Ditto.
3394         (elmo-folder-unmark-answered): Ditto.
3395         (elmo-folder-mark-as-answered): Ditto.
3396         (elmo-folder-clear): Likewise.
3397
3398         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3399         instead of `elmo-msgdb-load' (renamed).
3400
3401         * elmo-version.el (elmo-version): Up to 2.11.12.
3402
3403 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3404
3405         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3406         change.
3407         (elmo-message-mark): Abolish.
3408         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3409         instead of `elmo-msgdb-change-mark'.
3410
3411         * elmo-pipe.el (elmo-message-mark): Abolish.
3412
3413         * elmo-multi.el (elmo-message-mark): Ditto.
3414
3415         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3416         (elmo-msgdb-unread-uncached-mark): Ditto.
3417         (elmo-msgdb-unread-cached-mark): Ditto.
3418         (elmo-msgdb-read-uncached-mark): Ditto.
3419         (elmo-msgdb-answered-cached-mark): Ditto.
3420         (elmo-msgdb-answered-uncached-mark): Ditto.
3421         (elmo-msgdb-important-mark): Ditto.
3422         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3423         `use-cache'.
3424         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3425         `flags'.
3426         (elmo-flag-table-load): Changed flag to list of flag.
3427         (elmo-flag-table-set): If flags is nil, set read flag.
3428         (elmo-flag-table-get): Return derived flags from global mark,
3429         cache status and saved flags.
3430         (elmo-msgdb-flag-table): Follow the change above.
3431         (elmo-msgdb-out-of-date-messages): New function.
3432
3433         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3434
3435         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3436
3437         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3438
3439         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3440         (elmo-nntp-msgdb-create-message): Ditto.
3441
3442         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3443
3444         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3445         independent.
3446         (elmo-folder-msgdb-create): Follow the API change.
3447
3448         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3449         (elmo-folder-append-messages): Ditto.
3450
3451         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3452         (elmo-folder-append-buffer): Ditto.
3453
3454         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3455
3456         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3457
3458         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3459         (elmo-archive-parse-mmdf): Ditto.
3460
3461         * elmo-version.el (elmo-version): Up to 2.11.11.
3462
3463 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3464
3465         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3466         `elmo-msgdb-mark'.
3467
3468         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3469
3470         * elmo-pipe.el (elmo-message-flags): Defined.
3471
3472         * elmo-multi.el (elmo-message-flags): Ditto.
3473
3474 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3475
3476         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3477         `elmo-msgdb-delete-msgs'.
3478
3479         * elmo.el (elmo-folder-count-flags): Don't use
3480         `elmo-msgdb-get-mark-alist'.
3481         (elmo-folder-detach-messages): Follow the API change.
3482
3483         * elmo.el (elmo-folder-list-messages): Append killed messages into
3484         result if `visible-only' is nil.
3485
3486         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3487         canceled messages.
3488         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3489         (elmo-folder-update-number): Likewise.
3490
3491         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3492         (elmo-pop3-sort-msgdb-by-original-number): Use
3493         `elmo-msgdb-sort-entities'.
3494
3495         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3496         (elmo-msgdb-sort-by-date): Use it.
3497         (elmo-msgdb-overview-sort-by-date): Abolish.
3498
3499         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3500
3501         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3502         (elmo-msgdb-flags): New function.
3503         (elmo-msgdb-merge): Use elmo-msgdb-append.
3504
3505         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3506         change.
3507
3508         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3509
3510         * elmo-dop.el (elmo-folder-status-dop): Use
3511         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3512
3513 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3514
3515         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3516
3517         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3518
3519         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3520
3521         * elmo-util.el (elmo-with-progress-display): New macro.
3522
3523         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3524
3525 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3526
3527         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3528         `elmo-folder-list-message-entities' instead of
3529         `elmo-msgdb-get-overview'.
3530         (elmo-map-folder-list-message-locations): Ditto.
3531
3532         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3533         methods instead of treat directly).
3534         (elmo-msgdb-clear): Ditto.
3535         (elmo-msgdb-delete-msgs): Ditto.
3536         (elmo-msgdb-sort-by-date): Ditto.
3537
3538         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3539         local variables.
3540         (elmo-nntp-folder-msgdb-create): Follow the API change.
3541
3542         * elmo-version.el (elmo-version): Up to 2.11.10.
3543
3544 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3545
3546         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3547         (elmo-msgdb-flags-to-mark): Ditto.
3548         (elmo-msgdb-append-entity): Ditto.
3549
3550         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3551         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3552         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3553         (elmo-archive-parse-mmdf): Ditto.
3554
3555         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3556
3557         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3558
3559         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3560
3561         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3562
3563         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3564
3565         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3566
3567         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3568
3569         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3570
3571         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3572         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3573         to empty msgdb.
3574
3575         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3576         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3577         instead of directly construction.
3578         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3579         instead of construct msgdb.
3580
3581         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3582         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3583         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3584         instead of construct msgdb.
3585
3586 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3587
3588         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3589         when field is from or subject.
3590
3591 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3592
3593         * elmo-multi.el (elmo-message-entity-parent): Define.
3594         (elmo-folder-search): Rewrite.
3595
3596 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3597
3598         * elmo-multi.el (elmo-message-cached-p): Define.
3599
3600         * elmo.el (elmo-message-cached-p): New method.
3601         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3602         (elmo-message-flags): New method.
3603         (elmo-message-flagged-p): New function.
3604
3605         * elmo-version.el (elmo-version): Up to 2.11.9.
3606
3607 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3608
3609         * elmo-version.el (elmo-version): Up to 2.11.8.
3610
3611         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3612
3613         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3614
3615 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3616
3617         * elmo.el (elmo-folder-detach-messages): Undo last change.
3618
3619 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3620
3621         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3622
3623         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3624         only when src folder type is pop3.
3625
3626 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3627
3628         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3629         elmo-msgdb-overview-entity-get-number instead of
3630         elmo-message-entity-number.
3631
3632 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3633
3634         * elmo-version.el (elmo-version): Up to 2.11.7.
3635
3636 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3637
3638         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3639         function.
3640
3641         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3642         (elmo-msgdb-merge): New function.
3643         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3644         (elmo-msgdb-make-index): Rewrite.
3645
3646         * elmo-version.el (elmo-version): Up to 2.11.6.
3647
3648         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3649         use it as a the path for loading message entities.
3650
3651         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3652
3653 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3654
3655         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3656         message-modified slot of itself if it does not require target msgdb.
3657
3658         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3659         if folder length is zero.
3660         (elmo-mime-display-as-is): Ditto.
3661
3662         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3663
3664         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3665
3666 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3667
3668         * elmo.el (elmo-folder-set-message-modified): New method.
3669         (elmo-generic-folder-commit): Use it.
3670         (elmo-folder-synchronize): Ditto.
3671
3672         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3673         (elmo-folder-commit): Remove duplicate definition.
3674
3675 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3676
3677         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3678
3679 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3680
3681         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3682         (elmo-strict-folder-diff): Ditto.
3683         (elmo-folder-set-info-max-by-numdb): Simplify.
3684
3685         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3686         elmo-msgdb-list-messages.
3687
3688         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3689         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3690
3691 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3692
3693         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3694         visible-only is non-nil.
3695         (elmo-folder-confirm-appends): Changed message.
3696         (elmo-folder-synchronize): Added argument disable-killed.
3697
3698         * elmo-multi.el (elmo-folder-synchronize): Added argument
3699         disable-killed.
3700
3701         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3702
3703         * elmo-version.el (elmo-version): Up to 2.11.5.
3704
3705         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3706         elmo-list-filter.
3707
3708         * elmo-util.el (elmo-list-filter): Simplify.
3709
3710         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3711         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3712         (elmo-generic-folder-diff): Abolish argument.
3713         (elmo-msgdb-load): Don't use number-alist.
3714
3715         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3716
3717         * elmo-pipe.el (elmo-folder-diff): Ditto.
3718
3719         * elmo-nmz.el (elmo-folder-diff): Ditto.
3720
3721         * elmo-net.el (elmo-folder-diff): Ditto.
3722
3723         * elmo-maildir.el (elmo-folder-diff): Ditto.
3724
3725         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3726
3727         * elmo-multi.el (elmo-folder-diff): Ditto
3728         (elmo-multi-folder-diff): Rewrite.
3729
3730 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3731
3732         * elmo-pipe.el (elmo-folder-msgdb): Define.
3733
3734 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3735
3736         * elmo.el (elmo-message-set-cached): Define as a method.
3737
3738         * elmo-pipe.el (elmo-message-set-cached): Define.
3739         (elmo-find-fetch-strategy): Ditto.
3740
3741         * elmo-multi.el (elmo-message-set-cached): Define.
3742         (elmo-find-fetch-strategy): Rewrite.
3743
3744         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3745
3746         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3747
3748 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3749
3750         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3751         instead of number-alist.
3752
3753         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3754         mark nor message-id when msgdb of source folder is not loaded.
3755
3756         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3757
3758         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3759
3760 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3761
3762         * elmo.el (elmo-folder-length): Don't require msgdb.
3763
3764 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3765
3766         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3767         (elmo-message-field): Ditto.
3768
3769         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3770         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3771         slot.
3772         (elmo-map-folder-list-answereds): Define.
3773         (elmo-maildir-list-location): Treat 'R' info.
3774         (elmo-folder-msgdb-create): Treat flag-table.
3775         (elmo-folder-append-messages): Save flag-table.
3776
3777 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3778
3779         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3780         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3781
3782 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3783
3784         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3785
3786         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3787         'read when mark is null.
3788
3789 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3790
3791         * elmo-version.el (elmo-version): Up to 2.11.4.
3792
3793 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3794
3795         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3796         (elmo-folder-mark-as-answered): Ditto.
3797
3798 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3799
3800         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3801         (elmo-pop3-get-session): Make msgdb directory after session.
3802         (elmo-folder-exists-p): Check exactly at the first time even when the
3803         elmo-pop3-exists-exactly is nil.
3804
3805         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3806         (elmo-folder-list-messages): Define instead of
3807         elmo-folder-list-messages-internal.
3808         (elmo-folder-check): Check destination folder.
3809         (elmo-folder-synchronize): Drain the pipe.
3810
3811         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3812         when msgdb is not loaded.
3813
3814         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3815
3816         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3817         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3818         messages.
3819
3820         * elmo.el (elmo-folder-kill-messages-before): New function.
3821         (elmo-folder-kill-messages): Ditto.
3822         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3823
3824         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3825         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3826         killed not by synchronize (e.g. scoring).
3827
3828 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3829
3830         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3831         treated.
3832         (elmo-folder-search): Follow the change above.
3833
3834         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3835         into the candidates of search field.
3836
3837 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3838
3839         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3840         (elmo-msgdb-unset-flag): Ditto.
3841
3842         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3843
3844 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3845
3846         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3847         (elmo-folder-commit): Define.
3848         (elmo-folder-synchronize): Ditto.
3849         (elmo-folder-list-flagged): Ditto.
3850         (elmo-folder-commit): Ditto.
3851         (elmo-folder-length): Ditto.
3852         (elmo-folder-count-flags): Ditto.
3853         (elmo-message-mark): Ditto.
3854         (elmo-message-field): Ditto.
3855         (elmo-message-entity): Ditto.
3856         (elmo-message-folder): Ditto.
3857
3858 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3859
3860         * elmo.el (elmo-message-field): Define as a method.
3861
3862         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3863         (elmo-message-field): Define.
3864
3865         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3866         (elmo-folder-list-importants): Ditto.
3867         (elmo-folder-list-answereds): Ditto.
3868
3869         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3870         qualifier.
3871         (elmo-folder-mark-as-read): Ditto.
3872         (elmo-folder-unmark-read): Ditto.
3873         (elmo-folder-mark-as-answered): Ditto.
3874         (elmo-folder-unmark-answered): Ditto.
3875         (elmo-folder-list-flagged): Define.
3876         (elmo-folder-commit): Ditto.
3877         (elmo-folder-length): Ditto.
3878         (elmo-folder-count-flags): Ditto.
3879
3880 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3881
3882         * elmo.el (elmo-folder-detach-messages): New method.
3883         (elmo-folder-move-messages): Use it.
3884         (elmo-folder-synchronize): Ditto.
3885
3886         * elmo-multi.el (elmo-folder-detach-messages): Define.
3887
3888         * elmo.el (elmo-message-copy-entity): New function.
3889         (elmo-message-entity-set-number): Ditto.
3890         (elmo-message-mark): Define as method.
3891
3892         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3893         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3894         (elmo-message-entity): Fixed last change.
3895         (elmo-message-mark): Define.
3896         (elmo-folder-msgdb-create): Abolish.
3897         (elmo-multi-folder-append-msgdb): Ditto.
3898         (elmo-multi-folder-diff): Fixed.
3899         (elmo-multi-split-number-alist): Removed.
3900         (elmo-multi-split-mark-alist): Removed.
3901         (elmo-folder-list-messages): Define.
3902         (elmo-folder-list-messages-internal): Removed.
3903
3904         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3905         local file messages.
3906         (elmo-folder-msgdb-create): Fixed read mark.
3907
3908 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3909
3910         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3911         if mark is nil.
3912
3913 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3914
3915         * elmo.el (elmo-folder-list-message-entities): Define as inline
3916         function.
3917         (elmo-folder-messages): Abolish.
3918
3919         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3920         folder.
3921         (elmo-folder-synchronize): Define.
3922         (elmo-message-entity): Define.
3923
3924 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3925
3926         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3927         elmo-imap4-session-select-mailbox.
3928
3929         * elmo.el (elmo-folder-move-messages): Don't display any message.
3930
3931         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3932         parsing.
3933         (elmo-imap4-session-check): Don't wait CHECK response.
3934         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3935
3936 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3937
3938         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3939
3940 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3941
3942         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3943         API.
3944         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3945
3946
3947         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3948         (elmo-folder-list-message-entities): Added argument in-msgdb and
3949         numbers.
3950         (elmo-folder-synchronize): Define as a method.
3951
3952         * elmo-nntp.el (elmo-folder-initialize): Don't use
3953         elmo-nntp-default-user if zero-length username is specified
3954         explicitly.
3955
3956 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3957
3958         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3959         server name in case with username.
3960         (XXX: this is ad-hoc fix against username includes "@", it
3961         should be solved fundamentally)
3962
3963 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3964
3965         * elmo-nntp.el (elmo-nntp-debug): New function.
3966         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3967         (elmo-network-authenticate-session): Hide auth-info from the log.
3968
3969         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3970         user name if it is equal to elmo-nntp-default-user.
3971
3972 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3973
3974         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3975         instead of shimbun-server-internal;
3976         Use shimbun-current-group instead of shimbun-current-group-internal.
3977         (elmo-folder-plugged-p): Use shimbun-server instead of
3978         shimbun-server-internal.
3979         (elmo-folder-set-plugged): Ditto.
3980         (elmo-net-port-info): Ditto.
3981         (elmo-folder-check): Ditto.
3982         (elmo-folder-expand-msgdb-path): Ditto.
3983         (elmo-folder-list-subfolders): Ditto.
3984
3985 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3986
3987         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3988         Convert field-name to lower case.
3989         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3990
3991 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3992
3993         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3994         `message' and `error' take format string.
3995
3996 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3997
3998         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3999
4000 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4001
4002         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4003         recursive call (can't byte compile on emacs 20.7).
4004
4005 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4006
4007         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4008         (elmo-folder-list-message-entities): New API.
4009         (elmo-message-entity): Ditto.
4010         (elmo-message-entity-parent): Ditto.
4011         (elmo-folder-do-each-message-entity): Ditto.
4012         (elmo-message-entity-number): Ditto.
4013         (elmo-message-entity-field): Ditto.
4014         (elmo-message-entity-set-field): Ditto.
4015         (elmo-folder-count-flags): Ditto.
4016         (elmo-folder-length): Ditto.
4017
4018         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4019         not.
4020
4021         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4022         (elmo-msgdb-count-marks): Abolish.
4023         (elmo-msgdb-make-entity): Ditto.
4024         (elmo-msgdb-do-each-entity): Ditto.
4025         (elmo-msgdb-message-entity): New inline function.
4026         (elmo-msgdb-message-entity-field): Ditto.
4027         (elmo-msgdb-message-entity-set-field): Ditto.
4028         (elmo-msgdb-make-message-entity): New function.
4029
4030 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4031
4032         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4033         to flag. (All other related portions are changed.)
4034         (elmo-folder-msgdb-create): Likewise.
4035         (elmo-generic-folder-append-messages): Use flag-table instead of
4036         seen-list.
4037         (elmo-folder-move-messages): Removed redundant process.
4038         (elmo-folder-synchronize): Likewise.
4039
4040         * elmo-msgdb.el (elmo-flag-table-get): New function.
4041         (elmo-flag-table-save): Fixed.
4042         (elmo-msgdb-length): New inline function.
4043         (elmo-msgdb-flag-table): New function.
4044         (elmo-msgdb-mark): Add optional argument new.
4045         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4046         (elmo-msgdb-seen-list): Ditto.
4047         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4048
4049
4050 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4051
4052         * elmo.el (elmo-message-set-mark): Abolish.
4053         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4054         (All related portions are changed.)
4055
4056         * elmo-msgdb.el (toplevel): Added comment.
4057         (elmo-load-msgdb): Added 4th element `path'.
4058         (elmo-msgdb-append): Follow the change above.
4059         (elmo-msgdb-clear): Ditto.
4060         (elmo-msgdb-delete-msgs): Ditto.
4061         (elmo-msgdb-get-path): New inline function.
4062         (elmo-msgdb-set-path): Ditto.
4063         (elmo-flag-table-filename): New variable.
4064         (elmo-flag-table-load): New function.
4065         (elmo-flag-table-set): Ditto.
4066         (elmo-flag-table-save): Ditto.
4067         (elmo-msgdb-get-field-value): Abolish.
4068         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4069
4070 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4071
4072         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4073         the folder has been deleted successfully.
4074         * elmo-imap4.el (elmo-folder-delete): Ditto.
4075         * elmo-archive.el (elmo-folder-delete): Ditto.
4076         * elmo-localdir.el (elmo-folder-delete): Ditto.
4077         * elmo-maildir.el (elmo-folder-delete): Ditto.
4078
4079 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4080
4081         * elmo-util.el (elmo-string-member-ignore-case): New function.
4082         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4083         (elmo-imap4-fetch-callback-1-subr): Likewise.
4084
4085 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4086
4087         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4088         the case of the name attribute "\Noselect".
4089
4090 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4091
4092         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4093
4094         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4095         flist, is not always a member of onum-alist.
4096
4097 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4098
4099         * elmo-version.el (elmo-version): Up to 2.11.3.
4100
4101 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4102
4103         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4104         copied from localdir's one.
4105
4106         * elmo-pipe.el (elmo-folder-rename): New method, rename
4107         destination folder with leaving source folder as it is.
4108
4109 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4110
4111         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4112         replace-regexp.
4113
4114 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4115
4116         * elmo-version.el (elmo-version): Up to 2.11.2.
4117
4118 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4119
4120         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4121         shimbun-open in case of "@".
4122         (elmo-folder-open-internal): Cope with shimbun = nil case.
4123         (elmo-folder-plugged-p): Ditto.
4124         (elmo-folder-list-subfolders): Make list for "@/" group.
4125
4126 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4127
4128         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4129         mailbox (e.g. for %~/something).
4130
4131 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4132
4133         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4134         Replace nested conditional with guard clauses.
4135
4136 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4137
4138         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4139         error [wl:11327].
4140
4141         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4142         print-depth.
4143
4144 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4145
4146         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4147         Replace nested conditional with guard clauses.
4148
4149 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4150
4151         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4152         (elmo-passwd-alist-save): Ditto.
4153         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4154
4155 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4156
4157         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4158         dir-name only if it is absolute path.
4159         (TODO: distinguish +/something and +something)
4160
4161 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4162
4163         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4164         path for "+~/something".
4165
4166 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4167
4168         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4169         as non-directory, cause error before rename-file.
4170         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4171         apropriately, mimic localdir's one.
4172         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4173
4174 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4175
4176         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4177
4178 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4179
4180         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4181
4182         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4183         
4184         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4185         is included in the global-mark or not.
4186
4187 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4188
4189         * utf7.el (toplevel): Avoid error when the function
4190         find-coding-system does not exist.
4191
4192 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4193
4194         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4195         cache even if the folder is plugged.
4196         (elmo-nntp-search-primitive): Do nothing when body search is
4197         invoked (although it is not used by the change above).
4198         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4199
4200 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4201
4202         * elmo-version.el (elmo-version): Up to 2.11.1.
4203
4204 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4205
4206         * elmo-archive.el: Specify charset.
4207
4208 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4209
4210         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4211         process buffer lives or not.
4212
4213         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4214         while flushing queues (It causes infinite loop).
4215
4216 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4217
4218         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4219
4220 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4221
4222         * utf7.el (toplevel): Check the ucs features dynamically.
4223         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4224
4225         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4226         folder is creatabe or not if it already exists.
4227
4228 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4229
4230         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4231
4232         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4233
4234         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4235         (elmo-imap4-read-response): Take care of garbage response.
4236
4237 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4238
4239         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4240         just return nil instead of error.
4241
4242 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4243
4244         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4245         search-key is "body".
4246
4247 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4248
4249         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4250         of elmo-string-matched-assoc to use match-data.
4251         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4252
4253 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4254
4255         * elmo-split.el (elmo-split->): New function.
4256         (elmo-split-<): Ditto.
4257
4258 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4259
4260         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4261         workaround for invalid message-id.
4262
4263 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4264
4265         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4266         return normal pop3 session or pop3 biff session.
4267
4268 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4269
4270         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4271         info part to the cur files when the new files already have it.
4272         (Adviced by Jared Rhine <jared@wordzoo.com>)
4273
4274 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4275
4276         * elmo-split.el (elmo-split-default-action): New variable.
4277         (elmo-split-subr): Use it if all other conditions are passed.
4278         Extend `fname' and rename it as `action'. (implemented
4279         Teranishi-san's idea in [wl:10800])
4280
4281 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4282
4283         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4284         * elmo-util.el: Ditto.
4285
4286 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4287
4288         * elmo.el (elmo-message-accessible-p): Renamed from
4289         elmo-message-cached-p and rewritten.
4290
4291 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4292
4293         * elmo.el (elmo-folder-list-flagged): New generic function.
4294         (elmo-folder-list-importants): New implementation.
4295         (elmo-folder-list-answereds): Ditto.
4296         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4297         Added 'digest'.
4298         (elmo-message-cached-p): New function.
4299         (elmo-message-set-flag): Ditto (no content).
4300         (elmo-message-unset-flag): Ditto.
4301         (elmo-folder-list-messages-mark-match): Abolish.
4302
4303         * elmo-util.el (elmo-regexp-opt): New function.
4304
4305         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4306         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4307         Added 'digest'.
4308         (elmo-msgdb-list-flagged): New function.
4309
4310         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4311         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4312         Added 'digest'.
4313
4314         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4315
4316 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4317
4318         * elmo-version.el (elmo-version): Up to 2.11.0.
4319
4320 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4321
4322         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4323         `elmo-file-cache-exists-p'; use proper mark that depends on
4324         `use-cache'.
4325         (elmo-msgdb-unset-flag): Ditto.
4326         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4327
4328         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4329         with 4th argument `use-cache'.
4330
4331 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4332
4333         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4334         (elmo-folder-mark-as-important): Ditto.
4335         (elmo-folder-unmark-read): Ditto.
4336         (elmo-folder-mark-as-read): Ditto.
4337         (elmo-folder-unmark-answered): Ditto.
4338         (elmo-folder-mark-as-answered): Ditto.
4339
4340         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4341         message status.
4342         (elmo-msgdb-mark): Likewise.
4343         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4344         (elmo-msgdb-unset-flag): Likewise.
4345
4346         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4347
4348 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4349
4350         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4351         `last:' filter.
4352
4353 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4354
4355         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4356         set spool-length to 0.
4357
4358 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4359
4360         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4361         (elmo-dop-queue-flush): Fixed last change.
4362
4363 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4364
4365         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4366         if require-msgdb slot is nil.
4367         (elmo-folder-list-importants): Likewise.
4368
4369 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4370
4371         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4372         mark is changed.
4373
4374         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4375         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4376         is changed.
4377
4378 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4379
4380         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4381
4382 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4383
4384         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4385
4386         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4387
4388 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4389
4390         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4391         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4392
4393 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4394
4395         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4396         the problem reported by Sean Rima [wl-en:180].
4397
4398 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4399
4400         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4401
4402         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4403
4404         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4405
4406         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4407
4408         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4409
4410         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4411
4412         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4413
4414 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4415
4416         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4417         status number.
4418
4419 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4420
4421         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4422         (elmo-folder-mark-as-read): Follow the API change.
4423         (elmo-message-set-cached): New function.
4424
4425         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4426
4427         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4428
4429         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4430         (elmo-folder-mark-as-important): Ditto.
4431         (elmo-folder-unmark-read): Ditto.
4432         (elmo-folder-mark-as-read): Ditto.
4433         (elmo-folder-unmark-answered): Ditto.
4434         (elmo-folder-mark-as-answered): Ditto.
4435
4436         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4437         (elmo-folder-unmark-important): Ditto.
4438         (elmo-folder-mark-as-read): Ditto.
4439         (elmo-folder-unmark-read): Ditto.
4440         (elmo-folder-mark-as-answered): Ditto.
4441         (elmo-folder-unmark-answered): Ditto.
4442
4443         * elmo-mark.el (toplevel): Removed some mark method definitions.
4444
4445         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4446         (elmo-map-folder-mark-as-answered): Ditto.
4447         (elmo-folder-unmark-important): Add :before qualifier.
4448         (elmo-folder-mark-as-important): Ditto.
4449         (elmo-folder-unmark-read): Ditto.
4450         (elmo-folder-mark-as-read): Ditto.
4451         (elmo-folder-unmark-answered): Define.
4452         (elmo-folder-mark-as-answered): Ditto.
4453
4454         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4455         (elmo-map-folder-unmark-answered): Ditto.
4456
4457         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4458
4459         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4460         (elmo-folder-mark-as-important): Ditto.
4461         (elmo-folder-unmark-read): Ditto.
4462         (elmo-folder-mark-as-read): Ditto.
4463         (elmo-folder-unmark-answered): Ditto.
4464         (elmo-folder-mark-as-answered): Ditto.
4465
4466         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4467         `mark'; evaluate mark condition.
4468         (elmo-msgdb-match-condition-internal): New function.
4469         (elmo-msgdb-match-condition): Call it; changed argument.
4470
4471         * elmo.el (elmo-folder-search): Follow the API change on
4472         `elmo-msgdb-match-condition'.
4473
4474 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4475
4476         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4477         original mark is non-nil.
4478
4479 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4480
4481         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4482         (elmo-map-folder-list-answereds): New method.
4483         (elmo-folder-list-unreads): Add :around qualifier.
4484         (elmo-folder-list-importants): Ditto.
4485         (elmo-folder-list-answereds): Ditto.
4486
4487 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4488
4489         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4490
4491         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4492         method if msgdb is not required.
4493         (elmo-filter-folder-list-importants): Don't treat global-mark.
4494
4495         * elmo.el (elmo-folder-list-importants): Ditto.
4496
4497         * elmo-net.el (elmo-folder-list-importants): Ditto.
4498
4499         * elmo-map.el (elmo-folder-list-importants): Ditto.
4500
4501         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4502
4503         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4504         (elmo-imap4-folder-list-any-plugged): New function.
4505         (elmo-imap4-search-internal-primitive): Use it.
4506
4507         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4508         only when require-msgdb slot is non-nil.
4509         (elmo-folder-close): Clear target folder's msgdb.
4510
4511 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4512
4513         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4514         (elmo-pop3-msgdb-create-by-header): Ditto.
4515         (elmo-pop3-msgdb-create-message): Ditto.
4516
4517         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4518
4519         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4520
4521         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4522
4523         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4524         (elmo-folder-msgdb-create): Ditto.
4525         (elmo-nntp-folder-msgdb-create): Ditto.
4526         (elmo-nntp-msgdb-create-by-header): Ditto.
4527         (elmo-nntp-msgdb-create-message): Ditto.
4528         (elmo-folder-list-unreads): Define.
4529
4530         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4531         (elmo-folder-append-messages): Ditto.
4532         (elmo-folder-list-unreads): Define.
4533         (elmo-folder-list-importants): Ditto.
4534         (elmo-folder-list-answereds): Ditto.
4535
4536         * elmo-net.el (elmo-folder-list-unreads): Define.
4537         (elmo-folder-list-importants): Ditto.
4538         (elmo-folder-list-answereds): Ditto.
4539         (elmo-folder-list-answereds-plugged): Ditto.
4540         (elmo-folder-msgdb-create): Follow the API change.
4541         (elmo-folder-msgdb-create-unplugged): Ditto.
4542         (elmo-folder-unmark-answered): Define.
4543         (elmo-folder-mark-as-answered-unplugged): Ditto.
4544         (elmo-folder-unmark-answered-unplugged): Ditto.
4545
4546         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4547         (elmo-msgdb-unread-uncached-mark): Ditto.
4548         (elmo-msgdb-unread-cached-mark): Ditto.
4549         (elmo-msgdb-read-uncached-mark): Ditto.
4550         (elmo-msgdb-answered-cached-mark): Ditto.
4551         (elmo-msgdb-answered-uncached-mark): Ditto.
4552         (elmo-msgdb-important-mark): Ditto.
4553         (elmo-msgdb-set-mark): Rewrite.
4554         (elmo-msgdb-count-marks): Rewrite.
4555         (elmo-msgdb-mark-alist-set): Abolish.
4556         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4557         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4558
4559         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4560         (elmo-folder-close): Define.
4561         (elmo-folder-msgdb-create): Follow the API change.
4562         (elmo-folder-list-unreads): Rewrite.
4563         (elmo-folder-mark-as-important): Ditto.
4564         (elmo-folder-unmark-important): Ditto.
4565         (elmo-folder-mark-as-read): Ditto.
4566         (elmo-folder-unmark-read): Ditto.
4567         (elmo-folder-mark-as-answered): Define.
4568         (elmo-folder-unmark-answered): Ditto.
4569
4570         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4571         (elmo-folder-append-messages): Ditto.
4572
4573         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4574
4575         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4576         (elmo-folder-list-importants): Ditto.
4577
4578         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4579         (elmo-folder-append-messages): Ditto.
4580
4581         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4582         change.
4583         (elmo-folder-msgdb-create-plugged): Ditto.
4584         (elmo-folder-append-messages): Ditto.
4585         (elmo-folder-list-answereds-plugged): Define.
4586         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4587         (elmo-folder-unmark-answered-plugged): Define.
4588         (elmo-folder-mark-as-answered-plugged): Ditto.
4589         (elmo-folder-search-requires-msgdb-p): Ditto.
4590
4591         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4592         (elmo-folder-initialize): Set it.
4593         (elmo-folder-msgdb): Define.
4594         (elmo-folder-check): Call elmo-folder-synchronize.
4595         (elmo-folder-close): Define.
4596         (elmo-folder-commit): Ditto.
4597         (elmo-folder-msgdb-create): Rewrite.
4598         (elmo-folder-list-unreads): Ditto.
4599         (elmo-folder-list-importants): Ditto.
4600         (elmo-folder-mark-as-read): Ditto.
4601         (elmo-folder-unmark-read): Ditto.
4602         (elmo-folder-mark-as-important): Ditto.
4603         (elmo-folder-unmark-important): Ditto.
4604         (elmo-folder-mark-as-answered): Define.
4605         (elmo-folder-unmark-answered): Ditto.
4606
4607         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4608         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4609         (elmo-dop-queue-method-name-alist): Likewise.
4610         (elmo-folder-mark-as-answered-dop): New inline function.
4611         (elmo-folder-unmark-answered-dop): Ditto.
4612         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4613
4614         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4615         (elmo-folder-msgdb-create): Ditto.
4616         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4617         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4618         (elmo-archive-parse-mmdf): Ditto.
4619
4620         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4621         (elmo-folder-list-unreads-internal): Ditto.
4622
4623         * elmo.el (elmo-folder-msgdb): Define as generic function.
4624         (elmo-folder-list-messages): Added argument `in-msgdb'.
4625         (elmo-folder-list-unreads): Define as generic function.
4626         (elmo-folder-list-importants): Ditto.
4627         (elmo-folder-list-answereds): Ditto.
4628         (elmo-folder-list-messages-with-global-mark): New function.
4629         (elmo-folder-msgdb-create): Removed mark arguments.
4630         (elmo-folder-unmark-answered): New generic function.
4631         (elmo-folder-mark-as-answered): Ditto.
4632         (elmo-folder-append-messages): Removed argunment `unread-marks'
4633         (elmo-folder-list-unreads-internal): Abolish.
4634         (elmo-folder-list-importants-internal): Ditto.
4635         (elmo-folder-search-requires-msgdb-p): New generic function.
4636         (elmo-folder-search-requires-msgdb-p-internal): New function.
4637         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4638         elmo-msgdb-load.
4639         (elmo-folder-search-fast): Added key 'mark'.
4640         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4641         instead of unread-marks argument.
4642         (elmo-folder-move-messages): Removed argunment `unread-marks'
4643         (elmo-folder-unmark-important): Define.
4644         (elmo-folder-mark-as-important): Ditto.
4645         (elmo-folder-unmark-read): Ditto.
4646         (elmo-folder-mark-as-read): Ditto.
4647         (elmo-folder-unmark-answered): Ditto.
4648         (elmo-folder-mark-as-answered): Ditto.
4649         (elmo-folder-replace-marks): Abolish.
4650         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4651         duplicates.
4652         (elmo-folder-synchronize): Removed mark arguments;
4653         return crosspost only number.
4654
4655 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4656
4657         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4658         Remove redundunt connectivity check.
4659
4660 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4661
4662         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4663         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4664
4665 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4666
4667         * pldap.el (ldap-decode-string): Return string as-is if
4668         `ldap-coding-system' is nil.
4669         (ldap-encode-string): Ditto.
4670         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4671         (ldap-default-host): Fixed docstring.
4672
4673 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4674
4675         * elmo-util.el (elmo-warning): Define as a macro which uses
4676         `display-warning' if it is defined as a function.
4677
4678         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4679         (elmo-split-equal): Use it.
4680         (elmo-split-match): Ditto.
4681         (elmo-split-message-entity): New buffer-local variable.
4682         (elmo-split-subr): Set it.
4683
4684         * elmo-version.el (elmo-version): Up to 2.9.15.
4685
4686 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4687
4688         * elmo-imap4.el (elmo-network-initialize-session):
4689         Check capability after starttls.
4690
4691 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4692
4693         * elmo-util.el (elmo-list-delete): Added optional argument
4694         DELETE-FUNCTION.
4695
4696         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4697
4698         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4699
4700         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4701
4702         * elmo-imap4.el (elmo-folder-initialize): Don't use
4703         elmo-imap4-default-mailbox.
4704
4705 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4706
4707         * elmo-split.el (toplevel): Use `product-provide'.
4708         (elmo-split): Checkdoc.
4709
4710 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4711
4712         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4713         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4714         the function `elmo-imap4-debug-1'.
4715
4716 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4717
4718         * elmo-split.el (elmo-split): Moved to run hooks and to show
4719         message from elmo-split-subr.
4720         (elmo-split-subr): Follow the change above.
4721
4722         * elmo-split.el (elmo-split-subr): New function (renamed from
4723         elmo-split-subr).
4724         (elmo-split): Changed to call elmo-split-subr by element of
4725         elmo-split-folder.
4726         (elmo-split-folder): Changed customization type to choice.
4727
4728 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4729
4730         * elmo-split.el (elmo-split-and): Fixed condition.
4731
4732 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo-split.el: New file.
4735         (elmo-split): Fixed logic.
4736         Display "Test:" instead of "Folder:" when reharsal.
4737
4738         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4739         explicitly.
4740
4741         * elmo-version.el (elmo-version): Up to 2.9.14.
4742
4743         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4744         wl-expand-newtext).
4745
4746 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4747
4748         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4749         message with no message-id field.
4750
4751 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4752
4753         * elmo-version.el (elmo-version): Up to 2.9.13.
4754
4755         * elmo-dop.el (elmo-folder-status-dop): Fix.
4756
4757 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4758
4759         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4760
4761         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4762         changing default value of default-mime-charset.
4763         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4764
4765         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4766
4767         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4768         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4769         instead of elmo-dop-queue-method-name-alist to check merging queue.
4770         (elmo-folder-delete-messages-dop): Delete from queue if negative
4771         message number.
4772         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4773         file is already removed.
4774
4775 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4776
4777         * elmo-vars.el: Bind colon keywords for old Emacsen.
4778
4779 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4780
4781         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4782         against non-exsisting charset.
4783
4784 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4785
4786         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4787         Use eword-decode-and-unfold-unstructured-field-body.
4788
4789         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4790         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4791         exists to decode raw subject string.
4792         (toplevel): Require 'mime.
4793
4794         * elmo-version.el (elmo-version): Up to 2.9.12.
4795
4796 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4797
4798         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4799         (elmo-msgdb-set-mark): Ditto.
4800
4801         * elmo-version.el (elmo-version): Up to 2.9.11.
4802
4803 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4804
4805         * elmo-util.el (elmo-delete-match-files): New function.
4806
4807         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4808         instead of elmo-delete-directory.
4809
4810         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4811         elmo-hash-minimun-size as 63.
4812
4813         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4814         elmo-diff-unread is nil.
4815
4816         * elmo-imap4.el (elmo-folder-open): Fix.
4817
4818         * elmo.el (elmo-message-mark): Rewrite.
4819         (elmo-message-field): Ditto.
4820         (elmo-message-set-mark): Ditto.
4821         (elmo-folder-replace-marks): New function.
4822         (elmo-generic-folder-append-msgdb): Removed third argument for
4823         elmo-msgdb-append.
4824         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4825         (elmo-msgdb-load): New implementation.
4826
4827         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4828
4829         * elmo-util.el (elmo-list-insert): New implementation.
4830
4831         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4832         argument for elmo-msgdb-append.
4833         
4834
4835         * elmo-msgdb.el (elmo-load-msgdb): New function.
4836         (elmo-make-msgdb): Ditto.
4837         (elmo-msgdb-get-index): New inline function.
4838         (elmo-msgdb-set-index): Ditto.
4839         (elmo-msgdb-get-entity-hashtb): Ditto.
4840         (elmo-msgdb-get-mark-hashtb): Ditto.
4841         (elmo-msgdb-get-mark): Ditto.
4842         (elmo-msgdb-set-mark): Ditto.
4843         (elmo-msgdb-count-marks): Ditto.
4844         (elmo-msgdb-get-number): Ditto.
4845         (elmo-msgdb-get-field): Ditto.
4846         (elmo-msgdb-seen-list): Ditto.
4847         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4848         (elmo-msgdb-delete-msgs): Follow the changes above.
4849         (elmo-msgdb-overview-get-entity): Ditto.
4850         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4851         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4852         and rewritten.
4853         (elmo-msgdb-make-index): Likewise.
4854         (elmo-msgdb-append): Removed third argument.
4855         (elmo-msgdb-clear): Clear index as nil.
4856         (elmo-folder-set-info-hashtb): Removed.
4857         (elmo-folder-set-info-max-by-numdb): Ditto.
4858         (elmo-folder-info-make-hashtb): Ditto.
4859
4860         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4861
4862         * elmo-map.el (elmo-folder-pack-number): Ditto.
4863
4864 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4865
4866         * elmo-version.el (elmo-version): Up to 2.9.10.
4867
4868         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4869
4870         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4871
4872 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4873
4874         * elmo-utils.el (elmo-make-directory): Add option.
4875         Default file mode is 700.
4876
4877 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4878
4879         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4880
4881 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4882
4883         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4884         mime-charset.
4885
4886         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4887         and "smaller".
4888
4889 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4890
4891         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4892         (elmo-shimbun-folder-entity-hash): New function.
4893         (elmo-shimbun-folder-shimbun-header): Ditto.
4894         (elmo-shimbun-entity-to-header): Ditto.
4895         (elmo-shimbun-msgdb-to-headers): Removed.
4896         (elmo-shimbun-folder-setup): Ditto.
4897         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4898         for hash key.
4899         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4900         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4901         Removed useless local bind.
4902         (elmo-folder-open-internal): Don't call
4903         `elmo-shimbun-folder-setup'.
4904         (elmo-folder-close-internal): Clear entity-hash slot.
4905         (elmo-folder-clear): Ditto.
4906         (elmo-shimbun-msgdb-create-entity): Use
4907         `elmo-shimbun-folder-shimbun-header'.
4908         (elmo-map-message-fetch): Ditto.
4909         (elmo-shimbun-update-overview): Use overview entity instead of
4910         shimbun header to lookup id by references.
4911         (elmo-map-folder-list-message-locations): Use not only headers but
4912         also overviews to list locations.
4913
4914 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4915
4916         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4917         msgdb path.
4918
4919         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4920
4921 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4922
4923         * elmo-util.el (elmo-read-search-condition-internal): Give default
4924         value for date.
4925
4926 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4927
4928         * elmo-util.el (elmo-condition-parse-search-value): Accept
4929         YYYY-MM-DD format to search.
4930         * elmo-date.el (elmo-date-get-datevec): Likewise.
4931
4932 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4933
4934         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4935         debugging code.
4936
4937 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4938
4939         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4940         from t.
4941
4942         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4943
4944         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4945         case from `elmo-folder-exists-p'.
4946         (elmo-folder-exists-p): Removed.
4947         (elmo-folder-creatable-p) Ditto.
4948
4949         * elmo-net.el (elmo-folder-create): Defined.
4950         (elmo-folder-create-unplugged): New function.
4951         (elmo-folder-exists-p): Changed default value to nil from t.
4952
4953         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4954         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4955
4956         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4957         `elmo-create-folder-dop' and append queue
4958         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4959         (elmo-folder-create-dop-delayed): New function.
4960
4961         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4962
4963         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4964
4965         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4966         (elmo-folder-writable-p) : Ditto.
4967
4968         * elmo-version.el (elmo-version): Up to 2.9.9.
4969
4970 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4971
4972         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4973         `elmo-message-use-cache-p' returns nil.
4974         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4975         (ignore cache file and refer the substance in local folders)
4976
4977 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4978
4979         * elmo-version.el (elmo-version): Up to 2.9.8.
4980
4981 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4982
4983         * elmo-version.el (elmo-version): Up to 2.9.7.
4984
4985         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4986
4987 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4988
4989         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4990
4991 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4992
4993         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4994         from --early.
4995         (elmo-map-folder-list-message-locations): Reverse location list.
4996
4997 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4998
4999         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5000
5001 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5002
5003         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5004         as a key.
5005         (elmo-nntp-folder-list-subfolders): Follow the change above.
5006
5007 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5008
5009         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5010         name if authentication type is specified.
5011
5012 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5013
5014         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5015         variable.
5016         (elmo-default-nntp-stream-type): Ditto.
5017         (elmo-default-pop3-stream-type): Ditto.
5018
5019 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5020
5021         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5022
5023 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5024
5025         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5026         elmo-vars.el.
5027         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5028
5029         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5030         (elmo-maildir-folder-path): Ditto.
5031         (elmo-maildir-list): Ditto (abolished).
5032
5033 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5034
5035         * elmo-version.el (elmo-version): Up to 2.9.6.
5036
5037 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5038
5039         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5040         (elmo-maildir-folder-path): Ditto.
5041         (elmo-msgdb-directory): Ditto.
5042         (elmo-passwd-life-time): Ditto.
5043         (elmo-msgdb-extra-fields): Ditto.
5044         (elmo-enable-disconnected-operation): Ditto.
5045
5046 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5047
5048         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5049         other choices.
5050         (elmo-pop3-default-authenticate-type): Ditto.
5051
5052 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5053
5054         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5055         choices for custom.
5056         (elmo-pop3-default-authenticate-type): Ditto.
5057
5058 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5059
5060         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5061         mailbox to new-folder.
5062
5063 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5064
5065         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5066         less than new, set new as unread.
5067
5068         * elmo-util.el (elmo-string): Don't put text-property if nil.
5069
5070 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5071
5072         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5073         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5074
5075 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5076
5077         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5078         is nil on `completing-read'.
5079
5080 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5081
5082         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5083         for namespace part.
5084         (elmo-imap4-parse-namespace-subr): Ditto.
5085         (elmo-folder-list-subfolders): Append a delimiter when the specified
5086         folder path is a root with namespace and does not end with delimiter.
5087
5088 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5089
5090         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5091         was used.
5092
5093 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5094
5095         * elmo-util.el (elmo-save-buffer): The first argument of message
5096         is a format control string.
5097
5098 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5099
5100         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5101         `elmo-folder-diff').
5102         (elmo-diff-unread): Likewise.
5103
5104 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5105
5106         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5107         is t on `completing-read'.
5108
5109 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5110
5111         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5112         method of target folder with self mark-alist if MARK-ALIST is nil.
5113
5114 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5115
5116         * elmo-version.el (elmo-version): Up to 2.9.5.
5117
5118 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5119
5120         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5121         (elmo-dop-merge-funcs): Remove.
5122
5123 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5124
5125         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5126         Return t if PATH is directory, too.
5127         Use `dolist' instead of while loop.
5128
5129 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5130
5131         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5132         is deleted.
5133
5134 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5135
5136         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5137         return value to t.
5138         (elmo-folder-list-messages-unplugged): Return t if
5139         elmo-enable-disconnected-operation is nil.
5140
5141         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5142         `elmo-folder-list-messages-internal'.
5143
5144 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5145
5146         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5147         Change to looking-at `[23][0-9]+'.
5148         (elmo-network-initialize-session): Use 'error-msg'
5149         * elmo-net.el (elmo-network-open-session): Set unplugged
5150         if elmo-network-initialize-session returns 'elmo-open-err.
5151
5152 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5153
5154         * elmo-version.el (elmo-version): Up to 2.9.4.
5155
5156 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5157
5158         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5159         `elmo-folder-list-messages-internal'.
5160
5161 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5162
5163         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5164         (elmo-message-match-condition): New method.
5165         (elmo-folder-search-fast): New inline function.
5166         (elmo-msgdb-search): Removed.
5167
5168         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5169         target folder if it is unplugged.
5170         (elmo-folder-list-messages-internal): Return t if target folder is
5171         unplugged and itself is persistent; In this case, use list be
5172         searched already.
5173
5174         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5175         (elmo-msgdb-search-internal-primitive): Ditto.
5176         (elmo-msgdb-match-condition): New function.
5177         (elmo-msgdb-match-condition-primitive): Ditto.
5178
5179         * elmo-util.el (elmo-filter-condition-p): New macro.
5180
5181         * elmo-cache.el (elmo-folder-search): Removed.
5182
5183         * elmo-localdir.el (elmo-folder-search): Ditto.
5184
5185         * elmo-maildir.el (elmo-folder-search): Ditto.
5186
5187         * elmo-mark.el (elmo-folder-search): Ditto.
5188
5189         * elmo-nmz.el (elmo-folder-search): Ditto.
5190
5191         * elmo-sendlog.el (elmo-folder-search): Ditto.
5192
5193         * elmo-shimbun.el (elmo-folder-search): Ditto.
5194
5195         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5196         if folder is unplugged.
5197
5198         * elmo-nntp.el (elmo-folder-search): Likewise.
5199         (elmo-nntp-search-internal): New function.
5200
5201         * elmo-version.el (elmo-version): Up to 2.9.3.
5202
5203 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5204
5205         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5206
5207 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5208
5209         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5210
5211 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5212
5213         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5214
5215 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5216
5217         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5218         (elmo-map-folder-list-message-locations): Do drive letter conversion
5219         on Windows environment.
5220         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5221         (elmo-map-message-fetch): Ditto.
5222
5223 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5224
5225         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5226         (elmo-network-initialize-session): Ditto.
5227
5228 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5229
5230         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5231
5232         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5233
5234         * elmo-util.el (elmo-progress-clear): Ditto.
5235
5236         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5237         `DD-Mon-YYYY' type date.
5238
5239 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5240
5241         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5242         `elmo-date-make-sortable-string' instead of
5243         `timezone-make-date-sortable'.
5244
5245         * elmo-date.el (elmo-date-make-sortable-string): Use
5246         `timezone-make-time-string'.
5247
5248 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5249
5250         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5251
5252         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5253         `since'; Fix timezone.
5254
5255         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5256
5257         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5258
5259 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5260
5261         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5262
5263 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5264
5265         * elmo.el (elmo-generic-folder-append-messages): Make
5266         fetch-strategy with `use-cache' as 'maybe. Check return value of
5267         `elmo-message-fetch'.
5268         (elmo-message-fetch): Return return value of
5269         `elmo-message-fetch-with-cache-process'.
5270         (elmo-message-fetch-with-cache-process): Return non-nil if
5271         fetching was succeed. Load cache when fetching was failed and
5272         fetch-strategy-use-cache is 'maybe.
5273
5274         * elmo-util.el (elmo-file-cache-load): New function.
5275
5276         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5277         defun.
5278
5279         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5280         non-nil if fetching was succeed.
5281
5282         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5283
5284         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5285
5286         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5287         (elmo-message-fetch-with-cache-process): Likwise.
5288
5289         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5290
5291         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5292
5293         * elmo-version.el (elmo-version): Up to 2.9.2.
5294
5295 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5296
5297         * elmo.el (elmo-folder-delete): Delete msgdb path.
5298
5299         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5300
5301         * elmo-maildir.el (elmo-folder-delete): Ditto.
5302
5303         * elmo-localdir.el (elmo-folder-delete): Ditto.
5304
5305         * elmo-imap4.el (elmo-folder-delete): Ditto.
5306
5307 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5308
5309         * elmo.el (luna-define-class): Added `biff' slot.
5310
5311         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5312         (elmo-pop3-debug-inhibit-logging): Abolished.
5313         (elmo-network-close-session): Eliminated needless let.
5314         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5315         (elmo-pop3-send-command): Added `no-log' argument.
5316         (elmo-pop3-process-filter): Use `with-current-buffer'.
5317         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5318         if login failure.
5319         (elmo-pop3-auth-apop): Likewise.
5320         (elmo-network-authenticate-session): Likewise.
5321
5322         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5323         if biff folder.
5324
5325         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5326         string to determine protocol.
5327         (elmo-network-session-name-prefix): Abolished.
5328         (elmo-network-session-cache-key): Follow the change above.
5329         (elmo-network-open-session): Ditto.
5330
5331         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5332         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5333
5334         * elmo-version.el (elmo-version): Up to 2.9.1.
5335
5336         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5337         unmatch condition checking.
5338
5339         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5340         condition.
5341
5342 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5343
5344         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5345
5346 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5347
5348         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5349         test for while loop to execute at least one SEARCH command.
5350
5351 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5352
5353         * elmo-version.el (elmo-version): Up to 2.9.0.
5354
5355 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5356
5357         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5358         (elmo-archive-folder-path): Define.
5359         (elmo-folder-initialize): Setup `dir-name' slot.
5360         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5361         Use `dir-name' as prefix of each subfolders.
5362         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5363
5364 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5365
5366         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5367         (elmo-pipe-folder-list-target-messages): New internal function.
5368         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5369         `killed-list'.
5370         (elmo-pipe-folder-copied-list-load): New function.
5371         (elmo-pipe-folder-copied-list-save): Ditto.
5372         (elmo-folder-open-internal): Follow the change above.
5373         (elmo-folder-status): Fixed for copy.
5374
5375 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5376
5377         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5378
5379 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5380
5381         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5382         elmo-copy-file instead of elmo-add-name-to-file.
5383
5384         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5385
5386         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5387         "file://..." index.
5388
5389         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5390         of accept-process-output as 1.
5391         (elmo-pop3-read-contents): Ditto.
5392         (elmo-pop3-read-body): Ditto.
5393
5394 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5395
5396         * elmo-version.el (product-version-as-string): Remove define.
5397
5398 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5399
5400         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5401         (elmo-imap4-copy-messages): Chop number set using
5402         `elmo-imap4-number-set-chop-length'.
5403         (elmo-imap4-set-flag): Ditto.
5404         (elmo-imap4-search-internal-primitive): Ditto.
5405
5406 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5407
5408         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5409         `elmo-folder-make-temp-dir'
5410
5411         * elmo-vars.el (elmo-cache-directory): New variable.
5412         (elmo-cache-dir): Abolished.
5413         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5414
5415         * elmo-version.el (elmo-version): Up to 2.7.7.
5416
5417 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5418
5419         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5420         defcustom; Set default value as t.
5421
5422 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5423
5424         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5425         (ldap-search-program-arguments): Changed default value.
5426         (ldap-search-basic): Accept exit status 4.
5427         (ldap/field-body): Parse options.
5428         (ldap/collect-field): Ditto.
5429         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5430
5431         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5432         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5433         (elmo-imap4-accept-ok): Ditto.
5434         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5435         'notify-bye, only BYE error is reported.
5436         (elmo-folder-exists-p-plugged): Set no-error argument of
5437         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5438
5439         * elmo.el (elmo-imap4-bye-error): Changed message.
5440
5441         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5442         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5443         queues (It causes infinite loop).
5444
5445 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5446
5447         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5448         (RECENT UNSEEN MESSAGES) extension.
5449
5450 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5451
5452         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5453         Check number of overview fields.
5454
5455 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5456
5457         * elmo.el (elmo-folder-confirm-appends): Changed message.
5458         (elmo-folder-confirm-appends): Ditto.
5459
5460         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5461         `with-temp-buffer'.
5462         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5463
5464 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5465
5466         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5467         of elmo-folder-update-threshold is nil, which can be set by
5468         wl-summary-update-confirm-threshold.
5469
5470 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5471
5472         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5473         (elmo-nmz-index-alias-alist): Ditto.
5474         (elmo-map-folder-list-message-locations): Follow the change above.
5475
5476 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5477
5478         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5479
5480         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5481
5482         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5483
5484         * elmo-util.el (elmo-read): Ditto.
5485         (elmo-display-error): Ditto.
5486
5487         * elmo-vars.el (elmo-date-match): Ditto.
5488
5489         * pldap.el (ldap-coding-system): Ditto.
5490
5491         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5492         `elmo-inhibit-number-mapping' as nil.
5493
5494 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5495
5496         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5497         space delimiter for list response.
5498
5499 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5500
5501         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5502
5503 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5504
5505         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5506         (elmo-map-message-fetch): Fix.
5507         * elmo-map.el (elmo-folder-status): Fix for killed.
5508
5509 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5510
5511         * elmo-sendlog.el: New file.
5512         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5513
5514 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5515
5516         * acap.el (acap-logging-out): New buffer local variable.
5517         (acap-close): Set it.
5518         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5519         an error.
5520
5521 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5522
5523         * acap.el (acap-response-bye-p): New function.
5524         (acap-response-bye-message): Ditto.
5525         (acap-wait-for-response): If bye response is received, cause an error.
5526         (acap-parse-response): Make bye response when 'Bye' is received.
5527
5528 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5529
5530         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5531
5532 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5533
5534         * elmo-util.el (elmo-copy-file): Added argument
5535         `ok-if-already-exists'.
5536         (elmo-copy-file): Fixed typo.
5537
5538 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5539
5540         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5541
5542 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5543
5544         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5545
5546 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5547
5548         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5549         to killed-list.
5550
5551 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5552
5553         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5554         (elmo-folder-initialize): Fix for `copy'.
5555         (elmo-pipe-drain): Ditto.
5556         (elmo-folder-open-internal): Ditto.
5557         (elmo-folder-newsgroups): Fix.
5558
5559 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5560
5561         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5562         for each message.
5563
5564         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5565         recent value is returned from imap folder.
5566
5567         * elmo.el (elmo-folder-newsgroups): New generic function.
5568
5569         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5570         (elmo-folder-initialize): Set it.
5571         (elmo-folder-expand-msgdb-path): Use it.
5572         (elmo-folder-newsgroups): Define.
5573
5574         * elmo-filter.el (elmo-folder-newsgroups): Define.
5575
5576         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5577
5578         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5579
5580         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5581
5582 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5583
5584         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5585         user option.
5586         (elmo-shimbun-header-extra-field): New inline function.
5587         (elmo-shimbun-header-set-extra-field): Ditto.
5588         (elmo-shimbun-folder-header-hash-setup): Ditto.
5589         (elmo-shimbun-update-overview): Ditto.
5590         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5591         (elmo-shimbun-folder-setup): Use
5592         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5593         (elmo-shimbun-get-headers): Ditto.
5594         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5595         Insert `X-Shimbun-Id:' header if extra field is set.
5596         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5597         field's value instead of `shimbun-header-id'.
5598
5599         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5600         inline function.
5601         (elmo-msgdb-overview-entity-set-date): Ditto.
5602         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5603
5604 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5605
5606         * mmimap.el (mmimap-entity-section): Changed body node number from
5607         "0" to "1".
5608
5609 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5610
5611         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5612         `elmo-folder-delete-messages'.
5613
5614         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5615         (elmo-folder-initialize): Changed to expand alias into index path.
5616
5617         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5618         `elmo-mime-insert-header-from-buffer' with 6th arg
5619         `sorted-fields'.
5620
5621 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5622
5623         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5624
5625         * elmo.el (elmo-diff-new): New inline function.
5626         (elmo-diff-unread): Ditto.
5627         (elmo-diff-all): Ditto.
5628
5629         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5630         value from responseb.
5631         (elmo-imap4-folder-diff-plugged): Ditto.
5632         (elmo-imap4-server-diff-async): Added recent argument.
5633         (elmo-server-diff-async): Ditto.
5634         (elmo-imap4-folder-diff-plugged): Ditto.
5635
5636         * elmo-version.el (elmo-version): Up to 2.7.6.
5637
5638 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5639
5640         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5641         in quoted-stirng.
5642
5643 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5644
5645         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5646
5647         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5648
5649         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5650
5651         * elmo-multi.el (elmo-folder-initialize): Ditto.
5652
5653         * elmo-util.el (elmo-parse-token): New function.
5654         (elmo-parse-prefixed-element): Ditto.
5655
5656 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5657
5658         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5659         delete process.
5660         (elmo-imap4-accept-ok): Ditto.
5661
5662 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5663
5664         * mmimap.el (mime-imap-entity-header-string): Don't check first
5665         element of node-id is `0' (Follow last change).
5666
5667 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5668
5669         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5670         assigned irregular node-id to nested multipart section.
5671         (initialize-instance): Followed above change.
5672
5673 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5674
5675         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5676         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5677         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5678         `elmo-shimbun-get-headers');
5679         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5680         visible article on summary exists in headers).
5681         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5682
5683 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5684
5685         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5686         definition.
5687
5688 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5689
5690         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5691
5692 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5693
5694         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5695         header separator into loop condition.
5696
5697 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5698
5699         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5700         Return duplicate folder if it has subfolder.
5701
5702 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5703
5704         * elmo.el (elmo-make-folder): Add folder name error check.
5705
5706         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5707         (elmo-nntp-encode-group-string): New inline function.
5708         (elmo-nntp-decode-group-string): Ditto.
5709         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5710         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5711         Use `not' instead of `null';
5712         Use elmo-nntp-decode-group-string.
5713
5714         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5715
5716         * elmo-version.el (elmo-version): Up to 2.7.5.
5717
5718 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5719
5720         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5721         Hide progress gauge if `elmo-folder-move-messages' exits
5722         nonlocally.
5723
5724 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5725
5726         * elmo-imap4.el (elmo-folder-initialize): Use
5727         `elmo-imap4-encode-folder-string' for folder name.
5728
5729 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5730
5731         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5732         `done'.
5733
5734 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5735
5736         * elmo-util.el (elmo-progress-counter-alist): New internal
5737         variable.
5738         (elmo-progress-counter-value): New macro.
5739         (elmo-progress-counter-all-value): Ditto.
5740         (elmo-progress-counter-format): Ditto.
5741         (elmo-progress-counter-set-value): Ditto.
5742         (elmo-progress-set): New function.
5743         (elmo-progress-clear): Ditto.
5744         (elmo-progress-notify): Ditto.
5745
5746         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5747         counter.
5748
5749         * elmo.el (elmo-generic-folder-append-messages): Call
5750         `elmo-progress-notify'.
5751         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5752
5753         * elmo-archive.el (elmo-folder-append-messages): Call
5754         `elmo-progress-notify'.
5755
5756         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5757
5758         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5759
5760         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5761
5762 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5763
5764         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5765         'Create'.
5766         (elmo-message-encache-dop): Added argument `read'.
5767
5768         * elmo-shimbun.el (elmo-message-encache): Ditto.
5769
5770         * elmo-net.el (elmo-message-encache): Ditto.
5771
5772         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5773         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5774         elmo-imap4-seen-messages.
5775         (elmo-folder-msgdb-create-plugged): Initialize
5776         elmo-imap4-seen-messages;
5777         Set seen mark on elmo-imap4-seen-messages.
5778
5779         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5780
5781         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5782         elmo-folder-append-buffer.
5783         (elmo-folder-encache): Added optional argument `read'.
5784         (elmo-message-encache): Ditto.
5785
5786         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5787
5788         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5789
5790         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5791         if append buffer content succeds.
5792
5793 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5794
5795         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5796         elmo-display-progress.
5797
5798         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5799         Set 4th argument of mime-display-message.
5800         (elmo-mime-display-as-is): Ditto.
5801
5802 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5803
5804         * elmo-nmz.el (toplevel): Require 'mime-edit.
5805         (elmo-nmz-content-type-alist): Abolished.
5806         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5807         content is not a message.
5808         (elmo-map-message-fetch): Changed behavior exept for message content;
5809         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5810         content-type, Add From: and Subject: field.
5811
5812 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5813
5814         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5815         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5816         not a message.
5817
5818 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5819
5820         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5821         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5822
5823         * elmo-archive.el (elmo-folder-writable-p): Defined.
5824
5825         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5826
5827         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5828
5829         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5830
5831         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5832
5833         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5834
5835         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5836
5837         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5838
5839         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5840
5841 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5842
5843         * elmo-util.el (elmo-address-quote-specials): New function;
5844         Renamed from `wl-address-quote-specials'.
5845
5846 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5847
5848         * elmo-version.el (elmo-version): Up to 2.7.4.
5849
5850 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5851
5852         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5853
5854 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5855
5856         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5857         both compile-time and run-time to avoid byte-compile warning.
5858
5859 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5860
5861         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5862
5863 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5864
5865         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5866         option.
5867         (elmo-mime-display-as-is-internal): Use it.
5868
5869         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5870         if `read-passwd' is not defined.
5871
5872 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5873
5874         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5875         by original number.
5876         (elmo-folder-status): Call `elmo-folder-open-internal';
5877         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5878         (elmo-folder-close-internal): Set location-alist as nil.
5879         (elmo-folder-clear): Define.
5880         (elmo-folder-check): Don't set location-alist as nil.
5881
5882         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5883
5884 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5885
5886         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5887         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5888
5889         * mmimap.el (mime-imap-entity::requested): New slot.
5890         (mime-imap-location-fetch-entity-p): New generic function.
5891         (mime-decode-parameters): Define using `defun-maybe'.
5892         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5893         content-type structure.
5894         (mime-entity-body): Return empty body if
5895         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5896
5897         * elmo.el (elmo-message-displaying): New variable.
5898
5899         * elmo-mime.el (elmo-mime-message-display): Bind
5900         elmo-message-displaying as t.
5901
5902         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5903
5904 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5905
5906         * acap.el (acap-open): erase buffer before starting network process.
5907         (acap-store): Rewrite.
5908
5909 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5910
5911         * elmo-imap4.el (elmo-imap4-default-mailbox,
5912         elmo-imap4-default-server
5913         elmo-imap4-default-authenticate-type,
5914         elmo-imap4-default-user,
5915         elmo-imap4-default-port,
5916         elmo-imap4-default-stream-type,
5917         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5918
5919         * elmo-pop3.el (elmo-pop3-default-user,
5920         elmo-pop3-default-server,
5921         elmo-pop3-default-authenticate-type,
5922         elmo-pop3-default-port,
5923         elmo-pop3-default-stream-type,
5924         elmo-pop3-stream-type-alist): Ditto.
5925
5926         * elmo-nntp.el (elmo-nntp-default-server,
5927         elmo-nntp-default-user,
5928         elmo-nntp-default-port,
5929         elmo-nntp-default-stream-type,
5930         elmo-nntp-stream-type-alist): Ditto.
5931
5932         * elmo-vars.el: Follow changes above.
5933         (elmo-setting): New custom group; added 'elmo-setting group to
5934         above variables.
5935
5936         * elmo-version.el (elmo-version): Up to 2.7.3.
5937
5938         * acap.el (acap-parse-response): Don't delete process when BYE
5939         response (It causes hang-up on slow network environment).
5940         (toplevel): Added comment.
5941
5942 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5943
5944         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5945
5946         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5947         parsing NIL.
5948         (acap-parse-return-metadata): Ditto.
5949
5950         * slp.el: New file.
5951         (toplevel): Fixed typo.
5952
5953         * acap.el: New file.
5954         (acap-network-stream-open): Show "Connecting..." message.
5955         (acap-parse-response): Fixed problem for BYE untagged response.
5956         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5957         (toplevel): Added tiny comments.
5958
5959 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5960
5961         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5962         space delimiter for uidl response.
5963
5964 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5965
5966         * elmo-vars.el (elmo-use-semi): Eliminated.
5967
5968         * elmo-util.el (elmo-string-assoc-all): New function.
5969
5970 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5971
5972         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5973         property 'mime-preview-situation for `mime-preview-quit'.
5974
5975 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5976
5977         * elmo.el (elmo-message-fetch-with-cache-process): Call
5978         elmo-message-fetch-internal instead of causing an error when fetch
5979         strategy is 'entire but only 'section cache is available.
5980
5981 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5982
5983         * elmo-version.el (elmo-version): Up to 2.7.2.
5984
5985         * elmo.el (elmo-generic-folder-append-messages): Make
5986         fetch-strategy with `use-cache'.
5987
5988         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5989         (elmo-dop-queue-method-name): New macro.
5990
5991 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5992
5993         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5994         unbalanced parenthesis.
5995
5996 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5997
5998         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5999
6000 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6001
6002         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6003         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6004
6005 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6006
6007         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6008         local variables.
6009
6010 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6011
6012         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6013         (elmo-message-use-cache-p): Define.
6014         (elmo-folder-msgdb-create): Treat cache.
6015
6016 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6017
6018         * elmo-nntp.el (elmo-network-initialize-session): Call
6019         `elmo-nntp-send-mode-reader'.
6020         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6021
6022 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6023
6024         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6025         alist.
6026         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6027         assoc.
6028
6029         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6030         for `elmo-plugged-p'.
6031         (elmo-open-network-stream): Fixed stream-type argument.
6032
6033 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6034
6035         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6036         unknown archive type is specified.
6037
6038 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6039
6040         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6041
6042         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6043         while loading msgdb.
6044
6045         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6046         (elmo-folder-open-internal): Rewrite.
6047
6048 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6049
6050         * elmo-mime.el (elmo-mime-display-as-is-internal):
6051         Adjust buffer-multibyte status.
6052
6053 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6054
6055         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6056         of elmo-condition-find-key.
6057
6058         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6059         (elmo-condition-in-msgdb-p): Ditto.
6060         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6061         argument.
6062
6063 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6064
6065         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6066
6067 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6068
6069         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6070         label for elmo-display-progress.
6071
6072 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6073
6074         * elmo.el (elmo-folder-clear): New method.
6075         (elmo-folder-clear): Define.
6076         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6077
6078         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6079         (elmo-folder-clear): Define.
6080
6081         * elmo-map.el (elmo-folder-clear): Define.
6082
6083         * elmo-version.el (elmo-version): Up to 2.7.1.
6084
6085 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6086
6087         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6088         updates.
6089
6090 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6091
6092         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6093         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6094
6095 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6096
6097         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6098
6099         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6100         and re-written.
6101
6102         * elmo-imap4.el (elmo-folder-initialize): Use
6103         elmo-get-network-stream-type.
6104
6105         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6106
6107         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6108
6109 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6110
6111         * elmo.el (elmo-message-encache): Set unread argument for
6112         elmo-message-fetch.
6113
6114         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6115
6116         * elmo.el (elmo-net-port-info): New method.
6117
6118         * elmo-shimbun.el (elmo-net-port-info): Define.
6119         (elmo-message-encache): Ditto.
6120
6121         * elmo-net.el (elmo-net-port-info): Define as method.
6122
6123         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6124         unplugged status when elmo-enable-disconnected-operation is t.
6125
6126         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6127         of spool folder before checking new number.
6128
6129 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6130
6131         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6132         (elmo-network-setup-session): Ditto.
6133         (elmo-message-fetch-plugged): Ditto.
6134         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6135         (elmo-network-initialize-session): Ditto.
6136         (elmo-pop3-read-response): Abolish 3rd argument.
6137         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6138         (elmo-pop3-read-contents): Ditto.
6139         (elmo-pop3-read-body): Ditto.
6140         (elmo-folder-status): Call elmo-folder-close.
6141         (elmo-pop3-lock): Abolish.
6142         (elmo-pop3-unlock): Ditto.
6143         (elmo-pop3-locked-p): Ditto.
6144         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6145
6146 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6147
6148         * elmo-version.el (elmo-version): Up to 2.7.0.
6149
6150         * elmo-pop3.el (elmo-pop3-debug): New variable.
6151         (elmo-pop3-debug-inhibit-logging): Ditto.
6152         (elmo-pop3-debug): New function.
6153         (elmo-pop3-send-command): Call elmo-pop3-debug.
6154         (elmo-pop3-read-response): Added keep-lock optional argument;
6155         Don't unlock if keep-lock is non-nil.
6156         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6157         (elmo-network-authenticate-session): Bind
6158         elmo-pop3-debug-inhibit-logging as t.
6159         (elmo-network-setup-session): Call elmo-pop3-read-response with
6160         keep-lock argument.
6161         (elmo-pop3-read-msg): Ditto.
6162         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6163         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6164         (elmo-network-initialize-session): Call elmo-pop3-lock.
6165         (elmo-folder-close-internal): Don't clear location-alist slot.
6166         (elmo-folder-check): Clear location-alist slot.
6167
6168 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6169
6170         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6171         (elmo-pop3-send-command): Call elmo-pop3-lock.
6172         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6173         (elmo-pop3-read-contents): Ditto.
6174         (elmo-pop3-lock): New function.
6175         (elmo-pop3-unlock): Ditto.
6176         (elmo-pop3-locked-p): Ditto.
6177         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6178         returns t.
6179
6180 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6181
6182         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6183
6184         * elmo-util.el (elmo-file-field-primitive-condition-match):
6185         New inline function (Don't fetch file content if "first" or "last").
6186         (elmo-file-field-condition-match): Use
6187         elmo-file-field-primitive-condition-match.
6188
6189         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6190         "first".
6191
6192         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6193         (elmo-message-fetch-plugged): Fixed.
6194
6195         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6196
6197 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6198
6199         * elmo.el (elmo-folder-move-messages): Bind
6200         elmo-inhibit-display-retrieval-progress as t while moving messages.
6201
6202         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6203         New variable.
6204         (elmo-inhibit-display-retrieval-progress): Ditto.
6205
6206         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6207         for retrieval progress;
6208         Don't display progress when total buffer size is smaller than
6209         elmo-display-retrieval-progress-threshold.
6210         (elmo-message-fetch-plugged): Don't display progress when
6211         elmo-inhibit-display-retrieval-progress is non-nil.
6212
6213         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6214         for retrieval progress;
6215         Don't display progress when literal size is smaller than
6216         elmo-display-retrieval-progress-threshold.
6217         (elmo-imap4-message-fetch): Don't display progress when
6218         elmo-inhibit-display-retrieval-progress is non-nil.
6219
6220 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6221
6222         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6223         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6224         (elmo-imap4-message-fetch): Likewise.
6225
6226         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6227         (elmo-shimbun-index-range-alist): Ditto.
6228         (elmo-shimbun-use-entire-index): Abolish.
6229         (shimbun-mua-use-entire-index): Ditto.
6230         (elmo-shimbun-folder): Added new slot `range'.
6231         (elmo-folder-initialize): Setup slot `range'.
6232
6233 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6234
6235         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6236         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6237         (elmo-shimbun-get-headers): Use return value of
6238         `shimbun-article-expiration-days'.
6239         (elmo-folder-close-internal): Clean up last-check slot.
6240
6241         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6242         (elmo-pop3-total-size): New variable.
6243         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6244
6245         * elmo.el (elmo-folder-reserve-status-p): New method.
6246
6247         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6248         (elmo-shimbun-use-entire-index): New user option.
6249         (shimbun-elmo-mua): New class.
6250         (shimbun-mua-search-id): Define.
6251         (shimbun-mua-use-entire-index): Ditto.
6252         (elmo-shimbun-folder:last-check): New slot.
6253         (elmo-shimbun-headers-cache-header-list): Abolish.
6254         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6255         (elmo-shimbun-headers-cache-header-hash): Ditto.
6256         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6257         (elmo-shimbun-headers-cache-last-check): Ditto.
6258         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6259         (elmo-shimbun-headers-check-p): Rewrite.
6260         (elmo-shimbun-msgdb-to-headers): New function.
6261         (elmo-shimbun-get-headers): Rewrite.
6262         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6263         (elmo-folder-open-internal): Get headers only if
6264         `elmo-shimbun-headers-check-p' is non-nil.
6265         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6266         is non-nil.
6267         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6268         (elmo-quit): Removed.
6269
6270         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6271         function.
6272         (elmo-msgdb-overview-entity-set-extra): Ditto.
6273         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6274
6275         * elmo-map.el (elmo-folder-status): Don't call
6276         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6277         is non-nil.
6278
6279 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6280
6281         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6282         of `elmo-msgdb-search-internal-primitive' when condition's car is
6283         `and' or `or'.
6284
6285 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6286
6287         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6288
6289 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6290
6291         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6292         call `elmo-pipe-drain'.
6293
6294 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6295
6296         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6297         typo. (elmo-cache-folder -> elmo-mark-folder)
6298
6299 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6300
6301         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6302         `elmo-message-fetch'.
6303
6304 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6305
6306         * elmo-net.el (elmo-message-encache): Fixed typo.
6307         (elmo-message-fetch-unplugged): Changed call
6308         `elmo-message-fetch-internal' without argument `outbuf'.
6309
6310 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6311
6312         * elmo.el (elmo-message-encache): Define as generic function.
6313         (elmo-message-fetch-field): New generic function.
6314         (elmo-message-fetch-with-cache-process): Cause an error when
6315         fetch strategy is 'entire but only 'section cache is available.
6316         (toplevel): Fixed nmz folder definition.
6317
6318         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6319         (elmo-msgdb-resume-list-filename): Ditto.
6320         (elmo-queue-filename): Ditto.
6321         (elmo-enable-disconnected-operation): Changed default value to t.
6322
6323         * elmo-util.el (elmo-cache-path-section-p): New function.
6324         (elmo-file-cache-get): Use it.
6325         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6326         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6327         (elmo-dop-queue-save): Ditto.
6328
6329         * elmo-net.el (elmo-folder-status-unplugged): Call
6330         elmo-folder-status-dop.
6331         (elmo-folder-list-messages-unplugged): Implemented.
6332         (elmo-folder-delete-messages-unplugged): Define.
6333         (elmo-folder-msgdb-create): Define.
6334         (elmo-folder-msgdb-create-unplugged): Define.
6335         (elmo-folder-mark-as-read-unplugged): Ditto.
6336         (elmo-folder-unmark-read-unplugged): Ditto.
6337         (elmo-folder-mark-as-important-unplugged): Ditto.
6338         (elmo-folder-unmark-important-unplugged): Ditto.
6339         (elmo-message-encache): Ditto.
6340
6341         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6342         (elmo-dop-queue-save): Ditto.
6343
6344         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6345         `elmo-folder-msgdb-create'.
6346         (elmo-folder-append-buffer): Implemented unplugged operation.
6347         (elmo-folder-append-messages): Call parent method in unplugged status.
6348         (elmo-message-fetch-unplugged): Removed definition.
6349         (elmo-message-fetch-field): Implemented.
6350
6351         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6352         (elmo-dop-folder): Removed variable definition.
6353         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6354         (elmo-dop-queue-flush): Implemented.
6355         (elmo-dop-queue-merge): Removed definition (TODO).
6356         (elmo-dop-spool-folder): New function.
6357         (elmo-dop-spool-folder-append-buffer): Ditto.
6358         (elmo-dop-spool-folder-list-messages): Ditto.
6359         (elmo-dop-list-deleting-messages): Ditto.
6360         (elmo-folder-append-buffer-dop): Ditto.
6361         (elmo-folder-delete-messages-dop): Ditto.
6362         (elmo-message-encache-dop): New inline function.
6363         (elmo-create-folder-dop): Ditto.
6364         (elmo-folder-mark-as-read-dop): Ditto.
6365         (elmo-folder-unmark-read-dop): Ditto.
6366         (elmo-folder-mark-as-important-dop): Ditto.
6367         (elmo-folder-unmark-important-dop): Ditto.
6368         (elmo-folder-status-dop): Fixed.
6369         (elmo-folder-append-buffer-dop-delayed): New function.
6370         (elmo-folder-delete-messages-dop-delayed): Ditto.
6371         (elmo-dop-msgdb): Ditto.
6372
6373 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6374
6375         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6376
6377 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6378
6379         * elmo.el (elmo-folder-move-messages): Fixed problem when
6380         `dst-folder' is 'null.
6381
6382 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6383
6384         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6385         instead of current mark.
6386
6387         * elmo-multi.el (elmo-folder-list-importants-internal): No
6388         operation if importants is not list.
6389
6390         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6391         Return t if importants is not list.
6392
6393         * elmo-map.el (elmo-map-folder-list-importants): Define.
6394         (elmo-folder-list-importants-internal): Check return value of
6395         `elmo-map-folder-list-importants-internal'.
6396
6397         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6398
6399         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6400
6401         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6402
6403         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6404
6405 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6406
6407         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6408         (Patch is provided by <kita@coe.nttdata.co.jp>).
6409
6410 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6411
6412         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6413         mark folder.
6414
6415 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6416
6417         * elmo.el (elmo-message-fetch): Define.
6418         (elmo-message-fetch-with-cache-process): New generic method.
6419         (elmo-message-fetch-internal): New generic method.
6420         (elmo-folder-synchronize):
6421
6422         * elmo-archive.el (elmo-message-fetch-internal): Define.
6423         (elmo-message-fetch): Eliminated.
6424
6425         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6426         (elmo-message-fetch): Eliminated.
6427
6428         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6429         argument OUTBUF.
6430         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6431
6432         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6433         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6434
6435         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6436         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6437
6438         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6439
6440         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6441
6442         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6443
6444         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6445         (elmo-message-fetch-unplugged): New generic method.
6446         (elmo-message-fetch-internal): Remove cache process (Renamed from
6447         `elmo-message-fetch').
6448
6449         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6450         (elmo-message-fetch): Eliminated.
6451         (elmo-message-fetch-unplugged): Ditto.
6452
6453         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6454
6455 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6456
6457         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6458         of `to-be-deleted' from number-alist to number-list.
6459
6460 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6461
6462         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6463         (elmo-folder-mark-as-important): Ditto.
6464
6465 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6466
6467         * elmo.el (elmo-folder): Added process-duplicates slot.
6468
6469         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6470         (elmo-folder-unmark-read): Ditto.
6471         (elmo-folder-unmark-important): Ditto.
6472         (elmo-folder-mark-as-important): Ditto.
6473
6474         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6475         duplicated message processing.
6476
6477         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6478
6479 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6480
6481         * elmo-util.el (elmo-list-subdirectories-1): New function.
6482         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6483         (elmo-mapcar-list-of-list): New function.
6484
6485         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6486         `elmo-mapcar-list-of-list' instead of `mapcar'.
6487
6488         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6489
6490         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6491         `elmo-have-link-count'. Return the fully qualified folder name.
6492
6493 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6494
6495         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6496         (elmo-shimbun-headers-cache): New internal variable.
6497         (elmo-shimbun-headers-cache-header-list): New inline function.
6498         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6499         (elmo-shimbun-headers-cache-header-hash): Ditto.
6500         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6501         (elmo-shimbun-headers-cache-last-check): Ditto.
6502         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6503         (elmo-shimbun-lapse-seconds): Ditto.
6504         (elmo-shimbun-headers-cache-check-p): Ditto.
6505         (elmo-shimbun-get-headers): New function.
6506         (elmo-folder-open-internal): Call it.
6507         (elmo-quit): Define (Clear headers-cache).
6508
6509 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6510
6511         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6512
6513         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6514         (elmo-msgdb-flist-save): Ditto.
6515
6516         * elmo-shimbun.el (elmo-folder-list-subfolders):
6517         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6518         (elmo-folder-exists-p): Ditto.
6519
6520         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6521         argument for `shimbun-header-insert'.
6522
6523 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6524
6525         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6526         at first time.
6527
6528         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6529         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6530
6531 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6532
6533         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6534         (elmo-folder-plugged-p): Define.
6535         (elmo-folder-set-plugged): Ditto.
6536         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6537         (elmo-folder-list-messages-internal): Return t if unplugged.
6538         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6539
6540         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6541         when elmo-folder-list-messages-internal method of children returns t.
6542
6543         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6544         pair is nil.
6545         (elmo-folder-open-internal): Don't update if unplugged status.
6546
6547 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6548
6549         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6550         new message.
6551
6552 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6553
6554         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6555
6556         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6557         saving.
6558
6559 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6560
6561         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6562
6563         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6564         (elmo-folder-open-internal): Set up headers slot.
6565         (elmo-folder-check): Call elmo-folder-close-internal and
6566         elmo-folder-open-internal.
6567         (elmo-folder-close-internal): Clean up headers slot.
6568
6569 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6570
6571         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6572         exactly folder list.
6573         (elmo-folder-append-messages): Fixed append archive with prefix.
6574
6575         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6576         make temp files with start-number.
6577
6578         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6579
6580 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6581
6582         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6583         argument `visible-only'.
6584         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6585         instead of `if'.
6586
6587         * elmo-pop3.el (elmo-folder-open-internal): Check
6588         `elmo-inhibit-number-mapping' is non-nil.
6589
6590         * elmo-pipe.el (elmo-folder-status): Fixed.
6591
6592 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6593
6594         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6595
6596         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6597         (elmo-folder-open-internal): Setup `header-hash' slot.
6598         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6599         information.
6600         (elmo-map-message-fetch): Ditto.
6601
6602 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6603
6604         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6605         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6606         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6607         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6608
6609         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6610
6611 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6612
6613         * sb-airs.el: Added footer.
6614
6615         * shimbun.el (shimbun-article): Define as luna-method.
6616
6617         * sb-tcup.el: New file.
6618
6619         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6620         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6621
6622 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6623
6624         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6625         (shimbun-get-headers): Ditto.
6626
6627         * elmo.el: Moved obsolete variable definitions from
6628         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6629
6630         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6631         groups.
6632
6633         * shimbun.el: New file.
6634
6635         * elmo-shimbun.el: New file.
6636
6637         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6638         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6639         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6640         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6641
6642 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6643
6644         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6645         hierarchy is t.
6646
6647 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6648
6649         * elmo.el (elmo-folder-msgdb): Define as macro.
6650         (elmo-folder-open): Added argument `load-msgdb'.
6651         (elmo-generic-folder-open): Ditto.
6652         (elmo-folder-encache): New function.
6653
6654         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6655
6656         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6657
6658         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6659         Eliminated argument FOLDER and added argument MSGDB.
6660         (elmo-dop-queue-load): Moved from elmo-dop.el.
6661         (elmo-dop-queue-save): Ditto.
6662
6663         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6664
6665         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6666
6667         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6668         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6669         (elmo-filter-folder-list-importants-internal): Ditto.
6670
6671         * elmo-map.el (elmo-folder-pack-number): Ditto.
6672
6673         * elmo-mime.el (elmo-mime-message-display): Ditto.
6674
6675         * elmo.el (elmo-generic-folder-commit): Ditto.
6676         (elmo-folder-list-unreads): Ditto.
6677         (elmo-folder-list-importants): Ditto.
6678         (elmo-generic-folder-commit): Ditto.
6679         (elmo-message-set-mark): Ditto.
6680         (elmo-generic-folder-append-msgdb): Ditto.
6681         (elmo-folder-synchronize): Ditto.
6682         (elmo-folder-messages): Ditto.
6683         (elmo-init): Call elmo-dop-queue-load.
6684         (elmo-folder-list-messages): Ditto.
6685
6686         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6687         (elmo-nntp-folder-process-crosspost): Ditto.
6688         (elmo-folder-list-unreads-internal): Ditto.
6689
6690         * elmo-dop.el: Removed old functions.
6691
6692 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6693
6694         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6695         `folder' to `msgdb'.
6696
6697 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6698
6699         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6700         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6701
6702         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6703         case-fold-search.
6704
6705 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6706
6707         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6708         defined.
6709
6710         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6711         (mmimap-parse-parameters-from-list): Define as alias for
6712         `mime-decode-parameter-plist' if it is defined as function.
6713         (mmimap-make-mime-entity): Added argument `number'.
6714         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6715         as 0.
6716         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6717
6718         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6719
6720         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6721
6722         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6723
6724 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6727
6728         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6729         when elmo-imap4-default-authenticate-type is nil.
6730         (elmo-folder-list-subfolders): Ditto
6731         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6732         (elmo-imap4-fetch-callback-1-subr): Renamed from
6733         `elmo-imap4-fetch-callback-1' and define as inline function.
6734         (elmo-imap4-fetch-callback-1):
6735         Renamed from `elmo-imap4-fetch-callback'.
6736         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6737
6738         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6739         msgdb path (To keep compatibility with main trunk).
6740
6741         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6742
6743         * elmo-util.el (elmo-make-file-cache): Moved position of
6744         some macros.
6745
6746         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6747         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6748         instead of `elmo-pop3-inhibit-uidl'.
6749         (elmo-folder-exists-p): Ditto.
6750         (elmo-pop3-folder-list-messages): Ditto.
6751
6752         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6753         instead of `elmo-pop3-inhibit-uidl'.
6754         (elmo-folder-status): Ditto.
6755
6756         * elmo-dop.el (elmo-dop-folder): New variable.
6757         (elmo-dop-lock-message): Eliminated.
6758         (elmo-dop-unlock-message): Ditto.
6759         (elmo-dop-lock-list-load): Ditto.
6760         (elmo-dop-lock-list-save): Ditto.
6761         (elmo-dop-delete-folder): Ditto.
6762         (elmo-dop-rename-folder): Ditto.
6763
6764         * elmo.el: Removed incomplete commentary.
6765
6766 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6767
6768         * elmo.el (toplevel): Require 'elmo-version first;
6769         for little `recursive-load-depth' settings.
6770         Fix "ends here" comment.
6771
6772 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6773
6774         * elmo-util.el (toplevel): Require 'poem;
6775         Some functions are moved from elmo-cache.el.
6776
6777         * elmo-net.el (toplevel): Require 'elmo-cache.
6778
6779         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6780
6781         * elmo.el (toplevel): Ditto.
6782
6783         * elmo-cache.el: Rewrite with luna;
6784         Some functions are moved to elmo-util.el.
6785
6786         * elmo-internal.el (elmo-internal-folder-list): New variable.
6787         (elmo-internal-folder-initialize): Rewrite.
6788         (elmo-folder-list-subfolders): Ditto.
6789
6790         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6791         (elmo-cache-collect-sub-directories): Ditto.
6792
6793 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6794
6795         * elmo-version.el (elmo-version): Up to 2.5.8.
6796
6797         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6798
6799         * elmo-util.el (elmo-list-insert): New function.
6800
6801 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6802
6803         * elmo.el (elmo-init): New function.
6804         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6805
6806         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6807         (Renamed from `elmo-localdir-header-chop-length').
6808
6809         * elmo-pop3.el (elmo-pop3-use-cache,
6810         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6811
6812         * elmo-nntp.el (elmo-message-fetch): Define.
6813         (elmo-message-fetch-unplugged): Ditto.
6814         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6815         (elmo-nntp-use-cache): Ditto.
6816         (elmo-nntp-max-number-precedes-list-active): Ditto.
6817
6818         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6819
6820         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6821         `elmo-msgdb-insert-file-header'.
6822         Use `elmo-msgdb-file-header-chop-length'.
6823
6824         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6825         `elmo-vars.el'.
6826
6827         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6828         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6829         `elmo-msgdb-insert-file-header'.
6830
6831         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6832         Use new variable;
6833         Define obsolete variables with `elmo-define-obsolete-variable',
6834
6835         * elmo-util.el (elmo-warning-buffer-name): New constant.
6836         (elmo-warning): New function.
6837         (elmo-obsolete-variable-alist): New variable.
6838         (elmo-obsolete-variable-show-warnings): New variable.
6839         (elmo-define-obsolete-variable): New function.
6840         (elmo-resque-obsolete-variable): Ditto.
6841         (elmo-resque-obsolete-variables): Ditto.
6842
6843 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6844
6845         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6846         Eliminated.
6847
6848         * elmo-pop3.el, elmo-nntp.el: Use custom.
6849
6850 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6851
6852         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6853         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6854
6855 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6856
6857         * Luna-fy Kenichi OKADA's following changes.
6858         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6859         `nohide'.
6860         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6861
6862 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6863
6864         * elmo-util.el (elmo-display-progress): Prefer
6865         `progress-feedback-with-label' to `lprogress-display'.
6866
6867 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6868
6869         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6870
6871 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6872
6873         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6874         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6875         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6876         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6877         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6878         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6879         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6880         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6881         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6882         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6883         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6884         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6885         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6886
6887 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6888
6889         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6890         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6891
6892 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6893
6894         * elmo.el (elmo-folder-process-crosspost): New generic method.
6895         (elmo-folder-writable-p): Ditto.
6896         (elmo-folder-message-appendable-p): Eliminated.
6897         (elmo-generic-folder-append-msgdb): Rewrite.
6898         (elmo-newsgroups-hashtb): New internal variable.
6899         (elmo-crosspost-message-set): Eliminated.
6900         (elmo-crosspost-message-delete): Ditto.
6901         (elmo-setup-subscribed-newsgroups): New function.
6902         (elmo-crosspost-message-alist-modified): New internal variable.
6903         (elmo-crosspost-message-alist-load): New function (Renamed from
6904         `wl-crosspost-alist-load').
6905         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6906         `wl-crosspost-alist-save').
6907
6908         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6909
6910         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6911         `unreads'.
6912         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6913         elmo-newsgroups-hashtb).
6914         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6915         `elmo-nntp-folder-update-crosspost-message-alist'.
6916         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6917         `elmo-nntp-groups-hashtb'.
6918         (elmo-nntp-make-groups-hashtb): Eliminated.
6919         (elmo-nntp-parse-newsgroups): New function (Renamed from
6920         `wl-parse-newsgroups').
6921         (elmo-folder-creatable-p, elmo-folder-writable-p,
6922         elmo-folder-close-internal, elmo-folder-mark-as-read,
6923         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6924         Define.
6925         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6926
6927         * elmo-net.el (elmo-message-fetch): Check buffer size.
6928
6929         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6930
6931         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6932
6933         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6934         before `close' command.
6935
6936         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6937         `mark-alist' (All other related portions are changed).
6938
6939 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6940
6941         * elmo-util.el (elmo-create-hash-size): Eliminated.
6942         (elmo-make-hash) Make a hash with `one less than a power of two'
6943         length.
6944
6945         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6946         (elmo-hash-maximum-size): Changed value.
6947
6948 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6949
6950         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6951         (elmo-mime-message-display-as-is): Ditto.
6952
6953 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6954
6955         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6956         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6957
6958 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6959
6960         * elmo-mark.el: New file.
6961
6962         * elmo-internal.el: Rewrite (Almost empty).
6963
6964 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6965
6966         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6967         (mime-imap-entity-header-string): Ditto.
6968         (mmimap-entity-section): Rewrite.
6969
6970 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6971
6972         * elmo-nmz.el: New file.
6973
6974         * elmo-pipe.el: Rewrite with luna.
6975
6976 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6977
6978         * elmo-archive.el: Rewrite with luna.
6979
6980         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6981         (elmo-folder-list-importants-internal): Ditto.
6982
6983 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6984
6985         * elmo-archive.el (elmo-archive-version): Abolish.
6986         (toplevel) Removed `boso' comment.
6987
6988 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6989
6990         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6991         elmo-msgdb-add-msgs-to-seen-list-subr;
6992         Changed argument seen-marks to unread-marks.
6993
6994         * elmo-nntp.el: Rewrite with luna.
6995
6996 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6997
6998         * elmo-filter.el: Rewrite with luna.
6999
7000 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7001
7002         * elmo-pop3.el: Rewrite with luna.
7003
7004 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7005
7006         * elmo-multi.el: Rewrite with luna.
7007
7008         * elmo-vars.el (elmo-use-killed-list): Abolish.
7009         All other related portions are changed.
7010         (elmo-filename-replace-string-alist): Renamed from
7011         elmo-msgid-replace-string-alist.
7012
7013 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7014
7015         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7016
7017         * elmo-map.el: New file.
7018         * elmo-maildir.el: Rewrite with luna.
7019
7020 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7021
7022         * elmo.el: Changed meaning of `elmo-folder-commit'.
7023         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7024
7025 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7026
7027         * elmo.el (elmo-folder-append-buffer): New function.
7028         (Renamed from `elmo-append-msg')
7029
7030 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7031
7032         * elmo-mime.el: New file.
7033
7034 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7035
7036         * elmo-cache.el: Rewrite.
7037
7038 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7039
7040         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7041
7042 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7043
7044         * elmo-vars.el (elmo): New group.
7045         (elmo-strict-diff-folder-regexp): New variable.
7046
7047         * elmo-util.el (elmo-call-func): Abolish.
7048         (elmo-folder-get-type): Ditto.
7049         (elmo-*-get-spec): Ditto.
7050         (elmo-*-spec-*): Ditto.
7051         (elmo-imap4-identical-name-space-p): Ditto.
7052         (elmo-folder-identical-system-p): Ditto.
7053         (elmo-folder-direct-copy-alist): Ditto.
7054         (elmo-folder-direct-copy-p): Ditto.
7055
7056         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7057         (elmo-folder-initialize): Define.
7058         (elmo-folder-get-primitive-list): Ditto.
7059
7060         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7061         (elmo-folder-initialize): Define.
7062         Renamed `elmo-network-session-host-internal' to
7063         `elmo-network-session-server-internal'.
7064
7065         * elmo-multi.el (elmo-multi-folder): New luna class.
7066         (elmo-folder-initialize): Define.
7067         (elmo-folder-get-primitive-list): Ditto.
7068         (elmo-folder-contains-type): Ditto.
7069         (elmo-message-use-cache-p): Ditto.
7070
7071         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7072         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7073
7074         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7075         (elmo-folder-initialize): Define.
7076
7077         * elmo-filter.el (elmo-filter-folder): New luna class.
7078         (elmo-folder-initialize): Define.
7079         (elmo-folder-get-primitive-list): Ditto.
7080         (elmo-folder-contains-type): Ditto.
7081
7082 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7083
7084         * elmo-imap4.el: Rewrite with luna.
7085
7086         * mmimap.el: New file.
7087
7088         * mmelmo.el, mmelmo-imap4.el: Removed.
7089
7090         * elmo-net.el: Ditto.
7091
7092         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7093         (elmo-folder-initialize): Define.
7094
7095         * elmo-archive.el (elmo-archive-folder): New luna class.
7096         (elmo-folder-initialize): Define.
7097
7098         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7099         `elmo-folder-msgdb-path'.
7100         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7101         `elmo-make-folder'.
7102
7103 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7104
7105         * elmo.el: New file.
7106
7107         * elmo2.el: Renamed to elmo.el.
7108
7109 \f
7110 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7111
7112         * elmo-cache.el (elmo-cache-expire-by-size): Count
7113         a disk usage for a cache file entry in KB even when
7114         its kind is a directory.
7115
7116 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7117
7118         * elmo-version.el (elmo-version): Up to 2.5.7.
7119
7120 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7121
7122         * elmo-version.el (elmo-version): Up to 2.5.6.
7123
7124 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7125
7126         * elmo-version.el (elmo-version): Up to 2.5.5.
7127
7128 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7129
7130         * elmo-imap4.el (elmo-network-authenticate-session):
7131         Fixed a logic for response checking.
7132
7133 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7134
7135         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7136         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7137         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7138         `sasl-mechanisms'.
7139
7140         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7141         for `starttls-open-stream' and `starttls-negotiate'.
7142
7143         * elmo-nntp.el: Remove autoload settings for
7144         `starttls-open-stream' and `starttls-negotiate'.
7145
7146         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7147         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7148         `luna-define-class' with `eval-and-compile'.
7149
7150 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7151
7152         * elmo-util.el (elmo-read-search-condition-internal):
7153         Require an element of table for searching field.
7154
7155 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7156
7157         * elmo-version.el (elmo-version): Up to 2.5.4.
7158
7159 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7160
7161         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7162
7163 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7164
7165         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7166
7167 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7168
7169         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7170         before greeting.
7171
7172 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7173
7174         * elmo-imap4.el (elmo-imap4-delete-folder):
7175         Send "close" before "delete" (Use commented out line).
7176         (elmo-imap4-rename-folder): Ditto.
7177
7178         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7179         folder string itself.
7180         (elmo-dop-list-deleted): New function.
7181         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7182         killed.
7183
7184         * elmo-util.el (elmo-string-rassoc-all): New function.
7185
7186 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7187
7188         * elmo-version.el (elmo-version): Up to 2.5.3.
7189
7190         * elmo-net.el (elmo-network-get-session): Changed logic for
7191         checking process status.
7192
7193         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7194         process is nil;
7195         Changed logic for checking process status.
7196
7197 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7198
7199         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7200         before greeting.
7201         (elmo-network-setup-session): Set UIDL hash size according to
7202         the length of list response.
7203         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7204         according to the length of list response;
7205         Return the length of list response.
7206         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7207
7208 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7209
7210         * elmo-imap4.el (toplevel): Require 'ssl.
7211         Add autoload 'starttls.
7212         * elmo-pop3.el (toplevel): Ditto.
7213         * elmo-nntp.el (toplevel): Ditto.
7214
7215 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7216
7217         * elmo-imap4.el (toplevel): defun at compile time.
7218         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7219         sasl-next-step, sasl-step-data, sasl-step-set-data.
7220         * elmo-pop3.el (toplevel): Ditto.
7221
7222 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7223
7224         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7225
7226 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7227
7228         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7229         if error.
7230         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7231         and `elmo-pop-auth-apop'.
7232
7233 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7234
7235         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7236
7237 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7238
7239         * elmo-pop3.el (elmo-network-authenticate-session): Split
7240         encoded response value.
7241
7242 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7243
7244         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7245         `elmo-pop3-force-login'.
7246         Redefine `sasl-mechanisms'.
7247         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7248
7249 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7250
7251         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7252         Delete `elmo-imap4-authenticator-alist'.
7253         (elmo-imap4-auth-cram-md5): Delete.
7254         (elmo-imap4-auth-digest-md5): Delete.
7255
7256 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7257
7258         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7259         (elmo-pop3-auth-scram-md5): Ditto.
7260         (elmo-pop3-auth-cram-md5): Ditto.
7261
7262 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7263
7264         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7265         Delete `elmo-pop3-authenticator-alist'.
7266
7267 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7268
7269         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7270         new SASL API.
7271         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7272
7273 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7274
7275         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7276
7277 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7278
7279         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7280         Fixed problem when `elmo-pop3-use-uidl' is nil.
7281         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7282
7283 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7284
7285         * elmo-version.el (elmo-version): Up to 2.5.2.
7286
7287 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7288
7289         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7290         New function.
7291         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7292         (elmo-pop3-msgdb-create-as-numlist): Use it.
7293
7294         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7295         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7296
7297         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7298         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7299
7300 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7301
7302         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7303         when elmo-mark-as-read is called with second argument nil.
7304
7305 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7306
7307         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7308         Moved to elmo-util.el.
7309
7310         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7311         Moved from elmo-pipe.el
7312
7313         * elmo-archive.el (elmo-archive-call-process): Enclose with
7314         static-if.
7315
7316         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7317         "RFC822" (because RFC822.PEEK is obsolete).
7318         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7319
7320 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7321
7322         * elmo-archive.el (elmo-archive-call-process): Don't check for
7323         the exit status when Nemacs is running.
7324
7325 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7326
7327         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7328         'plain.
7329
7330         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7331         (elmo-pop3-get-spec): Set default of auth to 'user.
7332
7333         * elmo-imap4.el (elmo-imap4-session-check):
7334         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7335         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7336         (elmo-imap4-auth-login): New function; Revival.
7337         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7338         `elmo-imap4-auth-login'.
7339
7340 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7341
7342         * elmo2.el (toplevel): Move `product-provide' declare.
7343         * mmelmo.el (toplevel): Ditto.
7344
7345 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7346
7347         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7348
7349 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7350
7351         * elmo-util.el (elmo-folder-get-store-type): New function.
7352         (elmo-folder-direct-copy-p): Use it.
7353
7354 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7355
7356         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7357         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7358         and result of `elmo-imap4-use-flag-p'.
7359         (elmo-imap4-fetch-callback-1): Set mark according to
7360         the result of `elmo-imap4-use-flag-p'.
7361
7362 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7363
7364         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7365         (elmo-generic-list-folder-unread): Ditto.
7366         (elmo-folder-get-info): Ditto.
7367         (elmo-folder-set-info-max-by-numdb): Ditto.
7368         (elmo-folder-get-info-max): Ditto.
7369         (elmo-folder-get-info-length): Ditto.
7370         (elmo-folder-get-info-unread): Ditto.
7371         (elmo-folder-info-make-hashtb): Ditto.
7372
7373         * elmo2.el: Removed above functions.
7374
7375 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7376
7377         * elmo-imap4.el (toplevel): Require 'ssl.
7378         Add autoload 'starttls.
7379         * elmo-pop3.el (toplevel): Ditto.
7380         * elmo-nntp.el (toplevel): Ditto.
7381
7382 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7383
7384         * elmo-imap4.el (toplevel): defun at compile time.
7385         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7386         sasl-next-step, sasl-step-data, sasl-step-set-data.
7387         * elmo-pop3.el (toplevel): Ditto.
7388
7389 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7390
7391         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7392
7393 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7394
7395         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7396         if error.
7397         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7398         and `elmo-pop-auth-apop'.
7399
7400 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7401
7402         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7403
7404 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7405
7406         * elmo-pop3.el (elmo-network-authenticate-session): Split
7407         encoded response value.
7408
7409 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7410
7411         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7412         `elmo-pop3-force-login'.
7413         Redefine `sasl-mechanisms'.
7414         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7415
7416 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7417
7418         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7419         Delete `elmo-imap4-authenticator-alist'.
7420         (elmo-imap4-auth-cram-md5): Delete.
7421         (elmo-imap4-auth-digest-md5): Delete.
7422
7423 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7424
7425         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7426         (elmo-pop3-auth-scram-md5): Ditto.
7427         (elmo-pop3-auth-cram-md5): Ditto.
7428
7429 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7430
7431         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7432         Delete `elmo-pop3-authenticator-alist'.
7433
7434 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7435
7436         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7437         new SASL API.
7438         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7439
7440 \f
7441 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7442
7443         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7444
7445 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7446
7447         * elmo-nntp.el (elmo-nntp-get-folders-info):
7448         Fixed problem when '\' character is contained in user-id.
7449         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7450
7451 \f
7452 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7453
7454         * elmo-imap4.el (elmo-imap4-delete-folder):
7455         Send "close" before "delete" (Use commented out line).
7456         (elmo-imap4-rename-folder): Ditto.
7457
7458         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7459         folder string itself.
7460         (elmo-dop-list-deleted): New function.
7461         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7462         killed.
7463
7464         * elmo-util.el (elmo-string-rassoc-all): New function.
7465
7466         * elmo-version.el (elmo-version): Up to 2.5.1.
7467
7468 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7469
7470         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7471
7472         * elmo-internal.el (elmo-internal-search): Fix last change.
7473
7474 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7475
7476         * elmo-internal.el (elmo-internal-search): Rewrite.
7477         (Fixed problem which is pointed out by Akihiro MOTOKI
7478         <motoki@da.jp.nec.com>)
7479
7480         * elmo-version.el (elmo-version): Up to 2.5.0.
7481
7482 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7483
7484         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7485
7486 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7487
7488         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7489         non-nil, make hierarchy.
7490
7491 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7492
7493         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7494         `elmo-pop3-use-uidl' must be bound to nil.
7495         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7496
7497 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7498
7499         * elmo-util.el (elmo-copy-file): Don't cause an error after
7500         `add-name-to-file' failed.
7501
7502         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7503         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7504
7505 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7506
7507         * elmo-version.el (elmo-version): Up to 2.3.93.
7508
7509 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7510
7511         * elmo-util.el (elmo-flatten): New function.
7512
7513 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7514
7515         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7516         sync Author header.
7517         * elmo-cache.el (toplevel): Ditto.
7518         * elmo-database.el (toplevel): Ditto.
7519         * elmo-date.el (toplevel): Ditto.
7520         * elmo-dop.el (toplevel): Ditto.
7521         * elmo-filter.el (toplevel): Ditto.
7522         * elmo-imap4.el (toplevel): Ditto.
7523         * elmo-internal.el (toplevel): Ditto.
7524         * elmo-localdir.el (toplevel): Ditto.
7525         * elmo-localnews.el (toplevel): Ditto.
7526         * elmo-maildir.el (toplevel): Ditto.
7527         * elmo-msgdb.el (toplevel): Ditto.
7528         * elmo-multi.el (toplevel): Ditto.
7529         * elmo-net.el (toplevel): Ditto.
7530         * elmo-nntp.el (toplevel): Ditto.
7531         * elmo-pipe.el (toplevel): Ditto.
7532         * elmo-pop3.el (toplevel): Ditto.
7533         * elmo-util.el (toplevel): Ditto.
7534         * elmo-vars.el (toplevel): Ditto.
7535         * elmo2.el (toplevel): Ditto.
7536         * mmelmo-imap4.el (toplevel): Ditto.
7537         * mmelmo.el (toplevel): Ditto.
7538
7539         * elmo-version.el (elmo-version): Move to top.
7540
7541         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7542         * elmo-imap4.el (toplevel): Ditto.
7543         * elmo-localdir.el (toplevel): Ditto.
7544         * elmo-msgdb.el (toplevel): Ditto.
7545         * elmo-nntp.el (toplevel): Ditto.
7546         * elmo-pop3.el (toplevel): Ditto.
7547         * elmo-version.el (toplevel): Ditto.
7548
7549         * elmo-localnews.el (toplevel): Added Keyword header.
7550
7551 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7552
7553         * elmo-version.el (product-version-as-string): Defined using
7554         `defun-maybe'.
7555         (toplevel): Use it.
7556
7557         * elmo-localdir.el (toplevel): Updated copyright notice.
7558         * elmo-version.el (toplevel): Ditto.
7559         * elmo-msgdb.el (toplevel): Ditto.
7560         * elmo-imap4.el (toplevel): Ditto.
7561         * elmo-nntp.el (toplevel): Ditto.
7562         * elmo-pop3.el (toplevel): Ditto.
7563
7564 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7565
7566         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7567         messages.
7568
7569         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7570         parameter value (It sometimes contains raw kanji).
7571
7572 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7573
7574         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7575         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7576
7577 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7578
7579         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7580
7581 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7582
7583         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7584         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7585
7586 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7587
7588         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7589         value if selecting folder succceeded.
7590         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7591
7592 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7593
7594         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7595         representation.
7596
7597         * elmo-util.el (elmo-string-matched-member): New function.
7598
7599 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7600
7601         * elmo-util.el (elmo-unintern): New macro.
7602         (elmo-number-set-member): Fixed docstring.
7603
7604         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7605         tag token.
7606
7607 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7608
7609         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7610         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7611
7612 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7613
7614         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7615         `no-error'.
7616         Added docstring.
7617         Return non-nil if selecting folder succeeded.
7618         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7619
7620 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7621
7622         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7623         `file-name-completion' returns t.
7624         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7625         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7626         directory if it does not exist.
7627         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7628         for iteration.
7629
7630 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7631
7632         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7633         enclosure (It's harmful in unplugged status).
7634
7635         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7636
7637         * mmelmo-1.el: Removed.
7638
7639         * mmelmo-2.el: Ditto.
7640
7641         * mmelmo-imap4-1.el: Ditto.
7642
7643         * mmelmo-imap4-2.el: Ditto.
7644
7645         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7646
7647         * mmelmo.el: Merged mmelmo-2.el.
7648
7649         * elmo-version.el (elmo-version): Up to 2.3.92.
7650
7651 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7652
7653         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7654         elmo-update-number): Remove last period in "...done." message.
7655         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7656         Ditto.
7657         * elmo-cache.el (elmo-cache-expire-by-size,
7658         elmo-cache-get-sorted-cache-file-list,
7659         elmo-cache-msgdb-create-as-numlist): Ditto.
7660         * elmo-dop.el (elmo-dop-save-pending-messages,
7661         (elmo-dop-flush-pending-append-operations): Ditto.
7662         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7663         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7664         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7665         (elmo-localdir-pack-number): Ditto.
7666         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7667         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7668         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7669         mime-write-entity-content): Ditto.
7670         * pldap.el (ldap-search-basic): Ditto.
7671
7672 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7673
7674         * elmo-version.el (elmo-version): Up to 2.3.91.
7675
7676         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7677         Only when filter is 'last'.
7678
7679         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7680         (elmo-condition-parse-search-value): Use it.
7681         (elmo-read-search-condition-internal): Quote value only when
7682         it is not an atom.
7683
7684 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7685
7686         * elmo2.el (elmo-generic-folder-diff): Fix.
7687
7688 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7689
7690         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7691         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7692         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7693         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7694         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7695         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7696
7697 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7698
7699         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7700         extra-fields.
7701
7702 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7703
7704         * elmo-version.el (elmo-version): Up to 2.3.90.
7705
7706         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7707         (elmo-imap4-list-folder-important): Ditto.
7708
7709 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7710
7711         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7712
7713 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7714
7715         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7716
7717 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7718
7719         * elmo-nntp.el (elmo-network-initialize-session):
7720         Add starttls negotiation.
7721
7722 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7723
7724         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7725         response.
7726         (elmo-network-setup-session): Define.
7727         Call `elmo-nntp-send-mode-reader' when session opened.
7728
7729 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7730
7731         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7732
7733 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7734
7735         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7736         an invalid SPACE character ahead of `SEARCH' command.  Move
7737         a valid SPACE character following `SEARCH' from conditional
7738         `format' arguments to control-strings.
7739
7740 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7741
7742         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7743         was succeeded.
7744
7745         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7746
7747 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7748
7749         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7750         `w32-get-true-file-link-count' as t.
7751
7752         * elmo-imap4.el (elmo-imap4-read): Abolished.
7753         (Renamed to `elmo-read' and moved to elmo-util.el)
7754         All other related portions are changed.
7755
7756         * elmo-util.el (elmo-read): New function.
7757         (elmo-condition-parse-search-value): Use it.
7758
7759 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7760
7761         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7762
7763         * elmo-nntp.el (elmo-nntp-session): Define.
7764         (elmo-nntp-setting): Abolished.
7765         All other related portions are changed.
7766         (elmo-nntp-get-server-command): Changed argument.
7767         (elmo-nntp-set-server-command): Ditto.
7768         (elmo-nntp-xover-p): Ditto.
7769         (elmo-nntp-set-xover): Ditto.
7770         (elmo-nntp-listgroup-p): Ditto.
7771         (elmo-nntp-set-listgroup): Ditto.
7772         (elmo-nntp-list-active-p): Ditto.
7773         (elmo-nntp-set-list-active): Ditto.
7774         (elmo-nntp-xhdr-p): Ditto.
7775         (elmo-nntp-set-xhdr): Ditto.
7776         (elmo-nntp-flush-connection): Abolished.
7777         (elmo-nntp-get-connection): Abolished.
7778         (elmo-nntp-get-session): New function.
7779         (elmo-network-initialize-session): Defined.
7780         (elmo-network-authenticate-session): Ditto.
7781         (elmo-nntp-send-mode-reader): Changed argument.
7782         (elmo-nntp-send-command): Changed argument.
7783         All other related portions are changed.
7784         (elmo-nntp-read-response): Ditto.
7785         (elmo-nntp-read-raw-response): Ditto.
7786         (elmo-nntp-read-contents): Ditto.
7787         (elmo-nntp-read-body): Ditto.
7788         (elmo-nntp-goto-folder): Abolished.
7789         (elmo-nntp-select-group): New function.
7790         All other related portions are changed.
7791         (This function substitutes `elmo-nntp-goto-folder')
7792         (elmo-nntp-msgdb-create-by-header): Rewrite.
7793         (elmo-nntp-get-overview): Eliminated.
7794         (elmo-nntp-get-message): Ditto.
7795         (elmo-nntp-open-connection) Abolished.
7796         (elmo-nntp-read-msg): Rewrite.
7797         (elmo-nntp-post): Ditto.
7798         (elmo-nntp-send-data): Abolished.
7799         (elmo-nntp-send-buffer): New function.
7800         (elmo-nntp-send-data-line): Define as inline function.
7801         (elmo-nntp-get-folders-info-prepare): Use session as key.
7802         (elmo-nntp-groups-read-response): Changed argument.
7803         (elmo-nntp-retrieve-headers): Ditto.
7804         (elmo-nntp-msgdb-create-message): Ditto.
7805
7806         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7807         when searching by 'since' or 'before'.
7808
7809 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7810
7811         * elmo-version.el (toplevel): Use product-version-as-string for set
7812         verstion-string, if defined.
7813
7814 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7815
7816         * elmo-util.el: Doc fixes.
7817
7818 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7819
7820         * elmo-archive.el (toplevel): Use product-provide.
7821         * elmo-cache.el (toplevel): Ditto.
7822         * elmo-database.el (toplevel): Ditto.
7823         * elmo-date.el (toplevel): Ditto.
7824         * elmo-dop.el (toplevel): Ditto.
7825         * elmo-filter.el (toplevel): Ditto.
7826         * elmo-imap4.el (toplevel): Ditto.
7827         * elmo-internal.el (toplevel): Ditto.
7828         * elmo-localdir.el (toplevel): Ditto.
7829         * elmo-localnews.el (toplevel): Ditto.
7830         * elmo-maildir.el (toplevel): Ditto.
7831         * elmo-msgdb.el (toplevel): Ditto.
7832         * elmo-multi.el (toplevel): Ditto.
7833         * elmo-net.el (toplevel): Ditto.
7834         * elmo-nntp.el (toplevel): Ditto.
7835         * elmo-pipe.el (toplevel): Ditto.
7836         * elmo-pop3.el (toplevel): Ditto.
7837         * elmo-util.el (toplevel): Ditto.
7838         * elmo-vars.el (toplevel): Ditto.
7839         * elmo2.el (toplevel): Ditto.
7840         * mmelmo-1.el (toplevel): Ditto.
7841         * mmelmo-2.el (toplevel): Ditto.
7842         * mmelmo-imap4-1.el (toplevel): Ditto.
7843         * mmelmo-imap4-2.el (toplevel): Ditto.
7844         * mmelmo-imap4.el (toplevel): Ditto.
7845         * mmelmo.el (toplevel): Ditto.
7846
7847 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7848
7849         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7850         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7851
7852 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7853
7854         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7855         before splitting.
7856         (elmo-multi-split-number-alist): Ditto.
7857
7858 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7859
7860         * elmo-version.el: New file.  Use product.el.
7861         * elmo2.el: Add (require 'elmo-version).
7862         * elmo-vars.el (elmo-appname, elmo-version): Move to
7863         elmo-version.el
7864
7865 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7866
7867         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7868         `elmo-msgdb-expand-path'.
7869         (elmo-msgdb-load): Ditto.
7870         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7871         (elmo-generic-list-folder-unread): Rewrite.
7872         (elmo-generic-list-folder-important): Changed argument.
7873         (elmo-list-folder-unread): Ditto.
7874         (elmo-list-folder-important): Ditto.
7875         (elmo-folder-diff): Rewrite.
7876         (elmo-generic-folder-diff): New function.
7877         (elmo-multi-get-number-alist-list): Abolished
7878         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7879         (elmo-multi-folder-diff): Moved to elmo-multi.el
7880         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7881
7882         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7883         `elmo-msgdb-expand-path'.
7884         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7885         (elmo-pop3-read-msg): Ditto.
7886         (elmo-pop3-delete-msgs): Ditto.
7887         (elmo-pop3-folder-diff): New alias.
7888
7889         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7890         `elmo-msgdb-expand-path'.
7891         (elmo-pipe-list-folder-unread): Changed arguments.
7892         (elmo-pipe-list-folder-important): Ditto.
7893         (elmo-pipe-folder-diff): New alias.
7894
7895         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7896         `elmo-msgdb-expand-path'.
7897         (elmo-nntp-max-of-folder): Ditto.
7898         (elmo-nntp-msgdb-create): Ditto.
7899         (elmo-nntp-delete-msgs): Ditto.
7900         (elmo-nntp-folder-diff): New alias.
7901
7902         * elmo-multi.el (elmo-multi-folder-diff): New function.
7903         (elmo-multi-split-mark-alist): Ditto.
7904         (elmo-multi-split-number-alist): Ditto.
7905         (elmo-multi-mark-alist-list): Abolished (Renamed to
7906         elmo-multi-split-mark-alist).
7907         (elmo-multi-list-folder-unread): Rewrite.
7908         (elmo-multi-list-folder-important): Ditto.
7909         (elmo-multi-list-folder): Set `spec' as 1st argument for
7910         `elmo-msgdb-expand-path'.
7911         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7912         instead of `elmo-multi-get-number-alist-list'.
7913
7914         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7915         If 1st argument is not string, treat as spec.
7916         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7917         `elmo-msgdb-expand-path'.
7918         (elmo-msgdb-flist-load): Ditto.
7919         (elmo-msgdb-flist-save): Ditto.
7920         (elmo-msgdb-delete-path): Ditto.
7921         (elmo-msgdb-rename-path): Ditto.
7922
7923         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7924         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7925         (elmo-maildir-delete-mark-msgs): Ditto.
7926         (elmo-maildir-msgdb-create): Ditto.
7927         (elmo-maildir-read-msg): Ditto.
7928         (elmo-maildir-delete-msgs): Ditto.
7929         (elmo-maildir-list-folder-subr): Ditto.
7930         (elmo-maildir-search): Ditto.
7931         (elmo-maildir-get-msg-filename): Ditto.
7932         (elmo-maildir-pack-number): Ditto.
7933         (elmo-maildir-folder-diff): New alias.
7934
7935         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7936
7937         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7938         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7939         (elmo-localdir-folder-diff): New alias.
7940
7941         * elmo-internal.el (elmo-internal-list-folder-subr):
7942         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943         (elmo-internal-list-folder-by-location): Ditto.
7944         (elmo-internal-msgdb-create): Ditto.
7945         (elmo-internal-delete-msgs): Ditto.
7946         (elmo-internal-read-msg): Ditto.
7947         (elmo-internal-folder-diff): New alias.
7948
7949         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7950         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7951         `elmo-msgdb-expand-path'.
7952         (elmo-imap4-list-folder-unread): Changed arguments.
7953         (elmo-imap4-list-folder-important): Ditto.
7954
7955         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7956         (elmo-filter-list-folder-important): Ditto.
7957         (elmo-filter-folder-diff): New function.
7958
7959         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7960
7961         * elmo-cache.el (elmo-cache-list-folder):
7962         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7963         (elmo-cache-copy-msgs): Ditto.
7964         (elmo-cache-folder-diff): New alias.
7965
7966         * elmo-archive.el (elmo-archive-list-folder-subr):
7967         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7968         (elmo-archive-get-archive-name): Ditto.
7969         (elmo-archive-create-file): Ditto.
7970         (elmo-archive-append-msg): Ditto.
7971         (elmo-archive-copy-msgs): Ditto.
7972         (elmo-archive-copy-msgs-froms): Ditto.
7973         (elmo-archive-get-msg-filename): Ditto.
7974         (elmo-archive-folder-diff): New alias.
7975
7976 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7977
7978         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7979         (elmo-pop3-stream-type-alist): New variable.
7980         (elmo-nntp-stream-type-alist): New variable.
7981
7982         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7983         (elmo-kill-buffer): Ditto.
7984         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7985         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7986         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7987         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7988         (elmo-imap4-get-spec): Take into account
7989         `elmo-imap4-stream-type-alist'.
7990
7991 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7992
7993         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7994         (elmo-nntp-list-folders-get-cache): Ditto.
7995
7996 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7997
7998         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7999         character before 'uid'.
8000
8001 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8002
8003         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8004
8005         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8006
8007         * elmo-util.el (elmo-number-set-member): New function.
8008         (elmo-number-set-append-list): Ditto.
8009         (elmo-number-set-append): Ditto.
8010
8011         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8012         Use `elmo-number-set-member'.
8013         (elmo-living-messages): Ditto.
8014         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8015         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8016
8017         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8018         (elmo-imap4-add-to-cont-list): Abolished.
8019         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8020         instead of elmo-imap4-add-to-cont-list.
8021
8022         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8023         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8024
8025         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8026
8027 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8028
8029         * elmo-util.el (elmo-condition-parse-search-value):
8030         Fixed date parsing.
8031
8032 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8033
8034         * elmo-util.el (elmo-condition-find-key-internal): New function.
8035         (elmo-condition-find-key): Ditto.
8036
8037         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8038         (elmo-msgdb-search-internal): Ditto.
8039         (elmo-msgdb-search): Ditto.
8040
8041 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8042
8043         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8044         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8045
8046         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8047         (elmo-nntp-search-primitive): Fixed problem when condition is
8048         'unmatch'.
8049
8050         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8051
8052         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8053         (elmo-nntp-xhdr-p): New macro.
8054         (elmo-nntp-set-xhdr): Ditto.
8055         (elmo-nntp-parse-xhdr-response): New function.
8056         (elmo-nntp-retrieve-field): Ditto.
8057         (elmo-nntp-search-primitive): Ditto.
8058         (elmo-nntp-search): Implemented.
8059
8060         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8061
8062         * elmo-archive.el (elmo-archive-search): Set all number list to
8063         `elmo-archive-field-condition-match'
8064
8065         * elmo-localdir.el (elmo-localdir-search): Likewise.
8066
8067         * elmo-maildir.el (elmo-maildir-search): Likewise.
8068
8069 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8070
8071         * elmo-msgdb.el (elmo-living-messages): New function.
8072         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8073         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8074         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8075         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8076         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8077         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8078         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8079         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8080         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8081         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8082         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8083
8084 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8085
8086         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8087
8088         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8089
8090         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8091
8092         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8093         arguments for `SEARCH' command.
8094         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8095         All other related portions are changed.
8096
8097         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8098
8099         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8100         (elmo-list-folder-unread): Rewrite.
8101         (elmo-list-folder-important): Ditto.
8102
8103         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8104         (elmo-condition-parse-error): New inline function.
8105         (elmo-read-search-condition): New function.
8106         (elmo-read-search-condition-internal): Ditto.
8107         (elmo-parse-search-condition): Rewrite.
8108         (elmo-condition-parse): New function.
8109         (elmo-condition-parse-or-expr): Ditto.
8110         (elmo-condition-parse-and-expr): Ditto.
8111         (elmo-condition-parse-primitive): Ditto.
8112         (elmo-condition-parse-search-value): Ditto.
8113         (elmo-buffer-field-primitive-condition-match): Ditto.
8114         (elmo-buffer-field-condition-match): Rewrite.
8115         (elmo-file-field-condition-match): Ditto.
8116
8117         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8118         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8119
8120         * elmo-internal.el (elmo-internal-search): Set `number' and
8121         `number-list' argument of `elmo-file-field-condition-match'.
8122
8123         * elmo-maildir.el (elmo-maildir-search): Ditto.
8124
8125         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8126         `msgdb' as argument instead of `mark-alist'.
8127         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8128         `overview'.
8129
8130         * elmo-multi.el: Likewise.
8131
8132         * elmo-pipe.el: Likewise.
8133
8134         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8135         (elmo-imap4-search-internal): Rewrite.
8136         (elmo-imap4-search): Ditto.
8137
8138         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8139         (elmo-filter-list-folder-unread): Ditto.
8140         (elmo-filter-list-folder-important): Ditto.
8141         (elmo-filter-search): Rewrite.
8142
8143         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8144         `number-list' argument of `elmo-file-field-condition-match'.
8145         (elmo-cache-search): Ditto.
8146
8147         * elmo-localdir.el: Likewise.
8148
8149         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8150         number-list and pass it to `elmo-buffer-field-condition-match'.
8151         (elmo-archive-field-condition-match): Pass `number-list' to
8152         `elmo-archive-field-condition-match'
8153
8154 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8155
8156         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8157         `listgroup'.
8158
8159         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8160         (elmo-folder-diff-async-callback-data): Ditto.
8161         (elmo-folder-diff-async): New function.
8162
8163         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8164         (elmo-network-session-cache-key): Use it as a prefix of the session
8165         name.
8166         (elmo-network-open-session): Ditto.
8167
8168         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8169         (elmo-imap4-status-callback-data): Ditto.
8170         (elmo-imap4-server-diff-async-callback): New variable.
8171         (elmo-imap4-server-diff-async-callback-data): Ditto.
8172         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8173         `elmo-imap4-status-callback-data'.
8174         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8175         `elmo-imap4-status-callback-data' as nil.
8176         (elmo-imap4-server-diff): Ditto.
8177         (elmo-imap4-server-diff-async-callback-1): New function.
8178         (elmo-imap4-server-diff-async): Ditto.
8179         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8180
8181 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8182
8183         * elmo-util.el (elmo-list-delete): Doc fix.
8184         (elmo-delete-lists): Abolish.
8185         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8186         instead of `elmo-delete-lists'.
8187
8188 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8189
8190         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8191         before `sort'.
8192
8193 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8194
8195         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8196         `elmo-imap4-literal-subr'.
8197         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8198         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8199
8200 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8201
8202         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8203         (elmo-archive-list-folder): Fix.
8204         (elmo-archive-max-of-folder): Fix.
8205
8206 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8207
8208         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8209          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8210         (elmo-localdir-append-msg): Ditto.
8211         (elmo-localdir-list-folder): Fix for `nonsort'.
8212         (elmo-localdir-list-folder-subr): Fix for `killed'.
8213         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8214         (elmo-maildir-list-folder-subr): Ditto.
8215         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8216         (elmo-archive-list-folder-subr): Ditto.
8217         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8218         (elmo-internal-list-folder-subr): Ditto.
8219
8220 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8221
8222         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8223
8224 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8225
8226         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8227
8228 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8229
8230         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8231         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8232
8233         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8234         before greeting.
8235         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8236         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8237
8238 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8239
8240         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8241
8242         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8243         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8244         before STORE command.
8245
8246 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8247
8248         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8249
8250         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8251         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8252         of `response'.
8253         (elmo-imap4-list-folders): Removed unused local variable.
8254         (elmo-network-initialize-session): Ditto.
8255         (elmo-imap4-delete-msg-by-id): Ditto.
8256         (elmo-imap4-parse-fetch): Ditto.
8257         (elmo-imap4-copy-msgs): Ditto.
8258         Use `dst-spec' instead of `dst-folder'.
8259         (elmo-network-authenticate-session): Check authenticate type `plain'.
8260
8261 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8262
8263         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8264         garbage checking.
8265         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8266         `elmo-imap4-response-value'.
8267         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8268
8269 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8270
8271         * elmo-imap4.el (elmo-imap4-send-command):
8272         Cause elmo-imap4-bye-error when current response is BYE.
8273         (elmo-imap4-arrival-filter): Changed greeting response value.
8274
8275         * elmo2.el (elmo-imap4-bye-error): Define.
8276
8277         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8278         (elmo-imap4-server-diff): Ditto.
8279         (elmo-imap4-response-bye-p): New macro.
8280         (elmo-imap4-response-error-text): Get text from BYE response.
8281         (elmo-imap4-read-response): Return if BYE response.
8282         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8283         (elmo-imap4-folder-exists-p): Ditto.
8284         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8285         (elmo-imap4-parse-bye): New function.
8286         (elmo-imap4-parse-response): Remove needless let.
8287         Call `elmo-imap4-parse-bye'.
8288
8289 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8290
8291         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8292         the mailbox does not exist.
8293         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8294
8295 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8296
8297         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8298
8299 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8300
8301         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8302
8303         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8304         (elmo-network-initialize-session-buffer): Defined.
8305
8306         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8307         Abolished.
8308         (mmelmo-imap4-get-mime-entity): Rewrite.
8309
8310         * elmo2.el (elmo-error): Capitalize error message.
8311
8312         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8313         (elmo-network-session-buffer): New macro.
8314         (elmo-network-open-session): Use it.
8315
8316         * elmo-imap4.el: Rewrite.
8317
8318 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8319
8320         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8321
8322 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8323
8324         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8325         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8326         (elmo-imap4-create-msgdb-from-overview-string): Use
8327         `elmo-msgdb-create-overview-from-buffer'.
8328
8329 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8330
8331         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8332         (elmo-imap4-default-hierarchy-delimiter): New variable.
8333         (elmo-imap4-list-folders): Use it.
8334
8335 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8336
8337         * elmo-net.el (elmo-network-open-session): Add user and
8338         stream-type for process-buffer name.
8339
8340         * elmo-pop3.el (elmo-network-initialize-session): Call
8341         buffer-disable-undo.
8342
8343         * elmo-imap4.el (elmo-network-initialize-session):
8344         Set current-buffer as an argument for `buffer-disable-undo'.
8345
8346         * elmo-pop3.el (elmo-network-close-session): Don't use
8347         `process-live-p'.
8348
8349         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8350         Set default as 'user.
8351
8352         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8353
8354         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8355         and `elmo-imap4-flush-connection'.
8356
8357         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8358         (elmo-pop3-get-spec): Assume auth as symbol.
8359         (elmo-open-network-stream): Moved to `elmo-net'.
8360
8361         * elmo-pop3.el (toplevel): Require 'elmo-net.
8362         Define `sasl-cram-md5' to silence byte compilier.
8363         (elmo-pop3-connection-cache) Abolished.
8364         (elmo-pop3-authenticator-alist) New variable.
8365         (elmo-pop3-session): Define.
8366         (elmo-pop3-connection-get-process): Abolished.
8367         (elmo-pop3-connection-get-buffer): Ditto.
8368         (elmo-pop3-close-connection): Ditto.
8369         (elmo-pop3-flush-connection): Ditto.
8370         (elmo-pop3-get-connection): Ditto.
8371         (elmo-pop3-get-session): New function.
8372         (Replacement for `elmo-pop3-get-connection').
8373         All other related modules are changed.
8374         (elmo-network-close-session): Define.
8375         (elmo-pop3-send-command): Abolished argument `buffer'.
8376         All other related modules are changed.
8377         (elmo-pop3-read-response): Likewise.
8378         (elmo-pop3-open-connection): Abolished.
8379         (elmo-pop3-auth-user): New function.
8380         (elmo-pop3-auth-apop): Ditto.
8381         (elmo-pop3-auth-cram-md5): Ditto.
8382         (elmo-pop3-auth-scram-md5): Ditto.
8383         (elmo-pop3-auth-digest-md5): Ditto.
8384         (elmo-network-initialize-session): Define.
8385         (elmo-network-authenticate-session): Ditto.
8386         (elmo-network-setup-session): Ditto.
8387
8388         * elmo-imap4.el (toplevel): Require 'elmo-net.
8389         (elmo-imap4-session): Define.
8390         (elmo-imap4-connection-cache): Abolished.
8391         (elmo-imap4-password-key): Ditto.
8392         (elmo-imap4-flush-connection): Ditto.
8393         (elmo-imap4-get-connection): Ditto.
8394         All other related modules are changed.
8395         (elmo-imap4-get-session): New function
8396         (Replacement for `elmo-imap4-get-connection').
8397         (elmo-imap4-read-response): Abolished argument `buffer'.
8398         All other related modules are changed.
8399         (elmo-imap4-send-command): Likewise.
8400         (elmo-imap4-select-folder): Abolished.
8401         All other related modules are changed.
8402         (elmo-imap4-select-mailbox): New function.
8403         (Replacement for `elmo-imap4-select-folder').
8404         (elmo-imap4-auth-login): Simplify.
8405         (Assume current buffer as process buffer)
8406         (elmo-imap4-auth-cram-md5): Ditto.
8407         (elmo-imap4-auth-digest-md5): Ditto.
8408         (elmo-imap4-login): Ditto.
8409         (elmo-imap4-open-connection): Abolished.
8410         (elmo-imap4-open-connection-1): Abolished.
8411         (elmo-network-initialize-sessoin): Define.
8412         (elmo-network-authenticate-session): Ditto.
8413         (elmo-network-setup-session): Ditto.
8414
8415         * elmo-net.el: New module.
8416
8417 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8418
8419         * elmo-util.el (elmo-define-error): New function.
8420
8421         * elmo2.el (elmo-error): Define.
8422         (elmo-open-error): Define.
8423         (elmo-authenticate-error): Define.
8424
8425         * elmo-imap4.el (elmo-imap4-error): Abolish.
8426         (elmo-imap4-error-type): Abolish.
8427         (elmo-imap4-error-process): Abolish.
8428         (elmo-imap4-error-message): Abolish
8429         (elmo-imap4-list-folders): Don't quote lambda.
8430         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8431         (elmo-imap4-parse-namespace): Ditto.
8432         (elmo-imap4-open-connection): Rewrite.
8433         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8434         (elmo-imap4-get-connection): Abolish local variable `result'.
8435
8436 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8437
8438         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8439         wrong-type-argument error when auth is nil.
8440
8441 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8442
8443         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8444         (elmo-default-nntp-stream-type): Ditto.
8445         (elmo-default-pop3-stream-type): Ditto.
8446         (elmo-network-stream-type-alist): Ditto.
8447         (elmo-default-imap4-ssl): Abolished.
8448         (elmo-default-nntp-ssl): Ditto.
8449         (elmo-default-pop3-ssl): Ditto.
8450
8451         * elmo-util.el: (toplevel): Removed needless requires.
8452         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8453         (elmo-open-network-stream): Open network stream according to
8454         the value of `elmo-network-stream-type-alist'.
8455         (elmo-get-network-stream-type): New function.
8456         (elmo-network-stream-type-spec-string): New macro.
8457         (elmo-network-stream-type-symbol): Ditto.
8458         (elmo-network-stream-type-function): Ditto.
8459
8460         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8461         network-stream-type. All other related portions are changed.
8462         (elmo-pop3-open-connection): Ditto.
8463
8464         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8465         network-stream-type. All other related portions are changed.
8466
8467         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8468         network-stream-type.All other related portions are changed.
8469         (elmo-imap4-error): New macro.
8470         (elmo-imap4-error-type): Ditto.
8471         (elmo-imap4-error-process): Ditto.
8472         (elmo-imap4-error-message): Ditto.
8473         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8474         (elmo-imap4-auth-cram-md5): Ditto.
8475         (elmo-imap4-auth-digest-md5): Ditto.
8476         (elmo-imap4-login): Ditto.
8477         (elmo-imap4-open-connection): Remove password entry if authentication
8478         was in vain.
8479         (elmo-imap4-user-at-host): Abolished.
8480         (elmo-imap4-password-key): New buffer local variable.
8481         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8482         using protocol, port, auth and stream-type.
8483
8484         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8485
8486 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8487
8488         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8489
8490         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8491
8492         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8493         (elmo-imap4-authenticator-alist): New variable.
8494         (elmo-imap4-open-connection-1): Rename from
8495         elmo-imap4-open-connection.
8496         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8497         only wraps elmo-imap4-open-connection-1.
8498         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8499         user-at-host.
8500         (elmo-imap4-auth-login): New function.
8501         (elmo-imap4-auth-cram-md5): New function.
8502         (elmo-imap4-auth-digest-md5): New function.
8503         (elmo-imap4-login): New function.
8504
8505 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8506
8507         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8508         function `error'.
8509
8510 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8511
8512         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8513
8514 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8515
8516         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8517
8518 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8519
8520         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8521         for server responses, quote `*' regardless of where it appears.
8522
8523 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8524
8525         * elmo-maildir.el (elmo-maildir-commit): New alias.
8526
8527 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8528
8529         * elmo-util.el (elmo-display-progress):
8530                 Use `progress-feedback-with-label'.
8531
8532 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8533
8534         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8535         (elmo-imap4-non-atom-char-regex): Ditto.
8536         (elmo-imap4-non-text-char-regex): Ditto.
8537         (elmo-imap4-literal-threshold): Ditto.
8538         (elmo-imap4-atom-p): New function.
8539         (elmo-imap4-quotable-p): Ditto.
8540         (elmo-imap4-nil): Ditto.
8541         (elmo-imap4-atom): Ditto.
8542         (elmo-imap4-quoted): Ditto.
8543         (elmo-imap4-literal-subr): Ditto.
8544         (elmo-imap4-literal): Ditto.
8545         (elmo-imap4-buffer-literal): Ditto.
8546         (elmo-imap4-string-subr): Ditto.
8547         (elmo-imap4-string): Ditto.
8548         (elmo-imap4-buffer-string): Ditto.
8549         (elmo-imap4-astring-subr): Ditto.
8550         (elmo-imap4-astring): Ditto.
8551         (elmo-imap4-buffer-astring): Ditto.
8552         (elmo-imap4-nstring): Ditto.
8553         (elmo-imap4-buffer-nstring): Ditto.
8554         (elmo-imap4-mailbox): New alias.
8555         (elmo-imap4-field-body): Ditto.
8556         (elmo-imap4-userid): Ditto.
8557         (elmo-imap4-password): Ditto.
8558         (elmo-imap4-format-quoted): New function.
8559         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8560         arguments and handle "atom", "quoted" and "literal" string here.
8561         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8562         `elmo-imap4-send-command'.
8563         (elmo-imap4-folder-exists-p): Likewise.
8564         (elmo-imap4-create-folder): Likewise.
8565         (elmo-imap4-delete-folder): Likewise.
8566         (elmo-imap4-rename-folder): Likewise.
8567         (elmo-imap4-max-of-folder): Likewise.
8568         (elmo-imap4-check-validity): Likewise.
8569         (elmo-imap4-sync-validity): Likewise.
8570         (elmo-imap4-server-diff): Likewise.
8571         (elmo-imap4-select-folder): Likewise.
8572         (elmo-imap4-copy-msgs): Likewise.
8573         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8574         (elmo-imap4-mark-set-on-msgs): Likewise.
8575         (elmo-imap4-read-part): Likewise.
8576         (elmo-imap4-read-msg): Likewise.
8577         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8578         `elmo-imap4-password' for `elmo-imap4-send-command'.
8579         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8580         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8581         `elmo-imap4-buffer-literal'.
8582         (elmo-imap4-append-msg): Likewise.
8583
8584         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8585         `delete' for removing dead connection from the connection cache.
8586         Move deletion of the process buffer after that.
8587         (elmo-imap4-list): Change `defsubst' to `defun'.
8588         (elmo-imap4-commit): Make error message verbose.
8589         (elmo-imap4-search): Ditto.
8590         (elmo-imap4-list): Ditto.
8591         (elmo-imap4-select-folder): Ditto.
8592         (elmo-imap4-copy-msgs): Ditto.
8593         (elmo-imap4-delete-msg-by-id): Ditto.
8594         (elmo-imap4-append-msg-by-id): Ditto.
8595         (elmo-imap4-append-msg): Ditto.
8596
8597 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8598
8599         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8600         when dired is used on XEmacs.
8601
8602 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8603
8604         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8605         instead of `append'.
8606         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8607         `elmo-plugged-p' directly.
8608         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8609         of `elmo-plugged-p' directly.
8610
8611         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8612         Eliminate unused variable.  Use `memq' for checking a process status.
8613         Use `cons' instead of `append' for updating the connection cache.
8614         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8615         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8616
8617 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8618
8619         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8620         `elmo-imap4-read-point' exactly.
8621
8622         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8623         the local variable `folder' to `mailbox'.
8624         Rename the argument `fld' to `folder'.
8625
8626 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8627
8628         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8629         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8630
8631 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8632
8633         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8634         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8635         (elmo-pop3-uidl-number-hash): Ditto.
8636         (elmo-pop3-size-hash): Ditto.
8637         (elmo-pop3-uidl-done): Ditto.
8638         (elmo-pop3-list-done): Ditto.
8639         (elmo-pop3-connection-get-process): New defmacro.
8640         (elmo-pop3-connection-get-buffer): Ditto.
8641         (elmo-pop3-close-connection): Delete buffer and process.
8642         (elmo-pop3-flush-connection): Don't delete buffer and process.
8643         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8644         Setup UIDL and size hash.
8645         (elmo-pop3-send-command-no-erase): Deleted
8646         (elmo-pop3-send-command): Added optional argument `no-erase'.
8647         (elmo-pop3-parse-uidl-response): New function.
8648         (elmo-pop3-parse-list-response): Set size hash.
8649         (elmo-pop3-list-location): New function.
8650         (elmo-pop3-list-by-uidl-subr): Ditto.
8651         (elmo-pop3-list-by-list): Ditto.
8652         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8653         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8654         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8655         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8656         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8657         Use uidl.
8658         (elmo-pop3-uidl-to-number): New function.
8659         (elmo-pop3-number-to-uidl): Ditto.
8660         (elmo-pop3-number-to-size): Ditto.
8661         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8662         Set number by use of uidl.
8663         (elmo-pop3-msgdb-create-message): Likewise.
8664         Set size, loc-alist in msgdb.
8665         (elmo-pop3-read-msg): Set number by use of uidl.
8666         Added optional argument `msgdb'.
8667         (elmo-pop3-delete-msg): Ditto.
8668         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8669         (elmo-pop3-commit): Close connection.
8670
8671         * elmo-pipe.el (elmo-pipe-max-of-folder):
8672         Bind `elmo-pop3-use-uidl' as nil.
8673         (elmo-pipe-drain): Ditto.
8674         Call `elmo-commit'.
8675
8676         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8677         (elmo-msgdb-overview-entity-set-size): New defsubst.
8678
8679 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8680
8681         * elmo-vars.el (elmo-use-killed-list): New variable
8682         (Renamed from `elmo-nntp-use-killed-list').
8683         (elmo-nntp-use-killed-list): Eliminated.
8684
8685         * elmo-msgdb.el (elmo-msgdb-expand-path):
8686         Changed expanding msgdb path for elmo-multi.
8687
8688         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8689         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8690         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8691         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8692         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8693         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8694         (toplevel): Deleted time-stamp line.
8695
8696         * elmo2.el (elmo-clear-killed ): Defined as function
8697         (Abolished defining as a backend function).
8698         All other related modules are changed.
8699
8700 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8701
8702         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8703
8704 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8705
8706         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8707
8708 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8709
8710         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8711
8712 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8713
8714         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8715         asynchronous folder check.
8716
8717         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8718
8719         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8720         `elmo-nntp-use-killed-list'.
8721         (elmo-nntp-list-folder): Use killed list.
8722         (elmo-nntp-max-of-folder): Ditto.
8723         (elmo-nntp-msgdb-create): Set killed list.
8724
8725         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8726
8727         * elmo2.el (elmo-clear-killed): New backend function.
8728         All other related modules are changed.
8729
8730 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8731
8732         * elmo-util.el (elmo-imap4-spec-folder): Use
8733         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8734         All callers changed.
8735
8736 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8737
8738         * mmelmo-2.el (initialize-instance):
8739         Use `mime-buffer-entity-buffer-internal' instead of
8740         `mime-entity-buffer'.
8741
8742         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8743         (mime-entity-body): Implemented.
8744         (mime-goto-header-start-point): Deleted.
8745         (mime-goto-body-end-point): Ditto.
8746         (mime-entity-point-min): Ditto.
8747         (mime-entity-point-max): Ditto.
8748         (mime-entity-children): Ditto.
8749         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8750         instead of `mime-entity-buffer'.
8751         (mime-entity-header-buffer): Ditto.
8752         (mime-entity-body-buffer): Ditto.
8753         (mime-write-entity-content): Ditto.
8754
8755         * pldap.el (ldap-static-if): New macro.
8756         (toplevel): Use it instead of `static-if'.
8757
8758 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8759
8760         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8761         included in `attrs' argument.
8762
8763 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8764
8765         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8766
8767         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8768         (ldap-ldif-safe-init-char-regexp): Ditto.
8769         (ldap-ldif-safe-string-regexp): Ditto.
8770         (ldap/ldif-safe-string-p): New macro.
8771         (ldap/ldif-insert-field): Ditto.
8772         (ldap-modify): Use it.
8773         (ldap-add): Ditto.
8774         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8775         (ldap-decode-attribute): Decode only when `attr' is consp.
8776         (ldap-delete): Bind `ret'.
8777         (toplevel): Require 'cl at compile time.
8778         Removed (require 'poe) and (require 'std11).
8779         (pldap-version): Eliminated.
8780         (ldap-search-basic): Removed auth and dn binding.
8781         (ldap-ldif-field-name-regexp): New constant.
8782         (ldap-ldif-field-head-regexp): Ditto.
8783         (ldap-ldif-next-field-head-regexp): Ditto.
8784         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8785         (ldap/field-end): New function.
8786         (ldap/field-body): Use it.
8787         (ldap/collect-field): Ditto.
8788         (ldap-search-basic): Use `ldap/field-body'.
8789
8790 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8791
8792         * pldap.el (ldap-default-attribute-encoder): New user option.
8793         (ldap/field-body): Decode base64 string.
8794         (ldap/collect-field): Ditto.
8795         (ldap-encode-attribute): New function.
8796         (ldap-add-entries): Use it.
8797         (ldap-modify-entries): Ditto.
8798         (ldap-search-entries): Enclosed decoding function with
8799         `with-temp-buffer' and set as unibyte.
8800         (ldap-search-basic): Set process buffer as unibyte.
8801
8802         * elmo-util.el (elmo-folder-identical-system-p):
8803         Eliminated name space checking.
8804
8805         * pldap.el: New module.
8806         toplevel: Changed condition to detect built-in ldap feature.
8807         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8808         (ldap-add): Added error handling.
8809         (ldap-modify): Ditto.
8810         (ldap-delete): Ditto.
8811
8812 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8813
8814         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8815         Initialize local variables with `let'.  Inline a temporary
8816         variable for the progress percentage.  Sort `setq' to reduce
8817         function call in the while-loop.
8818
8819         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8820         into the conditional branch.
8821
8822 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8823
8824         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8825         Move a conditional out of the while-loop.
8826
8827 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8828
8829         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8830         elmo-msgdb-overview-get-entity-by-number.
8831         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8832         throw.
8833
8834 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8835
8836         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8837         the local variable for a packed number self descriptively.
8838
8839 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8840
8841         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8842         * elmo-localdir.el (elmo-localdir-pack-number): Use
8843         `elmo-msgdb-overview-get-entity' instead of
8844         `elmo-msgdb-overview-get-entity-by-number'.
8845         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8846         (elmo-msgdb-search-overview-entity): Removed.
8847         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8848         by message-id or number.
8849         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8850         instead of `elmo-msgdb-overview-get-entity-by-number'.
8851
8852 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8853
8854         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8855         non-nil, use hash table for overview.
8856         (elmo-hash-maximum-size): New variable.
8857         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8858         (elmo-msgdb-make-overview-hashtb): New function.
8859         (elmo-msgdb-clear-overview-hashtb): New function.
8860         (elmo-clear-hash-val): New macro.
8861         All other related modules are changed.
8862
8863 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8864
8865         * elmo2.el (elmo-move-msgs): If there's other message with
8866         same message-id, don't use cache.
8867
8868 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8869
8870         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8871         number is already packed.
8872
8873 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8874
8875         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8876
8877 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8878
8879         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8880         All other related modules are changed.
8881
8882 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8883
8884         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8885         of refiling failure on Maildir.
8886
8887 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8888
8889         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8890         decoded mime-charset with cache.
8891         (elmo-msgdb-overview-entity-get-from): Ditto.
8892         (elmo-msgdb-overview-entity-get-subject): Ditto.
8893         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8894
8895 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8896
8897         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8898         (elmo-remove-passwd): Fill password with 0 before erase.
8899         * elmo-vars.el (elmo-passwd-life-time): New variable.
8900
8901 \f
8902 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8903
8904         * elmo-cache.el (elmo-buffer-cache-add):
8905         Set message cache buffer as unibyte.
8906
8907 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8908
8909         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8910         become nil.
8911
8912 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8913
8914         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8915         when display is finished.
8916         (elmo-nntp-msgdb-create): Ditto.
8917         (elmo-nntp-groups-read-response): Ditto.
8918         (elmo-nntp-retrieve-headers): Ditto.
8919         (elmo-nntp-msgdb-create-message): Ditto.
8920         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8921         (elmo-pop3-msgdb-create-message): Ditto.
8922
8923 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8924
8925         * elmo-maildir.el (elmo-maildir-msgdb-create):
8926         Use `elmo-msgdb-sort-by-date'.
8927
8928 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8929
8930         * elmo2.el (elmo-read-msg-no-cache):
8931         Eliminated arguments after `outbuf'.
8932         Don't use cache even if it exists.
8933         (elmo-read-msg): Don't pass arguments after `outbuf' to
8934         `elmo-read-msg-no-cache'.
8935
8936 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8937
8938         * elmo-archive.el (elmo-archive-list-folders):
8939         Use `file-name-directory' if base folder does not exist.
8940
8941 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8942
8943         * elmo-archive.el (elmo-archive-list-folders): Don't use
8944         `file-name-directory'.
8945
8946 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8947
8948         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8949         If `force' is non-nil, try flushing all operation queues.
8950
8951 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8952
8953         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8954         as-binary-process.
8955
8956 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8957
8958         * elmo-util.el (elmo-display-progress): Fixed.
8959
8960 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8961
8962         * elmo-util.el (elmo-display-progress): New function.
8963         All other related modules are changed.