(elmo-map-folder-update-locations): Rewrite with
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
4         hash table to test whether a location is exists.
5
6 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
7
8         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
9         even if some error occurred.
10
11         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
12         meaningless unwind-protect.
13
14         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
15         start-number correctly.
16         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
17         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
18
19 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
20
21         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
22         (elmo-folder-initialize): Use it.
23         (elmo-global-flag-replace-referrer): New function.
24
25         * elmo.el (toplevel): Added autoload setting for
26         `elmo-global-flag-replace-referrer'.
27         (elmo-folder-rename): Rewrite the last change use
28         `elmo-global-flag-replace-referrer'.
29
30         * elmo-pipe.el (elmo-folder-rename): Call
31         `elmo-global-flag-replace-referrer'.
32
33 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
34
35         * elmo.el (elmo-folder-rename): Set meta data for global flags
36         follow the rename.
37
38 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
39
40         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
41         as 'not-loaded.
42         (elmo-folder-close): Ditto.
43         (elmo-filter-folder-number-list-loaded-p): New function.
44         (elmo-filter-folder-number-list): Check whether loaded or not.
45         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
46         of `elmo-filter-folder-number-list-internal'.
47         (elmo-folder-delete-messages): Ditto.
48         (elmo-folder-length): Check whether number-list is loaded or not.
49
50 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
51
52         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
53         field `real field' into each element of list.
54         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
55         (elmo-msgdb-message-entity-field): Ditto.
56         (modb-entity-ml-info-real-fields): New function.
57
58         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
59
60         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
61         `elmo-msgdb-extra-fields'.
62
63 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
64
65         * elmo-util.el (elmo-passwd-alist-load): Move point to min
66         position before read.
67
68 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
69
70         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
71         (elmo-global-flags-initialize): Ditto.
72
73 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
74
75         * elmo-archive.el (toplevel): Don't require emu, std11
76         and elmo-localdir.
77
78         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
79         definition.
80
81 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
82
83         * elmo.el (elmo-folder-confirm-appends): Display folder name.
84
85 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
86
87         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
88         literals.
89
90 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
91
92         * elmo-maildir.el (elmo-maildir-list-location): Reduce
93         `elmo-get-last-modification-time' call.
94
95 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
96
97         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
98         expression.
99         (elmo-maildir-set-mark): Ditto.
100         (elmo-maildir-delete-mark): Ditto.
101
102 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
103
104         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
105         optional argument `separators'.
106
107 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
108
109         * elmo.el (cache-changed): Abolish.
110         (status-changed): New signal.
111         (elmo-message-killed-p): New generic function and define for
112         elmo-folder.
113         (elmo-folder-recover-messages): Ditto.
114         (elmo-message-set-cached): Emit signal `status-changed' instead of
115         `cache-changed'.
116         (elmo-message-status): New macro.
117         (elmo-message-status-folder): Ditto.
118         (elmo-message-status-number): Ditto.
119         (elmo-message-status-set-flags): Ditto.
120         (elmo-message-status-set-killed): Ditto.
121         (elmo-message-status-flags): New function.
122         (elmo-message-status-cached-p): Ditto.
123         (elmo-message-status-killed-p): Ditto.
124
125         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
126         `status-changed' instead of `cache-changed'.
127         (elmo-folder-recover-messages): Define.
128         (elmo-message-killed-p): Ditto.
129
130         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
131         `status-changed' instead of `cache-changed'.
132
133         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
134         (elmo-message-killed-p): Define.
135         (elmo-folder-recover-messages): Ditto.
136
137         * elmo-version.el (elmo-version): Up to 2.15.3.
138
139 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
140
141         * elmo-signal.el (elmo-signal-bindings): Use cons to append
142         element into list.
143         (elmo-define-signal-handler): Add docstring.
144         (elmo-define-signal-filter): Ditto.
145
146         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
147
148 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
149
150         * elmo-util.el (elmo-flatten): Don't use recursive call.
151
152         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
153         assignment.
154         (elmo-folder-message-make-temp-files): Use `number-to-string'
155         instead of `int-to-string'.
156
157 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
158
159         * elmo-search.el (elmo-folder-delete-messages): Define.
160
161 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
162
163         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
164         customization type.
165         (elmo-mailing-list-count-spec-list): Ditto.
166
167         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
168         for `list-id'.
169
170 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
171
172         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
173         handling.
174
175 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
176
177         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
178         (elmo-mailing-list-count-spec-list): Ditto.
179
180         * elmo-util.el (elmo-map-until-success): New function.
181         (elmo-string-match-substring): Ditto.
182         (elmo-find-list-match-value): Ditto.
183
184         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
185         Removed.
186         (modb-entity-extract-ml-info-from-subject): Ditto.
187         (modb-entity-extract-ml-info-from-return-path): Ditto.
188         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
189         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
190         (modb-entity-extract-ml-info-from-mailman): Ditto.
191         (modb-entity-extract-mailing-list-info-functions): Ditto.
192         (modb-entity-extract-mailing-list-info): Rewrite with
193         `elmo-find-list-match-value'.
194
195 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
196
197         * elmo-net.el (elmo-network-session-retry-count): New user option.
198         (elmo-network-session-buffer-name): New internal function.
199         (elmo-network-session-buffer-create): Ditto.
200         (elmo-network-open-session): Retry open network session
201         `elmo-network-session-retry-count' times.
202
203 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
204
205         * elmo-util.el (elmo-list-filter): Rewritten.
206
207 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
208
209         * elmo-util.el (elmo-string-member): Allow symbol element in list.
210
211 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
212
213         * elmo-search.el (elmo-make-search-engine): Use prefix
214         `elmo-search-' for require symbol instead of `else-'.
215         (elmo-search-engine-extprog): New class.
216         (elmo-search-engine-do-search): Remove nil from argument
217         list. Added argument pattern to evaluate element as function.
218         (elmo-search-engine-local-file): Derived from
219         `elmo-search-engine-extprog'.
220         (elmo-search-engine-create-message-entity): Check existance of file.
221         (elmo-search-engine-fetch-message): Ditto.
222         (elmo-search-namazu-index): Follow the API change.
223         (elmo-search-grep-target): Ditto.
224
225 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
226
227         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
228         characters of working buffer.
229
230         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
231         Does not bind `default-mime-charset'.
232         (elmo-msgdb-create-message-entity-from-buffer): Removed
233         unnecessary local bind.
234
235         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
236         function.
237         (modb-entity-extract-mailing-list-info-functions): Added it.
238
239 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
240
241         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
242         when number and message-id are non-nil.
243
244         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
245
246         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
247         conditional steatment.
248         (elmo-pop3-auth-apop): Likewise.
249         (elmo-network-authenticate-session): Likewise.
250
251 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
252
253         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
254         symbol `fill-column'.
255         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
256         decode field value.
257
258         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
259         (elmo-decoded-field-body): Ditto.
260
261 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
262
263         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
264         `tokens' to `params'.
265
266 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
267
268         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
269         working buffer.
270
271 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
272
273         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
274         decide index.
275
276 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
277
278         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
279         Set default value as nil.
280         (toplevel): Register search engines by
281         `elmo-search-register-engine' if there are not defined.
282
283         * elmo.el (autoload): Added autoload setting for
284         `elmo-search-register-engine'.
285
286 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * elmo.el (toplevel): `[' is redefined as the prefix of the search
289         folder instead of nmz folder.
290         (elmo-nmz-default-index-path): Added obsolete variable setting.
291         (elmo-nmz-index-alias-alist): Ditto.
292         (elmo-nmz-use-drive-letter): Ditto.
293
294         * elmo-search.el (elmo-search-register-engine): New function.
295
296         * elmo-nmz.el: Removed.
297
298         * elmo-version.el (elmo-version): Up to 2.15.2.
299
300 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
301
302         * elmo-search.el: New file.
303
304 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
305
306         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
307         condition `larger' and `smaller'.
308
309 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
310
311         * elmo-util.el (elmo-safe-filename): Rewrite to replace
312         `"' (double quote) into "_Q_".
313
314 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
315
316         * elmo-net.el (elmo-net-quote-chars): Abolish.
317         (elmo-net-format-quoted): Ditto.
318
319 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
320
321         * elmo.el (elmo-get-folder-function): New variable.
322         (elmo-get-folder): New function.
323         (elmo-folder-rename): Call `elmo-make-folder' with specified
324         mime-charset.
325
326         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
327         `elmo-make-folder'.
328         (elmo-split-subr): Ditto.
329
330         * elmo-multi.el (elmo-folder-initialize): Ditto.
331
332         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
333
334         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
335         (elmo-flag-get-folder): Ditto.
336
337         * elmo-filter.el (elmo-folder-initialize): Ditto.
338
339         * elmo-access.el (elmo-folder-initialize): Ditto.
340         (elmo-access-folder-update-children): Ditto.
341
342         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
343         (elmo-dop-queue-flush): Ditto.
344         (elmo-folder-append-buffer-dop-delayed): Ditto.
345         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
346         mime-charset.
347
348         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
349         instead of `elmo-make-folder'.
350         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
351         destination folder instead of send `elmo-folder-rename-internal'.
352
353         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
354         slot of subfolder instead of create it.
355
356 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
357
358         * elmo-util.el (elmo-collect-separators): New function.
359         (elmo-collect-separators-internal): Ditto.
360         (elmo-collect-trail-separators): Ditto.
361         (elmo-parse-separated-tokens): Ditto.
362         (elmo-parse-separated-tokens-internal): Ditto.
363         (elmo-quote-syntactical-element): Ditto.
364
365         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
366         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
367
368         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
369         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
370         (elmo-nntp-folder-list-subfolders): Quote a user name.
371
372         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
373         (elmo-net-parse-network): Abolish.
374         (elmo-net-folder-set-parameters): New function.
375         (elmo-folder-initialize): Follow the above change.
376
377         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
378         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
379         (elmo-folder-list-subfolders): Use
380         `elmo-quote-syntactical-element' instead of
381         `elmo-net-format-quoted' to quote mailbox and user name.
382
383 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
384
385         * elmo-util.el (elmo-token-valid-p): New function.
386         (elmo-parse-token): Add optional argument `requirement'.
387         (elmo-parse-prefixed-element): Likewise.
388
389         * elmo-net.el (elmo-net-quote-chars): Renamed from
390         `elmo-net-quote-chars-regexp'.
391         (elmo-net-format-quoted): Add optional argument `extra-chars'.
392
393         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
394         by info document. Check token `uidl' is started an alphabet.
395
396         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
397         by info document. Check token `user' is started an alphabet.
398
399         * elmo-imap4.el (elmo-folder-initialize): Ditto.
400         (elmo-folder-list-subfolders): Quote user.
401
402 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
403
404         * elmo-util.el (elmo-quoted-specials-list): New constant.
405         (elmo-quoted-token): New function.
406
407         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
408         (elmo-net-format-quoted): New function.
409         (elmo-net-parse-network): Ditto.
410         (elmo-folder-initialize): Use it.
411
412         * elmo-nntp.el (elmo-folder-initialize): Use
413         `elmo-net-parse-network' to parse network specification instead of
414         `elmo-folder-initialize#elmo-net'.
415
416         * elmo-pop3.el (elmo-folder-initialize): Ditto.
417
418         * elmo-imap4.el (elmo-folder-initialize): Ditto.
419         (elmo-folder-list-subfolders): Quote folder name by
420         `elmo-net-format-quoted'.
421
422 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
423
424         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
425         (elmo-folder-search): Use it.
426
427 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
428
429         * modb-standard.el (modb-standard-loaded-message-id): Use
430         `elmo-msgdb-message-entity-field'.
431
432 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
433
434         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
435         without filename.
436
437 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
438
439         * elmo-util.el (elmo-set-auto-coding): New function.
440         (elmo-object-load): Use it.
441
442 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
445         (elmo-time<): Define as alias of `elmo-time-less-p'.
446         (elmo-time-to-datevec): New function.
447
448         * elmo-date.el (elmo-time-to-days): New function.
449
450 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
451
452         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
453         is not cons cell.
454
455 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
456
457         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
458         parenthesis.
459
460         * elmo-util.el (elmo-map-recursive): New function.
461
462         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
463         (modb-entity-encode-string-recursive): Ditto.
464
465 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
466
467         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
468         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
469         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
470         compare sequence number when last modified time is nil.
471
472 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
473
474         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
475
476         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
477
478 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
479
480         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
481         modification time of the file.
482
483 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
484
485         * elmo-util.el (elmo-condition-optimize): Discriminated against
486         preserved fields, extra fields and the other weight.
487
488 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * modb-entity.el (initialize-instance): Define.
491         (modb-entity-handler-mime-charset): New internal function.
492         (modb-standard-entity-set-field): Use it.
493         (elmo-msgdb-message-entity-field): Ditto.
494         (elmo-msgdb-message-entity-field): Ditto.
495
496         * modb.el (elmo-msgdb-match-condition): Rewrite with
497         `elmo-condition-match'.
498         (elmo-msgdb-match-condition-primitive): New function.
499
500         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
501         arguments `flags' and `numbers'.
502         (elmo-msgdb-match-condition-primitive): Abolished (merged to
503         `elmo-msgdb-message-match-condition').
504         (modb-buffer-entity-handler): New class.
505
506         * elmo.el (elmo-folder-search): Optimize condition to use
507         `elmo-condition-optimize'.
508         (elmo-message-buffer-match-condition): New function.
509         (elmo-message-match-condition): Use
510         `elmo-message-buffer-match-condition' instead of
511         `elmo-buffer-field-condition-match'.
512
513         * elmo-util.el (elmo-condition-match): New function.
514         (elmo-condition-optimize): Ditto.
515         (elmo-buffer-field-primitive-condition-match): Abolish.
516         (elmo-buffer-field-condition-match): Ditto.
517
518         * elmo-archive.el (elmo-archive-field-condition-match): Use
519         `elmo-message-buffer-match-condition' instead of
520         `elmo-buffer-field-condition-match'.
521
522 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
523
524         * elmo-flag.el (elmo-global-flags-initialize): Check the
525         existence of the flag directory.
526
527 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
528
529         * elmo-access.el (elmo-folder-initialize): Call
530         `elmo-multi-connect-signals'.
531
532         * elmo-pipe.el (elmo-folder-close): Define.
533
534         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
535         children folders.
536
537         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
538         with target folder.
539
540         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
541         `number'.
542
543         * elmo-multi.el (elmo-message-entity): Don't use return value of
544         `elmo-message-entity-set-number'.
545
546 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
547
548         * modb.el (modb-generic): Added slot `mime-charset'.
549
550         * modb-standard.el (modb-standard): Added slot `overview-handler'.
551         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
552         and `modb-entity-handler-dump-parameters'.
553         (modb-standard-default-entity-handler): Abolish.
554         (elmo-msgdb-message-entity-handler): Save created handler by
555         instance slot.
556
557         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
558         (modb-entity-handler-list-parameters): New method.
559         (modb-entity-handler-equal-p): New function.
560         (modb-entity-handler-dump-parameters): Ditto.
561         (modb-entity-parse-address-string): Encode return value.
562         (modb-entity-make-address-string): Decode argument value.
563         (modb-entity-decode-string-recursive): New function.
564         (modb-entity-encode-string-recursive): Ditto.
565         (modb-standard-entity-normalizer): Set to encode field value.
566         (modb-standard-entity-specializer): Follow the above change.
567         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
568         mime-charset of handler.
569         (elmo-msgdb-message-entity-field): Ditto.
570         (elmo-msgdb-copy-message-entity): Fixed reference to internal
571         structure.
572         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
573
574         * elmo.el (elmo-folder): Added slot `mime-charset'.
575         (elmo-make-folder): Added argument `mime-charset'.
576         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
577         `mime-charest'.
578
579         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
580         (elmo-make-msgdb): Likewise.
581
582         * elmo-internal.el (elmo-internal-folder-initialize): Call
583         `luna-make-entity' with :mime-charset parameter.
584
585 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
586
587         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
588         encoded words in `from' and `subject' field.
589
590 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
591
592         * modb.el (elmo-msgdb-message-field): Add argument `type'.
593         (elmo-msgdb-match-condition): Get handler from entity instead of
594         msgdb.
595
596         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
597         (modb-standard-load-entity): Treat new file format.
598         (modb-standard-save-entity-1): Save as new file format.
599         (modb-standard-save-entity): Split messages into section here.
600         (elmo-msgdb-message-field): Follow the API change.
601         (modb-standard-default-entity-handler): New internal variable.
602         (elmo-msgdb-message-entity-handler): Define.
603
604         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
605         to `elmo-vars.el'.
606         (modb-entity-field-extractor-alist): New user option.
607         (elmo-msgdb-message-entity-field): Removed argument `decode' and
608         added argument `type'.
609         (elmo-msgdb-copy-message-entity): Add optional argument
610         `make-handler'.
611         (modb-set-field-converter): New function.
612         (modb-convert-field-value): Ditto.
613         (modb-entity-string-decoder): Ditto.
614         (modb-entity-string-encoder): Ditto.
615         (modb-entity-parse-date-string): Ditto.
616         (modb-entity-make-date-string): Ditto.
617         (modb-entity-mime-decoder): Ditto.
618         (modb-entity-mime-encoder): Ditto.
619         (modb-entity-address-list-decoder): Ditto.
620         (modb-entity-address-list-encoder): Ditto.
621         (modb-entity-parse-address-string): Ditto.
622         (modb-entity-make-address-string): Ditto.
623         (modb-entity-create-field-indices): Ditto.
624         (modb-legacy-entity-field-slots): New constant.
625         (modb-legacy-entity-field-indices): Ditto.
626         (modb-legacy-entity-normalizer): New variable.
627         (modb-legacy-entity-specializer): Ditto.
628         (modb-legacy-entity-field-index): New macro.
629         (modb-legacy-entity-set-field): New function.
630         (modb-legacy-make-message-entity): Rewrite.
631         (elmo-msgdb-create-message-entity-from-buffer): Use
632         `elmo-msgdb-get-references-from-buffer'. Use
633         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
634         Use `modb-legacy-entity-set-field' instead of
635         `elmo-msgdb-message-entity-set-field'.
636         (elmo-msgdb-message-entity-field): Rewrite.
637         (elmo-msgdb-message-entity-set-field): Ditto.
638         (elmo-msgdb-copy-message-entity): Make new entity by
639         `make-handler' if it specified.
640         (elmo-msgdb-message-match-condition): Define a method of
641         `modb-entity-handler' and follow the API change.
642         (modb-standard-entity-handler): New class.
643         (modb-entity-extract-ml-info-from-x-sequence): New function.
644         (modb-entity-extract-ml-info-from-subject): Ditto.
645         (modb-entity-extract-ml-info-from-return-path): Ditto.
646         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
647         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
648         (modb-entity-extract-mailing-list-info): Ditto.
649         (modb-entity-extract-mailing-list-info-functions): New variable.
650
651         * elmo.el (elmo-message-field): Add optional argument `type'.
652
653         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
654         from `modb-entity.el'.
655
656         * elmo-util.el (elmo-object-load): Decode by coding-system from
657         `set-auto-coding-function'.
658         (elmo-object-save): Use `detect-mime-charset-region' and add
659         coding cookie if encode.
660         (elmo-msgdb-get-references-from-buffer): New function.
661         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
662
663         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
664
665         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
666         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
667         instead of `shimbun-make-header' and follow the API change.
668         (elmo-shimbun-update-overview): Follow the API change.
669         (elmo-map-folder-list-message-locations): Ditto.
670
671         * elmo-pipe.el (elmo-message-field): Ditto.
672
673         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
674         Ditto.
675
676         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
677
678         * elmo-multi.el (elmo-message-field): Ditto.
679
680         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
681         (elmo-msgdb-sort-by-date): Ditto.
682         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
683         `elmo-message-entity-field'.
684         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
685         change.
686         (elmo-msgdb-overview-entity-get-from): Ditto.
687         (elmo-msgdb-overview-entity-get-subject): Ditto.
688         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
689         (elmo-msgdb-overview-entity-get-date): Ditto.
690         (elmo-msgdb-overview-entity-get-to): Ditto.
691         (elmo-msgdb-overview-entity-get-cc): Ditto.
692
693         * elmo-mime.el (elmo-message-mime-entity): Ditto.
694         (elmo-mime-collect-message/partial-pieces): Ditto.
695
696         * elmo-filter.el (elmo-message-field): Ditto.
697
698         * elmo-date.el (elmo-datevec-to-time): New function.
699         (elmo-time-parse-date-string): Ditto.
700         (elmo-time-make-date-string): Ditto.
701         (elmo-time<): Ditto.
702
703         * elmo-version.el (elmo-version): Up to 2.15.1.
704
705 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
706
707         * elmo-flag.el (elmo-global-flags-initialize): Don't include
708         member of elmo-local-flags.
709
710 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
711
712         * elmo-version.el (elmo-version): Up to 2.15.0.
713
714 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
715
716         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
717         `ignore-msgdb' is non-nil.
718
719 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
720
721         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
722         (elmo-condition-in-msgdb-p): Ditto.
723         (elmo-file-field-primitive-condition-match): Ditto.
724         (elmo-file-field-condition-match): Ditto.
725
726         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
727
728 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
729
730         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
731         subdirectories here.
732         (elmo-global-flags-initialize): New function.
733
734         * elmo.el (toplevel): Added autoload setting for
735         `elmo-global-flags-initialize'.
736
737 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
738
739         * elmo.el (message-number-changed): Define new signal.
740         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
741         message-number-changed signal.
742         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
743         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
744         Respect `elmo-pack-number-check-strict'.
745
746 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
747
748         * elmo-signal.el (elmo-connect-signal): Document.
749         (elmo-emit-signal): Ditto.
750         (elmo-emit-signal): It should pass source argument to filter and
751         handler, not slot-source.
752
753 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
754
755         * modb.el (elmo-msgdb-update-entity): New API and define generic
756         implement.
757
758         * modb-standard.el (elmo-msgdb-update-entity): Define.
759
760         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
761         API and define generic implement.
762
763         * elmo.el (update-overview): New singnal.
764
765         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
766         `elmo-msgdb-update-entity' and emit signal `update-overview'.
767         (elmo-message-entity-parent): Define.
768
769         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
770         `update-overview'.
771
772         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
773
774         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
775
776 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
777
778         * elmo.el (elmo-folder-synchronize): Sort the return value of
779         `elmo-list-diff'.
780
781         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
782         list.
783
784 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
785
786         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
787         `default-enable-multibyte-characters'.
788         (elmo-object-load): Use `with-temp-buffer' instead of
789         `elmo-set-work-buf'.
790         (elmo-object-save): Ditto.
791         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
792         `elmo-set-work-buf'.
793         (elmo-decoded-field-body): Ditto.
794
795         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
796
797         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
798         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
799
800         * elmo-version.el (elmo-version): Up to 2.13.3.
801
802 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
803
804         * elmo-util.el (elmo-list-diff): Fix the last change.
805         Reverse order of result lists.
806
807 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
808
809         * modb-standard.el (elmo-msgdb-set-flag): Use
810         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
811         (elmo-msgdb-unset-flag): Ditto.
812
813         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
814         `elmo-list-diff'.
815
816         * elmo-util.el (elmo-list-diff): Rewrite.
817         (elmo-list-diff-nonsortable): New function.
818
819 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
820
821         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
822         `elmo-multibypte-buffer-name'.  All referers are updated.
823
824 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
825
826         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
827         (elmo-mime-entity-fragment-p): New function.
828         (mime-elmo-buffer-entity): Added slot `reassembled'.
829         (elmo-message-mime-entity): Added 4th argument `reassemble'.
830         (elmo-message-mime-entity-internal): New function (renamed from
831         `elmo-message-mime-entity').
832         (elmo-mime-inherit-field-list-from-enclosed): New constant.
833         (elmo-mime-make-reassembled-mime-entity): New function.
834         (elmo-message-reassembled-mime-entity): Ditto.
835         (elmo-mime-collect-message/partial-pieces): Ditto.
836
837 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
838
839         * elmo.el (elmo-message-fetch-string): Disable multibyte.
840
841         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
842         (elmo-with-enable-multibyte): New macro.
843
844         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
845
846 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
847
848         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
849         argument `number'.
850         (elmo-filter-connect-signals): Follow the above change.
851
852 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
853
854         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
855
856         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
857         that only the first flag is used.
858
859 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
860
861         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
862         if available.
863
864 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
865
866         * elmo-signal.el: New file.
867
868         * elmo.el (toplevel): Require elmo-signal.
869         (flag-changing, flag-changed, cache-changed): New signal.
870         (elmo-folder): Remove slog `handlers'.
871         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
872         `elmo-folder-notify-event'.
873         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
874         (elmo-folder-unset-flag): Ditto.
875         (elmo-event-handler): Abolish.
876         (elmo-event-handler-flag-changed): Ditto.
877         (elmo-event-handler-cache-changed): Ditto.
878         (elmo-folder-add-handler): Ditto.
879         (elmo-folder-remove-handler): Ditto.
880         (elmo-folder-notify-event): Ditto.
881
882         * elmo-pipe.el (toplevel): Require elmo-signal.
883         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
884         (elmo-pipe-connect-signals): New function.
885         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
886         (elmo-folder-set-flag): Ditto.
887         (elmo-folder-unset-flag): Ditto.
888         (elmo-message-set-cached): Ditto.
889
890         * elmo-multi.el (toplevel): Require elmo-signal.
891         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
892         (elmo-multi-connect-signals): New function.
893         (elmo-multi-map-numbers): Ditto.
894         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
895         (elmo-message-fetch): Ditto.
896         (elmo-folder-set-flag): Ditto.
897         (elmo-folder-unset-flag): Ditto.
898
899         * elmo-filter.el (toplevel): Require elmo-signal.
900         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
901         (elmo-filter-connect-signals): New function.
902         (elmo-filter-add-flag-count): Ditto.
903         (elmo-message-fetch): Does not call
904         `elmo-filter-folder-countup-message-flags' and
905         `elmo-folder-notify-event'.
906         (elmo-message-set-cached): Ditto.
907         (elmo-folder-set-flag): Ditto.
908         (elmo-folder-unset-flag): Ditto.
909
910         * elmo-version.el (elmo-version): Up to 2.13.2.
911
912 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
913
914         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
915         `flags'.
916
917 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
918
919         * elmo-filter.el (elmo-message-set-cached): Call
920         `elmo-folder-notify-event' with event `cache-changed'.
921
922         * elmo-multi.el (elmo-message-set-cached): Ditto.
923
924         * elmo-pipe.el (elmo-message-set-cached): Ditto.
925
926 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
927
928         * elmo.el (elmo-folder-encache): Abolish.
929
930 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
931
932         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
933         (elmo-folder-next-message-number-dop): Return appropriate negative
934         integer.
935
936 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
937
938         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
939         clearing pending operations.
940         (elmo-folder-next-message-number-dop): Return appropriate negative
941         integer.
942
943 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
944
945         * elmo.el (toplevel): Added autoload setting for `md5'.
946         (elmo-msgdb-path-encode-threshold): New user option.
947         (elmo-folder-msgdb-path): Encode msgdb path if its length is
948         longer than `elmo-msgdb-path-encode-threshold'.
949
950         * elmo-flag.el (elmo-global-mark-migrate): Use
951         `elmo-folder-expand-msgdb-path' instead of
952         `elmo-folder-msgdb-path'.
953
954 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
955
956         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
957         element of the difference is nil.
958
959 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
960
961         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
962         to the check logic of file systems which are weak in colon character.
963
964 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
965
966         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
967
968 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
969
970         * elmo-maildir.el (elmo-maildir-move-file): New function.
971         (elmo-folder-append-buffer): Use it.
972         (elmo-folder-append-messages): Ditto.
973         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
974
975         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
976         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
977
978         * elmo-maildir.el (elmo-maildir-separator): New user option.
979         (elmo-maildir-adjust-separator): New macro.
980         (elmo-maildir-list-location): Use it.
981         (elmo-maildir-update-current): Ditto.
982         (elmo-maildir-set-mark): Ditto.
983         (elmo-maildir-delete-mark): Ditto.
984         (These changes are based on Hiroya Murata's patch [wl: 13437])
985
986 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
987
988         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
989
990 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
991
992         * elmo-flag.el (elmo-flag-valid-p): Simplify.
993         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
994         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
995
996 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
997
998         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
999         Use `with-temp-buffer'.
1000
1001 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1002
1003         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1004
1005         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1006         `wl-read-search-condition').
1007         (elmo-read-search-condition-internal): Likewise.
1008
1009         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1010         (elmo-flag-valid-p): New function.
1011         (elmo-folder-initialize): Check flag name is valid.
1012
1013 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1014
1015         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1016         delimiter to obtain root mailbox itself.
1017
1018 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1019
1020         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1021         type mismatch.
1022
1023 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1024
1025         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1026         as t.
1027
1028 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * elmo-shimbun.el (toplevel): Require cl at compile.
1031
1032         * elmo-nntp.el (toplevel): Ditto.
1033
1034         * elmo-nmz.el (toplevel): Ditto.
1035
1036         * elmo-multi.el (toplevel): Ditto.
1037
1038         * elmo-file.el (toplevel): Ditto.
1039
1040         * elmo-dop.el (toplevel): Ditto.
1041
1042         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1043
1044 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1045
1046         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1047         as nil.
1048
1049         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1050         size of elmo-message-fetch-internal is 0 byte.
1051
1052 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1053
1054         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1055
1056 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1057
1058         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1059         always plugged.
1060
1061 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1062
1063         * elmo-maildir.el (elmo-map-message-fetch): Call
1064         `elmo-map-folder-set-flag'.
1065
1066         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1067         (elmo-message-fetch): Merge from
1068         `elmo-message-fetch-with-cache-process'.
1069
1070         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1071         (elmo-message-fetch): Define.
1072
1073         * elmo-nntp.el (elmo-message-fetch): Renamed from
1074         `elmo-message-fetch-with-cache-process'.
1075
1076         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1077         (elmo-message-fetch): Define.
1078
1079         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1080         search-key.
1081
1082         * elmo-shimbun.el (shimbun-mua-search-id): Use
1083         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1084         (elmo-shimbun-folder-shimbun-header): Ditto.
1085         (elmo-shimbun-get-headers): Ditto.
1086         (elmo-shimbun-update-overview): Ditto.
1087
1088         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1089
1090         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1091         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1092
1093 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1094
1095         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1096         message is cached.
1097         (elmo-message-fetch-string): Fixed argument.
1098
1099 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1100
1101         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1102         exchange order of arguments `section' and `unread'.
1103         (elmo-message-encache): Follow the API change.
1104         (elmo-message-match-condition): Ditto.
1105         (elmo-generic-folder-append-messages): Ditto.
1106         (elmo-message-fetch-string): New function.
1107
1108         * elmo-split.el (elmo-split-subr): Ditto.
1109
1110         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1111
1112         * elmo-pipe.el (elmo-message-fetch): Ditto.
1113
1114         * elmo-multi.el (elmo-message-fetch): Ditto.
1115
1116         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1117
1118         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1119
1120         * elmo-filter.el (elmo-message-fetch): Ditto.
1121
1122         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1123
1124         * elmo-imap4.el (mime-imap-location-section-body): Use
1125         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1126         follow the API change.
1127
1128 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1129
1130         * elmo-access.el: New file.
1131
1132         * elmo-null.el: Ditto.
1133
1134         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1135
1136 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1137
1138         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1139         (elmo-network-session): New attribute `last-accessed'.
1140         (elmo-network-get-session): Discard network cache if elapsed time
1141         since last-accessed is larger than elmo-network-session-idle-timeout.
1142
1143 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1146         and added `number', `require-entireness'.
1147         (elmo-find-fetch-strategy): Rewrite.
1148         (elmo-message-fetch): Unset `unread' flag when argument unread is
1149         non-nil.
1150
1151         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1152
1153         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1154         (elmo-message-fetch): Notify event `flag-changed'.
1155
1156         * elmo-pipe.el: Likewise.
1157
1158         * elmo-mime.el (elmo-mime-entity): New class.
1159         (elmo-mime-entity-display-p): New generic function.
1160         (elmo-mime-entity-display): Ditto.
1161         (elmo-mime-entity-display-as-is): Ditto.
1162         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1163         elmo-mime-entity.
1164         (elmo-make-mime-message-location): Removed.
1165         (elmo-mime-message-display): Ditto.
1166         (elmo-mime-display-as-is): Ditto.
1167         (elmo-message-mime-entity): New function.
1168
1169         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1170
1171         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1172         change.
1173         (elmo-message-fetch): Re-count flagged message number and notify
1174         event `flag-changed'.
1175
1176         * elmo-version.el (elmo-version): Up to 2.13.1.
1177
1178 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1179
1180         * elmo-filter.el (elmo-message-field): Define.
1181         (elmo-message-set-field): Ditto.
1182
1183 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1184
1185         * elmo.el (elmo-message-set-cached): Call
1186         `elmo-folder-notify-event' with cache-changed.
1187         (elmo-event-handler-cache-changed): New generic function.
1188
1189 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1190
1191         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1192         instead of elmo-add-name-to-file.
1193         (elmo-folder-append-messages): Ditto.
1194
1195 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1196
1197         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1198
1199 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1200
1201         * elmo-version.el (elmo-version): Up to 2.13.0.
1202
1203         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1204         `auto'.
1205
1206         * modb-standard.el (modb-standard-economize-entity-size): Changed
1207         default value to `t'.
1208
1209         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1210         `standard'.
1211
1212         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1213         after parsing greeting string.
1214
1215 2004-11-23  Daishi Kato <daishi@axlight.com>
1216
1217         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1218         New user option.
1219         (elmo-spam-spamoracle-call): Use it.
1220
1221 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1222
1223         * elmo.el (elmo-message-accessible-p): Message in dop spool
1224         is accessible.
1225
1226 2004-11-23  Daishi Kato <daishi@axlight.com>
1227
1228         * elsp-spamoracle.el: New file.
1229
1230 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1231
1232         * elmo.el (elmo-message-flags-for-append): New function.
1233         (elmo-generic-folder-append-messages): Use it.
1234
1235         * elmo-split.el (elmo-split-subr): Ditto.
1236
1237         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1238         `flags' and use elmo-folder-append-buffer instead of
1239         write-region-as-binary.
1240         (elmo-dop-filter-pending-messages): New function.
1241         (elmo-folder-append-buffer-dop): Call
1242         elmo-dop-spool-folder-append-buffer with `flag'.
1243         (elmo-folder-set-flag-dop): Filter messages by
1244         elmo-dop-filter-pending-messages.
1245         (elmo-folder-unset-flag-dop): Ditto.
1246         (elmo-folder-append-buffer-dop-delayed): Use
1247         elmo-message-flags-for-append to get flags of the message and
1248         simplify.
1249
1250 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1251
1252         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1253
1254 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1255
1256         * elmo.el (elmo-folder): Added handlers slot.
1257         (elmo-event-handler): New class.
1258         (elmo-event-handler-flag-changed): New API.
1259         (elmo-folder-add-handler): New function.
1260         (elmo-folder-remove-handler): Ditto.
1261         (elmo-folder-notify-event): Ditto.
1262         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1263         `flag-changed'.
1264         (elmo-folder-unset-flag): Ditto.
1265
1266         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1267         (elmo-folder-unset-flag): Ditto.
1268
1269         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1270         (elmo-folder-unset-flag): Ditto.
1271
1272         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1273         (elmo-folder-unset-flag): Ditto.
1274
1275         * elmo-version.el (elmo-version): Up to 2.11.33.
1276
1277 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1278
1279         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1280
1281 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1282
1283         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1284
1285         * elmo-flag.el (elmo-folder-unset-flag): Define.
1286         (elmo-global-flag-detach): Do process when the flag is not target
1287         flag.
1288
1289 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1290
1291         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1292         variable.
1293         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1294
1295 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1296
1297         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1298         function.
1299         (elmo-folder-delete-messages): Detach messages before delete
1300         messages from target folder.
1301         (elmo-folder-detach-messages): Set updated number-list to slot.
1302
1303 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1304
1305         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1306
1307 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1308
1309         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1310
1311 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1312
1313         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1314         internal use only).
1315         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1316         not modified.
1317         (elmo-folder-delete-messages): Define.
1318         (elmo-folder-move-messages): Don't call
1319         `elmo-folder-detach-messages'.
1320         (elmo-folder-synchronize): Rewrite.
1321         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1322
1323         * elmo-util.el (elmo-last): New function.
1324         (elmo-set-list): Ditto.
1325         (elmo-number-set-delete-list): Ditto.
1326         (elmo-number-set-delete): Ditto.
1327
1328         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1329
1330         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1331         `elmo-folder-delete-messages' and don't delete location map.
1332         (elmo-folder-detach-messages): Define.
1333
1334         * elmo-imap4.el (elmo-folder-delete): Use
1335         `elmo-folder-delete-messages-internal' instead of
1336         `elmo-folder-delete-messages'.
1337
1338         * elmo-filter.el (elmo-folder-delete-messages): Call
1339         `elmo-folder-detach-messages'.
1340         (elmo-folder-detach-messages): Don't call
1341         `elmo-folder-detach-messages' for target folder.
1342
1343         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1344         message deletion is succeeded.
1345
1346         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1347
1348         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1349         from `elmo-folder-delete-messages'.
1350
1351         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1352
1353         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1354
1355         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1356
1357         * elmo-version.el (elmo-version): Up to 2.11.32.
1358
1359 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1360
1361         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1362         (elmo-global-flag-list): Added obsolete variable setting.
1363
1364         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1365
1366         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1367         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1368         `elmo-mime-display-header-analysis' is nil.
1369
1370         * elmo-flag.el (elmo-global-flags): Renamed from
1371         `elmo-global-flag-list' (All other related portions are changed).
1372         (elmo-local-flags): New variable.
1373         (elmo-local-flag-p): New function.
1374         (elmo-global-flag-set-internal): Cause an error when flag is not
1375         global.
1376
1377 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1378
1379         * elmo-util.el (elmo-concat-path): Treat empty path.
1380
1381 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1382
1383         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1384         field-or-fields).
1385         (elmo-split-address-match): Ditto.
1386         (elmo-split-equal): Ditto.
1387         (elmo-split-match): Ditto.
1388
1389 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1390
1391         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1392         (elmo-generic-folder-append-messages): If src message exists but
1393         has no flag, pass (read) for the FLAG argument of
1394         `elmo-folder-append-buffer'. Otherwise, pass nil.
1395
1396         * elmo-split.el (elmo-split-subr): Likewise.
1397
1398         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1399
1400         * elmo-multi.el (elmo-message-flags): Ditto.
1401
1402         * elmo-filter.el (elmo-message-flags): Ditto.
1403
1404         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1405         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1406         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1407         
1408 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1409
1410         * elmo-split.el (elmo-split-rule): Update comment.
1411         (elmo-split-address-equal): Allow 2nd argument to be a list.
1412         (elmo-split-address-match): Ditto.
1413         (elmo-split-equal): Ditto.
1414         (elmo-split-match): Ditto.
1415
1416 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1417
1418         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1419         (elmo-folder-append-msgdb): Don't treat `read'.
1420         (elmo-message-flags): Don't return `read'.
1421
1422         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1423         (elmo-folder-unset-read-delayed): Ditto.
1424
1425         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1426
1427 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1428
1429         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1430         deletion.
1431
1432 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1433
1434         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1435         header.
1436
1437 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1438
1439         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1440         here.
1441         (elmo-msgdb-save): Bind inhibit-quit.
1442         (modb-standard-message-entity): Ditto.
1443
1444 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1445
1446         * elmo-database.el: No need to require elmo-msgdb.
1447
1448 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1449
1450         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1451         instead of `elmo-list-subdirectories'.
1452
1453 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1454
1455         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1456         group entry.
1457         (elmo-folder-exists-p): "[" is empty.
1458         (elmo-folder-list-subfolders): Define.
1459         (elmo-folder-have-subfolder-p): Ditto.
1460
1461 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1462
1463         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1464
1465 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1466
1467         * elmo-filter.el (elmo-folder-local-p): Define.
1468
1469 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1470
1471         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1472         when entity is garbaged.
1473         (modb-standard-save-entity-1): Don't modify the original entity.
1474
1475 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1476
1477         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1478
1479 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1480
1481         * elmo.el (elmo-strict-folder-diff): Use
1482         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1483
1484 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1485
1486         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1487         (elmo-msgdb-message-number): Ditto.
1488         (elmo-msgdb-message-field): Ditto.
1489
1490         * modb-standard.el (modb-standard-economize-entity-size): New user
1491         option.
1492         (modb-standard-loaded-message-id): New inline function.
1493         (modb-standard-load-entity): Use it.
1494         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1495         throw message-id string away.
1496         (elmo-msgdb-flag-available-p): Define.
1497         (elmo-msgdb-message-number): Ditto.
1498         (elmo-msgdb-message-field): Ditto.
1499
1500         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1501         (suppoted -> supported).
1502         (modb-legacy-supported-flag-p): Ditto.
1503         (elmo-msgdb-set-flag): Ditto.
1504         (elmo-msgdb-unset-flag): Ditto.
1505         (elmo-msgdb-flag-available-p): Define.
1506
1507         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1508         is `t', treat it as legacy entity.
1509         
1510         * elmo.el (elmo-message-flag-available-p): New generic function.
1511         (elmo-message-number): Ditto.
1512         (elmo-message-field): Use `elmo-msgdb-message-field'.
1513
1514         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1515
1516         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1517         (elmo-message-number): Ditto.
1518
1519         * elmo-multi.el (elmo-message-number): Define.
1520         (elmo-message-flag-available-p): Ditto.
1521
1522         * elmo-filter.el (elmo-message-flag-available-p): Define.
1523         (elmo-message-number): Ditto.
1524
1525         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1526         (elmo-folder-initialize): Load `max-number'.
1527         (elmo-folder-commit): Save it.
1528         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1529         (elmo-global-flag-set-internal): Set up max-number slot.
1530
1531 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1532
1533         * elmo-version.el (elmo-version): Up to 2.11.31.
1534
1535 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1536
1537         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1538         unibyte string of the current buffer for the argument of `md5'
1539         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1540
1541 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1542
1543         * modb-legacy.el (modb-legacy-flag-list): New constant.
1544         (modb-legacy-suppoted-flag-p): New internal function.
1545         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1546         (elmo-msgdb-unset-flag): Ditto.
1547
1548 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1549
1550         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1551
1552         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1553         from msgdb.
1554
1555 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1556
1557         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1558         (follow the API change).
1559
1560         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1561
1562 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1563
1564         * modb-standard.el (modb-standard-digest-flags): Abolish.
1565         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1566
1567         * elmo-vars.el (elmo-digest-flags): New variable.
1568         (elmo-preserved-flags): Moved from elmo-flag.el.
1569
1570         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1571         (elmo-imap4-flag-to-imap-criteria): Ditto.
1572         (elmo-imap4-folder-list-flagged): Use it.
1573
1574         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1575
1576         * elmo.el (elmo-folder-count-flags): Changed return value.
1577
1578         * elmo-flag.el (elmo-preserved-flags): New variable.
1579         (elmo-get-global-flags): Use it.
1580
1581         * modb-standard.el (modb-standard-digest-flags): New variable.
1582         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1583         Changed behavior of `any'.
1584
1585         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1586         which are defined the Internet draft
1587         (draft-melnikov-imap-keywords-03.txt).
1588         (elmo-imap4-flags-to-imap): New function.
1589         (elmo-folder-append-buffer): Use it.
1590
1591         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1592         in the docstring.
1593
1594         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1595         avoid the bug of Emacs 21.3.
1596
1597 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1598
1599         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1600         function find-coding-system does not exist.
1601
1602 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1603
1604         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1605         parsing.
1606
1607 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1608
1609         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1610         response codes.
1611
1612 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1613
1614         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1615         (elmo-network-close-session): Follow the changes in
1616         `elmo-pop3-read-response'.
1617         (elmo-pop3-auth-user): Ditto.
1618         (elmo-pop3-auth-apop): Ditto.
1619         (elmo-network-initialize-session): Ditto.
1620         (elmo-network-authenticate-session): Ditto.
1621         (elmo-network-setup-session): Ditto.
1622         (elmo-folder-status): Ditto.
1623         (elmo-message-fetch-plugged): Ditto.
1624         (elmo-pop3-delete-msg): Ditto.
1625
1626 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1627
1628         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1629         on failure.
1630
1631 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1632
1633         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1634         style.
1635         (elmo-bind-directory): Ditto.
1636
1637 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1638
1639         * elmo.el (elmo-folder-append-messages): Note on return value.
1640         * elmo-archive.el (elmo-folder-append-messages): Don't return
1641         message numbers which could not be appended.
1642
1643 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1644
1645         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1646
1647 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1648
1649         * elmo-version.el (elmo-version): Up to 2.11.30.
1650
1651 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1652
1653         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1654         `mask'.
1655
1656         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1657
1658         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1659         (elmo-multi-split-numbers): Add elmo-folder object into each
1660         element of return value at first.
1661         (elmo-folder-delete-messages): Follow the above change.
1662         (elmo-folder-detach-messages): Ditto.
1663
1664         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1665         number which is synchronized in target folder.
1666
1667 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1668
1669         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1670         Change default value to symbol `all'.
1671         (elmo-map-message-fetch): Change condition to update overview
1672         follow the above.
1673
1674 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1675
1676         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1677         behavior to update overview.
1678         (elmo-shimbun-update-overview-folder-list): Note it.
1679
1680 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1681
1682         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1683         recursive call.
1684
1685 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1686
1687         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1688         buffer-disable-undo, it is unnecessary.
1689         (elmo-spam-register-good-messages): Ditto.
1690
1691         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1692         Ditto.
1693
1694         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1695
1696 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1697
1698         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1699         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1700         elmo-set-buffer-multibyte.
1701         (elmo-object-load): Ditto.
1702         (elmo-save-buffer): Ditto.
1703         (elmo-delete-char): Ditto.
1704         (elmo-file-field-primitive-condition-match): Ditto.
1705         (elmo-mime-string): Ditto.
1706
1707         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1708         (elmo-archive-field-condition-match): Ditto.
1709
1710         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1711
1712         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1713
1714         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1715         (elmo-nntp-msgdb-create-message): Ditto.
1716
1717         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1718
1719         * elmo.el (elmo-message-match-condition): Ditto.
1720         (elmo-message-match-condition): Ditto.
1721
1722         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1723         Ditto.
1724
1725         * elmo-version.el (elmo-version): Up to 2.11.29.
1726
1727         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1728         (elsp-header): New backend.
1729
1730         * elmo-util.el (elmo-decoded-field-body): New function.
1731
1732 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1733
1734         * elmo-version.el (elmo-version): Up to 2.11.28.
1735
1736 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1737
1738         * elmo-filter.el: Rewrite.
1739
1740         * elmo-version.el (elmo-version): Up to 2.11.27.
1741
1742 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1743
1744         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1745         msgdb path for the localdir folder with absolute path.
1746
1747         * utf7.el: Synch up with latest gnus/utf7.el;
1748         Modified for latest Emacs.
1749
1750 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1751
1752         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1753         shimbun backend couldn't open.
1754
1755 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1756
1757         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1758         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1759         when a destination folder is a filter folder.
1760
1761 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1762
1763         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1764         (elmo-generic-folder-append-messages): Call elmo-message-flags
1765         with argument `msgid'.
1766
1767         * elmo-split.el (elmo-split-subr): Ditto.
1768
1769         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1770
1771         * elmo-multi.el (elmo-message-flags): Ditto.
1772
1773 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1774
1775         * elmo.el (elmo-folder): Add new slot `flag-table'.
1776         (elmo-folder-flag-table): New API.
1777         (elmo-folder-close-flag-table): Ditto.
1778         (elmo-folder-preserve-flags): New function.
1779         (elmo-generic-folder-append-messages): Use
1780         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1781         Flag of a non-registered message, it sets to nil.
1782         Does not set flag to flag-table.
1783
1784         * elmo-maildir.el (elmo-folder-append-buffer): Use
1785         `elmo-folder-preserve-flags'.
1786         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1787         `elmo-folder-close-flag-table'.
1788
1789         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1790         (elmo-archive-folder-append-buffer): Use
1791         `elmo-folder-preserve-flags'.
1792
1793         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1794
1795         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1796
1797         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1798         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1799         `elmo-folder-close-flag-table'.
1800
1801         * elmo-version.el (elmo-version): Up to 2.11.26.
1802
1803 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1804
1805         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1806
1807         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1808         md5's 4th and 5th argument (non-existent in flim one).
1809
1810 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1811
1812         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1813         message, It sets to nil.
1814
1815 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1816
1817         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1818         list is non-nil.
1819
1820 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1821
1822         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1823
1824         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1825
1826         * elmo-util.el (elmo-uniq-sorted-list): New function.
1827         (elmo-make-number-list): Ditto.
1828         (elmo-number-set-to-number-list): Use elmo-make-number-list
1829         and don't use nreverse.
1830
1831 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1832
1833         * elmo-version.el (elmo-version): Up to 2.11.25.
1834
1835 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1836
1837         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1838         field not exists in message, Use md5 message digest of header.
1839
1840 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1841
1842         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1843         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1844         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1845         * elmo-split.el (elmo-split-subr): Check return value of
1846         elmo-folder-append-buffer.
1847
1848         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1849         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1850
1851         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1852         message-id.
1853
1854 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1855
1856         * elmo-split.el (elmo-split-subr): Append message with flag.
1857
1858         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1859         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1860         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1861
1862 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1863
1864         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1865         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1866         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1867
1868 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1869
1870         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1871         with a function call of `process-buffer'.  All callers are updated.
1872         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1873         Remove redundant `set-buffer' in a while loop.
1874
1875 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1876
1877         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1878         calls.
1879
1880 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1881
1882         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1883         elsp-spamfilter-register-buffer-internal with current buffer.
1884         (elmo-spam-register-spam-buffer): Ditto.
1885         (elmo-spam-register-good-buffer): Ditto.
1886
1887 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1888
1889         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1890         if it is not contained in the response(A workaround for courier-imap).
1891
1892 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1893
1894         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1895         parenthesis.
1896
1897 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1898
1899         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1900         range.
1901
1902 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1905         of nconc.
1906
1907         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1908         argument handler.
1909         (elmo-msgdb-message-match-condition): Follow the change above.
1910
1911 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1912
1913         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1914         folder name.
1915
1916 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1917
1918         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1919
1920 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1921
1922         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1923
1924 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1925
1926         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1927         not found.
1928
1929 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1930
1931         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1932         value.
1933         (elmo-file-command-argument): Undo last change for cygwin.
1934         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1935         Don't return nil.
1936         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1937
1938 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1939
1940         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1941         value returned from elmo-file-find is nil.
1942
1943 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1944
1945         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1946         to elmo-vars.el.
1947
1948         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1949         instead of insert-file-contents-as-binary.
1950         (elmo-message-set-field): New generic function.
1951
1952         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1953         behavior change on `split-string'.
1954
1955         * elmo-file.el (elmo-file-find): New function.
1956         (elmo-file-command): New user option.
1957         (elmo-file-command-argument): Ditto.
1958         (elmo-file-fetch-max-size): Ditto.
1959         (elmo-file-detect-format): New function.
1960         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1961         Use elmo-file-detect-format.
1962         (elmo-map-folder-list-message-locations): Don't treat directories.
1963
1964 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1965
1966         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1967         (elmo-passwd-alist-clear): Shred password before clear.
1968         (elmo-remove-passwd): Remove all mached pair.
1969
1970 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1971
1972         * elmo.el (elmo-folder-synchronize): Fix description of the return
1973         value.
1974
1975 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1976
1977         * elmo.el (elmo-message-fetch-bodystructure): New method.
1978         (elmo-message-fetch-bodystructure): Define default.
1979
1980         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1981         elmo-message-fetch-bodystructure.
1982         (elmo-message-fetch-bodystructure): Define.
1983
1984         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1985
1986 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1987
1988         * elmo-filter.el (elmo-message-folder): Define.
1989
1990 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1991
1992         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1993         elmo-delete-cr-buffer.
1994
1995         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1996
1997         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1998
1999         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2000
2001         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2002         type seems to be a text.
2003
2004 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2005
2006         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2007         (elmo-spam-register-good-buffer): Ditto.
2008         (elmo-spam-spamassassin-register-messages): Ditto.
2009
2010         * elmo-util.el (elmo-string-member-ignore-case): Define with
2011         static-cond.
2012
2013 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2014
2015         * elmo.el (elmo-folder-type): Undo last change.
2016
2017         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2018
2019         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2020         warnings.
2021
2022         * elmo-file.el: New file.
2023         
2024         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2025
2026         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2027         variable.
2028         (elmo-spam-spamassassin-register-messages): New inline function.
2029         (elmo-spam-register-spam-messages): Define.
2030         (elmo-spam-register-good-messages): Ditto.
2031
2032         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2033         Fixed typo.
2034
2035         * elmo.el (toplevel): Added autoload setting for
2036         `elmo-get-global-flags'.
2037         (elmo-message-has-global-flag-p): New function.
2038         (elmo-message-set-global-flags): Ditto.
2039         (elmo-folder-type): Improvement for name: format.
2040
2041         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2042         availability of keyword flags.
2043         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2044         (elmo-folder-list-flagged-plugged): Renamed from
2045         elmo-folder-list-flagged-unplugged.
2046         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2047         accept any flag as keyword flag.
2048         (elmo-folder-set-flag-plugged): Accept keyword flags.
2049         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2050
2051         * elmo-flag.el (elmo-get-global-flags): New function.
2052
2053         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2054         folders.
2055
2056         * elmo-version.el (elmo-version): Up to 2.11.24.
2057
2058 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2059
2060         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2061         elmo-multiple-field-body instead of std11-field-body to check all
2062         headers.
2063
2064 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2065
2066         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2067         or "size".
2068
2069 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2070
2071         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2072         unintern is unbound.
2073
2074 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2075
2076         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2077         Protect from infinite loop.
2078
2079 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2080
2081         * elsp-bogofilter.el
2082         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2083         (elmo-spam-bogofilter-register-messages): New internal function.
2084         (elmo-spam-register-spam-messages): Define.
2085         (elmo-spam-register-good-messages): Ditto.
2086
2087 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2088
2089         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2090         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2091         (elmo-spam-bogofilter-call): Fixed the last change.
2092         (elmo-spam-bogofilter-arguments): Ditto.
2093
2094         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2095         Follow the options change of latest bogofilter.
2096
2097         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2098         (elmo-spam-bogofilter-good-switch): Ditto.
2099         (elmo-spam-bogofilter-arguments-alist): New user option.
2100         (elmo-spam-bogofilter-debug): Ditto.
2101         (elmo-spam-bogofilter-call): Renamed from
2102         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2103         is non-nil, insert output in buffer for debug.
2104         (elmo-spam-bogofilter-arguments): New macro.
2105         (elmo-spam-buffer-spam-p): Use it.
2106         (elsp-bogofilter-register-buffer): Ditto.
2107
2108 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2109
2110         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2111         regexp.
2112
2113 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2114
2115         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2116         value as "ruby".
2117         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2118         (elmo-spam-bsfilter-program): Set default value as full path for
2119         `bsfilter'.
2120         (elmo-spam-bsfilter-debug): New user option.
2121         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2122         non-nil, insert output in buffer for debug. Fix treating of
2123         argument.
2124
2125 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2126
2127         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2128         `elmo-maildir-flag-specs' element instead of one.
2129         (elmo-map-folder-unset-flag): Ditto.
2130         (Reported by Ken Makimura <macky@astem.or.jp>)
2131
2132         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2133         (elmo-folder-unset-flag-plugged): Ditto.
2134
2135 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2136
2137         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2138         to `reads' slot only if `in-msgdb' is nil.
2139
2140 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2141
2142         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2143         and complement argument list.
2144
2145 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2146
2147         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2148         instead of elmo-folder-list-flagged.
2149
2150 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2151
2152         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2153
2154         * elsp-bsfilter.el: New file.
2155
2156         * elmo-pipe.el (elmo-folder-list-unreads,
2157         elmo-folder-list-answereds,
2158         elmo-folder-list-importants,
2159         elmo-folder-flag-as-important,
2160         elmo-folder-unflag-important,
2161         elmo-folder-flag-as-read,
2162         elmo-folder-unflag-read,
2163         elmo-folder-flag-as-answered,
2164         elmo-folder-unflag-answered): Remove.
2165         (elmo-folder-set-flag): Define.
2166         (elmo-folder-unset-flag): Ditto.
2167
2168         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2169         (elmo-folder-set-flag): Define.
2170         (elmo-folder-unset-flag): Ditto.
2171         (elmo-folder-list-unreads): Remove.
2172         (elmo-folder-list-flagged): Define.
2173
2174         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2175         (elmo-folder-list-unreads,
2176         elmo-folder-list-importants,
2177         elmo-folder-list-answereds,
2178         elmo-folder-list-unreads-plugged,
2179         elmo-folder-list-importants-plugged,
2180         elmo-folder-list-answereds-plugged): Remove.
2181         (elmo-folder-list-flagged-plugged): New method.
2182         (elmo-folder-unflag-important,
2183         elmo-folder-flag-as-important,
2184         elmo-folder-unflag-read,
2185         elmo-folder-flag-as-read,
2186         elmo-folder-unflag-answered,
2187         elmo-folder-flag-as-answered,
2188         elmo-folder-flag-as-read-unplugged,
2189         elmo-folder-unflag-read-unplugged,
2190         elmo-folder-flag-as-important-unplugged,
2191         elmo-folder-unflag-important-unplugged,
2192         elmo-folder-flag-as-answered-unplugged,
2193         elmo-folder-unflag-answered-unplugged): Remove.
2194         (elmo-folder-set-flag): Define.
2195         (elmo-folder-unset-flag): Ditto.
2196         (elmo-folder-set-flag-unplugged): Ditto.
2197         (elmo-folder-unset-flag-unplugged): Ditto.
2198
2199         * elmo-multi.el (elmo-folder-list-unreads,
2200         elmo-folder-list-answereds,
2201         elmo-folder-list-importants,
2202         elmo-folder-flag-as-important,
2203         elmo-folder-unflag-important,
2204         elmo-folder-flag-as-read,
2205         elmo-folder-unflag-read,
2206         elmo-folder-flag-as-answered,
2207         elmo-folder-unflag-answered): Remove.
2208         (elmo-folder-set-flag): Define.
2209         (elmo-folder-unset-flag): Ditto.
2210
2211         * elmo-map.el (elmo-map-folder-unflag-important,
2212         elmo-map-folder-flag-as-important,
2213         elmo-map-folder-unflag-read,
2214         elmo-map-folder-flag-as-read,
2215         elmo-map-folder-unflag-answered,
2216         elmo-map-folder-flag-as-answered): Remove.
2217         (elmo-map-folder-set-flag): New method.
2218         (elmo-map-folder-unset-flag): Ditto.
2219         (elmo-map-folder-list-unreads,
2220         elmo-map-folder-list-importants,
2221         elmo-map-folder-list-answereds): Remove.
2222         (elmo-folder-list-flagged-internal): Define.
2223         (elmo-map-folder-list-flagged): New method.
2224
2225         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2226         (elmo-map-folder-list-unreads,
2227         elmo-map-folder-list-importants,
2228         elmo-map-folder-list-flagged): Remove.
2229         (elmo-map-folder-list-flagged): Define.
2230         (elmo-map-folder-flag-as-important,
2231         elmo-map-folder-unflag-important,
2232         elmo-map-folder-flag-as-read,
2233         elmo-map-folder-unflag-read,
2234         elmo-map-folder-flag-as-answered,
2235         elmo-map-folder-unflag-answered): Remove.
2236         (elmo-maildir-set-mark-messages): New internal function.
2237         (elmo-map-folder-set-flag): Define.
2238         (elmo-map-folder-unset-flag): Ditto.
2239
2240         * elmo.el (toplevel): Added autoload setting for
2241         `elmo-folder-list-global-flag-messages'.
2242         (elmo-folder-list-unreads,
2243         elmo-folder-list-importants,
2244         elmo-folder-list-answereds): Remove.
2245         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2246         Return a list whitch merged with messages have global flag.
2247         (elmo-folder-list-flagged-internal): New method.
2248         (elmo-folder-unflag-important,
2249         elmo-folder-flag-as-important,
2250         elmo-folder-unflag-read,
2251         elmo-folder-flag-as-read,
2252         elmo-folder-unflag-answered,
2253         elmo-folder-flag-as-answered): Remove.
2254         (elmo-folder-set-flag): New method.
2255         (elmo-folder-unset-flag): Ditto.
2256         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2257         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2258
2259         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2260         (elmo-folder-list-unreads-plugged,
2261         elmo-folder-list-importants-plugged,
2262         elmo-folder-list-answereds-plugged,
2263         elmo-folder-list-flagged-unplugged,
2264         elmo-folder-unflag-important-plugged,
2265         elmo-folder-flag-as-important-plugged,
2266         elmo-folder-unflag-read-plugged,
2267         elmo-folder-flag-as-read-plugged,
2268         elmo-folder-unflag-answered-plugged,
2269         elmo-folder-flag-as-answered-plugged): Remove.
2270         (elmo-folder-set-flag-plugged,
2271         elmo-folder-unset-flag-plugged): Define.
2272
2273         * elmo-flag.el (elmo-folder-initialize): Register to
2274         `elmo-global-flag-list' if flag is not global.
2275         (elmo-folder-append-messages): Set flag to source messages.
2276
2277         * elmo-filter.el (elmo-filter-folder-list-unreads,
2278         elmo-folder-list-unreads,
2279         elmo-filter-folder-list-importants,
2280         elmo-folder-list-importants,
2281         elmo-folder-flag-as-read,
2282         elmo-folder-unflag-read,
2283         elmo-folder-flag-as-important,
2284         elmo-folder-unflag-important,
2285         elmo-folder-flag-as-answered,
2286         elmo-folder-unflag-answered): Remove.
2287         (elmo-folder-set-flag): Define.
2288         (elmo-folder-unset-flag): Ditto.
2289
2290         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2291         elmo-folder-unflag-read-dop,
2292         elmo-folder-flag-as-important-dop,
2293         elmo-folder-unflag-important-dop,
2294         elmo-folder-flag-as-answered-dop,
2295         elmo-folder-unflag-answered-dop): Remove.
2296         (elmo-folder-set-flag-dop,
2297         elmo-folder-unset-flag-dop,
2298         elmo-folder-set-important-delayed,
2299         elmo-folder-unset-important-delayed,
2300         elmo-folder-set-read-delayed,
2301         elmo-folder-unset-read-delayed,
2302         elmo-folder-set-answered-delayed,
2303         elmo-folder-unset-answered-delayed): New function.
2304         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2305         (elmo-dop-queue-method-name-alist): Ditto.
2306
2307         * elmo-version.el (elmo-version): Up to 2.11.23.
2308
2309 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2310
2311         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2312
2313         * elsp-sa.el: New file.
2314
2315 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2316
2317         * modb-standard.el (modb-standard-message-entity): New function.
2318         (elmo-msgdb-message-entity): Use it.
2319
2320 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2321
2322         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2323         behavior when one-level is nil.
2324
2325         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2326
2327         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2328
2329 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2330
2331         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2332         get max number.
2333         (elmo-generic-folder-diff): Ditto.
2334
2335         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2336         (elmo-folder-update-number): Ditto.
2337
2338         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2339         (elmo-folder-next-message-number-dop): Ditto.
2340
2341 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2342
2343         * elmo-filter.el (elmo-folder-msgdb-create): Use
2344         `elmo-message-entity' and `elmo-message-flags' instead of
2345         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2346
2347 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2348
2349         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2350         `if-exists'.
2351
2352 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2355
2356         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2357
2358         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2359
2360 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2361
2362         * elmo-version.el (elmo-version): Up to 2.11.22.
2363
2364 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2365
2366         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2367
2368 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2369
2370         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2371         if the message dose not exist.
2372
2373 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2374
2375         * elmo-version.el (elmo-version): Up to 2.11.21.
2376
2377 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2378
2379         * modb-standard.el (toplevel): Don't require mime.
2380
2381 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2382
2383         * elsp-bogofilter.el (toplevel): Don't require path-util.
2384         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2385         (elmo-spam-bogofilter-header): Abolish.
2386         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2387         (elmo-spam-bogofilter-args): New user option.
2388         (elsp-bogofilter-call-bogofilter): New internal function.
2389         (elmo-spam-buffer-spam-p): Use it.
2390         (elsp-bogofilter-register-buffer): Renamed from
2391         `elmo-spam-bogofilter-register-buffer';
2392         Use `elsp-bogofilter-call-bogofilter'.
2393         (elmo-spam-register-spam-buffer): Follow the change above.
2394         (elmo-spam-register-good-buffer): Ditto.
2395
2396 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2397
2398         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2399         message-id is nil do nothing.
2400
2401 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2402
2403         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2404         Revival.
2405         (elmo-imap4-session): Removed use-flag slot.
2406         (elmo-imap4-session-select-mailbox): Undo last change.
2407         (elmo-folder-use-flag-p): Use
2408         elmo-imap4-disuse-server-flag-mailbox-regexp.
2409
2410 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2411
2412         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2413         (elmo-imap4-session-select-mailbox): Set it up.
2414         (elmo-folder-use-flag-p): Return value of use-flag slot.
2415
2416 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2417
2418         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2419         message-id is nil.
2420         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2421
2422         * modb-entity.el (elmo-message-entity-handler): Likewise.
2423
2424 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2425
2426         * elmo.el (toplevel): Remove setting of autoloding for
2427         elmo-global-flag-initialize.
2428         (elmo-init): Don't call elmo-global-flag-initialize.
2429         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2430
2431         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2432         (elmo-global-mark-migrate): Don't call it.
2433         (elmo-global-mark-upgrade): Ditto.
2434
2435 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2436
2437         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2438         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2439
2440         * elmo-vars.el (elmo-init-hook): New user option.
2441
2442         * elmo.el (elmo-init): Run the elmo-init-hook.
2443
2444         * elmo-flag.el (elmo-global-mark-migrate): New function.
2445
2446 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2447
2448         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2449         Undo last change (move to elmo-msgdb-unset-flag).
2450         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2451         flag is unset.
2452
2453 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2454
2455         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2456         read flag is set.
2457         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2458         (elmo-msgdb-unset-flag): Ditto.
2459
2460 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2461
2462         * elmo-split.el (elmo-split): Return split message count.
2463
2464 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2465
2466         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2467         is nil.
2468
2469 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2470
2471         * elmo.el (elmo-folder-unflag-important): Call
2472         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2473         a symbol `always'.
2474
2475         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2476         before unset flag.
2477         (elmo-global-flag-detach): Delete the message from flag folder, if
2478         `delete-if-none' is a symbol `always'.
2479
2480 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2481
2482         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2483         `elmo-spam-spamfilter-decode-buffer'.
2484         (elsp-spamfilter-register-buffer-internal): New internal function.
2485         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2486         (elmo-spam-register-spam-buffer): Ditto.
2487         (elmo-spam-register-good-buffer): Ditto.
2488
2489         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2490         change.
2491         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2492         (elmo-spam-register-spam-buffer): Follow the API change.
2493         (elmo-spam-register-good-buffer): Ditto.
2494
2495         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2496         (elmo-split-spam-p): Added argument plist; Call
2497         `elmo-spam-buffer-spam-p' with new argument register.
2498
2499         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2500         `register'.
2501         (elmo-spam-message-spam-p): Ditto.
2502         (elmo-spam-register-spam-buffer): Added optional argument
2503         `restore'.
2504         (elmo-spam-register-good-buffer): Ditto.
2505         (elmo-spam-register-spam-messages): Ditto.
2506         (elmo-spam-register-good-messages): Ditto.
2507
2508 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2509
2510         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2511         register into good corpus.
2512         (elmo-spam-register-good-buffer): Fixed to register into bad
2513         corpus.
2514
2515 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2516
2517         * elmo-version.el (elmo-version): Up to 2.11.20.
2518
2519         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2520         change.
2521
2522         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2523         flag without depending on \Recent flag.
2524
2525 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2526
2527         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2528         (elmo-spam-modified-p): Defined.
2529         (elmo-spam-save-status): Set `modified' slot to nil.
2530         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2531         (elmo-spam-register-good-buffer): Ditto.
2532
2533         * elmo-spam.el (elmo-spam-modified-p): New API.
2534
2535 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2536
2537         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2538         duplicate definition.
2539
2540         * elmo-util.el (elmo-unfold-field-body): New function.
2541         (elmo-msgdb-get-message-id-from-buffer): Use it.
2542
2543         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2544         Fixed the last change; Use elmo-unfold-field-body.
2545
2546 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2547
2548         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2549         Unfold date value.
2550
2551 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2552
2553         * elmo-spam.el (elmo-spam-save-status): New API.
2554
2555         * elsp-spamfilter.el: New file.
2556
2557 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2558
2559         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2560
2561 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2562
2563         * elmo-split.el (elmo-split-spam-p): New function.
2564
2565         * elmo-spam.el: New file.
2566
2567         * elsp-bogofilter.el: Ditto.
2568
2569 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2570
2571         * elmo.el (elmo-folder-next-message-number): New API.
2572         (elmo-folder-next-message-number): Define.
2573         (elmo-message-field): Don't check folder length.
2574
2575         * elmo-net.el (elmo-folder-next-message-number): Define.
2576         (elmo-folder-next-message-number-unplugged): Define.
2577
2578         * elmo-map.el (elmo-folder-next-message-number): Define.
2579         (elmo-folder-delete-messages): Clear hash value.
2580
2581         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2582
2583         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2584         (elmo-folder-delete-messages-dop-delayed): Always return t.
2585
2586         * elmo-version.el (elmo-version): Up to 2.11.19.
2587
2588 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2589
2590         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2591         change.
2592
2593         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2594         identical cons cell into the mark-alist and the hash table.
2595
2596 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2597
2598         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2599         elmo-folder-list-messages with argument `visible-only' as t.
2600
2601         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2602         (elmo-folder-msgdb-create): Check the target folder.
2603
2604 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2605
2606         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2607         `permanentflag' instead of `flags'.
2608         (elmo-folder-open): Ditto.
2609         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2610         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2611         (elmo-folder-use-flag-p): Always return t.
2612         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2613         `permanentflags' does not exist.
2614         (elmo-folder-open): Ditto.
2615
2616 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2617
2618         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2619         is nil.
2620         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2621
2622         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2623         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2624         response.
2625         (elmo-folder-open): Ditto.
2626         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2627         slot of the session includes the flag.
2628         (elmo-imap4-session-flag-available-p): New function.
2629         (elmo-imap4-folder-list-flagged): Ditto.
2630         (elmo-folder-list-unreads-plugged): Use it.
2631         (elmo-folder-list-importants-plugged): Ditto.
2632         (elmo-folder-list-answereds-plugged): Ditto.
2633         (elmo-imap4-search-internal-primitive): Ditto.
2634         (elmo-imap4-folder-list-any-plugged,
2635         elmo-imap4-folder-list-digest-plugged): Abolish.
2636
2637         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2638         if numbers is nil.
2639
2640 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2641
2642         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2643
2644 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2645
2646         * elmo-util.el (elmo-get-hash-val): Simplify.
2647         (elmo-set-hash-val): Rewrite.
2648
2649 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2650
2651         * elmo.el (elmo-folder-list-messages): Append killed messages into
2652         result if `visible-only' is nil and `in-msgdb' is non-nil.
2653
2654         * elmo-util.el (elmo-uniq-list): Added optional argument
2655         `delete-function'.
2656
2657         * modb.el (elmo-msgdb-flag-count): New API.
2658
2659         * modb-standard.el (modb-standard): Added slot flag-count.
2660         (modb-standard-countup-flags): New function.
2661         (modb-standard-load-flag): Call it.
2662         (elmo-msgdb-append): Ditto.
2663         (elmo-msgdb-clear): Clear slot flag-count.
2664         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2665         (elmo-msgdb-unset-flag): Treat `all' flag and call
2666         modb-standard-countup-flags.
2667         (elmo-msgdb-flag-count): Define.
2668         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2669         (elmo-msgdb-delete-messages): Ditto.
2670
2671         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2672         (elmo-msgdb-flag-count): Define.
2673
2674         * elmo.el (elmo-folder-list-messages): Undo last change.
2675         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2676         (elmo-folder-kill-messages): Unset all flags to numbers.
2677
2678         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2679         elmo-folder-kill-messages.
2680
2681         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2682         (elmo-nntp-folder-delete-messages): Abolish.
2683
2684         * elmo-version.el (elmo-version): Up to 2.11.18.
2685
2686 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2687
2688         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2689         (elmo-folder-kill-messages-range): New function.
2690         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2691         instead of elmo-folder-kill-messages-before.
2692
2693 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2694
2695         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2696         elmo-imap4-current-msgdb to decide entity handler.
2697
2698 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2699
2700         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2701
2702         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2703         inline function.
2704         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2705         (elmo-msgdb-overview-entity-set-number,
2706         elmo-msgdb-overview-entity-get-references,
2707         elmo-msgdb-overview-entity-set-references,
2708         elmo-msgdb-overview-entity-get-from-no-decode,
2709         elmo-msgdb-overview-entity-get-from,
2710         elmo-msgdb-overview-entity-set-from,
2711         elmo-msgdb-overview-entity-get-subject,
2712         elmo-msgdb-overview-entity-get-subject-no-decode,
2713         elmo-msgdb-overview-entity-set-subject,
2714         elmo-msgdb-overview-entity-get-date,
2715         elmo-msgdb-overview-entity-set-date,
2716         elmo-msgdb-overview-entity-get-to,
2717         elmo-msgdb-overview-entity-get-cc,
2718         elmo-msgdb-overview-entity-get-size,
2719         elmo-msgdb-overview-entity-set-size,
2720         elmo-msgdb-overview-entity-get-extra,
2721         elmo-msgdb-overview-entity-set-extra,
2722         elmo-msgdb-overview-entity-get-extra-field,
2723         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2724         (elmo-msgdb-make-index): Use
2725         `elmo-msgdb-overview-entity-get-number-internal'.
2726         (elmo-msgdb-clear-index): Ditto.
2727         (elmo-msgdb-append-entity): Ditto;
2728         Use `elmo-msgdb-overview-entity-get-id-internal'.
2729
2730         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2731         elmo-msgdb-overview-entity-set-number,
2732         elmo-msgdb-overview-entity-get-references,
2733         elmo-msgdb-overview-entity-set-references,
2734         elmo-msgdb-overview-entity-get-from-no-decode,
2735         elmo-msgdb-overview-entity-get-from,
2736         elmo-msgdb-overview-entity-set-from,
2737         elmo-msgdb-overview-entity-get-subject,
2738         elmo-msgdb-overview-entity-get-subject-no-decode,
2739         elmo-msgdb-overview-entity-set-subject,
2740         elmo-msgdb-overview-entity-get-date,
2741         elmo-msgdb-overview-entity-set-date,
2742         elmo-msgdb-overview-entity-get-to,
2743         elmo-msgdb-overview-entity-get-cc,
2744         elmo-msgdb-overview-entity-get-size,
2745         elmo-msgdb-overview-entity-set-size,
2746         elmo-msgdb-overview-entity-get-extra,
2747         elmo-msgdb-overview-entity-set-extra,
2748         elmo-msgdb-overview-entity-get-extra-field,
2749         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2750         and rewrote for backward compatibility.
2751
2752 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2753
2754         * elmo.el (elmo-message-entity-number,
2755         elmo-message-entity-set-number,
2756         elmo-message-entity-field,
2757         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2758
2759         * elmo-msgdb.el (elmo-message-entity-number,
2760         elmo-message-entity-set-number,
2761         elmo-message-entity-field,
2762         elmo-message-entity-set-field): Moved from elmo.el.
2763
2764 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2765
2766         * elmo.el (toplevel): Changed definition orders.
2767
2768 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2769
2770         * modb.el (elmo-msgdb-search): New API .
2771         (elmo-msgdb-match-condition): Ditto.
2772
2773         * modb-standard.el (elmo-msgdb-search): Define.
2774
2775         * modb-legacy.el (elmo-msgdb-search): Ditto.
2776
2777         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2778         from elmo-msgdb-match-condition-internal.
2779
2780         * elmo.el (elmo-folder-search-fast): Abolish.
2781         (elmo-folder-search): Use elmo-msgdb-search and
2782         elmo-with-progress-display.
2783
2784         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2785         as msgdb API.
2786
2787         * elmo.el (elmo-folder): Remove slot message-modified and
2788         flag-modified.
2789         (elmo-folder-set-message-modified): Abolish.
2790         (elmo-generic-folder-commit): Follow the change above.
2791         (elmo-folder-synchronize): Ditto.
2792
2793         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2794
2795         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2796
2797         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2798
2799 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2800
2801         * modb-standard.el (modb-standard-make-message-entity,
2802         elmo-msgdb-make-message-entity,
2803         elmo-msgdb-create-message-entity-from-buffer,
2804         elmo-msgdb-message-entity-number,
2805         elmo-msgdb-message-entity-set-number,
2806         elmo-msgdb-message-entity-field,
2807         elmo-msgdb-message-entity-set-field,
2808         elmo-msgdb-copy-message-entity,
2809         elmo-msgdb-match-condition-internal): Remove.
2810
2811         * modb-entity.el: New file (again).
2812
2813         * modb.el (toplevel): Require modb-entity.
2814         (elmo-msgdb-message-entity-handler): New method.
2815
2816         * modb-standard.el (modb-standard-entity-id): Use
2817         elmo-message-entity-handler.
2818         (modb-standard-load-entity): Ditto.
2819         (elmo-msgdb-append-entity): Ditto.
2820         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2821
2822         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2823         elmo-msgdb-decoded-cache-hashtb,
2824         (modb-legacy-make-message-entity,
2825         elmo-msgdb-make-message-entity,
2826         elmo-msgdb-create-message-entity-from-buffer,
2827         elmo-msgdb-message-entity-number,
2828         elmo-msgdb-message-entity-set-number,
2829         elmo-msgdb-message-entity-field,
2830         elmo-msgdb-message-entity-set-field,
2831         elmo-msgdb-copy-message-entity,
2832         elmo-msgdb-match-condition-internal,
2833         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2834
2835         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2836         (elmo-message-entity-set-number): Ditto.
2837         (elmo-message-entity-field): Ditto.
2838         (elmo-message-entity-set-field): Ditto.
2839
2840         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2841
2842         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2843
2844         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2845
2846         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2847         (elmo-nntp-msgdb-create-message): Ditto.
2848
2849         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2850         (elmo-folder-msgdb-create): Add unread flag.
2851
2852         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2853
2854         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2855
2856         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2857
2858         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2859
2860         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2861         elmo-msgdb-messge-entity-handler.
2862         * elmo-version.el (elmo-version): Up to 2.11.17.
2863
2864 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2865
2866         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2867         change.
2868
2869 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2870
2871         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2872
2873         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2874         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2875         (elmo-msgdb-flag-table): Ditto.
2876         (elmo-msgdb-sort-by-date): Ditto.
2877
2878         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2879
2880         * modb-standard.el (toplevel): Require mime.
2881         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2882         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2883         elmo-msgdb-message-entity-number.
2884         (elmo-msgdb-append-entity): Ditto.
2885         (elmo-msgdb-create-message-entity-from-file): Remove.
2886         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2887         corresponds to the entity.
2888         (elmo-msgdb-message-entity-number): Do nothing currently.
2889         (elmo-msgdb-message-entity-field): Ditto.
2890         (elmo-msgdb-message-entity-set-field): Ditto.
2891         (elmo-msgdb-copy-message-entity): Ditto.
2892         (elmo-msgdb-match-condition-internal): Ditto.
2893
2894         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2895         elmo-util.el.
2896         (elmo-msgdb-create-message-entity-from-file): Remove.
2897
2898         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2899         modb-legacy.el.
2900         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2901
2902         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2903
2904 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2905
2906         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2907         (elmo-msgdb-message-entity-field): Ditto.
2908         (elmo-msgdb-message-entity-number): Ditto.
2909
2910 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2911
2912         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2913         Fixed how to set extra field into entity.
2914         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2915         symbol.
2916
2917         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2918         Fixed how to set extra field into entity.
2919         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2920         symbol.
2921
2922 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2923
2924         * modb.el (elmo-message-entity-db): New function.
2925         (elmo-msgdb-make-message-entity): New API.
2926         (elmo-msgdb-message-entity-number): Ditto.
2927         (elmo-msgdb-message-entity-set-number): Ditto.
2928         (elmo-msgdb-message-entity-field): Ditto.
2929         (elmo-msgdb-message-entity-set-field): Ditto.
2930         (elmo-msgdb-copy-message-entity): Ditto.
2931         (elmo-msgdb-create-message-entity-from-file): Ditto.
2932         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2933         (elmo-msgdb-match-condition-internal): Ditto.
2934
2935         * modb-standard.el (modb-legacy): Require modb-legacy.
2936         (modb-standard-make-message-entity): New inline function.
2937         (elmo-msgdb-make-message-entity): Define.
2938         (elmo-msgdb-create-message-entity-from-file): Ditto.
2939         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2940         (elmo-msgdb-message-entity-field): Ditto.
2941         (elmo-msgdb-message-entity-set-field): Ditto.
2942         (elmo-msgdb-copy-message-entity): Ditto.
2943         (elmo-msgdb-match-condition-internal): Ditto.
2944
2945         * modb-legacy.el: Don't require modb-entity.
2946         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2947         (elmo-msgdb-match-condition-primitive): Ditto.
2948         (elmo-msgdb-get-decoded-cache): Ditto.
2949         (elmo-msgdb-overview-entity-get-id): Ditto.
2950         (elmo-msgdb-overview-entity-get-number): Ditto.
2951         (elmo-msgdb-overview-entity-set-number): Ditto.
2952         (elmo-msgdb-overview-entity-get-references): Ditto.
2953         (elmo-msgdb-overview-entity-set-references): Ditto.
2954         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2955         (elmo-msgdb-overview-entity-get-from): Ditto.
2956         (elmo-msgdb-overview-entity-set-from): Ditto.
2957         (elmo-msgdb-overview-entity-get-subject): Ditto.
2958         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2959         (elmo-msgdb-overview-entity-set-subject): Ditto.
2960         (elmo-msgdb-overview-entity-get-date): Ditto.
2961         (elmo-msgdb-overview-entity-set-date): Ditto.
2962         (elmo-msgdb-overview-entity-get-to): Ditto.
2963         (elmo-msgdb-overview-entity-get-cc): Ditto.
2964         (elmo-msgdb-overview-entity-get-size): Ditto.
2965         (elmo-msgdb-overview-entity-set-size): Ditto.
2966         (elmo-msgdb-overview-entity-get-extra): Ditto.
2967         (elmo-msgdb-overview-entity-set-extra): Ditto.
2968         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2969         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2970         (elmo-msgdb-number-load): Ditto.
2971         (elmo-msgdb-overview-load): Ditto.
2972         (elmo-msgdb-mark-load): Ditto.
2973         (elmo-msgdb-number-save): Ditto.
2974         (elmo-msgdb-mark-save): Ditto.
2975         (elmo-msgdb-overview-save): Ditto.
2976         (modb-legacy-make-message-entity): New inline function.
2977         (elmo-msgdb-insert-file-header): Ditto.
2978         (elmo-msgdb-make-message-entity): Define.
2979         (elmo-msgdb-create-message-entity-from-file): Ditto.
2980         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2981         (elmo-msgdb-message-entity-number): Ditto.
2982         (elmo-msgdb-message-entity-set-number): Ditto.
2983         (elmo-msgdb-message-entity-field): Ditto.
2984         (elmo-msgdb-message-entity-set-field): Ditto.
2985         (elmo-msgdb-copy-message-entity): Ditto.
2986         (elmo-msgdb-match-condition-internal): Ditto.
2987
2988         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2989         (elmo-message-copy-entity): Rewrite.
2990         (elmo-message-entity-number): Ditto.
2991         (elmo-message-entity-set-number): Ditto.
2992         (elmo-message-entity-field): Use elmo-message-entity-db.
2993         (elmo-message-entity-set-field): Ditto.
2994         (elmo-message-field): Rewrite.
2995
2996         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2997         elmo-msgdb.el
2998         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2999
3000         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3001         elmo-message-entity-field.
3002         (elmo-shimbun-folder-shimbun-header): Ditto.
3003         (elmo-shimbun-entity-to-header): Ditto.
3004         (elmo-folder-msgdb-create): Ditto.
3005         (elmo-shimbun-msgdb-create-entity): Ditto;
3006         Use elmo-msgdb-create-message-entity-from-buffer.
3007         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3008         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3009
3010         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3011         elmo-msgdb-create-message-entity-from-file and 
3012         elmo-message-entity-field.
3013
3014         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3015         elmo-message-entity-number.
3016         (elmo-pop3-msgdb-create-message): Use
3017         elmo-msgdb-create-message-entity-from-buffer,
3018         elmo-message-entity-set-field, elmo-message-entity-number and
3019         elmo-message-entity-set-number.
3020
3021         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3022         the API change in elmo-msgdb-make-message-entity.
3023         (elmo-nntp-msgdb-create-message): Use
3024         elmo-msgdb-create-message-entity-from-buffer.
3025
3026         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3027         elmo-message-entity-field and
3028         elmo-msgdb-create-message-entity-from-file.
3029
3030         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3031         (elmo-msgdb-get-field): Abolish.
3032         (elmo-msgdb-get-number): Rewrite.
3033         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3034         (elmo-msgdb-flag-table): Ditto.
3035         (elmo-msgdb-get-last-message-id,
3036         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3037         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3038         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3039         (elmo-msgdb-create-overview-from-buffer,
3040         elmo-msgdb-overview-get-parent-entity): Abolish.
3041
3042         * elmo-mime.el (elmo-mime-display-as-is): Use
3043         elmo-message-entity-field.
3044
3045         * elmo-map.el (elmo-folder-pack-numbers): Use
3046         elmo-message-entity-set-number.
3047
3048         * elmo-maildir.el (elmo-folder-msgdb-create): 
3049         elmo-msgdb-create-message-entity-from-file instead of
3050         elmo-msgdb-create-overview-entity-from-file.
3051
3052         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3053         msgdb.
3054         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3055         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3056
3057         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3058         elmo-messge-entity-field and elmo-message-entity-number.
3059         (elmo-imap4-fetch-callback-1): Call
3060         elmo-msgdb-create-message-entity-from-buffer instead of
3061         elmo-msgdb-create-overview-from-buffer. 
3062         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3063         (elmo-find-fetch-strategy): Likewise.
3064
3065         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3066         elmo-localdir-msgdb-create-entity with argument msgdb.
3067
3068         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3069         and elmo-message-entity-set-number.
3070
3071         * elmo-cache.el (elmo-folder-msgdb-create): Use
3072         elmo-message-entity-field.
3073         (elmo-folder-msgdb-create): Call
3074         elmo-msgdb-create-message-entity-from-file instead of
3075         elmo-msgdb-create-overview-entity-from-file.
3076
3077         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3078         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3079         instead of elmo-msgdb-create-overview-from-buffer.
3080         (elmo-archive-msgdb-create-entity): Ditto.
3081         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3082         elmo-message-entity-field.
3083         (elmo-archive-parse-mmdf): Ditto.
3084
3085         * modb-entity.el: Removed.
3086
3087         * elmo-version.el (elmo-version): Up to 2.11.16.
3088
3089 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3090
3091         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3092         `is-local'.
3093         (elmo-folder-flag-as-answered): Ditto.
3094
3095 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3096
3097         * modb-standard.el: New file.
3098
3099         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3100         elmo-msgdb-convert-type is `sync'.
3101
3102         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3103         (elmo-msgdb-convert-type): New user option.
3104
3105         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3106         (elmo-load-msgdb): Auto detect saved type.
3107
3108         * elmo-version.el (elmo-version): Up to 2.11.15.
3109
3110 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3111
3112         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3113
3114         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3115         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3116         with argument `delete-if-none' when dst-folder is 'null.
3117
3118         * elmo-flag.el (elmo-folder-append-messages): Defined.
3119         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3120
3121 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3122
3123         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3124
3125 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3126
3127         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3128         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3129         (elmo-folder-commit): Ditto.
3130
3131 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3132
3133         * elmo-flag.el: New file.
3134
3135         * elmo-mark.el: Removed.
3136
3137         * modb-legacy.el (modb-legacy-new-mark,
3138         modb-legacy-unread-uncached-mark,
3139         modb-legacy-unread-cached-mark,
3140         modb-legacy-read-uncached-mark,
3141         modb-legacy-answered-cached-mark,
3142         modb-legacy-answered-uncached-mark,
3143         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3144         All other related portions are changed.
3145
3146         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3147         (elmo-folder-list-messages-with-global-mark): Abolish.
3148         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3149         (elmo-folder-flag-as-important): Ditto.
3150         (elmo-folder-unflag-read): Ditto.
3151         (elmo-folder-flag-as-read): Ditto.
3152         (elmo-folder-unflag-answered): Ditto.
3153         (elmo-folder-flag-as-answered): Ditto.
3154         (elmo-message-encache): Return the cache path.
3155         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3156         (elmo-message-set-flag): Transitional implementation.
3157         (elmo-message-unset-flag): Ditto.
3158         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3159         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3160         (elmo-init): Call elmo-global-flag-initialize.
3161         (toplevel): Added autoload settings for elmo-flag.
3162
3163         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3164
3165         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3166         (elmo-file-cache-delete): Don't treat global-mark.
3167
3168         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3169
3170         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3171
3172         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3173         `elmo-global-flags-set'.
3174
3175         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3176         `flag'.
3177         (elmo-folder-unflag-read): Ditto.
3178         (elmo-folder-unflag-important): Ditto.
3179         (elmo-folder-flag-as-important): Ditto.
3180         (elmo-folder-unflag-answered): Ditto.
3181         (elmo-folder-flag-as-answered): Ditto.
3182
3183         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3184         `elmo-global-flags-set'.
3185         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3186
3187         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3188
3189         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3190         `flag'.
3191         (elmo-folder-flag-as-important): Ditto.
3192         (elmo-folder-unflag-important): Ditto.
3193         (elmo-folder-flag-as-important): Ditto.
3194         (elmo-folder-unflag-read): Ditto.
3195         (elmo-folder-flag-as-read): Ditto.
3196         (elmo-folder-unflag-answered): Ditto.
3197         (elmo-folder-flag-as-answered): Ditto.
3198
3199         * elmo-multi.el (elmo-folder-list-importants): Don't call
3200         elmo-folder-list-messages-with-global-mark.
3201         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3202         (elmo-folder-unflag-important): Ditto.
3203         (elmo-folder-flag-as-read): Ditto.
3204         (elmo-folder-unflag-read): Ditto.
3205         (elmo-folder-flag-as-answered): Ditto.
3206         (elmo-folder-unflag-answered): Ditto.
3207
3208         * elmo-msgdb.el (elmo-msgdb-new-mark,
3209         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3210         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3211         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3212         (Moved to modb-legacy.el).
3213         (elmo-flag-table-get): Treat important flag too.
3214
3215         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3216         `mark' to `flag'.
3217         (elmo-map-folder-flag-as-important): Ditto.
3218         (elmo-map-folder-unflag-read): Ditto.
3219         (elmo-map-folder-flag-as-read): Ditto.
3220         (elmo-map-folder-unflag-answered): Ditto.
3221         (elmo-map-folder-flag-as-answered): Ditto.
3222         (elmo-folder-unflag-important): Ditto.
3223         (elmo-folder-flag-as-important): Ditto.
3224         (elmo-folder-unflag-read): Ditto.
3225         (elmo-folder-flag-as-read): Ditto.
3226         (elmo-folder-unflag-answered): Ditto.
3227         (elmo-folder-flag-as-answered): Ditto.
3228
3229         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3230         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3231         `flag'.
3232         (elmo-map-folder-unflag-important): Ditto.
3233         (elmo-map-folder-flag-as-read): Ditto.
3234         (elmo-map-folder-unflag-read): Ditto.
3235         (elmo-map-folder-flag-as-answered): Ditto.
3236         (elmo-map-folder-unflag-answered): Ditto.
3237
3238         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3239         `elmo-global-flags-set'.
3240         (elmo-global-flags-set): Added autoload setting.
3241
3242         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3243         `flag'.
3244
3245         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3246         `elmo-msgdb-global-mark-set'.
3247         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3248         Call `elmo-global-flags-set'.
3249         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3250         `flag'.
3251         (elmo-folder-flag-as-important-plugged): Ditto.
3252         (elmo-folder-unflag-read-plugged): Ditto.
3253         (elmo-folder-flag-as-read-plugged): Ditto.
3254         (elmo-folder-unflag-answered-plugged): Ditto.
3255         (elmo-folder-flag-as-answered-plugged): Ditto.
3256         (elmo-global-flags-set): Added autoload setting.
3257
3258         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3259         `flag'.
3260         (elmo-folder-unflag-read): Ditto.
3261         (elmo-folder-flag-as-important): Ditto.
3262         (elmo-folder-unflag-important): Ditto.
3263         (elmo-folder-flag-as-answered): Ditto.
3264         (elmo-folder-unflag-answered): Ditto.
3265
3266         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3267         change of `mark'->`flag'.
3268         (elmo-dop-queue-method-name-alist): Ditto.
3269         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3270         (elmo-folder-unflag-read-dop): Ditto.
3271         (elmo-folder-flag-as-important-dop): Ditto.
3272         (elmo-folder-unflag-important-dop): Ditto.
3273         (elmo-folder-flag-as-answered-dop): Ditto.
3274         (elmo-folder-unflag-answered-dop): Ditto.
3275
3276         * elmo-cache.el (elmo-folder-msgdb-create): Call
3277         `elmo-global-flags-set'.
3278
3279         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3280         Call `elmo-global-flags-set'.
3281         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3282         elmo-archive-parse-mmdf with argument `folder'.
3283         (elmo-archive-parse-mmdf): Added argument `folder';
3284         Call `elmo-global-flags-set'.
3285
3286         * elmo-version.el (elmo-version): Up to 2.11.14.
3287
3288 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3289
3290         * modb.el (elmo-msgdb-length): Define.
3291
3292         * elmo.el (elmo-make-folder): Fixed.
3293         (elmo-generic-folder-append-messages): Follow the API change.
3294
3295         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3296         API change.
3297
3298 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3299
3300         * modb.el: New file.
3301
3302         * modb-entity.el: Ditto.
3303
3304         * modb-legacy.el: Ditto.
3305
3306         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3307         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3308         of `elmo-msgdb-overview-get-entity'.
3309         (elmo-msgdb-get-field): Ditto.
3310         (elmo-msgdb-merge): Moved to `elmo.el'.
3311         (elmo-msgdb-length): Removed; redefine as modb method.
3312         (elmo-msgdb-change-mark): Abolish.
3313         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3314         (elmo-msgdb-match-condition): Don't use mark.
3315         (elmo-msgdb-overview-get-entity): Abolish.
3316         Split modb part into `modb*.el'.
3317
3318         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3319
3320         * elmo-shimbun.el (shimbun-mua-search-id): Use
3321         `elmo-msgdb-message-entity' instead of
3322         `elmo-msgdb-overview-get-entity'.
3323         (elmo-shimbun-folder-shimbun-header): Ditto.
3324         (elmo-shimbun-get-headers): Ditto.
3325         (elmo-shimbun-update-overview): Ditto.
3326
3327         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3328
3329         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3330
3331         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3332         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3333
3334         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3335         `elmo-msgdb-mark-to-flags'.
3336
3337         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3338         `elmo-msgdb-set-path'.
3339
3340         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3341  
3342         * elmo-version.el (elmo-version): Up to 2.11.13.
3343
3344         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3345
3346         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3347         of mark.
3348
3349 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3350
3351         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3352         mismatch.
3353
3354 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3355
3356         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3357         instead of `elmo-msgdb-get-cached'.
3358         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3359
3360         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3361         (elmo-msgdb-set-cached): Ditto.
3362         (elmo-msgdb-set-flag): Rewrite.
3363         (elmo-msgdb-unset-flag): Ditto.
3364
3365         * elmo-msgdb.el: Rewrite with luna.
3366
3367         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3368         (elmo-folder-msgdb): Follow the change above.
3369         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3370         (elmo-folder-unmark-important): Follow the API change.
3371         (elmo-folder-mark-as-important): Ditto.
3372         (elmo-folder-unmark-read): Ditto.
3373         (elmo-folder-mark-as-read): Ditto.
3374         (elmo-folder-unmark-answered): Ditto.
3375         (elmo-folder-mark-as-answered): Ditto.
3376         (elmo-folder-clear): Likewise.
3377
3378         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3379         instead of `elmo-msgdb-load' (renamed).
3380
3381         * elmo-version.el (elmo-version): Up to 2.11.12.
3382
3383 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3384
3385         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3386         change.
3387         (elmo-message-mark): Abolish.
3388         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3389         instead of `elmo-msgdb-change-mark'.
3390
3391         * elmo-pipe.el (elmo-message-mark): Abolish.
3392
3393         * elmo-multi.el (elmo-message-mark): Ditto.
3394
3395         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3396         (elmo-msgdb-unread-uncached-mark): Ditto.
3397         (elmo-msgdb-unread-cached-mark): Ditto.
3398         (elmo-msgdb-read-uncached-mark): Ditto.
3399         (elmo-msgdb-answered-cached-mark): Ditto.
3400         (elmo-msgdb-answered-uncached-mark): Ditto.
3401         (elmo-msgdb-important-mark): Ditto.
3402         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3403         `use-cache'.
3404         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3405         `flags'.
3406         (elmo-flag-table-load): Changed flag to list of flag.
3407         (elmo-flag-table-set): If flags is nil, set read flag.
3408         (elmo-flag-table-get): Return derived flags from global mark,
3409         cache status and saved flags.
3410         (elmo-msgdb-flag-table): Follow the change above.
3411         (elmo-msgdb-out-of-date-messages): New function.
3412
3413         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3414
3415         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3416
3417         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3418
3419         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3420         (elmo-nntp-msgdb-create-message): Ditto.
3421
3422         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3423
3424         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3425         independent.
3426         (elmo-folder-msgdb-create): Follow the API change.
3427
3428         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3429         (elmo-folder-append-messages): Ditto.
3430
3431         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3432         (elmo-folder-append-buffer): Ditto.
3433
3434         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3435
3436         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3437
3438         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3439         (elmo-archive-parse-mmdf): Ditto.
3440
3441         * elmo-version.el (elmo-version): Up to 2.11.11.
3442
3443 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3444
3445         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3446         `elmo-msgdb-mark'.
3447
3448         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3449
3450         * elmo-pipe.el (elmo-message-flags): Defined.
3451
3452         * elmo-multi.el (elmo-message-flags): Ditto.
3453
3454 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3455
3456         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3457         `elmo-msgdb-delete-msgs'.
3458
3459         * elmo.el (elmo-folder-count-flags): Don't use
3460         `elmo-msgdb-get-mark-alist'.
3461         (elmo-folder-detach-messages): Follow the API change.
3462
3463         * elmo.el (elmo-folder-list-messages): Append killed messages into
3464         result if `visible-only' is nil.
3465
3466         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3467         canceled messages.
3468         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3469         (elmo-folder-update-number): Likewise.
3470
3471         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3472         (elmo-pop3-sort-msgdb-by-original-number): Use
3473         `elmo-msgdb-sort-entities'.
3474
3475         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3476         (elmo-msgdb-sort-by-date): Use it.
3477         (elmo-msgdb-overview-sort-by-date): Abolish.
3478
3479         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3480
3481         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3482         (elmo-msgdb-flags): New function.
3483         (elmo-msgdb-merge): Use elmo-msgdb-append.
3484
3485         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3486         change.
3487
3488         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3489
3490         * elmo-dop.el (elmo-folder-status-dop): Use
3491         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3492
3493 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3494
3495         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3496
3497         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3498
3499         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3500
3501         * elmo-util.el (elmo-with-progress-display): New macro.
3502
3503         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3504
3505 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3506
3507         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3508         `elmo-folder-list-message-entities' instead of
3509         `elmo-msgdb-get-overview'.
3510         (elmo-map-folder-list-message-locations): Ditto.
3511
3512         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3513         methods instead of treat directly).
3514         (elmo-msgdb-clear): Ditto.
3515         (elmo-msgdb-delete-msgs): Ditto.
3516         (elmo-msgdb-sort-by-date): Ditto.
3517
3518         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3519         local variables.
3520         (elmo-nntp-folder-msgdb-create): Follow the API change.
3521
3522         * elmo-version.el (elmo-version): Up to 2.11.10.
3523
3524 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3525
3526         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3527         (elmo-msgdb-flags-to-mark): Ditto.
3528         (elmo-msgdb-append-entity): Ditto.
3529
3530         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3531         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3532         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3533         (elmo-archive-parse-mmdf): Ditto.
3534
3535         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3536
3537         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3538
3539         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3540
3541         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3542
3543         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3544
3545         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3546
3547         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3548
3549         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3550
3551         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3552         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3553         to empty msgdb.
3554
3555         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3556         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3557         instead of directly construction.
3558         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3559         instead of construct msgdb.
3560
3561         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3562         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3563         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3564         instead of construct msgdb.
3565
3566 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3567
3568         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3569         when field is from or subject.
3570
3571 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3572
3573         * elmo-multi.el (elmo-message-entity-parent): Define.
3574         (elmo-folder-search): Rewrite.
3575
3576 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3577
3578         * elmo-multi.el (elmo-message-cached-p): Define.
3579
3580         * elmo.el (elmo-message-cached-p): New method.
3581         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3582         (elmo-message-flags): New method.
3583         (elmo-message-flagged-p): New function.
3584
3585         * elmo-version.el (elmo-version): Up to 2.11.9.
3586
3587 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3588
3589         * elmo-version.el (elmo-version): Up to 2.11.8.
3590
3591         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3592
3593         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3594
3595 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3596
3597         * elmo.el (elmo-folder-detach-messages): Undo last change.
3598
3599 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3600
3601         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3602
3603         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3604         only when src folder type is pop3.
3605
3606 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3607
3608         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3609         elmo-msgdb-overview-entity-get-number instead of
3610         elmo-message-entity-number.
3611
3612 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3613
3614         * elmo-version.el (elmo-version): Up to 2.11.7.
3615
3616 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3617
3618         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3619         function.
3620
3621         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3622         (elmo-msgdb-merge): New function.
3623         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3624         (elmo-msgdb-make-index): Rewrite.
3625
3626         * elmo-version.el (elmo-version): Up to 2.11.6.
3627
3628         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3629         use it as a the path for loading message entities.
3630
3631         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3632
3633 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3634
3635         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3636         message-modified slot of itself if it does not require target msgdb.
3637
3638         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3639         if folder length is zero.
3640         (elmo-mime-display-as-is): Ditto.
3641
3642         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3643
3644         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3645
3646 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3647
3648         * elmo.el (elmo-folder-set-message-modified): New method.
3649         (elmo-generic-folder-commit): Use it.
3650         (elmo-folder-synchronize): Ditto.
3651
3652         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3653         (elmo-folder-commit): Remove duplicate definition.
3654
3655 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3656
3657         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3658
3659 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3660
3661         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3662         (elmo-strict-folder-diff): Ditto.
3663         (elmo-folder-set-info-max-by-numdb): Simplify.
3664
3665         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3666         elmo-msgdb-list-messages.
3667
3668         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3669         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3670
3671 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3672
3673         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3674         visible-only is non-nil.
3675         (elmo-folder-confirm-appends): Changed message.
3676         (elmo-folder-synchronize): Added argument disable-killed.
3677
3678         * elmo-multi.el (elmo-folder-synchronize): Added argument
3679         disable-killed.
3680
3681         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3682
3683         * elmo-version.el (elmo-version): Up to 2.11.5.
3684
3685         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3686         elmo-list-filter.
3687
3688         * elmo-util.el (elmo-list-filter): Simplify.
3689
3690         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3691         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3692         (elmo-generic-folder-diff): Abolish argument.
3693         (elmo-msgdb-load): Don't use number-alist.
3694
3695         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3696
3697         * elmo-pipe.el (elmo-folder-diff): Ditto.
3698
3699         * elmo-nmz.el (elmo-folder-diff): Ditto.
3700
3701         * elmo-net.el (elmo-folder-diff): Ditto.
3702
3703         * elmo-maildir.el (elmo-folder-diff): Ditto.
3704
3705         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3706
3707         * elmo-multi.el (elmo-folder-diff): Ditto
3708         (elmo-multi-folder-diff): Rewrite.
3709
3710 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3711
3712         * elmo-pipe.el (elmo-folder-msgdb): Define.
3713
3714 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3715
3716         * elmo.el (elmo-message-set-cached): Define as a method.
3717
3718         * elmo-pipe.el (elmo-message-set-cached): Define.
3719         (elmo-find-fetch-strategy): Ditto.
3720
3721         * elmo-multi.el (elmo-message-set-cached): Define.
3722         (elmo-find-fetch-strategy): Rewrite.
3723
3724         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3725
3726         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3727
3728 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3729
3730         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3731         instead of number-alist.
3732
3733         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3734         mark nor message-id when msgdb of source folder is not loaded.
3735
3736         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3737
3738         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3739
3740 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3741
3742         * elmo.el (elmo-folder-length): Don't require msgdb.
3743
3744 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3745
3746         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3747         (elmo-message-field): Ditto.
3748
3749         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3750         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3751         slot.
3752         (elmo-map-folder-list-answereds): Define.
3753         (elmo-maildir-list-location): Treat 'R' info.
3754         (elmo-folder-msgdb-create): Treat flag-table.
3755         (elmo-folder-append-messages): Save flag-table.
3756
3757 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3758
3759         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3760         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3761
3762 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3763
3764         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3765
3766         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3767         'read when mark is null.
3768
3769 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3770
3771         * elmo-version.el (elmo-version): Up to 2.11.4.
3772
3773 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3774
3775         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3776         (elmo-folder-mark-as-answered): Ditto.
3777
3778 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3779
3780         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3781         (elmo-pop3-get-session): Make msgdb directory after session.
3782         (elmo-folder-exists-p): Check exactly at the first time even when the
3783         elmo-pop3-exists-exactly is nil.
3784
3785         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3786         (elmo-folder-list-messages): Define instead of
3787         elmo-folder-list-messages-internal.
3788         (elmo-folder-check): Check destination folder.
3789         (elmo-folder-synchronize): Drain the pipe.
3790
3791         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3792         when msgdb is not loaded.
3793
3794         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3795
3796         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3797         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3798         messages.
3799
3800         * elmo.el (elmo-folder-kill-messages-before): New function.
3801         (elmo-folder-kill-messages): Ditto.
3802         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3803
3804         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3805         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3806         killed not by synchronize (e.g. scoring).
3807
3808 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3809
3810         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3811         treated.
3812         (elmo-folder-search): Follow the change above.
3813
3814         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3815         into the candidates of search field.
3816
3817 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3818
3819         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3820         (elmo-msgdb-unset-flag): Ditto.
3821
3822         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3823
3824 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3825
3826         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3827         (elmo-folder-commit): Define.
3828         (elmo-folder-synchronize): Ditto.
3829         (elmo-folder-list-flagged): Ditto.
3830         (elmo-folder-commit): Ditto.
3831         (elmo-folder-length): Ditto.
3832         (elmo-folder-count-flags): Ditto.
3833         (elmo-message-mark): Ditto.
3834         (elmo-message-field): Ditto.
3835         (elmo-message-entity): Ditto.
3836         (elmo-message-folder): Ditto.
3837
3838 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3839
3840         * elmo.el (elmo-message-field): Define as a method.
3841
3842         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3843         (elmo-message-field): Define.
3844
3845         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3846         (elmo-folder-list-importants): Ditto.
3847         (elmo-folder-list-answereds): Ditto.
3848
3849         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3850         qualifier.
3851         (elmo-folder-mark-as-read): Ditto.
3852         (elmo-folder-unmark-read): Ditto.
3853         (elmo-folder-mark-as-answered): Ditto.
3854         (elmo-folder-unmark-answered): Ditto.
3855         (elmo-folder-list-flagged): Define.
3856         (elmo-folder-commit): Ditto.
3857         (elmo-folder-length): Ditto.
3858         (elmo-folder-count-flags): Ditto.
3859
3860 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3861
3862         * elmo.el (elmo-folder-detach-messages): New method.
3863         (elmo-folder-move-messages): Use it.
3864         (elmo-folder-synchronize): Ditto.
3865
3866         * elmo-multi.el (elmo-folder-detach-messages): Define.
3867
3868         * elmo.el (elmo-message-copy-entity): New function.
3869         (elmo-message-entity-set-number): Ditto.
3870         (elmo-message-mark): Define as method.
3871
3872         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3873         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3874         (elmo-message-entity): Fixed last change.
3875         (elmo-message-mark): Define.
3876         (elmo-folder-msgdb-create): Abolish.
3877         (elmo-multi-folder-append-msgdb): Ditto.
3878         (elmo-multi-folder-diff): Fixed.
3879         (elmo-multi-split-number-alist): Removed.
3880         (elmo-multi-split-mark-alist): Removed.
3881         (elmo-folder-list-messages): Define.
3882         (elmo-folder-list-messages-internal): Removed.
3883
3884         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3885         local file messages.
3886         (elmo-folder-msgdb-create): Fixed read mark.
3887
3888 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3889
3890         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3891         if mark is nil.
3892
3893 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3894
3895         * elmo.el (elmo-folder-list-message-entities): Define as inline
3896         function.
3897         (elmo-folder-messages): Abolish.
3898
3899         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3900         folder.
3901         (elmo-folder-synchronize): Define.
3902         (elmo-message-entity): Define.
3903
3904 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3905
3906         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3907         elmo-imap4-session-select-mailbox.
3908
3909         * elmo.el (elmo-folder-move-messages): Don't display any message.
3910
3911         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3912         parsing.
3913         (elmo-imap4-session-check): Don't wait CHECK response.
3914         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3915
3916 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3917
3918         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3919
3920 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3921
3922         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3923         API.
3924         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3925
3926
3927         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3928         (elmo-folder-list-message-entities): Added argument in-msgdb and
3929         numbers.
3930         (elmo-folder-synchronize): Define as a method.
3931
3932         * elmo-nntp.el (elmo-folder-initialize): Don't use
3933         elmo-nntp-default-user if zero-length username is specified
3934         explicitly.
3935
3936 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3937
3938         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3939         server name in case with username.
3940         (XXX: this is ad-hoc fix against username includes "@", it
3941         should be solved fundamentally)
3942
3943 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3944
3945         * elmo-nntp.el (elmo-nntp-debug): New function.
3946         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3947         (elmo-network-authenticate-session): Hide auth-info from the log.
3948
3949         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3950         user name if it is equal to elmo-nntp-default-user.
3951
3952 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3953
3954         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3955         instead of shimbun-server-internal;
3956         Use shimbun-current-group instead of shimbun-current-group-internal.
3957         (elmo-folder-plugged-p): Use shimbun-server instead of
3958         shimbun-server-internal.
3959         (elmo-folder-set-plugged): Ditto.
3960         (elmo-net-port-info): Ditto.
3961         (elmo-folder-check): Ditto.
3962         (elmo-folder-expand-msgdb-path): Ditto.
3963         (elmo-folder-list-subfolders): Ditto.
3964
3965 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3966
3967         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3968         Convert field-name to lower case.
3969         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3970
3971 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3972
3973         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3974         `message' and `error' take format string.
3975
3976 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3977
3978         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3979
3980 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3981
3982         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3983         recursive call (can't byte compile on emacs 20.7).
3984
3985 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3986
3987         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3988         (elmo-folder-list-message-entities): New API.
3989         (elmo-message-entity): Ditto.
3990         (elmo-message-entity-parent): Ditto.
3991         (elmo-folder-do-each-message-entity): Ditto.
3992         (elmo-message-entity-number): Ditto.
3993         (elmo-message-entity-field): Ditto.
3994         (elmo-message-entity-set-field): Ditto.
3995         (elmo-folder-count-flags): Ditto.
3996         (elmo-folder-length): Ditto.
3997
3998         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3999         not.
4000
4001         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4002         (elmo-msgdb-count-marks): Abolish.
4003         (elmo-msgdb-make-entity): Ditto.
4004         (elmo-msgdb-do-each-entity): Ditto.
4005         (elmo-msgdb-message-entity): New inline function.
4006         (elmo-msgdb-message-entity-field): Ditto.
4007         (elmo-msgdb-message-entity-set-field): Ditto.
4008         (elmo-msgdb-make-message-entity): New function.
4009
4010 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4011
4012         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4013         to flag. (All other related portions are changed.)
4014         (elmo-folder-msgdb-create): Likewise.
4015         (elmo-generic-folder-append-messages): Use flag-table instead of
4016         seen-list.
4017         (elmo-folder-move-messages): Removed redundant process.
4018         (elmo-folder-synchronize): Likewise.
4019
4020         * elmo-msgdb.el (elmo-flag-table-get): New function.
4021         (elmo-flag-table-save): Fixed.
4022         (elmo-msgdb-length): New inline function.
4023         (elmo-msgdb-flag-table): New function.
4024         (elmo-msgdb-mark): Add optional argument new.
4025         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4026         (elmo-msgdb-seen-list): Ditto.
4027         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4028
4029
4030 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4031
4032         * elmo.el (elmo-message-set-mark): Abolish.
4033         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4034         (All related portions are changed.)
4035
4036         * elmo-msgdb.el (toplevel): Added comment.
4037         (elmo-load-msgdb): Added 4th element `path'.
4038         (elmo-msgdb-append): Follow the change above.
4039         (elmo-msgdb-clear): Ditto.
4040         (elmo-msgdb-delete-msgs): Ditto.
4041         (elmo-msgdb-get-path): New inline function.
4042         (elmo-msgdb-set-path): Ditto.
4043         (elmo-flag-table-filename): New variable.
4044         (elmo-flag-table-load): New function.
4045         (elmo-flag-table-set): Ditto.
4046         (elmo-flag-table-save): Ditto.
4047         (elmo-msgdb-get-field-value): Abolish.
4048         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4049
4050 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4051
4052         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4053         the folder has been deleted successfully.
4054         * elmo-imap4.el (elmo-folder-delete): Ditto.
4055         * elmo-archive.el (elmo-folder-delete): Ditto.
4056         * elmo-localdir.el (elmo-folder-delete): Ditto.
4057         * elmo-maildir.el (elmo-folder-delete): Ditto.
4058
4059 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4060
4061         * elmo-util.el (elmo-string-member-ignore-case): New function.
4062         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4063         (elmo-imap4-fetch-callback-1-subr): Likewise.
4064
4065 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4066
4067         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4068         the case of the name attribute "\Noselect".
4069
4070 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4071
4072         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4073
4074         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4075         flist, is not always a member of onum-alist.
4076
4077 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4078
4079         * elmo-version.el (elmo-version): Up to 2.11.3.
4080
4081 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4082
4083         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4084         copied from localdir's one.
4085
4086         * elmo-pipe.el (elmo-folder-rename): New method, rename
4087         destination folder with leaving source folder as it is.
4088
4089 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4090
4091         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4092         replace-regexp.
4093
4094 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4095
4096         * elmo-version.el (elmo-version): Up to 2.11.2.
4097
4098 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4099
4100         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4101         shimbun-open in case of "@".
4102         (elmo-folder-open-internal): Cope with shimbun = nil case.
4103         (elmo-folder-plugged-p): Ditto.
4104         (elmo-folder-list-subfolders): Make list for "@/" group.
4105
4106 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4107
4108         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4109         mailbox (e.g. for %~/something).
4110
4111 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4112
4113         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4114         Replace nested conditional with guard clauses.
4115
4116 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4117
4118         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4119         error [wl:11327].
4120
4121         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4122         print-depth.
4123
4124 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4125
4126         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4127         Replace nested conditional with guard clauses.
4128
4129 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4130
4131         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4132         (elmo-passwd-alist-save): Ditto.
4133         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4134
4135 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4136
4137         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4138         dir-name only if it is absolute path.
4139         (TODO: distinguish +/something and +something)
4140
4141 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4142
4143         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4144         path for "+~/something".
4145
4146 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4147
4148         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4149         as non-directory, cause error before rename-file.
4150         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4151         apropriately, mimic localdir's one.
4152         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4153
4154 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4155
4156         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4157
4158 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4159
4160         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4161
4162         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4163         
4164         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4165         is included in the global-mark or not.
4166
4167 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4168
4169         * utf7.el (toplevel): Avoid error when the function
4170         find-coding-system does not exist.
4171
4172 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4173
4174         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4175         cache even if the folder is plugged.
4176         (elmo-nntp-search-primitive): Do nothing when body search is
4177         invoked (although it is not used by the change above).
4178         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4179
4180 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4181
4182         * elmo-version.el (elmo-version): Up to 2.11.1.
4183
4184 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4185
4186         * elmo-archive.el: Specify charset.
4187
4188 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4189
4190         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4191         process buffer lives or not.
4192
4193         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4194         while flushing queues (It causes infinite loop).
4195
4196 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4197
4198         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4199
4200 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4201
4202         * utf7.el (toplevel): Check the ucs features dynamically.
4203         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4204
4205         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4206         folder is creatabe or not if it already exists.
4207
4208 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4209
4210         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4211
4212         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4213
4214         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4215         (elmo-imap4-read-response): Take care of garbage response.
4216
4217 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4218
4219         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4220         just return nil instead of error.
4221
4222 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4223
4224         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4225         search-key is "body".
4226
4227 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4228
4229         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4230         of elmo-string-matched-assoc to use match-data.
4231         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4232
4233 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4234
4235         * elmo-split.el (elmo-split->): New function.
4236         (elmo-split-<): Ditto.
4237
4238 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4239
4240         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4241         workaround for invalid message-id.
4242
4243 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4244
4245         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4246         return normal pop3 session or pop3 biff session.
4247
4248 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4249
4250         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4251         info part to the cur files when the new files already have it.
4252         (Adviced by Jared Rhine <jared@wordzoo.com>)
4253
4254 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4255
4256         * elmo-split.el (elmo-split-default-action): New variable.
4257         (elmo-split-subr): Use it if all other conditions are passed.
4258         Extend `fname' and rename it as `action'. (implemented
4259         Teranishi-san's idea in [wl:10800])
4260
4261 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4262
4263         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4264         * elmo-util.el: Ditto.
4265
4266 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4267
4268         * elmo.el (elmo-message-accessible-p): Renamed from
4269         elmo-message-cached-p and rewritten.
4270
4271 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4272
4273         * elmo.el (elmo-folder-list-flagged): New generic function.
4274         (elmo-folder-list-importants): New implementation.
4275         (elmo-folder-list-answereds): Ditto.
4276         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4277         Added 'digest'.
4278         (elmo-message-cached-p): New function.
4279         (elmo-message-set-flag): Ditto (no content).
4280         (elmo-message-unset-flag): Ditto.
4281         (elmo-folder-list-messages-mark-match): Abolish.
4282
4283         * elmo-util.el (elmo-regexp-opt): New function.
4284
4285         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4286         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4287         Added 'digest'.
4288         (elmo-msgdb-list-flagged): New function.
4289
4290         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4291         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4292         Added 'digest'.
4293
4294         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4295
4296 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4297
4298         * elmo-version.el (elmo-version): Up to 2.11.0.
4299
4300 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4301
4302         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4303         `elmo-file-cache-exists-p'; use proper mark that depends on
4304         `use-cache'.
4305         (elmo-msgdb-unset-flag): Ditto.
4306         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4307
4308         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4309         with 4th argument `use-cache'.
4310
4311 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4312
4313         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4314         (elmo-folder-mark-as-important): Ditto.
4315         (elmo-folder-unmark-read): Ditto.
4316         (elmo-folder-mark-as-read): Ditto.
4317         (elmo-folder-unmark-answered): Ditto.
4318         (elmo-folder-mark-as-answered): Ditto.
4319
4320         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4321         message status.
4322         (elmo-msgdb-mark): Likewise.
4323         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4324         (elmo-msgdb-unset-flag): Likewise.
4325
4326         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4327
4328 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4329
4330         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4331         `last:' filter.
4332
4333 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4334
4335         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4336         set spool-length to 0.
4337
4338 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4339
4340         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4341         (elmo-dop-queue-flush): Fixed last change.
4342
4343 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4344
4345         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4346         if require-msgdb slot is nil.
4347         (elmo-folder-list-importants): Likewise.
4348
4349 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4350
4351         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4352         mark is changed.
4353
4354         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4355         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4356         is changed.
4357
4358 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4359
4360         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4361
4362 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4363
4364         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4365
4366         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4367
4368 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4369
4370         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4371         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4372
4373 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4374
4375         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4376         the problem reported by Sean Rima [wl-en:180].
4377
4378 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4379
4380         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4381
4382         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4383
4384         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4385
4386         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4387
4388         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4389
4390         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4391
4392         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4393
4394 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4395
4396         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4397         status number.
4398
4399 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4400
4401         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4402         (elmo-folder-mark-as-read): Follow the API change.
4403         (elmo-message-set-cached): New function.
4404
4405         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4406
4407         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4408
4409         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4410         (elmo-folder-mark-as-important): Ditto.
4411         (elmo-folder-unmark-read): Ditto.
4412         (elmo-folder-mark-as-read): Ditto.
4413         (elmo-folder-unmark-answered): Ditto.
4414         (elmo-folder-mark-as-answered): Ditto.
4415
4416         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4417         (elmo-folder-unmark-important): Ditto.
4418         (elmo-folder-mark-as-read): Ditto.
4419         (elmo-folder-unmark-read): Ditto.
4420         (elmo-folder-mark-as-answered): Ditto.
4421         (elmo-folder-unmark-answered): Ditto.
4422
4423         * elmo-mark.el (toplevel): Removed some mark method definitions.
4424
4425         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4426         (elmo-map-folder-mark-as-answered): Ditto.
4427         (elmo-folder-unmark-important): Add :before qualifier.
4428         (elmo-folder-mark-as-important): Ditto.
4429         (elmo-folder-unmark-read): Ditto.
4430         (elmo-folder-mark-as-read): Ditto.
4431         (elmo-folder-unmark-answered): Define.
4432         (elmo-folder-mark-as-answered): Ditto.
4433
4434         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4435         (elmo-map-folder-unmark-answered): Ditto.
4436
4437         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4438
4439         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4440         (elmo-folder-mark-as-important): Ditto.
4441         (elmo-folder-unmark-read): Ditto.
4442         (elmo-folder-mark-as-read): Ditto.
4443         (elmo-folder-unmark-answered): Ditto.
4444         (elmo-folder-mark-as-answered): Ditto.
4445
4446         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4447         `mark'; evaluate mark condition.
4448         (elmo-msgdb-match-condition-internal): New function.
4449         (elmo-msgdb-match-condition): Call it; changed argument.
4450
4451         * elmo.el (elmo-folder-search): Follow the API change on
4452         `elmo-msgdb-match-condition'.
4453
4454 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4455
4456         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4457         original mark is non-nil.
4458
4459 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4462         (elmo-map-folder-list-answereds): New method.
4463         (elmo-folder-list-unreads): Add :around qualifier.
4464         (elmo-folder-list-importants): Ditto.
4465         (elmo-folder-list-answereds): Ditto.
4466
4467 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4468
4469         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4470
4471         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4472         method if msgdb is not required.
4473         (elmo-filter-folder-list-importants): Don't treat global-mark.
4474
4475         * elmo.el (elmo-folder-list-importants): Ditto.
4476
4477         * elmo-net.el (elmo-folder-list-importants): Ditto.
4478
4479         * elmo-map.el (elmo-folder-list-importants): Ditto.
4480
4481         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4482
4483         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4484         (elmo-imap4-folder-list-any-plugged): New function.
4485         (elmo-imap4-search-internal-primitive): Use it.
4486
4487         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4488         only when require-msgdb slot is non-nil.
4489         (elmo-folder-close): Clear target folder's msgdb.
4490
4491 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4492
4493         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4494         (elmo-pop3-msgdb-create-by-header): Ditto.
4495         (elmo-pop3-msgdb-create-message): Ditto.
4496
4497         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4498
4499         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4500
4501         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4502
4503         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4504         (elmo-folder-msgdb-create): Ditto.
4505         (elmo-nntp-folder-msgdb-create): Ditto.
4506         (elmo-nntp-msgdb-create-by-header): Ditto.
4507         (elmo-nntp-msgdb-create-message): Ditto.
4508         (elmo-folder-list-unreads): Define.
4509
4510         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4511         (elmo-folder-append-messages): Ditto.
4512         (elmo-folder-list-unreads): Define.
4513         (elmo-folder-list-importants): Ditto.
4514         (elmo-folder-list-answereds): Ditto.
4515
4516         * elmo-net.el (elmo-folder-list-unreads): Define.
4517         (elmo-folder-list-importants): Ditto.
4518         (elmo-folder-list-answereds): Ditto.
4519         (elmo-folder-list-answereds-plugged): Ditto.
4520         (elmo-folder-msgdb-create): Follow the API change.
4521         (elmo-folder-msgdb-create-unplugged): Ditto.
4522         (elmo-folder-unmark-answered): Define.
4523         (elmo-folder-mark-as-answered-unplugged): Ditto.
4524         (elmo-folder-unmark-answered-unplugged): Ditto.
4525
4526         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4527         (elmo-msgdb-unread-uncached-mark): Ditto.
4528         (elmo-msgdb-unread-cached-mark): Ditto.
4529         (elmo-msgdb-read-uncached-mark): Ditto.
4530         (elmo-msgdb-answered-cached-mark): Ditto.
4531         (elmo-msgdb-answered-uncached-mark): Ditto.
4532         (elmo-msgdb-important-mark): Ditto.
4533         (elmo-msgdb-set-mark): Rewrite.
4534         (elmo-msgdb-count-marks): Rewrite.
4535         (elmo-msgdb-mark-alist-set): Abolish.
4536         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4537         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4538
4539         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4540         (elmo-folder-close): Define.
4541         (elmo-folder-msgdb-create): Follow the API change.
4542         (elmo-folder-list-unreads): Rewrite.
4543         (elmo-folder-mark-as-important): Ditto.
4544         (elmo-folder-unmark-important): Ditto.
4545         (elmo-folder-mark-as-read): Ditto.
4546         (elmo-folder-unmark-read): Ditto.
4547         (elmo-folder-mark-as-answered): Define.
4548         (elmo-folder-unmark-answered): Ditto.
4549
4550         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4551         (elmo-folder-append-messages): Ditto.
4552
4553         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4554
4555         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4556         (elmo-folder-list-importants): Ditto.
4557
4558         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4559         (elmo-folder-append-messages): Ditto.
4560
4561         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4562         change.
4563         (elmo-folder-msgdb-create-plugged): Ditto.
4564         (elmo-folder-append-messages): Ditto.
4565         (elmo-folder-list-answereds-plugged): Define.
4566         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4567         (elmo-folder-unmark-answered-plugged): Define.
4568         (elmo-folder-mark-as-answered-plugged): Ditto.
4569         (elmo-folder-search-requires-msgdb-p): Ditto.
4570
4571         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4572         (elmo-folder-initialize): Set it.
4573         (elmo-folder-msgdb): Define.
4574         (elmo-folder-check): Call elmo-folder-synchronize.
4575         (elmo-folder-close): Define.
4576         (elmo-folder-commit): Ditto.
4577         (elmo-folder-msgdb-create): Rewrite.
4578         (elmo-folder-list-unreads): Ditto.
4579         (elmo-folder-list-importants): Ditto.
4580         (elmo-folder-mark-as-read): Ditto.
4581         (elmo-folder-unmark-read): Ditto.
4582         (elmo-folder-mark-as-important): Ditto.
4583         (elmo-folder-unmark-important): Ditto.
4584         (elmo-folder-mark-as-answered): Define.
4585         (elmo-folder-unmark-answered): Ditto.
4586
4587         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4588         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4589         (elmo-dop-queue-method-name-alist): Likewise.
4590         (elmo-folder-mark-as-answered-dop): New inline function.
4591         (elmo-folder-unmark-answered-dop): Ditto.
4592         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4593
4594         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4595         (elmo-folder-msgdb-create): Ditto.
4596         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4597         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4598         (elmo-archive-parse-mmdf): Ditto.
4599
4600         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4601         (elmo-folder-list-unreads-internal): Ditto.
4602
4603         * elmo.el (elmo-folder-msgdb): Define as generic function.
4604         (elmo-folder-list-messages): Added argument `in-msgdb'.
4605         (elmo-folder-list-unreads): Define as generic function.
4606         (elmo-folder-list-importants): Ditto.
4607         (elmo-folder-list-answereds): Ditto.
4608         (elmo-folder-list-messages-with-global-mark): New function.
4609         (elmo-folder-msgdb-create): Removed mark arguments.
4610         (elmo-folder-unmark-answered): New generic function.
4611         (elmo-folder-mark-as-answered): Ditto.
4612         (elmo-folder-append-messages): Removed argunment `unread-marks'
4613         (elmo-folder-list-unreads-internal): Abolish.
4614         (elmo-folder-list-importants-internal): Ditto.
4615         (elmo-folder-search-requires-msgdb-p): New generic function.
4616         (elmo-folder-search-requires-msgdb-p-internal): New function.
4617         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4618         elmo-msgdb-load.
4619         (elmo-folder-search-fast): Added key 'mark'.
4620         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4621         instead of unread-marks argument.
4622         (elmo-folder-move-messages): Removed argunment `unread-marks'
4623         (elmo-folder-unmark-important): Define.
4624         (elmo-folder-mark-as-important): Ditto.
4625         (elmo-folder-unmark-read): Ditto.
4626         (elmo-folder-mark-as-read): Ditto.
4627         (elmo-folder-unmark-answered): Ditto.
4628         (elmo-folder-mark-as-answered): Ditto.
4629         (elmo-folder-replace-marks): Abolish.
4630         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4631         duplicates.
4632         (elmo-folder-synchronize): Removed mark arguments;
4633         return crosspost only number.
4634
4635 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4636
4637         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4638         Remove redundunt connectivity check.
4639
4640 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4641
4642         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4643         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4644
4645 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4646
4647         * pldap.el (ldap-decode-string): Return string as-is if
4648         `ldap-coding-system' is nil.
4649         (ldap-encode-string): Ditto.
4650         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4651         (ldap-default-host): Fixed docstring.
4652
4653 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4654
4655         * elmo-util.el (elmo-warning): Define as a macro which uses
4656         `display-warning' if it is defined as a function.
4657
4658         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4659         (elmo-split-equal): Use it.
4660         (elmo-split-match): Ditto.
4661         (elmo-split-message-entity): New buffer-local variable.
4662         (elmo-split-subr): Set it.
4663
4664         * elmo-version.el (elmo-version): Up to 2.9.15.
4665
4666 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4667
4668         * elmo-imap4.el (elmo-network-initialize-session):
4669         Check capability after starttls.
4670
4671 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4672
4673         * elmo-util.el (elmo-list-delete): Added optional argument
4674         DELETE-FUNCTION.
4675
4676         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4677
4678         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4679
4680         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4681
4682         * elmo-imap4.el (elmo-folder-initialize): Don't use
4683         elmo-imap4-default-mailbox.
4684
4685 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4686
4687         * elmo-split.el (toplevel): Use `product-provide'.
4688         (elmo-split): Checkdoc.
4689
4690 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4691
4692         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4693         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4694         the function `elmo-imap4-debug-1'.
4695
4696 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4697
4698         * elmo-split.el (elmo-split): Moved to run hooks and to show
4699         message from elmo-split-subr.
4700         (elmo-split-subr): Follow the change above.
4701
4702         * elmo-split.el (elmo-split-subr): New function (renamed from
4703         elmo-split-subr).
4704         (elmo-split): Changed to call elmo-split-subr by element of
4705         elmo-split-folder.
4706         (elmo-split-folder): Changed customization type to choice.
4707
4708 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4709
4710         * elmo-split.el (elmo-split-and): Fixed condition.
4711
4712 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4713
4714         * elmo-split.el: New file.
4715         (elmo-split): Fixed logic.
4716         Display "Test:" instead of "Folder:" when reharsal.
4717
4718         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4719         explicitly.
4720
4721         * elmo-version.el (elmo-version): Up to 2.9.14.
4722
4723         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4724         wl-expand-newtext).
4725
4726 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4727
4728         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4729         message with no message-id field.
4730
4731 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4732
4733         * elmo-version.el (elmo-version): Up to 2.9.13.
4734
4735         * elmo-dop.el (elmo-folder-status-dop): Fix.
4736
4737 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4738
4739         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4740
4741         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4742         changing default value of default-mime-charset.
4743         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4744
4745         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4746
4747         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4748         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4749         instead of elmo-dop-queue-method-name-alist to check merging queue.
4750         (elmo-folder-delete-messages-dop): Delete from queue if negative
4751         message number.
4752         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4753         file is already removed.
4754
4755 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4756
4757         * elmo-vars.el: Bind colon keywords for old Emacsen.
4758
4759 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4760
4761         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4762         against non-exsisting charset.
4763
4764 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4765
4766         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4767         Use eword-decode-and-unfold-unstructured-field-body.
4768
4769         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4770         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4771         exists to decode raw subject string.
4772         (toplevel): Require 'mime.
4773
4774         * elmo-version.el (elmo-version): Up to 2.9.12.
4775
4776 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4777
4778         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4779         (elmo-msgdb-set-mark): Ditto.
4780
4781         * elmo-version.el (elmo-version): Up to 2.9.11.
4782
4783 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4784
4785         * elmo-util.el (elmo-delete-match-files): New function.
4786
4787         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4788         instead of elmo-delete-directory.
4789
4790         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4791         elmo-hash-minimun-size as 63.
4792
4793         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4794         elmo-diff-unread is nil.
4795
4796         * elmo-imap4.el (elmo-folder-open): Fix.
4797
4798         * elmo.el (elmo-message-mark): Rewrite.
4799         (elmo-message-field): Ditto.
4800         (elmo-message-set-mark): Ditto.
4801         (elmo-folder-replace-marks): New function.
4802         (elmo-generic-folder-append-msgdb): Removed third argument for
4803         elmo-msgdb-append.
4804         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4805         (elmo-msgdb-load): New implementation.
4806
4807         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4808
4809         * elmo-util.el (elmo-list-insert): New implementation.
4810
4811         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4812         argument for elmo-msgdb-append.
4813         
4814
4815         * elmo-msgdb.el (elmo-load-msgdb): New function.
4816         (elmo-make-msgdb): Ditto.
4817         (elmo-msgdb-get-index): New inline function.
4818         (elmo-msgdb-set-index): Ditto.
4819         (elmo-msgdb-get-entity-hashtb): Ditto.
4820         (elmo-msgdb-get-mark-hashtb): Ditto.
4821         (elmo-msgdb-get-mark): Ditto.
4822         (elmo-msgdb-set-mark): Ditto.
4823         (elmo-msgdb-count-marks): Ditto.
4824         (elmo-msgdb-get-number): Ditto.
4825         (elmo-msgdb-get-field): Ditto.
4826         (elmo-msgdb-seen-list): Ditto.
4827         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4828         (elmo-msgdb-delete-msgs): Follow the changes above.
4829         (elmo-msgdb-overview-get-entity): Ditto.
4830         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4831         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4832         and rewritten.
4833         (elmo-msgdb-make-index): Likewise.
4834         (elmo-msgdb-append): Removed third argument.
4835         (elmo-msgdb-clear): Clear index as nil.
4836         (elmo-folder-set-info-hashtb): Removed.
4837         (elmo-folder-set-info-max-by-numdb): Ditto.
4838         (elmo-folder-info-make-hashtb): Ditto.
4839
4840         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4841
4842         * elmo-map.el (elmo-folder-pack-number): Ditto.
4843
4844 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4845
4846         * elmo-version.el (elmo-version): Up to 2.9.10.
4847
4848         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4849
4850         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4851
4852 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4853
4854         * elmo-utils.el (elmo-make-directory): Add option.
4855         Default file mode is 700.
4856
4857 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4858
4859         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4860
4861 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4862
4863         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4864         mime-charset.
4865
4866         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4867         and "smaller".
4868
4869 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4870
4871         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4872         (elmo-shimbun-folder-entity-hash): New function.
4873         (elmo-shimbun-folder-shimbun-header): Ditto.
4874         (elmo-shimbun-entity-to-header): Ditto.
4875         (elmo-shimbun-msgdb-to-headers): Removed.
4876         (elmo-shimbun-folder-setup): Ditto.
4877         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4878         for hash key.
4879         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4880         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4881         Removed useless local bind.
4882         (elmo-folder-open-internal): Don't call
4883         `elmo-shimbun-folder-setup'.
4884         (elmo-folder-close-internal): Clear entity-hash slot.
4885         (elmo-folder-clear): Ditto.
4886         (elmo-shimbun-msgdb-create-entity): Use
4887         `elmo-shimbun-folder-shimbun-header'.
4888         (elmo-map-message-fetch): Ditto.
4889         (elmo-shimbun-update-overview): Use overview entity instead of
4890         shimbun header to lookup id by references.
4891         (elmo-map-folder-list-message-locations): Use not only headers but
4892         also overviews to list locations.
4893
4894 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4895
4896         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4897         msgdb path.
4898
4899         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4900
4901 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4902
4903         * elmo-util.el (elmo-read-search-condition-internal): Give default
4904         value for date.
4905
4906 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4907
4908         * elmo-util.el (elmo-condition-parse-search-value): Accept
4909         YYYY-MM-DD format to search.
4910         * elmo-date.el (elmo-date-get-datevec): Likewise.
4911
4912 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4913
4914         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4915         debugging code.
4916
4917 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4918
4919         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4920         from t.
4921
4922         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4923
4924         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4925         case from `elmo-folder-exists-p'.
4926         (elmo-folder-exists-p): Removed.
4927         (elmo-folder-creatable-p) Ditto.
4928
4929         * elmo-net.el (elmo-folder-create): Defined.
4930         (elmo-folder-create-unplugged): New function.
4931         (elmo-folder-exists-p): Changed default value to nil from t.
4932
4933         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4934         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4935
4936         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4937         `elmo-create-folder-dop' and append queue
4938         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4939         (elmo-folder-create-dop-delayed): New function.
4940
4941         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4942
4943         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4944
4945         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4946         (elmo-folder-writable-p) : Ditto.
4947
4948         * elmo-version.el (elmo-version): Up to 2.9.9.
4949
4950 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4951
4952         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4953         `elmo-message-use-cache-p' returns nil.
4954         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4955         (ignore cache file and refer the substance in local folders)
4956
4957 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4958
4959         * elmo-version.el (elmo-version): Up to 2.9.8.
4960
4961 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4962
4963         * elmo-version.el (elmo-version): Up to 2.9.7.
4964
4965         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4966
4967 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4968
4969         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4970
4971 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4972
4973         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4974         from --early.
4975         (elmo-map-folder-list-message-locations): Reverse location list.
4976
4977 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4978
4979         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4980
4981 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4982
4983         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4984         as a key.
4985         (elmo-nntp-folder-list-subfolders): Follow the change above.
4986
4987 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4988
4989         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4990         name if authentication type is specified.
4991
4992 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4993
4994         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4995         variable.
4996         (elmo-default-nntp-stream-type): Ditto.
4997         (elmo-default-pop3-stream-type): Ditto.
4998
4999 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5000
5001         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5002
5003 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5004
5005         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5006         elmo-vars.el.
5007         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5008
5009         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5010         (elmo-maildir-folder-path): Ditto.
5011         (elmo-maildir-list): Ditto (abolished).
5012
5013 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5014
5015         * elmo-version.el (elmo-version): Up to 2.9.6.
5016
5017 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5018
5019         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5020         (elmo-maildir-folder-path): Ditto.
5021         (elmo-msgdb-directory): Ditto.
5022         (elmo-passwd-life-time): Ditto.
5023         (elmo-msgdb-extra-fields): Ditto.
5024         (elmo-enable-disconnected-operation): Ditto.
5025
5026 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5027
5028         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5029         other choices.
5030         (elmo-pop3-default-authenticate-type): Ditto.
5031
5032 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5033
5034         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5035         choices for custom.
5036         (elmo-pop3-default-authenticate-type): Ditto.
5037
5038 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5039
5040         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5041         mailbox to new-folder.
5042
5043 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5044
5045         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5046         less than new, set new as unread.
5047
5048         * elmo-util.el (elmo-string): Don't put text-property if nil.
5049
5050 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5051
5052         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5053         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5054
5055 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5056
5057         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5058         is nil on `completing-read'.
5059
5060 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5061
5062         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5063         for namespace part.
5064         (elmo-imap4-parse-namespace-subr): Ditto.
5065         (elmo-folder-list-subfolders): Append a delimiter when the specified
5066         folder path is a root with namespace and does not end with delimiter.
5067
5068 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5069
5070         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5071         was used.
5072
5073 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5074
5075         * elmo-util.el (elmo-save-buffer): The first argument of message
5076         is a format control string.
5077
5078 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5079
5080         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5081         `elmo-folder-diff').
5082         (elmo-diff-unread): Likewise.
5083
5084 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5085
5086         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5087         is t on `completing-read'.
5088
5089 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5090
5091         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5092         method of target folder with self mark-alist if MARK-ALIST is nil.
5093
5094 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5095
5096         * elmo-version.el (elmo-version): Up to 2.9.5.
5097
5098 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5099
5100         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5101         (elmo-dop-merge-funcs): Remove.
5102
5103 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5104
5105         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5106         Return t if PATH is directory, too.
5107         Use `dolist' instead of while loop.
5108
5109 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5110
5111         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5112         is deleted.
5113
5114 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5115
5116         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5117         return value to t.
5118         (elmo-folder-list-messages-unplugged): Return t if
5119         elmo-enable-disconnected-operation is nil.
5120
5121         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5122         `elmo-folder-list-messages-internal'.
5123
5124 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5125
5126         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5127         Change to looking-at `[23][0-9]+'.
5128         (elmo-network-initialize-session): Use 'error-msg'
5129         * elmo-net.el (elmo-network-open-session): Set unplugged
5130         if elmo-network-initialize-session returns 'elmo-open-err.
5131
5132 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5133
5134         * elmo-version.el (elmo-version): Up to 2.9.4.
5135
5136 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5137
5138         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5139         `elmo-folder-list-messages-internal'.
5140
5141 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5142
5143         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5144         (elmo-message-match-condition): New method.
5145         (elmo-folder-search-fast): New inline function.
5146         (elmo-msgdb-search): Removed.
5147
5148         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5149         target folder if it is unplugged.
5150         (elmo-folder-list-messages-internal): Return t if target folder is
5151         unplugged and itself is persistent; In this case, use list be
5152         searched already.
5153
5154         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5155         (elmo-msgdb-search-internal-primitive): Ditto.
5156         (elmo-msgdb-match-condition): New function.
5157         (elmo-msgdb-match-condition-primitive): Ditto.
5158
5159         * elmo-util.el (elmo-filter-condition-p): New macro.
5160
5161         * elmo-cache.el (elmo-folder-search): Removed.
5162
5163         * elmo-localdir.el (elmo-folder-search): Ditto.
5164
5165         * elmo-maildir.el (elmo-folder-search): Ditto.
5166
5167         * elmo-mark.el (elmo-folder-search): Ditto.
5168
5169         * elmo-nmz.el (elmo-folder-search): Ditto.
5170
5171         * elmo-sendlog.el (elmo-folder-search): Ditto.
5172
5173         * elmo-shimbun.el (elmo-folder-search): Ditto.
5174
5175         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5176         if folder is unplugged.
5177
5178         * elmo-nntp.el (elmo-folder-search): Likewise.
5179         (elmo-nntp-search-internal): New function.
5180
5181         * elmo-version.el (elmo-version): Up to 2.9.3.
5182
5183 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5184
5185         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5186
5187 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5188
5189         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5190
5191 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5192
5193         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5194
5195 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5196
5197         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5198         (elmo-map-folder-list-message-locations): Do drive letter conversion
5199         on Windows environment.
5200         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5201         (elmo-map-message-fetch): Ditto.
5202
5203 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5204
5205         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5206         (elmo-network-initialize-session): Ditto.
5207
5208 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5209
5210         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5211
5212         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5213
5214         * elmo-util.el (elmo-progress-clear): Ditto.
5215
5216         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5217         `DD-Mon-YYYY' type date.
5218
5219 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5220
5221         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5222         `elmo-date-make-sortable-string' instead of
5223         `timezone-make-date-sortable'.
5224
5225         * elmo-date.el (elmo-date-make-sortable-string): Use
5226         `timezone-make-time-string'.
5227
5228 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5229
5230         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5231
5232         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5233         `since'; Fix timezone.
5234
5235         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5236
5237         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5238
5239 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5240
5241         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5242
5243 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5244
5245         * elmo.el (elmo-generic-folder-append-messages): Make
5246         fetch-strategy with `use-cache' as 'maybe. Check return value of
5247         `elmo-message-fetch'.
5248         (elmo-message-fetch): Return return value of
5249         `elmo-message-fetch-with-cache-process'.
5250         (elmo-message-fetch-with-cache-process): Return non-nil if
5251         fetching was succeed. Load cache when fetching was failed and
5252         fetch-strategy-use-cache is 'maybe.
5253
5254         * elmo-util.el (elmo-file-cache-load): New function.
5255
5256         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5257         defun.
5258
5259         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5260         non-nil if fetching was succeed.
5261
5262         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5263
5264         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5265
5266         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5267         (elmo-message-fetch-with-cache-process): Likwise.
5268
5269         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5270
5271         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5272
5273         * elmo-version.el (elmo-version): Up to 2.9.2.
5274
5275 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5276
5277         * elmo.el (elmo-folder-delete): Delete msgdb path.
5278
5279         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5280
5281         * elmo-maildir.el (elmo-folder-delete): Ditto.
5282
5283         * elmo-localdir.el (elmo-folder-delete): Ditto.
5284
5285         * elmo-imap4.el (elmo-folder-delete): Ditto.
5286
5287 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5288
5289         * elmo.el (luna-define-class): Added `biff' slot.
5290
5291         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5292         (elmo-pop3-debug-inhibit-logging): Abolished.
5293         (elmo-network-close-session): Eliminated needless let.
5294         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5295         (elmo-pop3-send-command): Added `no-log' argument.
5296         (elmo-pop3-process-filter): Use `with-current-buffer'.
5297         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5298         if login failure.
5299         (elmo-pop3-auth-apop): Likewise.
5300         (elmo-network-authenticate-session): Likewise.
5301
5302         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5303         if biff folder.
5304
5305         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5306         string to determine protocol.
5307         (elmo-network-session-name-prefix): Abolished.
5308         (elmo-network-session-cache-key): Follow the change above.
5309         (elmo-network-open-session): Ditto.
5310
5311         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5312         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5313
5314         * elmo-version.el (elmo-version): Up to 2.9.1.
5315
5316         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5317         unmatch condition checking.
5318
5319         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5320         condition.
5321
5322 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5323
5324         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5325
5326 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5327
5328         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5329         test for while loop to execute at least one SEARCH command.
5330
5331 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5332
5333         * elmo-version.el (elmo-version): Up to 2.9.0.
5334
5335 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5336
5337         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5338         (elmo-archive-folder-path): Define.
5339         (elmo-folder-initialize): Setup `dir-name' slot.
5340         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5341         Use `dir-name' as prefix of each subfolders.
5342         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5343
5344 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5345
5346         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5347         (elmo-pipe-folder-list-target-messages): New internal function.
5348         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5349         `killed-list'.
5350         (elmo-pipe-folder-copied-list-load): New function.
5351         (elmo-pipe-folder-copied-list-save): Ditto.
5352         (elmo-folder-open-internal): Follow the change above.
5353         (elmo-folder-status): Fixed for copy.
5354
5355 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5356
5357         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5358
5359 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5360
5361         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5362         elmo-copy-file instead of elmo-add-name-to-file.
5363
5364         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5365
5366         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5367         "file://..." index.
5368
5369         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5370         of accept-process-output as 1.
5371         (elmo-pop3-read-contents): Ditto.
5372         (elmo-pop3-read-body): Ditto.
5373
5374 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5375
5376         * elmo-version.el (product-version-as-string): Remove define.
5377
5378 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5379
5380         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5381         (elmo-imap4-copy-messages): Chop number set using
5382         `elmo-imap4-number-set-chop-length'.
5383         (elmo-imap4-set-flag): Ditto.
5384         (elmo-imap4-search-internal-primitive): Ditto.
5385
5386 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5387
5388         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5389         `elmo-folder-make-temp-dir'
5390
5391         * elmo-vars.el (elmo-cache-directory): New variable.
5392         (elmo-cache-dir): Abolished.
5393         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5394
5395         * elmo-version.el (elmo-version): Up to 2.7.7.
5396
5397 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5398
5399         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5400         defcustom; Set default value as t.
5401
5402 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5403
5404         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5405         (ldap-search-program-arguments): Changed default value.
5406         (ldap-search-basic): Accept exit status 4.
5407         (ldap/field-body): Parse options.
5408         (ldap/collect-field): Ditto.
5409         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5410
5411         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5412         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5413         (elmo-imap4-accept-ok): Ditto.
5414         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5415         'notify-bye, only BYE error is reported.
5416         (elmo-folder-exists-p-plugged): Set no-error argument of
5417         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5418
5419         * elmo.el (elmo-imap4-bye-error): Changed message.
5420
5421         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5422         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5423         queues (It causes infinite loop).
5424
5425 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5426
5427         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5428         (RECENT UNSEEN MESSAGES) extension.
5429
5430 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5431
5432         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5433         Check number of overview fields.
5434
5435 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5436
5437         * elmo.el (elmo-folder-confirm-appends): Changed message.
5438         (elmo-folder-confirm-appends): Ditto.
5439
5440         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5441         `with-temp-buffer'.
5442         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5443
5444 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5445
5446         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5447         of elmo-folder-update-threshold is nil, which can be set by
5448         wl-summary-update-confirm-threshold.
5449
5450 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5451
5452         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5453         (elmo-nmz-index-alias-alist): Ditto.
5454         (elmo-map-folder-list-message-locations): Follow the change above.
5455
5456 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5457
5458         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5459
5460         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5461
5462         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5463
5464         * elmo-util.el (elmo-read): Ditto.
5465         (elmo-display-error): Ditto.
5466
5467         * elmo-vars.el (elmo-date-match): Ditto.
5468
5469         * pldap.el (ldap-coding-system): Ditto.
5470
5471         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5472         `elmo-inhibit-number-mapping' as nil.
5473
5474 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5475
5476         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5477         space delimiter for list response.
5478
5479 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5480
5481         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5482
5483 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5484
5485         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5486         (elmo-map-message-fetch): Fix.
5487         * elmo-map.el (elmo-folder-status): Fix for killed.
5488
5489 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5490
5491         * elmo-sendlog.el: New file.
5492         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5493
5494 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5495
5496         * acap.el (acap-logging-out): New buffer local variable.
5497         (acap-close): Set it.
5498         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5499         an error.
5500
5501 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5502
5503         * acap.el (acap-response-bye-p): New function.
5504         (acap-response-bye-message): Ditto.
5505         (acap-wait-for-response): If bye response is received, cause an error.
5506         (acap-parse-response): Make bye response when 'Bye' is received.
5507
5508 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5509
5510         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5511
5512 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5513
5514         * elmo-util.el (elmo-copy-file): Added argument
5515         `ok-if-already-exists'.
5516         (elmo-copy-file): Fixed typo.
5517
5518 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5519
5520         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5521
5522 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5523
5524         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5525
5526 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5527
5528         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5529         to killed-list.
5530
5531 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5532
5533         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5534         (elmo-folder-initialize): Fix for `copy'.
5535         (elmo-pipe-drain): Ditto.
5536         (elmo-folder-open-internal): Ditto.
5537         (elmo-folder-newsgroups): Fix.
5538
5539 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5540
5541         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5542         for each message.
5543
5544         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5545         recent value is returned from imap folder.
5546
5547         * elmo.el (elmo-folder-newsgroups): New generic function.
5548
5549         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5550         (elmo-folder-initialize): Set it.
5551         (elmo-folder-expand-msgdb-path): Use it.
5552         (elmo-folder-newsgroups): Define.
5553
5554         * elmo-filter.el (elmo-folder-newsgroups): Define.
5555
5556         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5557
5558         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5559
5560         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5561
5562 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5563
5564         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5565         user option.
5566         (elmo-shimbun-header-extra-field): New inline function.
5567         (elmo-shimbun-header-set-extra-field): Ditto.
5568         (elmo-shimbun-folder-header-hash-setup): Ditto.
5569         (elmo-shimbun-update-overview): Ditto.
5570         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5571         (elmo-shimbun-folder-setup): Use
5572         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5573         (elmo-shimbun-get-headers): Ditto.
5574         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5575         Insert `X-Shimbun-Id:' header if extra field is set.
5576         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5577         field's value instead of `shimbun-header-id'.
5578
5579         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5580         inline function.
5581         (elmo-msgdb-overview-entity-set-date): Ditto.
5582         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5583
5584 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5585
5586         * mmimap.el (mmimap-entity-section): Changed body node number from
5587         "0" to "1".
5588
5589 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5590
5591         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5592         `elmo-folder-delete-messages'.
5593
5594         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5595         (elmo-folder-initialize): Changed to expand alias into index path.
5596
5597         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5598         `elmo-mime-insert-header-from-buffer' with 6th arg
5599         `sorted-fields'.
5600
5601 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5602
5603         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5604
5605         * elmo.el (elmo-diff-new): New inline function.
5606         (elmo-diff-unread): Ditto.
5607         (elmo-diff-all): Ditto.
5608
5609         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5610         value from responseb.
5611         (elmo-imap4-folder-diff-plugged): Ditto.
5612         (elmo-imap4-server-diff-async): Added recent argument.
5613         (elmo-server-diff-async): Ditto.
5614         (elmo-imap4-folder-diff-plugged): Ditto.
5615
5616         * elmo-version.el (elmo-version): Up to 2.7.6.
5617
5618 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5619
5620         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5621         in quoted-stirng.
5622
5623 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5624
5625         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5626
5627         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5628
5629         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5630
5631         * elmo-multi.el (elmo-folder-initialize): Ditto.
5632
5633         * elmo-util.el (elmo-parse-token): New function.
5634         (elmo-parse-prefixed-element): Ditto.
5635
5636 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5637
5638         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5639         delete process.
5640         (elmo-imap4-accept-ok): Ditto.
5641
5642 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5643
5644         * mmimap.el (mime-imap-entity-header-string): Don't check first
5645         element of node-id is `0' (Follow last change).
5646
5647 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5648
5649         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5650         assigned irregular node-id to nested multipart section.
5651         (initialize-instance): Followed above change.
5652
5653 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5654
5655         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5656         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5657         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5658         `elmo-shimbun-get-headers');
5659         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5660         visible article on summary exists in headers).
5661         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5662
5663 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5664
5665         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5666         definition.
5667
5668 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5669
5670         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5671
5672 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5673
5674         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5675         header separator into loop condition.
5676
5677 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5678
5679         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5680         Return duplicate folder if it has subfolder.
5681
5682 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5683
5684         * elmo.el (elmo-make-folder): Add folder name error check.
5685
5686         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5687         (elmo-nntp-encode-group-string): New inline function.
5688         (elmo-nntp-decode-group-string): Ditto.
5689         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5690         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5691         Use `not' instead of `null';
5692         Use elmo-nntp-decode-group-string.
5693
5694         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5695
5696         * elmo-version.el (elmo-version): Up to 2.7.5.
5697
5698 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5699
5700         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5701         Hide progress gauge if `elmo-folder-move-messages' exits
5702         nonlocally.
5703
5704 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5705
5706         * elmo-imap4.el (elmo-folder-initialize): Use
5707         `elmo-imap4-encode-folder-string' for folder name.
5708
5709 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5710
5711         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5712         `done'.
5713
5714 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5715
5716         * elmo-util.el (elmo-progress-counter-alist): New internal
5717         variable.
5718         (elmo-progress-counter-value): New macro.
5719         (elmo-progress-counter-all-value): Ditto.
5720         (elmo-progress-counter-format): Ditto.
5721         (elmo-progress-counter-set-value): Ditto.
5722         (elmo-progress-set): New function.
5723         (elmo-progress-clear): Ditto.
5724         (elmo-progress-notify): Ditto.
5725
5726         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5727         counter.
5728
5729         * elmo.el (elmo-generic-folder-append-messages): Call
5730         `elmo-progress-notify'.
5731         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5732
5733         * elmo-archive.el (elmo-folder-append-messages): Call
5734         `elmo-progress-notify'.
5735
5736         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5737
5738         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5739
5740         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5741
5742 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5743
5744         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5745         'Create'.
5746         (elmo-message-encache-dop): Added argument `read'.
5747
5748         * elmo-shimbun.el (elmo-message-encache): Ditto.
5749
5750         * elmo-net.el (elmo-message-encache): Ditto.
5751
5752         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5753         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5754         elmo-imap4-seen-messages.
5755         (elmo-folder-msgdb-create-plugged): Initialize
5756         elmo-imap4-seen-messages;
5757         Set seen mark on elmo-imap4-seen-messages.
5758
5759         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5760
5761         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5762         elmo-folder-append-buffer.
5763         (elmo-folder-encache): Added optional argument `read'.
5764         (elmo-message-encache): Ditto.
5765
5766         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5767
5768         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5769
5770         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5771         if append buffer content succeds.
5772
5773 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5774
5775         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5776         elmo-display-progress.
5777
5778         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5779         Set 4th argument of mime-display-message.
5780         (elmo-mime-display-as-is): Ditto.
5781
5782 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5783
5784         * elmo-nmz.el (toplevel): Require 'mime-edit.
5785         (elmo-nmz-content-type-alist): Abolished.
5786         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5787         content is not a message.
5788         (elmo-map-message-fetch): Changed behavior exept for message content;
5789         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5790         content-type, Add From: and Subject: field.
5791
5792 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5793
5794         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5795         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5796         not a message.
5797
5798 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5799
5800         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5801         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5802
5803         * elmo-archive.el (elmo-folder-writable-p): Defined.
5804
5805         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5806
5807         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5808
5809         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5810
5811         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5812
5813         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5814
5815         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5816
5817         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5818
5819         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5820
5821 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5822
5823         * elmo-util.el (elmo-address-quote-specials): New function;
5824         Renamed from `wl-address-quote-specials'.
5825
5826 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5827
5828         * elmo-version.el (elmo-version): Up to 2.7.4.
5829
5830 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5831
5832         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5833
5834 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5835
5836         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5837         both compile-time and run-time to avoid byte-compile warning.
5838
5839 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5840
5841         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5842
5843 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5844
5845         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5846         option.
5847         (elmo-mime-display-as-is-internal): Use it.
5848
5849         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5850         if `read-passwd' is not defined.
5851
5852 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5853
5854         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5855         by original number.
5856         (elmo-folder-status): Call `elmo-folder-open-internal';
5857         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5858         (elmo-folder-close-internal): Set location-alist as nil.
5859         (elmo-folder-clear): Define.
5860         (elmo-folder-check): Don't set location-alist as nil.
5861
5862         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5863
5864 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5865
5866         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5867         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5868
5869         * mmimap.el (mime-imap-entity::requested): New slot.
5870         (mime-imap-location-fetch-entity-p): New generic function.
5871         (mime-decode-parameters): Define using `defun-maybe'.
5872         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5873         content-type structure.
5874         (mime-entity-body): Return empty body if
5875         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5876
5877         * elmo.el (elmo-message-displaying): New variable.
5878
5879         * elmo-mime.el (elmo-mime-message-display): Bind
5880         elmo-message-displaying as t.
5881
5882         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5883
5884 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5885
5886         * acap.el (acap-open): erase buffer before starting network process.
5887         (acap-store): Rewrite.
5888
5889 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5890
5891         * elmo-imap4.el (elmo-imap4-default-mailbox,
5892         elmo-imap4-default-server
5893         elmo-imap4-default-authenticate-type,
5894         elmo-imap4-default-user,
5895         elmo-imap4-default-port,
5896         elmo-imap4-default-stream-type,
5897         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5898
5899         * elmo-pop3.el (elmo-pop3-default-user,
5900         elmo-pop3-default-server,
5901         elmo-pop3-default-authenticate-type,
5902         elmo-pop3-default-port,
5903         elmo-pop3-default-stream-type,
5904         elmo-pop3-stream-type-alist): Ditto.
5905
5906         * elmo-nntp.el (elmo-nntp-default-server,
5907         elmo-nntp-default-user,
5908         elmo-nntp-default-port,
5909         elmo-nntp-default-stream-type,
5910         elmo-nntp-stream-type-alist): Ditto.
5911
5912         * elmo-vars.el: Follow changes above.
5913         (elmo-setting): New custom group; added 'elmo-setting group to
5914         above variables.
5915
5916         * elmo-version.el (elmo-version): Up to 2.7.3.
5917
5918         * acap.el (acap-parse-response): Don't delete process when BYE
5919         response (It causes hang-up on slow network environment).
5920         (toplevel): Added comment.
5921
5922 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5923
5924         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5925
5926         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5927         parsing NIL.
5928         (acap-parse-return-metadata): Ditto.
5929
5930         * slp.el: New file.
5931         (toplevel): Fixed typo.
5932
5933         * acap.el: New file.
5934         (acap-network-stream-open): Show "Connecting..." message.
5935         (acap-parse-response): Fixed problem for BYE untagged response.
5936         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5937         (toplevel): Added tiny comments.
5938
5939 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5940
5941         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5942         space delimiter for uidl response.
5943
5944 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5945
5946         * elmo-vars.el (elmo-use-semi): Eliminated.
5947
5948         * elmo-util.el (elmo-string-assoc-all): New function.
5949
5950 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5951
5952         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5953         property 'mime-preview-situation for `mime-preview-quit'.
5954
5955 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5956
5957         * elmo.el (elmo-message-fetch-with-cache-process): Call
5958         elmo-message-fetch-internal instead of causing an error when fetch
5959         strategy is 'entire but only 'section cache is available.
5960
5961 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5962
5963         * elmo-version.el (elmo-version): Up to 2.7.2.
5964
5965         * elmo.el (elmo-generic-folder-append-messages): Make
5966         fetch-strategy with `use-cache'.
5967
5968         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5969         (elmo-dop-queue-method-name): New macro.
5970
5971 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5972
5973         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5974         unbalanced parenthesis.
5975
5976 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5977
5978         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5979
5980 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5981
5982         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5983         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5984
5985 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5986
5987         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5988         local variables.
5989
5990 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5991
5992         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5993         (elmo-message-use-cache-p): Define.
5994         (elmo-folder-msgdb-create): Treat cache.
5995
5996 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5997
5998         * elmo-nntp.el (elmo-network-initialize-session): Call
5999         `elmo-nntp-send-mode-reader'.
6000         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6001
6002 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6003
6004         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6005         alist.
6006         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6007         assoc.
6008
6009         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6010         for `elmo-plugged-p'.
6011         (elmo-open-network-stream): Fixed stream-type argument.
6012
6013 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6014
6015         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6016         unknown archive type is specified.
6017
6018 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6019
6020         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6021
6022         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6023         while loading msgdb.
6024
6025         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6026         (elmo-folder-open-internal): Rewrite.
6027
6028 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6029
6030         * elmo-mime.el (elmo-mime-display-as-is-internal):
6031         Adjust buffer-multibyte status.
6032
6033 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6034
6035         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6036         of elmo-condition-find-key.
6037
6038         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6039         (elmo-condition-in-msgdb-p): Ditto.
6040         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6041         argument.
6042
6043 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6044
6045         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6046
6047 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6048
6049         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6050         label for elmo-display-progress.
6051
6052 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6053
6054         * elmo.el (elmo-folder-clear): New method.
6055         (elmo-folder-clear): Define.
6056         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6057
6058         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6059         (elmo-folder-clear): Define.
6060
6061         * elmo-map.el (elmo-folder-clear): Define.
6062
6063         * elmo-version.el (elmo-version): Up to 2.7.1.
6064
6065 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6066
6067         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6068         updates.
6069
6070 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6071
6072         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6073         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6074
6075 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6076
6077         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6078
6079         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6080         and re-written.
6081
6082         * elmo-imap4.el (elmo-folder-initialize): Use
6083         elmo-get-network-stream-type.
6084
6085         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6086
6087         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6088
6089 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6090
6091         * elmo.el (elmo-message-encache): Set unread argument for
6092         elmo-message-fetch.
6093
6094         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6095
6096         * elmo.el (elmo-net-port-info): New method.
6097
6098         * elmo-shimbun.el (elmo-net-port-info): Define.
6099         (elmo-message-encache): Ditto.
6100
6101         * elmo-net.el (elmo-net-port-info): Define as method.
6102
6103         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6104         unplugged status when elmo-enable-disconnected-operation is t.
6105
6106         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6107         of spool folder before checking new number.
6108
6109 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6110
6111         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6112         (elmo-network-setup-session): Ditto.
6113         (elmo-message-fetch-plugged): Ditto.
6114         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6115         (elmo-network-initialize-session): Ditto.
6116         (elmo-pop3-read-response): Abolish 3rd argument.
6117         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6118         (elmo-pop3-read-contents): Ditto.
6119         (elmo-pop3-read-body): Ditto.
6120         (elmo-folder-status): Call elmo-folder-close.
6121         (elmo-pop3-lock): Abolish.
6122         (elmo-pop3-unlock): Ditto.
6123         (elmo-pop3-locked-p): Ditto.
6124         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6125
6126 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6127
6128         * elmo-version.el (elmo-version): Up to 2.7.0.
6129
6130         * elmo-pop3.el (elmo-pop3-debug): New variable.
6131         (elmo-pop3-debug-inhibit-logging): Ditto.
6132         (elmo-pop3-debug): New function.
6133         (elmo-pop3-send-command): Call elmo-pop3-debug.
6134         (elmo-pop3-read-response): Added keep-lock optional argument;
6135         Don't unlock if keep-lock is non-nil.
6136         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6137         (elmo-network-authenticate-session): Bind
6138         elmo-pop3-debug-inhibit-logging as t.
6139         (elmo-network-setup-session): Call elmo-pop3-read-response with
6140         keep-lock argument.
6141         (elmo-pop3-read-msg): Ditto.
6142         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6143         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6144         (elmo-network-initialize-session): Call elmo-pop3-lock.
6145         (elmo-folder-close-internal): Don't clear location-alist slot.
6146         (elmo-folder-check): Clear location-alist slot.
6147
6148 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6149
6150         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6151         (elmo-pop3-send-command): Call elmo-pop3-lock.
6152         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6153         (elmo-pop3-read-contents): Ditto.
6154         (elmo-pop3-lock): New function.
6155         (elmo-pop3-unlock): Ditto.
6156         (elmo-pop3-locked-p): Ditto.
6157         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6158         returns t.
6159
6160 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6161
6162         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6163
6164         * elmo-util.el (elmo-file-field-primitive-condition-match):
6165         New inline function (Don't fetch file content if "first" or "last").
6166         (elmo-file-field-condition-match): Use
6167         elmo-file-field-primitive-condition-match.
6168
6169         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6170         "first".
6171
6172         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6173         (elmo-message-fetch-plugged): Fixed.
6174
6175         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6176
6177 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6178
6179         * elmo.el (elmo-folder-move-messages): Bind
6180         elmo-inhibit-display-retrieval-progress as t while moving messages.
6181
6182         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6183         New variable.
6184         (elmo-inhibit-display-retrieval-progress): Ditto.
6185
6186         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6187         for retrieval progress;
6188         Don't display progress when total buffer size is smaller than
6189         elmo-display-retrieval-progress-threshold.
6190         (elmo-message-fetch-plugged): Don't display progress when
6191         elmo-inhibit-display-retrieval-progress is non-nil.
6192
6193         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6194         for retrieval progress;
6195         Don't display progress when literal size is smaller than
6196         elmo-display-retrieval-progress-threshold.
6197         (elmo-imap4-message-fetch): Don't display progress when
6198         elmo-inhibit-display-retrieval-progress is non-nil.
6199
6200 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6201
6202         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6203         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6204         (elmo-imap4-message-fetch): Likewise.
6205
6206         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6207         (elmo-shimbun-index-range-alist): Ditto.
6208         (elmo-shimbun-use-entire-index): Abolish.
6209         (shimbun-mua-use-entire-index): Ditto.
6210         (elmo-shimbun-folder): Added new slot `range'.
6211         (elmo-folder-initialize): Setup slot `range'.
6212
6213 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6214
6215         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6216         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6217         (elmo-shimbun-get-headers): Use return value of
6218         `shimbun-article-expiration-days'.
6219         (elmo-folder-close-internal): Clean up last-check slot.
6220
6221         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6222         (elmo-pop3-total-size): New variable.
6223         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6224
6225         * elmo.el (elmo-folder-reserve-status-p): New method.
6226
6227         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6228         (elmo-shimbun-use-entire-index): New user option.
6229         (shimbun-elmo-mua): New class.
6230         (shimbun-mua-search-id): Define.
6231         (shimbun-mua-use-entire-index): Ditto.
6232         (elmo-shimbun-folder:last-check): New slot.
6233         (elmo-shimbun-headers-cache-header-list): Abolish.
6234         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6235         (elmo-shimbun-headers-cache-header-hash): Ditto.
6236         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6237         (elmo-shimbun-headers-cache-last-check): Ditto.
6238         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6239         (elmo-shimbun-headers-check-p): Rewrite.
6240         (elmo-shimbun-msgdb-to-headers): New function.
6241         (elmo-shimbun-get-headers): Rewrite.
6242         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6243         (elmo-folder-open-internal): Get headers only if
6244         `elmo-shimbun-headers-check-p' is non-nil.
6245         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6246         is non-nil.
6247         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6248         (elmo-quit): Removed.
6249
6250         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6251         function.
6252         (elmo-msgdb-overview-entity-set-extra): Ditto.
6253         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6254
6255         * elmo-map.el (elmo-folder-status): Don't call
6256         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6257         is non-nil.
6258
6259 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6260
6261         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6262         of `elmo-msgdb-search-internal-primitive' when condition's car is
6263         `and' or `or'.
6264
6265 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6266
6267         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6268
6269 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6270
6271         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6272         call `elmo-pipe-drain'.
6273
6274 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6275
6276         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6277         typo. (elmo-cache-folder -> elmo-mark-folder)
6278
6279 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6280
6281         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6282         `elmo-message-fetch'.
6283
6284 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6285
6286         * elmo-net.el (elmo-message-encache): Fixed typo.
6287         (elmo-message-fetch-unplugged): Changed call
6288         `elmo-message-fetch-internal' without argument `outbuf'.
6289
6290 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6291
6292         * elmo.el (elmo-message-encache): Define as generic function.
6293         (elmo-message-fetch-field): New generic function.
6294         (elmo-message-fetch-with-cache-process): Cause an error when
6295         fetch strategy is 'entire but only 'section cache is available.
6296         (toplevel): Fixed nmz folder definition.
6297
6298         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6299         (elmo-msgdb-resume-list-filename): Ditto.
6300         (elmo-queue-filename): Ditto.
6301         (elmo-enable-disconnected-operation): Changed default value to t.
6302
6303         * elmo-util.el (elmo-cache-path-section-p): New function.
6304         (elmo-file-cache-get): Use it.
6305         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6306         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6307         (elmo-dop-queue-save): Ditto.
6308
6309         * elmo-net.el (elmo-folder-status-unplugged): Call
6310         elmo-folder-status-dop.
6311         (elmo-folder-list-messages-unplugged): Implemented.
6312         (elmo-folder-delete-messages-unplugged): Define.
6313         (elmo-folder-msgdb-create): Define.
6314         (elmo-folder-msgdb-create-unplugged): Define.
6315         (elmo-folder-mark-as-read-unplugged): Ditto.
6316         (elmo-folder-unmark-read-unplugged): Ditto.
6317         (elmo-folder-mark-as-important-unplugged): Ditto.
6318         (elmo-folder-unmark-important-unplugged): Ditto.
6319         (elmo-message-encache): Ditto.
6320
6321         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6322         (elmo-dop-queue-save): Ditto.
6323
6324         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6325         `elmo-folder-msgdb-create'.
6326         (elmo-folder-append-buffer): Implemented unplugged operation.
6327         (elmo-folder-append-messages): Call parent method in unplugged status.
6328         (elmo-message-fetch-unplugged): Removed definition.
6329         (elmo-message-fetch-field): Implemented.
6330
6331         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6332         (elmo-dop-folder): Removed variable definition.
6333         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6334         (elmo-dop-queue-flush): Implemented.
6335         (elmo-dop-queue-merge): Removed definition (TODO).
6336         (elmo-dop-spool-folder): New function.
6337         (elmo-dop-spool-folder-append-buffer): Ditto.
6338         (elmo-dop-spool-folder-list-messages): Ditto.
6339         (elmo-dop-list-deleting-messages): Ditto.
6340         (elmo-folder-append-buffer-dop): Ditto.
6341         (elmo-folder-delete-messages-dop): Ditto.
6342         (elmo-message-encache-dop): New inline function.
6343         (elmo-create-folder-dop): Ditto.
6344         (elmo-folder-mark-as-read-dop): Ditto.
6345         (elmo-folder-unmark-read-dop): Ditto.
6346         (elmo-folder-mark-as-important-dop): Ditto.
6347         (elmo-folder-unmark-important-dop): Ditto.
6348         (elmo-folder-status-dop): Fixed.
6349         (elmo-folder-append-buffer-dop-delayed): New function.
6350         (elmo-folder-delete-messages-dop-delayed): Ditto.
6351         (elmo-dop-msgdb): Ditto.
6352
6353 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6354
6355         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6356
6357 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6358
6359         * elmo.el (elmo-folder-move-messages): Fixed problem when
6360         `dst-folder' is 'null.
6361
6362 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6363
6364         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6365         instead of current mark.
6366
6367         * elmo-multi.el (elmo-folder-list-importants-internal): No
6368         operation if importants is not list.
6369
6370         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6371         Return t if importants is not list.
6372
6373         * elmo-map.el (elmo-map-folder-list-importants): Define.
6374         (elmo-folder-list-importants-internal): Check return value of
6375         `elmo-map-folder-list-importants-internal'.
6376
6377         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6378
6379         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6380
6381         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6382
6383         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6384
6385 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6386
6387         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6388         (Patch is provided by <kita@coe.nttdata.co.jp>).
6389
6390 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6391
6392         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6393         mark folder.
6394
6395 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6396
6397         * elmo.el (elmo-message-fetch): Define.
6398         (elmo-message-fetch-with-cache-process): New generic method.
6399         (elmo-message-fetch-internal): New generic method.
6400         (elmo-folder-synchronize):
6401
6402         * elmo-archive.el (elmo-message-fetch-internal): Define.
6403         (elmo-message-fetch): Eliminated.
6404
6405         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6406         (elmo-message-fetch): Eliminated.
6407
6408         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6409         argument OUTBUF.
6410         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6411
6412         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6413         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6414
6415         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6416         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6417
6418         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6419
6420         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6421
6422         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6423
6424         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6425         (elmo-message-fetch-unplugged): New generic method.
6426         (elmo-message-fetch-internal): Remove cache process (Renamed from
6427         `elmo-message-fetch').
6428
6429         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6430         (elmo-message-fetch): Eliminated.
6431         (elmo-message-fetch-unplugged): Ditto.
6432
6433         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6434
6435 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6436
6437         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6438         of `to-be-deleted' from number-alist to number-list.
6439
6440 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6441
6442         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6443         (elmo-folder-mark-as-important): Ditto.
6444
6445 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6446
6447         * elmo.el (elmo-folder): Added process-duplicates slot.
6448
6449         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6450         (elmo-folder-unmark-read): Ditto.
6451         (elmo-folder-unmark-important): Ditto.
6452         (elmo-folder-mark-as-important): Ditto.
6453
6454         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6455         duplicated message processing.
6456
6457         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6458
6459 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6460
6461         * elmo-util.el (elmo-list-subdirectories-1): New function.
6462         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6463         (elmo-mapcar-list-of-list): New function.
6464
6465         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6466         `elmo-mapcar-list-of-list' instead of `mapcar'.
6467
6468         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6469
6470         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6471         `elmo-have-link-count'. Return the fully qualified folder name.
6472
6473 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6474
6475         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6476         (elmo-shimbun-headers-cache): New internal variable.
6477         (elmo-shimbun-headers-cache-header-list): New inline function.
6478         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6479         (elmo-shimbun-headers-cache-header-hash): Ditto.
6480         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6481         (elmo-shimbun-headers-cache-last-check): Ditto.
6482         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6483         (elmo-shimbun-lapse-seconds): Ditto.
6484         (elmo-shimbun-headers-cache-check-p): Ditto.
6485         (elmo-shimbun-get-headers): New function.
6486         (elmo-folder-open-internal): Call it.
6487         (elmo-quit): Define (Clear headers-cache).
6488
6489 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6490
6491         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6492
6493         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6494         (elmo-msgdb-flist-save): Ditto.
6495
6496         * elmo-shimbun.el (elmo-folder-list-subfolders):
6497         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6498         (elmo-folder-exists-p): Ditto.
6499
6500         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6501         argument for `shimbun-header-insert'.
6502
6503 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6504
6505         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6506         at first time.
6507
6508         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6509         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6510
6511 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6512
6513         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6514         (elmo-folder-plugged-p): Define.
6515         (elmo-folder-set-plugged): Ditto.
6516         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6517         (elmo-folder-list-messages-internal): Return t if unplugged.
6518         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6519
6520         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6521         when elmo-folder-list-messages-internal method of children returns t.
6522
6523         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6524         pair is nil.
6525         (elmo-folder-open-internal): Don't update if unplugged status.
6526
6527 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6528
6529         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6530         new message.
6531
6532 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6533
6534         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6535
6536         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6537         saving.
6538
6539 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6540
6541         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6542
6543         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6544         (elmo-folder-open-internal): Set up headers slot.
6545         (elmo-folder-check): Call elmo-folder-close-internal and
6546         elmo-folder-open-internal.
6547         (elmo-folder-close-internal): Clean up headers slot.
6548
6549 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6550
6551         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6552         exactly folder list.
6553         (elmo-folder-append-messages): Fixed append archive with prefix.
6554
6555         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6556         make temp files with start-number.
6557
6558         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6559
6560 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6561
6562         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6563         argument `visible-only'.
6564         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6565         instead of `if'.
6566
6567         * elmo-pop3.el (elmo-folder-open-internal): Check
6568         `elmo-inhibit-number-mapping' is non-nil.
6569
6570         * elmo-pipe.el (elmo-folder-status): Fixed.
6571
6572 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6573
6574         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6575
6576         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6577         (elmo-folder-open-internal): Setup `header-hash' slot.
6578         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6579         information.
6580         (elmo-map-message-fetch): Ditto.
6581
6582 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6583
6584         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6585         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6586         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6587         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6588
6589         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6590
6591 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6592
6593         * sb-airs.el: Added footer.
6594
6595         * shimbun.el (shimbun-article): Define as luna-method.
6596
6597         * sb-tcup.el: New file.
6598
6599         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6600         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6601
6602 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6603
6604         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6605         (shimbun-get-headers): Ditto.
6606
6607         * elmo.el: Moved obsolete variable definitions from
6608         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6609
6610         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6611         groups.
6612
6613         * shimbun.el: New file.
6614
6615         * elmo-shimbun.el: New file.
6616
6617         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6618         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6619         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6620         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6621
6622 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6623
6624         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6625         hierarchy is t.
6626
6627 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6628
6629         * elmo.el (elmo-folder-msgdb): Define as macro.
6630         (elmo-folder-open): Added argument `load-msgdb'.
6631         (elmo-generic-folder-open): Ditto.
6632         (elmo-folder-encache): New function.
6633
6634         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6635
6636         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6637
6638         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6639         Eliminated argument FOLDER and added argument MSGDB.
6640         (elmo-dop-queue-load): Moved from elmo-dop.el.
6641         (elmo-dop-queue-save): Ditto.
6642
6643         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6644
6645         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6646
6647         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6648         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6649         (elmo-filter-folder-list-importants-internal): Ditto.
6650
6651         * elmo-map.el (elmo-folder-pack-number): Ditto.
6652
6653         * elmo-mime.el (elmo-mime-message-display): Ditto.
6654
6655         * elmo.el (elmo-generic-folder-commit): Ditto.
6656         (elmo-folder-list-unreads): Ditto.
6657         (elmo-folder-list-importants): Ditto.
6658         (elmo-generic-folder-commit): Ditto.
6659         (elmo-message-set-mark): Ditto.
6660         (elmo-generic-folder-append-msgdb): Ditto.
6661         (elmo-folder-synchronize): Ditto.
6662         (elmo-folder-messages): Ditto.
6663         (elmo-init): Call elmo-dop-queue-load.
6664         (elmo-folder-list-messages): Ditto.
6665
6666         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6667         (elmo-nntp-folder-process-crosspost): Ditto.
6668         (elmo-folder-list-unreads-internal): Ditto.
6669
6670         * elmo-dop.el: Removed old functions.
6671
6672 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6673
6674         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6675         `folder' to `msgdb'.
6676
6677 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6678
6679         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6680         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6681
6682         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6683         case-fold-search.
6684
6685 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6686
6687         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6688         defined.
6689
6690         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6691         (mmimap-parse-parameters-from-list): Define as alias for
6692         `mime-decode-parameter-plist' if it is defined as function.
6693         (mmimap-make-mime-entity): Added argument `number'.
6694         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6695         as 0.
6696         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6697
6698         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6699
6700         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6701
6702         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6703
6704 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6705
6706         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6707
6708         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6709         when elmo-imap4-default-authenticate-type is nil.
6710         (elmo-folder-list-subfolders): Ditto
6711         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6712         (elmo-imap4-fetch-callback-1-subr): Renamed from
6713         `elmo-imap4-fetch-callback-1' and define as inline function.
6714         (elmo-imap4-fetch-callback-1):
6715         Renamed from `elmo-imap4-fetch-callback'.
6716         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6717
6718         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6719         msgdb path (To keep compatibility with main trunk).
6720
6721         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6722
6723         * elmo-util.el (elmo-make-file-cache): Moved position of
6724         some macros.
6725
6726         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6727         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6728         instead of `elmo-pop3-inhibit-uidl'.
6729         (elmo-folder-exists-p): Ditto.
6730         (elmo-pop3-folder-list-messages): Ditto.
6731
6732         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6733         instead of `elmo-pop3-inhibit-uidl'.
6734         (elmo-folder-status): Ditto.
6735
6736         * elmo-dop.el (elmo-dop-folder): New variable.
6737         (elmo-dop-lock-message): Eliminated.
6738         (elmo-dop-unlock-message): Ditto.
6739         (elmo-dop-lock-list-load): Ditto.
6740         (elmo-dop-lock-list-save): Ditto.
6741         (elmo-dop-delete-folder): Ditto.
6742         (elmo-dop-rename-folder): Ditto.
6743
6744         * elmo.el: Removed incomplete commentary.
6745
6746 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6747
6748         * elmo.el (toplevel): Require 'elmo-version first;
6749         for little `recursive-load-depth' settings.
6750         Fix "ends here" comment.
6751
6752 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6753
6754         * elmo-util.el (toplevel): Require 'poem;
6755         Some functions are moved from elmo-cache.el.
6756
6757         * elmo-net.el (toplevel): Require 'elmo-cache.
6758
6759         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6760
6761         * elmo.el (toplevel): Ditto.
6762
6763         * elmo-cache.el: Rewrite with luna;
6764         Some functions are moved to elmo-util.el.
6765
6766         * elmo-internal.el (elmo-internal-folder-list): New variable.
6767         (elmo-internal-folder-initialize): Rewrite.
6768         (elmo-folder-list-subfolders): Ditto.
6769
6770         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6771         (elmo-cache-collect-sub-directories): Ditto.
6772
6773 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6774
6775         * elmo-version.el (elmo-version): Up to 2.5.8.
6776
6777         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6778
6779         * elmo-util.el (elmo-list-insert): New function.
6780
6781 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6782
6783         * elmo.el (elmo-init): New function.
6784         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6785
6786         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6787         (Renamed from `elmo-localdir-header-chop-length').
6788
6789         * elmo-pop3.el (elmo-pop3-use-cache,
6790         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6791
6792         * elmo-nntp.el (elmo-message-fetch): Define.
6793         (elmo-message-fetch-unplugged): Ditto.
6794         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6795         (elmo-nntp-use-cache): Ditto.
6796         (elmo-nntp-max-number-precedes-list-active): Ditto.
6797
6798         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6799
6800         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6801         `elmo-msgdb-insert-file-header'.
6802         Use `elmo-msgdb-file-header-chop-length'.
6803
6804         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6805         `elmo-vars.el'.
6806
6807         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6808         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6809         `elmo-msgdb-insert-file-header'.
6810
6811         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6812         Use new variable;
6813         Define obsolete variables with `elmo-define-obsolete-variable',
6814
6815         * elmo-util.el (elmo-warning-buffer-name): New constant.
6816         (elmo-warning): New function.
6817         (elmo-obsolete-variable-alist): New variable.
6818         (elmo-obsolete-variable-show-warnings): New variable.
6819         (elmo-define-obsolete-variable): New function.
6820         (elmo-resque-obsolete-variable): Ditto.
6821         (elmo-resque-obsolete-variables): Ditto.
6822
6823 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6824
6825         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6826         Eliminated.
6827
6828         * elmo-pop3.el, elmo-nntp.el: Use custom.
6829
6830 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6831
6832         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6833         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6834
6835 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6836
6837         * Luna-fy Kenichi OKADA's following changes.
6838         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6839         `nohide'.
6840         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6841
6842 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6843
6844         * elmo-util.el (elmo-display-progress): Prefer
6845         `progress-feedback-with-label' to `lprogress-display'.
6846
6847 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6848
6849         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6850
6851 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6852
6853         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6854         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6855         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6856         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6857         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6858         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6859         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6860         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6861         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6862         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6863         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6864         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6865         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6866
6867 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6868
6869         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6870         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6871
6872 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6873
6874         * elmo.el (elmo-folder-process-crosspost): New generic method.
6875         (elmo-folder-writable-p): Ditto.
6876         (elmo-folder-message-appendable-p): Eliminated.
6877         (elmo-generic-folder-append-msgdb): Rewrite.
6878         (elmo-newsgroups-hashtb): New internal variable.
6879         (elmo-crosspost-message-set): Eliminated.
6880         (elmo-crosspost-message-delete): Ditto.
6881         (elmo-setup-subscribed-newsgroups): New function.
6882         (elmo-crosspost-message-alist-modified): New internal variable.
6883         (elmo-crosspost-message-alist-load): New function (Renamed from
6884         `wl-crosspost-alist-load').
6885         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6886         `wl-crosspost-alist-save').
6887
6888         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6889
6890         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6891         `unreads'.
6892         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6893         elmo-newsgroups-hashtb).
6894         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6895         `elmo-nntp-folder-update-crosspost-message-alist'.
6896         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6897         `elmo-nntp-groups-hashtb'.
6898         (elmo-nntp-make-groups-hashtb): Eliminated.
6899         (elmo-nntp-parse-newsgroups): New function (Renamed from
6900         `wl-parse-newsgroups').
6901         (elmo-folder-creatable-p, elmo-folder-writable-p,
6902         elmo-folder-close-internal, elmo-folder-mark-as-read,
6903         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6904         Define.
6905         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6906
6907         * elmo-net.el (elmo-message-fetch): Check buffer size.
6908
6909         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6910
6911         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6912
6913         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6914         before `close' command.
6915
6916         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6917         `mark-alist' (All other related portions are changed).
6918
6919 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6920
6921         * elmo-util.el (elmo-create-hash-size): Eliminated.
6922         (elmo-make-hash) Make a hash with `one less than a power of two'
6923         length.
6924
6925         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6926         (elmo-hash-maximum-size): Changed value.
6927
6928 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6929
6930         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6931         (elmo-mime-message-display-as-is): Ditto.
6932
6933 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6934
6935         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6936         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6937
6938 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6939
6940         * elmo-mark.el: New file.
6941
6942         * elmo-internal.el: Rewrite (Almost empty).
6943
6944 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6947         (mime-imap-entity-header-string): Ditto.
6948         (mmimap-entity-section): Rewrite.
6949
6950 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6951
6952         * elmo-nmz.el: New file.
6953
6954         * elmo-pipe.el: Rewrite with luna.
6955
6956 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6957
6958         * elmo-archive.el: Rewrite with luna.
6959
6960         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6961         (elmo-folder-list-importants-internal): Ditto.
6962
6963 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6964
6965         * elmo-archive.el (elmo-archive-version): Abolish.
6966         (toplevel) Removed `boso' comment.
6967
6968 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6969
6970         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6971         elmo-msgdb-add-msgs-to-seen-list-subr;
6972         Changed argument seen-marks to unread-marks.
6973
6974         * elmo-nntp.el: Rewrite with luna.
6975
6976 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6977
6978         * elmo-filter.el: Rewrite with luna.
6979
6980 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6981
6982         * elmo-pop3.el: Rewrite with luna.
6983
6984 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6985
6986         * elmo-multi.el: Rewrite with luna.
6987
6988         * elmo-vars.el (elmo-use-killed-list): Abolish.
6989         All other related portions are changed.
6990         (elmo-filename-replace-string-alist): Renamed from
6991         elmo-msgid-replace-string-alist.
6992
6993 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6994
6995         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6996
6997         * elmo-map.el: New file.
6998         * elmo-maildir.el: Rewrite with luna.
6999
7000 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7001
7002         * elmo.el: Changed meaning of `elmo-folder-commit'.
7003         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7004
7005 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7006
7007         * elmo.el (elmo-folder-append-buffer): New function.
7008         (Renamed from `elmo-append-msg')
7009
7010 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7011
7012         * elmo-mime.el: New file.
7013
7014 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7015
7016         * elmo-cache.el: Rewrite.
7017
7018 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7019
7020         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7021
7022 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7023
7024         * elmo-vars.el (elmo): New group.
7025         (elmo-strict-diff-folder-regexp): New variable.
7026
7027         * elmo-util.el (elmo-call-func): Abolish.
7028         (elmo-folder-get-type): Ditto.
7029         (elmo-*-get-spec): Ditto.
7030         (elmo-*-spec-*): Ditto.
7031         (elmo-imap4-identical-name-space-p): Ditto.
7032         (elmo-folder-identical-system-p): Ditto.
7033         (elmo-folder-direct-copy-alist): Ditto.
7034         (elmo-folder-direct-copy-p): Ditto.
7035
7036         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7037         (elmo-folder-initialize): Define.
7038         (elmo-folder-get-primitive-list): Ditto.
7039
7040         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7041         (elmo-folder-initialize): Define.
7042         Renamed `elmo-network-session-host-internal' to
7043         `elmo-network-session-server-internal'.
7044
7045         * elmo-multi.el (elmo-multi-folder): New luna class.
7046         (elmo-folder-initialize): Define.
7047         (elmo-folder-get-primitive-list): Ditto.
7048         (elmo-folder-contains-type): Ditto.
7049         (elmo-message-use-cache-p): Ditto.
7050
7051         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7052         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7053
7054         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7055         (elmo-folder-initialize): Define.
7056
7057         * elmo-filter.el (elmo-filter-folder): New luna class.
7058         (elmo-folder-initialize): Define.
7059         (elmo-folder-get-primitive-list): Ditto.
7060         (elmo-folder-contains-type): Ditto.
7061
7062 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7063
7064         * elmo-imap4.el: Rewrite with luna.
7065
7066         * mmimap.el: New file.
7067
7068         * mmelmo.el, mmelmo-imap4.el: Removed.
7069
7070         * elmo-net.el: Ditto.
7071
7072         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7073         (elmo-folder-initialize): Define.
7074
7075         * elmo-archive.el (elmo-archive-folder): New luna class.
7076         (elmo-folder-initialize): Define.
7077
7078         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7079         `elmo-folder-msgdb-path'.
7080         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7081         `elmo-make-folder'.
7082
7083 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7084
7085         * elmo.el: New file.
7086
7087         * elmo2.el: Renamed to elmo.el.
7088
7089 \f
7090 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7091
7092         * elmo-cache.el (elmo-cache-expire-by-size): Count
7093         a disk usage for a cache file entry in KB even when
7094         its kind is a directory.
7095
7096 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7097
7098         * elmo-version.el (elmo-version): Up to 2.5.7.
7099
7100 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7101
7102         * elmo-version.el (elmo-version): Up to 2.5.6.
7103
7104 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7105
7106         * elmo-version.el (elmo-version): Up to 2.5.5.
7107
7108 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7109
7110         * elmo-imap4.el (elmo-network-authenticate-session):
7111         Fixed a logic for response checking.
7112
7113 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7114
7115         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7116         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7117         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7118         `sasl-mechanisms'.
7119
7120         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7121         for `starttls-open-stream' and `starttls-negotiate'.
7122
7123         * elmo-nntp.el: Remove autoload settings for
7124         `starttls-open-stream' and `starttls-negotiate'.
7125
7126         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7127         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7128         `luna-define-class' with `eval-and-compile'.
7129
7130 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7131
7132         * elmo-util.el (elmo-read-search-condition-internal):
7133         Require an element of table for searching field.
7134
7135 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7136
7137         * elmo-version.el (elmo-version): Up to 2.5.4.
7138
7139 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7140
7141         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7142
7143 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7144
7145         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7146
7147 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7148
7149         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7150         before greeting.
7151
7152 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7153
7154         * elmo-imap4.el (elmo-imap4-delete-folder):
7155         Send "close" before "delete" (Use commented out line).
7156         (elmo-imap4-rename-folder): Ditto.
7157
7158         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7159         folder string itself.
7160         (elmo-dop-list-deleted): New function.
7161         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7162         killed.
7163
7164         * elmo-util.el (elmo-string-rassoc-all): New function.
7165
7166 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7167
7168         * elmo-version.el (elmo-version): Up to 2.5.3.
7169
7170         * elmo-net.el (elmo-network-get-session): Changed logic for
7171         checking process status.
7172
7173         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7174         process is nil;
7175         Changed logic for checking process status.
7176
7177 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7178
7179         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7180         before greeting.
7181         (elmo-network-setup-session): Set UIDL hash size according to
7182         the length of list response.
7183         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7184         according to the length of list response;
7185         Return the length of list response.
7186         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7187
7188 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7189
7190         * elmo-imap4.el (toplevel): Require 'ssl.
7191         Add autoload 'starttls.
7192         * elmo-pop3.el (toplevel): Ditto.
7193         * elmo-nntp.el (toplevel): Ditto.
7194
7195 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7196
7197         * elmo-imap4.el (toplevel): defun at compile time.
7198         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7199         sasl-next-step, sasl-step-data, sasl-step-set-data.
7200         * elmo-pop3.el (toplevel): Ditto.
7201
7202 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7203
7204         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7205
7206 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7207
7208         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7209         if error.
7210         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7211         and `elmo-pop-auth-apop'.
7212
7213 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7214
7215         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7216
7217 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7218
7219         * elmo-pop3.el (elmo-network-authenticate-session): Split
7220         encoded response value.
7221
7222 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7223
7224         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7225         `elmo-pop3-force-login'.
7226         Redefine `sasl-mechanisms'.
7227         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7228
7229 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7230
7231         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7232         Delete `elmo-imap4-authenticator-alist'.
7233         (elmo-imap4-auth-cram-md5): Delete.
7234         (elmo-imap4-auth-digest-md5): Delete.
7235
7236 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7237
7238         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7239         (elmo-pop3-auth-scram-md5): Ditto.
7240         (elmo-pop3-auth-cram-md5): Ditto.
7241
7242 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7243
7244         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7245         Delete `elmo-pop3-authenticator-alist'.
7246
7247 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7248
7249         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7250         new SASL API.
7251         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7252
7253 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7256
7257 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7258
7259         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7260         Fixed problem when `elmo-pop3-use-uidl' is nil.
7261         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7262
7263 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7264
7265         * elmo-version.el (elmo-version): Up to 2.5.2.
7266
7267 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7268
7269         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7270         New function.
7271         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7272         (elmo-pop3-msgdb-create-as-numlist): Use it.
7273
7274         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7275         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7276
7277         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7278         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7279
7280 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7281
7282         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7283         when elmo-mark-as-read is called with second argument nil.
7284
7285 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7286
7287         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7288         Moved to elmo-util.el.
7289
7290         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7291         Moved from elmo-pipe.el
7292
7293         * elmo-archive.el (elmo-archive-call-process): Enclose with
7294         static-if.
7295
7296         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7297         "RFC822" (because RFC822.PEEK is obsolete).
7298         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7299
7300 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7301
7302         * elmo-archive.el (elmo-archive-call-process): Don't check for
7303         the exit status when Nemacs is running.
7304
7305 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7306
7307         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7308         'plain.
7309
7310         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7311         (elmo-pop3-get-spec): Set default of auth to 'user.
7312
7313         * elmo-imap4.el (elmo-imap4-session-check):
7314         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7315         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7316         (elmo-imap4-auth-login): New function; Revival.
7317         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7318         `elmo-imap4-auth-login'.
7319
7320 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7321
7322         * elmo2.el (toplevel): Move `product-provide' declare.
7323         * mmelmo.el (toplevel): Ditto.
7324
7325 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7326
7327         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7328
7329 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7330
7331         * elmo-util.el (elmo-folder-get-store-type): New function.
7332         (elmo-folder-direct-copy-p): Use it.
7333
7334 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7335
7336         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7337         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7338         and result of `elmo-imap4-use-flag-p'.
7339         (elmo-imap4-fetch-callback-1): Set mark according to
7340         the result of `elmo-imap4-use-flag-p'.
7341
7342 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7343
7344         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7345         (elmo-generic-list-folder-unread): Ditto.
7346         (elmo-folder-get-info): Ditto.
7347         (elmo-folder-set-info-max-by-numdb): Ditto.
7348         (elmo-folder-get-info-max): Ditto.
7349         (elmo-folder-get-info-length): Ditto.
7350         (elmo-folder-get-info-unread): Ditto.
7351         (elmo-folder-info-make-hashtb): Ditto.
7352
7353         * elmo2.el: Removed above functions.
7354
7355 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7356
7357         * elmo-imap4.el (toplevel): Require 'ssl.
7358         Add autoload 'starttls.
7359         * elmo-pop3.el (toplevel): Ditto.
7360         * elmo-nntp.el (toplevel): Ditto.
7361
7362 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7363
7364         * elmo-imap4.el (toplevel): defun at compile time.
7365         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7366         sasl-next-step, sasl-step-data, sasl-step-set-data.
7367         * elmo-pop3.el (toplevel): Ditto.
7368
7369 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7370
7371         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7372
7373 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7374
7375         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7376         if error.
7377         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7378         and `elmo-pop-auth-apop'.
7379
7380 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7381
7382         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7383
7384 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7385
7386         * elmo-pop3.el (elmo-network-authenticate-session): Split
7387         encoded response value.
7388
7389 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7390
7391         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7392         `elmo-pop3-force-login'.
7393         Redefine `sasl-mechanisms'.
7394         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7395
7396 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7397
7398         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7399         Delete `elmo-imap4-authenticator-alist'.
7400         (elmo-imap4-auth-cram-md5): Delete.
7401         (elmo-imap4-auth-digest-md5): Delete.
7402
7403 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7404
7405         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7406         (elmo-pop3-auth-scram-md5): Ditto.
7407         (elmo-pop3-auth-cram-md5): Ditto.
7408
7409 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7410
7411         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7412         Delete `elmo-pop3-authenticator-alist'.
7413
7414 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7415
7416         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7417         new SASL API.
7418         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7419
7420 \f
7421 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7422
7423         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7424
7425 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7426
7427         * elmo-nntp.el (elmo-nntp-get-folders-info):
7428         Fixed problem when '\' character is contained in user-id.
7429         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7430
7431 \f
7432 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7433
7434         * elmo-imap4.el (elmo-imap4-delete-folder):
7435         Send "close" before "delete" (Use commented out line).
7436         (elmo-imap4-rename-folder): Ditto.
7437
7438         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7439         folder string itself.
7440         (elmo-dop-list-deleted): New function.
7441         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7442         killed.
7443
7444         * elmo-util.el (elmo-string-rassoc-all): New function.
7445
7446         * elmo-version.el (elmo-version): Up to 2.5.1.
7447
7448 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7449
7450         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7451
7452         * elmo-internal.el (elmo-internal-search): Fix last change.
7453
7454 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7455
7456         * elmo-internal.el (elmo-internal-search): Rewrite.
7457         (Fixed problem which is pointed out by Akihiro MOTOKI
7458         <motoki@da.jp.nec.com>)
7459
7460         * elmo-version.el (elmo-version): Up to 2.5.0.
7461
7462 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7463
7464         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7465
7466 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7467
7468         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7469         non-nil, make hierarchy.
7470
7471 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7472
7473         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7474         `elmo-pop3-use-uidl' must be bound to nil.
7475         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7476
7477 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7478
7479         * elmo-util.el (elmo-copy-file): Don't cause an error after
7480         `add-name-to-file' failed.
7481
7482         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7483         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7484
7485 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7486
7487         * elmo-version.el (elmo-version): Up to 2.3.93.
7488
7489 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7490
7491         * elmo-util.el (elmo-flatten): New function.
7492
7493 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7494
7495         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7496         sync Author header.
7497         * elmo-cache.el (toplevel): Ditto.
7498         * elmo-database.el (toplevel): Ditto.
7499         * elmo-date.el (toplevel): Ditto.
7500         * elmo-dop.el (toplevel): Ditto.
7501         * elmo-filter.el (toplevel): Ditto.
7502         * elmo-imap4.el (toplevel): Ditto.
7503         * elmo-internal.el (toplevel): Ditto.
7504         * elmo-localdir.el (toplevel): Ditto.
7505         * elmo-localnews.el (toplevel): Ditto.
7506         * elmo-maildir.el (toplevel): Ditto.
7507         * elmo-msgdb.el (toplevel): Ditto.
7508         * elmo-multi.el (toplevel): Ditto.
7509         * elmo-net.el (toplevel): Ditto.
7510         * elmo-nntp.el (toplevel): Ditto.
7511         * elmo-pipe.el (toplevel): Ditto.
7512         * elmo-pop3.el (toplevel): Ditto.
7513         * elmo-util.el (toplevel): Ditto.
7514         * elmo-vars.el (toplevel): Ditto.
7515         * elmo2.el (toplevel): Ditto.
7516         * mmelmo-imap4.el (toplevel): Ditto.
7517         * mmelmo.el (toplevel): Ditto.
7518
7519         * elmo-version.el (elmo-version): Move to top.
7520
7521         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7522         * elmo-imap4.el (toplevel): Ditto.
7523         * elmo-localdir.el (toplevel): Ditto.
7524         * elmo-msgdb.el (toplevel): Ditto.
7525         * elmo-nntp.el (toplevel): Ditto.
7526         * elmo-pop3.el (toplevel): Ditto.
7527         * elmo-version.el (toplevel): Ditto.
7528
7529         * elmo-localnews.el (toplevel): Added Keyword header.
7530
7531 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7532
7533         * elmo-version.el (product-version-as-string): Defined using
7534         `defun-maybe'.
7535         (toplevel): Use it.
7536
7537         * elmo-localdir.el (toplevel): Updated copyright notice.
7538         * elmo-version.el (toplevel): Ditto.
7539         * elmo-msgdb.el (toplevel): Ditto.
7540         * elmo-imap4.el (toplevel): Ditto.
7541         * elmo-nntp.el (toplevel): Ditto.
7542         * elmo-pop3.el (toplevel): Ditto.
7543
7544 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7545
7546         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7547         messages.
7548
7549         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7550         parameter value (It sometimes contains raw kanji).
7551
7552 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7553
7554         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7555         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7556
7557 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7558
7559         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7560
7561 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7562
7563         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7564         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7565
7566 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7567
7568         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7569         value if selecting folder succceeded.
7570         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7571
7572 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7573
7574         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7575         representation.
7576
7577         * elmo-util.el (elmo-string-matched-member): New function.
7578
7579 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7580
7581         * elmo-util.el (elmo-unintern): New macro.
7582         (elmo-number-set-member): Fixed docstring.
7583
7584         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7585         tag token.
7586
7587 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7588
7589         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7590         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7591
7592 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7593
7594         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7595         `no-error'.
7596         Added docstring.
7597         Return non-nil if selecting folder succeeded.
7598         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7599
7600 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7601
7602         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7603         `file-name-completion' returns t.
7604         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7605         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7606         directory if it does not exist.
7607         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7608         for iteration.
7609
7610 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7611
7612         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7613         enclosure (It's harmful in unplugged status).
7614
7615         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7616
7617         * mmelmo-1.el: Removed.
7618
7619         * mmelmo-2.el: Ditto.
7620
7621         * mmelmo-imap4-1.el: Ditto.
7622
7623         * mmelmo-imap4-2.el: Ditto.
7624
7625         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7626
7627         * mmelmo.el: Merged mmelmo-2.el.
7628
7629         * elmo-version.el (elmo-version): Up to 2.3.92.
7630
7631 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7632
7633         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7634         elmo-update-number): Remove last period in "...done." message.
7635         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7636         Ditto.
7637         * elmo-cache.el (elmo-cache-expire-by-size,
7638         elmo-cache-get-sorted-cache-file-list,
7639         elmo-cache-msgdb-create-as-numlist): Ditto.
7640         * elmo-dop.el (elmo-dop-save-pending-messages,
7641         (elmo-dop-flush-pending-append-operations): Ditto.
7642         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7643         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7644         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7645         (elmo-localdir-pack-number): Ditto.
7646         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7647         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7648         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7649         mime-write-entity-content): Ditto.
7650         * pldap.el (ldap-search-basic): Ditto.
7651
7652 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7653
7654         * elmo-version.el (elmo-version): Up to 2.3.91.
7655
7656         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7657         Only when filter is 'last'.
7658
7659         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7660         (elmo-condition-parse-search-value): Use it.
7661         (elmo-read-search-condition-internal): Quote value only when
7662         it is not an atom.
7663
7664 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7665
7666         * elmo2.el (elmo-generic-folder-diff): Fix.
7667
7668 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7669
7670         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7671         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7672         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7673         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7674         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7675         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7676
7677 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7678
7679         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7680         extra-fields.
7681
7682 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7683
7684         * elmo-version.el (elmo-version): Up to 2.3.90.
7685
7686         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7687         (elmo-imap4-list-folder-important): Ditto.
7688
7689 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7690
7691         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7692
7693 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7694
7695         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7696
7697 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7698
7699         * elmo-nntp.el (elmo-network-initialize-session):
7700         Add starttls negotiation.
7701
7702 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7703
7704         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7705         response.
7706         (elmo-network-setup-session): Define.
7707         Call `elmo-nntp-send-mode-reader' when session opened.
7708
7709 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7710
7711         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7712
7713 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7714
7715         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7716         an invalid SPACE character ahead of `SEARCH' command.  Move
7717         a valid SPACE character following `SEARCH' from conditional
7718         `format' arguments to control-strings.
7719
7720 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7721
7722         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7723         was succeeded.
7724
7725         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7726
7727 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7728
7729         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7730         `w32-get-true-file-link-count' as t.
7731
7732         * elmo-imap4.el (elmo-imap4-read): Abolished.
7733         (Renamed to `elmo-read' and moved to elmo-util.el)
7734         All other related portions are changed.
7735
7736         * elmo-util.el (elmo-read): New function.
7737         (elmo-condition-parse-search-value): Use it.
7738
7739 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7740
7741         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7742
7743         * elmo-nntp.el (elmo-nntp-session): Define.
7744         (elmo-nntp-setting): Abolished.
7745         All other related portions are changed.
7746         (elmo-nntp-get-server-command): Changed argument.
7747         (elmo-nntp-set-server-command): Ditto.
7748         (elmo-nntp-xover-p): Ditto.
7749         (elmo-nntp-set-xover): Ditto.
7750         (elmo-nntp-listgroup-p): Ditto.
7751         (elmo-nntp-set-listgroup): Ditto.
7752         (elmo-nntp-list-active-p): Ditto.
7753         (elmo-nntp-set-list-active): Ditto.
7754         (elmo-nntp-xhdr-p): Ditto.
7755         (elmo-nntp-set-xhdr): Ditto.
7756         (elmo-nntp-flush-connection): Abolished.
7757         (elmo-nntp-get-connection): Abolished.
7758         (elmo-nntp-get-session): New function.
7759         (elmo-network-initialize-session): Defined.
7760         (elmo-network-authenticate-session): Ditto.
7761         (elmo-nntp-send-mode-reader): Changed argument.
7762         (elmo-nntp-send-command): Changed argument.
7763         All other related portions are changed.
7764         (elmo-nntp-read-response): Ditto.
7765         (elmo-nntp-read-raw-response): Ditto.
7766         (elmo-nntp-read-contents): Ditto.
7767         (elmo-nntp-read-body): Ditto.
7768         (elmo-nntp-goto-folder): Abolished.
7769         (elmo-nntp-select-group): New function.
7770         All other related portions are changed.
7771         (This function substitutes `elmo-nntp-goto-folder')
7772         (elmo-nntp-msgdb-create-by-header): Rewrite.
7773         (elmo-nntp-get-overview): Eliminated.
7774         (elmo-nntp-get-message): Ditto.
7775         (elmo-nntp-open-connection) Abolished.
7776         (elmo-nntp-read-msg): Rewrite.
7777         (elmo-nntp-post): Ditto.
7778         (elmo-nntp-send-data): Abolished.
7779         (elmo-nntp-send-buffer): New function.
7780         (elmo-nntp-send-data-line): Define as inline function.
7781         (elmo-nntp-get-folders-info-prepare): Use session as key.
7782         (elmo-nntp-groups-read-response): Changed argument.
7783         (elmo-nntp-retrieve-headers): Ditto.
7784         (elmo-nntp-msgdb-create-message): Ditto.
7785
7786         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7787         when searching by 'since' or 'before'.
7788
7789 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7790
7791         * elmo-version.el (toplevel): Use product-version-as-string for set
7792         verstion-string, if defined.
7793
7794 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7795
7796         * elmo-util.el: Doc fixes.
7797
7798 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7799
7800         * elmo-archive.el (toplevel): Use product-provide.
7801         * elmo-cache.el (toplevel): Ditto.
7802         * elmo-database.el (toplevel): Ditto.
7803         * elmo-date.el (toplevel): Ditto.
7804         * elmo-dop.el (toplevel): Ditto.
7805         * elmo-filter.el (toplevel): Ditto.
7806         * elmo-imap4.el (toplevel): Ditto.
7807         * elmo-internal.el (toplevel): Ditto.
7808         * elmo-localdir.el (toplevel): Ditto.
7809         * elmo-localnews.el (toplevel): Ditto.
7810         * elmo-maildir.el (toplevel): Ditto.
7811         * elmo-msgdb.el (toplevel): Ditto.
7812         * elmo-multi.el (toplevel): Ditto.
7813         * elmo-net.el (toplevel): Ditto.
7814         * elmo-nntp.el (toplevel): Ditto.
7815         * elmo-pipe.el (toplevel): Ditto.
7816         * elmo-pop3.el (toplevel): Ditto.
7817         * elmo-util.el (toplevel): Ditto.
7818         * elmo-vars.el (toplevel): Ditto.
7819         * elmo2.el (toplevel): Ditto.
7820         * mmelmo-1.el (toplevel): Ditto.
7821         * mmelmo-2.el (toplevel): Ditto.
7822         * mmelmo-imap4-1.el (toplevel): Ditto.
7823         * mmelmo-imap4-2.el (toplevel): Ditto.
7824         * mmelmo-imap4.el (toplevel): Ditto.
7825         * mmelmo.el (toplevel): Ditto.
7826
7827 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7828
7829         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7830         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7831
7832 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7833
7834         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7835         before splitting.
7836         (elmo-multi-split-number-alist): Ditto.
7837
7838 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7839
7840         * elmo-version.el: New file.  Use product.el.
7841         * elmo2.el: Add (require 'elmo-version).
7842         * elmo-vars.el (elmo-appname, elmo-version): Move to
7843         elmo-version.el
7844
7845 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7846
7847         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7848         `elmo-msgdb-expand-path'.
7849         (elmo-msgdb-load): Ditto.
7850         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7851         (elmo-generic-list-folder-unread): Rewrite.
7852         (elmo-generic-list-folder-important): Changed argument.
7853         (elmo-list-folder-unread): Ditto.
7854         (elmo-list-folder-important): Ditto.
7855         (elmo-folder-diff): Rewrite.
7856         (elmo-generic-folder-diff): New function.
7857         (elmo-multi-get-number-alist-list): Abolished
7858         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7859         (elmo-multi-folder-diff): Moved to elmo-multi.el
7860         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7861
7862         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7863         `elmo-msgdb-expand-path'.
7864         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7865         (elmo-pop3-read-msg): Ditto.
7866         (elmo-pop3-delete-msgs): Ditto.
7867         (elmo-pop3-folder-diff): New alias.
7868
7869         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7870         `elmo-msgdb-expand-path'.
7871         (elmo-pipe-list-folder-unread): Changed arguments.
7872         (elmo-pipe-list-folder-important): Ditto.
7873         (elmo-pipe-folder-diff): New alias.
7874
7875         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7876         `elmo-msgdb-expand-path'.
7877         (elmo-nntp-max-of-folder): Ditto.
7878         (elmo-nntp-msgdb-create): Ditto.
7879         (elmo-nntp-delete-msgs): Ditto.
7880         (elmo-nntp-folder-diff): New alias.
7881
7882         * elmo-multi.el (elmo-multi-folder-diff): New function.
7883         (elmo-multi-split-mark-alist): Ditto.
7884         (elmo-multi-split-number-alist): Ditto.
7885         (elmo-multi-mark-alist-list): Abolished (Renamed to
7886         elmo-multi-split-mark-alist).
7887         (elmo-multi-list-folder-unread): Rewrite.
7888         (elmo-multi-list-folder-important): Ditto.
7889         (elmo-multi-list-folder): Set `spec' as 1st argument for
7890         `elmo-msgdb-expand-path'.
7891         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7892         instead of `elmo-multi-get-number-alist-list'.
7893
7894         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7895         If 1st argument is not string, treat as spec.
7896         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7897         `elmo-msgdb-expand-path'.
7898         (elmo-msgdb-flist-load): Ditto.
7899         (elmo-msgdb-flist-save): Ditto.
7900         (elmo-msgdb-delete-path): Ditto.
7901         (elmo-msgdb-rename-path): Ditto.
7902
7903         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7904         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7905         (elmo-maildir-delete-mark-msgs): Ditto.
7906         (elmo-maildir-msgdb-create): Ditto.
7907         (elmo-maildir-read-msg): Ditto.
7908         (elmo-maildir-delete-msgs): Ditto.
7909         (elmo-maildir-list-folder-subr): Ditto.
7910         (elmo-maildir-search): Ditto.
7911         (elmo-maildir-get-msg-filename): Ditto.
7912         (elmo-maildir-pack-number): Ditto.
7913         (elmo-maildir-folder-diff): New alias.
7914
7915         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7916
7917         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7918         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7919         (elmo-localdir-folder-diff): New alias.
7920
7921         * elmo-internal.el (elmo-internal-list-folder-subr):
7922         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7923         (elmo-internal-list-folder-by-location): Ditto.
7924         (elmo-internal-msgdb-create): Ditto.
7925         (elmo-internal-delete-msgs): Ditto.
7926         (elmo-internal-read-msg): Ditto.
7927         (elmo-internal-folder-diff): New alias.
7928
7929         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7930         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7931         `elmo-msgdb-expand-path'.
7932         (elmo-imap4-list-folder-unread): Changed arguments.
7933         (elmo-imap4-list-folder-important): Ditto.
7934
7935         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7936         (elmo-filter-list-folder-important): Ditto.
7937         (elmo-filter-folder-diff): New function.
7938
7939         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7940
7941         * elmo-cache.el (elmo-cache-list-folder):
7942         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7943         (elmo-cache-copy-msgs): Ditto.
7944         (elmo-cache-folder-diff): New alias.
7945
7946         * elmo-archive.el (elmo-archive-list-folder-subr):
7947         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7948         (elmo-archive-get-archive-name): Ditto.
7949         (elmo-archive-create-file): Ditto.
7950         (elmo-archive-append-msg): Ditto.
7951         (elmo-archive-copy-msgs): Ditto.
7952         (elmo-archive-copy-msgs-froms): Ditto.
7953         (elmo-archive-get-msg-filename): Ditto.
7954         (elmo-archive-folder-diff): New alias.
7955
7956 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7957
7958         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7959         (elmo-pop3-stream-type-alist): New variable.
7960         (elmo-nntp-stream-type-alist): New variable.
7961
7962         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7963         (elmo-kill-buffer): Ditto.
7964         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7965         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7966         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7967         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7968         (elmo-imap4-get-spec): Take into account
7969         `elmo-imap4-stream-type-alist'.
7970
7971 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7972
7973         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7974         (elmo-nntp-list-folders-get-cache): Ditto.
7975
7976 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7977
7978         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7979         character before 'uid'.
7980
7981 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7982
7983         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7984
7985         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7986
7987         * elmo-util.el (elmo-number-set-member): New function.
7988         (elmo-number-set-append-list): Ditto.
7989         (elmo-number-set-append): Ditto.
7990
7991         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7992         Use `elmo-number-set-member'.
7993         (elmo-living-messages): Ditto.
7994         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7995         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7996
7997         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7998         (elmo-imap4-add-to-cont-list): Abolished.
7999         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8000         instead of elmo-imap4-add-to-cont-list.
8001
8002         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8003         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8004
8005         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8006
8007 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8008
8009         * elmo-util.el (elmo-condition-parse-search-value):
8010         Fixed date parsing.
8011
8012 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8013
8014         * elmo-util.el (elmo-condition-find-key-internal): New function.
8015         (elmo-condition-find-key): Ditto.
8016
8017         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8018         (elmo-msgdb-search-internal): Ditto.
8019         (elmo-msgdb-search): Ditto.
8020
8021 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8022
8023         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8024         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8025
8026         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8027         (elmo-nntp-search-primitive): Fixed problem when condition is
8028         'unmatch'.
8029
8030         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8031
8032         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8033         (elmo-nntp-xhdr-p): New macro.
8034         (elmo-nntp-set-xhdr): Ditto.
8035         (elmo-nntp-parse-xhdr-response): New function.
8036         (elmo-nntp-retrieve-field): Ditto.
8037         (elmo-nntp-search-primitive): Ditto.
8038         (elmo-nntp-search): Implemented.
8039
8040         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8041
8042         * elmo-archive.el (elmo-archive-search): Set all number list to
8043         `elmo-archive-field-condition-match'
8044
8045         * elmo-localdir.el (elmo-localdir-search): Likewise.
8046
8047         * elmo-maildir.el (elmo-maildir-search): Likewise.
8048
8049 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8050
8051         * elmo-msgdb.el (elmo-living-messages): New function.
8052         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8053         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8054         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8055         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8056         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8057         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8058         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8059         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8060         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8061         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8062         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8063
8064 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8065
8066         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8067
8068         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8069
8070         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8071
8072         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8073         arguments for `SEARCH' command.
8074         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8075         All other related portions are changed.
8076
8077         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8078
8079         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8080         (elmo-list-folder-unread): Rewrite.
8081         (elmo-list-folder-important): Ditto.
8082
8083         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8084         (elmo-condition-parse-error): New inline function.
8085         (elmo-read-search-condition): New function.
8086         (elmo-read-search-condition-internal): Ditto.
8087         (elmo-parse-search-condition): Rewrite.
8088         (elmo-condition-parse): New function.
8089         (elmo-condition-parse-or-expr): Ditto.
8090         (elmo-condition-parse-and-expr): Ditto.
8091         (elmo-condition-parse-primitive): Ditto.
8092         (elmo-condition-parse-search-value): Ditto.
8093         (elmo-buffer-field-primitive-condition-match): Ditto.
8094         (elmo-buffer-field-condition-match): Rewrite.
8095         (elmo-file-field-condition-match): Ditto.
8096
8097         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8098         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8099
8100         * elmo-internal.el (elmo-internal-search): Set `number' and
8101         `number-list' argument of `elmo-file-field-condition-match'.
8102
8103         * elmo-maildir.el (elmo-maildir-search): Ditto.
8104
8105         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8106         `msgdb' as argument instead of `mark-alist'.
8107         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8108         `overview'.
8109
8110         * elmo-multi.el: Likewise.
8111
8112         * elmo-pipe.el: Likewise.
8113
8114         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8115         (elmo-imap4-search-internal): Rewrite.
8116         (elmo-imap4-search): Ditto.
8117
8118         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8119         (elmo-filter-list-folder-unread): Ditto.
8120         (elmo-filter-list-folder-important): Ditto.
8121         (elmo-filter-search): Rewrite.
8122
8123         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8124         `number-list' argument of `elmo-file-field-condition-match'.
8125         (elmo-cache-search): Ditto.
8126
8127         * elmo-localdir.el: Likewise.
8128
8129         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8130         number-list and pass it to `elmo-buffer-field-condition-match'.
8131         (elmo-archive-field-condition-match): Pass `number-list' to
8132         `elmo-archive-field-condition-match'
8133
8134 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8135
8136         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8137         `listgroup'.
8138
8139         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8140         (elmo-folder-diff-async-callback-data): Ditto.
8141         (elmo-folder-diff-async): New function.
8142
8143         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8144         (elmo-network-session-cache-key): Use it as a prefix of the session
8145         name.
8146         (elmo-network-open-session): Ditto.
8147
8148         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8149         (elmo-imap4-status-callback-data): Ditto.
8150         (elmo-imap4-server-diff-async-callback): New variable.
8151         (elmo-imap4-server-diff-async-callback-data): Ditto.
8152         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8153         `elmo-imap4-status-callback-data'.
8154         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8155         `elmo-imap4-status-callback-data' as nil.
8156         (elmo-imap4-server-diff): Ditto.
8157         (elmo-imap4-server-diff-async-callback-1): New function.
8158         (elmo-imap4-server-diff-async): Ditto.
8159         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8160
8161 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8162
8163         * elmo-util.el (elmo-list-delete): Doc fix.
8164         (elmo-delete-lists): Abolish.
8165         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8166         instead of `elmo-delete-lists'.
8167
8168 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8169
8170         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8171         before `sort'.
8172
8173 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8174
8175         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8176         `elmo-imap4-literal-subr'.
8177         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8178         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8179
8180 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8181
8182         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8183         (elmo-archive-list-folder): Fix.
8184         (elmo-archive-max-of-folder): Fix.
8185
8186 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8187
8188         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8189          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8190         (elmo-localdir-append-msg): Ditto.
8191         (elmo-localdir-list-folder): Fix for `nonsort'.
8192         (elmo-localdir-list-folder-subr): Fix for `killed'.
8193         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8194         (elmo-maildir-list-folder-subr): Ditto.
8195         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8196         (elmo-archive-list-folder-subr): Ditto.
8197         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8198         (elmo-internal-list-folder-subr): Ditto.
8199
8200 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8201
8202         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8203
8204 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8205
8206         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8207
8208 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8209
8210         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8211         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8212
8213         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8214         before greeting.
8215         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8216         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8217
8218 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8219
8220         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8221
8222         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8223         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8224         before STORE command.
8225
8226 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8227
8228         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8229
8230         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8231         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8232         of `response'.
8233         (elmo-imap4-list-folders): Removed unused local variable.
8234         (elmo-network-initialize-session): Ditto.
8235         (elmo-imap4-delete-msg-by-id): Ditto.
8236         (elmo-imap4-parse-fetch): Ditto.
8237         (elmo-imap4-copy-msgs): Ditto.
8238         Use `dst-spec' instead of `dst-folder'.
8239         (elmo-network-authenticate-session): Check authenticate type `plain'.
8240
8241 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8242
8243         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8244         garbage checking.
8245         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8246         `elmo-imap4-response-value'.
8247         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8248
8249 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8250
8251         * elmo-imap4.el (elmo-imap4-send-command):
8252         Cause elmo-imap4-bye-error when current response is BYE.
8253         (elmo-imap4-arrival-filter): Changed greeting response value.
8254
8255         * elmo2.el (elmo-imap4-bye-error): Define.
8256
8257         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8258         (elmo-imap4-server-diff): Ditto.
8259         (elmo-imap4-response-bye-p): New macro.
8260         (elmo-imap4-response-error-text): Get text from BYE response.
8261         (elmo-imap4-read-response): Return if BYE response.
8262         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8263         (elmo-imap4-folder-exists-p): Ditto.
8264         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8265         (elmo-imap4-parse-bye): New function.
8266         (elmo-imap4-parse-response): Remove needless let.
8267         Call `elmo-imap4-parse-bye'.
8268
8269 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8270
8271         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8272         the mailbox does not exist.
8273         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8274
8275 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8276
8277         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8278
8279 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8280
8281         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8282
8283         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8284         (elmo-network-initialize-session-buffer): Defined.
8285
8286         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8287         Abolished.
8288         (mmelmo-imap4-get-mime-entity): Rewrite.
8289
8290         * elmo2.el (elmo-error): Capitalize error message.
8291
8292         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8293         (elmo-network-session-buffer): New macro.
8294         (elmo-network-open-session): Use it.
8295
8296         * elmo-imap4.el: Rewrite.
8297
8298 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8299
8300         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8301
8302 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8303
8304         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8305         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8306         (elmo-imap4-create-msgdb-from-overview-string): Use
8307         `elmo-msgdb-create-overview-from-buffer'.
8308
8309 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8310
8311         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8312         (elmo-imap4-default-hierarchy-delimiter): New variable.
8313         (elmo-imap4-list-folders): Use it.
8314
8315 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8316
8317         * elmo-net.el (elmo-network-open-session): Add user and
8318         stream-type for process-buffer name.
8319
8320         * elmo-pop3.el (elmo-network-initialize-session): Call
8321         buffer-disable-undo.
8322
8323         * elmo-imap4.el (elmo-network-initialize-session):
8324         Set current-buffer as an argument for `buffer-disable-undo'.
8325
8326         * elmo-pop3.el (elmo-network-close-session): Don't use
8327         `process-live-p'.
8328
8329         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8330         Set default as 'user.
8331
8332         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8333
8334         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8335         and `elmo-imap4-flush-connection'.
8336
8337         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8338         (elmo-pop3-get-spec): Assume auth as symbol.
8339         (elmo-open-network-stream): Moved to `elmo-net'.
8340
8341         * elmo-pop3.el (toplevel): Require 'elmo-net.
8342         Define `sasl-cram-md5' to silence byte compilier.
8343         (elmo-pop3-connection-cache) Abolished.
8344         (elmo-pop3-authenticator-alist) New variable.
8345         (elmo-pop3-session): Define.
8346         (elmo-pop3-connection-get-process): Abolished.
8347         (elmo-pop3-connection-get-buffer): Ditto.
8348         (elmo-pop3-close-connection): Ditto.
8349         (elmo-pop3-flush-connection): Ditto.
8350         (elmo-pop3-get-connection): Ditto.
8351         (elmo-pop3-get-session): New function.
8352         (Replacement for `elmo-pop3-get-connection').
8353         All other related modules are changed.
8354         (elmo-network-close-session): Define.
8355         (elmo-pop3-send-command): Abolished argument `buffer'.
8356         All other related modules are changed.
8357         (elmo-pop3-read-response): Likewise.
8358         (elmo-pop3-open-connection): Abolished.
8359         (elmo-pop3-auth-user): New function.
8360         (elmo-pop3-auth-apop): Ditto.
8361         (elmo-pop3-auth-cram-md5): Ditto.
8362         (elmo-pop3-auth-scram-md5): Ditto.
8363         (elmo-pop3-auth-digest-md5): Ditto.
8364         (elmo-network-initialize-session): Define.
8365         (elmo-network-authenticate-session): Ditto.
8366         (elmo-network-setup-session): Ditto.
8367
8368         * elmo-imap4.el (toplevel): Require 'elmo-net.
8369         (elmo-imap4-session): Define.
8370         (elmo-imap4-connection-cache): Abolished.
8371         (elmo-imap4-password-key): Ditto.
8372         (elmo-imap4-flush-connection): Ditto.
8373         (elmo-imap4-get-connection): Ditto.
8374         All other related modules are changed.
8375         (elmo-imap4-get-session): New function
8376         (Replacement for `elmo-imap4-get-connection').
8377         (elmo-imap4-read-response): Abolished argument `buffer'.
8378         All other related modules are changed.
8379         (elmo-imap4-send-command): Likewise.
8380         (elmo-imap4-select-folder): Abolished.
8381         All other related modules are changed.
8382         (elmo-imap4-select-mailbox): New function.
8383         (Replacement for `elmo-imap4-select-folder').
8384         (elmo-imap4-auth-login): Simplify.
8385         (Assume current buffer as process buffer)
8386         (elmo-imap4-auth-cram-md5): Ditto.
8387         (elmo-imap4-auth-digest-md5): Ditto.
8388         (elmo-imap4-login): Ditto.
8389         (elmo-imap4-open-connection): Abolished.
8390         (elmo-imap4-open-connection-1): Abolished.
8391         (elmo-network-initialize-sessoin): Define.
8392         (elmo-network-authenticate-session): Ditto.
8393         (elmo-network-setup-session): Ditto.
8394
8395         * elmo-net.el: New module.
8396
8397 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8398
8399         * elmo-util.el (elmo-define-error): New function.
8400
8401         * elmo2.el (elmo-error): Define.
8402         (elmo-open-error): Define.
8403         (elmo-authenticate-error): Define.
8404
8405         * elmo-imap4.el (elmo-imap4-error): Abolish.
8406         (elmo-imap4-error-type): Abolish.
8407         (elmo-imap4-error-process): Abolish.
8408         (elmo-imap4-error-message): Abolish
8409         (elmo-imap4-list-folders): Don't quote lambda.
8410         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8411         (elmo-imap4-parse-namespace): Ditto.
8412         (elmo-imap4-open-connection): Rewrite.
8413         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8414         (elmo-imap4-get-connection): Abolish local variable `result'.
8415
8416 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8417
8418         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8419         wrong-type-argument error when auth is nil.
8420
8421 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8422
8423         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8424         (elmo-default-nntp-stream-type): Ditto.
8425         (elmo-default-pop3-stream-type): Ditto.
8426         (elmo-network-stream-type-alist): Ditto.
8427         (elmo-default-imap4-ssl): Abolished.
8428         (elmo-default-nntp-ssl): Ditto.
8429         (elmo-default-pop3-ssl): Ditto.
8430
8431         * elmo-util.el: (toplevel): Removed needless requires.
8432         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8433         (elmo-open-network-stream): Open network stream according to
8434         the value of `elmo-network-stream-type-alist'.
8435         (elmo-get-network-stream-type): New function.
8436         (elmo-network-stream-type-spec-string): New macro.
8437         (elmo-network-stream-type-symbol): Ditto.
8438         (elmo-network-stream-type-function): Ditto.
8439
8440         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8441         network-stream-type. All other related portions are changed.
8442         (elmo-pop3-open-connection): Ditto.
8443
8444         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8445         network-stream-type. All other related portions are changed.
8446
8447         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8448         network-stream-type.All other related portions are changed.
8449         (elmo-imap4-error): New macro.
8450         (elmo-imap4-error-type): Ditto.
8451         (elmo-imap4-error-process): Ditto.
8452         (elmo-imap4-error-message): Ditto.
8453         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8454         (elmo-imap4-auth-cram-md5): Ditto.
8455         (elmo-imap4-auth-digest-md5): Ditto.
8456         (elmo-imap4-login): Ditto.
8457         (elmo-imap4-open-connection): Remove password entry if authentication
8458         was in vain.
8459         (elmo-imap4-user-at-host): Abolished.
8460         (elmo-imap4-password-key): New buffer local variable.
8461         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8462         using protocol, port, auth and stream-type.
8463
8464         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8465
8466 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8467
8468         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8469
8470         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8471
8472         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8473         (elmo-imap4-authenticator-alist): New variable.
8474         (elmo-imap4-open-connection-1): Rename from
8475         elmo-imap4-open-connection.
8476         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8477         only wraps elmo-imap4-open-connection-1.
8478         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8479         user-at-host.
8480         (elmo-imap4-auth-login): New function.
8481         (elmo-imap4-auth-cram-md5): New function.
8482         (elmo-imap4-auth-digest-md5): New function.
8483         (elmo-imap4-login): New function.
8484
8485 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8486
8487         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8488         function `error'.
8489
8490 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8491
8492         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8493
8494 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8495
8496         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8497
8498 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8499
8500         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8501         for server responses, quote `*' regardless of where it appears.
8502
8503 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8504
8505         * elmo-maildir.el (elmo-maildir-commit): New alias.
8506
8507 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8508
8509         * elmo-util.el (elmo-display-progress):
8510                 Use `progress-feedback-with-label'.
8511
8512 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8513
8514         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8515         (elmo-imap4-non-atom-char-regex): Ditto.
8516         (elmo-imap4-non-text-char-regex): Ditto.
8517         (elmo-imap4-literal-threshold): Ditto.
8518         (elmo-imap4-atom-p): New function.
8519         (elmo-imap4-quotable-p): Ditto.
8520         (elmo-imap4-nil): Ditto.
8521         (elmo-imap4-atom): Ditto.
8522         (elmo-imap4-quoted): Ditto.
8523         (elmo-imap4-literal-subr): Ditto.
8524         (elmo-imap4-literal): Ditto.
8525         (elmo-imap4-buffer-literal): Ditto.
8526         (elmo-imap4-string-subr): Ditto.
8527         (elmo-imap4-string): Ditto.
8528         (elmo-imap4-buffer-string): Ditto.
8529         (elmo-imap4-astring-subr): Ditto.
8530         (elmo-imap4-astring): Ditto.
8531         (elmo-imap4-buffer-astring): Ditto.
8532         (elmo-imap4-nstring): Ditto.
8533         (elmo-imap4-buffer-nstring): Ditto.
8534         (elmo-imap4-mailbox): New alias.
8535         (elmo-imap4-field-body): Ditto.
8536         (elmo-imap4-userid): Ditto.
8537         (elmo-imap4-password): Ditto.
8538         (elmo-imap4-format-quoted): New function.
8539         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8540         arguments and handle "atom", "quoted" and "literal" string here.
8541         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8542         `elmo-imap4-send-command'.
8543         (elmo-imap4-folder-exists-p): Likewise.
8544         (elmo-imap4-create-folder): Likewise.
8545         (elmo-imap4-delete-folder): Likewise.
8546         (elmo-imap4-rename-folder): Likewise.
8547         (elmo-imap4-max-of-folder): Likewise.
8548         (elmo-imap4-check-validity): Likewise.
8549         (elmo-imap4-sync-validity): Likewise.
8550         (elmo-imap4-server-diff): Likewise.
8551         (elmo-imap4-select-folder): Likewise.
8552         (elmo-imap4-copy-msgs): Likewise.
8553         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8554         (elmo-imap4-mark-set-on-msgs): Likewise.
8555         (elmo-imap4-read-part): Likewise.
8556         (elmo-imap4-read-msg): Likewise.
8557         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8558         `elmo-imap4-password' for `elmo-imap4-send-command'.
8559         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8560         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8561         `elmo-imap4-buffer-literal'.
8562         (elmo-imap4-append-msg): Likewise.
8563
8564         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8565         `delete' for removing dead connection from the connection cache.
8566         Move deletion of the process buffer after that.
8567         (elmo-imap4-list): Change `defsubst' to `defun'.
8568         (elmo-imap4-commit): Make error message verbose.
8569         (elmo-imap4-search): Ditto.
8570         (elmo-imap4-list): Ditto.
8571         (elmo-imap4-select-folder): Ditto.
8572         (elmo-imap4-copy-msgs): Ditto.
8573         (elmo-imap4-delete-msg-by-id): Ditto.
8574         (elmo-imap4-append-msg-by-id): Ditto.
8575         (elmo-imap4-append-msg): Ditto.
8576
8577 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8578
8579         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8580         when dired is used on XEmacs.
8581
8582 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8583
8584         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8585         instead of `append'.
8586         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8587         `elmo-plugged-p' directly.
8588         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8589         of `elmo-plugged-p' directly.
8590
8591         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8592         Eliminate unused variable.  Use `memq' for checking a process status.
8593         Use `cons' instead of `append' for updating the connection cache.
8594         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8595         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8596
8597 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8598
8599         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8600         `elmo-imap4-read-point' exactly.
8601
8602         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8603         the local variable `folder' to `mailbox'.
8604         Rename the argument `fld' to `folder'.
8605
8606 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8607
8608         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8609         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8610
8611 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8612
8613         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8614         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8615         (elmo-pop3-uidl-number-hash): Ditto.
8616         (elmo-pop3-size-hash): Ditto.
8617         (elmo-pop3-uidl-done): Ditto.
8618         (elmo-pop3-list-done): Ditto.
8619         (elmo-pop3-connection-get-process): New defmacro.
8620         (elmo-pop3-connection-get-buffer): Ditto.
8621         (elmo-pop3-close-connection): Delete buffer and process.
8622         (elmo-pop3-flush-connection): Don't delete buffer and process.
8623         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8624         Setup UIDL and size hash.
8625         (elmo-pop3-send-command-no-erase): Deleted
8626         (elmo-pop3-send-command): Added optional argument `no-erase'.
8627         (elmo-pop3-parse-uidl-response): New function.
8628         (elmo-pop3-parse-list-response): Set size hash.
8629         (elmo-pop3-list-location): New function.
8630         (elmo-pop3-list-by-uidl-subr): Ditto.
8631         (elmo-pop3-list-by-list): Ditto.
8632         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8633         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8634         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8635         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8636         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8637         Use uidl.
8638         (elmo-pop3-uidl-to-number): New function.
8639         (elmo-pop3-number-to-uidl): Ditto.
8640         (elmo-pop3-number-to-size): Ditto.
8641         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8642         Set number by use of uidl.
8643         (elmo-pop3-msgdb-create-message): Likewise.
8644         Set size, loc-alist in msgdb.
8645         (elmo-pop3-read-msg): Set number by use of uidl.
8646         Added optional argument `msgdb'.
8647         (elmo-pop3-delete-msg): Ditto.
8648         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8649         (elmo-pop3-commit): Close connection.
8650
8651         * elmo-pipe.el (elmo-pipe-max-of-folder):
8652         Bind `elmo-pop3-use-uidl' as nil.
8653         (elmo-pipe-drain): Ditto.
8654         Call `elmo-commit'.
8655
8656         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8657         (elmo-msgdb-overview-entity-set-size): New defsubst.
8658
8659 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8660
8661         * elmo-vars.el (elmo-use-killed-list): New variable
8662         (Renamed from `elmo-nntp-use-killed-list').
8663         (elmo-nntp-use-killed-list): Eliminated.
8664
8665         * elmo-msgdb.el (elmo-msgdb-expand-path):
8666         Changed expanding msgdb path for elmo-multi.
8667
8668         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8669         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8670         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8671         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8672         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8673         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8674         (toplevel): Deleted time-stamp line.
8675
8676         * elmo2.el (elmo-clear-killed ): Defined as function
8677         (Abolished defining as a backend function).
8678         All other related modules are changed.
8679
8680 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8681
8682         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8683
8684 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8685
8686         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8687
8688 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8689
8690         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8691
8692 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8693
8694         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8695         asynchronous folder check.
8696
8697         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8698
8699         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8700         `elmo-nntp-use-killed-list'.
8701         (elmo-nntp-list-folder): Use killed list.
8702         (elmo-nntp-max-of-folder): Ditto.
8703         (elmo-nntp-msgdb-create): Set killed list.
8704
8705         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8706
8707         * elmo2.el (elmo-clear-killed): New backend function.
8708         All other related modules are changed.
8709
8710 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8711
8712         * elmo-util.el (elmo-imap4-spec-folder): Use
8713         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8714         All callers changed.
8715
8716 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8717
8718         * mmelmo-2.el (initialize-instance):
8719         Use `mime-buffer-entity-buffer-internal' instead of
8720         `mime-entity-buffer'.
8721
8722         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8723         (mime-entity-body): Implemented.
8724         (mime-goto-header-start-point): Deleted.
8725         (mime-goto-body-end-point): Ditto.
8726         (mime-entity-point-min): Ditto.
8727         (mime-entity-point-max): Ditto.
8728         (mime-entity-children): Ditto.
8729         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8730         instead of `mime-entity-buffer'.
8731         (mime-entity-header-buffer): Ditto.
8732         (mime-entity-body-buffer): Ditto.
8733         (mime-write-entity-content): Ditto.
8734
8735         * pldap.el (ldap-static-if): New macro.
8736         (toplevel): Use it instead of `static-if'.
8737
8738 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8739
8740         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8741         included in `attrs' argument.
8742
8743 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8744
8745         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8746
8747         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8748         (ldap-ldif-safe-init-char-regexp): Ditto.
8749         (ldap-ldif-safe-string-regexp): Ditto.
8750         (ldap/ldif-safe-string-p): New macro.
8751         (ldap/ldif-insert-field): Ditto.
8752         (ldap-modify): Use it.
8753         (ldap-add): Ditto.
8754         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8755         (ldap-decode-attribute): Decode only when `attr' is consp.
8756         (ldap-delete): Bind `ret'.
8757         (toplevel): Require 'cl at compile time.
8758         Removed (require 'poe) and (require 'std11).
8759         (pldap-version): Eliminated.
8760         (ldap-search-basic): Removed auth and dn binding.
8761         (ldap-ldif-field-name-regexp): New constant.
8762         (ldap-ldif-field-head-regexp): Ditto.
8763         (ldap-ldif-next-field-head-regexp): Ditto.
8764         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8765         (ldap/field-end): New function.
8766         (ldap/field-body): Use it.
8767         (ldap/collect-field): Ditto.
8768         (ldap-search-basic): Use `ldap/field-body'.
8769
8770 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8771
8772         * pldap.el (ldap-default-attribute-encoder): New user option.
8773         (ldap/field-body): Decode base64 string.
8774         (ldap/collect-field): Ditto.
8775         (ldap-encode-attribute): New function.
8776         (ldap-add-entries): Use it.
8777         (ldap-modify-entries): Ditto.
8778         (ldap-search-entries): Enclosed decoding function with
8779         `with-temp-buffer' and set as unibyte.
8780         (ldap-search-basic): Set process buffer as unibyte.
8781
8782         * elmo-util.el (elmo-folder-identical-system-p):
8783         Eliminated name space checking.
8784
8785         * pldap.el: New module.
8786         toplevel: Changed condition to detect built-in ldap feature.
8787         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8788         (ldap-add): Added error handling.
8789         (ldap-modify): Ditto.
8790         (ldap-delete): Ditto.
8791
8792 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8793
8794         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8795         Initialize local variables with `let'.  Inline a temporary
8796         variable for the progress percentage.  Sort `setq' to reduce
8797         function call in the while-loop.
8798
8799         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8800         into the conditional branch.
8801
8802 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8803
8804         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8805         Move a conditional out of the while-loop.
8806
8807 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8808
8809         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8810         elmo-msgdb-overview-get-entity-by-number.
8811         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8812         throw.
8813
8814 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8815
8816         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8817         the local variable for a packed number self descriptively.
8818
8819 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8820
8821         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8822         * elmo-localdir.el (elmo-localdir-pack-number): Use
8823         `elmo-msgdb-overview-get-entity' instead of
8824         `elmo-msgdb-overview-get-entity-by-number'.
8825         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8826         (elmo-msgdb-search-overview-entity): Removed.
8827         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8828         by message-id or number.
8829         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8830         instead of `elmo-msgdb-overview-get-entity-by-number'.
8831
8832 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8833
8834         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8835         non-nil, use hash table for overview.
8836         (elmo-hash-maximum-size): New variable.
8837         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8838         (elmo-msgdb-make-overview-hashtb): New function.
8839         (elmo-msgdb-clear-overview-hashtb): New function.
8840         (elmo-clear-hash-val): New macro.
8841         All other related modules are changed.
8842
8843 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8844
8845         * elmo2.el (elmo-move-msgs): If there's other message with
8846         same message-id, don't use cache.
8847
8848 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8849
8850         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8851         number is already packed.
8852
8853 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8854
8855         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8856
8857 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8858
8859         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8860         All other related modules are changed.
8861
8862 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8863
8864         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8865         of refiling failure on Maildir.
8866
8867 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8868
8869         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8870         decoded mime-charset with cache.
8871         (elmo-msgdb-overview-entity-get-from): Ditto.
8872         (elmo-msgdb-overview-entity-get-subject): Ditto.
8873         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8874
8875 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8876
8877         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8878         (elmo-remove-passwd): Fill password with 0 before erase.
8879         * elmo-vars.el (elmo-passwd-life-time): New variable.
8880
8881 \f
8882 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8883
8884         * elmo-cache.el (elmo-buffer-cache-add):
8885         Set message cache buffer as unibyte.
8886
8887 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8888
8889         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8890         become nil.
8891
8892 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8893
8894         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8895         when display is finished.
8896         (elmo-nntp-msgdb-create): Ditto.
8897         (elmo-nntp-groups-read-response): Ditto.
8898         (elmo-nntp-retrieve-headers): Ditto.
8899         (elmo-nntp-msgdb-create-message): Ditto.
8900         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8901         (elmo-pop3-msgdb-create-message): Ditto.
8902
8903 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8904
8905         * elmo-maildir.el (elmo-maildir-msgdb-create):
8906         Use `elmo-msgdb-sort-by-date'.
8907
8908 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8909
8910         * elmo2.el (elmo-read-msg-no-cache):
8911         Eliminated arguments after `outbuf'.
8912         Don't use cache even if it exists.
8913         (elmo-read-msg): Don't pass arguments after `outbuf' to
8914         `elmo-read-msg-no-cache'.
8915
8916 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8917
8918         * elmo-archive.el (elmo-archive-list-folders):
8919         Use `file-name-directory' if base folder does not exist.
8920
8921 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8922
8923         * elmo-archive.el (elmo-archive-list-folders): Don't use
8924         `file-name-directory'.
8925
8926 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8927
8928         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8929         If `force' is non-nil, try flushing all operation queues.
8930
8931 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8932
8933         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8934         as-binary-process.
8935
8936 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8937
8938         * elmo-util.el (elmo-display-progress): Fixed.
8939
8940 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8941
8942         * elmo-util.el (elmo-display-progress): New function.
8943         All other related modules are changed.